The action "remove all files" must also clear the list of attached files.
The action "File" -> "New" must clear the internal list of attached files
as well as the GUI component.
wxWidgets 2.9 distributes space according to a widget's
natural width. That resulted in the language drop down to become
so wide that the charset drop down did not fit into the window
anymore. By setting the minimum width of both combo boxes equal
both get equal shares of the available space resulting in proper
display.
Do not require a separate "make depend" step. Especially as
new dependencies are not picked up until the next "make depend".
Use gcc's capability to calculate dependencies during
compilation.
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.
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.
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.
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.
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).
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.
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.
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.
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.
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.
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.
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.
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.'