Carl Hetherington [Mon, 12 Oct 2020 17:59:17 +0000 (19:59 +0200)]
Remove some debug output.
Carl Hetherington [Fri, 9 Oct 2020 19:18:34 +0000 (21:18 +0200)]
Provide path to find ffcmp tool for tests.
Carl Hetherington [Thu, 8 Oct 2020 23:18:11 +0000 (01:18 +0200)]
Fix deprecation warning from cdist.
Carl Hetherington [Thu, 8 Oct 2020 21:02:57 +0000 (23:02 +0200)]
Tweak mac environment path.
Carl Hetherington [Thu, 8 Oct 2020 19:30:00 +0000 (21:30 +0200)]
Some macOS test build fixes.
Carl Hetherington [Wed, 7 Oct 2020 07:24:50 +0000 (09:24 +0200)]
Fix a REQUIRE that should be REQUIRE_EQUAL.
Carl Hetherington [Tue, 6 Oct 2020 23:02:47 +0000 (01:02 +0200)]
Fix errors when over-reading a "large" amount from FileGroups on
Windows. I haven't been able to find any conclusive explanation for
why this stuff happens;
https://stackoverflow.com/questions/
7241168/safe-maximum-number-of-records-read-by-fread
is one possible lead.
Carl Hetherington [Tue, 6 Oct 2020 21:54:32 +0000 (23:54 +0200)]
Hack to allow us to make a valid boost::filesystem::path from a
UTF8 constant on Windows. This might actually be a way to get around
the fopen_boost hacks.
Carl Hetherington [Tue, 6 Oct 2020 21:18:40 +0000 (23:18 +0200)]
Add ffcmp dependency for tests.
Carl Hetherington [Tue, 6 Oct 2020 19:37:46 +0000 (21:37 +0200)]
Stop the Windows version of run_ffprobe manipulating the current working directory as tests rely on it.
Carl Hetherington [Tue, 6 Oct 2020 09:58:29 +0000 (11:58 +0200)]
Modify KDM naming test to use shorter path names on Windows.
Carl Hetherington [Tue, 6 Oct 2020 09:27:06 +0000 (11:27 +0200)]
Bump libdcp for better error checking.
Carl Hetherington [Tue, 6 Oct 2020 08:10:01 +0000 (10:10 +0200)]
Remove dependency on srand() and predictable output from rand()
to work around a strange problem on Windows where this test would
fail with the random values offset by 1 step.
Carl Hetherington [Mon, 5 Oct 2020 20:47:30 +0000 (22:47 +0200)]
Make socket tests connect explicitly to localhost to try to fix
error 1214 on Windows.
Carl Hetherington [Mon, 5 Oct 2020 20:27:49 +0000 (22:27 +0200)]
Use rand() instead of /dev/urandom to make test files.
Carl Hetherington [Mon, 5 Oct 2020 09:45:39 +0000 (11:45 +0200)]
Fix POSIX path embedded in test check string.
Carl Hetherington [Mon, 5 Oct 2020 09:15:24 +0000 (11:15 +0200)]
Stop run_ffprobe from changing the current working directory on Windows.
Carl Hetherington [Sun, 4 Oct 2020 22:26:25 +0000 (00:26 +0200)]
Try to make crypo_test more likely to pass.
Carl Hetherington [Sun, 4 Oct 2020 21:31:47 +0000 (23:31 +0200)]
Add python script to do repetitive code changes.
Carl Hetherington [Sun, 4 Oct 2020 20:04:40 +0000 (22:04 +0200)]
Fix use of DCPOMATIC_TEST_PRIVATE variable to specify where
test private data is.
Carl Hetherington [Sun, 4 Oct 2020 18:51:35 +0000 (20:51 +0200)]
Windows test run script.
Carl Hetherington [Fri, 2 Oct 2020 11:31:35 +0000 (13:31 +0200)]
Fix Windows console apps to actually have a console.
Carl Hetherington [Thu, 1 Oct 2020 23:11:29 +0000 (01:11 +0200)]
Label vertical alignment fixes.
Carl Hetherington [Thu, 1 Oct 2020 16:55:40 +0000 (18:55 +0200)]
Fix integer overflow in test.
Carl Hetherington [Thu, 1 Oct 2020 11:27:32 +0000 (13:27 +0200)]
Carl Hetherington [Thu, 1 Oct 2020 08:44:11 +0000 (10:44 +0200)]
Remove Image/GraphicsMagick dependency.
Carl Hetherington [Thu, 1 Oct 2020 08:40:42 +0000 (10:40 +0200)]
Add some more pixfmts to hack.
Carl Hetherington [Wed, 30 Sep 2020 19:26:37 +0000 (21:26 +0200)]
Build tests on Windows.
Carl Hetherington [Tue, 29 Sep 2020 20:25:29 +0000 (22:25 +0200)]
macOS extensions to run/tests.
Carl Hetherington [Tue, 29 Sep 2020 20:06:36 +0000 (22:06 +0200)]
Make use of default_font_file().
Carl Hetherington [Tue, 29 Sep 2020 18:55:16 +0000 (20:55 +0200)]
Fix incorrect sign on boost test constants.
Carl Hetherington [Tue, 29 Sep 2020 18:54:17 +0000 (20:54 +0200)]
Cope with different names for ImageMagick's .pc file (Linux and macOS).
Carl Hetherington [Tue, 29 Sep 2020 18:51:02 +0000 (20:51 +0200)]
Fix incorrect forward declaration of struct as class.
Carl Hetherington [Tue, 29 Sep 2020 18:50:41 +0000 (20:50 +0200)]
Enable building of unit tests on macOS.
Carl Hetherington [Mon, 28 Sep 2020 19:17:42 +0000 (21:17 +0200)]
Adapt for cdist doing notarization.
Carl Hetherington [Mon, 28 Sep 2020 12:45:58 +0000 (14:45 +0200)]
Remove notarization from make_dmg.sh.
Carl Hetherington [Thu, 8 Oct 2020 14:13:02 +0000 (16:13 +0200)]
Fix up config backup tests.
Carl Hetherington [Thu, 8 Oct 2020 13:37:35 +0000 (15:37 +0200)]
Fix error when trying to make the openssl symlink again.
Carl Hetherington [Mon, 5 Oct 2020 22:12:16 +0000 (00:12 +0200)]
Fix assorted GTK3-related alignment problems.
Carl Hetherington [Tue, 29 Sep 2020 21:17:53 +0000 (23:17 +0200)]
Make unit tests use their own configuration rather than whatever
happens to be in $HOME.
This is especially important for signer certificates; without this
it looks like the ones from $HOME will be used.
Carl Hetherington [Tue, 29 Sep 2020 21:17:47 +0000 (23:17 +0200)]
Remove debug code.
Carl Hetherington [Tue, 29 Sep 2020 21:17:24 +0000 (23:17 +0200)]
Try a little harder to make sure we use the patched openssl for
unit tests.
Carl Hetherington [Tue, 29 Sep 2020 20:15:56 +0000 (22:15 +0200)]
Remove some Linux hacks that I can't see the point of any more.
Carl Hetherington [Sun, 27 Sep 2020 21:47:47 +0000 (23:47 +0200)]
Disable some more warnings.
Carl Hetherington [Sun, 27 Sep 2020 21:41:25 +0000 (23:41 +0200)]
Tweak trim-to-end behaviour and button label.
Now this button trims the current frame and all following (#1831).
It seems to be likely that you'd be looking at something you want
to remove, not the thing before what you want to remove.
Carl Hetherington [Sun, 27 Sep 2020 21:31:06 +0000 (23:31 +0200)]
Fix playhead position after trim-up-to (#1847).
Carl Hetherington [Sun, 27 Sep 2020 20:50:43 +0000 (22:50 +0200)]
Go back to add_to_cairo_context rather than show_in_cairo_context.
On Linux, at least, doing
add_to_cairo_context()
fill()
add_to_cairo_context()
stroke()
gives a nicer output than
show_in_cairo_context()
It's not clear exactly what the difference is, but the anti aliasing
looks better and the font outlines basically look smoother.
May help with #1815.
Carl Hetherington [Sun, 27 Sep 2020 20:40:13 +0000 (22:40 +0200)]
Build fix.
Carl Hetherington [Sun, 27 Sep 2020 19:19:24 +0000 (21:19 +0200)]
Bump libdcp for missing xsd fixes.
Carl Hetherington [Sun, 27 Sep 2020 19:18:51 +0000 (21:18 +0200)]
Fixes for new libdcp with multiple content versions.
Carl Hetherington [Sun, 27 Sep 2020 19:18:15 +0000 (21:18 +0200)]
Tidy up xsd list in Windows installer.
Carl Hetherington [Sun, 27 Sep 2020 18:07:06 +0000 (20:07 +0200)]
Use bitmap_path() method to find the splash screen image.
Carl Hetherington [Sun, 27 Sep 2020 18:06:57 +0000 (20:06 +0200)]
Add missing tags_path() for Windows and macOS.
Carl Hetherington [Sun, 27 Sep 2020 18:05:48 +0000 (20:05 +0200)]
Revert some of the Linux stuff from a few commits ago.
This fixes startup from the source tree.
Carl Hetherington [Sun, 27 Sep 2020 18:05:16 +0000 (20:05 +0200)]
Install libdcp tags files on Windows.
Carl Hetherington [Sun, 27 Sep 2020 18:05:09 +0000 (20:05 +0200)]
Install libdcp tags files on macOS.
Carl Hetherington [Sun, 27 Sep 2020 17:35:12 +0000 (19:35 +0200)]
Adapt for new libdcp (fixing large compiler resource requirements).
Also adjust Linux resource-finding code to juse look for stuff
relative to the executable's location.
Carl Hetherington [Sat, 26 Sep 2020 09:29:22 +0000 (11:29 +0200)]
Bump libdcp trying to reduce RAM needed for build.
Carl Hetherington [Sat, 26 Sep 2020 09:22:44 +0000 (11:22 +0200)]
Bump libdcp for macOS build fix.
Carl Hetherington [Fri, 25 Sep 2020 22:22:08 +0000 (00:22 +0200)]
It's not 7.1 until we have 12 channels.
Carl Hetherington [Fri, 25 Sep 2020 22:21:21 +0000 (00:21 +0200)]
Update test ref for new metadata.
Carl Hetherington [Fri, 25 Sep 2020 20:51:18 +0000 (22:51 +0200)]
Add NamedChannel and use it to hide the never-used channels
when mapping into a DCP.
Carl Hetherington [Fri, 25 Sep 2020 19:04:06 +0000 (21:04 +0200)]
Add missing try/catch to a call to getDeviceInfo.
Carl Hetherington [Fri, 25 Sep 2020 19:03:23 +0000 (21:03 +0200)]
Use the appropriate RtAudio exception (though I'm not sure if this
still necessary).
Carl Hetherington [Fri, 25 Sep 2020 14:37:49 +0000 (16:37 +0200)]
Remove unnecessary explicit.
Carl Hetherington [Wed, 23 Sep 2020 18:16:12 +0000 (20:16 +0200)]
Fix crash now that some audio channels are definitely unused.
Carl Hetherington [Wed, 23 Sep 2020 15:35:40 +0000 (17:35 +0200)]
Undefine Status that somebody decided to put in the global namespace.
Carl Hetherington [Wed, 23 Sep 2020 15:19:24 +0000 (17:19 +0200)]
Missing #include.
Carl Hetherington [Wed, 23 Sep 2020 15:05:01 +0000 (17:05 +0200)]
Add audio language configuration and pass it to libdcp.
Carl Hetherington [Wed, 23 Sep 2020 15:04:53 +0000 (17:04 +0200)]
Build fixes.
Carl Hetherington [Wed, 23 Sep 2020 12:48:35 +0000 (14:48 +0200)]
Fix some vertical alignment.
Carl Hetherington [Wed, 23 Sep 2020 10:22:38 +0000 (12:22 +0200)]
Bump libdcp for new API stuff.
Carl Hetherington [Mon, 21 Sep 2020 20:23:24 +0000 (22:23 +0200)]
Add new .xsd files for Windows.
Carl Hetherington [Mon, 21 Sep 2020 20:23:12 +0000 (22:23 +0200)]
Bump libdcp/libsub.
Carl Hetherington [Fri, 4 Sep 2020 15:24:12 +0000 (17:24 +0200)]
Support CPL metadata.
Carl Hetherington [Fri, 4 Sep 2020 07:29:41 +0000 (09:29 +0200)]
Adapt for changes to libdcp API.
Carl Hetherington [Tue, 22 Sep 2020 07:38:08 +0000 (09:38 +0200)]
Add missing dcpomatic2_playlist.bat.
Carl Hetherington [Tue, 22 Sep 2020 05:49:00 +0000 (07:49 +0200)]
Add missing dcpomatic2_create.bat.
Carl Hetherington [Mon, 21 Sep 2020 23:13:12 +0000 (01:13 +0200)]
Add missing dcpomatic2_cli.bat.
Carl Hetherington [Mon, 21 Sep 2020 22:54:03 +0000 (00:54 +0200)]
Add missing dcpomatic2_kdm_cli_debug.bat.
Carl Hetherington [Mon, 21 Sep 2020 22:27:00 +0000 (00:27 +0200)]
Try to fix Windows debug build.
Carl Hetherington [Mon, 21 Sep 2020 17:53:00 +0000 (19:53 +0200)]
Missing bits of packaging for combiner on Linux.
Carl Hetherington [Mon, 21 Sep 2020 17:49:31 +0000 (19:49 +0200)]
Fix --standard flag to dcpomatic2_cli (github #9).
Forward-ported-from-commit:
c1e8c8638bcb3b4c9d90adc3719f38fa7bf81be9
Forward-ported-from-branch: master
Carl Hetherington [Sat, 19 Sep 2020 22:24:31 +0000 (00:24 +0200)]
Fix windows installer.
Carl Hetherington [Sat, 19 Sep 2020 21:41:45 +0000 (23:41 +0200)]
We only need Libre Baskerville when running update on Linux.
Carl Hetherington [Wed, 16 Sep 2020 22:05:09 +0000 (00:05 +0200)]
Use sensitivity to disallow empty template names, rather than
giving an error after the fact.
Carl Hetherington [Thu, 10 Sep 2020 23:07:46 +0000 (01:07 +0200)]
Add dcpomatic_combine tool (#1245).
Carl Hetherington [Thu, 10 Sep 2020 23:23:58 +0000 (01:23 +0200)]
DirPicker tweaks:
- fix vertical padding so that folder name lines up with label.
- use italic for the folder name.
- use the full path for the folder name.
Carl Hetherington [Thu, 17 Sep 2020 22:54:38 +0000 (00:54 +0200)]
Make it easier to extend the Windows installer.
Carl Hetherington [Thu, 17 Sep 2020 22:43:09 +0000 (00:43 +0200)]
Remove Windows XP support.
Carl Hetherington [Thu, 17 Sep 2020 22:21:01 +0000 (00:21 +0200)]
swaroop: remove from Windows installer.
Carl Hetherington [Mon, 14 Sep 2020 21:07:34 +0000 (23:07 +0200)]
Don't allow creation of a new film with no name. Otherwise we try
to write metadata to the "create in folder" directory, which throws
an uncaught exception if the specified directory is unwriteable.
If we have a name then DoM tries to create the directory with that name,
which fails more elegantly and with a nicer error.
Carl Hetherington [Mon, 14 Sep 2020 11:09:04 +0000 (13:09 +0200)]
Rename shared_path -> resources_path.
Carl Hetherington [Mon, 14 Sep 2020 11:04:16 +0000 (13:04 +0200)]
Add xsd_path() and use it to fix access to .xsd files on Linux (#1830).
Carl Hetherington [Fri, 11 Sep 2020 19:23:37 +0000 (21:23 +0200)]
More fixes for wxWidgets 3.1.x.
Carl Hetherington [Sat, 12 Sep 2020 21:19:19 +0000 (23:19 +0200)]
Remove support for Windows XP.
Carl Hetherington [Fri, 4 Sep 2020 16:15:23 +0000 (18:15 +0200)]
Fixes for building with newer wxWidgets.
Carl Hetherington [Thu, 10 Sep 2020 12:56:18 +0000 (14:56 +0200)]
Fix assertion with wxWidgets 3.1.
Carl Hetherington [Tue, 8 Sep 2020 19:37:32 +0000 (21:37 +0200)]
Fix incorrect sense of title parameter.
Carl Hetherington [Tue, 8 Sep 2020 19:37:18 +0000 (21:37 +0200)]
Use wxString for EditableListColumn.