Commit Graph

6115 Commits

Author SHA1 Message Date
Moritz Bunkus
bbe876c7bd Conditional construction 2012-08-26 16:23:50 +02:00
Moritz Bunkus
70f8c5d220 Implement attachment target validation 2012-08-26 15:53:57 +02:00
Moritz Bunkus
985211760f Add function for reading the whole file in one go 2012-08-26 15:32:17 +02:00
Moritz Bunkus
f225d01d4f Fixup from moving construct.h to common 2012-08-26 12:47:25 +02:00
Moritz Bunkus
bb267f180e A target_id_manager_c class for the attachment_target_c 2012-08-26 12:43:15 +02:00
Moritz Bunkus
938b8ada62 Implement: attachment_target_c, partial interface -- especially CLI parsing 2012-08-26 12:43:15 +02:00
Moritz Bunkus
5735cab864 Basic command line options for attachment handling in mkvpropedit 2012-08-26 12:43:15 +02:00
Moritz Bunkus
8cff399688 Delete elements from newly created masters before emptying them 2012-08-26 12:41:11 +02:00
Moritz Bunkus
bff0d7e6d4 Move construct.h to common 2012-08-26 12:41:04 +02:00
Moritz Bunkus
cb27a9f05a Make construct functions inline 2012-08-26 12:37:49 +02:00
Moritz Bunkus
fc62801628 Make cons_impl() work with EbmlUnicodeString & std::wstring 2012-08-26 12:37:44 +02:00
Moritz Bunkus
78fa9e04cf Always build unit tests if gtest is available 2012-08-26 12:36:14 +02:00
Moritz Bunkus
a7d9ce75f9 Avoid a couple of reinterpret_cast<> 2012-08-26 10:37:15 +02:00
Moritz Bunkus
c1fa6f0381 Unit tests for constructing and comparing EBML hierarchies 2012-08-21 19:03:01 +02:00
Moritz Bunkus
e1634f4540 Construct and compare EbmlDate 2012-08-21 11:26:48 +02:00
Moritz Bunkus
b97aef14da Fix constructing for mixed cases of EbmlMaster and other types 2012-08-21 11:23:10 +02:00
Moritz Bunkus
284d2dc76b Move dump to util.cpp; implement EBML structure comparator class & assertions 2012-08-21 11:22:48 +02:00
Moritz Bunkus
cd770a8808 Test and use '-Qunused-arguments' with clang
Otherwise clang will complain about all the -I directives it doesn't
use.
2012-08-19 23:31:38 +02:00
Moritz Bunkus
8bad975406 ChangeLog update 2012-08-19 23:31:38 +02:00
Moritz Bunkus
836d83665a Add constructor so that initializer lists work 2012-08-19 23:31:37 +02:00
Moritz Bunkus
4ee0e95f86 Fix namespace name nesting 2012-08-19 23:31:37 +02:00
Moritz Bunkus
3d1ca93985 Fix ambiguous namespace reference
libebml contains a type called 'utf8' as well, and after 'using
namespace libebml' a non-prefixed 'utf8::...' could refer to both the
namespace '::utf8' and 'libebml::utf8'.
2012-08-19 23:31:37 +02:00
Moritz Bunkus
fe36318566 Include common_pch.h instead of os.h 2012-08-19 23:31:37 +02:00
Moritz Bunkus
d925bdbfcc Make inline functions static as well 2012-08-19 23:31:37 +02:00
Moritz Bunkus
115b57c1f2 Explicit return types for lambda expressions with more than just a return statement 2012-08-19 23:31:37 +02:00
Moritz Bunkus
4834b3544d Avoid value narrowing; prevents warnings 2012-08-19 20:59:28 +02:00
Moritz Bunkus
a3b9f69475 Fix compilation with gcc 4.7.x
Both 4.7.0 and 4.7.1 contain a bug (regression) in C++11 mode that
lets g++ fail on abstract base class initialization with initializer
lists. g++ 4.6.1 and 4.6.3 both compile this correctly, as does clang
3.1
2012-08-19 20:10:32 +02:00
Moritz Bunkus
4b8b7c5c5a Update pugixml from v1.0 to v1.2
Fixes compilation with clang on Mac OS
2012-08-18 21:04:49 +02:00
Moritz Bunkus
86a2c0fd44 Remove invalid floating point number suffix 'd' 2012-08-18 21:02:21 +02:00
Moritz Bunkus
405fde3565 Explicitly link against Boost's system lib during the filesystem lib test 2012-08-18 21:01:17 +02:00
Moritz Bunkus
83907e90c4 Remove accidentally checked-in unit test executable 2012-08-17 22:50:11 +02:00
Moritz Bunkus
898a6e6fc8 Dump helper method for tests 2012-08-17 22:46:54 +02:00
Moritz Bunkus
00b0b921d1 Helper functions for construction EBML hierarchies 2012-08-17 22:46:45 +02:00
Moritz Bunkus
c2fe0e1dec Use template versions of to_string() 2012-08-17 22:46:24 +02:00
Xabier Aramendi
8c16bc3fbb Update the Basque translation 2012-08-15 18:38:11 +02:00
Moritz Bunkus
1cd37eb212 Common init code for test cases; start of unit tests for propedit 2012-08-15 09:16:52 +02:00
Moritz Bunkus
b5e41242b4 Provide adjustable handlers for mxinfo(), mxwarn(), mxerror() 2012-08-13 22:19:38 +02:00
Moritz Bunkus
dc225ba8d6 Build static library for each executable (except mmg)
Helps unit tests for those
2012-08-13 21:20:50 +02:00
Moritz Bunkus
6a2698f5ec Split single unit test directory into multiple ones
The goal is to enable testing of application specific files, e.g. for
mkvpropedit.
2012-08-13 20:41:35 +02:00
Moritz Bunkus
315d84d3de Refactor track & segment info edit parameters into child classes of target_c 2012-08-13 14:54:40 +02:00
Moritz Bunkus
4e5dc27ce4 Refactor tag edit parameters into child class of target_c 2012-08-13 14:54:40 +02:00
Moritz Bunkus
64a22edc9b Refactor chapter prop edit parameters into child class of target_c 2012-08-13 14:54:40 +02:00
Roberto Boriotti
4ecfbaa494 Update the Italian translation 2012-08-13 13:06:09 +02:00
Moritz Bunkus
4a831ecd94 Fix building with Ruby 1.8.x 2012-08-13 08:46:37 +02:00
Moritz Bunkus
14d08bc4df Update email address of author of Turkish translation 2012-08-12 14:31:53 +02:00
BouRock
5fd4e43bc4 Update the Turkish translation 2012-08-12 14:31:16 +02:00
Moritz Bunkus
151e9caf5a Update list of translatable strings & fix German translation 2012-08-11 14:28:47 +02:00
Luther Stickell
94e718eed3 Fixed the spelling in two original messages 2012-08-10 14:20:56 +02:00
Luther Stickell
0f2ea09a5c Fixed the Italian translation 2012-08-10 14:19:33 +02:00
Moritz Bunkus
9550b1c747 Replace boost::bind/boost::function with std::bind/std::function 2012-08-08 20:37:09 +02:00