Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SongLoader: new class that merges duplicate code | Max Kellermann | 2014-02-03 | 15 | -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 Kellermann | 2014-02-03 | 1 | -1/+1 |
| | |||||
* | PlaylistSave: remove redundant backslash conversion | Max Kellermann | 2014-02-03 | 1 | -16/+3 |
| | | | | | This is already being done by FixSeparators(), called from PathToUTF8(). | ||||
* | ClientFile: move client_allow_file() into the Client class | Max Kellermann | 2014-02-02 | 7 | -52/+19 |
| | |||||
* | Playlist: pass Database to DatabaseModified() | Max Kellermann | 2014-02-01 | 5 | -13/+9 |
| | | | | Don't use global variable. | ||||
* | Partition: disable DatabaseModified() if not ENABLE_DATABASE | Max Kellermann | 2014-02-01 | 3 | -0/+8 |
| | |||||
* | Main: don't measure DatabaseGlobalDeinit() time | Max Kellermann | 2014-02-01 | 1 | -4/+0 |
| | | | | Useless information. | ||||
* | Stats: pass Database reference around | Max Kellermann | 2014-02-01 | 1 | -9/+8 |
| | | | | Call GetDatabase() only once. | ||||
* | Stats: remove obsolete "simple" plugin special case | Max Kellermann | 2014-02-01 | 1 | -8/+0 |
| | | | | The proxy plugin has now implemented the "idle" event listener. | ||||
* | Stats: return false if update has failed | Max Kellermann | 2014-02-01 | 1 | -1/+1 |
| | |||||
* | Mapper: assert that Song::parent is not nullptr | Max Kellermann | 2014-01-31 | 1 | -18/+3 |
| | |||||
* | db/update/Archive: delete archive from database on error | Max Kellermann | 2014-01-31 | 1 | -0/+2 |
| | |||||
* | db/update/Editor: add locking method variants | Max Kellermann | 2014-01-31 | 5 | -27/+36 |
| | |||||
* | db/update: convert runtime check to assertion | Max Kellermann | 2014-01-31 | 1 | -4/+1 |
| | |||||
* | fs/AllocatedPath: add conversion constructor from Path | Max Kellermann | 2014-01-30 | 1 | -0/+2 |
| | |||||
* | fs/DirectoryReader: GetEntry() returns Path, not AllocatedPath | Max Kellermann | 2014-01-30 | 1 | -3/+3 |
| | | | | Reduce overhead, don't duplicate the string. | ||||
* | update/Walk: declare std::string at assignment | Max Kellermann | 2014-01-30 | 1 | -4/+2 |
| | | | | Reduce overhead. | ||||
* | PlaylistFile: narrow LoadPlaylistFileInfo() API to accept Path | Max Kellermann | 2014-01-30 | 1 | -2/+2 |
| | |||||
* | fs/AllocatedPath: add Build() overlays with Path arguments | Max Kellermann | 2014-01-30 | 1 | -0/+10 |
| | |||||
* | db: add compile-time option to disable database | Max Kellermann | 2014-01-30 | 25 | -57/+297 |
| | |||||
* | OtherCommands: merge duplicate code from handle_update(), handle_rescan() | Max Kellermann | 2014-01-30 | 1 | -31/+10 |
| | |||||
* | db/update: convert to OO API | Max Kellermann | 2014-01-30 | 29 | -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 Kellermann | 2014-01-30 | 5 | -0/+64 |
| | | | | | Allows the kernel to combine timer wakeups with other processes, reducing power usage. | ||||
* | NEWS: mention thread names | Max Kellermann | 2014-01-30 | 1 | -0/+1 |
| | |||||
* | NEWS: add "threads" section | Max Kellermann | 2014-01-30 | 1 | -2/+3 |
| | |||||
* | ExcludeList: move to db/update/ | Max Kellermann | 2014-01-30 | 3 | -1/+1 |
| | |||||
* | InotifyUpdate: pass EventLoop to mpd_inotify_init() | Max Kellermann | 2014-01-29 | 3 | -7/+10 |
| | |||||
* | Listen: pass EventLoop to listen_global_init() | Max Kellermann | 2014-01-29 | 3 | -8/+7 |
| | | | | Don't use global variables. | ||||
* | db/Directory: move isRootDirectory() to Uri.hxx | Max Kellermann | 2014-01-29 | 6 | -7/+33 |
| | | | | Decouple command/OtherCommands.cxx from the "simple" database plugin. | ||||
* | sticker: don't use classes Directory and Song | Max Kellermann | 2014-01-29 | 3 | -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 class | Max Kellermann | 2014-01-29 | 2 | -240/+271 |
| | |||||
* | output: rename "chunk" to "current_chunk" | Max Kellermann | 2014-01-29 | 4 | -28/+30 |
| | |||||
* | output: move functions into the AudioOutput struct | Max Kellermann | 2014-01-29 | 25 | -331/+283 |
| | |||||
* | AudioOutput: make "plugin" a reference | Max Kellermann | 2014-01-29 | 5 | -37/+37 |
| | |||||
* | AudioOutput: pass plugin to constructor | Max Kellermann | 2014-01-29 | 18 | -45/+68 |
| | | | | Make it "const". | ||||
* | doc/user: add Debian build dependencies | Max Kellermann | 2014-01-29 | 1 | -0/+29 |
| | |||||
* | CommandLine: remove junk from string literal | Max Kellermann | 2014-01-29 | 1 | -1/+1 |
| | |||||
* | AudioOutput: add constructor and destructor | Max Kellermann | 2014-01-28 | 19 | -101/+27 |
| | |||||
* | ConfigTemplates: rename "AudioOutput" back to "audio_output" | Max Kellermann | 2014-01-28 | 1 | -1/+1 |
| | | | | sed gone horribly wrong. D'oh! | ||||
* | output: rename source files | Max Kellermann | 2014-01-28 | 20 | -29/+29 |
| | |||||
* | output: rename struct audio_output to AudioOutput | Max Kellermann | 2014-01-28 | 36 | -277/+278 |
| | |||||
* | OutputPlugin: rename struct audio_output_plugin to AudioOutputPlugin | Max Kellermann | 2014-01-28 | 39 | -50/+53 |
| | |||||
* | thread/Name: implementation for Mac OS X | Max Kellermann | 2014-01-28 | 1 | -0/+4 |
| | | | | pthread_setname_np() doesn't have the "thread" argument on OS X. | ||||
* | Makefile.am: make libneighbor.a conditional | Max Kellermann | 2014-01-28 | 1 | -1/+2 |
| | | | | Fixes non-Linux build without neighbor plugins. | ||||
* | OutputAll: convert to class, move instance to class Partition | Max Kellermann | 2014-01-28 | 26 | -1006/+913 |
| | | | | Another big chunk of code for multi-player support. | ||||
* | configure.ac: detect libsmbclient without pkg-config | Max Kellermann | 2014-01-27 | 1 | -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.6 | Max Kellermann | 2014-01-27 | 1 | -0/+7 |
| | |||||
* | configure.ac: check if -lrt is necessary for clock_gettime() | Max Kellermann | 2014-01-27 | 1 | -0/+2 |
| | |||||
* | Makefile.am: build test/run_neighbor_explorer with AM_LDADD | Max Kellermann | 2014-01-27 | 1 | -1/+1 |
| | |||||
* | Playlist{Info,Vector}: move to db/ | Max Kellermann | 2014-01-27 | 12 | -12/+12 |
| |