]>
granicus.if.org Git - libmatroska/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Steve Lhomme [Tue, 13 Apr 2010 14:07:28 +0000 (14:07 +0000)]
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
Moritz Bunkus [Sun, 11 Apr 2010 16:40:15 +0000 (16:40 +0000)]
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
Steve Lhomme [Fri, 9 Apr 2010 17:37:06 +0000 (17:37 +0000)]
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
Steve Lhomme [Fri, 9 Apr 2010 17:34:10 +0000 (17:34 +0000)]
v1: fix some elements type
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@101
a6f86f6d -0131-4f8e-9e7b-
e335508773d5
Steve Lhomme [Thu, 8 Apr 2010 16:36:43 +0000 (16:36 +0000)]
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
Steve Lhomme [Thu, 8 Apr 2010 16:26:35 +0000 (16:26 +0000)]
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
Steve Lhomme [Thu, 8 Apr 2010 16:05:15 +0000 (16:05 +0000)]
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
Moritz Bunkus [Wed, 7 Apr 2010 17:32:30 +0000 (17:32 +0000)]
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
Steve Lhomme [Wed, 7 Apr 2010 16:12:16 +0000 (16:12 +0000)]
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
Steve Lhomme [Wed, 7 Apr 2010 16:09:02 +0000 (16:09 +0000)]
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
Steve Lhomme [Wed, 7 Apr 2010 15:59:32 +0000 (15:59 +0000)]
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
Steve Lhomme [Wed, 7 Apr 2010 09:43:00 +0000 (09:43 +0000)]
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
Steve Lhomme [Wed, 7 Apr 2010 09:41:09 +0000 (09:41 +0000)]
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
Steve Lhomme [Wed, 7 Apr 2010 09:39:28 +0000 (09:39 +0000)]
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
Steve Lhomme [Wed, 7 Apr 2010 09:36:55 +0000 (09:36 +0000)]
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
Steve Lhomme [Tue, 6 Apr 2010 17:20:14 +0000 (17:20 +0000)]
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
Steve Lhomme [Tue, 6 Apr 2010 17:15:45 +0000 (17:15 +0000)]
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
Steve Lhomme [Mon, 5 Apr 2010 16:39:37 +0000 (16:39 +0000)]
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
Steve Lhomme [Mon, 5 Apr 2010 16:36:03 +0000 (16:36 +0000)]
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
Steve Lhomme [Mon, 5 Apr 2010 15:57:54 +0000 (15:57 +0000)]
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
Steve Lhomme [Mon, 5 Apr 2010 15:53:20 +0000 (15:53 +0000)]
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
Steve Lhomme [Sat, 3 Apr 2010 07:55:52 +0000 (07:55 +0000)]
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
Steve Lhomme [Sat, 3 Apr 2010 06:14:04 +0000 (06:14 +0000)]
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
Steve Lhomme [Fri, 2 Apr 2010 17:33:49 +0000 (17:33 +0000)]
do not access Data directly
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@64
a6f86f6d -0131-4f8e-9e7b-
e335508773d5
Moritz Bunkus [Sat, 27 Mar 2010 23:15:21 +0000 (23:15 +0000)]
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
Steve Lhomme [Thu, 25 Mar 2010 15:54:09 +0000 (15:54 +0000)]
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
Moritz Bunkus [Tue, 23 Mar 2010 15:58:04 +0000 (15:58 +0000)]
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
Moritz Bunkus [Tue, 23 Mar 2010 15:11:02 +0000 (15:11 +0000)]
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
Moritz Bunkus [Tue, 23 Mar 2010 15:09:30 +0000 (15:09 +0000)]
Make the ranlib and ar executables configurable. Support for setting the cross-compilation tool names easily.
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@54
a6f86f6d -0131-4f8e-9e7b-
e335508773d5
Moritz Bunkus [Tue, 23 Mar 2010 15:01:34 +0000 (15:01 +0000)]
Do not try to free() pointers pointing to member variables
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@52
a6f86f6d -0131-4f8e-9e7b-
e335508773d5
Steve Lhomme [Fri, 19 Mar 2010 15:36:08 +0000 (15:36 +0000)]
explain why the USEINCLUDE corec is necessary even when core-c is not used (because of the IF in coremake .proj files)
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@45
a6f86f6d -0131-4f8e-9e7b-
e335508773d5
Steve Lhomme [Fri, 19 Mar 2010 15:35:26 +0000 (15:35 +0000)]
introduce filepos_t for all the file position values (depends wether the system can handle 32 bits or 64 bits offsets)
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@44
a6f86f6d -0131-4f8e-9e7b-
e335508773d5
Steve Lhomme [Thu, 18 Mar 2010 17:08:57 +0000 (17:08 +0000)]
use a macro for the EbmlMaster iterator as it may differ between versions of libebml
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@39
a6f86f6d -0131-4f8e-9e7b-
e335508773d5
Steve Lhomme [Thu, 18 Mar 2010 17:07:58 +0000 (17:07 +0000)]
fix the iterator use in the copy constructors
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@38
a6f86f6d -0131-4f8e-9e7b-
e335508773d5
Steve Lhomme [Wed, 17 Mar 2010 18:34:22 +0000 (18:34 +0000)]
the internal GetData() is the same as GetBuffer()
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@31
a6f86f6d -0131-4f8e-9e7b-
e335508773d5
Steve Lhomme [Wed, 17 Mar 2010 10:26:39 +0000 (10:26 +0000)]
new macros to hide the internal variables of the context classes
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@23
a6f86f6d -0131-4f8e-9e7b-
e335508773d5
Steve Lhomme [Mon, 15 Mar 2010 16:19:18 +0000 (16:19 +0000)]
update the copyright notice to 2010
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@18
a6f86f6d -0131-4f8e-9e7b-
e335508773d5
Steve Lhomme [Mon, 15 Mar 2010 16:11:24 +0000 (16:11 +0000)]
add a macro to define all the pure virtual methods in a "concrete" EBML class (that correspond to an item in EBML streams)
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@16
a6f86f6d -0131-4f8e-9e7b-
e335508773d5
Steve Lhomme [Mon, 15 Mar 2010 16:08:31 +0000 (16:08 +0000)]
add macros to access the EbmlId internal variables
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@15
a6f86f6d -0131-4f8e-9e7b-
e335508773d5
Steve Lhomme [Mon, 15 Mar 2010 16:07:14 +0000 (16:07 +0000)]
add some macros to access the EBML ID/Context and use them
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@14
a6f86f6d -0131-4f8e-9e7b-
e335508773d5
Steve Lhomme [Mon, 15 Mar 2010 16:03:51 +0000 (16:03 +0000)]
use the new accessors internally
+ make the new accessors inline
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@13
a6f86f6d -0131-4f8e-9e7b-
e335508773d5
Steve Lhomme [Mon, 15 Mar 2010 15:58:12 +0000 (15:58 +0000)]
reordering and misc cleaning
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@9
a6f86f6d -0131-4f8e-9e7b-
e335508773d5
Steve Lhomme [Mon, 15 Mar 2010 15:57:04 +0000 (15:57 +0000)]
cast to EbmlId instead of accessing Generic() GlobalId directly
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@8
a6f86f6d -0131-4f8e-9e7b-
e335508773d5
Steve Lhomme [Mon, 15 Mar 2010 15:56:05 +0000 (15:56 +0000)]
use a safer type cast rather than setting the internal values directly
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@7
a6f86f6d -0131-4f8e-9e7b-
e335508773d5
Steve Lhomme [Mon, 15 Mar 2010 15:55:14 +0000 (15:55 +0000)]
integer and boolean variables don't need a const when used as parameters
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@6
a6f86f6d -0131-4f8e-9e7b-
e335508773d5
Steve Lhomme [Mon, 15 Mar 2010 15:53:28 +0000 (15:53 +0000)]
fix the coremake project for inclusion in other projects
use HAVE_EBML2 in the config.h file to use libebml2 instead of libebml
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@5
a6f86f6d -0131-4f8e-9e7b-
e335508773d5
Steve Lhomme [Thu, 18 Feb 2010 08:13:06 +0000 (08:13 +0000)]
move the sources from the dead coreforge server
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@1
a6f86f6d -0131-4f8e-9e7b-
e335508773d5