Commit graph

  • 72363ec24b Added tests for inkscape and sodipodi namespace declarations and attributes JSCHILL1 2009-04-18 23:50:40 -05:00
  • f6387b1f22 Remove duplicate gradient stops and update unit tests JSCHILL1 2009-04-17 08:18:36 -05:00
  • 238d0d5402 Added another SVG file to fulltests JSCHILL1 2009-04-16 16:16:50 -05:00
  • 579a1f2982 Remove uselessly nested groups, fixed up test script JSCHILL1 2009-04-16 16:16:06 -05:00
  • 747a282f5f Fix Bug 361817: wrong shebang line. Added tests for removing duplicate gradient stops and useless nested groups (neither of which pass yet) JSCHILL1 2009-04-15 11:44:12 -05:00
  • 359c42166f Format output XML prettily JSCHILL1 2009-04-15 11:24:27 -05:00
  • 066c627833 Remove unreferenced patterns and gradients outside of a defs JSCHILL1 2009-04-15 10:58:06 -05:00
  • 2cc9c00ef7 Prevent removal of metadata elements if they have only text nodes. Also added some unit tests. JSCHILL1 2009-04-15 10:18:32 -05:00
  • 7cfb655cff Add remainder of Adobe namespaces and unit tests JSCHILL1 2009-04-13 12:14:22 -05:00
  • d4dc4b7c42 Add CONTRIBUTORS file JSCHILL1 2009-04-13 12:02:15 -05:00
  • ab4fe686fe Added Adobe namespaced elements unit test JSCHILL1 2009-04-13 11:50:19 -05:00
  • 339d04f659 Document why I didn't use ElementTree for now JSCHILL1 2009-04-13 11:40:33 -05:00
  • ef0f1fe664 Added sodipodi element unit test JSCHILL1 2009-04-13 11:38:00 -05:00
  • 8d598b20f2 Modified scour and added first unit test JSCHILL1 2009-04-13 11:31:50 -05:00
  • 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 JSCHILL1 2009-04-13 10:22:27 -05:00
  • b1f861d285 Finish viewBox processing. Merge Doug's changes for embedding rasters and printing out file size reduction JSCHILL1 2009-04-13 07:24:08 -05:00
  • 7aaa6c0a1c More tests JSCHILL1 2009-04-12 22:34:57 -05:00
  • c8fdeb2136 Work on width/height/viewBox parsing (no doc changes yet) JSCHILL1 2009-04-12 22:33:13 -05:00
  • fb84759f0c Began work on Unit and SVGLength classes (not used yet). JSCHILL1 2009-04-12 21:07:19 -05:00
  • 6dec9c84cd Prevent error on stroke-width property value with units JSCHILL1 2009-04-11 07:08:24 -05:00
  • 48602f0dca Added test case that fails the script JSCHILL1 2009-04-09 07:42:17 -05:00
  • d9cf8a3195 Final 0.05 JSCHILL1 2009-04-07 22:57:05 -05:00
  • 760fb8278f Some more todo notes JSCHILL1 2009-04-07 22:53:28 -05:00
  • 40dda68a45 Remove fill-X when fill-opacity=0, remove stroke-X when stroke-opacity=0 or stroke-width=0 JSCHILL1 2009-04-07 22:44:36 -05:00
  • 0376ddd83f Added TODOs from Inkscape wiki JSCHILL1 2009-04-07 22:26:25 -05:00
  • 247c07b7ea Turn style properties into SVG attributes JSCHILL1 2009-04-07 20:55:06 -05:00
  • 2dc788aa3f Fix removal of namespaced elements and attributes. Started array of SVG attributes. JSCHILL1 2009-04-07 20:47:33 -05:00
  • b44c5d0903 Shuffled code a little JSCHILL1 2009-04-06 21:17:56 -05:00
  • 4feb5eb3c8 Updated to 0.04, checked in a few more test files JSCHILL1 2009-04-06 20:29:50 -05:00
  • 5accbf75fb Remove all adobe namespaces. Remove namespace declarations on document element. JSCHILL1 2009-04-06 20:22:09 -05:00
  • 7eb6b27c54 Added Adobe namespaces to remove JSCHILL1 2009-04-06 20:05:11 -05:00
  • 18d6566520 Remove empty defs, metadata, g elements JSCHILL1 2009-04-06 19:37:58 -05:00
  • 6cb18b63ed Add NOTICE file JSCHILL1 2009-04-06 10:14:02 -05:00
  • 4d97df93d3 Move to Apache License JSCHILL1 2009-04-06 10:09:23 -05:00
  • 5eee1783ee Commonize unwanted namespace list JSCHILL1 2009-04-06 07:38:44 -05:00
  • 3fc56730da Some more TODO notes and links to svgtidy.rb and clean Inkscape ideas JSCHILL1 2009-04-06 07:32:06 -05:00
  • 913d0da06b Some more style optimizations (some are potentially controversial) JSCHILL1 2009-04-06 00:02:02 -05:00
  • 23b2781d03 Some TODO comments JSCHILL1 2009-04-05 21:02:42 -05:00
  • afb5e9a2e5 Fix gradient fill/stroke properties that have an extra rgb(0, 0, 0) JSCHILL1 2009-04-05 20:54:29 -05:00
  • c5feea0cbc Added package script JSCHILL1 2009-04-05 13:52:24 -05:00
  • 879300373f Remove all inkscape and sodipodi attributes and elements JSCHILL1 2009-04-05 13:46:03 -05:00
  • aec2019e07 Minor improvements, use in-testing for referencing props JSCHILL1 2009-04-05 11:44:47 -05:00
  • 7864455c13 Fix removing unused chained references. Added another test case. JSCHILL1 2009-04-04 10:48:49 -05:00
  • 2aaef4ebbd Remove any elements in a defs that doesn't have an id. Repeatedly apply these two rules. JSCHILL1 2009-04-04 10:27:42 -05:00
  • 1e6201a3a4 Added some TODOs JSCHILL1 2009-04-04 00:01:56 -05:00
  • 438594d6aa Implemented removing unreferenced id attributes JSCHILL1 2009-04-03 23:59:11 -05:00
  • f3dd5cccb9 Rework command-line argument detection, use standard input if -i is not present, use standard output if -o is not present : JSCHILL1 2009-04-03 19:58:33 -05:00
  • 713228b6c0 Simply write input file to output file JSCHILL1 2009-04-03 19:45:16 -05:00
  • 2ebe648546 Add tests folder with two starter files JSCHILL1 2009-04-03 13:39:00 -05:00
  • fb1f17e359 Ensure input file exists. Create output file (overwriting if necessary). JSCHILL1 2009-04-03 13:38:10 -05:00
  • 2533ba7fd3 Primitive command-line argument checking JSCHILL1 2009-04-03 09:14:55 -05:00
  • 9e137b9bc1 Added more TODOs to get to a fully functional release JSCHILL1 2009-04-02 15:13:27 -05:00
  • 893a9e8158 Added TODOs JSCHILL1 2009-04-02 14:49:40 -05:00
  • 7500a58a5d Added starter scour.py file and README JSCHILL1 2009-04-02 14:32:54 -05:00
  • a30498e41e Added GPLv3 License file and push script JSCHILL1 2009-04-02 14:13:04 -05:00