Max Kellermann
|
3ff728ab02
|
db/Visitor: remove the Error parameter
Implementations shall use exceptions instead.
|
2016-10-29 10:04:43 +02:00 |
|
Max Kellermann
|
318d0b3976
|
db/simple/Save: move log call to SimpleDatabase::Load()
|
2016-10-29 10:00:35 +02:00 |
|
Max Kellermann
|
90a14e14f4
|
db/simple/Save: migrate from class Error to C++ exceptions
|
2016-10-29 09:45:34 +02:00 |
|
Max Kellermann
|
dea46e8d5a
|
db/Plugin: migrate from class Error to C++ exceptions
|
2016-10-28 23:15:22 +02:00 |
|
Max Kellermann
|
7e5ce623fe
|
db/simple: throw C++ exception on init error
|
2016-10-28 23:13:18 +02:00 |
|
Max Kellermann
|
e17805f208
|
config/Block: GetPath() throws exception on error
|
2016-10-28 23:08:42 +02:00 |
|
Max Kellermann
|
d8bcdca55a
|
config/Block: rename GetBlockPath() to GetPath()
|
2016-10-28 23:07:26 +02:00 |
|
Max Kellermann
|
2fd5182608
|
db/Interface: GetSong() throws exception on error
|
2016-03-19 00:19:50 +01:00 |
|
Max Kellermann
|
f55bdf07d3
|
db/Interface: Open() throws exception on error
|
2016-03-19 00:05:11 +01:00 |
|
Max Kellermann
|
6c2b532ae3
|
db/proxy: throw exception on error
|
2016-03-19 00:02:50 +01:00 |
|
Max Kellermann
|
2539f294e4
|
db/proxy: move code to MakeError()
Use this function instead of CheckError() when we already know an
error has occurred.
|
2016-03-18 23:43:28 +01:00 |
|
Max Kellermann
|
b6a3ce9305
|
db/proxy: fix inconsistent error handling in VisitUniqueTags()
|
2016-03-18 23:42:04 +01:00 |
|
Max Kellermann
|
b07495aae9
|
db/proxy: remove superfluous CheckError() call
|
2016-03-18 23:41:24 +01:00 |
|
Max Kellermann
|
686a53215d
|
db/proxy: use AtScopeExit()
|
2016-03-18 23:10:42 +01:00 |
|
Max Kellermann
|
6fd7d8191e
|
db/simple: refactor Check() to throw exception
|
2016-03-18 22:21:09 +01:00 |
|
Max Kellermann
|
2ccd1cc9f0
|
db/simple: remove misplaced "pure" attribute
|
2016-03-18 22:18:09 +01:00 |
|
Max Kellermann
|
8167bdd978
|
db/simple: handle Database::Open() exceptions in Mount()
|
2016-03-18 18:55:54 +01:00 |
|
Max Kellermann
|
dfb3e34f7b
|
db/lazy: remove obsolete class
Obsoleted by commit d4d4d621
|
2016-03-18 18:48:27 +01:00 |
|
Max Kellermann
|
45ee75055e
|
db/upnp: remove obsolete code comment
|
2016-03-18 18:48:00 +01:00 |
|
Max Kellermann
|
1aee89f5ea
|
*: include cleanup (using iwyu)
|
2016-03-01 22:08:13 +01:00 |
|
Max Kellermann
|
65386f52f0
|
db/proxy: throw DatabaseError on error
|
2016-02-28 11:47:03 +01:00 |
|
Max Kellermann
|
5b8dce7456
|
db/simple: throw DatabaseError on error
|
2016-02-28 11:40:59 +01:00 |
|
Max Kellermann
|
de938eb621
|
db/simple: handle exception in Open() properly, fix memory leak
|
2016-02-28 11:40:39 +01:00 |
|
Max Kellermann
|
83cc6c0835
|
db/simple: use second Error instance in Open()
Don't need to clear the caller-specified one.
|
2016-02-28 11:38:22 +01:00 |
|
Max Kellermann
|
1d67aa7bf2
|
update copyright year to 2016
|
2016-02-26 17:54:05 +01:00 |
|
Max Kellermann
|
d9e8ce22cb
|
util/Error: use std::exception_ptr instead of std::exception
Necessary to preserve type information. The try/catch sequence didn't
work previously.
Same fix as in commit 1c904000
|
2016-02-26 16:32:24 +01:00 |
|
Max Kellermann
|
a670ff6d3e
|
SongUpdate: remove obsolete overload UpdateFileInArchive(Storage)
|
2016-02-26 15:06:16 +01:00 |
|
Max Kellermann
|
35567e6507
|
SongUpdate: add UpdateFileInArchive(ArchiveFile&)
|
2016-02-26 14:53:37 +01:00 |
|
Max Kellermann
|
6c5bc9b4a3
|
lib/expat: use C++ exceptions instead of class Error
|
2016-02-07 12:58:20 +01:00 |
|
Max Kellermann
|
cd2f65aafc
|
upnp/ContentDirectoryService: use AtScopeExit() for ixmlDocument_free()
For exception-safety.
|
2016-02-07 12:56:55 +01:00 |
|
Max Kellermann
|
3ee5093b03
|
lib/upnp: use C++ exceptions instead of class Error
|
2016-02-07 12:53:21 +01:00 |
|
Max Kellermann
|
0d8e44a079
|
db/DatabaseError: rename enum db_error and make strictly-typed
|
2016-02-07 01:01:10 +01:00 |
|
Max Kellermann
|
e6e7d6dbd6
|
fs/io/Reader: use C++ exceptions instead of class Error
|
2015-12-18 01:08:16 +01:00 |
|
Max Kellermann
|
e4a06da14e
|
fs/io/OutputStream: use C++ exceptions in Write()
|
2015-12-16 10:24:43 +01:00 |
|
Max Kellermann
|
36d6ead65c
|
fs/io/GzipOutputStream: use C++ exceptions in constructor
|
2015-12-16 10:14:56 +01:00 |
|
Max Kellermann
|
7eae3bc8c5
|
fs/io/FileOutputStream: use C++ exceptions in Commit()
|
2015-12-16 00:33:33 +01:00 |
|
Max Kellermann
|
24b2198668
|
fs/io/FileOutputStream: use C++ exceptions in constructor
|
2015-12-16 00:33:30 +01:00 |
|
Max Kellermann
|
d29be0f460
|
db/simple: use std::unique_ptr<GzipOutputStream>
|
2015-12-16 00:33:10 +01:00 |
|
Max Kellermann
|
c11345c4d9
|
db/DatabaseLock: add class ScopeDatabaseUnlock
|
2015-12-16 00:07:51 +01:00 |
|
Max Kellermann
|
e31f0b8b0c
|
db/simple: use class ScopeDatabaseLock
|
2015-12-16 00:07:51 +01:00 |
|
Max Kellermann
|
c513478c31
|
db/simple: use StringAfterPrefix() instead of StringStartsWith()
|
2015-11-11 15:27:56 +01:00 |
|
Max Kellermann
|
733989a284
|
util/StringUtil: move comparison functions to StringCompare.cxx
|
2015-11-06 09:20:18 +01:00 |
|
Max Kellermann
|
8d23706354
|
util/DeleteDisposer: new utility class
|
2015-10-19 15:57:30 +02:00 |
|
Max Kellermann
|
356c829b76
|
util/StringView: new utility class
|
2015-09-30 22:21:46 +02:00 |
|
Max Kellermann
|
f0b58c6f24
|
db/UniqueTags, tag/Set, ...: use typedef tag_mask_t
|
2015-08-24 11:53:30 +02:00 |
|
Max Kellermann
|
2f5106c97f
|
tag/Settings: convert to C++
|
2015-08-24 11:20:45 +02:00 |
|
Max Kellermann
|
60c077c790
|
tag/Settings: add function IsTagEnabled() wrapping access to ignore_tag_items[]
|
2015-08-24 11:20:45 +02:00 |
|
Max Kellermann
|
eb86fdfbea
|
SongFilter: return "const char *" instead of std::string
|
2015-06-25 23:15:36 +02:00 |
|
Max Kellermann
|
cf073de36c
|
storage/local: convert mangled URI to FS charset
|
2015-03-03 13:18:15 +01:00 |
|
Max Kellermann
|
605af61a0f
|
db/simple: eliminate UpdateFileInArchive() if archive API is disabled
Reduce some unnecessary overhead.
|
2015-03-01 00:25:30 +01:00 |
|