Commit Graph

2194 Commits (6aced017ea2c062ed2b73ff0111cf22775ba5ebe)

Author SHA1 Message Date
Neil Fraser 6aced017ea Add missing dependency
HistoryRecordingService is required at line 400.
2018-05-10 12:07:44 -07:00
Igin edb8a75402 fix #222 Browsers block data URI (#224)
* fix #222 Browsers block data URI

* add spaces and blank lines
2018-04-12 11:00:52 -07:00
Jeff Schiller 396cce40eb
Merge pull request #208 from iuyiuy/setSvgString_without_undo
Add ability to set the svg drawing without adding to the undo stack.
2018-02-27 07:04:09 -08:00
KB Jørgensen 64759a8cab Added documentation for the preventUndo parameter in the svgcanvas.setSvgString() function. 2018-02-27 11:21:07 +01:00
Jeff Schiller aadb85a9b7
Merge pull request #158 from iuyiuy/improved_transform_list_detection
Improved transform list detection.
2018-02-26 20:39:27 -08:00
Jeff Schiller 44d1398c01
Merge pull request #217 from SVG-Edit/progers-fix-ff-path-editing
Update pathseg.js to fix Firefox 59+ path editing
2018-02-26 20:35:16 -08:00
Philip Rogers f5f9e627d7
Update pathseg.js to fix Firefox 59+ path editing
Firefox 59 removed some SVG path seg APIs which breaks path editing.

This change updates pathseg.js to the latest version which contains a fix for Firefox 59. I checked that Firefox 58 (pre-api-change), Firefox 59 (post-api-change), Chrome 65, and Safari Tech Preview can all edit paths correctly with this change. This change has a lot of diffs due to minor changes in pathseg.js since the first time it was imported into svgedit.

