Commit Graph

11338 Commits

Author SHA1 Message Date
Antoni Bella Pérez
5ba7c800b9 man page translations: update Catalan 2017-12-17 17:18:14 +01:00
Moritz Bunkus
04082b28af mkvmerge: use buffered I/O when reading MPLS multi-files 2017-12-17 17:13:45 +01:00
Moritz Bunkus
a2a972d776 readers: take probe I/O arg as reference 2017-12-17 16:14:53 +01:00
Moritz Bunkus
68272764e1 mm_proxy_io_c, kax_analyzer_c: take & store I/O instances as shared pointers 2017-12-17 15:40:26 +01:00
Moritz Bunkus
fd709490d1 split mm_io.{h,cpp} into one file for each class part 2 2017-12-17 13:06:54 +01:00
Moritz Bunkus
25536c6b6c split mm_io.{h,cpp} into one file for each class 2017-12-17 12:54:59 +01:00
Moritz Bunkus
76ac0304c1 rename README.Windows.md to README.md
The file is solely about compiling for Windows, not for using it on
Windows or anything else. SO make it clearer.

A second advantage is that GitLab won't get confused. GitLab
automatically places a link called "ReadMe" on the overview page. It
links to the first file matching the glob "README*" in alphabetical
order. As "README.Windows.md" sorts lower than "README.md", the link
was pointing to a file explaining to the user how to compile for
Windows. Not the ideal landing page for a repository.
2017-12-16 21:13:15 +01:00
Moritz Bunkus
0cdc119412 man page translations: update list of translatable strings; update German translation 2017-12-16 20:14:22 +01:00
Antoni Bella Pérez
a670bb437c man page translations: update Catalan 2017-12-16 20:13:11 +01:00
Potato
45b9188e4c man page translations: update Korean 2017-12-16 20:13:02 +01:00
Burak Yavuz
27ad40dec2 translations: update Turkish 2017-12-16 20:12:12 +01:00
Potato
bd4e0d93c9 translations: update Korean 2017-12-16 20:12:07 +01:00
TMTisFree
fe11dac261 translations: update French 2017-12-16 20:12:04 +01:00
Xabier Aramendi
bd10270a95 translations: update Basque 2017-12-16 20:11:59 +01:00
Moritz Bunkus
419a555527 translations: update German 2017-12-16 20:11:50 +01:00
Antoni Bella Pérez
5c5a1cf739 translations: update Catalan 2017-12-16 20:10:55 +01:00
Moritz Bunkus
a4b6120f9b change more GitHub URLs to GitLab ones 2017-12-16 20:10:18 +01:00
Moritz Bunkus
e9351dc075 docs: update documentation about mkvmerge's splitting 2017-12-16 20:02:16 +01:00
Moritz Bunkus
2d7ef656da mkvmerge: accept key frame up to 1ms earlier when splitting by timestamps/durations 2017-12-16 20:01:54 +01:00
Moritz Bunkus
0b930f6e09 update GitHub URLs to GitLab URLs 2017-12-16 17:27:02 +01:00
Moritz Bunkus
fe2c915edf GUI: job queue: save jobs on status change, not just when exiting
Fixes #2168.
2017-12-16 11:23:52 +01:00
Moritz Bunkus
6184fb60fe NEWS.md: add note about fixing #2166 2017-12-13 00:01:25 +01:00
Moritz Bunkus
b87e7a1897 kax_analyzer_c: use buffered file operations for reading files
This mostly makes a difference on Windows where the operating system's
own buffer implementation isn't that good. Processing time for a 1.7
GB sample file went down from 1m43s to 3s.

Fixes #2166.
2017-12-13 00:00:04 +01:00
Moritz Bunkus
da078c4bc9 mm_read_buffer_io_c: increase default buffer size from 4096 B to 128 KB 2017-12-12 23:59:11 +01:00
Moritz Bunkus
882d39a940 extract: simplify track extraction code by using kax_file_c more
A side effect is that it's also a bit more efficient regarding I/O
operations. The result is that processing time for a 1.7 GB sample
file dropped from 2m4s to 1m43s on Windows.

Part of the improvements for #2166.
2017-12-12 23:58:35 +01:00
Moritz Bunkus
55859c9a3a logger: include [mtx] prefix for easier filtering 2017-12-12 22:07:33 +01:00
Moritz Bunkus
ee6188e949 GUI: headers: don't compare original/current value if element's not present
This mostly fails on timestamp elements as the original value is an
invalid date and the current value is the minimum that Qt's
`QDateTime` control allows at that moment. That's usually something
like 2000-01-01 00:00:00.

However, if the element isn't present in the file, then it doesn't
matter what the current value in the GUI is — it won't be written
anyway. Therefore it shouldn't be used in the decision whether or not
to ask the user to confirm discarding unsaved changes.

