Commit Graph

536 Commits

Author SHA1 Message Date
Frank Dana 335c0cba1f Merge pull request #303 from ferdnyc/use-std-stoll
Use std::stoll to convert JSON values
2019-10-02 01:29:59 -04:00
Jeff Shillitto 33f16d3a55 Use QFont instead of setting parameters 2019-09-21 21:11:29 +10:00
FeRD (Frank Dana) c422f4f245 Separate GetVersion impl, make Pythonic 2019-09-21 01:43:30 -04:00
FeRD (Frank Dana) 6aebb10cea More explicit prefixing in Qt/ and Player classes 2019-09-21 00:14:32 -04:00
Jeff Shillitto 0cae5da6fa Correct parameter documentation 2019-09-20 22:38:31 +10:00
Jeff Shillitto 738dd62132 Enable background fill color to be set behind text 2019-09-20 22:10:07 +10:00
Jeff Shillitto c8b5300df3 Allow font bold and italic properties to be set 2019-09-20 21:25:09 +10:00
FeRD (Frank Dana) 462f0b7930 Exception.h: Document parameters 2019-08-27 20:48:56 -04:00
FeRD (Frank Dana) 49749d52c2 Exceptions.h: Optional file_path args
Makes nearly all `file_path` arguments optional, unless the exception deals
with file operations specifically (e.g. InvalidFile still requires file_path)
2019-08-27 15:46:31 -04:00
Frank Dana 67934675eb Merge branch 'develop' into std-prefixes 2019-08-25 04:05:58 -04:00
SuslikV 16ca3aef32 Fix return type mismatch 2019-08-24 11:36:21 +02:00
FeRD (Frank Dana) 05a53784cb Merge branch 'develop' into std-prefixes 2019-08-17 16:07:24 -04:00
Jeff Shillitto 3b4580ab7c Update documentation with css parameter and valid color values 2019-08-14 22:15:05 +10:00
Jeff Shillitto 78f370ee14 Add ability to apply style sheet/css to format HTML 2019-08-13 22:11:55 +10:00
Jeff Shillitto c8f2c08d34 Add authors to docs 2019-08-13 21:24:42 +10:00
Jeff Shillitto 745225ad62 Rename variable to font_size. Add docs for QApplication 2019-08-13 21:18:55 +10:00
FeRD (Frank Dana) 5b4bfa8e41 Remove mentions of nonexistent InitFileInfo() 2019-08-12 12:00:18 -04:00
FeRD (Frank Dana) b90a83dd4c Fix documentation-comment formatting, for Doxygen 2019-08-12 09:39:26 -04:00
FeRD (Frank Dana) 0b3207dee7 Merge branch 'develop' into pr-305 2019-08-12 09:36:13 -04:00
Jeff Shillitto 482ad6b14c Tidy and remove duplicate include 2019-08-11 22:58:15 +10:00
Jeff Shillitto 3681121d81 Remove std namespace usage 2019-08-11 22:54:49 +10:00
Jeff Shillitto dbd80926b2 General tidy up and code quality, consistency update 2019-08-11 22:06:34 +10:00
FeRD (Frank Dana) 141e6ba61e Use std::stoll to convert JSON values 2019-08-10 11:31:08 -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
SuslikV 59fe417141 Unify indentation of the code strings 2019-08-08 16:46:07 +03:00