aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SongLoader: new class that merges duplicate codeMax Kellermann2014-02-0315-179/+279
| | | | | There was quite a lot of duplicate code for loading DetachedSong objects, with different semantics for "securely" loading local files.
* FileCommands: use PathTraitsUTF8::IsAbsolute()Max Kellermann2014-02-031-1/+1
|
* PlaylistSave: remove redundant backslash conversionMax Kellermann2014-02-031-16/+3
| | | | | This is already being done by FixSeparators(), called from PathToUTF8().
* ClientFile: move client_allow_file() into the Client classMax Kellermann2014-02-027-52/+19
|
* Playlist: pass Database to DatabaseModified()Max Kellermann2014-02-015-13/+9
| | | | Don't use global variable.
* Partition: disable DatabaseModified() if not ENABLE_DATABASEMax Kellermann2014-02-013-0/+8
|
* Main: don't measure DatabaseGlobalDeinit() timeMax Kellermann2014-02-011-4/+0
| | | | Useless information.
* Stats: pass Database reference aroundMax Kellermann2014-02-011-9/+8
| | | | Call GetDatabase() only once.
* Stats: remove obsolete "simple" plugin special caseMax Kellermann2014-02-011-8/+0
| | | | The proxy plugin has now implemented the "idle" event listener.
* Stats: return false if update has failedMax Kellermann2014-02-011-1/+1
|
* Mapper: assert that Song::parent is not nullptrMax Kellermann2014-01-311-18/+3
|
* db/update/Archive: delete archive from database on errorMax Kellermann2014-01-311-0/+2
|
* db/update/Editor: add locking method variantsMax Kellermann2014-01-315-27/+36
|
* db/update: convert runtime check to assertionMax Kellermann2014-01-311-4/+1
|
* fs/AllocatedPath: add conversion constructor from PathMax Kellermann2014-01-301-0/+2
|
* fs/DirectoryReader: GetEntry() returns Path, not AllocatedPathMax Kellermann2014-01-301-3/+3
| | | | Reduce overhead, don't duplicate the string.
* update/Walk: declare std::string at assignmentMax Kellermann2014-01-301-4/+2
| | | | Reduce overhead.
* PlaylistFile: narrow LoadPlaylistFileInfo() API to accept PathMax Kellermann2014-01-301-2/+2
|
* fs/AllocatedPath: add Build() overlays with Path argumentsMax Kellermann2014-01-301-0/+10
|
* db: add compile-time option to disable databaseMax Kellermann2014-01-3025-57/+297
|
* OtherCommands: merge duplicate code from handle_update(), handle_rescan()Max Kellermann2014-01-301-31/+10
|
* db/update: convert to OO APIMax Kellermann2014-01-3029-520/+514
| | | | | Move global variables into the new classes. That may allow multiple update threads for multiple databases one day.
* Main, OutputThread: increase kernel timer slack (Linux)Max Kellermann2014-01-305-0/+64
| | | | | Allows the kernel to combine timer wakeups with other processes, reducing power usage.
* NEWS: mention thread namesMax Kellermann2014-01-301-0/+1
|
* NEWS: add "threads" sectionMax Kellermann2014-01-301-2/+3
|
* ExcludeList: move to db/update/Max Kellermann2014-01-303-1/+1
|
* InotifyUpdate: pass EventLoop to mpd_inotify_init()Max Kellermann2014-01-293-7/+10
|
* Listen: pass EventLoop to listen_global_init()Max Kellermann2014-01-293-8/+7
| | | | Don't use global variables.
* db/Directory: move isRootDirectory() to Uri.hxxMax Kellermann2014-01-296-7/+33
| | | | Decouple command/OtherCommands.cxx from the "simple" database plugin.
* sticker: don't use classes Directory and SongMax Kellermann2014-01-293-22/+21
| | | | | Don't depend on the "simple" database plugin. This fixes an assertion failure / crash and allows using stickers with other plugins.
* OutputThread: move more functions into the AudioOutput classMax Kellermann2014-01-292-240/+271
|
* output: rename "chunk" to "current_chunk"Max Kellermann2014-01-294-28/+30
|
* output: move functions into the AudioOutput structMax Kellermann2014-01-2925-331/+283
|
* AudioOutput: make "plugin" a referenceMax Kellermann2014-01-295-37/+37
|
* AudioOutput: pass plugin to constructorMax Kellermann2014-01-2918-45/+68
| | | | Make it "const".
* doc/user: add Debian build dependenciesMax Kellermann2014-01-291-0/+29
|
* CommandLine: remove junk from string literalMax Kellermann2014-01-291-1/+1
|
* AudioOutput: add constructor and destructorMax Kellermann2014-01-2819-101/+27
|
* ConfigTemplates: rename "AudioOutput" back to "audio_output"Max Kellermann2014-01-281-1/+1
| | | | sed gone horribly wrong. D'oh!
* output: rename source filesMax Kellermann2014-01-2820-29/+29
|
* output: rename struct audio_output to AudioOutputMax Kellermann2014-01-2836-277/+278
|
* OutputPlugin: rename struct audio_output_plugin to AudioOutputPluginMax Kellermann2014-01-2839-50/+53
|
* thread/Name: implementation for Mac OS XMax Kellermann2014-01-281-0/+4
| | | | pthread_setname_np() doesn't have the "thread" argument on OS X.
* Makefile.am: make libneighbor.a conditionalMax Kellermann2014-01-281-1/+2
| | | | Fixes non-Linux build without neighbor plugins.
* OutputAll: convert to class, move instance to class PartitionMax Kellermann2014-01-2826-1006/+913
| | | | Another big chunk of code for multi-player support.
* configure.ac: detect libsmbclient without pkg-configMax Kellermann2014-01-271-1/+2
| | | | | The pkg-config file has been added in Samba 4.0. This commits adds a fallback for older libsmbclient versions.
* neighbor/smbclient: add splice_after() fallback for gcc 4.6Max Kellermann2014-01-271-0/+7
|
* configure.ac: check if -lrt is necessary for clock_gettime()Max Kellermann2014-01-271-0/+2
|
* Makefile.am: build test/run_neighbor_explorer with AM_LDADDMax Kellermann2014-01-271-1/+1
|
* Playlist{Info,Vector}: move to db/Max Kellermann2014-01-2712-12/+12
|