libsub.git
4 years agoFix incorrect calculation of extension block number (EBN); previously
Carl Hetherington [Wed, 1 Apr 2020 13:24:01 +0000 (13:24 +0000)]
Fix incorrect calculation of extension block number (EBN); previously
an incorrect 0 would be used if the line length was exactly 112.

4 years agoRemove confusing use of repeated loop counters.
Carl Hetherington [Wed, 1 Apr 2020 13:23:32 +0000 (13:23 +0000)]
Remove confusing use of repeated loop counters.

4 years agoFix binary STL output with subs that are too big for a single TTI block.
Carl Hetherington [Thu, 26 Mar 2020 22:03:23 +0000 (22:03 +0000)]
Fix binary STL output with subs that are too big for a single TTI block.

Forward-ported from 82f9ab96faeef0eb684c357d76d27f3737cf1d55 in v1.4.x.

4 years agoAdd a FIXME.
Carl Hetherington [Thu, 26 Mar 2020 20:45:14 +0000 (21:45 +0100)]
Add a FIXME.

4 years agoAdd another test.
Carl Hetherington [Wed, 25 Mar 2020 12:29:20 +0000 (13:29 +0100)]
Add another test.

4 years agoUse BOOST_FOREACH.
Carl Hetherington [Wed, 25 Mar 2020 12:11:45 +0000 (12:11 +0000)]
Use BOOST_FOREACH.

4 years agoAdd FIXME.
Carl Hetherington [Wed, 25 Mar 2020 12:02:31 +0000 (13:02 +0100)]
Add FIXME.

4 years agoWe only use 128 bytes of the buffer for TTI blocks.
Carl Hetherington [Wed, 25 Mar 2020 12:02:05 +0000 (13:02 +0100)]
We only use 128 bytes of the buffer for TTI blocks.

4 years agoFix build.
Carl Hetherington [Sat, 7 Mar 2020 18:45:56 +0000 (19:45 +0100)]
Fix build.

4 years agoBuild libdcp with force-cpp11 if it is passed in as an option to libsub.
Carl Hetherington [Thu, 5 Mar 2020 09:34:28 +0000 (10:34 +0100)]
Build libdcp with force-cpp11 if it is passed in as an option to libsub.

