Commit Graph

39 Commits

Author SHA1 Message Date
Frank Dana
969e8320e6 Merge branch 'develop' into std-prefixes 2019-10-29 16:06:55 -04:00
Frank Dana
178c8e2ba3 Merge pull request #346 from jeffski/fix-text-24hr-memory-issue
Reduce duration of Image/Text Readers to 1 hour (#327)
2019-10-25 13:57:31 -04:00
FeRD (Frank Dana)
e15c0c168b Set still-image duration to 1 hour 2019-10-25 13:42:57 -04:00
Frank Dana
8bde07682c Merge branch 'develop' into std-prefixes 2019-10-22 21:00:27 -04:00
Jonathan Thomas
56b1126c21 Merge pull request #302 from ferdnyc/svg-path-check
QtImageReader: Safer ReSVG file extension checks
2019-10-22 17:30:35 -05:00
Jeff Shillitto
acadab708f Stop 24 hours worth for frames being loaded in to memory 2019-10-15 22:11:24 +11:00
FeRD (Frank Dana)
366ff2c5e6 src: Don't pass "" file_path args to exceptions 2019-08-27 15:47:39 -04:00
FeRD (Frank Dana)
76fc1ef571 QtImageReader: Safer ReSVG file extension checks
This changes the type of the private `path` variable to QString
internally (which we were converting it to for a bunch of operations
anyway), and uses QString's more robust string-manipulation and
comparison methods to ensure that only filenames that _end in_ an
.svg/.svgz extension (case-insensitively) are recognized as SVG files.

Previously, a filename such as "Title.svg.png" would be interpreted as
an SVG file.

The change in QString type is purely internal, all of the class's
interfaces remain the same, and accept `std::string path`. We simply
convert it to/from QString at opposite places in the code, now.
2019-08-09 20:50:28 -04:00
FeRD (Frank Dana)
352fd6629a Remaining std:: prefixes 2019-08-04 23:51:02 -04:00
FeRD (Frank Dana)
b56ebf5765 QtPlayer/QtImageReader: std:: prefixes 2019-08-04 22:59:56 -04:00
Jonathan Thomas
5f331e24df Merge pull request #265 from ferdnyc/catch-by-reference
Exceptions: catch-by-reference and other cleanup
2019-07-29 16:27:40 -05:00
FeRD (Frank Dana)
35eb6adc55 Clean up allocated memory in JSON code 2019-07-11 05:00:47 -04:00
Jonathan Thomas
9806694e13 Fix crash caused by resvg failing to parse SVG (when Qt can still parse things fine) 2019-07-09 15:48:46 -05:00
Jonathan Thomas
a4cc119717 Fix SVG render size for Resvg (breaking common transitions) 2019-07-09 15:23:52 -05:00
FeRD (Frank Dana)
25b522589d Always catch-by-reference in C++11 2019-07-03 12:58:02 -04:00
Chris Kirmse
572875b8d7 Merge remote-tracking branch 'upstream/develop' into develop 2019-06-24 10:00:22 -07:00
Jonathan Thomas
ffb5439a2e Merge pull request #224 from sparfenyuk/develop
Add virtual destructor for abstract classes
2019-06-21 15:47:08 -05:00
Jonathan Thomas
967f23b8a4 Merge pull request #245 from ferdnyc/license-block
Upgrade Doxygen documentation formatting/content
2019-06-21 00:24:54 -05:00
FeRD (Frank Dana)
744a4f3ec1 Remove Json:Reader
`Json::Reader` has been deprecated for some time, so we replace it with
`Json::CharReader` generated by a `Json::CharReaderBuilder`, or (in the
one instance where we have a stream as input) `Json::parseFromStream();`
2019-06-19 21:20:04 -04:00
FeRD (Frank Dana)
f170fdd009 Update copyright range to current year 2019-06-11 06:48:32 -04:00
FeRD (Frank Dana)
0327c2ab5c Remove license block from documentation comment 2019-06-09 08:31:04 -04:00
Siarhei Parfianiuk
cbc276e489 Merge branch 'develop' into develop 2019-05-11 12:30:19 +02:00
Chris Kirmse
833fcb8e8e fix a number of memory leaks
- some were with libav functions
- same were due to non-virtual destructors
2019-05-08 15:02:33 -07:00
Jonathan Thomas
d23197c9b6 Updating hwaccel table to use emojis (instead of words) take 3 2019-05-08 14:00:55 -05:00
Sergey Parfenyuk
665a03f9e2 Fix logical statements 2019-04-27 12:50:31 +02:00