- 21 Aug, 2021 1 commit
-
-
Rosen Penev authored
The latter is easier to read and is the "correct" thing to do. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 05 Aug, 2021 8 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This way, we save the overhead for acquiring the tag_pool_lock.
-
Cebtenzzre authored
Also, use RemoveAll() instead of directly clearing TagBuilder::items in most cases, as its elements represent references that must be released. Closes #1023
-
Cebtenzzre authored
-
Cebtenzzre authored
-
Cebtenzzre authored
-
- 15 Apr, 2021 1 commit
-
-
Max Kellermann authored
This reverts commit 1532983f. This optimization was bad because now all strings match if they are a prefix of another string, and this caused collisions in the tag string pool, corrupting the database.
-
- 10 Mar, 2021 1 commit
-
-
Simon Persson authored
This commit adds some tags that are (mostly) interesting for listeners of classical music. Ensemble -------- This is an ensemble that is playing the music, such as Wiener Philharmoniker. The tag can be used to distinguish the ensemble from the conductor, composer, soloist, and ensemble, that are generally all in the "ARTIST" tag. Movement ------- The movement number and movement (name) of this track, i.e. "II" and "Allegro". ComposerSort ------------ Allows us to look for Beethoven's 9th under B, for Beethoven, not L for Ludwig. Location -------- This is the location of the recording, e.g. "Wiener Musikverein".
-
- 04 Mar, 2021 1 commit
-
-
Rosen Penev authored
Shorter. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 16 Feb, 2021 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 07 Feb, 2021 1 commit
-
-
vkostas authored
Conductor was incorrectly saved to Performer tag in MPD database
-
- 01 Jan, 2021 1 commit
-
-
Max Kellermann authored
-
- 28 Oct, 2020 1 commit
-
-
Rosen Penev authored
Shorter. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 01 Jul, 2020 1 commit
-
-
Max Kellermann authored
-
- 30 May, 2020 1 commit
-
-
Rosen Penev authored
The ones in std have overloads for const char/char. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 27 Apr, 2020 1 commit
-
-
Max Kellermann authored
Fixes breakage of non-ASCII characters, regression from commit cc72ceb3 Fixes https://github.com/MusicPlayerDaemon/MPD/issues/842
-
- 24 Apr, 2020 7 commits
-
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/838
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This reduces resource waste for resizing the std::vector in most cases.
-
Max Kellermann authored
-
Max Kellermann authored
Optimizes a few nanoseconds from the common code path.
-
Max Kellermann authored
-
- 22 Apr, 2020 1 commit
-
-
geneticdrift authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/832
-
- 08 Apr, 2020 2 commits
-
-
Max Kellermann authored
Eliminates lots of overhead.
-
Rosen Penev authored
std::all_of becomes constexpr in C++20. I'm not sure it results in better performance. Found with useStlAlgorithm Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 02 Apr, 2020 1 commit
-
-
Max Kellermann authored
This consumes more memory (plus 48 kB on 32 bit systems), but reduces the number of hash collisions, speeding up MPD startup with large databases.
-
- 19 Mar, 2020 1 commit
-
-
Rosen Penev authored
Found with modernize-use-default-member-init Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 16 Mar, 2020 1 commit
-
-
Rosen Penev authored
[[maybe_unused]] (introduced in C++17) is standard C++. https://clang.llvm.org/docs/AttributeReference.html#maybe-unused-unused says that this is equivalent to the GNU unused attribute. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 13 Mar, 2020 3 commits
-
-
Max Kellermann authored
-
Rosen Penev authored
The former is deprecated by C++14. The standard says they are the same: The header defines all types and macros the same as the C standard library header<stdint.h>. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
The former is deprecated with C++14. The standard says both are the same: The contents and meaning of the header<cstddef>are the same as the C standard library header<stddef.h>,except that it does not declare the type wchar_t, that it also declares the type byte and its associated operations (21.2.5), and as noted in 21.2.3 and 21.2.4. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 12 Mar, 2020 1 commit
-
-
Rosen Penev authored
The former was deprecated with C++14. According to the C++11 and C++17 standards, both files are identical. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 11 Mar, 2020 1 commit
-
-
Max Kellermann authored
Similar to commits e8f2f980 and ff1ff1e5 Closes https://github.com/MusicPlayerDaemon/MPD/issues/783
-