dcpomatic.git
3 weeks agofixup! WIP: stop using video directory and hard-linking (#2756). 2756-hard-links
Carl Hetherington [Wed, 3 Apr 2024 22:17:40 +0000 (00:17 +0200)]
fixup! WIP: stop using video directory and hard-linking (#2756).

3 weeks agoMake sure build/test exists.
Carl Hetherington [Wed, 3 Apr 2024 22:17:29 +0000 (00:17 +0200)]
Make sure build/test exists.

3 weeks agofixup! WIP: stop using video directory and hard-linking (#2756).
Carl Hetherington [Tue, 2 Apr 2024 18:48:55 +0000 (20:48 +0200)]
fixup! WIP: stop using video directory and hard-linking (#2756).

3 weeks agofixup! WIP: stop using video directory and hard-linking (#2756).
Carl Hetherington [Tue, 2 Apr 2024 08:23:59 +0000 (10:23 +0200)]
fixup! WIP: stop using video directory and hard-linking (#2756).

3 weeks agofixup! WIP: stop using video directory and hard-linking (#2756).
Carl Hetherington [Fri, 15 Mar 2024 09:38:41 +0000 (10:38 +0100)]
fixup! WIP: stop using video directory and hard-linking (#2756).

3 weeks agoWIP: stop using video directory and hard-linking (#2756).
Carl Hetherington [Thu, 14 Mar 2024 23:41:20 +0000 (00:41 +0100)]
WIP: stop using video directory and hard-linking (#2756).

4 weeks agoRemove now-unnecessary --target-macos-arm64 v2.17.15
Carl Hetherington [Sat, 30 Mar 2024 21:20:08 +0000 (22:20 +0100)]
Remove now-unnecessary --target-macos-arm64

4 weeks agoMerge remote-tracking branch 'origin/main' into v2.17.x
Carl Hetherington [Fri, 29 Mar 2024 23:00:44 +0000 (00:00 +0100)]
Merge remote-tracking branch 'origin/main' into v2.17.x

4 weeks agoFix crash introduced in previous commit.
Carl Hetherington [Fri, 29 Mar 2024 22:58:36 +0000 (23:58 +0100)]
Fix crash introduced in previous commit.

4 weeks agoMerge remote-tracking branch 'origin/main' into v2.17.x
Carl Hetherington [Fri, 29 Mar 2024 22:23:10 +0000 (23:23 +0100)]
Merge remote-tracking branch 'origin/main' into v2.17.x

4 weeks agoFix lack of video rotation in some cases (#2971).
Carl Hetherington [Fri, 29 Mar 2024 22:18:14 +0000 (23:18 +0100)]
Fix lack of video rotation in some cases (#2971).

Setting the optional to 0 here means we never even looked at the
packet side data.  This seems to be more of a problem with the
v2.17.x branch for some reason.

4 weeks agoFix video scaling when the video needs rotation (#2791).
Carl Hetherington [Fri, 29 Mar 2024 22:18:01 +0000 (23:18 +0100)]
Fix video scaling when the video needs rotation (#2791).

4 weeks agoAdd VideoContent::rotate_size().
Carl Hetherington [Fri, 29 Mar 2024 22:17:34 +0000 (23:17 +0100)]
Add VideoContent::rotate_size().

4 weeks agoBump libdcp for libcxml build fix. v2.17.14
Carl Hetherington [Sat, 23 Mar 2024 11:53:31 +0000 (12:53 +0100)]
Bump libdcp for libcxml build fix.

4 weeks agoHack to local build script to use environment if ~/build if present.
Carl Hetherington [Mon, 25 Mar 2024 21:31:48 +0000 (22:31 +0100)]
Hack to local build script to use environment if ~/build if present.

5 weeks agoFix detection of SSE, removing unnecessary --target-macos-arm64.
Carl Hetherington [Sat, 23 Mar 2024 22:25:43 +0000 (23:25 +0100)]
Fix detection of SSE, removing unnecessary --target-macos-arm64.

5 weeks agopangommconfig.h is not included by pangomm.h on some platforms.
Carl Hetherington [Sat, 23 Mar 2024 11:45:36 +0000 (12:45 +0100)]
pangommconfig.h is not included by pangomm.h on some platforms.

5 weeks agoBump libdcp for new asdcplib version.
Carl Hetherington [Wed, 20 Mar 2024 22:34:22 +0000 (23:34 +0100)]
Bump libdcp for new asdcplib version.

5 weeks agoBump libdcp with corresponding merge to previous.
Carl Hetherington [Wed, 20 Mar 2024 22:19:37 +0000 (23:19 +0100)]
Bump libdcp with corresponding merge to previous.

5 weeks agoMerge tag 'v2.16.79' into v2.17.x
Carl Hetherington [Wed, 20 Mar 2024 22:12:55 +0000 (23:12 +0100)]
Merge tag 'v2.16.79' into v2.17.x

5 weeks agoReplace std::random_shuffle (removed in C++17).
Carl Hetherington [Mon, 18 Mar 2024 20:05:07 +0000 (21:05 +0100)]
Replace std::random_shuffle (removed in C++17).

5 weeks agoUse C++17 when building for (new) macOS.
Carl Hetherington [Sat, 16 Mar 2024 13:23:15 +0000 (14:23 +0100)]
Use C++17 when building for (new) macOS.

5 weeks agoAllow building with C++17 and updated libxml++/pangomm/cairomm.
Carl Hetherington [Thu, 22 Feb 2024 21:51:44 +0000 (22:51 +0100)]
Allow building with C++17 and updated libxml++/pangomm/cairomm.

5 weeks agoCleanup: clarify some namespace use.
Carl Hetherington [Thu, 22 Feb 2024 22:17:02 +0000 (23:17 +0100)]
Cleanup: clarify some namespace use.

5 weeks agoRemove all use of add_child() from xmlpp.
Carl Hetherington [Tue, 6 Feb 2024 09:58:39 +0000 (10:58 +0100)]
Remove all use of add_child() from xmlpp.

5 weeks agoTidy up and fix assertion failure when selecting a CPL from the menu. v2.16.79
Carl Hetherington [Wed, 20 Mar 2024 14:34:24 +0000 (15:34 +0100)]
Tidy up and fix assertion failure when selecting a CPL from the menu.

5 weeks agoFix failing tests.
Carl Hetherington [Mon, 11 Mar 2024 14:25:16 +0000 (15:25 +0100)]
Fix failing tests.

Broken in the fix for #2780, when we started to check that referenced
audio MXFs have the correct number of channels.

5 weeks agoThe private test repo got some v2.18.x updates.
Carl Hetherington [Tue, 19 Mar 2024 22:02:32 +0000 (23:02 +0100)]
The private test repo got some v2.18.x updates.

5 weeks agoBump libdcp for SMPTE timecode parsing fix and better handling of unexpected verify...
Carl Hetherington [Tue, 19 Mar 2024 09:00:55 +0000 (10:00 +0100)]
Bump libdcp for SMPTE timecode parsing fix and better handling of unexpected verify errors.

5 weeks agoImprove formatting of FAILED_READ errors.
Carl Hetherington [Mon, 18 Mar 2024 17:09:37 +0000 (18:09 +0100)]
Improve formatting of FAILED_READ errors.

5 weeks agoLog job errors as errors during verify.
Carl Hetherington [Mon, 18 Mar 2024 17:09:28 +0000 (18:09 +0100)]
Log job errors as errors during verify.

6 weeks agoAdd PlaylistEditorRestrictedMenus option, similar to PlayerRestrictedMenus.
Carl Hetherington [Sun, 17 Mar 2024 11:24:02 +0000 (12:24 +0100)]
Add PlaylistEditorRestrictedMenus option, similar to PlayerRestrictedMenus.

6 weeks agoTidy and fix up the playlist editor menu on macOS.
Carl Hetherington [Sun, 17 Mar 2024 11:22:31 +0000 (12:22 +0100)]
Tidy and fix up the playlist editor menu on macOS.

6 weeks agoFix run script for playlist editor on macOS.
Carl Hetherington [Sun, 17 Mar 2024 11:22:16 +0000 (12:22 +0100)]
Fix run script for playlist editor on macOS.

6 weeks agoSupporters update.
Carl Hetherington [Sun, 17 Mar 2024 09:28:59 +0000 (10:28 +0100)]
Supporters update.

6 weeks agoAdd dark-mode link icon.
Carl Hetherington [Fri, 15 Mar 2024 20:00:12 +0000 (21:00 +0100)]
Add dark-mode link icon.

6 weeks agoFix link icon width on macOS.
Carl Hetherington [Fri, 15 Mar 2024 19:41:15 +0000 (20:41 +0100)]
Fix link icon width on macOS.

6 weeks agoRemove some more unnecessary copying for macOS command line.
Carl Hetherington [Fri, 15 Mar 2024 19:38:13 +0000 (20:38 +0100)]
Remove some more unnecessary copying for macOS command line.

6 weeks agoGet prefs icons from the source tree on when starting from the macOS console.
Carl Hetherington [Fri, 15 Mar 2024 19:36:32 +0000 (20:36 +0100)]
Get prefs icons from the source tree on when starting from the macOS console.

6 weeks agoReplace use of sprintf with snprintf.
Carl Hetherington [Fri, 15 Mar 2024 19:11:21 +0000 (20:11 +0100)]
Replace use of sprintf with snprintf.

6 weeks agoA couple of macOS development notes.
Carl Hetherington [Fri, 15 Mar 2024 19:08:00 +0000 (20:08 +0100)]
A couple of macOS development notes.

6 weeks agoFix build on RPM systems. v2.17.13
Carl Hetherington [Wed, 13 Mar 2024 21:19:07 +0000 (22:19 +0100)]
Fix build on RPM systems.

6 weeks agoFix warning on macOS.
Carl Hetherington [Wed, 13 Mar 2024 08:37:26 +0000 (09:37 +0100)]
Fix warning on macOS.

6 weeks agoMerge branch '2678-reel-break' into v2.17.x
Carl Hetherington [Tue, 12 Mar 2024 22:42:45 +0000 (23:42 +0100)]
Merge branch '2678-reel-break' into v2.17.x

6 weeks agoAdd new interface for setting reel breaks (#2678). 2678-reel-break
Carl Hetherington [Tue, 12 Dec 2023 23:42:22 +0000 (00:42 +0100)]
Add new interface for setting reel breaks (#2678).

6 weeks agoTweak SpinCtrl width for GTK3 to work with Mint's theme.
Carl Hetherington [Mon, 11 Mar 2024 23:31:10 +0000 (00:31 +0100)]
Tweak SpinCtrl width for GTK3 to work with Mint's theme.

6 weeks agoExtract snap subdivision to a constant.
Carl Hetherington [Fri, 22 Dec 2023 17:25:40 +0000 (18:25 +0100)]
Extract snap subdivision to a constant.

6 weeks agoExtract timeline content colours to a header.
Carl Hetherington [Fri, 22 Dec 2023 14:04:01 +0000 (15:04 +0100)]
Extract timeline content colours to a header.

6 weeks agoAdd validity check to Timecode.
Carl Hetherington [Wed, 20 Dec 2023 22:41:49 +0000 (23:41 +0100)]
Add validity check to Timecode.

6 weeks agoAdd operator<= for HMSF.
Carl Hetherington [Wed, 20 Dec 2023 22:41:35 +0000 (23:41 +0100)]
Add operator<= for HMSF.

6 weeks agoAdd custom reels option to Film.
Carl Hetherington [Tue, 19 Dec 2023 11:45:38 +0000 (12:45 +0100)]
Add custom reels option to Film.

6 weeks agoRemove reel type / length controls from DCP panel.
Carl Hetherington [Sat, 16 Dec 2023 22:23:58 +0000 (23:23 +0100)]
Remove reel type / length controls from DCP panel.

6 weeks agoUse std::vector and emplace_back(), lengthen variable name.
Carl Hetherington [Sat, 16 Dec 2023 21:50:25 +0000 (22:50 +0100)]
Use std::vector and emplace_back(), lengthen variable name.

6 weeks agoSplit out TimelineView from ContentTimelineView.
Carl Hetherington [Wed, 13 Dec 2023 22:44:54 +0000 (23:44 +0100)]
Split out TimelineView from ContentTimelineView.

6 weeks agoRename TimelineTextContentView -> ContentTimelineTextView.
Carl Hetherington [Fri, 15 Dec 2023 00:32:41 +0000 (01:32 +0100)]
Rename TimelineTextContentView -> ContentTimelineTextView.

6 weeks agoRename TimelineVideoContentView -> ContentTimelineVideoView.
Carl Hetherington [Fri, 15 Dec 2023 00:04:26 +0000 (01:04 +0100)]
Rename TimelineVideoContentView -> ContentTimelineVideoView.

6 weeks agoRename TimelineAudioContentView -> ContentTimelineAudioView.
Carl Hetherington [Thu, 14 Dec 2023 23:40:41 +0000 (00:40 +0100)]
Rename TimelineAudioContentView -> ContentTimelineAudioView.

6 weeks agoRename TimelineAtmosContentView -> ContentTimelineAtmosView.
Carl Hetherington [Thu, 14 Dec 2023 23:32:00 +0000 (00:32 +0100)]
Rename TimelineAtmosContentView -> ContentTimelineAtmosView.

6 weeks agoRename TimelineDialog -> ContentTimelineDialog.
Carl Hetherington [Wed, 13 Dec 2023 22:27:05 +0000 (23:27 +0100)]
Rename TimelineDialog -> ContentTimelineDialog.

6 weeks agoSplit out Timeline from ContentTimeline.
Carl Hetherington [Wed, 13 Dec 2023 22:03:01 +0000 (23:03 +0100)]
Split out Timeline from ContentTimeline.

6 weeks agoRename TimelineView -> ContentTimelineView.
Carl Hetherington [Wed, 13 Dec 2023 22:01:23 +0000 (23:01 +0100)]
Rename TimelineView -> ContentTimelineView.

6 weeks agoRename Timeline -> ContentTimeline.
Carl Hetherington [Tue, 12 Dec 2023 00:32:04 +0000 (01:32 +0100)]
Rename Timeline -> ContentTimeline.

6 weeks agoRename "custom" reel type to "split by maximum reel size" (in the GUI).
Carl Hetherington [Mon, 11 Dec 2023 23:14:45 +0000 (00:14 +0100)]
Rename "custom" reel type to "split by maximum reel size" (in the GUI).

6 weeks agoFix failing tests.
Carl Hetherington [Mon, 11 Mar 2024 14:25:16 +0000 (15:25 +0100)]
Fix failing tests.

Broken in the fix for #2780, when we started to check that referenced
audio MXFs have the correct number of channels.

6 weeks agoUse stored has_non_zero_entry_point() instead of parsing the DCP again (#2524).
Carl Hetherington [Wed, 6 Mar 2024 00:17:59 +0000 (01:17 +0100)]
Use stored has_non_zero_entry_point() instead of parsing the DCP again (#2524).

6 weeks agoTake has_non_zero_entry_point() from examiner and store it.
Carl Hetherington [Wed, 6 Mar 2024 00:17:27 +0000 (01:17 +0100)]
Take has_non_zero_entry_point() from examiner and store it.

6 weeks agoOffer has_non_zero_entry_point() from DCPExaminer.
Carl Hetherington [Wed, 6 Mar 2024 00:17:05 +0000 (01:17 +0100)]
Offer has_non_zero_entry_point() from DCPExaminer.

6 weeks agoRemove redundant DCPDecoder use.
Carl Hetherington [Wed, 6 Mar 2024 00:17:40 +0000 (01:17 +0100)]
Remove redundant DCPDecoder use.

6 weeks agoAdd a temporary to reduce some boilerplate.
Carl Hetherington [Wed, 6 Mar 2024 00:15:46 +0000 (01:15 +0100)]
Add a temporary to reduce some boilerplate.

6 weeks agoUse openjpeg v2.5.2 (#2783).
Carl Hetherington [Fri, 8 Mar 2024 21:31:01 +0000 (22:31 +0100)]
Use openjpeg v2.5.2 (#2783).

Tests suggest it is considerably faster:

* arrietty on Linux/AMD
  old: 03:35
  new: 03:58

* Sintel.2010.1080p.mkv on Linux/AMD
  old: 0:29:49
  new: 0:22:39

* TRAILER VERSIE 4.mov on Apple M1
  old: 6:22
  new: 5:15

* TRAILER VERSIE 4.mov on Windows/Intel
  old: 6:10
  new: 4:12

6 weeks agoMake check_one_frame more verbose when it fails.
Carl Hetherington [Fri, 8 Mar 2024 21:30:28 +0000 (22:30 +0100)]
Make check_one_frame more verbose when it fails.

6 weeks agoFix memory leak in test.
Carl Hetherington [Sat, 2 Mar 2024 22:19:25 +0000 (23:19 +0100)]
Fix memory leak in test.

7 weeks agoMerge branch 'main' into v2.17.x
Carl Hetherington [Fri, 8 Mar 2024 23:11:38 +0000 (00:11 +0100)]
Merge branch 'main' into v2.17.x

7 weeks agoAdd <PlayerRestrictedMenus> option to config.xml (#2725).
Carl Hetherington [Fri, 8 Mar 2024 22:24:31 +0000 (23:24 +0100)]
Add <PlayerRestrictedMenus> option to config.xml (#2725).

This hides all player menus except "File".

7 weeks agoFix screen name order in KDM emails.
Carl Hetherington [Thu, 7 Mar 2024 22:33:03 +0000 (23:33 +0100)]
Fix screen name order in KDM emails.

7 weeks agoUse dcp_name (probably ISDCF name) for CPL_NAME in KDM emails (#2787).
Carl Hetherington [Thu, 7 Mar 2024 20:03:31 +0000 (21:03 +0100)]
Use dcp_name (probably ISDCF name) for CPL_NAME in KDM emails (#2787).

7 weeks agoStore attachment contents in the Email object.
Carl Hetherington [Thu, 7 Mar 2024 15:40:03 +0000 (16:40 +0100)]
Store attachment contents in the Email object.

7 weeks agoRename Emailer -> Email.
Carl Hetherington [Thu, 7 Mar 2024 15:12:22 +0000 (16:12 +0100)]
Rename Emailer -> Email.

7 weeks agoAdd a couple more Dolby certificate location / filename pairs.
Carl Hetherington [Mon, 4 Mar 2024 21:34:52 +0000 (22:34 +0100)]
Add a couple more Dolby certificate location / filename pairs.

8 weeks agoBuild for Ubuntu 24.04.
Carl Hetherington [Fri, 1 Mar 2024 12:42:50 +0000 (13:42 +0100)]
Build for Ubuntu 24.04.

2 months agoAdd Shift+scrollwheel to move left/right in the timeline.
Carl Hetherington [Tue, 27 Feb 2024 00:11:52 +0000 (01:11 +0100)]
Add Shift+scrollwheel to move left/right in the timeline.

2 months agoAdd Ctrl+scrollwheel zoom to the timeline (#2781).
Carl Hetherington [Mon, 26 Feb 2024 23:57:51 +0000 (00:57 +0100)]
Add Ctrl+scrollwheel zoom to the timeline (#2781).

2 months agoDisallow referring to OV audio unless channel counts match (#2780).
Carl Hetherington [Mon, 26 Feb 2024 22:18:15 +0000 (23:18 +0100)]
Disallow referring to OV audio unless channel counts match (#2780).

2 months agoMerge tag 'v2.16.78' into v2.17.x v2.17.12
Carl Hetherington [Thu, 22 Feb 2024 00:25:03 +0000 (01:25 +0100)]
Merge tag 'v2.16.78' into v2.17.x

2 months agoMake DCPExaminer::size() optional and deal with the consequences. v2.16.78
Carl Hetherington [Wed, 21 Feb 2024 09:47:38 +0000 (10:47 +0100)]
Make DCPExaminer::size() optional and deal with the consequences.

This means we can fix the case of a VF having no known size in a nice way,
in turn fixing problems caused by the fix to #2775.

2 months agoFix failure to examine non-flat-ratio VFs (#2775).
Carl Hetherington [Wed, 21 Feb 2024 00:10:23 +0000 (01:10 +0100)]
Fix failure to examine non-flat-ratio VFs (#2775).

2 months agoSame trick again with gcc 8.3.0 (Debian 10).
Carl Hetherington [Tue, 20 Feb 2024 23:41:17 +0000 (00:41 +0100)]
Same trick again with gcc 8.3.0 (Debian 10).

2 months agoDon't use -Wsuggest-override on gcc 7.5.0 (Ubuntu 18.04)
Carl Hetherington [Tue, 20 Feb 2024 21:57:01 +0000 (22:57 +0100)]
Don't use -Wsuggest-override on gcc 7.5.0 (Ubuntu 18.04)

because turning it off with a pragma seems not to work.

2 months agoFix build on Centos 7.
Carl Hetherington [Tue, 20 Feb 2024 13:37:58 +0000 (14:37 +0100)]
Fix build on Centos 7.

2 months agoMerge tag 'v2.16.77' into v2.17.x
Carl Hetherington [Mon, 19 Feb 2024 22:22:31 +0000 (23:22 +0100)]
Merge tag 'v2.16.77' into v2.17.x

2 months agoSupporters update. v2.16.77
Carl Hetherington [Mon, 19 Feb 2024 21:29:53 +0000 (22:29 +0100)]
Supporters update.

2 months agoDon't order the user to 'remove the other content'.
Carl Hetherington [Mon, 19 Feb 2024 20:42:39 +0000 (21:42 +0100)]
Don't order the user to 'remove the other content'.

In the context of the new VF dialog this sounds odd; e.g. the user ticked video
but audio is impossible, they are ordered to remove the other content (when they
might just not want to refer to audio at all).

2 months agoSupporters update.
Carl Hetherington [Mon, 19 Feb 2024 13:45:38 +0000 (14:45 +0100)]
Supporters update.

2 months agoFix various preview errors on high-DPI screens (#2774).
Carl Hetherington [Mon, 19 Feb 2024 13:41:49 +0000 (14:41 +0100)]
Fix various preview errors on high-DPI screens (#2774).

The logical scale was previously not taken into account so the outline
rectangle was wrong and the padding was usually missing.

2 months agoCleanup: use a dcp::Size instead of a wxSize.
Carl Hetherington [Mon, 19 Feb 2024 13:40:02 +0000 (14:40 +0100)]
Cleanup: use a dcp::Size instead of a wxSize.

2 months agoReset _next_video_time when deciding to emit black.
Carl Hetherington [Sun, 18 Feb 2024 22:36:10 +0000 (23:36 +0100)]
Reset _next_video_time when deciding to emit black.

Otherwise if we inaccurately seek into an area with no video there
will never be any content coming into ::video() which could reset
_next_video_time. Then when a black frame is emitted using
emit_video_until we will emit black frames from time 0 to the time
of the inaccurate seek.

2 months agoAdd some more logs to the LOG_DEBUG_PLAYER set.
Carl Hetherington [Sun, 18 Feb 2024 22:34:48 +0000 (23:34 +0100)]
Add some more logs to the LOG_DEBUG_PLAYER set.

2 months agoCleanup: use auto.
Carl Hetherington [Sun, 18 Feb 2024 22:34:26 +0000 (23:34 +0100)]
Cleanup: use auto.

2 months agoMerge tag 'v2.16.76' into v2.17.x
Carl Hetherington [Sun, 18 Feb 2024 23:56:14 +0000 (00:56 +0100)]
Merge tag 'v2.16.76' into v2.17.x

2 months agoFix note about branch handling.
Carl Hetherington [Sat, 17 Feb 2024 23:37:47 +0000 (00:37 +0100)]
Fix note about branch handling.