Commit Graph

3572 Commits

Author SHA1 Message Date
Moritz Bunkus
96eb004720 The default value for the ChapterLanguage element is "eng" and not "und". 2009-08-16 21:05:42 +02:00
Moritz Bunkus
0cfb94b1ff Added a link to the documentation for mkvpropedit in the start menu. 2009-08-16 19:40:00 +02:00
Moritz Bunkus
daa3a60f0a Fix for compilation with mingw due to libebml's headers #defining 'min'. 2009-08-16 19:19:50 +02:00
Moritz Bunkus
bc66c14cb8 New strings from mkvpropedit added to the translation files. Updated the German translation. 2009-08-16 14:05:40 +02:00
Moritz Bunkus
82d0172479 Missing newline at the end of a message. 2009-08-16 14:05:11 +02:00
Moritz Bunkus
b1279a8a8a Added a message about the new tool. 2009-08-16 13:37:13 +02:00
Moritz Bunkus
9f1c75ad0a And the man page itself for mkvpropedit. 2009-08-16 13:33:48 +02:00
Moritz Bunkus
c96f1cf464 The actual XML file for mkvpropedit. 2009-08-16 13:33:48 +02:00
Moritz Bunkus
c3f3fca8e3 Added mkvpropedit to the distro build systems. 2009-08-16 13:33:48 +02:00
Moritz Bunkus
4c6551c054 Added a man page for mkvpropedit. 2009-08-16 13:33:48 +02:00
Moritz Bunkus
73894470b0 The actions are mandatory. 2009-08-16 13:33:47 +02:00
Moritz Bunkus
783e007fc5 Implemented writing the changes back to the file. 2009-08-16 13:33:47 +02:00
Moritz Bunkus
c37cced91f Don't show the progress bar if it is turned off. 2009-08-16 13:33:47 +02:00
Moritz Bunkus
5a38b7f24a Implemented the execution of the requested changes. 2009-08-16 13:33:47 +02:00
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
c76c0185fc Ignore the mkvpropedit executables. 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
6106caf805 Fixed a spelling mistake. 2009-08-13 22:35:50 +02:00
Moritz Bunkus
e82df8f3b7 Updated the suse-mmg-rename.diff patch for the new man page location. 2009-08-13 18:59:17 +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