Carl Hetherington [Sun, 26 Apr 2020 19:23:32 +0000 (21:23 +0200)]
Some basic notes on smoke testing.
Carl Hetherington [Sun, 26 Apr 2020 19:11:24 +0000 (21:11 +0200)]
Ubuntu 19.10 also has libnanomsg5.
Carl Hetherington [Sun, 26 Apr 2020 18:31:07 +0000 (20:31 +0200)]
Add disk desktop icon to spec.
Carl Hetherington [Sun, 26 Apr 2020 18:29:28 +0000 (20:29 +0200)]
Add missing creation of .desktop file for disk tool.
Carl Hetherington [Sun, 26 Apr 2020 17:47:45 +0000 (19:47 +0200)]
Fix ubuntu 20.04 nanomsg version.
Carl Hetherington [Sat, 25 Apr 2020 22:42:01 +0000 (00:42 +0200)]
Fix previous on Windows/macOS.
Carl Hetherington [Sat, 25 Apr 2020 18:31:27 +0000 (20:31 +0200)]
Add link with anl to fix Centos 8 build.
Carl Hetherington [Sat, 25 Apr 2020 18:27:56 +0000 (20:27 +0200)]
Can't build disk on Ubuntu 16.04 as boost is too old.
Carl Hetherington [Sat, 25 Apr 2020 10:29:02 +0000 (12:29 +0200)]
We build the disk stuff for AppImage (which uses 16.04) so we might as well build for 16.04 as well.
Carl Hetherington [Fri, 24 Apr 2020 21:02:14 +0000 (23:02 +0200)]
Fix xerces version for Ubuntu 16.
Carl Hetherington [Fri, 24 Apr 2020 19:53:15 +0000 (21:53 +0200)]
Missing dependencies.
Carl Hetherington [Fri, 24 Apr 2020 19:47:23 +0000 (21:47 +0200)]
Expand can_build_disk a bit.
Carl Hetherington [Fri, 24 Apr 2020 19:08:07 +0000 (21:08 +0200)]
Missing nanomsg dependencies.
Carl Hetherington [Fri, 24 Apr 2020 18:37:15 +0000 (20:37 +0200)]
Build disk on Ubuntu 19.10 and 20.04
Carl Hetherington [Fri, 24 Apr 2020 18:17:39 +0000 (20:17 +0200)]
Missing dylib for macOS.
Carl Hetherington [Fri, 24 Apr 2020 15:46:01 +0000 (17:46 +0200)]
Fix typo and missing serialisation of offsets at time of analysis.
Carl Hetherington [Fri, 24 Apr 2020 14:46:36 +0000 (16:46 +0200)]
Another build fix (for non-Linux this time).
Carl Hetherington [Fri, 24 Apr 2020 14:20:58 +0000 (16:20 +0200)]
Fix some missing dependencies.
Carl Hetherington [Fri, 24 Apr 2020 11:31:51 +0000 (13:31 +0200)]
Ubuntu 20.04 packaging.
Carl Hetherington [Fri, 24 Apr 2020 14:18:37 +0000 (16:18 +0200)]
Merge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x
Carl Hetherington [Fri, 24 Apr 2020 11:08:46 +0000 (13:08 +0200)]
Fix build following previous commit.
Carl Hetherington [Thu, 23 Apr 2020 23:50:54 +0000 (01:50 +0200)]
Merge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x
Carl Hetherington [Thu, 23 Apr 2020 23:33:58 +0000 (01:33 +0200)]
Hopefully we can use GTK's file chooser button again now.
Carl Hetherington [Thu, 23 Apr 2020 23:27:46 +0000 (01:27 +0200)]
Remove disk-build optional stuff from macOS build.
Carl Hetherington [Thu, 23 Apr 2020 22:49:03 +0000 (00:49 +0200)]
Alway build with --enable-disk if we can, regardless of any cscript option.
Carl Hetherington [Wed, 22 Apr 2020 22:11:38 +0000 (00:11 +0200)]
Add subtitle analysis so that the outline of all subtitles
in a piece of content can be overlaid onto the preview (#1233).
Carl Hetherington [Thu, 23 Apr 2020 21:10:46 +0000 (23:10 +0200)]
Substantial reworking of the font rendering code to measure
the size of the text before rendering, thereby creating correctly-
sized output images (rather than ones with guesses on height and
with the full target width).
This uses some potentially dubious behaviour described here
https://stackoverflow.com/questions/
31788577/create-pango-layout-before-cairo-surface
and could cause any number of problems.
The advantages are that a) it should be a little more efficient and
b) the images created for the subtitle analysis code are useful.
Carl Hetherington [Thu, 23 Apr 2020 20:31:14 +0000 (22:31 +0200)]
More extractions.
Carl Hetherington [Thu, 23 Apr 2020 20:24:05 +0000 (22:24 +0200)]
Use a variable for subtitles.front()
Carl Hetherington [Thu, 23 Apr 2020 19:38:48 +0000 (21:38 +0200)]
Extract some bits of code into their own methods.
Carl Hetherington [Thu, 23 Apr 2020 22:46:13 +0000 (00:46 +0200)]
Improve layout of drive-wipe warning dialogue.
Carl Hetherington [Thu, 23 Apr 2020 22:37:31 +0000 (00:37 +0200)]
Add pre-running warning to disk writer.
Carl Hetherington [Thu, 23 Apr 2020 21:59:06 +0000 (23:59 +0200)]
Missing Windows DLL.
Carl Hetherington [Thu, 23 Apr 2020 18:48:11 +0000 (20:48 +0200)]
Don't clobber the current _player_video when the butler returns AGAIN. Fixes some seek-related glitches.
Carl Hetherington [Thu, 23 Apr 2020 13:48:19 +0000 (15:48 +0200)]
Carl Hetherington [Thu, 23 Apr 2020 13:00:56 +0000 (15:00 +0200)]
Add accessor for _playlist.
Carl Hetherington [Wed, 22 Apr 2020 23:40:56 +0000 (01:40 +0200)]
Fix complete failure of preview/playback introduced in
4219d4b76c5cd5690b1f4fa0c248d93ced26d05a.
Carl Hetherington [Tue, 21 Apr 2020 21:57:25 +0000 (23:57 +0200)]
Add option to set project properties from a DCP loaded as content (#1688).
Carl Hetherington [Tue, 21 Apr 2020 21:33:33 +0000 (23:33 +0200)]
Add code to copy the data and hook it up to a menu item.
Carl Hetherington [Tue, 21 Apr 2020 21:32:42 +0000 (23:32 +0200)]
Allow DCP content to store and serialise metadata.
Carl Hetherington [Tue, 21 Apr 2020 21:32:05 +0000 (23:32 +0200)]
Add list_to_vector().
Carl Hetherington [Tue, 21 Apr 2020 21:07:07 +0000 (23:07 +0200)]
Add DCPContent::resolution().
Carl Hetherington [Tue, 21 Apr 2020 21:02:48 +0000 (23:02 +0200)]
Add Film::clear_markers().
Carl Hetherington [Tue, 21 Apr 2020 00:10:35 +0000 (02:10 +0200)]
Allow DCPContent to recover and serialise marker positions.
Carl Hetherington [Mon, 20 Apr 2020 22:18:34 +0000 (00:18 +0200)]
Add DCPContent::from_libdcp_kind.
Carl Hetherington [Mon, 20 Apr 2020 22:11:38 +0000 (00:11 +0200)]
Add a getter for _standard in DCPContent.
Carl Hetherington [Mon, 20 Apr 2020 22:07:40 +0000 (00:07 +0200)]
Use a BOOST_FOREACH and remove an old #include.
Carl Hetherington [Sun, 19 Apr 2020 22:10:31 +0000 (00:10 +0200)]
Add LEQ(m) when analysing audio (#1382).
Carl Hetherington [Sat, 18 Apr 2020 18:42:58 +0000 (20:42 +0200)]
Add _last_written to Writer, containing the last written frame and eyes
to each reel. This is updated when things are popped off the queue, with
_state_mutex_held, and used in preference to the ones in ReelWriter
which were previously being updated during the time the _state_mutex
lock is unlocked in the body of Writer::thread(). This was not
thread safe (thanks, valgrind!)
Carl Hetherington [Fri, 17 Apr 2020 20:00:06 +0000 (22:00 +0200)]
Use a BOOST_FOREACH.
Carl Hetherington [Fri, 17 Apr 2020 19:59:14 +0000 (21:59 +0200)]
Rename a variable.
Carl Hetherington [Fri, 17 Apr 2020 20:37:54 +0000 (22:37 +0200)]
Add drd/helgrind to the tests runner script.
Carl Hetherington [Fri, 17 Apr 2020 20:29:14 +0000 (22:29 +0200)]
Add a missing noncopyable.
Carl Hetherington [Thu, 16 Apr 2020 23:03:09 +0000 (01:03 +0200)]
Comment tweak.
Carl Hetherington [Thu, 16 Apr 2020 21:35:02 +0000 (23:35 +0200)]
Checksum network encode requests and replies to protect against
network corruption (#1381).
Carl Hetherington [Wed, 15 Apr 2020 22:38:08 +0000 (00:38 +0200)]
Add feature to Socket so that it can send digests of data it has sent
and check those digests on receive.
Carl Hetherington [Wed, 15 Apr 2020 19:21:07 +0000 (21:21 +0200)]
Remove some unnecessary using statements.
Carl Hetherington [Wed, 15 Apr 2020 19:01:54 +0000 (21:01 +0200)]
Rename send_binary -> write_to_socket.
Carl Hetherington [Wed, 15 Apr 2020 18:56:33 +0000 (20:56 +0200)]
Bump server link version.
Carl Hetherington [Thu, 16 Apr 2020 21:33:50 +0000 (23:33 +0200)]
Added some FIXMEs.
Carl Hetherington [Thu, 16 Apr 2020 12:16:42 +0000 (14:16 +0200)]
Some missing checks for allocation failures.
Carl Hetherington [Wed, 15 Apr 2020 14:17:01 +0000 (16:17 +0200)]
Fix length of player output so it can be either the film's length or playlist's length, as appropriate.
Carl Hetherington [Tue, 14 Apr 2020 23:05:18 +0000 (01:05 +0200)]
Try to improve spacing in Keys tab of prefs on macOS (#1550).
Carl Hetherington [Tue, 14 Apr 2020 22:50:11 +0000 (00:50 +0200)]
Fix glitchy timeline slider if its update timer goes off while a seek is happening.
Carl Hetherington [Tue, 14 Apr 2020 22:27:26 +0000 (00:27 +0200)]
Add some new keyboard shortcuts for moving around on the timeline:
Shift+Arrows: 1 minute
Ctrl+Arrows: 10 minutes
Ctrl+Shift+Arrows: 1 hour
Home: start
End: end
Carl Hetherington [Tue, 14 Apr 2020 22:27:09 +0000 (00:27 +0200)]
Seek to last frame if a request is made beyond the end of the film.
Carl Hetherington [Tue, 14 Apr 2020 21:11:08 +0000 (23:11 +0200)]
Fix Empty/Player behaviour when using a playlist that is not the same as the Film's.
Previously Empty would use the length of the film for its end point.
Now it takes a Playlist (rather than a list of Pieces) and uses the length
of that playlist for its end point.
This fixes #1543, in which single-content audio analysis jobs would run for the whole
length of the film, rather than the length of the content, producing
strange graphs and incorrect progress reports.
Carl Hetherington [Tue, 14 Apr 2020 20:16:27 +0000 (22:16 +0200)]
Ignore and report failures to decode frames during playback (#1593).
Carl Hetherington [Tue, 14 Apr 2020 19:38:26 +0000 (21:38 +0200)]
Use a struct rather than a std::pair as the return type from ImageProxy::image.
Carl Hetherington [Tue, 14 Apr 2020 19:02:56 +0000 (21:02 +0200)]
DCPReadError -> ReadError in libdcp.
Carl Hetherington [Mon, 13 Apr 2020 22:46:25 +0000 (00:46 +0200)]
pot/merge.
Carl Hetherington [Mon, 13 Apr 2020 22:44:33 +0000 (00:44 +0200)]
Try to give a better error when we fail to start J2K encoding
(probably because of a lack of addressable RAM).
See #1540.
Carl Hetherington [Thu, 9 Apr 2020 18:53:22 +0000 (20:53 +0200)]
Support unmounting on macOS and Windows.
Carl Hetherington [Thu, 9 Apr 2020 18:52:20 +0000 (20:52 +0200)]
Tidy up Drive and unmounting a little.
Carl Hetherington [Thu, 9 Apr 2020 17:27:32 +0000 (19:27 +0200)]
Do the right thing when the user cancels the unmount dialogue.
Carl Hetherington [Wed, 8 Apr 2020 22:58:42 +0000 (00:58 +0200)]
Tidy up nanomsg class API; add unmounting for Linux.
Carl Hetherington [Wed, 8 Apr 2020 22:49:35 +0000 (00:49 +0200)]
Improve disk_writer_messages.h commenting and add DISK_WRITER_QUIT and DISK_WRITER_WRITE #defines.
Carl Hetherington [Wed, 8 Apr 2020 09:23:29 +0000 (11:23 +0200)]
Fix build on old 10.6 environment.
Carl Hetherington [Tue, 7 Apr 2020 15:23:07 +0000 (17:23 +0200)]
Windows build fix.
Carl Hetherington [Tue, 7 Apr 2020 12:09:46 +0000 (14:09 +0200)]
Fix non-disk packaging on macOS.
Carl Hetherington [Mon, 6 Apr 2020 23:29:50 +0000 (01:29 +0200)]
Add DCPOMATIC_DISK define and don't build stuff needing boost dll library if we don't need it.
Carl Hetherington [Mon, 6 Apr 2020 19:38:10 +0000 (21:38 +0200)]
Remove duplicate Drive::description.
Carl Hetherington [Mon, 6 Apr 2020 15:19:20 +0000 (17:19 +0200)]
Fix syntax for previous.
Carl Hetherington [Mon, 6 Apr 2020 14:40:46 +0000 (16:40 +0200)]
Use c++11 on Windows too.
Carl Hetherington [Sun, 15 Mar 2020 23:44:31 +0000 (00:44 +0100)]
Add disk writer tool.
Carl Hetherington [Thu, 19 Mar 2020 21:26:40 +0000 (22:26 +0100)]
Missing texts for some new verification failures.
Carl Hetherington [Sun, 15 Mar 2020 23:44:31 +0000 (00:44 +0100)]
Move stress testing code into a separate class and always build it.
Fix stress script generation to always reload a DCP rather than
expecting it to be available after it has finished playback.
Carl Hetherington [Sun, 15 Mar 2020 22:22:50 +0000 (23:22 +0100)]
Fix player stress testing with expanded controls.
Also correctly wait with a stress test until the DCP open
has completely finished.
Carl Hetherington [Sun, 15 Mar 2020 21:26:47 +0000 (22:26 +0100)]
Improve hacks/stress.py a bit.
Carl Hetherington [Sun, 15 Mar 2020 21:26:34 +0000 (22:26 +0100)]
Comments.
Carl Hetherington [Sun, 15 Mar 2020 21:26:19 +0000 (22:26 +0100)]
Rename DEVELOPMENT -> DEVELOP.md and add some stuff about player stress testing.
Carl Hetherington [Sun, 15 Mar 2020 21:25:51 +0000 (22:25 +0100)]
http -> https.
Carl Hetherington [Tue, 10 Mar 2020 22:15:17 +0000 (23:15 +0100)]
Test updates now that there can't be <1s long DCPs any more.
Carl Hetherington [Mon, 9 Mar 2020 21:05:34 +0000 (22:05 +0100)]
Coalesce short reels.
Carl Hetherington [Mon, 9 Mar 2020 21:05:22 +0000 (22:05 +0100)]
Improve and fix some tests.
Carl Hetherington [Mon, 9 Mar 2020 20:41:36 +0000 (21:41 +0100)]
Enforce a minimum DCP length of 1 second.
Carl Hetherington [Mon, 9 Mar 2020 20:35:48 +0000 (21:35 +0100)]
Get some better errors when verification-based tests fail.
Carl Hetherington [Mon, 9 Mar 2020 20:33:13 +0000 (21:33 +0100)]
Enforce minimum reel length when using REELTYPE_BY_LENGTH.
Carl Hetherington [Mon, 9 Mar 2020 20:20:23 +0000 (21:20 +0100)]
Add a test for short pieces of content amongst longer.
Carl Hetherington [Mon, 9 Mar 2020 20:15:47 +0000 (21:15 +0100)]
Failing test for reels with a short length (in bytes) specified.