Commit Graph

15477 Commits

Author SHA1 Message Date
Moritz Bunkus
046bba381e
macOS: register file types on installation for "open with" handling 2023-05-05 11:24:52 +02:00
Moritz Bunkus
b11268e2e6
GUI: remove superfluous import 2023-05-05 11:22:55 +02:00
Burak Yavuz
9ac5eb54b4
program translations: update Turkish 2023-05-04 18:12:46 +02:00
Timofey Lisunov
d928a21ba6
program translations: update Russian 2023-05-04 18:12:41 +02:00
Roberto Boriotti
3e0a92818c
program translations: update Italian 2023-05-04 18:12:33 +02:00
TMTisFree
155ccfa59c
program translations: update French 2023-05-04 18:12:28 +02:00
Israel Lucas Torrijos
0ea9479e8d
program translations: update Spanish 2023-05-04 18:12:23 +02:00
Antoni Bella Pérez
9fc5ec7ce9
program translations: update Catalan 2023-05-04 18:12:16 +02:00
Antoni Bella Pérez
e44d8fb962
man page translations: update Catalan 2023-05-04 18:12:07 +02:00
Moritz Bunkus
7e35307621
translations: update list of translatable strings; update German translation 2023-05-04 18:08:19 +02:00
Moritz Bunkus
1ebf6f23d8
GUI: Windows: always use custom light & dark palettes & let user chose which to use
This unifies color handling on Windows. First of all, it uses slightly
modified palettes directly from Qt 6.5.0, keeping the fix for the
barely legible dark blue links in dark mode. The light palette is
unmodified.

Second, this adds an option in the preferences, letting the user chose
which palette to apply: either the light one, the dark one, or one
based on system settings.

The system settings now only take this flag into account, nothing
else (e.g. not high contrast settings).

The logic which palette is used is rather simple:

• If the user has selected either light or dark in MKVToolNix GUI's
  settings, use that one.

• Otherwise look at the application color mode registry key & derive
  which palette to use from it.

Fixes #3528.
2023-05-04 18:00:15 +02:00
Moritz Bunkus
1475919f46
mkvmerge: JSON identification: report cropping even if some values 0
Fixes #3534.
2023-05-04 01:28:33 +02:00
Moritz Bunkus
85862c4515
remove superfluous includes 2023-05-04 01:17:53 +02:00
Moritz Bunkus
c9836d5938
GUI: mux: adjust default file colors
1. Add gray
2. Leave out the darkest ones as they're hard to distinguish from each
   other

See #3533.
2023-05-03 20:54:07 +02:00
Moritz Bunkus
c50ae82e66
GUI: language dialog: re-initialize component controls on opening dialog properly
When following these steps:

1. select multiple tracks
2. open language dialog
3. select anything in the drop-down boxes or enter something in the
   line edits
4. hit cancel
5. open the language dialog again

the values selected/entered in step 3 were still selected, even if the
multiple selected tracks had different languages. Additionally the
state of the dialog was always that the value is invalid.

This wasn't intentional; the controls should all be reset to having
nothing selected/entered.

This could also happen under certain circumstances with single
selections.

