Commit Graph

2416 Commits

Author SHA1 Message Date
Moritz Bunkus
9ac342d86f Implemented the parsing of the 'value' part of a change. 2009-08-16 13:33:46 +02:00
Moritz Bunkus
4e352af5f9 Fixed segfaults if a table for KaxInfos was requested. 2009-08-16 13:33:46 +02:00
Moritz Bunkus
fef593a468 Moved the 'parse_bool()' function from mkvmerge.cpp to the common string parsing file. 2009-08-16 13:33:46 +02:00
Moritz Bunkus
3b003df714 Implemented the verification of property names against the edit spec. 2009-08-16 13:33:46 +02:00
Moritz Bunkus
bc682fe5f4 Improved property name list including the element type (string, integer etc). 2009-08-16 13:33:46 +02:00
Moritz Bunkus
2034e2ea92 Implemented the look-up of elements in the Matroska file and the merging of targets afterwards. 2009-08-16 13:33:45 +02:00
Moritz Bunkus
17fd8178d6 Allow for individual indentation levels in the calls to cli_parser_c::add_section_header() and cli_parser_c::add_information(). 2009-08-16 13:33:45 +02:00
Moritz Bunkus
9c6c8618c8 Remove empty targets. 2009-08-16 13:33:45 +02:00
Moritz Bunkus
c7be2c322c Use format_paragraph() for the list of property names. 2009-08-16 13:33:45 +02:00
Moritz Bunkus
7eb336aae0 format_paragraph(): Added an option for specifying the indent string to use for the second line ff. 2009-08-16 13:33:45 +02:00
Moritz Bunkus
b0182dc4e5 Debug code removal. 2009-08-16 13:33:45 +02:00
Moritz Bunkus
9c9281d968 Fixed path to property_element.h. 2009-08-16 13:33:44 +02:00
Moritz Bunkus
73167c6782 Moved the "cli_parser_c::format_text()" function into a common file and out of the class and renamed it to "format_paragraph()". 2009-08-16 13:33:44 +02:00
Moritz Bunkus
52e730a501 Implemented the "list property names" function. 2009-08-16 13:33:44 +02:00
Moritz Bunkus
dd58dbdfab Made some member functions const. Added a function for determining whether or not any change was added. Abort if no change was added. Don't add the same targets multiple times. 2009-08-16 13:33:44 +02:00
Moritz Bunkus
85b154249c Made some member functions const. Added a function for determining whether or not the target contains changes. 2009-08-16 13:33:44 +02:00
Moritz Bunkus
724316e5cb Made a member function const. Added a function for looking up the property corresponding to the change's name. 2009-08-16 13:33:43 +02:00
Moritz Bunkus
7b43a288ff Made some member functions const. 2009-08-16 13:33:43 +02:00
Moritz Bunkus
cb9fd96e60 Added a class for storing the properties that can be edited in existing Matroska files. 2009-08-16 13:33:43 +02:00
Moritz Bunkus
d1875e8780 Added floats to the list of EBML types. 2009-08-16 13:33:43 +02:00
Moritz Bunkus
447f293fe3 Calculate the place where to wrap the text by the number of characters actually displayed. 2009-08-16 13:33:43 +02:00
Moritz Bunkus
e62ce0f252 Added a function for calculating the number of characters (not bytes) in an UTF-8 encoded string. 2009-08-16 13:33:42 +02:00
Moritz Bunkus
090eab3dfd API change: changed the "cli_parser_c::set_default_callback()" to a hook system. 2009-08-16 13:33:42 +02:00
Moritz Bunkus
36d21732a8 Abort if the user has given more than one file name. 2009-08-16 13:33:42 +02:00
Moritz Bunkus
d313f53d07 Improved parsing of the --edit parameter. Implemented dumping the parsed CLI information. 2009-08-16 13:33:42 +02:00
Moritz Bunkus
fe7da6de5f Let the cli_parser_c class create the usage text as well. 2009-08-16 13:33:42 +02:00
Moritz Bunkus
2a4999959b Added a class for deferred translation of strings. 2009-08-16 13:33:41 +02:00
Moritz Bunkus
cc0276ed83 Cosmetics. 2009-08-16 13:33:41 +02:00
Moritz Bunkus
718183d30a Basic and advanced command line parsing implemented. 2009-08-16 13:33:41 +02:00
Moritz Bunkus
0862d24e99 Fix return types. Add the usual *_cptr typedef. 2009-08-16 13:33:41 +02:00
Moritz Bunkus
0af7dd5119 Implemented a base class for easy command line parsing. 2009-08-16 13:33:40 +02:00
Moritz Bunkus
7c590c01cf The start of the property editor.
Conflicts:

	Makefile.in
