Max Kellermann
|
71f0ed8b74
|
*: add "noexcept" to many, many function prototypes
This eliminates some overhead, because the compiler doesn't need to
consider these functions throwing.
|
2017-05-08 14:44:49 +02:00 |
|
Max Kellermann
|
5900253b85
|
update copyright year
|
2017-01-03 20:48:59 +01:00 |
|
Max Kellermann
|
8c744efd56
|
input/InputStream: migrate from class Error to C++ exceptions
|
2016-09-16 17:43:36 +02:00 |
|
Max Kellermann
|
220d9528a3
|
archive/Plugin: migrate open() from class Error to C++ exceptions
|
2016-09-09 18:36:36 +02:00 |
|
Max Kellermann
|
fc7d3f64c0
|
input/Plugin: migrate open() from class Error to C++ exceptions
|
2016-09-09 18:15:01 +02:00 |
|
Max Kellermann
|
e4c7e343c8
|
util/StringUtil: use CamelCase
|
2016-06-10 22:08:13 +02:00 |
|
Max Kellermann
|
6ff01cc72c
|
Merge branch 'v0.19.x'
|
2016-03-07 14:30:43 +01:00 |
|
Max Kellermann
|
e140a28073
|
archive/iso9660: check path buffer bounds
|
2016-03-07 14:21:01 +01:00 |
|
Max Kellermann
|
de61c3b962
|
archive/iso9660: use a single path buffer for Visit()
Avoid wasting 4 kB stack per directory level.
|
2016-03-07 14:01:52 +01:00 |
|
Max Kellermann
|
c46fc4531b
|
archive/iso9660: move the "." and ".." checks up
|
2016-03-07 14:01:40 +01:00 |
|
Max Kellermann
|
065a9ed10f
|
archive/iso9660: add local variable "filename"
|
2016-03-07 13:57:07 +01:00 |
|
Max Kellermann
|
e44c0254f7
|
archive/iso9660: make variables more local
|
2016-03-07 13:15:07 +01:00 |
|
Max Kellermann
|
1aee89f5ea
|
*: include cleanup (using iwyu)
|
2016-03-01 22:08:13 +01:00 |
|
Max Kellermann
|
1d67aa7bf2
|
update copyright year to 2016
|
2016-02-26 17:54:05 +01:00 |
|
Max Kellermann
|
d67c6c37e3
|
archive/bzip2: remove HAVE_OLDER_BZIP2 check
The check was added in commit 98fd9b7d , but there was never a
definition.
|
2016-02-21 13:19:00 +01:00 |
|
Max Kellermann
|
136725dfb1
|
archive/bzip2: convert struct to class
|
2016-02-21 13:18:25 +01:00 |
|
Max Kellermann
|
438895842c
|
archive/bzip2: move bz2_fillbuffer into struct Bzip2InputStream
|
2016-02-21 13:17:22 +01:00 |
|
Max Kellermann
|
82b8f4f1ce
|
archive/bzip2: use C++11 initializer
|
2016-02-21 13:16:27 +01:00 |
|
Max Kellermann
|
cadc67ea40
|
input: wrap InputStream in std::unique_ptr
|
2016-02-21 08:03:32 +01:00 |
|
Max Kellermann
|
1c90b0c19d
|
*: change C-style prototypes, drop "(void)"
|
2015-03-03 20:05:08 +01:00 |
|
Max Kellermann
|
712ed555e6
|
Copyright year 2015
|
2015-01-01 19:48:13 +01:00 |
|
Max Kellermann
|
8fab855099
|
configure.ac: remove redundant declaration "HAVE_ISO9660"
|
2014-12-22 10:19:13 +01:00 |
|
Max Kellermann
|
0f0245625a
|
configure.ac: add macro MPD_ENABLE_AUTO_LIB
|
2014-12-09 21:19:09 +01:00 |
|
Max Kellermann
|
b227fddec7
|
fs/Path: add methods GetBase() and GetDirectoryName()
|
2014-12-02 06:45:57 +01:00 |
|
Max Kellermann
|
737a56a030
|
Merge tag 'v0.19.5'
|
2014-11-26 20:19:17 +01:00 |
|
Max Kellermann
|
27ce80544f
|
Merge tag 'v0.18.19' into v0.19.x
|
2014-11-26 20:02:57 +01:00 |
|
Max Kellermann
|
a254f5a3a8
|
archive/zzip: fix inverted error handler
Set the Error when zzip_seek()==-1 and not on success. Fixes a crash
after seeking.
|
2014-11-24 22:08:50 +01:00 |
|
Max Kellermann
|
b3f5b4932c
|
configure.ac: add macro MPD_ENABLE_AUTO_PKG
Simplify the definition of many build options.
|
2014-11-21 22:19:57 +01:00 |
|
Max Kellermann
|
8302ed44aa
|
archive/bzip2: use OpenLocalInputStream()
|
2014-10-02 22:00:42 +02:00 |
|
Max Kellermann
|
dfa53cb88e
|
InputPlugin: remove typedef offset_type
Has been moved to class InputStream long ago.
|
2014-08-19 21:22:23 +02:00 |
|
Max Kellermann
|
07b93dcf80
|
InputStream: make Seek() always absolute
Remove the "whence" parameter that is not actually necessary, and only
complicates the InputStream implementations.
|
2014-05-22 13:52:00 +02:00 |
|
Max Kellermann
|
fd1b04932a
|
InputStream: remove attribute "plugin"
|
2014-05-11 18:25:55 +02:00 |
|
Max Kellermann
|
d4b625b48e
|
InputStream: make various methods abstract
Replace InputPlugin attributes.
|
2014-05-11 17:14:49 +02:00 |
|
Max Kellermann
|
82337dec44
|
InputStream: add virtual destructor
Replaces the method Close().
|
2014-05-11 17:12:50 +02:00 |
|
Max Kellermann
|
f1d0700252
|
input/plugins: make InputStream the base class
Prepare for adding virtual methods.
|
2014-05-11 17:12:50 +02:00 |
|
Max Kellermann
|
6773adc771
|
InputStream: convert to class
|
2014-05-11 15:34:48 +02:00 |
|
Max Kellermann
|
fe7c6fee34
|
ArchivePlugin: pass Path to open()
|
2014-02-08 13:25:44 +01:00 |
|
Max Kellermann
|
9906daeca7
|
ArchivePlugin: rename struct archive_plugin to ArchivePlugin
|
2014-02-08 13:22:13 +01:00 |
|
Max Kellermann
|
f8bfea8bae
|
Input*: move to input/
|
2014-01-24 16:33:33 +01:00 |
|
Max Kellermann
|
4aa6d39fd8
|
archive/*: move to archive/plugins/
|
2014-01-24 00:09:37 +01:00 |
|
Max Kellermann
|
4f83c60296
|
copyright year 2014
|
2014-01-13 22:31:55 +01:00 |
|
Max Kellermann
|
aeb2baa495
|
InputStream: add static method OpenReady()
Merge some duplicate code.
|
2013-12-29 18:08:49 +01:00 |
|
Denis Krjuchkov
|
0a6c4c31b2
|
fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8
|
2013-12-05 03:53:43 +06:00 |
|
Max Kellermann
|
f90abe9530
|
include cleanup using iwyu
|
2013-11-28 11:50:54 +01:00 |
|
Max Kellermann
|
394b1e6351
|
archive/iso9660: remove pointless formula
|
2013-11-24 22:49:15 +01:00 |
|
Max Kellermann
|
c95d068ef5
|
archive/iso9660: use reference instead of pointer
|
2013-11-24 22:47:50 +01:00 |
|
Max Kellermann
|
dbda35ffe1
|
archive/iso9660: convert structs to classes
|
2013-11-24 22:41:23 +01:00 |
|
Max Kellermann
|
75e9c798e0
|
archive/iso9660: simplify _read()
|
2013-11-23 18:51:38 +01:00 |
|
Max Kellermann
|
ae88ba986e
|
archive/iso9660: eliminate useless assignments
|
2013-11-23 18:30:12 +01:00 |
|
Max Kellermann
|
93deb84499
|
input_stream: rename struct to InputStream
|
2013-10-23 23:12:02 +02:00 |
|