Commit Graph

180 Commits

Author SHA1 Message Date
Steve Lhomme
8427995f27 Merge pull request #2 from RedDwarf69/master
Update licensing information (FSF address)
2015-06-12 07:41:18 +02:00
Moritz Bunkus
49750c62ca Merge pull request #6 from MediaArea/master
start README.md
2015-05-01 08:48:09 +02:00
Dave Rice
d0c8e6eb05 start README.md 2015-04-29 19:52:46 -04:00
Steve Lhomme
108f7fd5fe do not allow too big String sizes
the max value is the same as in EbmlBinary and is still generous
2015-02-23 11:27:17 +01:00
Moritz Bunkus
b1a4c9ac00 EbmlElement: don't catch exceptions when writing elements 2015-01-04 15:05:42 +01:00
Moritz Bunkus
38eee9f0d6 ChangeLog: add release message 2015-01-04 14:28:53 +01:00
Moritz Bunkus
b000c55fdc build system: autogen.sh not needed; »autoreconf -fi« suffices 2014-12-21 11:38:45 +01:00
Moritz Bunkus
7bb5523d4e ChangeLog: recode to UTF-8 2014-12-21 11:38:31 +01:00
Moritz Bunkus
3be9e9b1d9 ChangeLog: mention the pkg-config file 2014-12-21 10:51:12 +01:00
Moritz Bunkus
befb00d980 cosmetics: alignment 2014-12-21 10:18:12 +01:00
Moritz Bunkus
7b8b0a6271 ChangeLog: update with build system changes 2014-12-21 10:12:09 +01:00
Moritz Bunkus
e57411cfd2 build system: remove old build files 2014-12-21 10:11:03 +01:00
Moritz Bunkus
873839b802 build system: add new source/header files to Makefile.am 2014-12-21 10:08:16 +01:00
Moritz Bunkus
e88d787c32 build system: autogen.sh script for generating configure etc. 2014-12-21 10:06:04 +01:00
Moritz Bunkus
677da149f1 build system: bump version number 2014-12-21 09:58:52 +01:00
Moritz Bunkus
c170b5ba58 Merge remote-tracking branch 'jan-engelhardt/master' 2014-12-21 09:57:58 +01:00
Moritz Bunkus
8055be972c EbmlMaster::Read(): drop elements with unset values in SCOPE_FULL_DATA mode
This prevents elements that couldn't be read properly (e.g. due to
defective data) from being handed over to the calling code in at best
half initialized state. See https://trac.bunkus.org/ticket/1096
2014-12-20 17:30:06 +01:00
Moritz Bunkus
6ba868a49b MemReadIOCallback, SafeReadIOCallback: add new classes for safe (memory) reading
squash! EbmlMemoryStream: add new class for safe memory reading
2014-12-20 17:29:48 +01:00
Moritz Bunkus
ce72b9266a cosmetics: unify indentation 2014-12-19 14:40:44 +01:00
Moritz Bunkus
34554928aa cosmetics: use spaces instead of tab characters; remove trailing whitespace 2014-12-19 00:23:13 +01:00
Moritz Bunkus
dc9a431375 version: bump version to 1.3.1 2014-12-19 00:20:32 +01:00
Moritz Bunkus
7a347adc37 ChangeLog update 2014-12-19 00:20:32 +01:00
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
Jan Engelhardt
87532e8cab build: use automake as a build system
Also provide a convenient pkg-config file at the same time.
2014-08-10 11:23:09 +09: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
Cristian Morales Vega
39ea616d5f Update licensing information
Substitute LICENSE.LGPL for the latest copy from http://www.gnu.org/. And update
the FSF address and links in all the file headers.
2013-04-14 12:07:13 +01: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