Commit Graph

355 Commits (effc4200e93045b8e7285fee4e3a1371a27cbeb9)

Author SHA1 Message Date
Jeff Schiller effc4200e9 Issue 115: First attempt at an eye-dropper extension/tool. Also add color-interpolation-filters attribute to whitelist
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1486 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-29 03:22:42 +00:00
Alexis Deveria cbd34c3cfb Added undo-history warning when opening file using File API, fixing rest of issue 459
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1475 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-26 18:55:49 +00:00
Alexis Deveria 508c72e5a7 Fixed major part of issue 459 by providing warning onbeforeunload when appropriate
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1473 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-26 17:51:41 +00:00
Alexis Deveria 5c847f6493 Fixed/Integrated support for open/closing subpaths, fixed hidden flyout arrows on smaller icons in Opera, added support for loading extensions in config, uplifted to jQuery 1.4.2 and jQuery UI 1.8
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1470 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-24 20:13:13 +00:00
Alexis Deveria 240ab30362 Reset default values too (oops again)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1468 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-18 14:37:09 +00:00
Alexis Deveria 2a25dbac8f Removed setConfig stuff added for testing (oops)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1467 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-18 14:34:29 +00:00
Alexis Deveria 2ba315bc96 More internal re-arranging and support for new config options
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1464 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-16 19:28:57 +00:00
Alexis Deveria e52ef2aa74 Fixed preference loading in Webkit
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1461 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-15 14:12:45 +00:00
Alexis Deveria 2b4270163e Added support for loading config data from URL, prevented creation of unneeded global variables
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1459 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-12 20:43:33 +00:00
Jacques Distler b3e6b1a538 Fix a Firefox bug, and make randomizeIDs() work with the new API (no global svgCanvas object).
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1457 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-12 09:41:50 +00:00
Alexis Deveria 85a7f57e78 Changed basic structure for improved integration and customization, introduces global svgEditor object
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1456 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-11 21:07:13 +00:00
Alexis Deveria 037c641b11 Updated jGraduate and made radialGradients work as expected, fixing issue 298
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1452 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-10 18:17:48 +00:00
Alexis Deveria cdcb2e76cb Moved opacity tool to bottom to allow multi-element opacity changes, changed styling of bottom tools
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1449 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-08 15:58:47 +00:00
Alexis Deveria fde7386d75 Added 'add sub-path' button to pathedit context panel
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1443 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-03 19:26:09 +00:00
Jeff Schiller 7b99425c8e Add an id input field in the context panel. Users can see and change the ID of elements now
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1433 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-26 23:56:36 +00:00
Alexis Deveria 21ba2823ce PathActions overhaul, fixes issue 435 and issue 443
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1430 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-26 18:18:21 +00:00
Jeff Schiller fc82f2965b More work on properly sizing imported SVG.
Still ignores preserveAspectRatio, percentages, units on import <svg>.
Also ignores zoom level of SVG-edit.



