Commit Graph

15905 Commits

Author SHA1 Message Date
Moritz Bunkus
5430290cf1
configure: query pkg-config for flags & libraries for gtest
See #3696
2024-05-04 21:50:01 +02:00
Moritz Bunkus
7e1bea9527
replace removed std::result_of with std::invoke_result
`std::result_of` was deprecated in C++17 & removed in C++20. A lot of
compilers still make it available even when running in C++20 mode,
while others don't.

Therefore replace it with equivalent use of `std::invoke_result`.

Fixes #3695.
2024-04-30 16:05:35 +02:00
Moritz Bunkus
484f59abe3
bump version number, set release code name 2024-04-28 12:20:18 +02:00
Moritz Bunkus
fc9fed19c0
NEWS: re-order for easier consumption 2024-04-28 12:06:27 +02:00
Andrei Stepanov
fab8e02bf4
program translations: update Russian 2024-04-28 12:05:07 +02:00
Roger Knutsen
27c9dba3e1
program translations: update Norwegian Bokmål 2024-04-28 12:04:35 +02:00
TMTisFree
79c271245e
program translations: update French 2024-04-28 12:03:30 +02:00
Moritz Bunkus
1ccbfac52c
MP4 reader: fix compiling without FLAC library support 2024-04-27 22:08:32 +02:00
Moritz Bunkus
317e8d0207
translations: update list of translatable strings; update German translation 2024-04-27 21:41:37 +02:00
Moritz Bunkus
29279fe348
build process: recognize FY, FNY for gettext translation 2024-04-27 21:40:51 +02:00
Moritz Bunkus
26ea4b2f3b
kax_info_c: update descriptions of field order element
Implements #3686. See Matroska specs PR
https://github.com/ietf-wg-cellar/matroska-specification/pull/819/
2024-04-27 21:21:14 +02:00
Moritz Bunkus
5721ae0b37
GUI: mux: add number of attachments in attachment tab's title
Implements #3693
2024-04-27 21:06:58 +02:00
Moritz Bunkus
593ce499e4
MP4 reader: add support for FLAC in MP4
Implements #3692
2024-04-27 20:33:21 +02:00
Moritz Bunkus
3629d4a416
FLAC packetizer: tighten constructor argument types 2024-04-27 18:43:52 +02:00
Moritz Bunkus
a893801c9a
avoid warning about comparing different enums being deprecated
Due to historical reasons the `OSType` that gets returned from
`QOperatingSystemVersion::current().type()` is not the same one as
`QOperatingSystemVersion::OSType` but a base class's
type (`QOperatingSystemVersionBase::OSType`). The Qt developers keep
both instances in sync to ensure you can compare them.

However, in C++20 comparing two `enums` of different types is
deprecated, and warnings are emitted. The Qt developers seem to be
aware of this & plan to remove one of the two types in Qt 7 but cannot
do so during 6.x as it would break at least ABI & possibly API, too.

