Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-10-19 | decoder/mpg123: use const_cast instead of g_strdup() | Max Kellermann | 1 | -4/+2 | |
2013-10-19 | event/ServerSocket: pass AllocatedPath to AddPath() | Max Kellermann | 3 | -16/+21 | |
2013-10-19 | ConfigPath: use std::string | Max Kellermann | 1 | -6/+5 | |
2013-10-19 | decoder/mikmod: use const_cast instead of g_strdup() | Max Kellermann | 1 | -8/+8 | |
2013-10-19 | input/curl: use std::string for meta_name | Max Kellermann | 1 | -9/+5 | |
Automatic memory management. | |||||
2013-10-19 | util/FormatString: new library to replace g_strdup_printf() | Max Kellermann | 7 | -66/+150 | |
2013-10-19 | decoder/gme,input/curl,...: use static buffers instead of g_strdup_printf() | Max Kellermann | 5 | -45/+40 | |
2013-10-19 | Permission: use std::find instead of g_strsplit() | Max Kellermann | 1 | -11/+16 | |
2013-10-19 | Permission: move code to ParsePermission() and a table | Max Kellermann | 1 | -16/+22 | |
2013-10-19 | Permission: convert PERMISSION_* from macro to constexpr | Max Kellermann | 1 | -6/+5 | |
2013-10-19 | Permission: remove nullptr check | Max Kellermann | 1 | -3/+3 | |
Both callers pass non-nullptr. | |||||
2013-10-19 | Permission: convert PERMISSION_PASSWORD_CHAR from macro to constexpr | Max Kellermann | 1 | -1/+1 | |
2013-10-19 | FilterConfig: use std::find instead of g_strsplit_set() | Max Kellermann | 1 | -14/+14 | |
2013-10-19 | FilterConfig: return bool | Max Kellermann | 2 | -10/+5 | |
2013-10-19 | FilterConfig: move code to filter_chain_append_new() | Max Kellermann | 1 | -16/+23 | |
2013-10-19 | FilterConfig: eliminate duplicate API documentation | Max Kellermann | 1 | -9/+0 | |
2013-10-19 | ConfigData: use strtoul() in GetUnsignedValue() | Max Kellermann | 1 | -4/+1 | |
Lifts the artificial 31 bit limit in i386 where sizeof(long)==sizeof(int). | |||||
2013-10-19 | decoder/modplug: Add "loop_count" parameter | Sebastian Thorarensen | 1 | -1/+16 | |
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. | |||||
2013-10-19 | ConfigData: Add support for signed integers | Sebastian Thorarensen | 2 | -0/+27 | |
Now config_param::GetBlockValue() can be used to get signed integers from the configuration. | |||||
2013-10-19 | PlayerThread: Only drop 0 length packets without tags | Ben Boeckel | 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. | |||||
2013-10-19 | Util/CharUtil: new library replacing g_ascii_isX() | Max Kellermann | 8 | -17/+134 | |
2013-10-19 | playlist/(Ext)M3u: use strchug_fast() | Max Kellermann | 2 | -7/+3 | |
2013-10-19 | encoder/{opus,vorbis}: new serial generator replacing g_random_int() | Max Kellermann | 4 | -3/+77 | |
2013-10-19 | encoder/wave: include cleanup | Max Kellermann | 1 | -2/+0 | |
2013-10-18 | decoder/mikmod: Add loop configuration parameter | Sebastian Thorarensen | 1 | -2/+3 | |
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. | |||||
2013-10-18 | filter/route: merge the two loops, one-pass parsing | Max Kellermann | 1 | -61/+42 | |
2013-10-18 | filter/route: allocate "sources" statically | Max Kellermann | 1 | -14/+6 | |
Worst-case allocation using MAX_CHANNELS. | |||||
2013-10-18 | filter/route: use int8_t instead of signed char | Max Kellermann | 1 | -13/+11 | |
2013-10-18 | util/StringUtil: rename strchug_fast_c() to strchug_fast() | Max Kellermann | 5 | -9/+6 | |
Overload the name. | |||||
2013-10-18 | ZeroconfAvahi: convert avahiRunning to a "bool" | Max Kellermann | 1 | -6/+6 | |
2013-10-18 | ZeroconfAvahi: integrate into the EventLoop | Max Kellermann | 3 | -25/+202 | |
Finally fixes the regression by commit c1f4f1fd. | |||||
2013-10-18 | SignalMonitor: add SignalMonitorGetEventLoop() | Max Kellermann | 3 | -6/+16 | |
Eliminate the global variable "shutdown_loop". | |||||
2013-10-18 | input/curl: use MultiSocketMonitor constants instead of GLib | Max Kellermann | 1 | -3/+6 | |
2013-10-18 | PlaylistEdit, QueueSave: free the Song object after Append() | Max Kellermann | 2 | -1/+7 | |
Fix for a major memory leak. | |||||
2013-10-17 | fs/Path: rename to AllocatedPath | Max Kellermann | 50 | -394/+620 | |
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. | |||||
2013-10-17 | fs/Path: move definitions to struct PathTraits | Max Kellermann | 17 | -111/+159 | |
2013-10-17 | fs/Path: include clenaup | Max Kellermann | 1 | -1/+1 | |
2013-10-17 | fs/Charset: GetFSCharset() returns "utf-8" by default | Max Kellermann | 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. | |||||
2013-10-17 | fs/Charset: default filesystem charset is UTF-8 | Max Kellermann | 2 | -6/+7 | |
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. | |||||
2013-10-17 | fs/Charset: don't allow nullptr arguments | Max Kellermann | 3 | -7/+8 | |
2013-10-17 | fs/Path: move configuration code to Config.cxx | Max Kellermann | 10 | -140/+282 | |
2013-10-17 | fs/Path: move path_domain to Domain.hxx | Max Kellermann | 5 | -5/+51 | |
2013-10-17 | fs/Path: make fs_charset static | Max Kellermann | 1 | -1/+1 | |
2013-10-17 | fs/Path: include cleanup | Max Kellermann | 3 | -1/+2 | |
2013-10-17 | fs/Limits: convert macro to "constexpr" | Max Kellermann | 4 | -13/+12 | |
2013-10-17 | fs/Path: move MPD_PATH_MAX to Limits.hxx | Max Kellermann | 7 | -14/+45 | |
2013-10-17 | *: use std::numeric_limits | Max Kellermann | 5 | -23/+22 | |
2013-10-17 | UpdateGlue: handle update id management | Max Kellermann | 3 | -21/+33 | |
Add UpdateQueueItem::id to keep track of the id in every item. Replaces thhe hack in update_queue_push(). | |||||
2013-10-17 | UpdateGlue: pass UpdateQueueItem around | Max Kellermann | 1 | -20/+16 | |
Fixes a few kludges and avoids GLib allocation. | |||||
2013-10-17 | UpdateGlue: never pass null to update_enqueue() | Max Kellermann | 3 | -5/+8 | |