Carl Hetherington [Tue, 15 Jun 2021 22:59:19 +0000 (00:59 +0200)]
Only define UNICODE in src/lib/{cross_windows,util}.cc.
Carl Hetherington [Thu, 9 Sep 2021 18:29:44 +0000 (20:29 +0200)]
Extract colours to VideoView.
Carl Hetherington [Wed, 8 Sep 2021 22:46:48 +0000 (00:46 +0200)]
Fix incorrect display of Unicode literal on Windows.
Carl Hetherington [Thu, 17 Jun 2021 21:21:54 +0000 (23:21 +0200)]
Move 'show in file manager' code to cross_*
Carl Hetherington [Tue, 8 Jun 2021 22:12:28 +0000 (00:12 +0200)]
Fix environment path for player script.
Carl Hetherington [Sun, 19 Sep 2021 23:44:30 +0000 (01:44 +0200)]
Assorted tidying.
Carl Hetherington [Sun, 19 Sep 2021 21:57:45 +0000 (23:57 +0200)]
Add LastWrittenBy to metadata (#2080).
Carl Hetherington [Sun, 19 Sep 2021 21:57:21 +0000 (23:57 +0200)]
Use a constexpr and a nullptr.
Carl Hetherington [Sun, 19 Sep 2021 21:57:09 +0000 (23:57 +0200)]
include/using sorting and some white space.
Carl Hetherington [Sun, 19 Sep 2021 20:19:58 +0000 (22:19 +0200)]
Fix failure to reset state to "to fit DCP" properly (#2081).
Carl Hetherington [Sun, 19 Sep 2021 20:19:38 +0000 (22:19 +0200)]
Remove unused VideoContentProperty::SCALE and listen to CUSTOM_{RATIO,SIZE} instead.
::SCALE was sort-of being used, as it was emitted during examination of
video content, but it wasn't being emitted anywhere else (and CUSTOM_{RATIO,SIZE}
replace its functionality as far as I can see).
Carl Hetherington [Sun, 19 Sep 2021 20:58:31 +0000 (22:58 +0200)]
Check _inter_size in ::has_j2k() (fixes #2086).
The example in the bug shrinks a content DCP while keeping the
container the same. We need to check that neither _out_size nor
_inter_size have changed, to check for scaling/padding.
Carl Hetherington [Sun, 19 Sep 2021 20:58:02 +0000 (22:58 +0200)]
Add state of _reencode_j2k to the video identifier.
Otherwise if we change the state of this and re-make a DCP it will
not re-encode the J2K.
Carl Hetherington [Sun, 19 Sep 2021 20:57:54 +0000 (22:57 +0200)]
Remove an unused using.
Carl Hetherington [Sun, 19 Sep 2021 19:45:22 +0000 (21:45 +0200)]
Fix failure to open v2.14.x documents with invalid or empty subtitle languages (#2085).
Carl Hetherington [Sun, 19 Sep 2021 19:43:08 +0000 (21:43 +0200)]
C++11 and general tidying.
Carl Hetherington [Sun, 12 Sep 2021 20:51:09 +0000 (22:51 +0200)]
Add another believed-correct subtitle timing fix.
Carl Hetherington [Sun, 12 Sep 2021 20:43:52 +0000 (22:43 +0200)]
Fix missing subtitles embedded in files decoded by FFmpeg (#2060).
Since the FFmpeg 4.4 update it seems that AVSubtitle::pts is no longer
set (it's AV_NOPTS_VALUE, i think).
Instead we apparently need to get the PTS from the packet, which in
turn requires the stream's timebase.
Carl Hetherington [Sun, 12 Sep 2021 20:43:38 +0000 (22:43 +0200)]
Add missing avsubtitle_free().
Carl Hetherington [Sat, 11 Sep 2021 10:07:06 +0000 (12:07 +0200)]
Remove some cruft from changelog.
Carl Hetherington [Tue, 3 Aug 2021 22:08:42 +0000 (00:08 +0200)]
Fix URL in debian/copyright.
Carl Hetherington [Sun, 1 Aug 2021 22:05:37 +0000 (00:05 +0200)]
Support building of cli-only .deb packages (#2066).
Carl Hetherington [Mon, 6 Sep 2021 22:45:59 +0000 (00:45 +0200)]
Support debian 11.
Carl Hetherington [Thu, 2 Sep 2021 15:27:05 +0000 (17:27 +0200)]
Updated zh_CN translation from Kahn Li.
Carl Hetherington [Tue, 24 Aug 2021 12:42:44 +0000 (14:42 +0200)]
Updated it_IT translation from Riccardo Mantani.
Carl Hetherington [Tue, 24 Aug 2021 09:16:46 +0000 (11:16 +0200)]
Updated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Sat, 21 Aug 2021 18:32:29 +0000 (20:32 +0200)]
Add Uwe Dittes as translator.
Carl Hetherington [Fri, 20 Aug 2021 21:23:44 +0000 (23:23 +0200)]
Updated it_IT translation from Riccardo Mantani.
Carl Hetherington [Fri, 20 Aug 2021 21:10:10 +0000 (23:10 +0200)]
pot/merge.
Carl Hetherington [Fri, 20 Aug 2021 21:09:53 +0000 (23:09 +0200)]
Fix typo if -> of (thanks to Uwe Dittes)
Carl Hetherington [Fri, 20 Aug 2021 21:07:04 +0000 (23:07 +0200)]
Updated de_DE translation from Uwe Dittes.
Carl Hetherington [Wed, 18 Aug 2021 23:09:52 +0000 (01:09 +0200)]
Tweak key shortcuts table appearance.
Carl Hetherington [Wed, 18 Aug 2021 22:42:23 +0000 (00:42 +0200)]
Fix TOC in HTML version of manual.
Carl Hetherington [Tue, 17 Aug 2021 20:52:17 +0000 (22:52 +0200)]
Updated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Tue, 17 Aug 2021 20:49:10 +0000 (22:49 +0200)]
Add comments for shortcuts and extract them for the manual (#2073).
Carl Hetherington [Tue, 17 Aug 2021 20:16:43 +0000 (22:16 +0200)]
Add defaults for facility, studio, chain, distributor (#2075).
Carl Hetherington [Tue, 17 Aug 2021 20:16:00 +0000 (22:16 +0200)]
Rename update -> setup_sensitivity().
Carl Hetherington [Mon, 16 Aug 2021 22:40:49 +0000 (00:40 +0200)]
Add some keyboard shortcuts to the manual (#2073).
Carl Hetherington [Mon, 16 Aug 2021 22:25:09 +0000 (00:25 +0200)]
Only warn about lots of frame drops in the player (#2069).
Carl Hetherington [Sun, 15 Aug 2021 22:32:17 +0000 (00:32 +0200)]
Give markers dialog a close button (#2070).
Carl Hetherington [Fri, 13 Aug 2021 19:47:04 +0000 (21:47 +0200)]
Missing override qualifiers.
Carl Hetherington [Thu, 12 Aug 2021 22:20:28 +0000 (00:20 +0200)]
Some missing override statements.
Carl Hetherington [Thu, 12 Aug 2021 20:03:11 +0000 (22:03 +0200)]
Fix flickering black square when selecting content on Windows (#1866).
Carl Hetherington [Thu, 12 Aug 2021 20:33:17 +0000 (22:33 +0200)]
pot/merge.
Carl Hetherington [Thu, 12 Aug 2021 20:32:49 +0000 (22:32 +0200)]
Rename ProRes export format to MOV / ProRes (#2067).
Carl Hetherington [Thu, 12 Aug 2021 20:06:36 +0000 (22:06 +0200)]
Missed test/data update.
Carl Hetherington [Thu, 12 Aug 2021 09:08:42 +0000 (11:08 +0200)]
pot/merge.
Carl Hetherington [Wed, 11 Aug 2021 23:30:02 +0000 (01:30 +0200)]
Add missing verification description.
Carl Hetherington [Wed, 11 Aug 2021 23:29:46 +0000 (01:29 +0200)]
C++11 tidying.
Carl Hetherington [Wed, 11 Aug 2021 23:29:41 +0000 (01:29 +0200)]
White space.
Carl Hetherington [Wed, 11 Aug 2021 23:29:37 +0000 (01:29 +0200)]
Add comment.
Carl Hetherington [Wed, 11 Aug 2021 23:29:24 +0000 (01:29 +0200)]
Don't write empty <Text> nodes in subtitles/closed captions.
Carl Hetherington [Tue, 10 Aug 2021 01:02:20 +0000 (03:02 +0200)]
Missing full stop.
Carl Hetherington [Wed, 4 Aug 2021 20:47:49 +0000 (22:47 +0200)]
Allow specifying and writing sign language video language metadata (#2062).
Carl Hetherington [Tue, 3 Aug 2021 19:24:51 +0000 (21:24 +0200)]
Fix build with newer FFmpeg.
Carl Hetherington [Mon, 2 Aug 2021 22:10:56 +0000 (00:10 +0200)]
Some const-correctness.
Carl Hetherington [Sun, 1 Aug 2021 00:03:28 +0000 (02:03 +0200)]
Bump libsub for SubRip tag parsing fix.
Carl Hetherington [Sun, 1 Aug 2021 00:02:28 +0000 (02:02 +0200)]
Do all text -> HTML conversion for subtitles in the same place.
Previously we would convert > to > then the ampersand to &
resulting in &gt;
Carl Hetherington [Fri, 16 Jul 2021 10:35:43 +0000 (12:35 +0200)]
Fix old mac (single-arch) build.
Carl Hetherington [Sat, 24 Jul 2021 20:35:34 +0000 (22:35 +0200)]
Add a comment.
Carl Hetherington [Thu, 15 Jul 2021 23:08:17 +0000 (01:08 +0200)]
Fix build with older boost.
Carl Hetherington [Thu, 15 Jul 2021 16:32:23 +0000 (18:32 +0200)]
Fix use-own-dirpicker build.
Carl Hetherington [Thu, 15 Jul 2021 12:09:58 +0000 (14:09 +0200)]
Bump libdcp for channel assignment fix (#2062).
Carl Hetherington [Thu, 15 Jul 2021 12:08:56 +0000 (14:08 +0200)]
C++11 tidying.
Carl Hetherington [Wed, 14 Jul 2021 21:17:59 +0000 (23:17 +0200)]
dcpomatic2_disk_writer needs cap_sys_admin otherwise umount fails.
Carl Hetherington [Wed, 14 Jul 2021 20:06:59 +0000 (22:06 +0200)]
Fix compile warning.
Carl Hetherington [Tue, 13 Jul 2021 15:55:09 +0000 (17:55 +0200)]
Add label for sign language track.
Carl Hetherington [Thu, 8 Jul 2021 22:52:21 +0000 (00:52 +0200)]
C++11 tidying.
Carl Hetherington [Thu, 8 Jul 2021 22:30:02 +0000 (00:30 +0200)]
Fix strange layout problems with the content sub panels (#2059).
It seems that if Layout() is called on a sizer inside a wxScrolledWindow
when that window is scrolled, things go wrong. Work around this by
wrapping calls to Layout().
Carl Hetherington [Wed, 7 Jul 2021 22:37:33 +0000 (00:37 +0200)]
Take account of changes to default directory for new DCPs (#2058).
Instead of always using the last directory in the new film dialog,
only use it when it was explicitly changed by the user.
Carl Hetherington [Wed, 7 Jul 2021 22:17:11 +0000 (00:17 +0200)]
C++11 tidying.
Carl Hetherington [Mon, 5 Jul 2021 13:58:25 +0000 (15:58 +0200)]
Tidy a little and use some std::vector instead of raw arrays.
Carl Hetherington [Mon, 5 Jul 2021 13:22:40 +0000 (15:22 +0200)]
Fix alignment.
Carl Hetherington [Mon, 5 Jul 2021 13:22:07 +0000 (15:22 +0200)]
Use dcp::file_to_string().
Carl Hetherington [Mon, 5 Jul 2021 13:22:00 +0000 (15:22 +0200)]
Use unique_ptr.
Carl Hetherington [Mon, 5 Jul 2021 13:21:45 +0000 (15:21 +0200)]
C++11 tidying.
Carl Hetherington [Sat, 3 Jul 2021 22:13:39 +0000 (00:13 +0200)]
C++11 tidying.
Carl Hetherington [Sat, 3 Jul 2021 20:40:00 +0000 (22:40 +0200)]
Use std::vector rather than a raw array.
Carl Hetherington [Sat, 3 Jul 2021 20:35:30 +0000 (22:35 +0200)]
C++11 tidying.
Carl Hetherington [Fri, 2 Jul 2021 21:37:00 +0000 (23:37 +0200)]
Don't abort the update checker thread when one curl_easy_perform fails.
Carl Hetherington [Wed, 30 Jun 2021 23:22:41 +0000 (01:22 +0200)]
Fix race.
Carl Hetherington [Wed, 30 Jun 2021 23:22:37 +0000 (01:22 +0200)]
C++11 tidying.
Carl Hetherington [Wed, 30 Jun 2021 23:22:29 +0000 (01:22 +0200)]
Remove unused variable.
Carl Hetherington [Tue, 29 Jun 2021 21:36:33 +0000 (23:36 +0200)]
Update dialog layout fixes.
Carl Hetherington [Tue, 29 Jun 2021 21:36:26 +0000 (23:36 +0200)]
C++11 tidying.
Carl Hetherington [Tue, 29 Jun 2021 13:51:29 +0000 (15:51 +0200)]
Fix confusing black padding in GUI dark mode (#2053).
Carl Hetherington [Sat, 22 May 2021 20:30:49 +0000 (22:30 +0200)]
Update task bar icon when GUI theme changes (#1986).
We have to keep the StatusDialog around the whole time as it seems
to be the only thing we have that can receive wxEVT_SYS_COLOUR_CHANGED.
Carl Hetherington [Sat, 22 May 2021 20:12:56 +0000 (22:12 +0200)]
C++11 tidying.
Carl Hetherington [Sat, 22 May 2021 21:33:40 +0000 (23:33 +0200)]
Extract gui_is_dark() to wx_util.
Carl Hetherington [Sat, 22 May 2021 20:01:59 +0000 (22:01 +0200)]
Make white/black versions of server icon.
Carl Hetherington [Mon, 21 Jun 2021 22:47:25 +0000 (00:47 +0200)]
Fix incorrect timestamps when exporting as reels (#2052).
Carl Hetherington [Thu, 24 Jun 2021 15:03:33 +0000 (17:03 +0200)]
Tweak test group name.
Carl Hetherington [Thu, 24 Jun 2021 15:03:28 +0000 (17:03 +0200)]
Fix incorrect issuer/creator in CPL files.
Carl Hetherington [Wed, 23 Jun 2021 15:17:49 +0000 (17:17 +0200)]
Improve some error messages.
Carl Hetherington [Wed, 23 Jun 2021 15:17:45 +0000 (17:17 +0200)]
Add some more DecodeError constructors.
Carl Hetherington [Mon, 21 Jun 2021 22:46:45 +0000 (00:46 +0200)]
C++11 cleanup.
Carl Hetherington [Mon, 21 Jun 2021 21:56:13 +0000 (23:56 +0200)]
Remember the path used for "add files" (#2049).
Also default to the home directory rather than where DoM was run from,
or something equally unhelpful.
Carl Hetherington [Mon, 21 Jun 2021 21:55:05 +0000 (23:55 +0200)]
Use std::vector for add_files.
Carl Hetherington [Fri, 18 Jun 2021 18:02:55 +0000 (20:02 +0200)]
Bump libdcp for tags fixes.
Carl Hetherington [Sun, 13 Jun 2021 18:30:15 +0000 (20:30 +0200)]
Ignore incoming data when suspended.
Otherwise, for example, some content can be moved and before
the pieces have been re-created some video can arrive. Then the
video's position will be calculated using the content's new position,
causing an apparently big gap in the video which is filled in with
black. These extra black frames cause the video buffers to fill up
without any audio.