A well-places static cast gets rid of the warning & is still safe due
to the developers keeping the values of both `enums` identical.
2024-04-24 20:37:47 +02:00
Burak Yavuz
8ff8804aa0
program translations: update Turkish 2024-04-24 20:29:14 +02:00
Andrei Stepanov
d91154adf0
man page translations: update Russian 2024-04-24 20:29:06 +02:00
Andrei Stepanov
e95d5a01d3
program translations: update Russian 2024-04-24 20:29:00 +02:00
Moritz Bunkus
64f14d689f
translations: normalize Norwegian Bokmål translation file 2024-04-24 20:28:38 +02:00
TMTisFree
86aa22517a
man page translations: update French 2024-04-24 20:28:17 +02:00
TMTisFree
e55d643d48
program translations: update French 2024-04-24 20:28:11 +02:00
Antoni Bella Pérez
7858286c99
man page translations: update Catalan 2024-04-24 20:28:03 +02:00
Antoni Bella Pérez
db850ce686
program translations: update Catalan 2024-04-24 20:27:53 +02:00
prydespar
b05b031a87
man page translations: update Belarusian 2024-04-24 20:27:47 +02:00
prydespar
2fa751651f
program translations: update Belarusian 2024-04-24 20:27:40 +02:00
Moritz Bunkus
ffd3949c58
Windows installer: add Norwegian Bokmål translation 2024-04-24 13:10:28 +02:00
Moritz Bunkus
edf71b66af
AppImage: use custom Boost instead of system one
The boost coming with AlmaLinux 8 (1.66) fails to compile in C++20
mode.
2024-04-24 12:58:09 +02:00
Moritz Bunkus
381af2d089
require a C++20 compatible compiler 2024-04-24 09:16:22 +02:00
Moritz Bunkus
bb6aa513a2
fmt: test for fmt::runtime() & require v8.0.0 or later 2024-04-24 00:02:03 +02:00
Moritz Bunkus
1d48a6235d
basic_timestamp_c: fix compilation in C++20 with gcc 13.x
Having the template argument there again results in syntax
errors. Interestingly clang++ doesn't care.
2024-04-23 21:29:56 +02:00
Moritz Bunkus
e77b7b2ba3
fix implicit capturing of this
It's deprecated in C++20.
2024-04-23 21:29:56 +02:00
Moritz Bunkus
18bd87e0ba
fix compatibility with C++20
In C++20 `std::string` is `constexpr`. Therefore `fmt::format()` tries
to check the format at compile time, requiring its first argument to
be known at compile time as well. If it isn't (e.g. when it's the
result of a function call such as `gettext()`), it must be marked as
to be checked at runtime instead.
2024-04-23 21:29:56 +02:00
Moritz Bunkus
bd91eab115
configure: check for & use C++20 if available 2024-04-23 21:29:56 +02:00
Moritz Bunkus
240fbe5d33
ISO lists: use regular string literals
With C++20 the `u8` strings are based on `char8_t`, which is a totally
different type. This breaks pretty much everything, unfortunately.
2024-04-23 21:29:56 +02:00
Moritz Bunkus
804ee85d36
remove superfluous comparisons 2024-04-23 21:29:56 +02:00
Moritz Bunkus
fa630a1f8b
add program translation to Norwegian Bokmål by Roger Knutsen 2024-04-23 21:29:56 +02:00
Moritz Bunkus
5b13f9de0e
parse & store color-related properties in uint64_t instead of int 2024-03-28 14:16:41 +01:00
Moritz Bunkus
774aa51d83
GUI: multiplexer: enable menu actions on track selection changes
The whole sub-menu & its entries are disabled initially. Before the
fix they're only enabled on opening the "multiplexer" menu. However,
as soon as a track is selected they should be available.

Fixes #3681
2024-03-24 21:37:23 +01:00
Moritz Bunkus
ce172cf8bc
configure: don't require Qt's GUI libraries when called with --disable-gui
Fixes #3680.
2024-03-24 21:09:35 +01:00
Moritz Bunkus
7fda9f37a2
tests: use deterministic IDs when regenerating track UIDs 2024-03-11 20:20:40 +01:00
Moritz Bunkus
b5177e78c2
translations: update list of translatable strings; update German translation 2024-03-11 20:00:59 +01:00
Moritz Bunkus
769d6e5b30
man page translations: update list of translatable strings; update German translation 2024-03-11 19:59:41 +01:00
Moritz Bunkus
dbe8cded6a
docs: add mkvmerge's new option '--regenerate-track-uids' 2024-03-11 19:55:27 +01:00
Moritz Bunkus
9071496381
Matroska reader: add option for regenerating track UIDs instead of keeping them
This is turned on automatically for files created by MakeMKV as
MakeMKV assigns consecutive UIDs (1, 2, 3…) instead of generating
random ones.
2024-03-11 19:46:57 +01:00
Burak Yavuz
e6bf5bec9d
program translations: update Turkish 2024-03-11 16:20:06 +01:00
Roberto Boriotti
8c30f7efc3
program translations: update Italian 2024-03-11 16:20:00 +01:00
Moritz Bunkus
c1ccae8751
appstream data: update to latest specs 2024-03-10 21:48:22 +01:00
Moritz Bunkus
633eb03043
bump version number, set release code name 2024-03-10 19:16:26 +01:00
Moritz Bunkus
348ca629ba
update NEWS 2024-03-10 19:16:09 +01:00
Moritz Bunkus
e8a29a12bf
fmt: update to 10.2.1 2024-03-10 19:15:10 +01:00