Commit Graph

3564 Commits

Author SHA1 Message Date
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
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
3d7e3f51fe Update to the Chinese Traditional translation. 2009-08-13 11:55:17 +02:00
Moritz Bunkus
d6436e26c2 Updates to the Chinese Simplified translation. 2009-08-12 16:12:32 +02:00
Moritz Bunkus
772640e501 The man pages have been moved to another directory. 2009-08-11 10:51:08 +02:00
Moritz Bunkus
b94eac65ba Added an explicit target for the man pages. 2009-08-10 21:28:48 +02:00
Moritz Bunkus
964216ccb1 Removed the hand-written man pages from 'doc'. Added the converted man pages from 'doc/man'. 2009-08-10 21:22:42 +02:00
Moritz Bunkus
57c158cab7 Added a configure test for xsltproc and DocBook. Added make rules for converting DocBook XML to man pages. 2009-08-10 21:22:41 +02:00
Moritz Bunkus
44ebd545f0 Converted mmg's man page to DocBook XML. Fixed two refmiscentry elements ('source' and 'manual') in the rest. 2009-08-10 21:22:41 +02:00