Commit Graph

74 Commits

Author SHA1 Message Date
Christopher Kohnert b090d9e3d7 Merge branch 'test_support'
* test_support:
  Another test for the Ss curve control point fix
2017-06-09 14:02:40 -07:00
Christopher Kohnert df4542affc Merge branch 'svg_fix'
* svg_fix:
  Missed a spot for the Ss control point calculation to remember previous curve.
2017-06-09 14:02:33 -07:00
Christopher Kohnert 748daa9624 Another test for the Ss curve control point fix 2017-06-09 14:02:24 -07:00
Christopher Kohnert d873c99c5e Missed a spot for the Ss control point calculation to remember previous curve. 2017-06-09 14:00:17 -07:00
Christopher Kohnert 12b1103d77 Merge branch 'test_support'
* test_support:
  Have montage just do failures and pass them via temp file to allow many at once.
  Add a test for the Ss curve fix
2017-06-09 13:30:25 -07:00
Christopher Kohnert a73eb671cd Have montage just do failures and pass them via temp file to allow many at once. 2017-06-09 13:29:50 -07:00
Christopher Kohnert 1c4ebc40b4 Add a test for the Ss curve fix 2017-06-09 11:46:56 -07:00
Christopher Kohnert 38adcda861 Merge branch 'test_support'
* test_support:
  Allow “@filename.txt” style test inputs (makes re-testing just failures easier).
2017-06-09 11:23:16 -07:00
Christopher Kohnert a98d069720 Allow “@filename.txt” style test inputs (makes re-testing just failures easier). 2017-06-09 11:23:04 -07:00
Christopher Kohnert 862aa8c275 Merge branch 'svg_fix'
* svg_fix:
  Fix handling of [Ss] command’s control point calculation
  Fix line endings.
2017-06-09 11:08:34 -07:00
Christopher Kohnert 5827e10bdd Fix handling of [Ss] command’s control point calculation 2017-06-09 11:04:23 -07:00
Christopher Kohnert c2ab38d9e5 Fix line endings. 2017-06-09 11:02:58 -07:00
Christopher Kohnert f63543535c Merge branch 'test_support'
* test_support:
  Change the error metric to reduce false positives due to anti-aliasing/blending on edges. Allow multiple svg files to be tested at a time.
2017-06-08 17:34:39 -07:00
Christopher Kohnert ee702d45e6 Change the error metric to reduce false positives due to anti-aliasing/blending on edges. Allow multiple svg files to be tested at a time. 2017-06-08 17:31:26 -07:00
Christopher Kohnert 5454bff5ab Merge branch 'cmake'
* cmake:
  Add headers that were missed so they are included in IDE projects.
2017-06-08 16:02:10 -07:00
Christopher Kohnert 5b75ff4939 Merge branch 'fill_rule'
* fill_rule:
  Fix unsigned integer compare warning
2017-06-08 14:44:21 -07:00
Christopher Kohnert 20b88f79de Fix unsigned integer compare warning 2017-06-08 14:44:11 -07:00
Christopher Kohnert c5a14fea45 Merge branch 'fill_rule'
* fill_rule:
  Add support for SVG fill-rule

# Conflicts:
#	core/edge-segments.h
#	ext/import-svg.cpp
2017-06-08 14:40:26 -07:00
Christopher Kohnert 8b4f5f6b5d Add support for SVG fill-rule 2017-06-08 14:27:53 -07:00
Christopher Kohnert 3c97717deb Merge branch 'test_support'
* test_support:
  Adding a test harness and some initial tests (most fail currently)
2017-06-08 11:59:22 -07:00
Christopher Kohnert bb8f03e6e2 Rollback initial arc support merge (was integrated into upstream/master’s SVG improvements change) 2017-06-08 11:54:19 -07:00
Christopher Kohnert 2ef81f598d Integrate upstream/master (SVG parsing improvements) 2017-06-08 11:47:44 -07:00
Christopher Kohnert 3b9d24a6ca Adding a test harness and some initial tests (most fail currently) 2017-06-08 11:12:35 -07:00
Christopher Kohnert 6f67a32529 Add headers that were missed so they are included in IDE projects. 2017-06-08 09:31:00 -07:00
Viktor Chlumský 746767a62b SVG parser improvements 2017-06-05 15:09:56 +02:00
Viktor Chlumský 8c352b6153 Merge pull request #45 from ckohnert/cmake
Improvements to CMake IDE support
2017-06-04 09:44:50 +02:00
Christopher Kohnert 8f2b19a89a Merge branch 'graceful_close'
* graceful_close:
  Allow an M or m to implicitly start a new contour (rather than fail at parsing).
