aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag/Tag.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-08-24Tag: include cleanupMax Kellermann1-1/+0
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-08-29Tag: use SignedSongTime for the song durationMax Kellermann1-2/+2
2014-07-12Tag: add class const_iterator and methods begin(), end()Max Kellermann1-3/+3
Enables using range-based "for".
2014-01-19Tag: pack attributes tighterMax Kellermann1-2/+2
This saves another 3% memory.
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-08tag/TagBuilder: rename Commit() to CommitNew()Max Kellermann1-1/+1
2013-12-13Tag: swap "base" and "add" in method Merge()Max Kellermann1-2/+2
Fixes broken CUE sheet song tags (regression by commmit 7e8d254b).
2013-12-03Tag: destructor calls Clear()Max Kellermann1-10/+0
Eliminate duplicate code.
2013-12-03Tag: use new[]/delete[] instead of g_new()/g_free()Max Kellermann1-10/+3
2013-12-03Tag: remove method AddItem()Max Kellermann1-40/+0
Use class TagBuilder instead.
2013-12-03PaylistTag: use class TagBuilderMax Kellermann1-20/+0
2013-12-03Tag: move code from Merge() to TagBuilder::Complement()Max Kellermann1-40/+4
2013-12-02Tag: add methods RemoveAll(), RemoveType()Max Kellermann1-0/+20
2013-10-20Util/ASCII: add function StringEqualsCaseASCII()Max Kellermann1-1/+2
Replaces GLib's g_ascii_strcasecmp().
2013-10-20TagType: rename enum tag_type to TagTypeMax Kellermann1-9/+9
2013-09-05Tag: remove the obsolete "bulk" modeMax Kellermann1-74/+3
Methods BeginAdd() and EndAdd() have been replaced by class TagBuilder.
2013-09-05Tag: compile-time initialisation of ignore_tag_itemsMax Kellermann1-9/+1
Move to TagSettings.c and use C99 initializers.
2013-09-05Tag: move fix_tag_value() to TagString.cxxMax Kellermann1-102/+2
2013-09-05Tag: remove unused methodsMax Kellermann1-56/+0
2013-09-05Tag: move configuration code to TagConfig.cxxMax Kellermann1-50/+0
Allow using the Tag.cxx library without the Config library.
2013-09-05Tag, ...: move to libtag.aMax Kellermann1-0/+0
2013-09-05mpd_error.h: remove obsolete headerMax Kellermann1-3/+3
Migrate the remaining callers to FatalError().
2013-09-05conf.h: remove obsolete headerMax Kellermann1-1/+2
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
2013-07-31Tag: check bulk mode in Clear()Max Kellermann1-1/+8
2013-07-31Tag: add method Clear()Max Kellermann1-0/+16
Allow reusing Tag instances.
2013-07-30tag: convert to C++Max Kellermann1-133/+110
2013-07-28song: convert header to C++Max Kellermann1-1/+1
2013-01-07TagPool: use the Mutex class instead of GStaticMutexMax Kellermann1-10/+10
2013-01-07tag: convert to C++Max Kellermann1-65/+50
2012-08-08tag_pool: use GStaticMutexMax Kellermann1-10/+10
Eliminates explicit global initialisation.
2012-02-12tag: add attribute "has_playlist"Max Kellermann1-0/+2
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-09-25eliminate g_error() usageThomas Jansen1-2/+3
Replaced all occurrences of g_error() with MPD_ERROR() located in a new header file 'mpd_error.h'. This macro uses g_critical() to print the error message and then exits gracefully in contrast to g_error() which would internally call abort() to produce a core dump. The macro name is distinctive and allows to find all places with dubious error handling. The long-term goal is to get rid of MPD_ERROR() altogether. To facilitate the eventual removal of this macro it was added in a new header file rather than to an existing header file. This fixes #2995 and #3007.
2010-06-30tag: added function tag_name_parse()Max Kellermann1-9/+41
Convert a string into a tag_type enum.
2010-03-17tag: added function tag_merge_replace()Max Kellermann1-0/+16
Like tag_merge(), but can deal with NULL parameters, and frees both tag objects.
2010-01-06tag: fixed memmove() size argument in tag_delete_item()Max Kellermann1-1/+1
This function has always been broken, but fortunately nobody used it.
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-11-12include config.h in all sourcesMax Kellermann1-0/+1
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
2009-11-04tag: added function tag_name_parse()Max Kellermann1-9/+41
Convert a string into a tag_type enum.
2009-10-13tag: removed the "_ITEM_" suffix from the enum namesMax Kellermann1-13/+13
2009-07-09Implement ArtistSort tagBart Nagel1-0/+1
2009-07-07tag: added tag "AlbumArtistSort"Max Kellermann1-0/+1
The tag_id3.c library supports both the documented "TSO2" tag, and the inofficial TXXX/ALBUMARTISTSORT. The Vorbis/FLAC decoder automatically supports the new tag, without further change.
2009-04-28song_save: don't call tag_free(NULL)Max Kellermann1-0/+2
When a song was in the database twice (which shouldn't happen), and the first song had no tag items, MPD calledd tag_free(NULL). Add a check to that source location, and an assertion to tag_free().
2009-04-28tag: use g_ascii_strcasecmp() instead of strcasecmp()Max Kellermann1-2/+2
strcasecmp() is locale dependent, making it a bad choice for internal string comparisons.
2009-03-15log: removed DEBUG() and FATAL()Max Kellermann1-3/+2
Use GLib the logging functions g_debug(), g_error() instead.
2009-03-13all: Update copyright header.Avuton Olrich1-6/+7
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
2009-03-01tag: convert ignore_tag_items to a bool arrayMax Kellermann1-5/+5
2009-03-01tag: no CamelCaseMax Kellermann1-8/+8
Renamed functions and variables.
2009-02-28tag: moved APE code to tag_ape.cMax Kellermann1-120/+0