Part of the fix of #3532.
2023-05-03 11:49:40 +02:00
Moritz Bunkus
55d9514c8c
GUI: language dialog: fix enabling component controls on opening dialog
This only happened when the GUI was configured to have the
component-based controls active when opening the dialog. It could be
triggered by first opening the dialog, selecting the free-form based
editing (here's where the controls got deactivated, closing the dialog
& opening it again (and here they weren't enabled).

Part of the fix of #3532.
2023-05-03 11:40:39 +02:00
Moritz Bunkus
2bc68a4005
fix compilation on systems other than Windows 2023-05-02 16:01:54 +02:00
Moritz Bunkus
bf6c03fee9
translations: update list of translatable strings; update German translation 2023-05-02 15:49:01 +02:00
Moritz Bunkus
0d94e7996e
GUI: add "force legacy dark mode" option on Windows 11
Due to a bug in Qt 6.5.0 the dark palette will not be enabled on
certain installations. For those situations a new option was added to
the preferences called "Force the use of the legacy dark palette"
which forces MKVToolNix GUI to use the legacy dark palette, no matter
what Windows 11's application color mode is set to. This option will
be removed once the bug in Qt has been fixed.

This is a workaround for #3528.
2023-05-02 15:45:22 +02:00
Moritz Bunkus
cc1a6bbfd6
GUI: system info: add info about Windows' high contrast mode
See #3528
2023-05-02 14:16:10 +02:00
Moritz Bunkus
fcb53ae6b2
GUI: system info: fix name of light mode registry settings
Useful for debugging issues with themes such as #3528.
2023-05-02 12:04:55 +02:00
Moritz Bunkus
607824b690
GUI: use new common "saveTextToFile" function 2023-05-01 14:25:41 +02:00
Moritz Bunkus
bb8a0e9c8a
GUI: system info: add function for saving to a text file
Useful for debugging issues with themes such as #3528.
2023-05-01 14:16:03 +02:00
Moritz Bunkus
9ea2a9913a
GUI: system info: add more environment variables
Useful for debugging issues with themes such as #3528.
2023-05-01 10:13:41 +02:00
Moritz Bunkus
c2dfdfd6dc
GUI: system info: add "app light mode" from registry on Windows
Useful for debugging issues with themes such as #3528.
2023-05-01 10:13:41 +02:00
Moritz Bunkus
edc955655f
GUI: system info: add original command-line arguments
Useful for debugging issues with themes such as #3528.
2023-05-01 09:50:06 +02:00
Moritz Bunkus
35389be138
GUI: Windows 11: use custom light blue for links for dark mode
Qt 6.5.0 uses the default dark blue which is very hard to read on dark
gray/black background. See https://bugreports.qt.io/browse/QTBUG-113305
2023-04-30 20:43:53 +02:00
Moritz Bunkus
a9e8119fb2
GUI: preferences: remove "disable dark style sheet" checkbox
There's no functionality left behind it.
2023-04-30 20:15:24 +02:00
Moritz Bunkus
f043f622d1
packaging: fix guessing distro by parsing /etc/lsb-release 2023-04-30 18:32:19 +02:00
Moritz Bunkus
b8beb2e72a
packaging: map LinuxMint Vera (21.1) & Victoria (21.2) to Vanessa (21) 2023-04-30 18:32:00 +02:00
Moritz Bunkus
59a6693941
tests: fix version number test
The version number is now only two components long.
2023-04-30 14:19:36 +02:00
Moritz Bunkus
346a4e0517
bump version number, set release code name 2023-04-30 12:26:55 +02:00
Moritz Bunkus
56d5a0da61
NEWS: re-order for easier consumption 2023-04-30 12:22:49 +02:00
Timofey Lisunov
c60b91a16b
program translations: update Russian 2023-04-30 11:27:47 +02:00
Fúlvio Alves
deada9d2cf
program translations: update Brazilian Portuguese 2023-04-30 11:27:33 +02:00
Antoni Bella Pérez
528741bf66
program translations: update Catalan 2023-04-30 11:27:22 +02:00
Antoni Bella Pérez
3081621837
man page translations: update Catalan 2023-04-30 11:27:15 +02:00
Moritz Bunkus
3e38fc4bc4
MP4 reader: copy comment & encoder meta data as global tags
Part of the implementation of #3475.
2023-04-10 17:04:43 +02:00
Moritz Bunkus
b753723b26
MP4 reader: copy title/movie name as segment title
Part of the implementation of #3475.
2023-04-10 16:35:42 +02:00
Moritz Bunkus
290038e470
merge: move code setting segment title to shared function 2023-04-10 16:22:20 +02:00
Moritz Bunkus
924a66a88b
GUI: cache language dialog after first use
Creating a new instance takes a noticeable amount of time for setting
up the all the combo boxes which have more than 10.000 entries in
total. This commit changes the behavior so that the dialog is only
created once: the first time the user wants to edit a
language. Afterwards the instance is cached & reused.

Changes to the preferences that alter the settings concerning the
language dialog will cause the cached instance to be discarded.
2023-04-10 15:51:22 +02:00
Moritz Bunkus
553c862916
GUI: merge: directly toggle/activate controls on double-clicks in "tracks" view
Implements #3513.
2023-04-10 15:02:01 +02:00
Moritz Bunkus
611c900b2d
GUI: Windows: restore custom palette-based dark mode for Windows 10
Qt 6.5.0 does not support Windows' dark mode on Windows 10
itself. Therefore my custom palette-based variant must be used there.

On Windows 11 it is left to Qt.

The option for disabling the dark mode remains removed as it isn't
possible to disable it in Qt on Windows 11 anymore.

Fixes #3517. See also #3264.
2023-04-08 22:44:17 +02:00
Moritz Bunkus
e3ca0a8776
GUI: system information: add more Qt-specific environment variables 2023-04-08 22:44:17 +02:00
Moritz Bunkus
70c3438741
AC-3: skip garbage starting with 0x01 0x10
This type of garbage seems to exist before each (most?) sync
frames. ffmpeg contains the same type of code. I'm not sure what this
garbage is supposed to be.

Fixes #3484.
2023-04-08 19:59:53 +02:00
Moritz Bunkus
552e9c78b7
man page translations: update list of translatable strings; update German translation 2023-04-08 17:36:39 +02:00
Moritz Bunkus
d6c876ae65
man pages: remove description of removed option --blockadd
Part of the implementation of #3511.
2023-04-08 17:36:13 +02:00
Dian Li
82cd44fc6a
program translations: update Chinese Simplified (China) 2023-04-08 17:35:33 +02:00
Andrei Stepanov
fae0baefd5
program translations: update Russian 2023-04-08 17:35:24 +02:00
Roberto Boriotti
d8da2a2d4e
program translations: update Italian 2023-04-08 17:35:11 +02:00