Carl Hetherington [Thu, 18 Mar 2021 23:00:21 +0000 (00:00 +0100)]
Add Mattias Mattsson to translators list.
Carl Hetherington [Thu, 18 Mar 2021 22:55:55 +0000 (23:55 +0100)]
Merge pull request #10 from matmat/v2.15.x
Updated sv_SE translation for dcpomatic
Carl Hetherington [Wed, 17 Mar 2021 22:27:23 +0000 (23:27 +0100)]
macOS build fix.
Carl Hetherington [Wed, 17 Mar 2021 10:56:26 +0000 (11:56 +0100)]
Bump libdcp for better tags directory finding.
Carl Hetherington [Wed, 17 Mar 2021 10:12:14 +0000 (11:12 +0100)]
Require boost 1.61.0 or above on Windows/macOS.
Carl Hetherington [Wed, 17 Mar 2021 09:29:43 +0000 (10:29 +0100)]
Use --destdir instead of --install-prefix in wscript.
Carl Hetherington [Mon, 8 Mar 2021 19:09:21 +0000 (20:09 +0100)]
Package dcpverify{,.exe} from libdcp as dcpomatic2_verify{,.exe} (#1915).
Mattias Mattsson [Thu, 18 Mar 2021 02:20:47 +0000 (03:20 +0100)]
Updated sv_SE translation for dcpomatic
Carl Hetherington [Wed, 17 Mar 2021 19:14:24 +0000 (20:14 +0100)]
After a tag search, scroll the list so we can see the best results.
Otherwise if you search when the list is scrolled down you wonder
why you aren't seeing the results you expect from the search.
Carl Hetherington [Wed, 17 Mar 2021 15:35:26 +0000 (16:35 +0100)]
Hint about out-of-range markers (#1920).
Carl Hetherington [Wed, 17 Mar 2021 15:35:11 +0000 (16:35 +0100)]
When correcting markers keep them just inside the project's duration.
Carl Hetherington [Wed, 17 Mar 2021 15:22:25 +0000 (16:22 +0100)]
Missing verification note text.
Carl Hetherington [Wed, 17 Mar 2021 15:22:16 +0000 (16:22 +0100)]
Stop truncated numbers on Linux (at least).
Carl Hetherington [Wed, 17 Mar 2021 15:22:06 +0000 (16:22 +0100)]
Limit markers to the film length on entry (#1920).
Carl Hetherington [Wed, 17 Mar 2021 15:19:48 +0000 (16:19 +0100)]
Fix build after libdcp change.
Carl Hetherington [Tue, 16 Mar 2021 13:24:48 +0000 (14:24 +0100)]
Split subtitles at reel boundaries (#1918).
Carl Hetherington [Mon, 15 Mar 2021 18:22:43 +0000 (19:22 +0100)]
Use period when adding text subs, like we do with image ones.
Carl Hetherington [Mon, 15 Mar 2021 18:21:42 +0000 (19:21 +0100)]
Add failing test for #1918.
Carl Hetherington [Sun, 14 Mar 2021 23:44:18 +0000 (00:44 +0100)]
Remove references to libicule* and libiculx* which seem no longer to exist.
Carl Hetherington [Sun, 14 Mar 2021 22:38:57 +0000 (23:38 +0100)]
Fix crash on startup on macOS.
Carl Hetherington [Sat, 13 Mar 2021 22:59:14 +0000 (23:59 +0100)]
Some C++11 stuff.
Carl Hetherington [Sat, 13 Mar 2021 08:52:37 +0000 (09:52 +0100)]
Build fix for Ubuntu-16.04-era compilers.
Carl Hetherington [Fri, 12 Mar 2021 22:28:16 +0000 (23:28 +0100)]
Bump lwext4.
Carl Hetherington [Mon, 8 Mar 2021 22:37:10 +0000 (23:37 +0100)]
Use /dev/rdisk on macOS.
Carl Hetherington [Mon, 8 Mar 2021 21:25:47 +0000 (22:25 +0100)]
Get progress during formatting.
Carl Hetherington [Fri, 5 Mar 2021 15:42:33 +0000 (16:42 +0100)]
Add a very basic test of direct disk writing speed.
Carl Hetherington [Fri, 5 Mar 2021 15:41:00 +0000 (16:41 +0100)]
Tweak startup scripts for macOS.
Carl Hetherington [Fri, 5 Mar 2021 15:39:06 +0000 (16:39 +0100)]
Be more careful with some macOS API calls.
Carl Hetherington [Mon, 1 Mar 2021 23:53:56 +0000 (00:53 +0100)]
Tidy up and do flushing more correctly.
This seems necessary with the multi-threaded decoding; it looks
like we were doing it quite wrong before but getting away with it.
Carl Hetherington [Mon, 1 Mar 2021 20:36:36 +0000 (21:36 +0100)]
Rename some subtitle decoding / processing methods.
Carl Hetherington [Mon, 1 Mar 2021 20:12:47 +0000 (21:12 +0100)]
Key _next_time with the audio stream pointer.
Carl Hetherington [Mon, 1 Mar 2021 20:06:01 +0000 (21:06 +0100)]
Remove FFmpeg::_packet.
Carl Hetherington [Mon, 1 Mar 2021 19:35:12 +0000 (20:35 +0100)]
Extract process_audio_frame.
Carl Hetherington [Mon, 1 Mar 2021 19:27:54 +0000 (20:27 +0100)]
Extract audio_stream_from_index.
Carl Hetherington [Mon, 1 Mar 2021 16:53:33 +0000 (17:53 +0100)]
C++11 tidying.
Carl Hetherington [Tue, 2 Mar 2021 11:37:26 +0000 (12:37 +0100)]
Use APPDIR when present to look for resources.
Carl Hetherington [Tue, 2 Mar 2021 11:37:17 +0000 (12:37 +0100)]
Copy some missing things into the AppImage.
Carl Hetherington [Tue, 2 Mar 2021 11:37:07 +0000 (12:37 +0100)]
Remove unnecessary APPDIR variable; AppImage does this for us.
Carl Hetherington [Mon, 1 Mar 2021 12:56:10 +0000 (13:56 +0100)]
Some tidying and be a bit more defensive.
Carl Hetherington [Mon, 1 Mar 2021 12:38:32 +0000 (13:38 +0100)]
Carl Hetherington [Mon, 1 Mar 2021 11:46:30 +0000 (12:46 +0100)]
Fix warning.
Carl Hetherington [Mon, 1 Mar 2021 11:16:36 +0000 (12:16 +0100)]
Fix crash introduced in previous.
Carl Hetherington [Mon, 1 Mar 2021 10:50:25 +0000 (11:50 +0100)]
With multi-threaded decoding we need to be careful to flush
after the main examination loop otherwise we can miss things.
Carl Hetherington [Sun, 28 Feb 2021 18:32:55 +0000 (19:32 +0100)]
Slight hack to reduce the chance of config files looking different
on Windows and macOS/Linux; allows config_write_utf8_test to work
withouut platform-specific test references.
Carl Hetherington [Sun, 28 Feb 2021 20:50:49 +0000 (21:50 +0100)]
Enable multi-threaded decoding with FFmpeg (helps with #1887).
Carl Hetherington [Sun, 28 Feb 2021 20:50:17 +0000 (21:50 +0100)]
Move some comments into a header.
Carl Hetherington [Sun, 28 Feb 2021 20:50:09 +0000 (21:50 +0100)]
C++11 tweaks.
Carl Hetherington [Sun, 28 Feb 2021 19:59:46 +0000 (20:59 +0100)]
C++11 cleanups.
Carl Hetherington [Sun, 28 Feb 2021 19:27:51 +0000 (20:27 +0100)]
Add version informationm to splash screen (#1913).
Carl Hetherington [Sat, 27 Feb 2021 23:36:04 +0000 (00:36 +0100)]
Try again to fix windows tests.
Carl Hetherington [Sat, 27 Feb 2021 20:16:59 +0000 (21:16 +0100)]
Try to fix text-file-checking test on Windows.
Carl Hetherington [Fri, 26 Feb 2021 19:07:00 +0000 (20:07 +0100)]
Test fixes.
Carl Hetherington [Fri, 26 Feb 2021 09:07:42 +0000 (10:07 +0100)]
Try to make tests more robust by specifying signer/decryption chains.
Carl Hetherington [Fri, 26 Feb 2021 08:54:01 +0000 (09:54 +0100)]
Fix warning.
Carl Hetherington [Fri, 26 Feb 2021 08:53:56 +0000 (09:53 +0100)]
Typo fix.
Carl Hetherington [Fri, 26 Feb 2021 00:24:48 +0000 (01:24 +0100)]
More verification of DCPs during tests.
Carl Hetherington [Fri, 26 Feb 2021 00:24:26 +0000 (01:24 +0100)]
Fix a set of mistakes related to 3D content.
Carl Hetherington [Fri, 26 Feb 2021 00:08:38 +0000 (01:08 +0100)]
Add accessor for _eye in J2kImageProxy.
Carl Hetherington [Wed, 24 Feb 2021 18:53:30 +0000 (19:53 +0100)]
Fix tests being broken by new config test.
Carl Hetherington [Wed, 24 Feb 2021 18:11:36 +0000 (19:11 +0100)]
Fix config test file in test/data.
Carl Hetherington [Wed, 24 Feb 2021 17:02:49 +0000 (18:02 +0100)]
Fix config.xml corruption when it contains multi-byte UTF8 characters.
Carl Hetherington [Tue, 23 Feb 2021 22:55:00 +0000 (23:55 +0100)]
Bump libdcp.
Carl Hetherington [Tue, 23 Feb 2021 22:49:39 +0000 (23:49 +0100)]
Fix missing test exception.
Carl Hetherington [Tue, 23 Feb 2021 19:01:49 +0000 (20:01 +0100)]
Fix assertion failure in AudioBuffers::copy_from() (#1909)
A number of frames N was being split up into two parts which together
were bigger than N, meaning a copy of one of the parts failed.
Carl Hetherington [Tue, 23 Feb 2021 00:47:21 +0000 (01:47 +0100)]
Remove wxSTAY_ON_TOP from splash screen on Windows to stop it hiding
error dialogues that pop up during startup.
Carl Hetherington [Sun, 21 Feb 2021 19:28:59 +0000 (20:28 +0100)]
Verify a whole bunch of DCPs made by unit tests.
Carl Hetherington [Sun, 21 Feb 2021 19:27:58 +0000 (20:27 +0100)]
Don't write active picture area with zero width or height as it makes verification fail.
Carl Hetherington [Sun, 21 Feb 2021 19:26:37 +0000 (20:26 +0100)]
Don't create empty SMPTE subtitles files with empty <SubtitleList>
Files like this fail validation against the XSD. Perhaps the XSD
is wrong; for now though, create an empty 1-second-long subtitle
in such files.
Carl Hetherington [Sun, 21 Feb 2021 19:26:32 +0000 (20:26 +0100)]
Fix reel setup when the last reel is less than 1 second long.
Carl Hetherington [Tue, 23 Feb 2021 00:11:28 +0000 (01:11 +0100)]
Fix some wxWidgets assertion failures.
Casued by specifying wxFD_OVERWRITE_PROMPT without wxFD_SAVE; it makes
no sense and in wx3.1 it raises an error.
Carl Hetherington [Tue, 23 Feb 2021 00:11:18 +0000 (01:11 +0100)]
Fix assertion ordering.
Carl Hetherington [Sat, 20 Feb 2021 23:11:44 +0000 (00:11 +0100)]
Fix some wx3.1 alignment.
Carl Hetherington [Wed, 17 Feb 2021 19:08:15 +0000 (20:08 +0100)]
Fix typos.
Carl Hetherington [Wed, 17 Feb 2021 16:33:35 +0000 (17:33 +0100)]
Assorted C++11 tidying.
Carl Hetherington [Wed, 17 Feb 2021 16:30:12 +0000 (17:30 +0100)]
Fix some wx3.1 assertions and some C++ tidying.
Carl Hetherington [Tue, 16 Feb 2021 09:40:12 +0000 (10:40 +0100)]
C++11 tidying.
Carl Hetherington [Mon, 15 Feb 2021 23:18:35 +0000 (00:18 +0100)]
Avoid using unzip.exe for Windows tests, as it crashes quite a lot for some reason.
Carl Hetherington [Mon, 15 Feb 2021 22:29:17 +0000 (23:29 +0100)]
Tweak markdown in DEVELOP.md
Carl Hetherington [Mon, 15 Feb 2021 20:15:37 +0000 (21:15 +0100)]
Compile fix for ubuntu-16.04-era gcc.
Carl Hetherington [Mon, 15 Feb 2021 01:57:24 +0000 (02:57 +0100)]
Tell user we need a KDM when we have none, and content is encrypted.
If you try to fetch encrypted content from asdcplib without specifying
any key it will happily return the encrypted content, so check for that,
as well as checking any key we *do* have actually works.
Carl Hetherington [Mon, 15 Feb 2021 01:50:03 +0000 (02:50 +0100)]
Don't keep returning AGAIN from the butler when it is already dead/finished.
This causes, for example, player UI hangs when trying to play
something unplayable (e.g. a DCP with no KDM).
Carl Hetherington [Mon, 15 Feb 2021 00:42:06 +0000 (01:42 +0100)]
Coalesce player changes around KDM loading.
A similar fix for KDM changes as
7d33aff2d5e81185f3361e28c84e3f9858464ef1
was for CPL changes.
Carl Hetherington [Mon, 15 Feb 2021 00:39:22 +0000 (01:39 +0100)]
Fix wx3.1.x alignment errors.
Carl Hetherington [Mon, 15 Feb 2021 00:15:19 +0000 (01:15 +0100)]
Test reference tweaks.
Carl Hetherington [Sun, 14 Feb 2021 23:43:12 +0000 (00:43 +0100)]
Allow multiple video tracks to be visible in the timeline.
Carl Hetherington [Sun, 14 Feb 2021 23:42:55 +0000 (00:42 +0100)]
Fix timeline zoom oddities after dragging a very small zoom rectangle.
Carl Hetherington [Sun, 14 Feb 2021 23:42:22 +0000 (00:42 +0100)]
Typo fix.
Carl Hetherington [Tue, 29 Sep 2020 12:16:56 +0000 (14:16 +0200)]
Basic handling of overlapping video (#1848).
Carl Hetherington [Sun, 14 Feb 2021 11:36:23 +0000 (12:36 +0100)]
Fix incorrect coalesce() output when one input range is wholly
covered by another.
Carl Hetherington [Sat, 13 Feb 2021 23:29:48 +0000 (00:29 +0100)]
Remove use of boost::noncopyable
Carl Hetherington [Sat, 13 Feb 2021 23:29:25 +0000 (00:29 +0100)]
Fix typos in operator=
Carl Hetherington [Sun, 14 Feb 2021 20:39:31 +0000 (21:39 +0100)]
C++11 cleanups.
Carl Hetherington [Thu, 11 Feb 2021 20:33:08 +0000 (21:33 +0100)]
Test: smaller steps when adding noise.
Carl Hetherington [Wed, 10 Feb 2021 00:34:21 +0000 (01:34 +0100)]
Manual tweaks; both content and style for new website.
Carl Hetherington [Tue, 9 Feb 2021 13:08:46 +0000 (14:08 +0100)]
Coalesce player changes around CPL change.
If multiple player changes happen, causing the player to be suspended,
there are problems if one of those changes causes a FilmViewer:seek.
In there, we wait for the seek to finish, but it will never finish
because of the suspension. Hence it's important that we only trigger
the seek once the suspension is over.
Fixes #1905.
Carl Hetherington [Tue, 9 Feb 2021 13:05:46 +0000 (14:05 +0100)]
Handle pending player changes more efficiently.
Rather than looping over all changes, possibly calling a refresh
method for each, coalesce them.
Carl Hetherington [Tue, 9 Feb 2021 12:58:37 +0000 (13:58 +0100)]
Move some updates from content_change to player_change.
So far as I can see there's no need for them to respond to
content_change, and it's neater to do it all in one place.
Carl Hetherington [Tue, 9 Feb 2021 12:56:31 +0000 (13:56 +0100)]
Use vector for _pending_player_changes
Carl Hetherington [Tue, 9 Feb 2021 12:53:18 +0000 (13:53 +0100)]
Some small C++11 tweaks.
Carl Hetherington [Sun, 7 Feb 2021 23:13:37 +0000 (00:13 +0100)]
Revert "Build tests on ubuntu 16.04."
This reverts commit
93c2ca7dfc8feeae374c867c1c679334571a7547.
Building the tests on 16.04 needs a newer boost than it provides;
you can build it statically but then you need to link the boost test
library statically (which requires the removal of BOOST_TEST_DYN_LINK
all over the place). Doing that fails in libsub for some reason.