aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongFilter.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-06-25lib/icu/{Converter,Collate}: return AllocatedStringMax Kellermann1-7/+8
2015-06-25SongFilter: add assertion to StringMatch()Max Kellermann1-0/+2
2015-06-25SongFilter: return "const char *" instead of std::stringMax Kellermann1-2/+2
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-12-26util/{ASCII,UriUtil}, ...: work around -Wtautological-pointer-compareMax Kellermann1-0/+3
New in clang 3.6.
2014-08-11SongFilter: new filter "modified-since"Max Kellermann1-0/+75
2014-07-12Tag: add class const_iterator and methods begin(), end()Max Kellermann1-6/+4
Enables using range-based "for".
2014-06-23db/proxy: fall back to recursive walk on old libmpdclient/MPDMax Kellermann1-0/+10
Error message was 'too few arguments for "find"' because the "base" constraint was not supported, and no other constraints remained.
2014-04-24SongFilter: convert argv to ConstBufferMax Kellermann1-4/+5
2014-02-26db/simple: create dedicated directoryMax Kellermann1-1/+0
2014-02-24SongSort, ...: use libicu instead of GLib's g_utf8_*()Max Kellermann1-31/+4
2014-02-18SongFilter: disable g_utf8_casefold() without GLibMax Kellermann1-0/+14
Temporary hack for the experimental no-GLib build.
2014-01-24Database*: move to db/Max Kellermann1-2/+2
2014-01-19LightSong: new class to be used by DatabasePlugin callbacksMax Kellermann1-16/+17
Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
2014-01-19Song: embed the Tag object statically into class SongMax Kellermann1-1/+1
Reduces overhead because we need to manage only one memory allocation. According to valgrind/massif, we save 7%.
2014-01-15SongFilter, TagConfig: cast TAG_NUM_OF_ITEM_TYPES to integerMax Kellermann1-1/+1
Fixes clang warning.
2014-01-14SongFilter, TagConfig: cast TAG_NUM_OF_ITEM_TYPES to integerMax Kellermann1-1/+1
Fixes clang warning.
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-09DetachedSong: fork of struct SongMax Kellermann1-0/+23
From now on, struct Song will be used by the database only, and DetachedSong will be used by everybody else. DetachedSong is easier to use, but Song has lower overhead.
2013-10-30*: update copyright year to 2013Max Kellermann1-1/+1
2013-10-29SongFilter: add special keyword "base"Max Kellermann1-0/+27
Restores the features from the previous draft commands "findin" / "searchin".
2013-10-29SongFilter: "any" does not match file nameMax Kellermann1-5/+2
According to the protocol documentation, matching the file name was wrong. This removes some awkward special-case code.
2013-10-29SongFilter: use std::stringMax Kellermann1-12/+23
2013-10-20Util/ASCII: add function StringEqualsCaseASCII()Max Kellermann1-3/+4
Replaces GLib's g_ascii_strcasecmp().
2013-10-17Song: GetURI() returns std::stringMax Kellermann1-3/+2
2013-09-26SongFilter: search for album artist falls back to the artist tagMax Kellermann1-9/+21
Implement Mantis ticket 0003646.
2013-09-26IdTable, SongFilter: use std::fill_n() instead of std::fill()Max Kellermann1-1/+1
2013-09-05Tag, ...: move to libtag.aMax Kellermann1-1/+1
2013-07-30tag: convert to C++Max Kellermann1-3/+4
2013-07-28song: convert header to C++Max Kellermann1-4/+4
2013-01-17path: convert to C++Max Kellermann1-1/+0
2013-01-07decoder_api.h, ...: add "extern C"Max Kellermann1-3/+0
2012-08-29SongFilter: convert to a C++ classMax Kellermann1-118/+73
2012-08-29locate: rename to SongFilter.cxxMax Kellermann1-4/+7
2012-08-08locate: add a per-item "fold_case" flagMax Kellermann1-75/+41
Merge locate_song_search() and locate_song_match().
2012-08-08locate: make "tag" unsignedMax Kellermann1-8/+4
2012-08-07locate: make the structs opaqueMax Kellermann1-3/+30
2012-08-07locate: don't allow empty listMax Kellermann1-1/+1
2012-08-07locate: pass unsigned integer to _parse()Max Kellermann1-1/+1
2012-08-07locate: add "pure" attributesMax Kellermann1-0/+2
2012-08-07locate: add "casefold" flag to parserMax Kellermann1-18/+7
Fold the case during construction, without having to create another copy.
2012-08-07locate: remove unused function locate_item_free()Max Kellermann1-7/+0
2012-06-27locate: make variables more localMax Kellermann1-19/+10
2011-09-13locate: remove unused function locate_item_new()Max Kellermann1-13/+0
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-06-30tag: added function tag_name_parse()Max Kellermann1-3/+3
Convert a string into a tag_type enum.
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-3/+3
Convert a string into a tag_type enum.
2009-04-28locate: use g_ascii_strcasecmp() instead of strcasecmp()Max Kellermann1-4/+4
strcasecmp() is locale dependent, making it a bad choice for internal string comparisons.