Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | fs/Path: add method data() | Max Kellermann | 2013-10-14 | 1 | -0/+9 |
| | |||||
* | PlaylistFile: fix memory leak | Max Kellermann | 2013-10-14 | 1 | -12/+10 |
| | | | | Consistently use std::string in LoadPlaylistFile(). | ||||
* | Mapper: map_fs_to_utf8() returns std::string | Max Kellermann | 2013-10-14 | 3 | -14/+11 |
| | | | | Avoid the conversion to an allocated char*, let the caller decide. | ||||
* | Merge tag 'release-0.17.6' | Max Kellermann | 2013-10-14 | 3 | -4/+30 |
|\ | |||||
| * | release 0.17.6 | Max Kellermann | 2013-10-14 | 1 | -1/+1 |
| | | |||||
| * | decoder/modplug: fix include directory | Florian Schlichting | 2013-10-14 | 2 | -1/+3 |
| | | |||||
| * | stored_playlist: use fs_charset_to_utf8() for URLs | Max Kellermann | 2013-10-14 | 2 | -2/+6 |
| | | |||||
| * | load_file | Max Kellermann | 2013-10-14 | 2 | -0/+13 |
| | | |||||
| * | stored_playlist: add "file://" prefix to absolute paths | Max Kellermann | 2013-10-14 | 1 | -1/+8 |
| | | | | | | | | Prepare to fix loading arbitrary song files from stored playlists. | ||||
* | | replay_gain_*.h: rename to *.hxx | Max Kellermann | 2013-10-02 | 21 | -63/+29 |
| | | |||||
* | | output/httpd: don't include glib.h in header | Max Kellermann | 2013-10-02 | 3 | -4/+6 |
| | | |||||
* | | Stats: don't include glib.h in header | Max Kellermann | 2013-10-02 | 3 | -2/+5 |
| | | | | | | | | Use forward declaration instead. | ||||
* | | Stats: rename stats.h to Stats.hxx | Max Kellermann | 2013-10-02 | 7 | -29/+10 |
| | | |||||
* | | Log: new logging library API | Max Kellermann | 2013-10-02 | 162 | -1252/+1964 |
| | | | | | | | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | ||||
* | | TextFile: don't include glib.h in header | Max Kellermann | 2013-10-02 | 2 | -12/+22 |
| | | | | | | | | Un-inline the methods that use GLib. | ||||
* | | filesystem/Path: use std::string | Max Kellermann | 2013-10-02 | 4 | -81/+45 |
| | | |||||
* | | PlaylistMapper: convert playlist name to filesystem charset | Max Kellermann | 2013-10-02 | 1 | -5/+6 |
| | | |||||
* | | Playlist*: use nullptr instead of NULL | Max Kellermann | 2013-10-02 | 17 | -128/+127 |
| | | |||||
* | | Listen, ...: add missing includes | Max Kellermann | 2013-10-02 | 8 | -2/+15 |
| | | |||||
* | | ConfigData: handle default_value==nullptr | Max Kellermann | 2013-10-02 | 1 | -1/+5 |
| | | | | | | | | Return Path::Null() instead of dying from assertion failure. | ||||
* | | Daemon, Mapper: move-assign the Path objects | Max Kellermann | 2013-10-01 | 2 | -3/+3 |
| | | |||||
* | | Merge branch 'v0.17.x' | Max Kellermann | 2013-10-01 | 2 | -2/+23 |
|\| | |||||
| * | mixer/alsa: handle ENODEV | Max Kellermann | 2013-10-01 | 2 | -0/+7 |
| | | | | | | | | | | Fixes busy loop when USB sound device gets unplugged (Mantis bug #3824). | ||||
| * | mixer/alsa: log snd_mixer_handle_events() errors | Max Kellermann | 2013-10-01 | 1 | -1/+6 |
| | | |||||
| * | prepare 0.17.6 | Max Kellermann | 2013-10-01 | 2 | -1/+3 |
| | | |||||
* | | DecoderControl: lock the mutex in Seek() | Max Kellermann | 2013-09-30 | 1 | -1/+1 |
| | | | | | | | | | | | | Use LockSynchronousCommand() instead of SynchronousCommandLocked(). Fixes regression from commit ef663810 (dead lock due to cond_wait with unlocked mutex). | ||||
* | | tag/{riff,aiff}: convert to C++ | Max Kellermann | 2013-09-28 | 6 | -45/+28 |
| | | |||||
* | | playlist/lastfm: remove defunct Last.fm support | Max Kellermann | 2013-09-28 | 7 | -373/+4 |
| | | | | | | | | | | | | This plugin has been defunct ever since Last.fm changed their protocol. Since there is no volunteer willing to fix the plugin, I'm removing it now. | ||||
* | | DecoderControl: use GLib forward declarations | Max Kellermann | 2013-09-27 | 9 | -6/+16 |
| | | |||||
* | | PlayerThread: convert struct player to a class | Max Kellermann | 2013-09-27 | 1 | -14/+17 |
| | |