Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ConfigData: use std::string for config_param::value | Max Kellermann | 2013-10-15 | 9 | -32/+43 |
| | |||||
* | 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 | 16 | -47/+86 |
| | |||||
* | 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 | 8 | -105/+275 |
| | |||||
* | system/clock: convert to C++ | Max Kellermann | 2013-10-15 | 4 | -23/+15 |
| | |||||
* | require GLib 2.28 | Max Kellermann | 2013-10-15 | 2 | -45/+0 |
| | | | | The header glib_compat.h is now obsolete and can be removed. | ||||
* | gcc.h: rename to Compiler.h | Max Kellermann | 2013-10-15 | 92 | -93/+93 |
| | |||||
* | 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 | 2 | -3/+24 |
|\ | |||||
| * | decoder/modplug: fix include directory | Florian Schlichting | 2013-10-14 | 1 | -1/+1 |
| | | |||||
| * | stored_playlist: use fs_charset_to_utf8() for URLs | Max Kellermann | 2013-10-14 | 1 | -2/+5 |
| | | |||||
| * | load_file | Max Kellermann | 2013-10-14 | 1 | -0/+11 |
| | | |||||
| * | 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 | 18 | -57/+25 |
| | | |||||
* | | 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 | 6 | -27/+9 |
| | | |||||
* | | Log: new logging library API | Max Kellermann | 2013-10-02 | 153 | -1229/+1907 |
| | | | | | | | | | | 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 | 7 | -2/+13 |
| | | |||||
* | | 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 | 1 | -2/+19 |
|\| | |||||
| * | mixer/alsa: handle ENODEV | Max Kellermann | 2013-10-01 | 1 | -0/+5 |
| | | | | | | | | | | 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 |
| | | |||||
* | | 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 | 5 | -43/+26 |
| | | |||||
* | | playlist/lastfm: remove defunct Last.fm support | Max Kellermann | 2013-09-28 | 3 | -310/+0 |
| | | | | | | | | | | | | 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 |
| | | |||||
* | | PlayerThread: use strictly typed enum | Max Kellermann | 2013-09-27 | 1 | -14/+14 |
| | | |||||
* | | PlayerControl: use strictly typed enums | Max Kellermann | 2013-09-27 | 8 | -128/+129 |
| | | |||||
* | | DecoderControl: convert "enum decoder_state" to strictly-typed enum | Max Kellermann | 2013-09-27 | 4 | -47/+53 |
| | | |||||
* | | DecoderCommand: convert to strictly-typed enum | Max Kellermann | 2013-09-27 | 30 | -205/+201 |
| | | |||||
* | | OutputAll: add pure/const attributes | Max Kellermann | 2013-09-27 | 2 | -0/+6 |
| | |