Commit Graph

121 Commits

Author SHA1 Message Date
Moritz Bunkus
1ca6c7f8d9
UTF-8 CPP: update to 2.3.5 revision 1537543999978d3a0464560a9a940d6140c6ba59 2018-06-15 17:45:22 +02:00
Moritz Bunkus
8bcc286dfc
refactoring: no 'using namespace …' in header files
It is dangerous insofar as it pollutes an immense number of source
files. For example, utf8cpp's stuff uses relative namespace
names (e.g. `utf8::some_type`). If `using namespace libebml` is in
effect, then this clashes with `libebml::utf8` which is a typedef for
`unsigned char`, causing compiler errors.
2018-06-15 17:45:22 +02:00
Moritz Bunkus
21d09d4bcd
nlohmann JSON: don't use std::snprintf
libintl.h defines a preprocessor define for `snprintf` with the
content of `libintl_snprintf` if the C library isn't GNU's
glibc. Therefore `std::snprintf` actually becomes
`std::libintl_snprintf` which doesn't exist. This affects e.g. mingw
and macOS.
2018-06-08 23:11:53 +02:00
Moritz Bunkus
471fc84ed2
nlohmann-json: update to v3.1.1 (git revision g183390c1) 2018-06-08 22:17:08 +02:00
Moritz Bunkus
c50c7125ef
pugixml: update to v1.9 (git revision e584ea3)
Fixes a warning with g++ 8.0.0 and newer regarding ignored function
attributes.
2018-06-08 22:17:08 +02:00
Moritz Bunkus
ce07f3557c
avilib: avoid warnings about potentially too small buffers 2018-06-08 11:41:20 +02:00
Moritz Bunkus
d102e7f21a update libEBML to v1.3.6, libMatroska to v1.4.9 2018-04-20 20:37:55 +02:00
Moritz Bunkus
589365a63b libebml: update & intentional update of test results 2018-04-20 16:33:48 +02:00
Moritz Bunkus
28e3d65b23 libebml: update & intentional update of test results 2018-04-18 22:43:06 +02:00
Moritz Bunkus
aa001758a2 libebml: update 2018-04-18 12:47:22 +02:00
Moritz Bunkus
dd41abf629 avilib: 0-initialize all allocated memory
Required for properly freeing it later.
2018-04-17 17:54:35 +02:00
Moritz Bunkus
cf225ece06 avilib: free memory allocated for text tracks 2018-04-17 17:54:14 +02:00
Moritz Bunkus
045fb9df48 avilib: free malloc'ed memory for super indexes 2018-04-16 21:33:06 +02:00
Moritz Bunkus
537dca7c92 libebml: update to latest upstream 2018-02-15 16:13:16 +01:00
Moritz Bunkus
dc07742588 libebml: update 2018-01-22 23:41:57 +01:00
Moritz Bunkus
d6b6a5ab08 libEBML, libMatroska: update to latest git revisions 2017-12-12 12:43:08 +01:00
Moritz Bunkus
8180f4a666 libebml: update 2017-12-02 14:58:25 +01:00
Moritz Bunkus
10d7937ee0 update libMatroska due to #2103 2017-09-25 20:24:52 +02:00
Moritz Bunkus
e2369c3b62 update libEBML to release 1.3.5 2017-08-19 09:12:58 +02:00
Moritz Bunkus
54543b67bc update libebml 2017-08-12 10:51:33 +02:00
Moritz Bunkus
65c3abd6a4 libEBML: update 2017-08-06 15:51:39 +02:00
Moritz Bunkus
c6e97707bd update libEBML 2017-08-06 14:38:20 +02:00
Moritz Bunkus
5904da93bf all: libEBML now contains FindNextChild; use that if present 2017-08-06 13:54:49 +02:00
Moritz Bunkus
6997205b8e pugixml: update to git revision ed86ef32b314f6eccde5a265ce90b1600edeb760
This fixes several warnings with gcc 7's "warn on implicit
fallthrough" feature.
2017-07-09 21:11:28 +02:00
Moritz Bunkus
f1fa6bdb99 libEBML: update to revision cd393f30cb12060f6b4e9666268122e1a346a491 2017-03-10 14:37:53 +01:00
Moritz Bunkus
2cfb054288 libMatroska: update to release v1.4.6 2017-03-10 14:36:46 +01:00
Moritz Bunkus
17aa7d5af6 avilib: allow 1024 index chunks = 1024 GB files 2016-12-15 13:40:03 +01:00
Moritz Bunkus
ecd3d5fc18 update included versions of libEBML & libMatroska 2016-11-28 15:17:54 +01:00
Moritz Bunkus
d4c004b403 update libEBML to v1.3.4, libMatroska to v1.4.5 2016-07-02 16:19:16 +02:00
Moritz Bunkus
08ad764c62 libmatroska: update to latest development version
Due to the addition on new mandatory elements the calculation of default
sizes for void elements is different. Therefore most test cases have had
their checksums updated.
2016-04-25 20:24:11 +02:00
Moritz Bunkus
42271f5c57 JSON: update nlohmann's JSON library
The old revision has a serious memory usage issue. For example, on
Windows a 650 KB JSON file results in memory usage of roughly 2 GB of
allocated RAM that won't be freed anymore.

