Age | Commit message (Collapse) | Author | Files |
|
* src/idop.c (output_list_print): Fix coredump on empty output list.
|
|
* NEWS: Update.
* src/editem.c: Extend frame spec syntax.
|
|
* src/cmdline.opt: If MODE_MOD is set, accept assignments before
file list.
* NEWS: Update.
|
|
|
|
* src/idest.h (ed_item): Remove union, leave only value instead.
<ref>: New member.
(describe_option,verbose_option,all_frames): New externs.
(set_frame_value): Return int.
(IDEST_OK,IDEST_ERR_*): New constants.
(_idest_errstr, _idest_nerrs): New externs.
(idest_frame_cmp_t,idest_frame_encoder_t)
(idest_frame_decoder_t): New typedefs.
(idest_frametab): New struct.
(idest_frame_lookup)
(find_matching_frame): New protos.
(ed_list_add_item)
(ed_list_print,ed_list_add_assignment)
(ed_list_clear,ed_item_matches_frame)
(ed_item_set_comment_fields): Remove.
(qv_free,input_list_locate)
(parse_ed_items): New protos.
* src/idop.c: Rewrite.
* src/.gitignore: Add src/frametab.c
* src/Makefile.am (idest_SOURCES): Add editem.c and frametab.c
(BUILT_SOURCES): Add frametab.c
(.gperf.c): New rule
(GPERF_FLAGS): New variable.
* src/editem.c: New source.
* src/frametab.gperf: New source.
* src/cmdline.opt: Use input_list_add_assignment in --set handler.
* src/guile.c (frame_to_scm,scm_to_tag): Rewrite using the new
logic.
|
|
* gnulib.modules: Remove argmatch.
* src/backup.c: Remove unused include.
* src/idest.h: Remove unused include.
(frame_id): Rename to frame_to_item_id.
(ed_item_set_comment_fields): New proto.
* src/main.c (item_ids, item_names)
(item_frames)
(item_id,frame_id)
(ed_item_find): Remove.
(item_table, item_count): New variables.
(name_to_item_info)
(frame_id_to_item_info)
(frame_to_item_id): New functions.
|
|
* src/idest.h (ED_ITEM_CONCAT): New constant.
(ed_item)<flags>: New member.
* src/main.c (_ed_list_new_item0): Always allocate name.
(ed_list_new_item): Fix erroneous allocation of
content description (bug is hit when a qualified comment
is followed by a comma.
(ed_list_add_item): Discontinue concatenation of frames
with the same ID. The old code is still around, it can be
enabled by setting te ED_ITEM_CONCAT flag in the ed_item.
|
|
* src/main.c (ed_list_clear): Don't free lang and condesc, to
avoid coredump on subsequent iterations of show_tags.
(ed_list_add_item): Print [condesc] prefix only if
the comment request was unqualified.
|
|
* src/guile.c (make_file_name): New file.
(try_file): Remove.
(load_startup_file): Pass in the command line the list of
files which were to be tried after the file being loaded.
* doc/idest.texi: Update.
|
|
* src/cmdline.opt: New option --default-id-version.
The --convert and --id-version take version list as their argument.
* src/idest.h (IDEST_ID3V_1)
(IDEST_ID3V_2): New constants.
(default_version_option): New extern.
* src/idop.c (set_tags): Don't alter version_option.
Unless none of version_option, default_version_option or
convert_version is set, preserve existing file structure.
Create new tags according to the settings of default_version_option.
* src/main.c (main): Set default value for default_version_option.
* NEWS: Document changes.
* doc/idest.texi: Update.
|
|
* src/guile.c (stringlinst_to_scm): Rename to stringlist_to_scm
(fix typo). Don't use obstack, rely on pure Scheme approach.
* gnulib.modules: Remove obstack and save-cwd.
|
|
* src/guile.c (idest-readonly): Initialize to #t.
(field_to_scm): Return SCM_EOL if field is NULL.
* src/main.c (ed_list_add_item): Always prepend content
description.
* src/getopt.m4: Update copyright years.
* doc/idest.texi: Document all recent changes.
* examples/list1.scm: New file.
* examples/list2.scm: New file.
* examples/shortlist.scm: New file.
* examples/title.scm: New file.
* examples/Makefile.am: New file.
* Makefile.am: Add examples.
* configure.ac: Likewise.
|
|
and docs.
|
|
* src/idest.h (ed_item_matches_frame): New proto.
* src/idop.c (del_tags): Use ed_item_matches_frame to
find matching frames.
* src/main.c (ed_item_matches_frame): Remove static qualifier.
* NEWS, doc/idest.texi: Update.
|
|
* src/cmdline.opt: New option --describe
* src/main.c (describe_option): New variable.
(str_split_col): New function,
(ed_list_new_item): Rewrite.
(ed_item_matches_frame): New function,
(ed_list_add_item): Honor describe_option.
(ed_list_add_assignment): Use ed_list_new_item.
(ed_list_print): Minor change.
* NEWS: Updated
* doc/idest.texi: Updated.
|
|
|
|
* doc/idest.texi: Update
* src/guile.c (field_to_scm): Support all conversions,
except ID3_FIELD_TYPE_BINARYDATA.
(frame_to_scm): Rewrite taking into account new frame list
format.
(scm_to_tag): Likewise.
(setval): Remove.
* src/idop.c (set_frame_value): Accept any frame type.
|
|
|
|
* src/idest.h (set_frame_value): Change signature.
* src/idop.c (set_frame_value): Change signature.
Set lang and class for comment fields, if supplied.
(update_frame): New function. Introduces special handling
for comment fields.
(set_tags): Call update_frame.
* src/main.c (ed_list_add_assignment): Accept language and class
specs for comment fields (--set comment:lang:class=value).
* NEWS: Update.
|
|
* src/idest.h (ed_item): New members lang & class.
(field_to_string): New proto.
(ed_list_add_item): Change signature.
* src/idop.c (add_stringlist): Change signature. Optionally return the
total length of strings added to the list. All uses changed.
(field_to_string): New function.
(ed_item_set_comment_fields): New function.
* src/main.c (ed_list_add_item): Add comment classes.
|
|
* libid3tag/field.c: Add a missing break.
* libid3tag/id3tag.h: Reindent.
|
|
* NEWS: Update.
* src/cmdline.opt (--script): Stop argument processing.
* src/guile.c (guile_argv): New variable.
(guile_load): Take command line arguments as the 3rd argument.
All uses updated.
(guile_init): Allow the script to alter command line arguments.
* src/idest.h (guile_argv): New proto.
(guile_init): Change signature.
* src/main.c (main): Call guile_init before checking argc.
|
|
* NEWS: Document Guile startup files.
* src/Makefile.am (AM_CPPFLAGS): Define GUILE_SITE and PKG_SITE.
* src/guile.c (guile_load): Second argument controls whether to
search for the file in the %load-path.
(load_path_prepend,try_file)
(load_startup_file): New functions.
(guile_init): Load startup files.
Unless guile_script contains directory separators, look it up
in the %load-path.
|
|
* src/guile.c (guile_transform): Remove existing tags prior to
installing new ones.
* src/idop.c (set_tags): Remove all existing instances of the tag
except the first one prior to altering it.
* libid3tag/frame.c: Add type casts.
* libid3tag/render.c: Likewise.
* libid3tag/tag.c: Likewise.
|
|
* NEWS: Document changes to --delete.
* doc/idest.texi: Likewise.
* src/cmdline.opt: --delete takes optional argument.
-d is a shorthand for it.
* src/idop.c (del_tags): Delete only certain frames, if
a frame list is given.
|
|
* src/idop.c (del_tags): Use id3_tag_clearframes.
|
|
* NEWS: Update.
* configure.ac: Version 1.2.90
* doc/idest.texi: Document the --info option.
* libid3tag/file.c (id3_file_struct_ntags)
(id3_file_struct_iterate): New functions.
* libid3tag/file.h (id3_file_struct_ntags)
(id3_file_struct_iterate): New protos.
(id3_file_struct_iterator_t): New data type.
* src/cmdline.opt: New option --info.
* src/idest.h (info_id3): New proto.
(del_id3v2): Remove.
* src/idop.c (info_id3): New function.
* src/main.c (id3_mode): Add info_id3.
|
|
* NEWS, README, configure.ac, doc/idest.texi: Update
version number and bug reporting address.
|
|
This fixes a bug introduced by 4c887e9caf.
* libid3tag/file.c (v2_write): Proceed even if ntags is 0,
but take care not to dereference file->tags.
After writing, add new tag to the file.
|
|
* libid3tag/id3tag.h (ID3_VERSION_PATCH)
(ID3_VERSION_EXTRA): Update
|
|
* libid3tag/tag.c (v2_parse): Split into several subfunctions.
|
|
|
|
* NEWS: Update.
* src/cmdline.opt: New option --version
* src/idop.c (safe_id3_file_update_and_close): New function.
(set_tags, del_tags): Use safe_id3_file_update_and_close.
* src/main.c (verbose_option): New variable.
(main): Print name of the file being processed, if verbose_option
is set.
|
|
|
|
|
|
* gint: Upgrade to a5774356.
* configure.ac (--with-guile): Remove option. Handled by GINT_INIT.
(GINT_INIT): Don't call it within a conditional.
|
|
* gint: Add submodule.
* am/guile.m4: Remove.
* Makefile.am (ACLOCAL_AMFLAGS): Look for includes in gint,
instead of am.
(SUBDIRS): Add gint.
* bootstrap.conf: Init submodule.
* configure.ac: Integrate gint. Set version number 1.1.90.
* src/Makefile.am: Integrate gint.
* src/guile.c (struct scheme_exec_data)<result>: Remove.
(scheme_safe_exec_body): Return the result of ed->handler
call, not SCM_BOOL_F.
(guile_safe_exec): Use scm_c_catch instead of
the deprecated scm_internal_lazy_catch.
(guile_apply_main): Likewise.
* NEWS: Update.
* libid3tag/Makefile.am (AUTOMAKE_OPTIONS): Remove. Now
set in configure.ac.
Add AM_V_GEN marker to actions in all rules.
* libid3tag/configure.ac (AM_INIT_AUTOMAKE): Pass options
here. Use silent rules by default.
|
|
* am/guile.m4: Fix quoting of arguments.
Check for SCM_DEVAL_P et al.
Check for scm_t_off, define it if not found.
* src/guile.c (proc_name): Remove.
(eval_catch_body): Use scm_apply_0 instead of
scm_primitive_eval to avoid evaluating the
arguments.
(load_handler, stringlinst_to_scm)
(field_to_scm, tag_to_scm, scm_to_tag): Fix obsolete
and deprecated calls in Guile code.
(guile_init): Protect calls to SCM_DEVAL_P &c. by
#ifdef GUILE_DEBUG_MACROS.
|
|
* src/idest.h: Include gl_xlist.h.
(set_frame_value): New proto.
* src/idop.c (add_stringlist, add_field, frame_to_list): Static.
* src/slist.c: Shut up gcc warnings.
* gnulib.modules: Add xlist.
* src/backup.c: Include unistd.h
|
|
Happy GNU Year!
|
|
* doc/Commit (gray_print_section): Output anchors before
chapter/section/etc. titles, so that the heading menu in
monolithic document works properly.
|
|
* doc/Config: Fix copyright statement.
|
|
* libid3tag/file.c (v2_write): Return immediately if file->ntags is 0.
|
|
* doc/Makefile.am (manual.tar.bz2, man-tar): New rules.
(manual): Mark as phony.
* doc/gendocs_template: Upgrade for the new webpage style.
* doc/idest.texi: Minor changes.
* doc/Config: New file.
|
|
* configure.ac, NEWS: Raise version number.
* Makefile (make-ChangeLog): Remove spurious rule.
|
|
* src/slist.c (concat_string_list): Fix endless loop (adding to the tail
of the list being iterated).
|
|
* NEWS, configure.ac, README, README-hacking: Update.
* doc/idest.texi: Finish documentation.
* doc/Makefile.am (idest_TEXINFOS): Add macros.texi.
|
|
* doc/idest.texi: Document scripting mode.
|
|
* doc/idest.texi: Document backup methods.
* src/cmdline.opt: Fix handling of the --backup option.
|
|
|