git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1423 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-21 16:36:50 +00:00
Jeff Schiller cc20d81633 Fix breakage two revisions ago. Add base raw import of SVG file into current layer (very broken at the moment).
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1421 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-21 01:12:59 +00:00
Jeff Schiller 37aab7dd8f Added 'Import SVG' menu item and icon - only shows up in Firefox 3.6 and functions identically to Open at the moment
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1420 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-20 23:38:49 +00:00
Jacques Distler 19369af9ff Revert one change from Rev.1412.
It didn't seem to be necessary, and it might cause problems if foreignObject tool is not enabled.

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1414 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-19 20:02:36 +00:00
Jeff Schiller 796cee60e1 A little more work on the closepath extension (still doesn't show SVG icons yet)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1412 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-19 16:55:08 +00:00
Jacques Distler 7236577141 Fix some small issues with foreignObject tool
Don't disable line tool after using foreignObject  tool.
Don't set stroke to 'none' after using foreignObject  editor.

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1411 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-19 14:09:46 +00:00
Alexis Deveria f2ab17dbd0 Fixed issue 481 and other CSS bugs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1402 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 16:49:13 +00:00
Jeff Schiller e44f7d4bb1 Add back in XML prolog for the default save handler
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1401 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 16:41:29 +00:00
Jeff Schiller 8a516e109c Selecting a foreignObject does not change the stroke/fill (patch by Jacques Distler)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1398 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 14:37:13 +00:00
Alexis Deveria 57125bc237 Made extension improvements to svg-editor.js and added foreignObject plugin based on patch by Jaques Distler (disabled by default)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1395 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-16 21:07:13 +00:00
Alexis Deveria 673b945318 Fixed bug where save_notice_done setting wasn't saved
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1386 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 20:56:53 +00:00
Alexis Deveria 6f50f5d55c Made default save behaviour alert the user on how to saveand when necessary inform of FF bug (on first time saved/bug encountered)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1385 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 20:29:59 +00:00
Alexis Deveria 3cff24713b Made default save behaviour open a page with link, preview, markup and warning when necessary
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1384 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 18:50:07 +00:00
Alexis Deveria eb8b9ab5e6 Made 'good' locale array be populated based on svg-editor.html, made namespaces only be added on serialization when used
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1377 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-11 21:24:15 +00:00
Alexis Deveria 984d6263c9 Added support for unit width/height when set in document properties
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1372 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 19:29:05 +00:00
Jeff Schiller 5628254649 Add MathML elements to whitelist and updates by Jacques Distler to handle foreignObject. Fix line-height in svgcanvas.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1367 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 04:41:11 +00:00
Jeff Schiller 3ee6a57b96 Start Issue 258: dirt-simple extension of a context button to close/open a path. Needs images. And paths that were closed and then opened need some debugging in svgcanvas.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1366 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-09 21:46:18 +00:00
Alexis Deveria 4b5011eb44 Largely added support for different units (issue 444)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1364 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-09 20:15:52 +00:00
Jeff Schiller 8805307592 Part of Issue 407: consistent styling of hover/pushed buttons
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1362 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-09 06:44:12 +00:00
Alexis Deveria b25f8b6d92 Added fix to jQuery.attr() function to make it work with SVG elements, started work on marker color changing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1355 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-08 16:39:14 +00:00
Alexis Deveria 6980e8b0de Made selection of middle arrow for lines convert them to polylines, made extension tools more easy to add, fixed opacity selection on selected connector
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1347 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-05 20:25:15 +00:00
Alexis Deveria a4f835a044 Made connectors be removed upon connected-element deletion. Made easier method for adding context panel options
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1345 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-05 16:11:19 +00:00
Alexis Deveria 74bac64ea5 Fixed connector bug in Webkit, fixed disabling of buttons when no-stroke is set
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1342 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-04 19:06:49 +00:00
Alexis Deveria 2229ecdd45 Improved arrow handling, fixed issue 463
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1341 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-04 17:10:03 +00:00
Alexis Deveria 400809fff3 Fixed tooltip translations for main flyout buttons
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1332 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-03 14:14:57 +00:00
Alexis Deveria 06dc4f55bc Fixed Webkit bug related to issue 460: Path segments should remember their curvature
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1331 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-03 13:41:54 +00:00
Alexis Deveria b4840e8f7f Fixed issue 456 by adding a svgCanvas.ready() function
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1328 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-02 20:45:16 +00:00
Alexis Deveria fad1c4395d Fixed bug in Opera where flyout icon didn't show and fixed Issue 451: Switching languages is broken
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1327 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-02 19:24:17 +00:00
Alexis Deveria 19449cd149 Fixed keyboard shortcuts on flyout buttons
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1315 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-01 14:41:34 +00:00
Jeff Schiller 31ec4fec91 Fix Issue 412: Press 'A' to select all elements in the current layer
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1312 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-31 20:17:50 +00:00
Jeff Schiller 3e94e85e31 Fix Issue 457: Remove experimentation on the ?url= parameter accidentally checked in.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1311 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-31 19:55:19 +00:00
Jeff Schiller 8ba1526e9f Add mask element and attribute to whitelist
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1310 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-31 07:11:57 +00:00
Alexis Deveria 06d53a325b Made various fixes/changes, made new icon for connector tool
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1308 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-29 21:28:46 +00:00
Alexis Deveria eaf8401d98 Oops, fixed bug caused by last fix
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1306 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-29 18:50:40 +00:00