Commit graph

80 commits

Author SHA1 Message Date
JSCHILL1
784b8efb2b Add path data bytes saved to report. Added input filename to report. Removed last of the useless files in fulltests. 2009-04-27 11:43:11 -05:00
JSCHILL1
29fdd5ba66 Use decimals for path data and limit to 6 digits of precision 2009-04-27 11:19:34 -05:00
JSCHILL1
ec4e7b3594 Unit test for abs-to-rel path data conversion. 2009-04-27 10:03:39 -05:00
JSCHILL1
f196f82115 Convert absolute to relative path data. Remove path elements with empty d attribute 2009-04-27 07:27:35 -05:00
JSCHILL1
90e3ce1a02 Fix path parsing for all path subcommand types. Remove unnecessary whitespace. 2009-04-27 00:04:51 -05:00
JSCHILL1
d6d4d3d027 Unit tests for removing trailing zeroes and removing whitespace/commas before negative coords in path data 2009-04-26 20:38:22 -05:00
JSCHILL1
5d7e3a075c Add SVG Path parser from enthought. Added reserialization of path. 2009-04-26 16:37:57 -05:00
JSCHILL1
8ba1dfaf47 Added some reminders. Fixed a typo. 2009-04-25 16:44:42 -05:00
JSCHILL1
446e5de77d Restore accidentally deleted README file 2009-04-25 02:39:14 -05:00
JSCHILL1
12ba6000ea Starting on version 0.10, minor comment cleanup 2009-04-25 02:33:13 -05:00
JSCHILL1
9f38caabaa Removal of stroke:none. Prevent groups from being collapsed if title/desc present. Add option to prevent groups from being collapsed. Unit tests. Started release notes HTML. 2009-04-25 02:09:08 -05:00
JSCHILL1
8e9683f648 Remove gradients singly referenced from another gradient 2009-04-24 17:01:43 -05:00
JSCHILL1
f6f98580c7 Begin unittesting converting style properties into XML attributes 2009-04-24 14:00:38 -05:00
JSCHILL1
0f1d0b104d Add unit tests for removing fill attributes when fill=none 2009-04-24 09:42:23 -05:00
JSCHILL1
d9866c99e9 More unit tests for removing stroke properties (for stroke-width=0 or stroke=none) 2009-04-23 08:12:46 -05:00
JSCHILL1
f4b328ea4b Another large, real-world SVG file in fulltests, plus a readme for that directory 2009-04-22 22:38:50 -05:00
JSCHILL1
64ee621aa6 A few more unit tests for removing stroke properties 2009-04-22 22:32:19 -05:00
JSCHILL1
d09903fe39 Fix removal of stroke properties when stroke is transparent 2009-04-22 22:26:40 -05:00
JSCHILL1
26d6eea674 Start 0.09 2009-04-22 22:00:54 -05:00
JSCHILL1
472688d12b Minor update to comments 2009-04-19 22:37:36 -05:00
JSCHILL1
28cc0d59fb Refactor command-line argument parsing. Only strip IDs if option is enabled. Added some unit tests for the new functionality 2009-04-19 22:26:26 -05:00
JSCHILL1
9f1a88ba3a Correct file size reporting (kb = bytes) 2009-04-19 08:15:58 -05:00
JSCHILL1
6d76766fc4 Always keep ids on <font> elements by default 2009-04-19 08:12:42 -05:00
JSCHILL1
3beab0744f Remove test for deleting unreferenced fonts 2009-04-19 08:09:33 -05:00
JSCHILL1
8d0bb8fe55 Prevent fonts from being removed inside a <defs> 2009-04-19 08:08:37 -05:00
JSCHILL1
72363ec24b Added tests for inkscape and sodipodi namespace declarations and attributes 2009-04-18 23:50:40 -05:00
JSCHILL1
f6387b1f22 Remove duplicate gradient stops and update unit tests 2009-04-17 08:18:36 -05:00
JSCHILL1
238d0d5402 Added another SVG file to fulltests 2009-04-16 16:16:50 -05:00
JSCHILL1
579a1f2982 Remove uselessly nested groups, fixed up test script 2009-04-16 16:16:06 -05:00
JSCHILL1
747a282f5f Fix Bug 361817: wrong shebang line. Added tests for removing duplicate gradient stops and useless nested groups (neither of which pass yet) 2009-04-15 11:44:12 -05:00
JSCHILL1
359c42166f Format output XML prettily 2009-04-15 11:24:27 -05:00
JSCHILL1
066c627833 Remove unreferenced patterns and gradients outside of a defs 2009-04-15 10:58:06 -05:00
JSCHILL1
2cc9c00ef7 Prevent removal of metadata elements if they have only text nodes. Also added some unit tests. 2009-04-15 10:18:32 -05:00
JSCHILL1
7cfb655cff Add remainder of Adobe namespaces and unit tests 2009-04-13 12:14:22 -05:00
JSCHILL1
d4dc4b7c42 Add CONTRIBUTORS file 2009-04-13 12:02:15 -05:00
JSCHILL1
ab4fe686fe Added Adobe namespaced elements unit test 2009-04-13 11:50:19 -05:00
JSCHILL1
339d04f659 Document why I didn't use ElementTree for now 2009-04-13 11:40:33 -05:00
JSCHILL1
ef0f1fe664 Added sodipodi element unit test 2009-04-13 11:38:00 -05:00
JSCHILL1
8d598b20f2 Modified scour and added first unit test 2009-04-13 11:31:50 -05:00
JSCHILL1
a1f6d9e8dd Start 0.07: move scour functionality into a module-level function and only call when __main__. Move tests around a bit. Add starter testscour.py 2009-04-13 10:22:27 -05:00
JSCHILL1
b1f861d285 Finish viewBox processing. Merge Doug's changes for embedding rasters and printing out file size reduction 2009-04-13 07:24:08 -05:00
JSCHILL1
7aaa6c0a1c More tests 2009-04-12 22:34:57 -05:00
JSCHILL1
c8fdeb2136 Work on width/height/viewBox parsing (no doc changes yet) 2009-04-12 22:33:13 -05:00
JSCHILL1
fb84759f0c Began work on Unit and SVGLength classes (not used yet). 2009-04-12 21:07:19 -05:00
JSCHILL1
6dec9c84cd Prevent error on stroke-width property value with units 2009-04-11 07:08:24 -05:00
JSCHILL1
48602f0dca Added test case that fails the script 2009-04-09 07:42:17 -05:00
JSCHILL1
d9cf8a3195 Final 0.05 2009-04-07 22:57:05 -05:00
JSCHILL1
760fb8278f Some more todo notes 2009-04-07 22:53:28 -05:00
JSCHILL1
40dda68a45 Remove fill-X when fill-opacity=0, remove stroke-X when stroke-opacity=0 or stroke-width=0 2009-04-07 22:44:36 -05:00
JSCHILL1
0376ddd83f Added TODOs from Inkscape wiki 2009-04-07 22:26:25 -05:00