Commit Graph

341 Commits (66457b70bfeb7d59b3e706417d5b5031db1ac51c)

Author SHA1 Message Date
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
Alexis Deveria e12ea017ed Fixed bug that broke svg-edit in non-FF browsers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1305 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-29 18:48:08 +00:00
Alexis Deveria 0690ed7760 Added support for flyouts in plugins, made improvements to flyouts
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1304 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-29 18:27:26 +00:00
Jeff Schiller 7c40486c39 Fix Issue 450: restore Created-By comment
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1299 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-29 14:11:04 +00:00
Jeff Schiller 2b4025bb42 Fix Issue 448: Merge wormsxulla's patch
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1297 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-29 12:18:13 +00:00
Jeff Schiller 64c7fa5f9f Fix Issue 65: Launch SVG-edit with ?url=foo/bar.svg
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1296 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-29 05:53:01 +00:00
Jeff Schiller be04bdc1c1 Fix Issue 62: can now set color to none right in the picker (uplift to jGraduate r71)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1295 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-29 05:39:57 +00:00
Alexis Deveria 363eef5d57 Added keyboard shortcut option for extension buttons, made import of connectors work, fixed issue 442
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1286 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-27 21:03:43 +00:00
Alexis Deveria 6d15ba7b1e Fixed Issue 408: Uplift to jQuery 1.4.1. Also fixed minor bugs caused by 1.4 related to custom dropdown menus
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1280 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-27 14:23:51 +00:00
Alexis Deveria d60fb28557 Made improvements to extension support as well as connector extension
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1279 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-26 21:28:52 +00:00
Alexis Deveria 75781771be Started on Issue 310: Move to Plugin Architecture, as well as Issue 200: flowchart (just connector lines for now)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1277 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-25 21:22:03 +00:00
Alexis Deveria 3df4a5d616 Fixed issue 432
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1271 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-21 17:38:37 +00:00
Jeff Schiller 05941d2a13 Fix Issue 433: If fill is not present, assume 'black' as per SVG spec
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1264 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-21 02:02:04 +00:00
Jeff Schiller c04d148dcb Initial support for <use> element (can only see, select, move, resize or rotate them). Also collapse a few var declarations and remove obsolete code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1254 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-20 22:15:54 +00:00
Alexis Deveria 95fd38610f Probably fixed issue Issue 421: Canvas background now black
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1251 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-20 17:29:41 +00:00