Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ClientInternal: move class Client to Client.hxx | Max Kellermann | 2013-10-19 | 9 | -98/+96 |
| | | | | | Publish the Client API, preparing to move more code into the Client class. | ||||
* | *: use references instead of pointers | Max Kellermann | 2013-10-19 | 122 | -1083/+1077 |
| | |||||
* | *: use nullptr instead of NULL | Max Kellermann | 2013-10-19 | 97 | -834/+812 |
| | |||||
* | input/cdio: use class AllocatedPath | Max Kellermann | 2013-10-19 | 1 | -10/+9 |
| | |||||
* | decoder/mpg123: use const_cast instead of g_strdup() | Max Kellermann | 2013-10-19 | 1 | -4/+2 |
| | |||||
* | event/ServerSocket: pass AllocatedPath to AddPath() | Max Kellermann | 2013-10-19 | 3 | -16/+21 |
| | |||||
* | ConfigPath: use std::string | Max Kellermann | 2013-10-19 | 1 | -6/+5 |
| | |||||
* | decoder/mikmod: use const_cast instead of g_strdup() | Max Kellermann | 2013-10-19 | 1 | -8/+8 |
| | |||||
* | input/curl: use std::string for meta_name | Max Kellermann | 2013-10-19 | 1 | -9/+5 |
| | | | | Automatic memory management. | ||||
* | util/FormatString: new library to replace g_strdup_printf() | Max Kellermann | 2013-10-19 | 8 | -66/+151 |
| | |||||
* | decoder/gme,input/curl,...: use static buffers instead of g_strdup_printf() | Max Kellermann | 2013-10-19 | 5 | -45/+40 |
| | |||||
* | Permission: use std::find instead of g_strsplit() | Max Kellermann | 2013-10-19 | 1 | -11/+16 |
| | |||||
* | Permission: move code to ParsePermission() and a table | Max Kellermann | 2013-10-19 | 1 | -16/+22 |
| | |||||
* | Permission: convert PERMISSION_* from macro to constexpr | Max Kellermann | 2013-10-19 | 1 | -6/+5 |
| | |||||
* | Permission: remove nullptr check | Max Kellermann | 2013-10-19 | 1 | -3/+3 |
| | | | | Both callers pass non-nullptr. | ||||
* | Permission: convert PERMISSION_PASSWORD_CHAR from macro to constexpr | Max Kellermann | 2013-10-19 | 1 | -1/+1 |
| | |||||
* | FilterConfig: use std::find instead of g_strsplit_set() | Max Kellermann | 2013-10-19 | 1 | -14/+14 |
| | |||||
* | FilterConfig: return bool | Max Kellermann | 2013-10-19 | 2 | -10/+5 |
| | |||||
* | FilterConfig: move code to filter_chain_append_new() | Max Kellermann | 2013-10-19 | 1 | -16/+23 |
| | |||||
* | FilterConfig: eliminate duplicate API documentation | Max Kellermann | 2013-10-19 | 1 | -9/+0 |
| | |||||
* | ConfigData: use strtoul() in GetUnsignedValue() | Max Kellermann | 2013-10-19 | 1 | -4/+1 |
| | | | | | Lifts the artificial 31 bit limit in i386 where sizeof(long)==sizeof(int). | ||||
* | decoder/modplug: Add "loop_count" parameter | Sebastian Thorarensen | 2013-10-19 | 3 | -1/+48 |
| | | | | | | | The "loop_count" configuration parameter allows the user to set how many times a module with backward loops shall loop. "0" (the default) means a module is not allowed to use backward loops at all. "-1" enables inifinite looping. | ||||
* | ConfigData: Add support for signed integers | Sebastian Thorarensen | 2013-10-19 | 2 | -0/+27 |
| | | | | | Now config_param::GetBlockValue() can be used to get signed integers from the configuration. | ||||
* | PlayerThread: Only drop 0 length packets without tags | Ben Boeckel | 2013-10-19 | 1 | -1/+1 |
| | | | | | | | | | | Fixes a regression from 752dfb3d95482c562e5d24c6ea839c4815de9a6d which caused the current chunk to be flushed as soon as new replaygain information was found. If this occurs on a tag chunk, it has no data (length 0) and is then skipped before pushing it to all of the outputs. This change allows 0-length chunks through if they contain a tag and they are now appearing in mplayer and mpv properly. | ||||
* | Util/CharUtil: new library replacing g_ascii_isX() | Max Kellermann | 2013-10-19 | 8 | -17/+134 |
| | |||||
* | playlist/(Ext)M3u: use strchug_fast() | Max Kellermann | 2013-10-19 | 2 | -7/+3 |
| | |||||
* | test/test_pcm: use C++11 random instead of GLib | Max Kellermann | 2013-10-19 | 5 | -20/+28 |
| | |||||
* | encoder/{opus,vorbis}: new serial generator replacing g_random_int() | Max Kellermann | 2013-10-19 | 6 | -3/+84 |
| | |||||
* | encoder/wave: include cleanup | Max Kellermann | 2013-10-19 | 1 | -2/+0 |
| | |||||
* | decoder/mikmod: Add loop configuration parameter | Sebastian Thorarensen | 2013-10-18 | 3 | -2/+14 |
| | | | | | | | This patch allows the user to configure the mikmod decoder plugin to loop modules. It adds a configuration parameter to the mikmod decoder called "loop" which can be "no" (the old behaviour, default) or "yes" to allow modules to use backward loops. | ||||
* | filter/route: merge the two loops, one-pass parsing | Max Kellermann | 2013-10-18 | 1 | -61/+42 |
| | |||||
* | filter/route: allocate "sources" statically | Max Kellermann | 2013-10-18 | 1 | -14/+6 |
| | | | | Worst-case allocation using MAX_CHANNELS. | ||||
* | filter/route: use int8_t instead of signed char | Max Kellermann | 2013-10-18 | 1 | -13/+11 |
| | |||||
* | util/StringUtil: rename strchug_fast_c() to strchug_fast() | Max Kellermann | 2013-10-18 | 5 | -9/+6 |
| | | | | Overload the name. | ||||
* | ZeroconfAvahi: convert avahiRunning to a "bool" | Max Kellermann | 2013-10-18 | 1 | -6/+6 |
| | |||||
* | ZeroconfAvahi: integrate into the EventLoop | Max Kellermann | 2013-10-18 | 5 | -29/+209 |
| | | | | Finally fixes the regression by commit c1f4f1fd. | ||||
* | test/run_avahi: new debug program | Max Kellermann | 2013-10-18 | 2 | -0/+58 |
| | |||||
* | test/run_inotify: use SignalMonitor | Max Kellermann | 2013-10-18 | 4 | -20/+90 |
| | |||||
* | SignalMonitor: add SignalMonitorGetEventLoop() | Max Kellermann | 2013-10-18 | 3 | -6/+16 |
| | | | | Eliminate the global variable "shutdown_loop". | ||||
* | input/curl: use MultiSocketMonitor constants instead of GLib | Max Kellermann | 2013-10-18 | 1 | -3/+6 |
| | |||||
* | valgrind.suppressions: add g_get_home_dir suppression | Max Kellermann | 2013-10-18 | 1 | -0/+8 |
| | |||||
* | PlaylistEdit, QueueSave: free the Song object after Append() | Max Kellermann | 2013-10-18 | 2 | -1/+7 |
| | | | | Fix for a major memory leak. | ||||
* | valgrind.suppressions: add libGnuTLS suppression | Max Kellermann | 2013-10-18 | 1 | -0/+8 |
| | |||||
* | fs/Path: rename to AllocatedPath | Max Kellermann | 2013-10-17 | 51 | -394/+621 |
| | | | | | | | The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object. | ||||
* | fs/Path: move definitions to struct PathTraits | Max Kellermann | 2013-10-17 | 18 | -111/+160 |
| | |||||
* | fs/Path: include clenaup | Max Kellermann | 2013-10-17 | 1 | -1/+1 |
| | |||||
* | fs/Charset: GetFSCharset() returns "utf-8" by default | Max Kellermann | 2013-10-17 | 3 | -9/+8 |
| | | | | | | If fs_charset is empty, i.e. we're using the default "utf-8", GetFSCharset() should return exactly that instead of an empty std::string. | ||||
* | fs/Charset: default filesystem charset is UTF-8 | Max Kellermann | 2013-10-17 | 3 | -6/+8 |
| | | | | | Implement a fast path for UTF-8 which leaves fs_charset empty, and don't assign a value to fs_charset if there's no configuration. | ||||
* | fs/Charset: don't allow nullptr arguments | Max Kellermann | 2013-10-17 | 3 | -7/+8 |
| | |||||
* | fs/Path: move configuration code to Config.cxx | Max Kellermann | 2013-10-17 | 11 | -140/+284 |
| |