2017-06-01 17:05:21 -07:00
Christopher Kohnert b627462ab3 Allow an M or m to implicitly start a new contour (rather than fail at parsing). 2017-06-01 17:05:07 -07:00
Christopher Kohnert a4f4fdb447 Merge branch 'graceful_close'
* graceful_close:
  Better handling of whitespace at end of input stream.
2017-06-01 16:19:48 -07:00
Christopher Kohnert 95d1c98155 Better handling of whitespace at end of input stream. 2017-06-01 16:19:35 -07:00
Christopher Kohnert 8c23e696a8 Merge branch 'graceful_close'
* graceful_close:
  A bit more verbosity in debug builds to help identify SVG parse issues
  Gracefully close out paths that don’t explicitly terminate the shape (but are still valid)
2017-06-01 12:58:19 -07:00
Christopher Kohnert 20a28081ae A bit more verbosity in debug builds to help identify SVG parse issues 2017-06-01 12:57:52 -07:00
Christopher Kohnert 6819b4cb73 Gracefully close out paths that don’t explicitly terminate the shape (but are still valid) 2017-06-01 12:57:10 -07:00
Christopher Kohnert 6b10089812 Merge branch 'cmake'
* cmake:
  Include the extra library headers and skip the “include” gagging during folderization.
2017-06-01 11:38:39 -07:00
Christopher Kohnert 0984021470 Include the extra library headers and skip the “include” gagging during folderization. 2017-06-01 11:38:02 -07:00
Christopher Kohnert 50a2b223ee Merge branch 'svg_path_selector'
* svg_path_selector:
  Add the ability to specifiy which SVG path to use via command line and change the default to the last path found.
  Return a failure code when aborting.
2017-06-01 11:32:44 -07:00
Christopher Kohnert 5bdcc88474 Add the ability to specifiy which SVG path to use via command line and change the default to the last path found. 2017-06-01 11:30:43 -07:00
Christopher Kohnert 17747cf23a Merge branch 'cmake'
* cmake:
  Improve IDE usability by “folderizing” the sources and include headers by default.
2017-06-01 10:52:23 -07:00
Christopher Kohnert cba9298f94 Improve IDE usability by “folderizing” the sources and include headers by default. 2017-06-01 10:52:05 -07:00
Viktor Chlumský 52e020ada8 Merge pull request #42 from ckohnert/cmake
Add CMake support for easier cross-platform builds.
2017-06-01 12:34:59 +02:00
Viktor Chlumský 867ae62263 Merge pull request #43 from ckohnert/abort_result
Return proper abort code when failing in standalone.
2017-06-01 12:32:16 +02:00
Christopher Kohnert 7cc65a66d2 Merge branch 'point_tolerance'
* point_tolerance:
  Clean up degenerate segments during normalization
2017-05-31 15:44:33 -07:00
Christopher Kohnert 4b21ad24e7 Merge branch 'cmake'
* cmake:
  Don’t clobber CXX flags accidentally and make Release builds the default
2017-05-31 15:44:06 -07:00
Christopher Kohnert 4fdaa524fc Clean up degenerate segments during normalization 2017-05-31 15:43:39 -07:00
Christopher Kohnert 02789ca3fd Don’t clobber CXX flags accidentally and make Release builds the default 2017-05-31 15:41:47 -07:00
Christopher Kohnert cba7d65285 Merge commit '46a7c09aea05110c951507891caed178d869a672'
* commit '46a7c09aea05110c951507891caed178d869a672':
  extracted rad and degree conversion
  added origin rotation to vector
  fixed arc rotation problems
  added arc handling to SVG importer
  added rotation to vector
2017-05-31 13:46:54 -07:00
Christopher Kohnert cbc5797bd7 Return a failure code when aborting. 2017-05-31 13:32:48 -07:00
Christopher Kohnert 31bceedeb9 Return a failure code when aborting. 2017-05-31 11:41:40 -07:00
Christopher Kohnert 4f94338032 Merge branch 'point_tolerance' 2017-05-31 11:17:22 -07:00
Christopher Kohnert 9baec00e81 Merge branch 'cmake' 2017-05-31 11:17:07 -07:00