The updated version doesn't have this problem anymore.

Fixes #1631.
2016-03-29 20:05:50 +02:00
Moritz Bunkus
151dfb5487 libebml, libmatroska: update bundled versions to latest upstream 2016-03-26 10:35:03 +01:00
KonaBlend
cee1debeaf add explicit pch support
- convert gcc to use -include
- add clang support for -include
- new target namespace: pch (invoke rake -T or pch:overview for details)
- move pch logic into rake.d/pch.rb
- convert a few troublesome source files from ISO-8859-1 -> UTF-8
- add persistent config: config.pch.json
- add TTY support for running commands with filters (keeps pretty
  color diagnostics even when filtering compiler stdout/stderr)
- for fun try:

        drake "pch[pretty]"
        drake -j4
        drake pch:status
2016-03-26 03:52:21 -04:00
Moritz Bunkus
6747ed3925 JSON: use uint64_t as storage type by default
Otherwise 64bit values > maximum int64_t are output as signed ones, and
mkvmerge doesn't need to output signed integer values at the moment.

I've also opened an issue for that:
https://github.com/nlohmann/json/issues/151
2015-11-22 17:23:26 +01:00
Moritz Bunkus
0994156ee1 mkvmerge: implement JSON identification output mode 2015-11-14 12:49:04 +01:00
Moritz Bunkus
4a2a97f5e0 libEBML, libMatroska: update to releases v1.3.3/v1.4.4 respectively 2015-10-20 16:13:14 +02:00
Moritz Bunkus
d9d71787d6 libEBML, libMatroska: update to releases v1.3.2/v1.4.3 respectively 2015-10-17 16:18:50 +02:00
Moritz Bunkus
f6c268f256 libEBML, libMatroska: update to current upstream 2015-08-21 21:02:32 +02:00
Moritz Bunkus
1cad235a98 avilib: fix stream header structure to be consistent with official specs 2015-08-18 20:48:39 +02:00
Moritz Bunkus
d7c90e7f0e common: fix compilation with older versions of Boost
Due to df0df0f the newer headers require BOOST_NOEXCEPT_OR_NOTHROW to be
defined, which isn't for older versions, e.g. the one used on CentOS 7.
2015-05-09 11:34:03 +02:00
Moritz Bunkus
df0df0f83b update utf8_codecvt_facet from Boost 1.58.0; don't include system Boost headers
Fixes #1172.
2015-04-24 23:33:01 +02:00
Moritz Bunkus
91d2470c96 remove old CoreC project file 2015-03-28 15:42:35 +01:00
Mats Peterson
45bc332bad mkvmerge, mkvextract: don't store extra data size in bi_size field 2015-03-24 11:56:01 +01:00
Mats Peterson
3ca50d5946 avilib: write 00dc as index chunk IDs 2015-03-02 12:05:04 +01:00
Moritz Bunkus
461e3ac82b avilib: only require track ID instead of full tag in idx1 2015-02-27 21:58:31 +01:00
Moritz Bunkus
2c54a35ca6 avilib: only put 0x10 into key frame index field
The dwFlags field in idx1 chunks can have other bits set, too. However,
the code in AVI_read_frame() needs it to be equal to 0x10 (which is
AVIIF_KEYFRAME from the aviriff.h header).
2015-02-25 22:41:25 +01:00
Mats Peterson
e7d8415656 avilib: read all of 'strf' even if biSize does not include it
Fixes #1129.
2015-02-25 21:14:33 +01:00
Mats Peterson
d33adf5ee0 avilib: fix ckSize value in strf chunks
Fixes #1128.
2015-02-25 21:01:08 +01:00
Mats Peterson
7702929f56 mkvextract: fix bits/pixel for non-24bit video codecs in AVIs
Fixes #1123.
2015-02-23 21:35:05 +01:00
Moritz Bunkus
d17e29af00 build system: use PACKAGE_NAME/_VERSION instead of self-defined variables 2015-02-12 14:35:48 +01:00