Commit Graph

14282 Commits

Author SHA1 Message Date
Roberto Boriotti
db8146006c
translations: update Italian 2021-06-29 16:43:07 +02:00
TMTisFree
f237df4e7d
translations: update French 2021-06-29 16:43:01 +02:00
Israel Lucas Torrijos
521ac058b2
translations: update Spanish 2021-06-29 16:42:54 +02:00
Antoni Bella Pérez
1813edf205
translations: update Catalan 2021-06-29 16:42:43 +02:00
Симеон Цветков
198f9b3f83
translations: update Bulgarian 2021-06-29 16:42:20 +02:00
Симеон Цветков
c0f668caa8
man page translations: update Bulgarian 2021-06-29 16:42:13 +02:00
Moritz Bunkus
ba1e50e877
GUI: mux: show command line: use \ for cmd.exe, / for Linux shells
Fixes #3155.
2021-06-29 16:29:32 +02:00
Moritz Bunkus
c80a3b576b
NEWS: be more specific where to find newly added options 2021-06-27 19:14:11 +02:00
Moritz Bunkus
98fc252fa7
translations: update list of translatable strings; update German translation 2021-06-27 19:14:11 +02:00
Moritz Bunkus
450ac94fdd
GUI: prefs: make file/track colors configurable 2021-06-27 19:14:11 +02:00
Симеон Цветков
74b0e40efc
translations: update Serbian Cyrillic 2021-06-27 13:04:13 +02:00
Timofey Lisunov
387bdc5607
translations: update Russian 2021-06-27 13:04:01 +02:00
Roberto Boriotti
cde8ff7f1f
translations: update Italian 2021-06-27 13:03:52 +02:00
TMTisFree
b193b2adad
translations: update French 2021-06-27 13:03:46 +02:00
Симеон Цветков
77c24ffd86
translations: update Bulgarian 2021-06-27 13:03:36 +02:00
Симеон Цветков
ab01e8f346
man page translations: update Bulgarian 2021-06-27 13:03:30 +02:00
Moritz Bunkus
a8b1eab3dc
remove remaining occurrences of PCRE2 & JPCRE2 2021-06-27 12:53:38 +02:00
Moritz Bunkus
5b48216b27
convert usage of JPCRE2/PCRE2 to QRegularExpression, part 5 2021-06-27 12:48:13 +02:00
Moritz Bunkus
b7f90d744d
GUI: mux: show colored boxes to indicate which file each track comes from 2021-06-26 23:55:07 +02:00
Moritz Bunkus
ebc9d29e02
convert usage of JPCRE2/PCRE2 to QRegularExpression, part 4 2021-06-26 21:02:31 +02:00
Moritz Bunkus
5e5ea3c3a0
convert usage of JPCRE2/PCRE2 to QRegularExpression, part 3 2021-06-26 20:01:20 +02:00
Moritz Bunkus
60bcc34579
SRT reader: reencode when reading the lines, not in the packetizer
Two advantages:

1. This way invalid UTF-8 characters will be replaced by the Unicode
   Replacement Character U+FFFD instead of keeping invalid UTF-8
   encodings in text.

2. Preparation for the conversion from (J)PCRE2 to QRegularExpression
   which requires converting between UTF-8-encoded `std::string` and
   QString.
2021-06-26 19:44:09 +02:00
Moritz Bunkus
71352af1b1
convert usage of JPCRE2/PCRE2 to QRegularExpression, part 2 2021-06-26 16:53:49 +02:00
Moritz Bunkus
91edd12959
convert usage of JPCRE2/PCRE2 to QRegularExpression, part 1 2021-06-26 12:22:32 +02:00
Moritz Bunkus
16c42b5f30
translations: update list of translatable strings; update German translation 2021-06-26 11:35:04 +02:00
Burak Yavuz
826f4802b2
translations: update Turkish 2021-06-26 11:27:24 +02:00
Timofey Lisunov
9b71124f65
translations: update Russian 2021-06-26 11:27:20 +02:00
Roberto Boriotti
41d0dea1d0
translations: update Italian 2021-06-26 11:27:12 +02:00
Moritz Bunkus
98f9c4d94c
GUI: mux: detect file name sequences & append second&rest to first file
A sequence is detected as follows:

1. The current file name is split into three parts if possible: a
   prefix, a running number and a digit-less suffix.

2. If successful, the result is compared with the result of the same
   split for the previous file name. They're considered to be in
   sequence if the previous file name's prefix & suffix match the
   current file name's prefix & suffix and if the current running
   number is higher than the previous one by 1.

In such a case only the first file is added. The other files in the
same sequence will be appended to the first one.

Implements #2866.
2021-06-26 11:26:18 +02:00
Moritz Bunkus
f6c2f03048
translations: update list of translatable strings; update German translation 2021-06-25 22:22:56 +02:00
Moritz Bunkus
981515f501
GUI: mux: implement sorting files & tracks by track type when adding them
The order is: video first followed by audio, subtitles and other
types.

