Commit Graph

12940 Commits

Author SHA1 Message Date
Moritz Bunkus
0cf2975e4f
GUI: mux: set title from Blu-ray disc library
But only if no title has been set yet.

See also #2644.
2019-11-01 09:28:33 +01:00
Moritz Bunkus
3bf77af198
GUI: mux: add biggest thumbnail from Blu-ray disc library
Implements #2644.
2019-11-01 09:28:33 +01:00
Moritz Bunkus
ad4d9ce63b
Blu-ray parsers: implement parsing of disc library meta data 2019-11-01 08:54:43 +01:00
Moritz Bunkus
68d1f155e5
build system: require C++17 feature "nested namespace definition" 2019-10-31 18:34:04 +01:00
Moritz Bunkus
2e401e9744
NEWS: remove incomplete entry 2019-10-27 13:54:49 +01:00
Andrei Stepanov
a81f567b12
translations: update Russian 2019-10-27 13:50:53 +01:00
Moritz Bunkus
fdf1c8af20
GUI: headers: show attachments with empty name as <unnamed>
This was the intention all along, and it already worked when the name
attribute wasn't present at all.

Part of the fix of #2642.
2019-10-27 12:35:16 +01:00
Moritz Bunkus
7d69bbdad7
Matroska reader: accept attachments without a name
Part of the fix of #2642.
2019-10-27 12:26:40 +01:00
Moritz Bunkus
bbb8a49fba
GUI: Windows: don't enable dark mode if color scheme registry key doesn't exist 2019-10-21 21:05:22 +02:00
Moritz Bunkus
15988db183
fix typo 2019-10-18 09:52:09 +02:00
Jan Mazurczyk
35490ffb29
translations: update Polish 2019-10-15 20:57:55 +02:00
Danko
68ede4267f
translations: update Serbian Latin 2019-10-15 20:56:06 +02:00
Moritz Bunkus
ff761e44c4
build system: require several C++17 features
* `[[maybe_unused]]` attribute
* structured bindings
2019-10-13 13:40:19 +02:00
Moritz Bunkus
ef57b4dd3b
avoid warning about unused function parameter on macOS 2019-10-13 13:25:55 +02:00
Moritz Bunkus
208aa471f6
deb packaging: support Ubuntu 19.10 "Eoan"; drop support for older releases 2019-10-13 13:10:25 +02:00
Moritz Bunkus
b113981519
RPM spec: drop support for openSUSE 42.x 2019-10-13 11:45:33 +02:00
Moritz Bunkus
6d390b3af8
RPM spec: use devtoolset-8 on CentOS 7 2019-10-13 11:45:17 +02:00
Moritz Bunkus
64d2f5e112
GUI: Windows: add dark mode with help of QDarkStyleSheet project
The dark mode is only turned on if Windows 10's own dark mode is
enabled. This manual dark mode configuration is necessary as Qt itself
doesn't support Windows' dark mode yet; see the following bug:

https://bugreports.qt.io/browse/QTBUG-72028

This isn't a problem for other operating systems (Linux, macOS…) as Qt
uses the system colors there and will use dark colors when the
system's colors are set to dark colors, too.
2019-10-12 23:32:03 +02:00
Moritz Bunkus
8b26fb15ef
AppImage: handle ARGV0 being empty 2019-10-11 22:09:44 +02:00
Moritz Bunkus
2a83672513
AppImage: use "z" instead of "revision" in git file name
Allows sorting as intended (git revisions higher than releases) even
when simply sorting alphabetically.
2019-10-11 21:41:11 +02:00
Moritz Bunkus
5e1a2d0a77
metadata: add MIME types 2019-10-11 17:11:49 +02:00
Moritz Bunkus
662e15316a
metadata: add more URLs 2019-10-11 17:09:45 +02:00
Moritz Bunkus
154f823d0c
metadata: add categories 2019-10-11 17:09:39 +02:00
Moritz Bunkus
8ba61012a7
metadata: add information which binaries are provided by the application 2019-10-11 17:09:18 +02:00
Moritz Bunkus
04ffadab0e
metainfo: fix translation of <description> tag
The spec says that the language attribute is part of the children of
<description>, not of <description> itself.
2019-10-11 16:50:35 +02:00
Moritz Bunkus
ec80478f87
AppImage: don't use AppRun; set up environment in select-binary.sh instead
The original AppRun contains a hard-coded change to the current
working directory to the mounted installation. This made using
relative file names impossible. However, the MKVToolNix can be run
from anywhere and don't rely on the current working directory.

