Commit Graph

3017 Commits

Author SHA1 Message Date
Moritz Bunkus
96cf092850 Removed support for gcc v2.x style dependency information
gcc v2.x will no longer be supported.
2009-02-26 19:58:16 +01:00
Moritz Bunkus
52ea7037ab Improved fix for compilation with wxWidgets 2.9
wxWidgets 2.8 defines file dialog enums as wxFD_... while 2.6 used wx_...
This patch detects whether or not the wxFD_... enums are available and
uses them; otherwise the old enums are used.
2009-02-26 16:21:40 +01:00
Moritz Bunkus
4cc69c777e Made the mkvinfo GUI translatable
Made the GUI translatable and added a German translation for it.
2009-02-26 01:13:31 +01:00
Moritz Bunkus
1450b61dac Output debugging messages about locales at level 4
Otherwise the mkvinfo output will contain them as using
multiple -v is often done.
2009-02-26 01:12:24 +01:00
Moritz Bunkus
e8fbf923ba Preparations for the translation of mkvinfo 2009-02-25 23:31:15 +01:00
Moritz Bunkus
9cfe9298d9 Use wxBitmapComboBoxes instead of wxComboBoxes on Linux with wxWidgets 2.8.0 and newer
On Linux wxWidgets 2.8.0 and newer uses the GTK combo boxes which suck. A lot.
Therefore mmg uses wxBitmapComboBoxes for wxWidgets >= 2.8.0 on Linux and normal
wxComboBoxes in all other cases. wxBitmapComboBoxes are still drawn by wxWidgets
itself (just like wxComboBoxes before 2.8.0) and offer much better functionality.
Fix for bug 339.
2009-02-25 22:40:12 +01:00
Moritz Bunkus
0e13f24db6 Update to the ChangeLog
Added fix for bug 340.
2009-02-25 19:20:11 +01:00
Moritz Bunkus
bb39519a7e Various fixes for compilation with wxWidgets 2.9. 2009-02-25 18:35:07 +01:00
Moritz Bunkus
dff9e1222e Use magic_buffer() and my own file access class for MIME type detection
As I am not sure how magic_file() access files on Windows I am
switching to using my own file access class. That way paths with
non-ASCII chars should work fine even in non-UTF-8 encoded
environments. Hopefully a fix for bug 340.
2009-02-25 18:24:20 +01:00
Moritz Bunkus
56fb138489 Only check for windres during cross-builds
windres is not needed for non-Windows builds and should
therefore only be checked if we are cross-compiling.
Otherwise warnings or errors could confuse the user.
2009-02-25 15:50:19 +01:00
Moritz Bunkus
3b82fc8711 Let configure find the windres tool
The windres tool used for cross-compiled mingw builds
should be detected by configure. Until now it was assumed
that it was simply called "windres" and not prefixed
like the other compiler components (e.g. i386-mingw32msvc-gcc).
2009-02-25 15:35:06 +01:00
Moritz Bunkus
dcd1146139 Merge branch 'master' of ssh://git.bunkus.org/~/mkvtoolnix 2009-02-24 23:39:36 +01:00
Moritz Bunkus
4d76f7d0c3 Fixes for compilation with wxWidgets 2.9.
The previous fix converted a macro in the wrong way because
it would lead to objects passed through ... in a printf-like
function.
2009-02-24 23:23:38 +01:00
Moritz Bunkus
85eb263769 Revert "Fixes for compilation with wxWidgets 2.9."
This reverts commit 0cd505a97d.
2009-02-24 23:10:22 +01:00
Moritz Bunkus
53b96354eb Merge branch 'master' of ssh://git.bunkus.org/~/mkvtoolnix 2009-02-24 23:00:12 +01:00
Moritz Bunkus
6d9619db4b Merge branch 'master' of ssh://git.bunkus.org/~/mkvtoolnix 2009-02-24 22:59:23 +01:00
Moritz Bunkus
0cd505a97d Fixes for compilation with wxWidgets 2.9. 2009-02-24 22:59:13 +01:00
Moritz Bunkus
4181c29e3f "make update-po" for d2b8066c96 2009-02-24 21:08:59 +01:00
Moritz Bunkus
d2b8066c96 Add codeset to locale on non-Windows systems
The call to setlocale() should contain the current codeset (e.g. en_US.UTF-8) instead
of just the language and territory (en_US). Otherwise the user would have to have
loacles generated for "en_US" as well which is often not the case with newer Linux
distributions (e.g. Ubuntu 8.10). Fix for bug 338.
2009-02-24 19:18:24 +01:00
Moritz Bunkus
57d853188e Release v2.5.1
Added the release message, set the release code name and the version number.
2009-02-22 14:59:55 +01:00
Moritz Bunkus
d90e1e05e4 Merge branch 'master' of ssh://git.bunkus.org/~/mkvtoolnix 2009-02-22 14:56:53 +01:00
Moritz Bunkus
8f907a2d54 Fixes for using translations on Windows
1. Setting the LANG environment variable is not enough because
the user might have set LC_MESSAGES himself. While this does
not affect Windows itself it does affect apps ported from Linux,
e.g. GTK. So the LC_MESSAGES variable has to be set, too.
2. Use two-letter language codes for setting LC_MESSAGES and
LANG on Windows, too, because other apps like GTK want it that
way.
2009-02-22 14:56:39 +01:00
Moritz Bunkus
9a99c433f5 Made the muxing window wider
Made the muxing window wider so that the long messages are
easier to read.
2009-02-22 11:40:39 +01:00
Moritz Bunkus
681fc96e94 Released v2.5.0.
Bumped the version number, added the release message, set the
release codename.
2009-02-21 19:06:46 +01:00
Moritz Bunkus
0e40ad966e Removed superfluous format specifier
The string contained four format specifies but only three arguments.
Possibly a fix for bugs 335 and 336.
2009-02-21 16:07:57 +01:00
Moritz Bunkus
94314a6bd1 Added translation file to RPM package definition 2009-02-19 21:30:28 +01:00
Moritz Bunkus
ae6ed71a00 An update to the ChangeLog. 2009-02-19 00:09:47 +01:00
Moritz Bunkus
e473cf5733 Added support for selectively copying attached files in mmg
Added controls on the "attachments" page so that the user can
select which existing attached files he wants copied into the
output file. Removed the checkbox for "no attachments" from the
"input" page.
2009-02-19 00:07:32 +01:00
Moritz Bunkus
d52c7bed45 Do not write headers to .po files
Do not let xgettext write the header (msgstr ""...) to the .po files
so that the header will not be duplicated each time "make update-po"
is called.
2009-02-18 23:58:49 +01:00
Moritz Bunkus
949cc57acb Cosmetics 2009-02-16 20:06:11 +01:00
Moritz Bunkus
88115d93da Do not store full structs in vectors
Store pointers (counted pointers) to the structs instead.
2009-02-16 20:06:11 +01:00
Moritz Bunkus
a27f36b899 Changed counted_ptr<> typedef names
The other parts of mkvtoolnix use the postfix "_cptr" for
typedefs from counted_ptr<>s, so do that in mmg as well.
2009-02-16 20:06:11 +01:00
Moritz Bunkus
fa0caec0bc Reordered GUI items on attachments tab
Reordered the GUI items on the attachments tab to make more
space at the top. This will be used for an additional list box
for the attachments read from source files.
2009-02-16 20:06:11 +01:00
Moritz Bunkus
988ea9cc58 Added support for copying attachments selectively
Attachments are now included in the output of --identify. They
can be selected just like the other track types. The option used
for them is -m / --attachments and disabled with -M / --no-attachments.
2009-02-16 20:06:10 +01:00
Moritz Bunkus
a2b7d6b28c Removed compatibility code
mkvtoolnix requires wxWidgets 2.6.0 or later by configure check anyway,
so there is no need to check for 2.4.2 in the source code.
2009-02-16 20:05:58 +01:00
Moritz Bunkus
c473941531 Remove all installed files and directories during uninstallation
Always try to remove the "jobs" subdirectory so that no empty
directory remains. Fix for bug 334. Remove the new DLLs libiconv-2.dll
and libintl-8.dll during uninstallation as well.
2009-02-13 18:41:04 +01:00
Moritz Bunkus
277a3b9a09 Fixed wrong markup and unbreakable long lines in man pages
An URL macro (.UR) must be closed with .UE. The URLs themselves
should be breakable after each slash.
2009-02-12 16:25:25 +01:00
Moritz Bunkus
e08435900c mmg: Get default locale if none has been selected yet
Get the default locale if none has been saved yet so that the preferences
dialog shows the correct one as selected. Do not compile the locale code
if libintl.h is not available. Add debug output for the language selection
logic.
2009-02-11 00:35:44 +01:00
Moritz Bunkus
43cf1e2f54 Fix for compilation without libintl.h; always write the language to the settings file
The UI language should always be written to the preferences file/registry
regardless of whehter it has been changed or not. Also do not include code
and variables for locale handling if mkvtoolnix isn't being compiled with
libintl.h support.'
2009-02-10 22:58:51 +01:00
Moritz Bunkus
154c5b0503 Added the interface language to mkvmerge's command line
The interface language selected in mmg must be inserted into
mkvmerge's command line. Otherwise it will use the environment's
default language.
2009-02-10 22:38:45 +01:00
Moritz Bunkus
bdacad95bf Added interface language setting to mmg
mmg's preferences window now knows an option for selecting the interface
language.
2009-02-10 22:35:09 +01:00
Moritz Bunkus
d82ded5d62 Set default locale on saved choice or environment
Guess the default locale from the envinroment (GetLocaleInfo() on Windows and
the setlocale() on Linux/Unix) or from the saved settings for mmg.
2009-02-10 21:26:09 +01:00
Moritz Bunkus
a286a51927 Include German translation in Debian packages
The German translation file must be listed in the install file
for Debian/Ubuntu packages or it will not be installed.
2009-02-09 23:21:10 +01:00
Moritz Bunkus
2f00be72b9 Relly made mmg's tooltips translatable
The TIP() macro must call gettext() somehow, in this case via the Z() macro.
Otherwise the tooltips are not translated during execution.
2009-02-09 23:20:32 +01:00
Moritz Bunkus
7b0858067d Made the tooltips translatable
All tooltips used by mmg are now translatable and translated to German.
2009-02-09 22:40:27 +01:00
Moritz Bunkus
5468872d6c Added gettext libs and German translation to installer
Added the new and changed libraries needed for gettext. Removed old
copies of the libraries that are no longer needed or provided by
the new ones. Added the German translation file to the installer.
2009-02-08 23:27:25 +01:00
Moritz Bunkus
8ecf19e8cb Made the translation system work on Windows
Windows uses full language names like "German" as the locale.
Furthermore, set_locale() does not support LC_MESSAGES on Windows
(the constant is defined but the API call returns an error).
Work around that by setting environment variables that gettext()
evaluates.
2009-02-08 22:50:30 +01:00
Moritz Bunkus
5d2943d34f Updated German translations 2009-02-08 18:02:26 +01:00
Moritz Bunkus
bb610702b6 Wrong variable filled, therefore wrong configure output
The "opt_features_no" variable should not be filled with
content from "opt_features_yes".
2009-02-08 17:06:04 +01:00
Moritz Bunkus
4a71e50946 Added an option for selecting the translations to use
Added the option "--ui-language" so that the translations used can be
selected either with the usual environment variables (LANG, LC_MESSAGS,
LC_ALL) or with this option.
2009-02-08 16:18:36 +01:00