aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-10-18PlaylistEdit, QueueSave: free the Song object after Append()Max Kellermann2-1/+7
Fix for a major memory leak.
2013-10-17fs/Path: rename to AllocatedPathMax Kellermann50-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-17fs/Path: move definitions to struct PathTraitsMax Kellermann17-111/+159
2013-10-17fs/Path: include clenaupMax Kellermann1-1/+1
2013-10-17fs/Charset: GetFSCharset() returns "utf-8" by defaultMax Kellermann3-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-17fs/Charset: default filesystem charset is UTF-8Max Kellermann2-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-17fs/Charset: don't allow nullptr argumentsMax Kellermann3-7/+8
2013-10-17fs/Path: move configuration code to Config.cxxMax Kellermann10-140/+282
2013-10-17fs/Path: move path_domain to Domain.hxxMax Kellermann5-5/+51
2013-10-17fs/Path: make fs_charset staticMax Kellermann1-1/+1
2013-10-17fs/Path: include cleanupMax Kellermann3-1/+2
2013-10-17fs/Limits: convert macro to "constexpr"Max Kellermann4-13/+12
2013-10-17fs/Path: move MPD_PATH_MAX to Limits.hxxMax Kellermann7-14/+45
2013-10-17*: use std::numeric_limitsMax Kellermann5-23/+22
2013-10-17UpdateGlue: handle update id managementMax Kellermann3-21/+33
Add UpdateQueueItem::id to keep track of the id in every item. Replaces thhe hack in update_queue_push().
2013-10-17UpdateGlue: pass UpdateQueueItem aroundMax Kellermann1-20/+16
Fixes a few kludges and avoids GLib allocation.
2013-10-17UpdateGlue: never pass null to update_enqueue()Max Kellermann3-5/+8
2013-10-17UpdateQueue: use std::string and std::queueMax Kellermann3-40/+35
2013-10-17Mapper: use std::stringMax Kellermann1-16/+11
2013-10-17StickerDatabase: return std::stringMax Kellermann5-23/+26
2013-10-17StickerDatabase: add pure/const attributesMax Kellermann1-0/+4
2013-10-17PlayerControl: GetError() returns an Error, not a char*Max Kellermann3-25/+26
2013-10-17Thread/Thread: replacement library for GThreadMax Kellermann20-98/+301
2013-10-17util/Error: add method SetLastError()Max Kellermann2-0/+25
2013-10-17Main: use ThreadId instead of GThread*Max Kellermann3-6/+8
2013-10-17InputStream: use int64_t instead of goffsetMax Kellermann20-64/+78
Decouple some more from GLib.
2013-10-17input_plugin: rename struct to "InputPlugin"Max Kellermann23-32/+31
2013-10-17thread/{Cond,Mutex}: use "class" instead of "typedef"Max Kellermann14-21/+20
Allows forward-declaration.
2013-10-17CueParser: use std::stringMax Kellermann2-6/+5
2013-10-17InotifyUpdate: use class PathMax Kellermann1-58/+37
2013-10-17PlaylistSave: eliminate the last g_warning() callMax Kellermann1-1/+2
2013-10-17Song: GetURI() returns std::stringMax Kellermann10-86/+62
2013-10-17ArchiveLookup: in-place editing, avoid string copyMax Kellermann1-29/+24
2013-10-17ArchiveLookup: declare local variables laterMax Kellermann1-5/+4
2013-10-17ArchiveLookup: don't reset out argumentsMax Kellermann1-4/+0
If we return false, their values are undefined.
2013-10-17ArchiveLookup: move code to FindSlash()Max Kellermann1-7/+18
2013-10-17ArchiveLookup: move code to FindSuffix()Max Kellermann1-8/+13
2013-10-17ArchiveLookup: return const stringsMax Kellermann3-4/+8
2013-10-17ArchiveLookup: move API documentation to headerMax Kellermann2-22/+15
2013-10-16decoder/wildmidi: remove suport for libwildmidi 0.2.2 or olderMax Kellermann1-4/+0
2013-10-16system/ByteOrder: new library for byte ordering / endianessMax Kellermann15-107/+286
Replacing GLib macros.
2013-10-16util/ByteReverse: use C99 "restrict"Max Kellermann1-7/+13
Micro-optimization.
2013-10-16util/byte_reverse: convert to C++Max Kellermann4-23/+17
2013-10-16pcm_pack: convert to C++Max Kellermann5-9/+6
2013-10-16encoder/wave: use delete to dispose the WaveEncoder objectMax Kellermann1-1/+1
2013-10-15Archive*: move archive_domain to ArchiveDomain.cxxMax Kellermann4-6/+50
Merge duplicate symbol.
2013-10-15ConfigData: remove unused method DupBlockString()Max Kellermann2-12/+0
2013-10-15playlist/soundcloud: use std::stringMax Kellermann1-14/+14
2013-10-15output/roar: use const_cast instead of g_strdup()Max Kellermann1-9/+3
2013-10-15output/roar: use std::stringMax Kellermann1-12/+10