Jeff Schiller
253b4bfd2c
Merge pull request #20 from progers/master
...
Add pathseg.js, a polyfill for the SVGPathSeg API
2015-11-08 00:46:45 -08:00
Philip Rogers
c5dadfbe77
Include upstream fix for shape editing: 11f7e5a958
2015-11-06 21:08:23 -08:00
Philip Rogers
7e3f9e037d
Add pathseg.js, a polyfill for the SVGPathSeg API
...
The SVGPathSeg API is being removed from the spec [1] and is being
removed in Chromium 47 [2]. I implemented a drop-in polyfill[3] so
svg-edit users are not broken as browsers migrate away from the
path seg api.
This patch simply imports the upstream pathseg.js and updates all
dependencies. With this change all tests pass in Chrome 46 (with
the path seg api), Chrome 47 (without the path seg api), and
there are no changes to tests in Safari 9.01 or Firefox 43. I
also manually tested svg-edit while developing the polyfill and
could not find any broken features.
[1] https://lists.w3.org/Archives/Public/www-svg/2015Jun/0044.html
[2] https://groups.google.com/a/chromium.org/d/msg/blink-dev/EDC3cBg9mCU/OvElJgOWCgAJ
[3] https://github.com/progers/pathseg
2015-11-04 19:25:30 -08:00
Jeff Schiller
d70c9b6829
Merge pull request #16 from SVG-Edit/update-docs
...
Explain that some functionality is still used on Google Code
2015-10-16 08:00:09 -07:00
James Hall
6318cdbd43
Update and rename README to README.md
2015-10-13 20:35:13 +01:00
Jeff Schiller
b8fc4eef01
Merge pull request #13 from mynext/master
...
Added class support
2015-10-12 07:24:48 -07:00
Ian
f1b67e4159
Update svgcanvas.js
...
Changed docs and return value to match if unsuccessful
2015-09-30 11:24:16 +01:00
Francesco Strappini
ce009a4581
Spacing like the code around
2015-09-27 09:01:04 +02:00
Jeff Schiller
d49f51ed14
Merge pull request #12 from tagawa/patch-1
...
Changed jQuery absolute link to HTTPS
2015-09-26 20:34:30 -07:00
Francesco Strappini
1f11691c60
Added class support
2015-09-24 16:15:34 +02:00
Daniel Davis
9c45785cdd
Changed jQuery absolute link to HTTPS
...
This is needed to display icon buttons (and other functionality) in browsers that block mixed content.
2015-09-03 15:24:42 +09:00
Waldir Pimenta
1dfa0b6b86
Merge pull request #8 from nsisodiya/patch-1
...
Update AUTHORS with new email address
2015-07-20 23:14:37 +01:00
Narendra Sisodiya
8e26f53b80
Update AUTHORS
2015-07-21 00:57:26 +05:30
ibrierley
ea129f009e
formatting
2015-07-16 19:28:20 +02:00
ibrierley
4d745dc05b
Fix for importing svg files where grabber just selects nothing as it doesnt know the svg to select
2015-07-16 15:45:48 +02:00
Jeff Schiller
7008583b15
Merge pull request #2 from ibrierley/master
...
Fix of pathtool deleting path when moving ctrl points.
2015-07-15 07:54:30 -07:00
ibrierley
85a68c3f42
fixed indentation and extra vars
2015-07-15 13:02:03 +02:00
Brett Zamir
072ca75c94
Let's let config.js take advantage of all other head-loaded scripts like jquery-ui if useful
2015-07-09 18:24:35 -07:00
Brett Zamir
e526cbca96
add optional user custom.css to gitignore
2015-07-09 17:54:51 -07:00
Brett Zamir
259fc3f45d
Add gitignore for editor/config.js
2015-07-09 10:35:46 -07:00
Jeff Schiller
c0e1c4d418
Merge pull request #1 from portablejim/fixes
...
Misc Fixes: Group context menu & Delete element text.
2015-07-08 11:29:55 -07:00
ibrierley
5bd4952a13
formatting
2015-07-06 12:44:36 +02:00
ibrierley
7d278dbfd8
formatting
2015-07-06 12:42:25 +02:00
ibrierley
92caa0a8d7
indentation
2015-07-06 12:39:41 +02:00
Ian
75dbd66561
Update path.js
2015-07-06 11:36:24 +01:00
ibrierley
fbbd740c79
fixed pathtool bug, where browsers would delete path with pathseg error in console. Worked around this by copying 'item' object, but could possibly be optimised further by only copying required pars of object
2015-07-06 12:21:37 +02:00
portablejim
692817d610
Fix delete element hover text in english locale file.
...
"Delete Layer" -> "Delete Element(s)"
2015-06-20 10:15:01 +10:00
portablejim
a62f7c1c5a
Make context menu group option work.
2015-06-16 18:17:52 +10:00
Brett Zamir
7a1273eb93
Strip trailing spaces
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2891 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-06-23 03:54:52 +00:00
Brett Zamir
0ac9754dbd
further indenting fixes
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2890 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-06-22 22:46:40 +00:00
Brett Zamir
35a44998bf
Apply Slovenian locale patches by jaka@freeapproved.com with a few fixes (use tab indents, fix JS object, update 2 outdated keys)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2889 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-06-22 22:43:53 +00:00
Brett Zamir
e8a15a5582
Some error reporting in fileopen.php
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2888 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-06-13 15:38:20 +00:00
Brett Zamir
6bffe68d65
PDF export in server_opensave extension
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2886 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-06-13 14:58:46 +00:00
Brett Zamir
c9d7d008fa
Comment on line of code appearing unnecessary
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2884 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-06-13 08:25:38 +00:00
Brett Zamir
6d7b874ef1
Fix case issue impacting server save of SVG files (usually not used by modern browsers given the checks)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2883 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-06-13 08:16:47 +00:00
Brett Zamir
b1f88d2b94
Address issue with Unicode text in SVG icons; jshint
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2880 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-06-13 02:45:12 +00:00
Brett Zamir
d84b1d267f
Simplify encodeUTF8 function; ensure base 64 decoding also uses new decodeUTF8
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2879 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-06-12 23:42:27 +00:00
Brett Zamir
6f7651299c
Some additional JSLint; update jsPDF and SVG plugin; handle canvg for image export within svgcanvas and provide new "datauri" to "exported" event.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2875 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-06-01 21:29:54 +00:00
Brett Zamir
c9544ce5bf
Add reference to custom.css in appcache
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2871 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-23 12:35:27 +00:00
Brett Zamir
eb0cb2e92d
Add a custom.css stylesheet for customizations not requiring modification of the main editor
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2869 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-23 12:28:07 +00:00
Brett Zamir
6afa75adda
Rename labels to fix issue 1206 of confusing labels ("Open Image"->"Open SVG" and "Import SVG"->"Import Image")
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2867 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 23:55:05 +00:00
Brett Zamir
8bda8fe16d
Ensure loading... message closes upon completion or error
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2865 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 23:20:43 +00:00
Brett Zamir
bddf4c2324
todo
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2864 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 11:24:18 +00:00
Brett Zamir
09dd5e7975
Add todo
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2863 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 11:03:53 +00:00
Brett Zamir
d792d60808
Update JSLint global declarations
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2862 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 11:01:11 +00:00
Brett Zamir
abc9cd6ffb
Move embedapi.html code which is not part of the API into embedapi-dom.js; demo export PDF in embedded editor; add new exportPDF method to canvas (and exposed to embedded editor) which can support JSON-able data URI string response, removing PDF exporting from rasterExport; JSLint; move dependency checking code for canvg and jsPDF to utilities; simplify Utils calls; allow for custom PDF export handler (but not yet implemented in server-based extensions); import PDF todo
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2860 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 10:21:29 +00:00
Brett Zamir
36dfb2bd17
Rmv extra var. declaration
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2859 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 10:01:51 +00:00
Brett Zamir
1941959449
Update canvg ( https://code.google.com/p/canvg/source/detail?spec=svn202&r=202 ); check for empty images in canvg
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2857 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 07:40:17 +00:00
Brett Zamir
8fd81d158f
Indicate new config for exportWindowType
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2856 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 07:39:13 +00:00
Brett Zamir
3fdb8f4377
Avoid window.name security errors and make export window name configurable through config.exportWindowType (new|same) based on configurable canvas name
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2855 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 07:22:57 +00:00