Commit Graph

14592 Commits

Author SHA1 Message Date
Moritz Bunkus
20437cb0f6
build system: move file download handling to dedicated module 2021-07-17 12:26:48 +02:00
Moritz Bunkus
df8db2a328
BCP 47: don't compare code to language names when looking up ISO 639 languages
There are several problems with comparing the language name as well:

1. The regular expression used to match user input against the general
   structure of BCP 47 tags only allows two or three letters for the
   language code. This means that language name lookups only worked
   for languages whose names were two or three letters long.

2. There are overlaps between ISO 639 codes and language names. For
   example, the language "Irish" has an 639-2 alpha-2 code of "ga",
   which happens to be identical to the name of the language "Ga",
   creating ambiguity.

3. It was never intended for the user to enter language names when
   specifying languages anyway.
2021-07-15 23:10:41 +02:00
Moritz Bunkus
862e38e54a
NEWS: re-word updates to list of valid subtags for BCP 47 language tags 2021-07-15 19:44:02 +02:00
Moritz Bunkus
3411605953
ISO 15924: update script list 2021-07-15 19:43:27 +02:00
Moritz Bunkus
c649427ff2
ISO 639: re-add entries only present in 639-2 but not 639-3 2021-07-15 19:35:29 +02:00
Moritz Bunkus
1bc531fb6b
update IANA language subtag registry 2021-07-15 18:11:38 +02:00
Moritz Bunkus
cf3fa3c86f
tests: add case for 2bd6bd28 / issue #3162 2021-07-15 15:34:28 +02:00
Moritz Bunkus
6867ba1db0
new_test: fix support for four-digit test case numbers 2021-07-15 15:32:55 +02:00
Moritz Bunkus
2bd6bd2864
HEVC parser: catch exceptions when parsing invalid VPS & SPS NALUs
Fixes #3162.
2021-07-15 15:29:58 +02:00
Burak Yavuz
b7e0531748
translations: update Turkish 2021-07-15 14:28:49 +02:00
Andrei Stepanov
cf05234f0f
translations: update Russian 2021-07-15 14:28:41 +02:00
Fúlvio Alves
e782a59600
translations: update Brazilian Portuguese 2021-07-15 14:28:35 +02:00
Roberto Boriotti
84f3fcb43a
translations: update Italian 2021-07-15 14:28:27 +02:00
TMTisFree
7b79f5f599
translations: update French 2021-07-15 14:26:03 +02:00
Moritz Bunkus
4191f40578
mkvmerge man page: fix enumeration 2021-07-15 14:22:28 +02:00
Moritz Bunkus
0474897c1b
ISO 639: update language list 2021-07-14 23:22:13 +02:00
Moritz Bunkus
50505d3d1b
ISO 639: generate language list directly from latest ISO lists 2021-07-14 22:52:56 +02:00
Moritz Bunkus
a351d7629f
BCP 47: fixed/fully implemented prefix matching 2021-07-14 21:59:02 +02:00
Moritz Bunkus
dc79a0e921
translations: update list of translatable strings; update German translation 2021-07-12 22:37:26 +02:00
Moritz Bunkus
bb63076f9a
GUI: mux: add/enable keyboard shortcuts for all language display widgets 2021-07-12 22:36:30 +02:00
Israel Lucas Torrijos
3f3b72355b
translations: update Spanish 2021-07-12 21:43:51 +02:00
Andrei Stepanov
6d1b24bdf3
man page translations: update Russian 2021-07-12 21:43:43 +02:00
TMTisFree
4e21aaa4ce
man page translations: update French 2021-07-12 21:43:36 +02:00
Israel Lucas Torrijos
f78d5d1c75
man page translations: update Spanish 2021-07-12 21:43:29 +02:00
Moritz Bunkus
05f8c0fa09
GUI: mux: move language widget buddy handling to language display widget 2021-07-12 21:35:12 +02:00
Moritz Bunkus
3a9358ec09
GUI: mux: open language dialog when pressing track language label's shortcut 2021-07-12 21:16:50 +02:00
Alex James
a202ad95a0
build system: avoid using LLD on macOS
LLD on macOS cannot successfully link MKVToolNix.
2021-07-11 15:53:15 -05:00
Alex James
8c91bf668a
Qt 6 check: remove $(EXPORT_ARCH_ARGS) from CFLAGS
This fixes compilation with Qt 6 on macOS.
2021-07-11 15:18:13 -05:00
Moritz Bunkus
164e51f7d7
GUI: mux: don't double-escape mkvmerge exe in "Show command-line" dialog
Fixes #3164.
2021-07-11 11:37:07 +02:00
Moritz Bunkus
fb7ff32d3d
BCP 47: support for "user-defined" country codes AA, QM–QZ, XA–XZ, ZZ 2021-07-11 11:22:41 +02:00
Moritz Bunkus
4892ed9e93
BCP 47: fix validation of extended language & variant subtags against prefixes
For example: the extended language subtag `1996` is valid for the `de`
prefix. This means that both a simple `de-1996` (primary language +
extended language) and the more complex `de-Latn-CH-1996` (primary
language + script + country + extended language) are valid.
2021-07-11 11:06:40 +02:00
Moritz Bunkus
07662bd0ac
GUI: fix legacy MIME type for font collections 2021-07-10 18:56:34 +02:00
Antoni Bella Pérez
1a338f4fd7
man page translations: update Catalan 2021-07-10 18:43:09 +02:00
Moritz Bunkus
c919271131
NEWS: cosmetics 2021-07-10 18:29:53 +02:00
Moritz Bunkus
96a013f4ae
macOS packaging: fix library paths in all executables
Needed since even the command-line utilities use Qt.

