aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2011-07-17BugfixSergey Poznyakoff1
* src/idop.c (output_list_print): Fix coredump on empty output list.
2011-07-17Accept optional "display names" in query mode.Sergey Poznyakoff2
* NEWS: Update. * src/editem.c: Extend frame spec syntax.
2011-07-17Implement a shortcut for --set mode.Sergey Poznyakoff2
* src/cmdline.opt: If MODE_MOD is set, accept assignments before file list. * NEWS: Update.
2011-07-16Implement the USLT frame.Sergey Poznyakoff1
2011-07-16Major rewrite.Sergey Poznyakoff9
* 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.
2011-07-13Get rid of argmatch.Sergey Poznyakoff6
* 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.
2011-07-13BugfixesSergey Poznyakoff2
* 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.
2011-07-12Bugfix.Sergey Poznyakoff1
* 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.
2011-07-12Improve Guile startup files loading sequence.Sergey Poznyakoff2
* 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.
2011-07-12Change ID3 version handling.Sergey Poznyakoff6
* 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.
2011-07-12Minor change.Sergey Poznyakoff3
* 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.
2011-07-12Various fixes.Sergey Poznyakoff11
* 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.
2011-07-12Fix terminology. Use "content descriptor" (or condesc) throughout the code ↵Sergey Poznyakoff6
and docs.
2011-07-12Accept comment content descriptors in --delete.Sergey Poznyakoff5
* 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.
2011-07-12New option --describe. Accept content descriptors in -q args.Sergey Poznyakoff5
* 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.
2011-07-11BugfixSergey Poznyakoff1
2011-07-11Change Scheme representation of frame lists.Sergey Poznyakoff4
* 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.
2011-07-11Minor fixSergey Poznyakoff1
2011-07-11Accept language and class specs when setting comment fields.Sergey Poznyakoff4
* 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.
2011-07-11Include comment classes (short descriptions) to the output.Sergey Poznyakoff3
* 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.
2011-07-11Minor change in the library.Sergey Poznyakoff2
* libid3tag/field.c: Add a missing break. * libid3tag/id3tag.h: Reindent.
2011-07-10Guile scripts can access and modify command line arguments.Sergey Poznyakoff5
* 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.
2011-07-10Search for Guile files in the %load-path. Implement startup files.Sergey Poznyakoff3
* 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.
2011-07-08Make sure no old tag instances remain after modifications.Sergey Poznyakoff5
* 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.
2011-07-08Add a possibility to delete a subset of ID3 frames.Sergey Poznyakoff4
* 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.
2011-07-08Minor change.Sergey Poznyakoff1
* src/idop.c (del_tags): Use id3_tag_clearframes.
2011-07-08Implement the --info option.Sergey Poznyakoff9
* 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.
2011-04-10Version 1.2release-1.2Sergey Poznyakoff4
* NEWS, README, configure.ac, doc/idest.texi: Update version number and bug reporting address.
2011-03-26libid3tag: Fix writing v2 tags to a clean mp3 file.Sergey Poznyakoff1
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.
2011-03-20Update libid3tag patchlevelSergey Poznyakoff1
* libid3tag/id3tag.h (ID3_VERSION_PATCH) (ID3_VERSION_EXTRA): Update
2011-03-20libid3tag: cleanup tag.c a bit.Sergey Poznyakoff1
* libid3tag/tag.c (v2_parse): Split into several subfunctions.
2011-03-20Reindent libid3tag sources.Sergey Poznyakoff34
2011-03-20Improve signal handling; new option --verboseSergey Poznyakoff4
* 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.
2011-03-19gint: Upgrade to a5774356.Sergey Poznyakoff1
2011-03-19Update copyright years.Sergey Poznyakoff19
2010-05-11Fix GINT_INIT usage.Sergey Poznyakoff2
* gint: Upgrade to a5774356. * configure.ac (--with-guile): Remove option. Handled by GINT_INIT. (GINT_INIT): Don't call it within a conditional.
2010-04-14Migrate Guile support to GINT.Sergey Poznyakoff11
* 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.
2010-04-02Prepare for Guile 2.0: fix obsolete and deprecated calls in Guile code.Sergey Poznyakoff3
* 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.
2010-04-02Update for recent Gnulib.Sergey Poznyakoff5
* 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
2010-01-02Update copyright years.Sergey Poznyakoff19
Happy GNU Year!
2009-10-29Fix doc/CommitSergey Poznyakoff1
* doc/Commit (gray_print_section): Output anchors before chapter/section/etc. titles, so that the heading menu in monolithic document works properly.
2009-10-29Minor changeSergey Poznyakoff1
* doc/Config: Fix copyright statement.
2009-10-28Bugfix.Sergey Poznyakoff1
* libid3tag/file.c (v2_write): Return immediately if file->ntags is 0.
2009-10-28Improve docs.Sergey Poznyakoff4
* 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.
2009-03-29Version 1.1Sergey Poznyakoff3
* configure.ac, NEWS: Raise version number. * Makefile (make-ChangeLog): Remove spurious rule.
2009-03-27BugfixSergey Poznyakoff1
* src/slist.c (concat_string_list): Fix endless loop (adding to the tail of the list being iterated).
2009-03-19Version 1.0release-1.0Sergey Poznyakoff6
* NEWS, configure.ac, README, README-hacking: Update. * doc/idest.texi: Finish documentation. * doc/Makefile.am (idest_TEXINFOS): Add macros.texi.
2009-03-18Update docs.Sergey Poznyakoff1
* doc/idest.texi: Document scripting mode.
2009-03-17Improve and document backup handling.Sergey Poznyakoff2
* doc/idest.texi: Document backup methods. * src/cmdline.opt: Fix handling of the --backup option.
2009-03-17Add documentation (incomplete)Sergey Poznyakoff9

Return to:

Send suggestions and report system problems to the System administrator.