Симеон Цветков
d81d750be8
Update mkvtoolnix-doc.css (optimizations)
2020-08-22 13:10:01 +00:00
Moritz Bunkus
2a7e8784af
codec.h: avoid compiler warning about superfluous ;
2020-08-21 16:45:30 +02:00
Moritz Bunkus
bf4b0785f9
common.h: undefine more stupid preprocessor defines from libintl.h
...
libintl defines symbols such as 'fprintf', 'snprintf' or 'sprintf' to
'libintl_<original_name>' on certain platforms such as mingw or macOS.
'std::snprintf' becomes 'std::libiuntl_snprintf', which doesn't exist.
This conflicts with jpcre2.hpp which uses 'std::fprintf' and
'std::sprintf'.
2020-08-21 16:43:56 +02:00
Moritz Bunkus
860a77f33c
propedit: fix wrong regex from switch to PCRE2
2020-08-21 16:19:08 +02:00
Moritz Bunkus
889f327a63
cosmetic: fix comment alignment
2020-08-21 16:11:02 +02:00
Moritz Bunkus
b2a8630bfc
packaging: add build-requirement PCRE2
2020-08-21 15:15:23 +02:00
Moritz Bunkus
fa42d1367a
Merge branch 'f-jpcre2' into main
2020-08-21 13:26:49 +02:00
Moritz Bunkus
9355442d7b
NEWS: include note about switch from std::regex
to PCRE2
2020-08-21 13:26:28 +02:00
Moritz Bunkus
d18b3eb075
regexes: conversion from std::regex to jpcre2: remove std::regex include
2020-08-21 13:23:28 +02:00
Moritz Bunkus
1db2e8c52a
regexes: conversion from std::regex to jpcre2: mkvtoolnix-gui/**/*
2020-08-21 10:19:15 +02:00
Moritz Bunkus
5195b916cd
regexes: conversion from std::regex to jpcre2: tools/*
2020-08-21 10:11:53 +02:00
Moritz Bunkus
ed43e7f010
regexes: conversion from std::regex to jpcre2: propedit/*
2020-08-21 10:09:51 +02:00
Moritz Bunkus
9fe763e2e3
regexes: conversion from std::regex to jpcre2: merge/*
2020-08-21 10:04:25 +02:00
Moritz Bunkus
4dc06f0a0f
regexes: conversion from std::regex to jpcre2: input/*
2020-08-20 23:28:19 +02:00
Moritz Bunkus
108f7a257c
regexes: conversion from std::regex to jpcre2: extract/*
2020-08-20 23:20:04 +02:00
Moritz Bunkus
43473f1a3e
use nested namespace declarations
2020-08-20 23:12:26 +02:00
Moritz Bunkus
1c7c2b521f
regexes: conversion from std::regex to jpcre2: common/xml/{ebml_converter,xml}.cpp
2020-08-20 23:10:03 +02:00
Moritz Bunkus
b53cd5d322
regexes: conversion from std::regex to jpcre2: common/{version,webm}.cpp
2020-08-20 23:04:00 +02:00
Moritz Bunkus
677003dbb3
regexes: conversion from std::regex to jpcre2: common/translation.cpp
2020-08-20 23:00:32 +02:00
Moritz Bunkus
37ba754511
regexes: conversion from std::regex to jpcre2: common/tags/vorbis.cpp
2020-08-20 22:50:55 +02:00
Moritz Bunkus
b83163f5df
regexes: conversion from std::regex to jpcre2: common/strings/parsing.cpp
2020-08-20 22:27:43 +02:00
Moritz Bunkus
519c0df789
regexes: conversion from std::regex to jpcre2: common/strings/editing.cpp
2020-08-20 22:20:06 +02:00
Moritz Bunkus
343c1fb67d
regexes: conversion from std::regex to jpcre2: convert split-by-regex function
2020-08-20 22:12:45 +02:00
Moritz Bunkus
3b12aa075a
regexes: add match overload taking start/end offset vectors
2020-08-20 22:12:27 +02:00
Moritz Bunkus
de7b3dd8c5
string splitting by regex: add test case
2020-08-20 21:21:39 +02:00
Moritz Bunkus
8080126194
regexes: conversion from std::regex to jpcre2: common/sorting.h
2020-08-20 21:04:07 +02:00
Moritz Bunkus
c1409196b0
sorting naturally: add a test case
2020-08-20 21:00:45 +02:00
Moritz Bunkus
7221546df2
regexes: add optional modifier args to jpcre2 matching helper functions
2020-08-20 20:56:11 +02:00
Moritz Bunkus
217fb7f4db
regexes: conversion from std::regex to jpcre2: common/mm_*io.cpp
2020-08-20 20:35:19 +02:00
Moritz Bunkus
53ad4867aa
regexes: conversion from std::regex to jpcre2: common/locale*.cpp
2020-08-20 20:30:20 +02:00
Moritz Bunkus
1e57c2b27f
regexes: conversion from std::regex to jpcre2: common/{codec,kax_info}.cpp
2020-08-20 20:25:37 +02:00
Moritz Bunkus
81ea055a98
codec_c: convert to pimpl idiom
2020-08-20 20:20:47 +02:00
Moritz Bunkus
1755e2e1df
regexes jpcre2 conversion: convert regex replace functions & various files
2020-08-20 19:00:35 +02:00
Симеон Цветков
c1432b9b33
Update NEWS.md
2020-08-20 16:56:05 +00:00
Moritz Bunkus
e60783e889
regexes: conversion from std::regex to jpcre2: common/bluray/*
2020-08-20 16:14:20 +02:00
Moritz Bunkus
10f154ada3
regexes: conversion from std::regex to jpcre2: common/subtitles.cpp
2020-08-20 16:14:19 +02:00
Moritz Bunkus
23a981a824
mtx::regex: add support for jpcre2
2020-08-20 16:14:19 +02:00
Moritz Bunkus
bb5fefcdf9
remove unused regex escape function; move regex.h to other directory
2020-08-20 14:02:56 +02:00
Moritz Bunkus
9cf74be55f
jpcre2: fix a couple of "unused parameter" warnings
2020-08-20 14:02:56 +02:00
Moritz Bunkus
7032b66cfe
add the jcpre2 header-only wrapper for PCRE2
2020-08-20 14:02:56 +02:00
Moritz Bunkus
941e47d97c
build system: look for & require the PCRE2 library
2020-08-20 13:29:29 +02:00
Moritz Bunkus
1465b58342
MP4 reader: drastically reduce number of memory allocations for DASH files
...
In DASH files there are a lot of fragments (`moof` atom and its
children). Especially the `trun` atom handling was prone to require a
lot of memory re-allocation. Now memory is only re-allocated in larger
chunks, cutting down the header parsing time for one particular 500 MB
DASH file from 5s down to 0.5s.
Part of the fix of #2900 .
2020-08-20 13:18:10 +02:00
Moritz Bunkus
8163368f3a
MP4 reader: fix handling of tkhd version 1 atom
...
Fixes #2900 .
2020-08-20 12:56:33 +02:00
Andrei Stepanov
55cc775d67
translations: update Russian
2020-08-19 17:57:41 +02:00
Симеон Цветков
ba1f90e13e
translations: update Bulgarian
2020-08-19 17:57:32 +02:00
Andrei Stepanov
d3bfb6b848
man page translations: update Russian
2020-08-19 17:57:26 +02:00
TMTisFree
9a19311cdb
man page translations: update French
2020-08-19 17:57:20 +02:00
Moritz Bunkus
f170625874
add .dtsma
to known file extensions
...
Implements #2901 .
2020-08-19 17:55:58 +02:00
Moritz Bunkus
da3e52e8a1
build-config.in: sort lines
2020-08-19 17:52:46 +02:00
Moritz Bunkus
3d62f0fffa
mkvmerge: use read buffer I/O for text format probing
...
Part of the fix of #2899 .
2020-08-19 17:50:59 +02:00