Ales Guzik
|
3330aa6f6a
|
input/curl: enable https
|
2013-09-05 11:56:49 +02:00 |
|
Max Kellermann
|
8929f88e6d
|
PlaylistPlugin: add interface SongEnumerator
Replaces struct playlist_provider.
|
2013-09-05 09:40:55 +02:00 |
|
Max Kellermann
|
5348808bf5
|
PlaylistPlugin, ConfigGlobal: use nullptr instead of NULL
|
2013-09-05 09:40:32 +02:00 |
|
Max Kellermann
|
fccba1af2a
|
use standard snprintf() instead of GLib g_snprintf()
|
2013-09-05 09:21:53 +02:00 |
|
Max Kellermann
|
26d92c80ed
|
conf.h: remove obsolete header
Use only ConfigData.hxx in plugin sources to reduce header
dependencies.
|
2013-09-05 08:47:10 +02:00 |
|
Max Kellermann
|
9605e24655
|
conf.h: move constants to ConfigDefaults.hxx
|
2013-09-05 08:42:08 +02:00 |
|
Max Kellermann
|
7d0269d2ce
|
InputLegacy: move functions to the input_stream class
|
2013-09-05 00:23:14 +02:00 |
|
Max Kellermann
|
52ffdb0a55
|
test/read_tags: use input_stream_wait_ready()
|
2013-09-05 00:22:43 +02:00 |
|
Max Kellermann
|
681d6bbdc5
|
TagTable: un-inline the two functions
Reduce header dependencies.
|
2013-09-04 23:57:30 +02:00 |
|
Max Kellermann
|
867b82b6de
|
Tag*: move TagTable.hxx to libtag.a
|
2013-09-04 23:54:37 +02:00 |
|
Max Kellermann
|
5101ef4b02
|
Tag*: move libtag.a sources to src/tag/
|
2013-09-04 23:46:20 +02:00 |
|
Max Kellermann
|
ee9e238179
|
system/SocketError: un-inline constructor
Reduces header dependencies.
|
2013-09-04 23:36:30 +02:00 |
|
Max Kellermann
|
29030b54c9
|
util/Error: new error passing library
Replaces GLib's GError.
|
2013-09-04 18:14:22 +02:00 |
|
Max Kellermann
|
c9fcc7f148
|
system/resolver: convert to C++
|
2013-09-04 18:02:09 +02:00 |
|
Max Kellermann
|
d1f4a31b5e
|
output/pulse: require libpulse 0.9.16
Remove all #ifdefs. Old versions of libpulse are not being tested,
and thus I'm removing support.
|
2013-09-04 16:55:03 +02:00 |
|
Max Kellermann
|
b691d3123b
|
IOThread: pass GError to FatalError()
Fixes build failure on GLib < 2.32.
|
2013-09-04 16:54:52 +02:00 |
|
Max Kellermann
|
f68e36f8c2
|
DatabaseSave: eliminate redundant db_quark() implementation
|
2013-09-03 11:52:57 +02:00 |
|
Max Kellermann
|
4db119c01b
|
IOThread: use FatalError() on g_thread_create() error
New GLib versions don't fail.
|
2013-09-03 11:28:47 +02:00 |
|
Max Kellermann
|
bbd7115564
|
input/{mms,despotify}: remove "seek" implementation
Omitting it has the same effect as returning false unconditionally.
|
2013-09-03 10:54:29 +02:00 |
|
Max Kellermann
|
8d36367fe2
|
input_stream.h: rename to InputLegacy.hxx
|
2013-09-03 09:18:30 +02:00 |
|
Max Kellermann
|
3deca8fccd
|
db_error: convert to C++
|
2013-08-10 19:43:27 +02:00 |
|
Max Kellermann
|
7af24c4d3a
|
playlist_error: convert to C++
|
2013-08-10 19:40:45 +02:00 |
|
Max Kellermann
|
7f0ce4e94e
|
ack.h: move to protocol/
|
2013-08-10 19:32:41 +02:00 |
|
Max Kellermann
|
5c48d3fbba
|
alsa/mixer: defer InvalidateSockets() call to I/O thread
|
2013-08-10 14:05:06 +02:00 |
|
Max Kellermann
|
00420ef9ca
|
EventLoop: initialise the thread id explicitly
|
2013-08-10 14:01:55 +02:00 |
|
Max Kellermann
|
b9d30595d6
|
ZeroconfAvahi: disable Avahi with epoll
Temporary hotfix until we have integrated avahi into our new event
loop.
|
2013-08-10 13:59:01 +02:00 |
|
Max Kellermann
|
c1f4f1fdb6
|
EventLoop: new implementation using epoll
Implement an event loop without GLib.
|
2013-08-10 13:54:23 +02:00 |
|
Max Kellermann
|
342333f72a
|
mixer/alsa: invoke InvalidateSockets() in constructor
|
2013-08-10 13:54:23 +02:00 |
|
Max Kellermann
|
94cdc47786
|
event/Call: signal the calling thread
Fixes regression from commit 018f4155 .
|
2013-08-10 12:40:44 +02:00 |
|
Max Kellermann
|
cc511e7b60
|
event/IdleMonitor: new monitor class
|
2013-08-10 11:52:31 +02:00 |
|
Max Kellermann
|
bb2af791e9
|
event/MultiSocketMonitor: add struct SingleFD
Prepare for migrating away from GLib.
|
2013-08-10 11:52:31 +02:00 |
|
Max Kellermann
|
f3f4b332ae
|
event/MultiSocketMonitor: use uint64_t instead of gint64
Unsigned and portable.
|
2013-08-10 11:52:31 +02:00 |
|
Max Kellermann
|
84ac79bb08
|
event/MultiSocketMonitor: eliminate virtual method CheckSockets()
Handle timeout internally.
|
2013-08-10 11:52:31 +02:00 |
|
Max Kellermann
|
be0c8495cd
|
event/MultiSocketMonitor: PrepareSockets() returns timeout
Simplify the API, don't use GLib specific integer type.
|
2013-08-10 11:52:31 +02:00 |
|
Max Kellermann
|
cbd0709d1c
|
glib_compat.h: use monotonic_clock_us() in g_source_get_time()
|
2013-08-10 11:52:31 +02:00 |
|
Max Kellermann
|
371d635da8
|
glib_compat.h: remove unused wrapper g_file_test()
|
2013-08-10 11:52:31 +02:00 |
|
Max Kellermann
|
85216966fa
|
decoder/wildmidi: use class Path for the "timidity.cfg" location
|
2013-08-10 11:52:31 +02:00 |
|
Max Kellermann
|
1c823e9d1f
|
ConfigData: overload GetBlockPath() with default value
|
2013-08-10 11:52:31 +02:00 |
|
Max Kellermann
|
25e338a098
|
ConfigData: use FatalError() instead of MPD_ERROR()
|
2013-08-10 11:52:31 +02:00 |
|
Max Kellermann
|
81175b0717
|
system/EPollFD: fix typo in Add()
|
2013-08-10 11:52:31 +02:00 |
|
Max Kellermann
|
d23c907a94
|
thread/Id: new class replacing GThread pointers
Remove a GLib dependencies from class EventLoop and DatabaseLock.
|
2013-08-10 09:00:04 +02:00 |
|
Max Kellermann
|
018f4155eb
|
event: add function BlockingCall()
Replaces io_thread_call(). This approach is more generic and easier
to use due to std::function.
|
2013-08-08 23:04:07 +02:00 |
|
Max Kellermann
|
9ab0a1f5f1
|
EventLoop: add methodd IsInside()
Track which thread runs the EventLoop and provide a check whether
we're currently inside.
|
2013-08-08 23:04:01 +02:00 |
|
Max Kellermann
|
c043b337b1
|
EventLoop: un-inline Run() and others
Prepare for adding more code.
|
2013-08-08 23:03:49 +02:00 |
|
Max Kellermann
|
090bc6fa79
|
event/*Monitor: add method GetEventLoop()
|
2013-08-08 23:03:38 +02:00 |
|
Max Kellermann
|
b63db1c1aa
|
event/SocketMonitor: un-inline Schedule()
Merge with CommitEventFlags().
|
2013-08-08 00:18:59 +02:00 |
|
Max Kellermann
|
0287ac794e
|
event/SocketMonitor: add assertions
|
2013-08-08 00:18:59 +02:00 |
|
Max Kellermann
|
0005221533
|
output/httpd: use "unsigned" instead of "guint"
|
2013-08-08 00:18:59 +02:00 |
|
Max Kellermann
|
23d2c0f1c6
|
Client{Event,Write}: add missing include
|
2013-08-08 00:14:19 +02:00 |
|
Max Kellermann
|
377b6f05ea
|
event/BufferedSocket: add missing include
|
2013-08-08 00:11:40 +02:00 |
|