Max Kellermann
|
43b285ef7a
|
decoder/Thread: remove the obsolete catch(Error&)
|
2016-11-10 12:55:08 +01:00 |
Max Kellermann
|
f4bb18b05e
|
fs/AllocatedPath: remove the obsolete class Error overload
|
2016-11-10 12:55:08 +01:00 |
Max Kellermann
|
14885f25b4
|
system/FatalError: remove the obsolete class Error overloads
|
2016-11-10 12:55:08 +01:00 |
Max Kellermann
|
4e16ea0f0a
|
decoder/flac: migrate from class Error to C++ exceptions
|
2016-11-10 12:55:08 +01:00 |
Max Kellermann
|
42a696873b
|
decoder/faad: migrate from class Error to C++ exceptions
|
2016-11-10 12:55:08 +01:00 |
Max Kellermann
|
cfd51db229
|
CheckAudioFormat: migrate from class Error to C++ exceptions
|
2016-11-10 12:55:08 +01:00 |
Max Kellermann
|
12f11c97ae
|
decoder/faad: use AtScopeExit()
|
2016-11-10 12:55:08 +01:00 |
Max Kellermann
|
6a78d11127
|
decoder/gme: use AtScopeExit()
|
2016-11-10 12:55:08 +01:00 |
Max Kellermann
|
256ee7a8c7
|
decoder/audiofile: use AtScopeExit()
|
2016-11-10 12:55:08 +01:00 |
Max Kellermann
|
07a51957ee
|
fs/FileInfo: remove the obsolete class Error overloads
|
2016-11-10 12:55:08 +01:00 |
Max Kellermann
|
37c4470f10
|
fs/CheckFile: use FileInfo(Path) instead of GetFileInfo()
|
2016-11-10 12:55:08 +01:00 |
Max Kellermann
|
4dc7d1c0cd
|
decoder/Thread: use AllocatedPath::FromUTF8Throw()
|
2016-11-10 12:55:08 +01:00 |
Dave Hocker
|
f6a85f0b0b
|
output/osx: fix build failure
|
2016-11-10 12:55:08 +01:00 |
Max Kellermann
|
5b8b660bd0
|
decoder/DecoderAPI: include cleanup
|
2016-11-09 13:42:52 +01:00 |
Max Kellermann
|
d9cb85df83
|
output/Plugin: remove 'Error&' parameters, use C++ exceptions only
|
2016-11-09 12:36:21 +01:00 |
Max Kellermann
|
445e82be75
|
output/Multiple: migrate from class Error to C++ exceptions
|
2016-11-09 12:31:23 +01:00 |
Max Kellermann
|
98a12c49dd
|
pcm/Domain: remove obsolete source
|
2016-11-09 12:15:35 +01:00 |
Max Kellermann
|
b78cc7e48a
|
output/Thread: remove obsolete pcm_domain check, this is defunct
|
2016-11-09 12:15:35 +01:00 |
Max Kellermann
|
ac9ce0b3ad
|
output/Init: migrate _setup() from class Error to C++ exceptions
|
2016-11-09 12:09:00 +01:00 |
Max Kellermann
|
cf2b814629
|
output/Init: migrate Configure() from class Error to C++ exceptions
|
2016-11-09 12:06:54 +01:00 |
Max Kellermann
|
bbe7a37359
|
output/Internal: hide Configure() and remove the non-configuring constructor
|
2016-11-09 12:06:06 +01:00 |
Max Kellermann
|
d0aa154ea6
|
output/null: migrate from class Error to C++ exceptions
|
2016-11-09 12:03:20 +01:00 |
Max Kellermann
|
df4616ae4a
|
output/osx: migrate from class Error to C++ exceptions
Beware, this commit was not tested. I don't have OS X, but I want to
prepare an API change.
|
2016-11-09 11:51:28 +01:00 |
Max Kellermann
|
10f62db9fd
|
output/osx: use std::unique_ptr
Eliminate all those "goto"s and make the function exception-safe.
|
2016-11-09 11:50:14 +01:00 |
Max Kellermann
|
5c075210d6
|
output/osx: use AtScopeExit() to call CFRelease()
|
2016-11-09 11:49:21 +01:00 |
Max Kellermann
|
0cf85b0771
|
output/haiku: eliminate DoClose()
|
2016-11-09 11:42:00 +01:00 |
Max Kellermann
|
fa90047e52
|
output/haiku: migrate from class Error to C++ exceptions
Beware, this commit was not tested. I don't have Haiku, but I want to
prepare an API change.
|
2016-11-09 11:39:11 +01:00 |
Max Kellermann
|
b9f64fe19b
|
output/haiku: embed "format" into the HaikuOutput class
Avoid one level of dynamic allocation.
|
2016-11-09 11:36:38 +01:00 |
Max Kellermann
|
dd072912e8
|
output/solaris: migrate from class Error to C++ exceptions
|
2016-11-09 11:18:19 +01:00 |
Max Kellermann
|
9dbdc75689
|
output/httpd: migrate from class Error to C++ exceptions
|
2016-11-09 08:40:10 +01:00 |
Max Kellermann
|
dce211dbba
|
output/sles: migrate from class Error to C++ exceptions
|
2016-11-09 08:35:35 +01:00 |
Max Kellermann
|
b4e5fa5c1b
|
output/roar: migrate from class Error to C++ exceptions
|
2016-11-09 08:29:44 +01:00 |
Max Kellermann
|
f12fa7e20a
|
output/shout: migrate from class Error to C++ exceptions
|
2016-11-08 15:40:19 +01:00 |
Max Kellermann
|
96f8f1da0c
|
output/OpenAL: migrate from class Error to C++ exceptions
|
2016-11-08 15:19:30 +01:00 |
Max Kellermann
|
db7eec042e
|
output/sndio: migrate from class Error to C++ exceptions
|
2016-11-08 15:15:16 +01:00 |
Max Kellermann
|
52aed3f8a1
|
output/jack: migrate from class Error to C++ exceptions
|
2016-11-08 15:11:21 +01:00 |
Max Kellermann
|
cadd186f1b
|
output/jack: use AtScopeExit()
|
2016-11-08 15:10:38 +01:00 |
Max Kellermann
|
dd9ab16d67
|
output/recorder: migrate from class Error to C++ exceptions
|
2016-11-07 09:48:10 +01:00 |
Max Kellermann
|
d8b6aff23a
|
encoder: migrate from class Error to C++ exceptions
|
2016-11-07 09:25:51 +01:00 |
Max Kellermann
|
b8aac3f8fc
|
output/Thread: catch and log send_tag() exceptions
|
2016-11-07 09:25:47 +01:00 |
Max Kellermann
|
4aab97ccb1
|
config/Path: throw std::runtime_error on error
|
2016-11-07 09:07:50 +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
|
8c4246f2ad
|
net/SocketError: remove obsolete Error functions
|
2016-11-07 08:58:26 +01:00 |
Max Kellermann
|
1859ba5ec8
|
output/winmm: 8 bit playback is not supported
Everything must be S16.
|
2016-11-07 08:53:57 +01:00 |
Max Kellermann
|
54d5184255
|
output/winmm: use std::array
|
2016-11-07 08:50:58 +01:00 |
Max Kellermann
|
0c5b986fc4
|
output/winmm: use range-based "for"
|
2016-11-07 08:28:41 +01:00 |
Max Kellermann
|
7b2cdd618e
|
output/winmm: use AudioOutputWrapper
|
2016-11-07 08:08:42 +01:00 |
Max Kellermann
|
30bb3f1fcb
|
output/winmm: migrate from class Error to C++ exceptions
|
2016-11-07 07:42:18 +01:00 |
Max Kellermann
|
b45ea66175
|
output/pipe: migrate from class Error to C++ exceptions
|
2016-11-05 15:24:10 +01:00 |
Max Kellermann
|
543c5034af
|
output/fifo: migrate from class Error to C++ exceptions
|
2016-11-05 15:13:14 +01:00 |
Max Kellermann
|
c8aa7afdc6
|
output/oss: migrate from class Error to C++ exceptions
|
2016-11-05 13:18:45 +01:00 |
Max Kellermann
|
b35bb1b50c
|
output/alsa: use C++ initializers
|
2016-11-04 11:31:23 +01:00 |
Max Kellermann
|
6341be9cdf
|
output/alsa: migrate from class Error to C++ exceptions
|
2016-11-04 11:31:23 +01:00 |
Max Kellermann
|
93a14a93f9
|
output/alsa: use Error::FormatPrefix()
|
2016-11-04 11:31:23 +01:00 |
Max Kellermann
|
d6559e2ac9
|
output/Thread: fix wrong error reference in catch clause
|
2016-11-04 11:31:23 +01:00 |
Max Kellermann
|
65e6755b8b
|
output/ao: migrate from class Error to C++ exceptions
|
2016-11-02 12:36:13 +01:00 |
Max Kellermann
|
6ead9750f4
|
output/pulse: migrate from class Error to C++ exceptions
|
2016-11-02 11:01:22 +01:00 |
Max Kellermann
|
6532c7e089
|
output/pulse: use C++11 initializers
|
2016-11-02 11:01:07 +01:00 |
Max Kellermann
|
8b3d934230
|
output/Thread: catch Pause() exceptions
|
2016-11-02 10:53:43 +01:00 |
Max Kellermann
|
e2b7c30811
|
event/BufferedSocket: pass std::exception_ptr to OnSocketError()
|
2016-11-02 10:38:05 +01:00 |
Max Kellermann
|
c8bb3c0b71
|
CommandLine: migrate from class Error to C++ exceptions
|
2016-11-02 10:30:46 +01:00 |
Max Kellermann
|
9990e8473c
|
LogInit: migrate from class Error to C++ exceptions
|
2016-11-02 10:11:17 +01:00 |
Max Kellermann
|
d765182bbb
|
config/Global: _get_path() throws exception on error
|
2016-11-02 10:07:57 +01:00 |
Max Kellermann
|
5a63d1d5a4
|
LogInit: use ConfigParam::GetPath()
|
2016-11-02 10:07:50 +01:00 |
Max Kellermann
|
6d409d27ca
|
lib/icu: migrate from class Error to C++ exceptions
|
2016-11-02 09:54:13 +01:00 |
Max Kellermann
|
e9c2885f34
|
lib/ffmpeg/Error: remove SetFfmpegError(); it's unused now
|
2016-10-31 13:18:47 +01:00 |
Max Kellermann
|
ecb8f7362b
|
decoder/ffmpeg: copy_interleave_frame() throws exception on error
|
2016-10-31 13:03:02 +01:00 |
Max Kellermann
|
17ccfec358
|
lib/expat/Parser: remove unused method SetError()
|
2016-10-29 11:06:28 +02:00 |
Max Kellermann
|
a55bb28069
|
decoder: include cleanup
|
2016-10-29 11:04:49 +02: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
|
131441846b
|
db/Error: remove unused variable db_domain
|
2016-10-29 10:42:56 +02:00 |
Max Kellermann
|
3ff728ab02
|
db/Visitor: remove the Error parameter
Implementations shall use exceptions instead.
|
2016-10-29 10:04:43 +02:00 |
Max Kellermann
|
78bf4ef5fa
|
db/Configured: migrate from class Error to C++ exceptions
|
2016-10-29 10:01:50 +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
|
f6f2a3b366
|
output/alsa: throw C++ exception on init error
|
2016-10-28 22:56:27 +02:00 |
Max Kellermann
|
d52c7e7a1b
|
output/httpd: throw C++ exception on init error
|
2016-10-28 22:42:10 +02:00 |
Max Kellermann
|
c4acccac14
|
output/Init: add constructor overload which calls Configure()
|
2016-10-28 22:41:07 +02:00 |
Max Kellermann
|
13001c018c
|
AudioParser: throw exception on error
|
2016-10-28 22:36:04 +02:00 |
Max Kellermann
|
0c343cb1c3
|
encoder/Plugin: migrate from class Error to C++ exceptions
|
2016-10-28 21:29:01 +02:00 |
Max Kellermann
|
aead221184
|
event/ServerSocket: migrate from class Error to C++ exceptions
|
2016-10-28 21:22:25 +02:00 |
Max Kellermann
|
16d1c9f5d6
|
Main: catch exceptions in all of main()
|
2016-10-28 21:22:25 +02:00 |
Max Kellermann
|
0c464b24ad
|
OutputInit: allow "init" to throw exception
|
2016-10-28 21:11:52 +02:00 |
Max Kellermann
|
a249a630c0
|
OutputThread: support plugins throwing exceptions
|
2016-10-28 21:10:18 +02:00 |
Max Kellermann
|
f39823eac0
|
OutputThread: use class ScopeUnlock for exception-safety
|
2016-10-28 21:10:18 +02:00 |
Max Kellermann
|
69de99636f
|
OutputPlugin: update API documentation
|
2016-10-28 21:10:18 +02:00 |
Max Kellermann
|
afcff1fa77
|
lib/sqlite/Error: add missing include
https://bugs.musicpd.org/view.php?id=4593
|
2016-10-28 17:46:34 +02:00 |
Max Kellermann
|
9b5bae049c
|
config/Param: overload GetPath() throwing exception
|
2016-10-28 11:53:21 +02:00 |
Max Kellermann
|
7a3415166e
|
config/Param: add method GetPath()
Move code from config_parse_path().
|
2016-10-28 11:45:12 +02:00 |
Max Kellermann
|
5b2b4bf13c
|
config/Param: use CamelCase
|
2016-10-28 11:38:37 +02:00 |
Max Kellermann
|
4bd67bc298
|
db/update/InotifySource: migrate from class Error to C++ exceptions
|
2016-10-28 10:35:31 +02:00 |
Max Kellermann
|
1560749579
|
db/update/UpdateIO: include cleanup
|
2016-10-28 10:22:44 +02:00 |