Max Kellermann
|
f883c09b6b
|
fs/FileSystem: add pure attributes
|
2022-08-18 16:53:32 +02:00 |
|
Max Kellermann
|
71acad6c21
|
fs/FileSystem: add noexcept
|
2022-08-18 16:53:31 +02:00 |
|
Max Kellermann
|
c344403bed
|
fs/Path: add operator+
|
2022-07-14 18:42:25 +02:00 |
|
Max Kellermann
|
fe3ab7b937
|
fs/Path: add WithSuffix()
|
2022-07-14 18:23:48 +02:00 |
|
Max Kellermann
|
458084d79b
|
fs/Path: add GetSuffix()
|
2022-07-14 18:20:55 +02:00 |
|
Max Kellermann
|
d3947d0ad5
|
fs/Path: GetExtension() skips all leading dots
Don't return an empty string for "..", because this path doesn't have
an extension.
|
2022-07-14 18:20:45 +02:00 |
|
Max Kellermann
|
849ed122c7
|
fs/Path: document GetExtension()
|
2022-07-14 18:12:00 +02:00 |
|
Max Kellermann
|
254ee00c37
|
fs/Path: rename GetSuffix() to GetExtension()
The "extension" is the name after the dot, but the "suffix" is the
string including the dot.
|
2022-07-14 18:12:00 +02:00 |
|
Max Kellermann
|
594b97feb1
|
fs/Path: change cast syntax
|
2022-07-14 18:12:00 +02:00 |
|
Max Kellermann
|
cc0def15c4
|
Copyright year 2022
|
2022-07-14 17:59:35 +02:00 |
|
Max Kellermann
|
4964eda167
|
fs/StandardDirectory: use std::string_view instead of StringView
|
2022-07-04 15:04:31 +02:00 |
|
Max Kellermann
|
d256d3dabe
|
util/StringCompare: use std::string_view instead of StringView
|
2022-05-31 13:24:45 +02:00 |
|
Max Kellermann
|
a5fa43b526
|
fs/io: move to io/
|
2021-12-03 14:35:41 +01:00 |
|
Max Kellermann
|
f9c4d88b12
|
fs/io/TextFile: add interface LineReader
|
2021-12-03 14:20:29 +01:00 |
|
Rosen Penev
|
29ae84e199
|
manual braced init
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2021-11-22 23:30:04 -08:00 |
|
Rosen Penev
|
250011f016
|
return by braced init list
shorter
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2021-11-22 23:28:08 -08:00 |
|
Max Kellermann
|
c5bf7948ff
|
fs/StandardDirectory: use the RUNTIME_DIRECTORY environment variable
|
2021-10-26 09:30:16 +02:00 |
|
Max Kellermann
|
b9f7127691
|
fs/StandardDirectory: add GetAppRuntimeDir()
|
2021-10-26 09:30:16 +02:00 |
|
Max Kellermann
|
1e6f5f012c
|
fs/StandardDirectory: add GetUserRuntimeDir()
|
2021-10-26 09:30:16 +02:00 |
|
Max Kellermann
|
225d85fd9b
|
fs/StandardDirectory: use "if" with initializer
|
2021-10-26 09:29:57 +02:00 |
|
Max Kellermann
|
1bb22f118d
|
fs/StandardDirectory: add more pure/const attributes
|
2021-10-26 09:04:20 +02:00 |
|
Max Kellermann
|
f510564d9d
|
more [[gnu::...]] attributes
|
2021-10-13 12:07:05 +02:00 |
|
Max Kellermann
|
56997290d7
|
io/BufferedOutputStream: add method Discard()
|
2021-08-27 12:06:36 +02:00 |
|
Max Kellermann
|
d2f84f3df8
|
io/BufferedOutputStream: allow specifying the buffer size
|
2021-08-27 12:06:20 +02:00 |
|
Max Kellermann
|
9da28e5c73
|
io/BufferedOutputStream: more API documentation
|
2021-08-27 12:06:02 +02:00 |
|
Max Kellermann
|
d1f9b06f84
|
io/BufferedOutputStream: add WriteT()
|
2021-08-27 12:05:26 +02:00 |
|
Max Kellermann
|
f9f3306db9
|
io/BufferedOutputStream: use std::size_t
|
2021-08-27 12:05:06 +02:00 |
|
Max Kellermann
|
19d19cd737
|
fs/io/BufferedOutputStream: avoid including windows.h
Include the most specific header documented by MSDN instead.
|
2021-08-27 12:04:44 +02:00 |
|
Max Kellermann
|
bd893e6336
|
release v0.22.10
-----BEGIN PGP SIGNATURE-----
iQJEBAABCgAuFiEEA5IzWngIOJSkMBxDI26KWMbbRRIFAmENYHwQHG1heEBtdXNp
Y3BkLm9yZwAKCRAjbopYxttFEpGtD/9ToU27x36NAAFpChicSqbu3h2wtJ29lowT
ivV80XB26pQeGK0DSXADSs38MVXo42i3vqg0zGWV9TRbcDs5VErXANVLN16qsKCu
U0v1BDY11UiYp6ATiUjIahyG1UsmbRVZlfDyVIhYvmFpGLFw6+03HH6w2k/v85ns
FxyXkYDYcUokPJPEQcChE1eIwKsGM6MjbdVIkJAEo3wGhL/Hhy2KUskrFcCo1PDj
7xxGrwauG+8wSjAWMA5vzl3udRaDauuXztm5QbQIDdsbRaCiBAdgkzC0PvIxTOr0
bR4WHVB0KSiM96yIXNtg/WZxO0XrxppmX/E4eZSgz0JGKMrAHcoTJAUCIDu3X719
gJnJLg7r2X5dTchXezv09YoJolKbw1bOooyAuE4FCDWMsOa2GRuBZC+8w7DNTZuo
PTh+Z40fnfpNBofe+e/WZrXr6i2TKk8CqHEidq2GHlOkvTR7g6m8MjOLvZNHotMb
9ECr9MhzXH+nvEX8IaxvjWsfLJiDbUgnVsQ+6akGtkbragaDN/Wgr/XdkELoLlsK
LZFY5ngnZmDXOu4tjBLJtfrTkZB2/Hld4xtF1qlsy9fvZBRKeKlpABTLaa8r/vnR
Ta0rB2O3/dculZbHZRUnZvLS4Xv4g322vW9Wso9IBoWRn9fC8b2zR93k7breAqcn
pKbYGg/j6g==
=/954
-----END PGP SIGNATURE-----
Merge tag 'v0.22.10'
release v0.22.10
|
2021-08-06 18:21:59 +02:00 |
|
Max Kellermann
|
1761fb14af
|
fs/Traits: add PathTraitsUTF8::IsAbsoluteOrHasScheme()
|
2021-08-05 20:09:06 +02:00 |
|
Max Kellermann
|
c97aabe43a
|
Merge branch 'v0.22.x'
|
2021-08-05 15:17:07 +02:00 |
|
Max Kellermann
|
809a18913a
|
fs/Traits: add overload GetParent(string_view)
|
2021-07-16 08:30:34 +02:00 |
|
Max Kellermann
|
6f539cfcd6
|
Partition, ...: use libfmt for logging
|
2021-06-24 21:40:11 +02:00 |
|
Max Kellermann
|
96707c0426
|
release v0.22.7
-----BEGIN PGP SIGNATURE-----
iQJEBAABCgAuFiEEA5IzWngIOJSkMBxDI26KWMbbRRIFAmClOSYQHG1heEBtdXNp
Y3BkLm9yZwAKCRAjbopYxttFEkODD/49e950HLmZE8x3rmyeEEsgdvHkOVpPlKHo
+wsmSsi+N0sQKgEOffSYyL0MRWaQqzRMnl1EcEVErCfQl5f1mOw9+TL4f5ZEjVNw
CQFMy1awHtCfktgF5zq6NzXD3nor9mkjiP733x/kGcsxwfk/Y4radqUBKJ5Y4a2B
YSg35a/YTOfLCmb9WBquwAi22x7AkyBzyrY3ToCzynVuaNcT3gvLsAAMFzRUKpqD
QEoCtUxJ4CQayjWjtG/bBCs2TVSmJvovhM2xB4Jnm+MeZz+bKI0y+ALW2Wk0Agnd
qxDqyCEnvHi5pf8i9usl4/A63VDC7HHj9kDSLtPLGTijv+7Wvvr4kNpwm2DuJ4q1
1pOEgT480ryK1FPyO6XnYCk616NqjgMbplr6SQ1DuVpIddWdiGARoge/WiNvsbT9
pnEp0q9V3cQmuJ30LlskMJHAPyrE3KSrO1s+4P2zUeirwnMnOCPdq+gT+lRw4GNG
OqLFEDHaELgSaZxInCN8RCXdLMrpuvKm+FQQApU1KwbYPXIassR14yt6BPpjxqea
vkvFLtpwFWthNPLkujak5rDqAPvbHzAeOfaOiZelzd21nl/1omiMXSXRcJkEjONi
JC5VWJpi1PHMXocq6AcOQT/9XhIH4uDA+Xghn7CURBTB6WoB954TSmuVIjXTfgAv
XQYqRR+7Yw==
=Gtzo
-----END PGP SIGNATURE-----
Merge tag 'v0.22.7'
release v0.22.7
|
2021-05-19 18:43:19 +02:00 |
|
Max Kellermann
|
bcf0fdd3a8
|
meson.build: define NOUSER on Windows for lighter windows.h
A few exceptions are needed for sources which include COM header
(directly or indirectly).
This fixes lots of shadow warnings, see
https://github.com/MusicPlayerDaemon/MPD/issues/1150
|
2021-05-19 18:02:49 +02:00 |
|
Max Kellermann
|
c64a3b5dbb
|
fs/Glob: un-inline the Windows version to reduce header dependencies
|
2021-05-19 17:41:23 +02:00 |
|
Max Kellermann
|
16c38c438f
|
fs/Glob: use defaulted move constructor
|
2021-05-19 17:40:23 +02:00 |
|
Max Kellermann
|
48cc4a6ced
|
fs/Glob: remove redundant #ifdefs
|
2021-05-19 17:40:03 +02:00 |
|
Max Kellermann
|
a169a05e41
|
win32, ...: avoid including windows.h
Include the most specific header documented by MSDN instead.
|
2021-05-19 17:25:32 +02:00 |
|
Max Kellermann
|
dc9103befe
|
util/AllocatedString: remove Null(), IsNull()
|
2021-03-04 18:05:29 +01:00 |
|
Max Kellermann
|
cfb7f8ab84
|
util/AllocatedString: rename to BasicAllocatedString
To make things simpler, AllocatedString is now a non-template class.
|
2021-03-04 18:03:56 +01:00 |
|
Max Kellermann
|
ddd9f20a0b
|
fs/io/GunzipReader: document that the constructor throws
|
2021-02-04 17:29:00 +01:00 |
|
Max Kellermann
|
065a0c09f8
|
fs/io/StdioOutputStream: include cleanup
|
2021-01-21 21:13:40 +01:00 |
|
Max Kellermann
|
12ff5a547f
|
fs/io/FileOutputStream: add noexcept
|
2021-01-21 21:04:19 +01:00 |
|
Max Kellermann
|
3bc45fbf68
|
util/AllocatedString: remove Null(), IsNull()
|
2021-01-21 20:12:05 +01:00 |
|
Max Kellermann
|
c70b63c183
|
util/AllocatedString: rename to BasicAllocatedString
To make things simpler, AllocatedString is now a non-template class.
|
2021-01-21 18:04:03 +01:00 |
|
Max Kellermann
|
5348f8c9c8
|
copyright year 2021
|
2021-01-01 19:54:28 +01:00 |
|
Max Kellermann
|
bf97d13d0b
|
fs/Traits: add GetPathSuffix()
|
2020-10-28 14:29:46 +01:00 |
|
Max Kellermann
|
6f1a4a73b7
|
fs/Traits: add GetFilenameSuffix()
|
2020-10-27 19:14:31 +01:00 |
|
Rosen Penev
|
e4dad42ca1
|
use std chr functions
The ones in std have overloads for const char/char.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2020-05-30 13:36:53 +02:00 |
|