Fixes #3161.
2021-07-10 18:29:32 +02:00
Moritz Bunkus
8d08c82c6e
bump version number, set release code name 2021-07-10 12:31:42 +02:00
Moritz Bunkus
af9c55ca57
NEWS: re-order for easier consumption 2021-07-10 12:23:27 +02:00
Moritz Bunkus
5d47c56cc6
man page translations: update list of translatable strings; update German translation 2021-07-10 11:54:43 +02:00
Moritz Bunkus
2357ca34d9
man pages: clarify: mkvmerge only looks for additional parts for MPEG program streams 2021-07-10 11:52:47 +02:00
Burak Yavuz
04f4ae22e4
translations: update Turkish 2021-07-10 11:50:17 +02:00
Israel Lucas Torrijos
899be515c8
translations: update Spanish 2021-07-10 11:50:10 +02:00
Симеон Цветков
c449990d4b
translations: update Bulgarian 2021-07-10 11:50:04 +02:00
Yoshidumi, Rentaro
9bedf0ba00
man page translations: update Japanese 2021-07-10 11:49:53 +02:00
Симеон Цветков
8f6edd7f23
man page translations: update Bulgarian 2021-07-10 11:49:31 +02:00
Moritz Bunkus
4342cc89c3
Debian packaging: compile with clang on Debian 11 Bullseye
The next stable release of Debian, version 11 "Bullseye", will ship
with a gcc version that produces an "internal compiler error"
segmentation fault when compiling current versions of MKVToolNix. This
error has been fixed in gcc upstream as well as the gcc in Debian
testing, but it won't be backported to the one in Bullseye.

There are two possible workarounds:

1. Compile with clang instead (this is what this commit does)
2. Compile with gcc 9 which Bullseye also ships

As I've been using clang in parallel to gcc for years, I've opted to
compile with it instead of the older gcc 9 for Bullseye.

Ubuntu releases don't suffer from this issue:

* 20.04 comes with gcc 9.3.0
* 20.10 & 21.04 come with gcc 10.3
2021-07-10 11:40:42 +02:00
Moritz Bunkus
8cd0dea492
tests: add option for showing how long each test took 2021-07-07 16:16:23 +02:00
Moritz Bunkus
640a0ba0a6
tests: convert to four-digit numbers 2021-07-07 16:10:13 +02:00
Moritz Bunkus
fd7b72b7e2
extract TTA: close all open file handles before trying to remove file 2021-07-07 15:59:21 +02:00
Moritz Bunkus
3e8c1bda2c
tests: 717: fix running on Windows 2021-07-07 15:32:05 +02:00
Moritz Bunkus
0ad0a07224
tests: skip 710 on Windows 2021-07-07 15:30:43 +02:00