Commit Graph

3733 Commits

Author SHA1 Message Date
Moritz Bunkus
944b88770b Updates to the Japanese and Chinese Traditional translations. 2009-08-18 19:37:32 +02:00
Moritz Bunkus
0d340207b0 Made the std::wstring version of format_paragraph() public. 2009-08-18 19:37:20 +02:00
Moritz Bunkus
fa0427a4cc Use std::wstrings internally for formatting paragraphs. 2009-08-18 19:33:30 +02:00
Moritz Bunkus
743eb3816e Added the UTF8-CPP project and functions for converting between UTF-8 encoded std::strings and std::wstrings. 2009-08-18 19:33:17 +02:00
Moritz Bunkus
cde82e4ba7 mmg's file open dialogs: Add all extensions in upper case, too.
This is important because often file extensions are all upper case,
e.g. for files from DVDs. Fix for bug 433.
2009-08-18 18:55:57 +02:00
Moritz Bunkus
bd86697a61 Moved the directories 'librmff' and 'avilib-0.6.10' to a common subdirectory 'lib'. 2009-08-18 11:29:48 +02:00
Moritz Bunkus
0a03710996 Remember the selected locale. 2009-08-17 22:10:19 +02:00
Moritz Bunkus
b23eba76b6 Initialize debugging options from the MKVTOOLNIX_DEBUG environment variable as soon as possible.
That way debugging stuff that happens before handle_common_cli_args()
can work (e.g. locale functions).
2009-08-17 22:04:34 +02:00
Moritz Bunkus
58feaa395b Moved common initialization code to a common function. 2009-08-17 21:46:40 +02:00
Moritz Bunkus
c913b2f52c Initialize the global charset converter with a dummy so that text output with mxmsg() works before the locale is initialized. 2009-08-17 21:01:22 +02:00
Moritz Bunkus
7afb6bf704 Removed the 'init_stdio()' function. 2009-08-17 20:51:45 +02:00
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