For files this means that a file without video tracks will be inserted
after one with one or more video tracks.

In general the files & tracks are inserted before the first
entry (file respectively track) that has a lower priority than the
entry to insert. For example, let's assume that the user has already
added one video, three audio and three subtitle tracks and they're
currently ordered as follows:

* existing video
* existing audio 1
* existing audio 2
* existing subtitles 1
* existing subtitles 2
* existing subtitles 3
* existing audio 3

When adding audio track number 4 the GUI will start comparing the
track priorities starting at the top. The first existing entry with a
priority lower than the new entry to add (a new audio track) is the
first subtitles track, "existing subtitles 1". The new order will
therefore look as follows:

* existing video
* existing audio 1
* existing audio 2
* newly added audio 4
* existing subtitles 1
* existing subtitles 2
* existing subtitles 3
* existing audio 3

This option only determines the initial order. The user can still
change the order manually as they see fit afterwards.

The option is enabled by default.

Implements #2366.
2021-06-25 22:16:36 +02:00
Burak Yavuz
2690f017ef
translations: update Turkish 2021-06-25 20:41:48 +02:00
Andrei Stepanov
20e0b07516
translations: update Russian 2021-06-25 20:41:42 +02:00
Roberto Boriotti
b15d2ac51b
translations: update Italian 2021-06-25 20:41:35 +02:00
TMTisFree
646bdb5de5
translations: update French 2021-06-25 20:41:29 +02:00
Antoni Bella Pérez
bf952ea16c
translations: update Catalan 2021-06-25 20:41:18 +02:00
Israel Lucas Torrijos
2f046191e2
translations: update Spanish 2021-06-25 20:39:04 +02:00
Israel Lucas Torrijos
f73a5ee612
man page translations: update Spanish 2021-06-25 20:38:57 +02:00
Moritz Bunkus
c02607e45b
German translation: fix typo
Fixes #3152.
2021-06-25 19:55:20 +02:00
Moritz Bunkus
701c0541af
fix compilation with fmt v8
fmt v8 currently contains a bug that causes compilation to fail if
`FMT_USE_USER_DEFINED_LITERALS` is defined to 0. This is a regression
from earlier versions. A bug has been filed against fmt:

https://github.com/fmtlib/fmt/issues/2384

MKVToolNix defined this to 0 as earlier fmt versions caused warnings
in their code dealing with user-defined literals with
`-Wpedantic`. Luckily those warnings do not occur with v8 anymore.

The fix is to test in `configure` if the fmt version we're compiling
with is v8 or older, and only to define
`FMT_USE_USER_DEFINED_LITERALS` to 0 for earlier versions.

Fixes #3151.
2021-06-25 10:40:18 +02:00
Moritz Bunkus
033d0555c4
README: update version number requirement for fmt 2021-06-25 10:40:18 +02:00
Moritz Bunkus
360e40b157
fmt: update bundled version to v8.0.0
See #3151.
2021-06-25 10:40:18 +02:00
Moritz Bunkus
c486f6e2bf
tests: intentional update due to ae7c31e 2021-06-24 23:12:40 +02:00
Moritz Bunkus
ae7c31e80e
use Qt's QDateTime instead of functions of the C & C++ standard libraries
Somewhere in the code seemed to be a conversion from to 32-bit integer
types for storing or converting from/to seconds since epoch. This
means that dates before seconds-since-epoch 0 (1970-01-01 00:00:00
UTC) or after seconds-since-epoch std::max<int32_t>() (2038-01-19
03:14:08 UTC) could not be converted to displayable strings.

Qt's QDateTime is not affected by this issue, not even on
Windows. Therefore the header editor wasn't affected as it solely used
QDateTime for all conversions, not the C & C++ standard library
functions.

This only happened on Windows.

Affected were mkvmerge (values in JSON identification mode, timestamps
in track statistics tags), mkvinfo (outputting any EBML date element),
MKVToolNix GUI's info tool (again outputting any EBML data element).

Fixes #3148.
2021-06-24 22:52:09 +02:00
Moritz Bunkus
919a7624b3
GUI: header editor: fix type description of timestamp elements 2021-06-24 22:14:42 +02:00
Moritz Bunkus
a8fa8c0141
GUI: mux: fix default for "adding dragged & dropped files" dialog 2021-06-20 20:03:47 +02:00
Moritz Bunkus
c37e281c11
GUI: settings: register all enums with Qt's meta object system 2021-06-20 20:01:34 +02:00
Moritz Bunkus
ba6080ffce
GUI: mux: re-add icons to "default track flag" column
Also remove text in same column for non-regular tracks (e.g. chapters
or tags).

Fixes #3144.
2021-06-20 16:05:01 +02:00
Moritz Bunkus
79708cb71e
translations: update list of translatable strings; update German translation 2021-06-20 13:51:33 +02:00
Fúlvio Alves
88e6908dc9
translations: update Brazilian Portuguese 2021-06-20 13:49:56 +02:00