Fixes #2167.
2017-12-12 21:37:17 +01:00
Moritz Bunkus
1b6d8267bd GUI: headers: focus on first modified page when asking for confirmation 2017-12-12 21:27:57 +01:00
Moritz Bunkus
01b3c41231 NEWS.md: fix name for the GUI 2017-12-12 21:26:17 +01:00
Moritz Bunkus
6bdecafa87 GUI: headers: refactor "file modified" question code 2017-12-12 21:10:36 +01:00
Moritz Bunkus
d6b6a5ab08 libEBML, libMatroska: update to latest git revisions 2017-12-12 12:43:08 +01:00
Moritz Bunkus
6a669c3360
Merge pull request #2172 from darealshinji/appimage-compat
AppImage compatibility build option
2017-12-12 12:40:53 +01:00
darealshinji
4c5ca7ebe5 AppImage compatibility build option 2017-12-12 09:59:34 +01:00
Moritz Bunkus
6d62419157 GUI: headers: re-translate property element titles properly on language change
The property element tables are initialized only once. At that point
the stored strings should be the English ones as
`translatable_string_c` instances so that they can be translated later
to whatever language is active at that moment.

The old code wasn't initializing the `translatable_string_c` instances
with the English texts, though, but with already translated
ones (e.g. German). This means that any later attempt to translate
them to the current locale (e.g. French) would fail as there's no
translation from e.g. German to French, only from English to French.

Fixes #2159.
2017-12-06 21:50:13 +01:00
Moritz Bunkus
1b60592223 GUI: mux: allow setting subtitle/chapter charset back to empty entry 2017-12-06 21:10:15 +01:00
Moritz Bunkus
7e4e628bd4 GUI: mux: honor selected chapter character set for MP4, MPEG-TS, Ogg/OGM
Fixes #2165.
2017-12-06 21:10:15 +01:00
Moritz Bunkus
19b439ffaa locales: locate locale directory if running from AppImage
See #2163 for progress on AppImage support.

If the command-line programs are run from the command line, they must
try to locate their translation files inside the mounted AppImage
directory.
2017-12-02 14:58:30 +01:00
Moritz Bunkus
8180f4a666 libebml: update 2017-12-02 14:58:25 +01:00
Moritz Bunkus
5934eddc75 mm_text_io_c: fix seeking in UTF-16/-32 encoded files
The `getline` function tries to handle different line ending
styles (carriage returns, new lines, a mix of both). For that it has
to probe one more character after having found one of them. If that
probed character is not one of them, then the previous position has to
be restored — and that was wrongfully assuming that each character is
only one byte long. Which it isn't.

Fixes #2160.
2017-12-01 14:37:16 +01:00
Moritz Bunkus
0f1514dab5 tests: add tests for reading text files with BOMs 2017-12-01 14:22:03 +01:00
Moritz Bunkus
13440601af GUI: save & restore column widths in tree & list views
Implements #2057.
2017-11-28 23:11:22 +01:00
Jan Mazurczyk
7cbdb20559 translations: update Polish 2017-11-26 23:18:35 +01:00
Moritz Bunkus
037f02fd80 NEWS.md: update 2017-11-26 23:17:33 +01:00
Moritz Bunkus
2342c6248e translations: update German 2017-11-23 11:28:27 +01:00
Moritz Bunkus
6d733304d6 use random number functionality from stdlib instead of my own stuff 2017-11-21 21:11:52 +01:00
Moritz Bunkus
f755d7bfa4 build system: link benchmark program against Qt 2017-11-21 21:11:52 +01:00
Moritz Bunkus
e78bf9760f
Merge pull request #2153 from dali99/patch-1
Add RFC8081 Media Types
2017-11-21 21:10:44 +01:00
Daniel Løvbrøtte Olsen
dda56f6b91 Add changelog for #2153
Add a blank line

Fix changelog to what it actually does
2017-11-21 19:42:38 +01:00
Daniel Løvbrøtte Olsen
5180c7ead6 Add RFC-8081 Media Types
Add Credits to top comments

Remove duplicate filetype extension

Not sure if this is needed, feel free to cherrypick out

Change mime type truetype detection to use font/ttf

Again I don't know the implications of changing this,
so some review would be good

Remove old truetype mime type

Add ttc extention to font/collection mime type

Revert "Remove old truetype mime type"

This reverts commit 6ef7a7c7c8b335c7cfc7273e6cd5bc7ea36656e4.

Remove font collection extention from old mime type

Revert "Change mime type truetype detection to use font/ttf"

This reverts commit 1cef3085d15eacff1216117578500d076457dcd5.

move extenions back to old truetype mimetype
2017-11-21 19:42:15 +01:00
Moritz Bunkus
23d04f7905 MP4 reader: fix handling of edit lists entries with segment_duration == 0
Those should only mean "copy the whole file" if they're the only edit
list entry. If there are more entries, then simply ignore them.
2017-11-19 23:51:39 +01:00