Max Kellermann
|
5ad2980d69
|
QueueSave: use class SongLoader
|
2014-02-03 23:32:31 +01:00 |
Max Kellermann
|
ca36ac2ba1
|
SongLoader: new class that merges duplicate code
There was quite a lot of duplicate code for loading DetachedSong
objects, with different semantics for "securely" loading local files.
|
2014-02-03 23:32:10 +01:00 |
Max Kellermann
|
ba675d6a55
|
FileCommands: use PathTraitsUTF8::IsAbsolute()
|
2014-02-03 23:31:28 +01:00 |
Max Kellermann
|
e4c5a4f61b
|
PlaylistSave: remove redundant backslash conversion
This is already being done by FixSeparators(), called from
PathToUTF8().
|
2014-02-03 23:15:57 +01:00 |
Max Kellermann
|
a8e52ad89f
|
ClientFile: move client_allow_file() into the Client class
|
2014-02-02 13:59:07 +01:00 |
Max Kellermann
|
8cf4fb53aa
|
Playlist: pass Database to DatabaseModified()
Don't use global variable.
|
2014-02-01 00:45:58 +01:00 |
Max Kellermann
|
1769ae54e4
|
Partition: disable DatabaseModified() if not ENABLE_DATABASE
|
2014-02-01 00:44:41 +01:00 |
Max Kellermann
|
e545679265
|
Main: don't measure DatabaseGlobalDeinit() time
Useless information.
|
2014-02-01 00:39:42 +01:00 |
Max Kellermann
|
981080500b
|
Stats: pass Database reference around
Call GetDatabase() only once.
|
2014-02-01 00:38:57 +01:00 |
Max Kellermann
|
636d28b784
|
Stats: remove obsolete "simple" plugin special case
The proxy plugin has now implemented the "idle" event listener.
|
2014-02-01 00:37:01 +01:00 |
Max Kellermann
|
188783ac1a
|
Stats: return false if update has failed
|
2014-02-01 00:36:36 +01:00 |
Max Kellermann
|
ff650d50a2
|
Mapper: assert that Song::parent is not nullptr
|
2014-01-31 23:14:13 +01:00 |
Max Kellermann
|
78689645dc
|
db/update/Archive: delete archive from database on error
|
2014-01-31 22:24:28 +01:00 |
Max Kellermann
|
26970579b8
|
db/update/Editor: add locking method variants
|
2014-01-31 22:17:49 +01:00 |
Max Kellermann
|
04b4f53488
|
db/update: convert runtime check to assertion
|
2014-01-31 21:59:35 +01:00 |
Max Kellermann
|
c310941f69
|
fs/AllocatedPath: add conversion constructor from Path
|
2014-01-30 23:36:57 +01:00 |
Max Kellermann
|
c02f146791
|
fs/DirectoryReader: GetEntry() returns Path, not AllocatedPath
Reduce overhead, don't duplicate the string.
|
2014-01-30 22:20:57 +01:00 |
Max Kellermann
|
a631200cca
|
update/Walk: declare std::string at assignment
Reduce overhead.
|
2014-01-30 22:19:56 +01:00 |
Max Kellermann
|
6207a3f999
|
PlaylistFile: narrow LoadPlaylistFileInfo() API to accept Path
|
2014-01-30 22:17:35 +01:00 |
Max Kellermann
|
0bd01824f6
|
fs/AllocatedPath: add Build() overlays with Path arguments
|
2014-01-30 22:15:13 +01:00 |
Max Kellermann
|
4465e2c46b
|
db: add compile-time option to disable database
|
2014-01-30 20:39:40 +01:00 |
Max Kellermann
|
34b309b99a
|
OtherCommands: merge duplicate code from handle_update(), handle_rescan()
|
2014-01-30 20:39:40 +01:00 |
Max Kellermann
|
c6725884bc
|
db/update: convert to OO API
Move global variables into the new classes. That may allow multiple
update threads for multiple databases one day.
|
2014-01-30 18:47:05 +01:00 |
Max Kellermann
|
a31738f6f1
|
Main, OutputThread: increase kernel timer slack (Linux)
Allows the kernel to combine timer wakeups with other processes,
reducing power usage.
|
2014-01-30 18:43:40 +01:00 |
Max Kellermann
|
39a2867ea8
|
NEWS: mention thread names
|
2014-01-30 18:43:16 +01:00 |
Max Kellermann
|
468c3df82d
|
NEWS: add "threads" section
|
2014-01-30 18:43:03 +01:00 |
Max Kellermann
|
d5b017407d
|
ExcludeList: move to db/update/
|
2014-01-30 10:11:12 +01:00 |
Max Kellermann
|
4b044bd8e1
|
InotifyUpdate: pass EventLoop to mpd_inotify_init()
|
2014-01-29 18:36:32 +01:00 |
Max Kellermann
|
aeaf64b467
|
Listen: pass EventLoop to listen_global_init()
Don't use global variables.
|
2014-01-29 18:32:28 +01:00 |
Max Kellermann
|
a137f817f5
|
db/Directory: move isRootDirectory() to Uri.hxx
Decouple command/OtherCommands.cxx from the "simple" database plugin.
|
2014-01-29 18:05:33 +01:00 |
Max Kellermann
|
ff87145537
|
sticker: don't use classes Directory and Song
Don't depend on the "simple" database plugin. This fixes an assertion
failure / crash and allows using stickers with other plugins.
|
2014-01-29 17:45:07 +01:00 |
Max Kellermann
|
667481c371
|
OutputThread: move more functions into the AudioOutput class
|
2014-01-29 09:26:11 +01:00 |
Max Kellermann
|
af71605769
|
output: rename "chunk" to "current_chunk"
|
2014-01-29 09:23:57 +01:00 |
Max Kellermann
|
4657a3bd0f
|
output: move functions into the AudioOutput struct
|
2014-01-29 08:10:46 +01:00 |
Max Kellermann
|
cb7366f472
|
AudioOutput: make "plugin" a reference
|
2014-01-29 08:10:36 +01:00 |
Max Kellermann
|
bf803e241f
|
AudioOutput: pass plugin to constructor
Make it "const".
|
2014-01-29 08:10:18 +01:00 |
Max Kellermann
|
8a8d023f90
|
doc/user: add Debian build dependencies
|
2014-01-29 08:10:07 +01:00 |
Max Kellermann
|
5b3aa45e58
|
CommandLine: remove junk from string literal
|
2014-01-29 08:09:48 +01:00 |
Max Kellermann
|
c4403c523f
|
AudioOutput: add constructor and destructor
|
2014-01-28 12:37:58 +01:00 |
Max Kellermann
|
07b89b2bad
|
ConfigTemplates: rename "AudioOutput" back to "audio_output"
sed gone horribly wrong. D'oh!
|
2014-01-28 12:37:58 +01:00 |
Max Kellermann
|
68b79f97f3
|
output: rename source files
|
2014-01-28 11:42:54 +01:00 |
Max Kellermann
|
815d72065c
|
output: rename struct audio_output to AudioOutput
|
2014-01-28 11:34:09 +01:00 |
Max Kellermann
|
e0dc721324
|
OutputPlugin: rename struct audio_output_plugin to AudioOutputPlugin
|
2014-01-28 11:33:15 +01:00 |
Max Kellermann
|
2f873edc9c
|
thread/Name: implementation for Mac OS X
pthread_setname_np() doesn't have the "thread" argument on OS X.
|
2014-01-28 11:33:15 +01:00 |
Max Kellermann
|
d5f46a846a
|
Makefile.am: make libneighbor.a conditional
Fixes non-Linux build without neighbor plugins.
|
2014-01-28 11:27:32 +01:00 |
Max Kellermann
|
f5a923b9d1
|
OutputAll: convert to class, move instance to class Partition
Another big chunk of code for multi-player support.
|
2014-01-28 09:20:53 +01:00 |
Max Kellermann
|
36bab6ef06
|
configure.ac: detect libsmbclient without pkg-config
The pkg-config file has been added in Samba 4.0. This commits adds a
fallback for older libsmbclient versions.
|
2014-01-27 15:00:44 +01:00 |
Max Kellermann
|
5273900b0e
|
neighbor/smbclient: add splice_after() fallback for gcc 4.6
|
2014-01-27 14:59:15 +01:00 |
Max Kellermann
|
1451344221
|
configure.ac: check if -lrt is necessary for clock_gettime()
|
2014-01-27 14:59:15 +01:00 |
Max Kellermann
|
8ed9f779cd
|
Makefile.am: build test/run_neighbor_explorer with AM_LDADD
|
2014-01-27 14:54:40 +01:00 |