Brett Zamir
ffde8814ac
Fix security issue by avoiding use of eval() within postMessage calls between embedAPI and main editor (also namespace the messages and protect the imagelib extension message listener from non-string messages); avoid embedAPI's unneeded randomizing of callback IDs in favor of incrementing; deprecate old embedded_svg_edit API name in favor of JS/JSLint-friendly EmbeddedSVGEdit name (and allow it to be instantiated w/o new keyword); JSLint/HTML5-ize embedAPI files, remove HTML5/browser-optional type="text/javascript", remove unused comments for embedAPI
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2585 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-13 23:59:32 +00:00
James Sacksteder
3887d822b2
Added a thumbnail overview as described in Issue 208 part 6.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2533 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-09-23 18:55:52 +00:00
Ben McDonald
3b9b729194
Remove element if mouse has not moved.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2521 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-06-30 13:15:10 +00:00
Adrian Jones
f4057ce908
Trim title of leading/trailing spaces before making filename. Avoids excess hyphens in filename.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2514 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-05-30 17:35:48 +00:00
Jo Segaert
ccbb084bbf
Adding mathjax extension
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2504 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-04-12 19:25:18 +00:00
Bruno Heridet
617c5c32bb
fixed #895 thanks to FlintOBrien - Grid is invisible when background is black
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2435 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-19 21:07:24 +00:00
Bruno Heridet
bccb227cdd
fixed indentation in ext-arrows
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2429 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-19 12:22:18 +00:00
Bruno Heridet
f9b8aa624c
created svgedit main object, moved all namespaces handling in the same place
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2411 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 15:02:26 +00:00
Bruno Heridet
ce39cb21a6
fixed missing semicolons on star extension, this extension does not work as intended
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2409 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 11:53:07 +00:00
Bruno Heridet
c5357a607b
fixed missing semicolons in shapes extension
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2408 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 11:35:32 +00:00
Bruno Heridet
8c5976f488
fixed formatting in panning extension
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2407 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 11:21:06 +00:00
Bruno Heridet
6b23a26b82
fixed formatting in closepath extension
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2406 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 11:19:25 +00:00
Bruno Heridet
424bf3001b
cleaned up grid extension
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2405 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 11:10:26 +00:00
Luis Aguirre
9041ef9609
Fixed: ext-panning removes last created element
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2338 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-07 18:12:36 +00:00
Luis Aguirre
3ad14a1e2a
Updating ext-panning to use svgEditor.setPanning() instead of svgEditor.setPan()
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2335 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-07 14:07:04 +00:00
Luis Aguirre
167b502b67
Removing comments and updating wrong ones from ext-panning.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2334 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-07 14:00:11 +00:00
Luis Aguirre
a16a490f5e
Adding Padding extension for tablet/mobile devices
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2333 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-07 13:57:55 +00:00
Chance Roth
f410e21006
Added Star and Polygon Extensions - Looks like Firefox recently broke something and shows mitre ends too long. USed to work great, Chrome is fine. v.2
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2319 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-01-18 18:05:41 +00:00
Mark MacKay
79337bb3aa
Touch events for Image Library, issue 1008
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2155 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-11-13 11:01:07 +00:00
Marc Laporte
cf0dde3f4a
Updating license information as per http://code.google.com/p/svg-edit/issues/detail?id=959
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2088 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-09-16 18:53:27 +00:00
Pavol Rusnak
519859eaf8
fix XSS in editor/extensions/fileopen.php
...
reported by Lukas Reschke <lukas@statuscode.ch>
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2080 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-05-08 20:09:38 +00:00
Pavol Rusnak
c19b88c509
added ext-server_moinsave.js extension by Reimar (Issue 821)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2038 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-07-27 15:39:43 +00:00
Jeff Schiller
9c8ba2361f
Fix Issue 770: Trouncing the nonce. Restructured how random ids are produced. Updated how new documents are created.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1962 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-01 07:22:18 +00:00
Alexis Deveria
60845f62b3
Fixed bug where Raphael icons appeared correct, but messud up on export
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1959 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-31 19:15:24 +00:00
Adrian Jones
212e5b1795
Cursory revamp of shortcut keys and cleanup of tooltips that show shortcuts that don't work. Kept modkeys out of things for the moment.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1955 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-30 20:03:09 +00:00
Alexis Deveria
2a8f6fbd20
Fixed bug where eyedropper would be incorrectly disabled at times
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1945 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-28 16:48:42 +00:00
Will Schleter
71dc44137d
Fix local part of issue 759 - Image library not working in embedded editor. IAN image library issue still needs addressed
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1924 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-16 22:11:27 +00:00
Jeff Schiller
4a6ae77ba2
Tweak a couple function calls to use full svgedit namespace methods. Update eyedropper extension to remove usage of getPrivateMethods()
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1905 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-12 07:34:07 +00:00
Alexis Deveria
1c8e1001a6
Fixed image library regression
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1897 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-04 21:12:00 +00:00
Alexis Deveria
73a4490b1d
Made many more localization fixes/additions
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1895 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-03 18:45:36 +00:00
Alexis Deveria
aafe843485
Fixed Issue 123: Support for <a> element to make elements link to URLs
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1878 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-12-01 17:54:11 +00:00
Jeff Schiller
e64bee32a8
Move a couple functions into units.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1848 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-06 00:45:21 +00:00
Alexis Deveria
f367dde12b
Overhaul of grid extension to make grid appear better and change based on the current unit type
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1813 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-21 17:02:12 +00:00
Adrian Jones
e02a152d0f
Changed name and hid Show Libraries button when not relevant to avoid confusion
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1801 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-13 23:22:29 +00:00
Alexis Deveria
1988023fe0
Fixed issue 697
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1770 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-29 20:32:28 +00:00
Alexis Deveria
a0914b8a01
Removed some log calls and changed image lib open option name
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1737 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-21 12:48:44 +00:00
Alexis Deveria
5fad4fdfe0
Added Raphael icons to shape library
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1736 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-21 12:43:38 +00:00
Alexis Deveria
a54a874ffd
Fixed issue 680, added Raphael icons to path lib (thanks Christian)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1735 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-20 20:40:41 +00:00
Alexis Deveria
fb653705d6
Applied patch by bencurthoys to fix embed api
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1734 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-20 18:55:10 +00:00
Alexis Deveria
99fb199663
Made some optimizations related to selections
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1730 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-17 20:33:33 +00:00
Alexis Deveria
0ac0ab505c
Enabled preview_url for SVGs when given
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1728 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-17 17:58:18 +00:00
Alexis Deveria
95d0cc487b
Made improvements to library importing procedure, allowing metadata to be sent before transfer
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1727 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-17 17:13:15 +00:00
Alexis Deveria
ad1933e297
Made raster images be offset on multi-import too
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1725 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-16 20:25:44 +00:00
Alexis Deveria
1f0e966d1c
Added method of importing multiple images in one go or opening a library image (dropdown list in image library)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1724 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-16 20:10:12 +00:00
Alexis Deveria
119bf24229
Made optimizations to connector plugin, fixed issue 670 and possibly issue 664
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1714 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-13 19:41:21 +00:00
Alexis Deveria
85ac3dace0
More optimization to element selection
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1713 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-10 19:17:06 +00:00
Alexis Deveria
73fd86ecd9
Fixed Issue 651: Allow selection of last created element while still in creation mode
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1704 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-09 17:38:33 +00:00
Alexis Deveria
e6dd5ea757
Added excellent grid/snapping extension by redou.mine
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1700 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-09 12:46:02 +00:00
Alexis Deveria
450cc3df8c
Fixed some imagelib bugs, added nicer icon, nicer buttons
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1695 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-31 20:31:58 +00:00
Alexis Deveria
31dd2a429c
Added canvg callback to opensave extension
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1693 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-31 13:52:54 +00:00
Alexis Deveria
3130f85ac6
Added timeout to PNG export for server_opensave extension
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1669 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-18 16:45:02 +00:00
Alexis Deveria
4ba054b7ec
Added Cut, Copy, Paste and Paste in Place options to context menu, adjusted menu's styling
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1664 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-17 18:09:50 +00:00
Alexis Deveria
11a318de72
Made new image URL start out empty when changing a data URL, removed part of imagelib description
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1661 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-16 17:53:15 +00:00
Alexis Deveria
35ac12a3c9
Made all imported SVGs be placed in the defs with corresponding use elements, added button to convert a use elem to its reference element. Also fixed some minor bugs.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1649 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-29 15:09:49 +00:00
Alexis Deveria
1a9b08bed6
Made editor work better locally in Chrome 5, fixed some minor bugs
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1642 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-21 17:12:57 +00:00
Alexis Deveria
ee62c61181
Added support for raster image loading through image libraries
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1636 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-16 18:33:48 +00:00
Alexis Deveria
3bbc7173b7
Undid little viewBox experiment
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1635 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-16 16:05:43 +00:00
Alexis Deveria
234b2581ce
Added IAN Symbol Libraries to imagelib extension, courtesy of adrianbjones
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1634 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-16 16:05:00 +00:00
Alexis Deveria
eb575ef68d
Added proper support for child SVG elements and made image library import SVGs, taking care of more of issue 71. Also fixed Opera 10.60 layer bug
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1633 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-16 15:46:54 +00:00
Alexis Deveria
a9ea21c521
Added some files missing from last checkin
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1631 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-14 18:08:22 +00:00
Alexis Deveria
d627c01d1e
Added extension that adds Image library option to main menu, includes minimal local and external libraries
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1630 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-14 18:05:03 +00:00
Alexis Deveria
5a66cd4f9f
Made various minor improvements to ext-shapes.js, fixed several issues related to issues 593 and 595, including better handling of imported images with 100% width/height
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1628 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-12 20:19:43 +00:00
Alexis Deveria
38cbb00690
Created and included path library extension, based on data by Christian Tzurcanu. Takes care of most of issue 541
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1626 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-09 19:09:37 +00:00
Alexis Deveria
8ce73cd5ca
Added file saving/export ability to server_opensave extension, fixing issue 582
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1625 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-06 13:57:05 +00:00
Alexis Deveria
c0fa1ef4b1
Added file select option for raster images in server_open extension. Also added Uploading file dialog box for server-based uploads
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1624 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-05 15:38:06 +00:00
Alexis Deveria
f679554ce4
Added extension to offer server-based import/open ability to browsers without File API support
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1621 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-01 20:14:12 +00:00
Alexis Deveria
c24d4933ad
Fixed issue 580 by making connector extension more compatible with markers extension (trunk)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1602 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-17 17:57:24 +00:00
Alexis Deveria
e953bd9c78
Fixed issue 575 and issue 577 on trunk
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1599 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-16 13:16:00 +00:00
Alexis Deveria
58639c2ea2
Added pt_BR file (thanks rafaelcastrocouto), fixed some minor bugs
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1593 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-15 14:36:55 +00:00
Alexis Deveria
83308ef46b
Added Spanish translation (in progress) by Alicia Puerto, fixed bug where circle icon used circle marker icon
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1590 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-08 18:40:13 +00:00
Alexis Deveria
281e70de9a
Fixed issue 559: Polyline doesn't rotate correctly in safari and chrome. Also made undo/redo work better for markers
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1589 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-08 16:48:41 +00:00
Alexis Deveria
cfa2e640db
Added option to set column count on dropdown lists, set marker columns to be 3 wide, fixed bug occuring on open path creation
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1588 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-03 13:05:48 +00:00
Will Schleter
f4f738d2bd
update for issues 556, 569, 570, 571
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1585 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-03 07:25:06 +00:00
Alexis Deveria
0b82668ed3
Fixed issue 547 and another icon size bug
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1569 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-05-12 20:33:05 +00:00
Alexis Deveria
9be03c4746
Updated locale files as well as lang.en.js with most new strings
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1548 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-27 18:50:16 +00:00
Jeff Schiller
942ccd469d
Fix part of Issue 518: Translates now handled for nested uses in groups
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1492 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-01 04:55:10 +00:00
Alexis Deveria
4a79a4b1da
Made SVG icons no longer require a viewBox to display properly
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1489 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-30 15:28:57 +00:00
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
Jacques Distler
20567c2998
Connector Extension Should Use Defaults
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1469 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-23 01:27:20 +00:00
Jacques Distler
3a9f38f699
Bring extension up-to-date with new API.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1458 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-12 16:42:15 +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
66457b70bf
Added hello world extension
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1442 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-03 15:30:38 +00:00
Jeff Schiller
1899a59a7f
Correct tooltip in the foreignObject extension
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1441 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-03 07:23:11 +00:00
Jacques Distler
5f6830745b
SVG-Edit-generated IDs can now sport a nonce (to uniquify them). The value of the nonce is recorded as an se:nonce attribute on the root <svg> element.
...
The default behaviour is as before. But, if you call svgCanvas.randomizeIds() or if setSvgString() detects an se:nonce attribute on the root <svg> element, this will trigger the new behaviour (in the latter case, using the existing nonce).
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1436 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-27 22:55:53 +00:00
Alexis Deveria
a52cc55ec2
Fixed issue 502, removed unnecessary old dupe extensions that I keep accidentally editing first only to get really frustrated as my changes don't appear
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1432 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-26 20:31:33 +00:00
Jacques Distler
40c820c503
Another tweak to the close_path icons
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1418 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-20 16:43:52 +00:00
Jacques Distler
7c55db60c0
Slightly nice placeholder content for foreignObject.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1417 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-19 23:18:47 +00:00
Jacques Distler
6f568b05b9
Close_path Icons, Mark II
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1416 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-19 23:05:19 +00:00
Jacques Distler
ae1ef30956
Make close_path icons work
...
The icons still need tweaking (in particular, I don't know why the arrowhead doesn't render), but at least we can see them now :-).
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1415 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-19 22:40:04 +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
Alexis Deveria
78c9ae4ad7
Fixed issue 487: foreignObject extension breaks connect two objects tool and made sure both extensions work together
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1409 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-18 15:42:10 +00:00
Alexis Deveria
a3f81f06f2
Fixed bug in foreignobject plugin when creating new foreignObject element
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1405 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 20:08:53 +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
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
c032cfb370
Moved extensions to live within editor dir, fixed left toolbar visibility on dialog box
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1361 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-08 21:26:54 +00:00