Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PlaylistSave: eliminate the last g_warning() call | Max Kellermann | 2013-10-17 | 1 | -1/+2 |
| | |||||
* | Song: GetURI() returns std::string | Max Kellermann | 2013-10-17 | 10 | -86/+62 |
| | |||||
* | ArchiveLookup: in-place editing, avoid string copy | Max Kellermann | 2013-10-17 | 1 | -29/+24 |
| | |||||
* | ArchiveLookup: declare local variables later | Max Kellermann | 2013-10-17 | 1 | -5/+4 |
| | |||||
* | ArchiveLookup: don't reset out arguments | Max Kellermann | 2013-10-17 | 1 | -4/+0 |
| | | | | If we return false, their values are undefined. | ||||
* | ArchiveLookup: move code to FindSlash() | Max Kellermann | 2013-10-17 | 1 | -7/+18 |
| | |||||
* | ArchiveLookup: move code to FindSuffix() | Max Kellermann | 2013-10-17 | 1 | -8/+13 |
| | |||||
* | ArchiveLookup: return const strings | Max Kellermann | 2013-10-17 | 4 | -8/+12 |
| | |||||
* | ArchiveLookup: move API documentation to header | Max Kellermann | 2013-10-17 | 2 | -22/+15 |
| | |||||
* | test/test_archive: unit test for archive_lookup() | Max Kellermann | 2013-10-17 | 2 | -0/+90 |
| | |||||
* | configure.ac: add function MPD_AUTO_LIB and use it | Max Kellermann | 2013-10-17 | 2 | -61/+33 |
| | |||||
* | configure.ac: define HAVE_MPCDEC | Max Kellermann | 2013-10-17 | 1 | -0/+4 |
| | | | | | Restore the "mpcdec" decoder plugin that was accidently broken since commit 8ead8f7e. | ||||
* | decoder/wildmidi: remove suport for libwildmidi 0.2.2 or older | Max Kellermann | 2013-10-16 | 3 | -9/+1 |
| | |||||
* | configure.ac: don't leak -lsidutils -lmp3lame into | Max Kellermann | 2013-10-16 | 1 | -2/+2 |
| | | | | | Make the third argument to AC_CHECK_LIB() non-empty to disable its default handler. | ||||
* | test: use the CPPUNIT framework for unit tests | Max Kellermann | 2013-10-16 | 13 | -255/+326 |
| | |||||
* | Makefile.am: distribute util/Domain.hxx and system/ByteOrder.hxx | Max Kellermann | 2013-10-16 | 1 | -0/+2 |
| | |||||
* | system/ByteOrder: new library for byte ordering / endianess | Max Kellermann | 2013-10-16 | 16 | -109/+289 |
| | | | | Replacing GLib macros. | ||||
* | util/ByteReverse: use C99 "restrict" | Max Kellermann | 2013-10-16 | 1 | -7/+13 |
| | | | | Micro-optimization. | ||||
* | util/byte_reverse: convert to C++ | Max Kellermann | 2013-10-16 | 6 | -27/+21 |
| | |||||
* | pcm_pack: convert to C++ | Max Kellermann | 2013-10-16 | 7 | -14/+8 |
| | |||||
* | encoder/wave: use delete to dispose the WaveEncoder object | Max Kellermann | 2013-10-16 | 1 | -1/+1 |
| | |||||
* | Archive*: move archive_domain to ArchiveDomain.cxx | Max Kellermann | 2013-10-15 | 5 | -6/+51 |
| | | | | Merge duplicate symbol. | ||||
* | ConfigData: remove unused method DupBlockString() | Max Kellermann | 2013-10-15 | 2 | -12/+0 |
| | |||||
* | playlist/soundcloud: use std::string | Max Kellermann | 2013-10-15 | 1 | -14/+14 |
| | |||||
* | output/roar: use const_cast instead of g_strdup() | Max Kellermann | 2013-10-15 | 1 | -9/+3 |
| | |||||
* | output/roar: use std::string | Max Kellermann | 2013-10-15 | 1 | -12/+10 |
| | |||||
* | output/roar: move code into the RoarOutput class | Max Kellermann | 2013-10-15 | 2 | -96/+137 |
| | |||||
* | output/pipe: use std::string | Max Kellermann | 2013-10-15 | 1 | -8/+6 |
| | |||||
* | Client, ...: remove unnecessary glib.h include | Max Kellermann | 2013-10-15 | 19 | -35/+1 |
| | |||||
* | ApeTag: use std::string for temporary allocation | Max Kellermann | 2013-10-15 | 1 | -4/+3 |
| | |||||
* | PlaylistRegistry: use std::string for temporary allocation | Max Kellermann | 2013-10-15 | 1 | -4/+2 |
| | |||||
* | input/*: don't allocate attribute "mime" | Max Kellermann | 2013-10-15 | 4 | -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 string | Max Kellermann | 2013-10-15 | 1 | -4/+3 |
| | |||||
* | ConfigData: use std::string for config_param::value | Max Kellermann | 2013-10-15 | 10 | -33/+44 |
| | |||||
* | Permission: use std::string for temporary password allocation | Max Kellermann | 2013-10-15 | 1 | -4/+2 |
| | | | | As a side effect, this fixes a memory leak. | ||||
* | Mapper: remove obsolete variable music_dir_fs_length | Max Kellermann | 2013-10-15 | 1 | -2/+0 |
| | |||||
* | event/BufferedSocket: pass writable pointer to OnSocketInput() | Max Kellermann | 2013-10-15 | 5 | -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 Kellermann | 2013-10-15 | 19 | -58/+100 |
| | |||||
* | output/winmm: use delete instead of g_free() | Max Kellermann | 2013-10-15 | 1 | -2/+2 |
| | |||||
* | util/FifoBuffer: C++ version of the fifo_buffer library | Max Kellermann | 2013-10-15 | 10 | -121/+294 |
| | |||||
* | system/clock: convert to C++ | Max Kellermann | 2013-10-15 | 5 | -24/+16 |
| | |||||
* | require GLib 2.28 | Max Kellermann | 2013-10-15 | 5 | -49/+3 |
| | | | | The header glib_compat.h is now obsolete and can be removed. | ||||
* | gcc.h: rename to Compiler.h | Max Kellermann | 2013-10-15 | 94 | -95/+95 |
| | |||||
* | gcc.h: major update | Max Kellermann | 2013-10-15 | 6 | -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_WIN32 | Max Kellermann | 2013-10-15 | 7 | -16/+16 |
| | |||||
* | fs/Path: add method IsAbsolute() | Max Kellermann | 2013-10-14 | 12 | -12/+47 |
| | |||||
* | fs/Path: add separator constants/functions | Max Kellermann | 2013-10-14 | 4 | -21/+54 |
| | |||||
* | PlaylistFile: always check for absolute paths within music_directory | Max Kellermann | 2013-10-14 | 1 | -9/+11 |
| | | | | | Try map_fs_to_utf8() first, and fall back to Path::ToUTF8() for absolute paths. | ||||
* | fs/Path: add method RelativeFS() | Max Kellermann | 2013-10-14 | 3 | -11/+36 |
| | | | | Move code from map_fs_to_utf8(). | ||||
* | Mapper, ...: use memcmp() instead of strncmp() where appropriate | Max Kellermann | 2013-10-14 | 7 | -11/+11 |
| | | | | Micro-optimization. |