2009-08-16 13:33:40 +02:00
Moritz Bunkus
7466867a02 Added the release message, bumped the version number to 2.9.8 and set the release codename. 2009-08-13 12:32:50 +02:00
Moritz Bunkus
38f06c081f Deactivate the timecode file and language inputs if a track is selected that will be appended to another track.
Fix for bug 432.
2009-08-13 12:18:52 +02:00
Moritz Bunkus
f5d7c04a78 Make the accepted value for --cluster-length consistent with its default value. 2009-08-10 21:22:38 +02:00
Moritz Bunkus
fb7a185d4d Don't add empty arguments to mkvmerge's command line for options given with "add command line options".
Fix for bug 429.
2009-08-06 12:24:51 +02:00
Moritz Bunkus
a342ae89c4 Command line options dialog: made the drop down read only and moved the "command line options" input to the bottom.
Part of a fix for bug 429.
2009-08-06 12:16:28 +02:00
Moritz Bunkus
b9e54232fb Match the tooltips in mmg to mkvmerge's actual limits regarding --cluster-length. 2009-08-06 11:55:05 +02:00
Moritz Bunkus
08a782a5fc Make the code easier to read. 2009-08-06 11:49:45 +02:00
Moritz Bunkus
504aef493e Made the tooltip for 'delay' more accurate.
Fix for bug 430.
2009-08-06 11:28:22 +02:00
Moritz Bunkus
8b99cc894a Fix compilation with mingw & wxWidgets 2.8.10. 2009-08-06 11:13:42 +02:00
Moritz Bunkus
3dfb7dd855 Use the fast file scan for analyzing Matroska files. 2009-07-31 13:22:34 +02:00
Moritz Bunkus
c19d0ceea6 Derive the element sizes from the position of the following element or the file's total size in case of the last element during a fast file scan. 2009-07-31 13:22:18 +02:00
Moritz Bunkus
441c185b55 Cache file positions at which elements have already been found instead of looping through the full list each and every time. 2009-07-31 12:53:59 +02:00
Moritz Bunkus
837dd684a0 Changed API from a boolean parameter to an enum for more clarity. 2009-07-31 12:21:58 +02:00
Moritz Bunkus
bebc5ddba2 Fix mandatory elements for segment info and segment track elements before saving. 2009-07-30 22:41:29 +02:00
Moritz Bunkus
0e045ba882 Set the "LC_MESSAGES" environment variable on Mac OS X.
The gettext library uses the current value of LC_MESSAGES on Mac OS X
instead of the locale set by "setlocale()".
2009-07-23 15:34:57 +02:00
Moritz Bunkus
c8d18c6674 Do not try to access beyound the end of the buffer. 2009-07-16 21:05:24 +02:00
Moritz Bunkus
b98128234d Select the correct entry in the 'default track' drop down box if the file identification output contains the previous 'default track' flags. 2009-07-16 20:44:38 +02:00
Moritz Bunkus
2ca1afa943 Honour the 'default track' set as it it set in the source containers -- even if it is off for all tracks of a kind. 2009-07-16 20:24:14 +02:00