Max Kellermann
|
6636c69a11
|
storage/FileInfo: convert mtime to std::chrono::system_clock::time_point
|
2017-02-11 23:45:15 +01:00 |
|
Max Kellermann
|
5e081de14a
|
IOThread: move EventThread instance into struct Instance
Eliminate global variables.
|
2017-02-10 22:25:06 +01:00 |
|
Max Kellermann
|
3850716522
|
command/Database: add "sort" parameter to "find" and "search"
Implement the second part of https://bugs.musicpd.org/view.php?id=3990
|
2017-02-08 11:22:08 +01:00 |
|
Max Kellermann
|
777e15bd78
|
db/DatabaseSong: make the Storage optional
Some database plugins don't use a Storage (e.g. UPnP), and with this
plugin, DatabaseDetachSong() can crash.
|
2017-02-08 10:05:55 +01:00 |
|
Max Kellermann
|
f689e28958
|
SongLoader: return instance, not pointer
|
2017-02-08 10:02:08 +01:00 |
|
Max Kellermann
|
29453ba196
|
client: add tag_mask attribute
The "tagtypes" command now has several sub commands which can be used
to edit that mask.
|
2017-02-08 09:06:11 +01:00 |
|
Max Kellermann
|
09d87d5ef1
|
command/Other: move some functions to ClientCommands.cxx
handle_tagtypes() is also being moved to ClientCommands.cxx, because
that command will be extended to access client-specific settings.
|
2017-02-08 09:06:11 +01:00 |
|
Max Kellermann
|
2f3f075e4f
|
tag/Mask: wrap in class
|
2017-02-08 09:04:45 +01:00 |
|
Max Kellermann
|
a3e28c2d1a
|
tag/Tag: move tag_name_parse() to ParseName.cxx
|
2017-02-08 08:57:22 +01:00 |
|
Max Kellermann
|
03a97d87ea
|
tag/Tag*: rename several source files
|
2017-02-08 08:49:42 +01:00 |
|
Max Kellermann
|
39114f91a7
|
AudioFormat: replace struct audio_format_string with class StringBuffer, return it
|
2017-01-17 22:18:21 +01:00 |
|
Max Kellermann
|
5900253b85
|
update copyright year
|
2017-01-03 20:48:59 +01:00 |
|
Max Kellermann
|
52652cb609
|
command/{Player,Error}: extract messages from nested exceptions
|
2016-12-29 14:46:13 +01:00 |
|
Max Kellermann
|
3472208c05
|
ReplayGainGlobal: move replay_gain_mode to struct Partition
|
2016-12-03 13:56:25 +01:00 |
|
Max Kellermann
|
77c1f54876
|
ReplayGainConfig: add struct ReplayGainConfig, move globals to ReplayGainGlobal.cxx
|
2016-11-25 11:13:08 +01:00 |
|
Max Kellermann
|
0720702c91
|
ReplayGainMode: add ToString(), FromString()
Move code from ReplayGainConfig.cxx.
|
2016-11-24 17:34:57 +01:00 |
|
Max Kellermann
|
7ef31f84a7
|
command/Error: translate std::invalid_argument to ACK_ERROR_ARG
|
2016-11-24 17:33:36 +01:00 |
|
Max Kellermann
|
0759d72108
|
Partition: add UpdateEffectiveReplayGainMode()
Move code from replay_gain_get_real_mode().
|
2016-11-24 15:18:57 +01:00 |
|
Max Kellermann
|
741c6f1179
|
command: remove the obsolete Error support code
|
2016-11-10 12:55:08 +01:00 |
|
Max Kellermann
|
4cd21f1e07
|
decoder/Control: throw exception on Seek() error
|
2016-11-07 09:05:28 +01:00 |
|
Max Kellermann
|
403f0f8c64
|
SongLoader, ...: include cleanup
|
2016-11-07 09:01:57 +01:00 |
|
Max Kellermann
|
a2e3dc0592
|
db/Interface: migrate Update() from class Error to C++ exceptions
|
2016-10-29 10:59:18 +02:00 |
|
Max Kellermann
|
df142d4f61
|
db/simple: migrate Mount() from class Error to C++ exceptions
|
2016-10-29 10:56:31 +02:00 |
|
Max Kellermann
|
fac8edd47a
|
db/Interface: migrate visitor methods from class Error to C++ exceptions
|
2016-10-29 10:42:56 +02:00 |
|
Max Kellermann
|
9a9da7b077
|
command/Database: use std::unique_ptr
|
2016-10-29 10:42:56 +02:00 |
|
Max Kellermann
|
6961bd61ca
|
LocateUri: migrate from class Error to C++ exceptions
|
2016-10-27 22:04:41 +02:00 |
|
Max Kellermann
|
c598686bd9
|
storage: migrate from class Error to C++ exceptions
|
2016-10-27 21:35:19 +02:00 |
|
Max Kellermann
|
60f72f0ff9
|
command/Storage: use std::unique_ptr
|
2016-10-27 21:04:40 +02:00 |
|
Max Kellermann
|
10e32454ef
|
lib/sqlite, sticker: migrate from class Error to C++ exceptions
|
2016-10-27 07:50:08 +02:00 |
|
Max Kellermann
|
086652dd50
|
Instance: add GetDatabaseOrThrow()
|
2016-10-26 18:47:19 +02:00 |
|
Max Kellermann
|
0ce72cbf9d
|
player/Control: convert error from Error to std::exception_ptr
Prepare full C++ exception support in the player thread.
|
2016-09-08 12:15:14 +02:00 |
|
Max Kellermann
|
6e52ab285a
|
player/Control: use class Error as C++ exception, throw it
|
2016-09-08 12:07:22 +02:00 |
|
Max Kellermann
|
3da4648112
|
command/Player: restore "single" mode using AtScopeExit()
|
2016-09-08 12:07:22 +02:00 |
|
Max Kellermann
|
c60d65dd8f
|
command/All: catch class Error
|
2016-09-08 12:07:22 +02:00 |
|
Max Kellermann
|
f29949e14d
|
command/Error: support class Error as C++ exception
|
2016-09-08 10:34:02 +02:00 |
|
Max Kellermann
|
75aa98ddaa
|
command/Error: merge the two try/catch blocks
|
2016-09-08 10:34:02 +02:00 |
|
Max Kellermann
|
021519f295
|
command/QueueCommands: eliminate duplicate code in handle_addid()
|
2016-06-13 18:28:03 +02:00 |
|
Eric Wollesen
|
81a198a76a
|
return id for "addid" with position
Previously the id was being returned only when a position wasn't
specified.
|
2016-06-13 10:14:20 -06:00 |
|
Max Kellermann
|
e228144159
|
command/playlist: eliminate spl_print() calls
playlist_file_print() already handles stored playlists. spl_print()
is never called with a successful result.
|
2016-04-13 19:47:41 +02:00 |
|
Max Kellermann
|
9b85446808
|
util/StringPointer: rename typedef pointer to pointer_type
|
2016-04-12 22:53:06 +02:00 |
|
Max Kellermann
|
2fd5182608
|
db/Interface: GetSong() throws exception on error
|
2016-03-19 00:19:50 +01:00 |
|
Max Kellermann
|
b24a5e0662
|
Partition: add method EmitIdle()
Prepare for moving idle events to class Partition. Right now, it's
just a wrapper for idle_add().
|
2016-03-05 19:16:39 +01:00 |
|
Max Kellermann
|
1aee89f5ea
|
*: include cleanup (using iwyu)
|
2016-03-01 22:08:13 +01:00 |
|
Max Kellermann
|
fb547260d1
|
player/Control: Play*() returns Error information
|
2016-02-28 13:31:41 +01:00 |
|
Max Kellermann
|
ac15581c56
|
command/error: remove unused function print_playlist_result()
|
2016-02-28 11:53:38 +01:00 |
|
Max Kellermann
|
9e2e882157
|
PlaylistPrint: throw PlaylistError on error
|
2016-02-28 11:52:39 +01:00 |
|
Max Kellermann
|
99ded56047
|
command/error: remove db_domain from ToAck(Error)
|
2016-02-28 11:48:12 +01:00 |
|
Max Kellermann
|
5b8dce7456
|
db/simple: throw DatabaseError on error
|
2016-02-28 11:40:59 +01:00 |
|
Max Kellermann
|
304d78a4c8
|
command/error: remove playlist_domain from ToAck(Error)
playlist_domain is no longer used for class Error.
|
2016-02-28 11:17:43 +01:00 |
|
Max Kellermann
|
b6cb9b853a
|
queue/PlaylistEdit: throw PlaylistError on error
|
2016-02-28 11:02:36 +01:00 |
|