Moritz Bunkus
95ff31de88
EbmlMaster: don't try to skip data on elements with unknown sizes
2014-12-19 00:20:32 +01:00
Moritz Bunkus
ea8ea4ca99
EbmlMaster: don't try to get end position of an element with an unknown size
...
See https://trac.bunkus.org/ticket/1089
2014-12-19 00:20:32 +01:00
Moritz Bunkus
ef3f1430dd
Merge pull request #3 from maksqwe/master
...
Some of the fixes and optimization
2014-05-12 20:02:47 +02:00
Moritz Bunkus
a366eaa89e
Don't cause over-/underflow on certain platforms
...
On mingw 32bit this comparison gives a warning about always being
true, which can only be the case if one of the constant actually
over/underflows.
2013-12-07 13:32:22 +01:00
Moritz Bunkus
b0c4cb4701
Avoid compiler warning about possible use of uninitialized values
2013-10-19 12:25:30 +02:00
maksqwe
f0cf0dcbec
fix indentation
2013-08-23 21:58:04 +03:00
maksqwe
af339a7a7a
1. "wcslen" function was called multiple times with "const wchar_t* Path"
...
2. fix mistake which led to undefined behavior "uint64(High<<32)" -> "uint64(High)<<32"
3. optimize std::vector<>::iterator's usage "iter++" -> "++iter". See preincrement and postincrement operator++()
2013-08-23 00:30:37 +03:00
Denis Charmet
0f99c2d712
Use (std::nothrow) with new when the code check for null pointer results.
2013-05-01 12:40:54 +02:00
Moritz Bunkus
b71292464e
Merge pull request #1 from RedDwarf69/master
...
Linux packaging
2013-04-06 01:20:52 -07:00
Cristian Morales Vega
71fbd5a521
Use Linux-style EOL for non Windows specific files
2013-04-06 08:53:50 +01:00
Cristian Morales Vega
302c8fb89d
Fix typo
2013-04-06 08:49:35 +01:00
Cristian Morales Vega
6efcb74d1e
Add DESTDIR option to Linux Makefile
2013-04-06 08:48:34 +01:00
Cristian Morales Vega
ae0d773e15
Add "link" option to Linux Makefile
2013-04-06 08:45:14 +01:00
Cristian Morales Vega
9b440f958e
Stop using -ansi -fno-gnu-keywords in Linux
...
There is no need for -fno-gnu-keywords (which was implied by -ansi) in the
current code.
-ansi disables GCC built-in functions, which add optimizations and extra
security checks in some cases. It may be good to use it (and -pedantic) while
developing to try to keep the code ANSI standard, but users should have binaries
compiled without the option.
2013-03-28 08:26:23 +00:00
Moritz Bunkus
cd33ce4fe6
Remove debian build files
2013-03-19 19:42:58 +01:00
Moritz Bunkus
f8d29fb6bd
Update ChangeLog and Debian changelog
2013-03-19 18:34:18 +01:00
Moritz Bunkus
f13ccea959
Update ChangeLog
2013-03-19 18:24:07 +01:00
Moritz Bunkus
5a4d4c3c8c
Ignore files built during compilation
2013-03-19 12:08:22 +01:00
Moritz Bunkus
8e41fbbfce
Fix wrong date calculation introduced in r841
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@871 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2012-12-13 10:34:27 +00:00
Moritz Bunkus
bf398fcd94
More version number bumping/setting; add ChangeLog message
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@850 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2012-09-22 22:31:39 +00:00
Moritz Bunkus
7dd909bef7
Add std::wstring constructor for UTFstring
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@844 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2012-09-05 20:21:59 +00:00
Moritz Bunkus
5805445834
Provide direct access to an EbmlMaster's vector storage
...
This facilitates using algorithms from the stdlib and other C++
libraries like Boost.
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@842 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2012-09-04 07:37:29 +00:00
Moritz Bunkus
0312461091
Provide Get-/SetValue()/Get-/SetValueUTF8() for Ebml(Unicode)String; make Date values use 64bit ints
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@841 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2012-09-04 07:37:12 +00:00
Moritz Bunkus
b95a4104aa
Provide GetValue() and SetValue() functions for EbmlFloat/SInteger/UInteger
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@840 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2012-09-04 07:36:48 +00:00
Moritz Bunkus
c2ab2859ac
Make int conversion operators const
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@839 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2012-09-04 07:36:24 +00:00
Moritz Bunkus
d5f30db3c6
Bump version number to 1.3.0
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@838 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2012-09-04 07:36:04 +00:00
Moritz Bunkus
edb58336a9
Add -Wextra to warning flags
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@824 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-11-25 21:26:16 +00:00
Moritz Bunkus
88cdc30938
Fix several gcc warnings occurring with -Wextra
...
Warnings fixed are:
- warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
- warning: unused parameter ... [-Wunused-parameter]
- warning: comparison is always true due to limited range of data type [-Wtype-limits]
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@822 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-11-25 21:01:45 +00:00
Steve Lhomme
ffeea955a0
libebml: fix some compilation warnings in mingw
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@821 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-10-18 16:55:49 +00:00
Moritz Bunkus
f9489f1f80
changelog update, version number updates
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@811 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-09-23 11:26:59 +00:00
Moritz Bunkus
9a31b3864c
Move definition of EbmlCodeVersion into the library
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@803 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-09-11 09:03:43 +00:00
Steve Lhomme
2490c80ad1
libebml: fix the Debug class use
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@796 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-09-09 04:00:42 +00:00
Steve Lhomme
5eea000814
libebml: also update the coremake project
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@789 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-07-15 13:40:26 +00:00
Steve Lhomme
527f98c367
libebml: only use the test element to read once in the loop
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@788 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-07-15 13:31:03 +00:00
Moritz Bunkus
ef72dc1bae
Version number bump in spec files
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@766 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-06-26 18:13:26 +00:00
Moritz Bunkus
84f17676f0
Release date update
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@762 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-06-26 17:39:25 +00:00
Moritz Bunkus
54782a8ee9
Bumped version number in Debian changelog
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@759 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-06-15 11:58:26 +00:00
Steve Lhomme
7922aef03d
libebml: code cleaning
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@757 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-06-12 09:51:25 +00:00
Steve Lhomme
83cc857424
update the version headers
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@756 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-06-12 09:21:05 +00:00
Steve Lhomme
8200c78a85
libebml: update the ChangeLog for a pending release
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@755 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-06-12 09:20:21 +00:00
Steve Lhomme
f2545cc6d7
libebml: fix the size returned by MemIOCallback::read() when reaching the end of the buffer
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@747 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-04-26 17:14:24 +00:00
Steve Lhomme
81b5b9ff60
libebml: fix the constructor of CRTError (path from Graham 'gbooker' Booker)
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@746 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-04-14 07:40:25 +00:00
Steve Lhomme
c064df6936
libebml: add a macro to define signed integer elements that have a default value
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@722 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-03-27 16:43:10 +00:00
Moritz Bunkus
a828485b74
Updated the "Section" entries in the Debian package file
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@716 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-03-25 10:48:24 +00:00
Steve Lhomme
676d1ba310
libebml: fix compilation of debug builds under win32
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@708 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-03-20 17:33:49 +00:00
Moritz Bunkus
9ff9decf8c
Include <string> headers when std::string is used
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@672 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-02-05 21:26:49 +00:00
Moritz Bunkus
3a490a84ce
Avoid compiler warnings due to differences in signs in comparisons
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@671 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-02-05 21:15:22 +00:00
Moritz Bunkus
d70416282f
Use an explicit cast to std::string; fixes compilation with Sun Studio C compiler
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@670 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-02-05 21:11:28 +00:00
Moritz Bunkus
6e8b3c82ba
Updated spec file version numbers
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@664 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-01-30 14:46:27 +00:00
Moritz Bunkus
0a940d458a
Updated Debian changelog
...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@655 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-01-30 14:32:13 +00:00