Fixes #2632.
2019-10-11 11:10:53 +02:00
Moritz Bunkus
c568460c1c
AppImage: fix converting git revision to version number 2019-10-11 10:46:07 +02:00
Danko
606b3750fd
translations: update Serbian Latin 2019-10-10 09:10:55 +02:00
Moritz Bunkus
8b078cb297
build system: fix configure handling of undefined behavior sanitizer arguments 2019-10-08 19:45:03 +02:00
Moritz Bunkus
0d962e30c4
build system: move flag generation to Rakefile for several features
Features include debuging, profiling, optimizations & sanitizers. The
flags don't depend on something that's actually tested, but only on
which features are enabled and which compiler & compiler version is
used. Therefore doing it in Ruby instead of sh is easier.
2019-10-08 00:44:08 +02:00
Moritz Bunkus
aa7bcc8c8f
fourcc_c: refactor byte_order_e enum to enum class
Avoids shadowing of "big_endian" and "little_endian" definitions from
libEBML.
2019-10-08 00:16:50 +02:00
Moritz Bunkus
6b8027d56d
refactor mm_text_io_c byte_order_e to byte_order_mark_e
Add "mark" suffix to all relevant function & variable names. Make enum
an enum class. Rename members from "BO_<UPPERCASE>" to "<lowercase>".
2019-10-08 00:15:34 +02:00
Moritz Bunkus
2dc28e01f0
coreaudio reader: avoid variable shadowing 2019-10-07 21:58:50 +02:00
Moritz Bunkus
63286e2ca1
mkvmerge: refactor file probing/header reading code
Before the file probing code opened the file once, did its thing, and
closed the file again. No information from that stage was available to
the header reading stage. This meant that headers had to be parsed
twice for several formats. The probing function was a static member
function, making passing information to the header reading function,
which was an instance member function, even more difficult.

After refactoring the file is only opened once. The same open file
handle is used by both the probing & the header reading
functions. Both of those functions are now instance member functions,
and the same object instance is used for both calls, allowing passing
information from the probing to the header reading stage.

Additionally this enabled the removal of a lot of boilerplate code
such as passing variables to the various probing functions or handling
exceptions in each probing function instead of in the function calling
the probes. The git diff stats confirm this rather impressively:

78 files changed, 769 insertions(+), 1778 deletions(-)

A net gain of more than 1000 lines.
2019-10-07 20:59:08 +02:00
Moritz Bunkus
544ce54907
mkvmerge: refactor generic_reader_c to store smart pointers to packetizers 2019-10-07 18:25:02 +02:00
Moritz Bunkus
b1e1bd7b6e
macOS: add script for updating specs.sh for newer Qt 2019-10-07 11:51:50 +02:00
Moritz Bunkus
42aa03c09b
macOS: update Qt to 5.13.1 2019-10-07 11:51:35 +02:00
Moritz Bunkus
e98e1c6ec5
bump version number; set release codename 2019-10-06 14:10:16 +02:00
Moritz Bunkus
e7e09fffe3
NEWS: reorder for easier consumption 2019-10-06 13:51:11 +02:00
Paride Barison
a62be58e38
translations: update Italian 2019-10-06 13:42:40 +02:00
Симеон Цветков
45200dd82f
translations: update Serbian Cyrillic 2019-10-06 13:42:30 +02:00
Moritz Bunkus
af42b83278
AAC reader: use probe range info from file type detection stage
There are files that start with garbage, and where that garbage
contains data that forms valid ADTS or LATM headers. In that case the
file type detection might detect the valid data (more than e.g. eight
consecutive valid headers of the same type with the same parameters)
starting at an offset, e.g. at position 100.000.

However, the code reading the file headers later on only looked for
the first header that passed validation, which might mean a header at
a much earlier position in the file — which only looks like a valid
header by accident. The result was wrong codec parameters.

Fixes #2622.
2019-10-06 13:31:11 +02:00
Moritz Bunkus
753a422961
mkvmerge: pass probe range info from file type detection to reader instance
Required for fixing issues with garbage at the start of the file which
might contain bogus headers (see #2622 for an example).
2019-10-06 13:20:47 +02:00
Moritz Bunkus
c3c53b6325
mkvmerge: correctly report file size for progress purposes 2019-10-06 12:52:31 +02:00
Israel Lucas Torrijos
ecd36b83f0
man page translations: update Spanish 2019-09-28 15:40:42 +02:00
Kai Mao
88ffba46b9
translations: update Chinese Traditional 2019-09-28 15:40:29 +02:00
Moritz Bunkus
6edfeaef17
tests: update due to Turkish translation updates 2019-09-28 15:40:14 +02:00
Burak Yavuz
d717ea8185
translations: update Turkish 2019-09-28 15:40:10 +02:00
Симеон Цветков
28bc47bb87
translations: update Serbian Cyrillic 2019-09-28 15:40:03 +02:00
TMTisFree
4c9201360e
translations: update French 2019-09-28 15:39:50 +02:00