Commit Graph

69 Commits

Author SHA1 Message Date
Steve Lhomme
4a7dbe6291 libebml: move some operator code in the .cpp files (MSVC has issues in DLLs)
+ libmatroska ChangeLog

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@347 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-06-26 09:07:13 +00:00
Steve Lhomme
daa4e095d5 libmatroska: change the order of an export so that it actually works
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@344 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-06-25 14:59:35 +00:00
Steve Lhomme
25665a5867 libmatroska: the next lib will be 1.1.0 because of binary incompatibility
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@337 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-06-24 16:22:29 +00:00
Steve Lhomme
0f82b00c63 libmatroska: give access to the SetParent to KaxSimpleBlock as well
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@336 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-06-24 16:21:14 +00:00
Moritz Bunkus
b4cdac7827 Updated version numbers and fixed DOS style newlines in spec files
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@332 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-06-21 21:55:51 +00:00
Moritz Bunkus
357e3d76f8 Version number bump for the Debian package
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@298 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-06-05 08:52:22 +00:00
Steve Lhomme
8e46c56503 libebml/libmatrosla: update the ChangeLog for the 1.0.0 release and fix the compilation
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@295 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-06-04 11:03:46 +00:00
Moritz Bunkus
70b83a0a65 Increate library SONAME due to binary incompatible changes
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@294 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-06-04 08:46:29 +00:00
Moritz Bunkus
2a654fca71 Set version number to 1.0.0
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@293 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-06-04 08:46:17 +00:00
Moritz Bunkus
588fdab732 Fix Win32 compilation
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@284 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-05-29 13:05:51 +00:00
Steve Lhomme
f6c6194c9d libebml/libebml2: only Master elements can have an infinite/unknown size
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@270 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-05-25 12:02:30 +00:00
Moritz Bunkus
e74403c4b7 Fix the spec files for Fedora and SuSE
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@187 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-05-09 21:25:45 +00:00
Moritz Bunkus
e975d1b78e Updated the version number for the Debian package.
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@180 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-05-09 14:59:41 +00:00
Moritz Bunkus
2ca5012202 Fixed DOS newlines & set the eol-style property
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@179 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-05-09 14:58:33 +00:00
Steve Lhomme
894fabee27 v1: fix the StereoMode ID according to the specs
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@151 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-30 16:32:46 +00:00
Steve Lhomme
c128fa5610 v1: update the ChangeLog files for imminent release
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@150 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-30 10:19:47 +00:00
Steve Lhomme
dfed1be31e v1/v2: Add support for const iterators where necessary
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@149 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-30 08:28:24 +00:00
Steve Lhomme
192d5da1fe v2: no need to set the ID size with v2
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@144 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-20 16:26:58 +00:00
Steve Lhomme
ea5e6a6730 v2: handle the default global EBML elements (Void and Crc32) (the tags multi global element needs a bit of work)
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@142 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-20 16:25:07 +00:00
Steve Lhomme
52f0d18ce6 v1: favor the use of iterators rather than direct access in the tables (nicer for libebml v2)
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@131 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-19 08:32:50 +00:00
Steve Lhomme
b7dbfcd78a v1: add a safety check assert
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@128 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-16 13:33:13 +00:00
Steve Lhomme
d0931cf046 v1/v2: clean the access of EbmlId data
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@124 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-15 14:59:25 +00:00
Steve Lhomme
131e7f9df1 add new ghost params necessary for libebml2
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@107 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-13 14:07:28 +00:00
Moritz Bunkus
82d6d4db2a Let the user use CXXFLAGS for his own flags. Fix for not finding the includes.
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@106 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-11 16:40:15 +00:00
Steve Lhomme
084278994b v1/v2: the v2 classes always need their own context in the constructor so we need more macros to ensure that...
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@102 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-09 17:37:06 +00:00
Steve Lhomme
7ec8469af3 v1: fix some elements type
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@101 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-09 17:34:10 +00:00
Steve Lhomme
68372883dd use DECLARE_EBML_*** in the legacy code too
add a EBML_CTX_IDX() macro to avoid direct access to MyTable

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@92 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-08 16:36:43 +00:00
Steve Lhomme
7229147436 use the better constructor for v1 and v2
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@90 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-08 16:26:35 +00:00
Steve Lhomme
91e1ebbb62 add EBML_CLASS_SEMCONTEXT() for a more generic way to describe a global context callback
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@88 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-08 16:05:15 +00:00
Moritz Bunkus
4830d2317f Fixed wrong DebugName of the SegmentUID element
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@87 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-07 17:32:30 +00:00
Steve Lhomme
34a69ca1e8 new macro to define the old EbmlSemanticContext if it's not done elsewhere
+ add some missing SEMANTIC start/end

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@86 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-07 16:12:16 +00:00
Steve Lhomme
132afa9fc1 use a macro to define the semantic tables as the v2 library uses a slightly different table format
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@85 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-07 16:09:02 +00:00
Steve Lhomme
345affd5d5 replace DEFINE_MKX_MASTER_NOBODY() with DEFINE_MKX_MASTER_CONS() for better consistency
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@83 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-07 15:59:32 +00:00
Steve Lhomme
998d163e7d mark ValidateSize() as virtual (as a reminder)
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@82 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-07 09:43:00 +00:00
Steve Lhomme
1748d3bae1 by default the any size is OK for Binary elements
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@81 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-07 09:41:09 +00:00
Steve Lhomme
42b5431138 put the default clone constructor in the macros as well
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@80 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-07 09:39:28 +00:00
Steve Lhomme
a90971f7c8 the DECLARE_xxx macros now include the EBML_CONCRETE_CLASS declarations as well (less verbose)
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@79 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-07 09:36:55 +00:00
Steve Lhomme
becc597951 move the default values in the .cpp files via the new declaration macros
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@77 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-06 17:20:14 +00:00
Steve Lhomme
e42acc7263 update the v2 code to match the latest v1 changes (still far from working)
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@75 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-06 17:15:45 +00:00
Steve Lhomme
9c86efc48e add a default constructor to EbmlMaster based classes
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@73 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-05 16:39:37 +00:00
Steve Lhomme
4071a63a5d no need to rename contexts that are not exported
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@72 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-05 16:36:03 +00:00
Steve Lhomme
9b665806d7 EOL-style native for the new (internal) include
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@71 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-05 15:57:54 +00:00
Steve Lhomme
acccbc21ce finish moving the EBML element definitions to the new macros
use the new EBML context definition macro
the GetKaxTagGlobalContext() function doesn't need to be exported

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@70 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-05 15:53:20 +00:00
Steve Lhomme
0297c74abd use the new macros to define EBML class elements
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@68 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-03 07:55:52 +00:00
Steve Lhomme
82ff2d978a more options for the EBML master definitions
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@67 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-03 06:14:04 +00:00
Steve Lhomme
7747ececf3 do not access Data directly
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@64 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-02 17:33:49 +00:00
Moritz Bunkus
e9c742ec1c Properly compare elements
If you have "virtual operator <" in a base class and a derived
class and each takes a reference of its own class as an arugment
then the function in the derived class hides the one in the base
class and does not override is as the signatures do not match:

class base {
public:
  bool virtual operator <(const base &cmp);
};
class derived: public base {
public:
  bool virtual operator <(const derived &cmp);
};

If two instances of base are compared then base::operator< is called:

base *p1, *p2;
if (*p1 < *p2) // calls base::operator<


git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@62 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-27 23:15:21 +00:00
Steve Lhomme
300fb5b4b7 add matroska_init() and matroska_done() functions, do nothing with libebml1 but call the right init functions for libebml2
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@58 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-25 15:54:09 +00:00
Moritz Bunkus
4360dcdebf Made changing the tool paths easier. Do not refuse to build with a mingw compiler.
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@57 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-23 15:58:04 +00:00
Moritz Bunkus
9dcb527124 Do not try to build a static libmatroska with a shared libebml.
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@55 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-23 15:11:02 +00:00