aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongFilter.hxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-06-23db/proxy: fall back to recursive walk on old libmpdclient/MPDMax Kellermann1-0/+11
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-2/+2
2014-01-19LightSong: new class to be used by DatabasePlugin callbacksMax Kellermann1-4/+5
Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-09DetachedSong: fork of struct SongMax Kellermann1-0/+7
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-30db/proxy: pass search/find to remote MPDMax Kellermann1-0/+16
2013-10-29SongFilter: add special keyword "base"Max Kellermann1-0/+12
Restores the features from the previous draft commands "findin" / "searchin".
2013-10-29SongFilter: make SongFilter::Item class definition publicJean-Francois Dockes1-0/+10
2013-10-29SongFilter: use std::stringMax Kellermann1-9/+3
2013-10-15gcc.h: rename to Compiler.hMax Kellermann1-1/+1
2013-07-30tag: convert to C++Max Kellermann1-5/+5
2013-07-28song: convert header to C++Max Kellermann1-3/+3
2013-01-02don't include stdbool.h in C++ sourcesMax Kellermann1-1/+0
The "bool" type is built-in.
2012-08-29SongFilter: convert to a C++ classMax Kellermann1-20/+68
2012-08-29locate: rename to SongFilter.cxxMax Kellermann1-3/+3
2012-08-08locate: add a per-item "fold_case" flagMax Kellermann1-8/+2
Merge locate_song_search() and locate_song_match().
2012-08-08locate: make "tag" unsignedMax Kellermann1-1/+4
2012-08-07locate: make the structs opaqueMax Kellermann1-23/+3
2012-08-07locate: pass unsigned integer to _parse()Max Kellermann1-1/+1
2012-08-07locate: add "pure" attributesMax Kellermann1-0/+3
2012-08-07locate: add "casefold" flag to parserMax Kellermann1-9/+1
Fold the case during construction, without having to create another copy.
2012-08-07locate: remove unused function locate_item_free()Max Kellermann1-4/+0
2011-09-13database: don't allow uri==NULLMax Kellermann1-0/+8
Add nonnull attributes and fix all callers.
2011-09-13locate: remove unused function locate_item_new()Max Kellermann1-4/+0
2011-01-29copyright year 2011Max Kellermann1-1/+1
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
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-01-24locate: added locate_item_list_casefold()Max Kellermann1-0/+7
Merged casefolding code from two locations into this one library function.
2009-01-24queue_print, dbUtils: use struct locate_item_listMax Kellermann1-4/+4
Changed the function prototypes to get locate_item_list objects instead of num_items/items.
2009-01-24locate: added struct locate_item_listMax Kellermann1-3/+21
Instead of passing two parameters around (number of items, array of items), combine both in a variable size struct.
2009-01-24locate: use bool instead of intMax Kellermann1-2/+3
Use the C99 bool type instead of integer values (1/0 or 0/-1).
2009-01-24locate: no CamelCaseMax Kellermann1-11/+13
Renamed functions and variables.
2009-01-24locate: renamed LocateTagItem to "struct locate_item"Max Kellermann1-9/+11
No CamelCase and no typedefs.
2009-01-22locate: use const pointersMax Kellermann1-3/+4
Pass const pointers where no writes are performed.
2008-10-31added prefix to header macrosMax Kellermann1-2/+2
"LOG_H" is a macro which is also used by ffmpeg/log.h. This is ffmpeg's fault, because short macros should be reserved for applications, but since it's always a good idea to choose prefixed macro names, even for applications, we are going to do that in MPD.
2008-10-08song: converted typedef Song to struct songMax Kellermann1-3/+8
Again, a data type which can be forward-declared.
2008-09-29Switch to C99 types (retaining compat with old compilers)Eric Wong1-1/+1
Seeing the "mpd_" prefix _everywhere_ is mind-numbing as the mind needs to retrain itself to skip over the first 4 tokens of a type to get to its meaning. So avoid having extra characters on my terminal to make it easier to follow code at 2:30 am in the morning. Please report any new issues you may come across on Free toolchains. I realize how difficult it can be to build/maintain cross-compiling toolchains and I have no intention of forcing people to upgrade their toolchains to build mpd. Tested with gcc 2.95.4 and and gcc 4.3.1 on x86-32.
2008-08-28protect locate.h from double inclusionMax Kellermann1-0/+5
2008-02-05fix -Wconst warningsMax Kellermann1-2/+2
[ew: cleaned up the dirty union hack a bit] Signed-off-by: Eric Wong <normalperson@yhbt.net> git-svn-id: https://svn.musicpd.org/mpd/trunk@7180 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-02-24Adding copyright headers to locate.[ch].J. Alexander Treuman1-0/+18
git-svn-id: https://svn.musicpd.org/mpd/trunk@5422 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-02-24Moving a bunch of the LocateTagItem code to locate.[ch] so that it canJ. Alexander Treuman1-0/+28
later be used for playlist searching. git-svn-id: https://svn.musicpd.org/mpd/trunk@5419 09075e82-0dd4-0310-85a5-a0d7c8717e4f