aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ArchiveLookup: declare local variables laterMax Kellermann2013-10-171-5/+4
|
* ArchiveLookup: don't reset out argumentsMax Kellermann2013-10-171-4/+0
| | | | If we return false, their values are undefined.
* ArchiveLookup: move code to FindSlash()Max Kellermann2013-10-171-7/+18
|
* ArchiveLookup: move code to FindSuffix()Max Kellermann2013-10-171-8/+13
|
* ArchiveLookup: return const stringsMax Kellermann2013-10-174-8/+12
|
* ArchiveLookup: move API documentation to headerMax Kellermann2013-10-172-22/+15
|
* test/test_archive: unit test for archive_lookup()Max Kellermann2013-10-172-0/+90
|
* configure.ac: add function MPD_AUTO_LIB and use itMax Kellermann2013-10-172-61/+33
|
* configure.ac: define HAVE_MPCDECMax Kellermann2013-10-171-0/+4
| | | | | Restore the "mpcdec" decoder plugin that was accidently broken since commit 8ead8f7e.
* decoder/wildmidi: remove suport for libwildmidi 0.2.2 or olderMax Kellermann2013-10-163-9/+1
|
* configure.ac: don't leak -lsidutils -lmp3lame intoMax Kellermann2013-10-161-2/+2
| | | | | Make the third argument to AC_CHECK_LIB() non-empty to disable its default handler.
* test: use the CPPUNIT framework for unit testsMax Kellermann2013-10-1613-255/+326
|
* Makefile.am: distribute util/Domain.hxx and system/ByteOrder.hxxMax Kellermann2013-10-161-0/+2
|
* system/ByteOrder: new library for byte ordering / endianessMax Kellermann2013-10-1616-109/+289
| | | | Replacing GLib macros.
* util/ByteReverse: use C99 "restrict"Max Kellermann2013-10-161-7/+13
| | | | Micro-optimization.
* util/byte_reverse: convert to C++Max Kellermann2013-10-166-27/+21
|
* pcm_pack: convert to C++Max Kellermann2013-10-167-14/+8
|
* encoder/wave: use delete to dispose the WaveEncoder objectMax Kellermann2013-10-161-1/+1
|
* Archive*: move archive_domain to ArchiveDomain.cxxMax Kellermann2013-10-155-6/+51
| | | | Merge duplicate symbol.
* ConfigData: remove unused method DupBlockString()Max Kellermann2013-10-152-12/+0
|
* playlist/soundcloud: use std::stringMax Kellermann2013-10-151-14/+14
|
* output/roar: use const_cast instead of g_strdup()Max Kellermann2013-10-151-9/+3
|
* output/roar: use std::stringMax Kellermann2013-10-151-12/+10
|
* output/roar: move code into the RoarOutput classMax Kellermann2013-10-152-96/+137
|
* output/pipe: use std::stringMax Kellermann2013-10-151-8/+6
|
* Client, ...: remove unnecessary glib.h includeMax Kellermann2013-10-1519-35/+1
|
* ApeTag: use std::string for temporary allocationMax Kellermann2013-10-151-4/+3
|
* PlaylistRegistry: use std::string for temporary allocationMax Kellermann2013-10-151-4/+2
|
* input/*: don't allocate attribute "mime"Max Kellermann2013-10-154-6/+6
| | | | | This was a memory leak, because "mime" was a std::string which created another copy and discarded the allocated buffer.
* UpdateArchive: use std::string for temporary stringMax Kellermann2013-10-151-4/+3
|
* ConfigData: use std::string for config_param::valueMax Kellermann2013-10-1510-33/+44
|
* Permission: use std::string for temporary password allocationMax Kellermann2013-10-151-4/+2
| | | | As a side effect, this fixes a memory leak.
* Mapper: remove obsolete variable music_dir_fs_lengthMax Kellermann2013-10-151-2/+0
|
* event/BufferedSocket: pass writable pointer to OnSocketInput()Max Kellermann2013-10-155-20/+23
| | | | | Remove the const_cast from HttpdClient.cxx, and avoid one allocation in ClientRead.cxx.
* Util/Macros: replacement for GLib's G_N_ELEMENTS()Max Kellermann2013-10-1519-58/+100
|
* output/winmm: use delete instead of g_free()Max Kellermann2013-10-151-2/+2
|
* util/FifoBuffer: C++ version of the fifo_buffer libraryMax Kellermann2013-10-1510-121/+294
|
* system/clock: convert to C++Max Kellermann2013-10-155-24/+16
|
* require GLib 2.28Max Kellermann2013-10-155-49/+3
| | | | The header glib_compat.h is now obsolete and can be removed.
* gcc.h: rename to Compiler.hMax Kellermann2013-10-1594-95/+95
|
* gcc.h: major updateMax Kellermann2013-10-156-101/+163
| | | | | Copy the according file from another project (i.e. XCSoar). This will allow copying more code more easily.
* *: use WIN32 instead of G_OS_WIN32Max Kellermann2013-10-157-16/+16
|
* fs/Path: add method IsAbsolute()Max Kellermann2013-10-1412-12/+47
|
* fs/Path: add separator constants/functionsMax Kellermann2013-10-144-21/+54
|
* PlaylistFile: always check for absolute paths within music_directoryMax Kellermann2013-10-141-9/+11
| | | | | Try map_fs_to_utf8() first, and fall back to Path::ToUTF8() for absolute paths.
* fs/Path: add method RelativeFS()Max Kellermann2013-10-143-11/+36
| | | | Move code from map_fs_to_utf8().
* Mapper, ...: use memcmp() instead of strncmp() where appropriateMax Kellermann2013-10-147-11/+11
| | | | Micro-optimization.
* fs/Path: add method data()Max Kellermann2013-10-141-0/+9
|
* PlaylistFile: fix memory leakMax Kellermann2013-10-141-12/+10
| | | | Consistently use std::string in LoadPlaylistFile().
* Mapper: map_fs_to_utf8() returns std::stringMax Kellermann2013-10-143-14/+11
| | | | Avoid the conversion to an allocated char*, let the caller decide.