- 20 Feb, 2019 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 19 Nov, 2018 1 commit
-
-
Max Kellermann authored
Since we switched from autotools to Meson in commit 94592c14, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
-
- 31 Oct, 2018 1 commit
-
-
Max Kellermann authored
-
- 20 Aug, 2018 1 commit
-
-
Max Kellermann authored
-
- 18 Dec, 2017 1 commit
-
-
Max Kellermann authored
-
- 03 Dec, 2017 1 commit
-
-
FlashSystems authored
assignment of `mnt->mounted_database` in `SimpleDatabase::Mount`.
-
- 18 Aug, 2017 1 commit
-
-
Max Kellermann authored
-
- 04 Jun, 2017 1 commit
-
-
Max Kellermann authored
-
- 08 May, 2017 1 commit
-
-
Max Kellermann authored
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
-
- 06 Apr, 2017 1 commit
-
-
Max Kellermann authored
An ino_t is usually a 64 bit integer, and some file systems (such as Linux's kernel NFS client) really uses the upper 32 bit. This can lead to false positives in the directory loop detection in FindAncestorLoop(). Increasing these two attributes (in StorageFileInfo and Directory) to 64 bit adds little overhead, but makes the check a lot safer.
-
- 11 Feb, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 03 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 29 Oct, 2016 1 commit
-
-
Max Kellermann authored
-
- 01 Mar, 2016 1 commit
-
-
Max Kellermann authored
-
- 26 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 19 Oct, 2015 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2015 1 commit
-
-
Max Kellermann authored
-
- 16 Jun, 2014 2 commits
-
-
Max Kellermann authored
Check for 0 in "device" and "inode" instead.
-
Max Kellermann authored
Remove the C list_head library and use type-safe C++ instead.
-
- 27 Feb, 2014 1 commit
-
-
Max Kellermann authored
A SimpleDatabase instance can now "mount" other Database instances at certain locations. This is used to use a new SimpleDatabase instance for each storage mount (issued with the "mount" protocol command). Each such instance has its own database file, stored in the directory that is specified with the "cache_directory" option.
-
- 26 Feb, 2014 4 commits
-
-
Max Kellermann authored
Move to SimpleDatabase::GetSong() to give that method more control.
-
Max Kellermann authored
Code can now be reused in LookupSong().
-
Max Kellermann authored
-
Max Kellermann authored
-
- 23 Feb, 2014 1 commit
-
-
Max Kellermann authored
-
- 21 Feb, 2014 1 commit
-
-
Max Kellermann authored
This is what we get from the storage plugin via FileInfo. Fixes a compiler warning on Mac OS X where dev_t appears to be signed.
-
- 29 Jan, 2014 1 commit
-
-
Max Kellermann authored
Decouple command/OtherCommands.cxx from the "simple" database plugin.
-
- 24 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 22 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 13 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 09 Jan, 2014 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Using a variable-size struct with embedded string is not worth the trouble here. There are not so many Directory objects.
-
Max Kellermann authored
From now on, struct Song will be used by the database only, and DetachedSong will be used by everybody else. DetachedSong is easier to use, but Song has lower overhead.
-
- 07 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 19 Oct, 2013 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 15 Oct, 2013 1 commit
-
-
Max Kellermann authored
-
- 04 Sep, 2013 1 commit
-
-
Max Kellermann authored
Replaces GLib's GError.
-