This fixes issue #216
2018-02-26 18:10:26 -08:00
KB Jørgensen d3ed6cbb8c Changed code style as requested in svgedit pull request #208. 2018-01-26 15:11:41 +01:00
KB Jørgensen 07803fd1db Add ability to set the svg drawing without adding to the undo stack. 2018-01-22 11:40:00 +01:00
Jeff Schiller b4ce8c0aa1
Merge pull request #206 from iuyiuy/clipboard_across_tabs_from_upstream
Implemented a clipboard that works across tabs and windows.
2018-01-22 01:34:43 -08:00
KB Jørgensen 42bcd5bcf8 Fixed typo in comment. 2018-01-22 10:15:59 +01:00
KB Jørgensen e055468f77 Added comment to explain meaning of a regex. 2018-01-22 10:15:59 +01:00
KB Jørgensen 055198e28d Use a variable for the key, as requested by codedread. 2018-01-22 10:15:59 +01:00
KB Jørgensen 19170116ba Fixed handling of connectors after the new clipboard changes. 2018-01-22 10:15:59 +01:00
KB Jørgensen 524f47cab9 Let the 'this' keyword propagate in to the for each loop. 2018-01-22 10:15:59 +01:00
KB Jørgensen 02c8721c2d Implemented a clipboard that works across tabs and windows. 2018-01-18 14:02:03 +01:00
codedread 6f7aa650f8 Allow data- attributes in the sanitize whitelist. Fixes issue #203. 2017-11-29 07:52:02 -08:00
Jeff Schiller cba2d0aa1e
Merge pull request #195 from TijoloAzul/master
Bug importing complex paths to svg edit
2017-11-28 00:00:50 -08:00
Jeff Schiller f290357828
Merge pull request #201 from TeemuKoivisto/svg-save
Fix broken saving of svg in Chrome >=60
2017-11-27 23:55:33 -08:00
Teemu Koivisto 6ee97e0d3f Fix broken saving of svg in Chrome >=60 2017-11-27 19:49:34 +02:00
Tiago Fonseca c761cb68b7 correct import of paths with several "M/m" and "Z/z" 2017-10-04 12:15:43 +01:00
James Hall 0e648e7fd8 Merge pull request #188 from bronzehedwick/master
Fix documentation markdown
2017-08-04 01:08:12 +01:00
Chris DeLuca a80467c5d8
Fix documentation markdown
Github changed it's markdown parser, requiring a space between the hash and the text for headings.
2017-08-03 19:49:39 -04:00
Marc Laporte 48bda755bb 2017-07 Added to Packagist
https://packagist.org/packages/svg-edit/svgedit
2017-08-01 02:32:00 -04:00
Marc Laporte 07a567a634 Merge pull request #174 from fabiomontefuscolo/master
Add composer.json to let PHP developers to keep track of SVG-edit on packagist.org
2017-05-24 22:32:32 -04:00
Fabio Montefuscolo b91a61456a Add composer.js to let PHP developers to keep track of svgedit on packagist.org. 2017-04-02 13:48:37 -03:00
KB Jørgensen 92719c1bce Improved transform list detection. 2017-01-04 12:28:09 +01:00
Jeff Schiller fa10e626d9 Merge pull request #150 from iuyiuy/error_handling
Log errors from extensions to the browser console.
2016-11-21 09:01:19 -08:00
KB Jørgensen aafcbb694e Log errors from extensions to the browser console. 2016-11-21 15:45:43 +01:00
Jeff Schiller 97f5127e81 Merge pull request #130 from iuyiuy/addSvgElementFromJson_expansion
Add svg element from json expansion
2016-11-15 05:57:26 -08:00
KB Jørgensen b92024eca2 Adjusted requested code styling changes. 2016-11-15 09:27:31 +01:00
Jeff Schiller f7a1d2eb81 Merge pull request #148 from iuyiuy/optimized_loading
Optimized loading by removing unnecessary code
2016-11-14 08:17:10 -08:00
KB Jørgensen c65f98b0ba Split code for added clarity. 2016-11-14 10:08:06 +01:00
KB Jørgensen 4994deb6ec Removed redundant function name. 2016-11-14 10:06:05 +01:00
KB Jørgensen 0bf50b0b42 Added description of the new children option to the addSvgElementFromJson() function. 2016-11-14 09:54:53 +01:00
Jeff Schiller 627d038e33 Merge pull request #142 from iuyiuy/null_stroke_fix
Fixed an issue where resizing an element would set stroke="null" on it.
2016-11-11 10:09:06 -08:00
Jeff Schiller 8f73ae16bb Update svgcanvas.js 2016-11-11 10:08:38 -08:00
Jeff Schiller 0108115b41 Merge pull request #138 from sbrown345/master
Fixed call to createSVGRect in getIntersectionList
2016-11-11 10:06:55 -08:00
Jeff Schiller 9b80e65828 Merge pull request #127 from iuyiuy/upstream_issue_93
Fix for issue #93 - svgEditorReady event is not triggered in an iframe.
2016-11-11 08:50:30 -08:00
Jeff Schiller 90b8837aa2 Merge pull request #111 from q2apro/patch-1
Improved DE translation
2016-11-11 08:49:01 -08:00
KB Jørgensen 6f2822fac8 Removed code which went through all nodes and recalculated dimensions,
which was a lot of work for large svg drawings. There's no need to do
that when loading. It will happen gradually when you use it and on
manageable parts. This changed the loading time for a page with svg-edit
and a large drawing from ~50 secs to ~5 secs.
2016-11-11 15:46:51 +01:00
KB Jørgensen b2469d27d5 Fixed an issue where resizing an element would set stroke="null" on it. 2016-10-12 10:37:50 +02:00
James Hall 5c5c90e75b Merge pull request #132 from Frigory33/master
Updated/reviewed French translation
2016-09-26 11:25:53 +01:00
Simon Brown b9549e1d43 fixed call to createSVGRect in getIntersectionList
createSVGRect() does not have parameters, they must be set on the object after

https://developer.mozilla.org/en/docs/Web/API/SVGSVGElement
2016-09-14 18:44:09 +01:00
Sylvain Chiron 644f5c2448 Updated/reviewed French translation
Signed-off-by: Sylvain Chiron <chironsylvain@orange.fr>
2016-08-12 23:34:05 +02:00
KB Jørgensen e79db0f2a6 Added ability to create a text node with just a string in addSvgElementFromJson(). 2016-08-08 16:32:59 +02:00
KB Jørgensen b301acf716 Added ability to include children in the json to addSvgElementFromJson(). 2016-08-05 14:29:58 +02:00
KB Jørgensen f9b7ae97e5 Also trigger the svgEditorReady event when opened through an iframe. 2016-08-01 09:48:00 +02:00
Jeff Schiller 2246052141 Merge pull request #125 from FoxGIS/master
ignore build
2016-07-02 10:25:44 -04:00
jingsam 051e0ca73a add zh-CN language option 2016-07-02 20:17:31 +08:00