Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
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 | |
2013-10-17 | UpdateQueue: use std::string and std::queue | Max Kellermann | 3 | -40/+35 | |
2013-10-17 | Mapper: use std::string | Max Kellermann | 1 | -16/+11 | |
2013-10-17 | StickerDatabase: return std::string | Max Kellermann | 5 | -23/+26 | |
2013-10-17 | StickerDatabase: add pure/const attributes | Max Kellermann | 1 | -0/+4 | |
2013-10-17 | PlayerControl: GetError() returns an Error, not a char* | Max Kellermann | 3 | -25/+26 | |
2013-10-17 | Thread/Thread: replacement library for GThread | Max Kellermann | 20 | -98/+301 | |
2013-10-17 | util/Error: add method SetLastError() | Max Kellermann | 2 | -0/+25 | |
2013-10-17 | Main: use ThreadId instead of GThread* | Max Kellermann | 3 | -6/+8 | |
2013-10-17 | InputStream: use int64_t instead of goffset | Max Kellermann | 20 | -64/+78 | |
Decouple some more from GLib. | |||||
2013-10-17 | input_plugin: rename struct to "InputPlugin" | Max Kellermann | 23 | -32/+31 | |
2013-10-17 | thread/{Cond,Mutex}: use "class" instead of "typedef" | Max Kellermann | 14 | -21/+20 | |
Allows forward-declaration. | |||||
2013-10-17 | CueParser: use std::string | Max Kellermann | 2 | -6/+5 | |
2013-10-17 | InotifyUpdate: use class Path | Max Kellermann | 1 | -58/+37 | |
2013-10-17 | PlaylistSave: eliminate the last g_warning() call | Max Kellermann | 1 | -1/+2 | |
2013-10-17 | Song: GetURI() returns std::string | Max Kellermann | 10 | -86/+62 | |
2013-10-17 | ArchiveLookup: in-place editing, avoid string copy | Max Kellermann | 1 | -29/+24 | |
2013-10-17 | ArchiveLookup: declare local variables later | Max Kellermann | 1 | -5/+4 | |
2013-10-17 | ArchiveLookup: don't reset out arguments | Max Kellermann | 1 | -4/+0 | |
If we return false, their values are undefined. | |||||
2013-10-17 | ArchiveLookup: move code to FindSlash() | Max Kellermann | 1 | -7/+18 | |
2013-10-17 | ArchiveLookup: move code to FindSuffix() | Max Kellermann | 1 | -8/+13 | |
2013-10-17 | ArchiveLookup: return const strings | Max Kellermann | 3 | -4/+8 | |
2013-10-17 | ArchiveLookup: move API documentation to header | Max Kellermann | 2 | -22/+15 | |
2013-10-16 | decoder/wildmidi: remove suport for libwildmidi 0.2.2 or older | Max Kellermann | 1 | -4/+0 | |
2013-10-16 | system/ByteOrder: new library for byte ordering / endianess | Max Kellermann | 15 | -107/+286 | |
Replacing GLib macros. | |||||
2013-10-16 | util/ByteReverse: use C99 "restrict" | Max Kellermann | 1 | -7/+13 | |
Micro-optimization. | |||||
2013-10-16 | util/byte_reverse: convert to C++ | Max Kellermann | 4 | -23/+17 | |
2013-10-16 | pcm_pack: convert to C++ | Max Kellermann | 5 | -9/+6 | |
2013-10-16 | encoder/wave: use delete to dispose the WaveEncoder object | Max Kellermann | 1 | -1/+1 | |
2013-10-15 | Archive*: move archive_domain to ArchiveDomain.cxx | Max Kellermann | 4 | -6/+50 | |
Merge duplicate symbol. | |||||
2013-10-15 | ConfigData: remove unused method DupBlockString() | Max Kellermann | 2 | -12/+0 | |
2013-10-15 | playlist/soundcloud: use std::string | Max Kellermann | 1 | -14/+14 | |
2013-10-15 | output/roar: use const_cast instead of g_strdup() | Max Kellermann | 1 | -9/+3 | |
2013-10-15 | output/roar: use std::string | Max Kellermann | 1 | -12/+10 | |