Commit graph

88 commits

Author SHA1 Message Date
JSCHILL1
e9f1e07a02 Update for 0.15: --keep-editor-data command-line option to keep Adobe, Inkscape, Sodipodi elements and attributes 2009-06-24 10:00:49 -05:00
JSCHILL1
8e589a80b4 Final 0.14: --disable-embed-rasters and fix embedding raster bug caused by restructuring of command-line option parser 2009-06-10 13:56:10 -05:00
JSCHILL1
a4dbc37ba9 Only process points if there is an even number. Update web-based scour script to process options and rename to scra.py 2009-06-05 09:21:23 -05:00
JSCHILL1
b9a9020feb Add Martin's patch for rewrite of command-line option parsing. Add CGI and mod_python versions of a web interface. 2009-05-22 09:04:40 -05:00
JSCHILL1
e163fb348c Implemented converted straight curves into lines. Remove last point from polygon data if possible 2009-05-21 21:32:44 -05:00
JSCHILL1
78eb4e5e82 Fix bug with consecutive coords in path commands 2009-05-20 20:49:27 -05:00
Martin
d8ffea56e5 Rewrite to use optparse for user interface, picking up a few minor bug fixes and improvements in the process, but trying to keep otherwise unchanged. 2009-05-20 19:22:57 +01:00
JSCHILL1
4bbb5923b3 Started 0.14 2009-05-19 22:10:57 -05:00
JSCHILL1
ec3e857c53 Change default precision to 5 digits, updated release notes and statistics 2009-05-19 22:05:03 -05:00
JSCHILL1
56cc8fd15a Collapse consecutive h,v segments/coords where possible 2009-05-19 21:30:50 -05:00
JSCHILL1
49b35bf6d1 Remove text styles from shapes. Remove --inkscape styles. Fix path handling for multiple coords in first Move command. Add --set-precision N argument 2009-05-19 10:02:47 -05:00
Martin
92fc7ec6aa Remove use of string module, and other minor pokes, no changes to functionality. 2009-05-19 01:44:38 +01:00
JSCHILL1
9375bd69a9 Fixed scour to handle entities in url references 2009-05-17 23:07:22 -05:00
JSCHILL1
a03439573e Remove TODOs accomplished in 0.12 2009-05-17 14:40:29 -05:00
JSCHILL1
a7d2593a58 Added code to convert colors to #RRGGBB format 2009-05-17 14:34:08 -05:00
JSCHILL1
823c8c45e3 Added unit tests for color conversion 2009-05-17 09:27:33 -05:00
JSCHILL1
56ebc67491 Finish 0.11. Checked in SVG version of the scour logo. 2009-04-28 17:21:55 -05:00
JSCHILL1
02602edde0 Remove XML pretty printing due to erroneous injection of whitespace on text nodes 2009-04-28 13:18:29 -05:00
JSCHILL1
f37fef89df Fix bug in line-to-hz conversion. Remove empty line/curve segments. Handle svgz files on input/output. Added option to prevent style-to-xml conversion 2009-04-28 11:57:00 -05:00
JSCHILL1
d242407701 Handle unicode characters. Specify utf-8 encoding on python scripts. Added unit test for non-ASCII characters. 2009-04-28 08:57:40 -05:00
JSCHILL1
321f16c46d Handle stop offsets in percentages. Convert stop offsets into floating point (or integer if possible) 2009-04-27 19:19:05 -05:00
JSCHILL1
3dfb1f8068 Version 0.10 not complete! Remove empty path segments. Convert lines to H/V where possible. Remove some default styles. 2009-04-27 18:20:16 -05:00
JSCHILL1
19ed9e57a4 Updated release notes. Updated package script to tar file unrolls into a scour directory. Version 0.10 complete 2009-04-27 12:00:51 -05:00
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
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
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
0f1d0b104d Add unit tests for removing fill attributes when fill=none 2009-04-24 09:42:23 -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
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