4 years agoSupport SSA tags in SRT files (DoM #938).
Carl Hetherington [Thu, 13 Feb 2020 23:16:45 +0000 (00:16 +0100)]
Support SSA tags in SRT files (DoM #938).

4 years agoMake horizontal position references correct when parsing \anX
Carl Hetherington [Thu, 13 Feb 2020 21:20:13 +0000 (22:20 +0100)]
Make horizontal position references correct when parsing \anX

4 years agoClarify meaning of horizontal and vertical references.
Carl Hetherington [Thu, 13 Feb 2020 21:19:52 +0000 (22:19 +0100)]
Clarify meaning of horizontal and vertical references.

4 years agoAdd compile_commands.json for ccls.
Carl Hetherington [Thu, 13 Feb 2020 23:25:31 +0000 (00:25 +0100)]
Add compile_commands.json for ccls.

4 years agoFactor SSA style parsing out to separate method.
Carl Hetherington [Thu, 13 Feb 2020 19:13:31 +0000 (20:13 +0100)]
Factor SSA style parsing out to separate method.

4 years agoAllow force-cpp11 via cscript options.
Carl Hetherington [Mon, 3 Feb 2020 00:02:26 +0000 (01:02 +0100)]
Allow force-cpp11 via cscript options.

4 years agoPossibly-missing include.
Carl Hetherington [Thu, 30 Jan 2020 00:16:45 +0000 (01:16 +0100)]
Possibly-missing include.

4 years agoAdd a test for the FILE * STL reader.
Carl Hetherington [Thu, 23 Jan 2020 18:26:39 +0000 (19:26 +0100)]
Add a test for the FILE * STL reader.

4 years agoAdd hack for binary STL files with high MNR (maximum number of rows) values.
Carl Hetherington [Thu, 23 Jan 2020 14:37:13 +0000 (15:37 +0100)]
Add hack for binary STL files with high MNR (maximum number of rows) values.

4 years agoAdd option to read binary STL from a FILE *
Carl Hetherington [Thu, 23 Jan 2020 14:12:25 +0000 (15:12 +0100)]
Add option to read binary STL from a FILE *

4 years agoSplit InputReader into InputReader and StreamInputReader.
Carl Hetherington [Thu, 23 Jan 2020 14:02:39 +0000 (15:02 +0100)]
Split InputReader into InputReader and StreamInputReader.

4 years agoIntroduce InputReader to read data from the file and do low-level parsing.
Carl Hetherington [Thu, 23 Jan 2020 13:57:27 +0000 (14:57 +0100)]
Introduce InputReader to read data from the file and do low-level parsing.

4 years agoMake the STL binary reader test better.
Carl Hetherington [Thu, 23 Jan 2020 19:58:37 +0000 (20:58 +0100)]
Make the STL binary reader test better.

4 years agoMove the body of dumpsubs out into a method.
Carl Hetherington [Thu, 23 Jan 2020 19:58:26 +0000 (20:58 +0100)]
Move the body of dumpsubs out into a method.

4 years agoFix static build.
Carl Hetherington [Thu, 5 Dec 2019 07:50:31 +0000 (08:50 +0100)]
Fix static build.

4 years agoFix for new asdcplib repo.
Carl Hetherington [Wed, 4 Dec 2019 23:27:05 +0000 (00:27 +0100)]
Fix for new asdcplib repo.

4 years agoBump asdcplib to build with python 3.
Carl Hetherington [Mon, 4 Nov 2019 14:33:30 +0000 (15:33 +0100)]
Bump asdcplib to build with python 3.

4 years agoSupport rgba() colour specifiers in Subrip files; not sure if they are strictly allow...
Carl Hetherington [Sun, 14 Jul 2019 19:44:01 +0000 (20:44 +0100)]
Support rgba() colour specifiers in Subrip files; not sure if they are strictly allowed but part of WebVTT.

4 years agoFix crash with unexpected <font> color formats.
Carl Hetherington [Sun, 14 Jul 2019 18:40:42 +0000 (19:40 +0100)]
Fix crash with unexpected <font> color formats.

4 years agoImprove SSA colour parsing.
Carl Hetherington [Thu, 11 Jul 2019 00:29:48 +0000 (01:29 +0100)]
Improve SSA colour parsing.

4 years agoAdd support for \c in SSA.
Carl Hetherington [Mon, 24 Jun 2019 11:31:56 +0000 (12:31 +0100)]
Add support for \c in SSA.

4 years agoRemove libdcp version spec for now.
Carl Hetherington [Wed, 1 May 2019 09:24:31 +0000 (10:24 +0100)]
Remove libdcp version spec for now.

5 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/libsub
Carl Hetherington [Sun, 28 Apr 2019 20:58:26 +0000 (21:58 +0100)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/libsub

5 years agoRemove old file.
Carl Hetherington [Sun, 28 Apr 2019 20:58:20 +0000 (21:58 +0100)]
Remove old file.

5 years agoBump libdcp.
Carl Hetherington [Fri, 29 Mar 2019 15:57:02 +0000 (15:57 +0000)]
Bump libdcp.

5 years agoBump libdcp.
Carl Hetherington [Wed, 27 Mar 2019 00:24:40 +0000 (00:24 +0000)]
Bump libdcp.

5 years agoMissing #include.
Carl Hetherington [Tue, 26 Mar 2019 21:53:48 +0000 (21:53 +0000)]
Missing #include.

5 years agoBump libcxml.
Carl Hetherington [Tue, 26 Mar 2019 21:46:36 +0000 (21:46 +0000)]
Bump libcxml.

5 years agoAdd another conversion.
Carl Hetherington [Sat, 23 Mar 2019 22:10:04 +0000 (22:10 +0000)]
Add another conversion.

5 years agoFix merge.
Carl Hetherington [Sat, 23 Mar 2019 21:39:08 +0000 (21:39 +0000)]
Fix merge.

5 years agoBump libcxml for OS X fix.
Carl Hetherington [Sat, 23 Mar 2019 21:38:32 +0000 (21:38 +0000)]
Bump libcxml for OS X fix.

5 years agoBump libdcp.
Carl Hetherington [Fri, 22 Mar 2019 15:15:07 +0000 (15:15 +0000)]
Bump libdcp.

5 years agoBump libcxml for raw_convert type addition.
Carl Hetherington [Fri, 22 Mar 2019 15:03:11 +0000 (15:03 +0000)]
Bump libcxml for raw_convert type addition.

5 years agoMissing #include.
Carl Hetherington [Fri, 22 Mar 2019 14:06:17 +0000 (14:06 +0000)]
Missing #include.

5 years agoRemove old #include.
Carl Hetherington [Fri, 22 Mar 2019 14:02:45 +0000 (14:02 +0000)]
Remove old #include.

5 years agoBump libcxml.
Carl Hetherington [Fri, 22 Mar 2019 13:47:04 +0000 (13:47 +0000)]
Bump libcxml.

5 years agoBump libdcp for missing include.
Carl Hetherington [Fri, 22 Mar 2019 13:14:30 +0000 (13:14 +0000)]
Bump libdcp for missing include.

5 years agoBump libcxml.
Carl Hetherington [Tue, 19 Mar 2019 21:23:20 +0000 (21:23 +0000)]
Bump libcxml.

5 years agoBump libcxml and libdcp.
Carl Hetherington [Tue, 19 Mar 2019 15:15:52 +0000 (15:15 +0000)]
Bump libcxml and libdcp.

5 years agoGive better errors on malformed subrip times.
Carl Hetherington [Fri, 15 Mar 2019 16:27:50 +0000 (16:27 +0000)]
Give better errors on malformed subrip times.

5 years agoMissing files.
Carl Hetherington [Tue, 12 Mar 2019 21:23:42 +0000 (21:23 +0000)]
Missing files.

5 years agoRemove sstream dependency.
Carl Hetherington [Tue, 12 Mar 2019 16:24:46 +0000 (16:24 +0000)]
Remove sstream dependency.

5 years agoAdd GPL boilerplate.
Carl Hetherington [Tue, 12 Mar 2019 15:35:42 +0000 (15:35 +0000)]
Add GPL boilerplate.

5 years agoBump libdcp for test fixes. v1.4.3
Carl Hetherington [Tue, 12 Mar 2019 14:33:24 +0000 (14:33 +0000)]
Bump libdcp for test fixes.

5 years agoBump deps and fix string decoding. v1.4.2
Carl Hetherington [Tue, 12 Mar 2019 00:36:40 +0000 (00:36 +0000)]
Bump deps and fix string decoding.

5 years agoBump libcxml -> 0.16.0 and libdcp -> 1.6.2. v1.4.1
Carl Hetherington [Tue, 12 Mar 2019 00:13:00 +0000 (00:13 +0000)]
Bump libcxml -> 0.16.0 and libdcp -> 1.6.2.

5 years agoTweak previous.
Carl Hetherington [Fri, 8 Feb 2019 15:50:48 +0000 (15:50 +0000)]
Tweak previous.

5 years agoFix crash with empty SSA subtitle.
Carl Hetherington [Fri, 8 Feb 2019 15:47:28 +0000 (15:47 +0000)]
Fix crash with empty SSA subtitle.

5 years agoAdd some more tests.
Carl Hetherington [Fri, 8 Feb 2019 15:47:20 +0000 (15:47 +0000)]
Add some more tests.

5 years agoBump asdcplib.
Carl Hetherington [Thu, 31 Jan 2019 23:59:01 +0000 (23:59 +0000)]
Bump asdcplib.

5 years agoBump libdcp for asdcplib bump.
Carl Hetherington [Thu, 31 Jan 2019 23:34:40 +0000 (23:34 +0000)]
Bump libdcp for asdcplib bump.

5 years agoFix crash on malformed SubRip file (dcpomatic #1454).
Carl Hetherington [Tue, 29 Jan 2019 22:33:33 +0000 (22:33 +0000)]
Fix crash on malformed SubRip file (dcpomatic #1454).

5 years agoBump libdcp.
Carl Hetherington [Thu, 24 Jan 2019 17:36:39 +0000 (17:36 +0000)]
Bump libdcp.

5 years agoBump libdcp for fix.
Carl Hetherington [Thu, 24 Jan 2019 02:21:27 +0000 (02:21 +0000)]
Bump libdcp for fix.

5 years agoBump libdcp for Sony fixes.
Carl Hetherington [Thu, 24 Jan 2019 02:03:53 +0000 (02:03 +0000)]
Bump libdcp for Sony fixes.

5 years agoStrip Unicode U+202B (right-to-left-embedding) code; it looks like DoM does RTL ...
Carl Hetherington [Wed, 23 Jan 2019 21:44:20 +0000 (21:44 +0000)]
Strip Unicode U+202B (right-to-left-embedding) code; it looks like DoM does RTL (at least) partially correctly without this.

5 years agoBump libdcp.
Carl Hetherington [Tue, 22 Jan 2019 15:47:02 +0000 (15:47 +0000)]
Bump libdcp.

5 years agoFix libdcp version.
Carl Hetherington [Fri, 18 Jan 2019 09:59:51 +0000 (09:59 +0000)]
Fix libdcp version.

5 years agoBump libcxml.
Carl Hetherington [Thu, 17 Jan 2019 21:08:10 +0000 (21:08 +0000)]
Bump libcxml.

5 years agoMissing uselib.
Carl Hetherington [Thu, 17 Jan 2019 21:06:15 +0000 (21:06 +0000)]
Missing uselib.

5 years agoUpdate waf and bump libdcp for similar updates.
Carl Hetherington [Thu, 17 Jan 2019 19:40:16 +0000 (19:40 +0000)]
Update waf and bump libdcp for similar updates.

5 years agoFix potential crash.
Carl Hetherington [Thu, 17 Jan 2019 00:06:47 +0000 (00:06 +0000)]
Fix potential crash.

5 years agoMissing .srt handler in reader_factory.
Carl Hetherington [Thu, 17 Jan 2019 00:06:39 +0000 (00:06 +0000)]
Missing .srt handler in reader_factory.

5 years agoBump libdcp for openjpeg2 debugging code.
Carl Hetherington [Tue, 15 Jan 2019 16:57:53 +0000 (16:57 +0000)]
Bump libdcp for openjpeg2 debugging code.

5 years agoBump libdcp for speculative cert fix.
Carl Hetherington [Mon, 14 Jan 2019 15:50:06 +0000 (15:50 +0000)]
Bump libdcp for speculative cert fix.

5 years agoBump libdcp for verification fixes.
Carl Hetherington [Sat, 12 Jan 2019 23:15:07 +0000 (23:15 +0000)]
Bump libdcp for verification fixes.

5 years agoBump libdcp for SMPTE subtitle fix.
Carl Hetherington [Tue, 8 Jan 2019 10:01:32 +0000 (10:01 +0000)]
Bump libdcp for SMPTE subtitle fix.

5 years agoBump libdcp.
Carl Hetherington [Sun, 6 Jan 2019 23:07:50 +0000 (23:07 +0000)]
Bump libdcp.

5 years agoBump libdcp. v1.4.0
Carl Hetherington [Thu, 8 Nov 2018 23:58:15 +0000 (23:58 +0000)]
Bump libdcp.

5 years agoBump libdcp for raw_convert stuff.
Carl Hetherington [Tue, 9 Oct 2018 22:55:30 +0000 (23:55 +0100)]
Bump libdcp for raw_convert stuff.

5 years agoCope with mixed-case subrip tags.
Carl Hetherington [Thu, 27 Sep 2018 22:03:15 +0000 (23:03 +0100)]
Cope with mixed-case subrip tags.

5 years agoBump libdcp for multi-PKL fix.
Carl Hetherington [Tue, 25 Sep 2018 08:41:45 +0000 (09:41 +0100)]
Bump libdcp for multi-PKL fix.

5 years agoBump libdcp for Atmos KeyId fix.
Carl Hetherington [Sun, 23 Sep 2018 23:46:57 +0000 (00:46 +0100)]
Bump libdcp for Atmos KeyId fix.

5 years agoBump libdcp.
Carl Hetherington [Fri, 14 Sep 2018 20:22:06 +0000 (21:22 +0100)]
Bump libdcp.

5 years agoBump waf.
Carl Hetherington [Mon, 10 Sep 2018 22:10:22 +0000 (23:10 +0100)]
Bump waf.

5 years agoBump libdcp for libcxml.
Carl Hetherington [Mon, 10 Sep 2018 21:23:56 +0000 (22:23 +0100)]
Bump libdcp for libcxml.

5 years agoBump libdcp.
Carl Hetherington [Mon, 10 Sep 2018 21:15:33 +0000 (22:15 +0100)]
Bump libdcp.

5 years agoMissing import.
Carl Hetherington [Mon, 10 Sep 2018 20:48:47 +0000 (21:48 +0100)]
Missing import.

5 years agoBump libdcp.
Carl Hetherington [Mon, 10 Sep 2018 20:44:15 +0000 (21:44 +0100)]
Bump libdcp.

5 years agoAdd GPL boilerplate; move to non-committed versioning.
Carl Hetherington [Mon, 10 Sep 2018 20:43:40 +0000 (21:43 +0100)]
Add GPL boilerplate; move to non-committed versioning.

5 years agoBump asdcplib/libdcp for warning silencing.
Carl Hetherington [Fri, 7 Sep 2018 12:03:25 +0000 (13:03 +0100)]
Bump asdcplib/libdcp for warning silencing.

5 years agoComment.
Carl Hetherington [Sun, 2 Sep 2018 23:42:49 +0000 (00:42 +0100)]
Comment.

5 years agoMerge.
Carl Hetherington [Sun, 2 Sep 2018 22:39:56 +0000 (23:39 +0100)]
Merge.

5 years agoBump libdcp.
Carl Hetherington [Sun, 2 Sep 2018 22:39:29 +0000 (23:39 +0100)]
Bump libdcp.

5 years agoBump libdcp.
Carl Hetherington [Wed, 29 Aug 2018 10:55:54 +0000 (11:55 +0100)]
Bump libdcp.

5 years agoBump libdcp for DCPReadError fix.
Carl Hetherington [Tue, 28 Aug 2018 21:14:50 +0000 (22:14 +0100)]
Bump libdcp for DCPReadError fix.

5 years agoBump libdcp for multiple CCAP.
Carl Hetherington [Wed, 22 Aug 2018 15:21:40 +0000 (16:21 +0100)]
Bump libdcp for multiple CCAP.

5 years agoBump libdcp for PKL fix.
Carl Hetherington [Fri, 17 Aug 2018 12:55:30 +0000 (13:55 +0100)]
Bump libdcp for PKL fix.

5 years agoBump libdcp for PKL stuff.
Carl Hetherington [Fri, 17 Aug 2018 08:42:40 +0000 (09:42 +0100)]
Bump libdcp for PKL stuff.

5 years agoBump libdcp.
Carl Hetherington [Sat, 14 Jul 2018 23:04:21 +0000 (00:04 +0100)]
Bump libdcp.