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 |
Brett Zamir
|
5bddabcec3
|
Switch to minified and complete distribution version of jsPDF; allow data URL to work in Firefox as well as Chrome instead of blob URL; rmv global saveAs requirement
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2854 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-05-22 06:43:37 +00:00 |
Brett Zamir
|
25a8d9a851
|
Fix callEnsure all dependencies available for canvg-using extensions (server_moinsave, server_opensave)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2853 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-05-22 03:47:10 +00:00 |
Brett Zamir
|
18c9fd0932
|
Ensure all dependencies available for canvg-using extensions (server_moinsave, server_opensave)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2852 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-05-22 03:45:31 +00:00 |
Jon Phillips
|
5fa1f574e0
|
fixed a formatting issue
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2850 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-05-22 03:00:00 +00:00 |
Brett Zamir
|
73a4804324
|
Ensure all dependencies available for canvg-using extensions (server_moinsave, server_opensave)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2849 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-05-22 02:56:00 +00:00 |
Brett Zamir
|
905dac6979
|
Update manifest to include some more dynamically loaded files
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2848 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-05-22 02:42:18 +00:00 |
Brett Zamir
|
9bda441c77
|
Abstract conditional script loading and allow jsPDF to load as needed (as with canvg); update jsPDF
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2847 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-05-22 02:34:37 +00:00 |
Brett Zamir
|
4ffd994c49
|
Spacing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2846 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-05-22 01:30:42 +00:00 |
Brett Zamir
|
ad6dad8d65
|
Spacing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2845 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-05-22 01:28:32 +00:00 |
Jon Phillips
|
e9c8515caf
|
Added Openclipart support
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2844 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-05-21 06:05:34 +00:00 |
Brett Zamir
|
bf8c5308f2
|
Fix exportImage behavior if multiple setCustomHandlers calls are made
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2843 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-05-15 05:16:39 +00:00 |
Brett Zamir
|
b574628d36
|
Apply patch by stuart.moore@spektrix.com to fix issue #1205
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2840 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-05-08 04:06:54 +00:00 |
Brett Zamir
|
978315f944
|
Allow override of jsPDF saveAs function (jsPDF work not complete however); apply fix for issue #1209 on push buttons; fix comment
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2839 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-05-08 03:47:14 +00:00 |
Brett Zamir
|
35e171a15f
|
Return when no selected element to ungroup
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2837 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-05-08 03:14:59 +00:00 |
Brett Zamir
|
df057b9736
|
Quick fix for small icon view and top toolbar
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2826 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-17 00:25:02 +00:00 |
Brett Zamir
|
582e71cb1b
|
Minor: Spacing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2825 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-09 22:47:39 +00:00 |
Brett Zamir
|
f854c00f4c
|
Utilize PNG export instead as per issue 1201
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2824 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-09 07:01:25 +00:00 |
Brett Zamir
|
936d7d3aa4
|
Support external (embedded) export invocation; utilize export in embedded demo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2822 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-09 06:53:08 +00:00 |
Brett Zamir
|
20361c88d1
|
Update functions available to embedded editor; fix important ID situation with embedded API
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2821 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-09 06:51:05 +00:00 |
Brett Zamir
|
2726f5f048
|
Change deprecated Attr.nodeValue to Attr.value
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2820 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-09 05:40:22 +00:00 |
Brett Zamir
|
e07d4e61be
|
Change deprecated Attr.nodeValue to Attr.value
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2819 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-09 05:38:20 +00:00 |
Brett Zamir
|
856d1971c2
|
Remove paramurl parameter as it encouraged improper encoding of a URL within the SVG Edit URL
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2815 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-09 04:26:34 +00:00 |
Brett Zamir
|
d84a4465d2
|
Minor clean-up
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2813 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-09 03:44:19 +00:00 |
Brett Zamir
|
04d522b43b
|
Properly allow for ext-grid showGrid default setting
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2805 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-09 02:25:25 +00:00 |
Brett Zamir
|
3e14f4374f
|
Allow initial showGrid value to be set by config.js or URL
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2804 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-09 01:50:52 +00:00 |
Brett Zamir
|
a506f6c02f
|
Minor clarification of preventAllURLConfig
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2803 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-09 01:35:28 +00:00 |
Brett Zamir
|
297f10489f
|
explain colorPickerCSS default behavior in comments
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2802 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-09 01:33:11 +00:00 |
Brett Zamir
|
1b5e55dc5c
|
Simplify jsPDF switch
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2801 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-09 01:13:05 +00:00 |
Brett Zamir
|
35ab5a9862
|
Fix spacing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2800 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-08 13:49:58 +00:00 |
Brett Zamir
|
75928e9b63
|
Revert to using point regardless of base unit (with comment)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2798 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-08 11:27:05 +00:00 |
Brett Zamir
|
b1ea39db46
|
Provide values for px, pc, em, ex and utilize switch for divisor determination in jsPDF in order to utilize the user's current base unit type in PDF exports. Accurate conversion formulas?
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2797 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-08 11:01:46 +00:00 |
Brett Zamir
|
667de19147
|
Set document title as PDF property
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2796 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-08 08:18:47 +00:00 |
Brett Zamir
|
1f95988b29
|
Make PDF export orientation dependent on width vs. height, based on "pt", and using the dimensions of the canvas (Todo: provide alternative of predefined jsPDF options like a4, legal, etc.)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2795 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-08 08:10:26 +00:00 |
Brett Zamir
|
50d0b1fb67
|
Add jsPDF(with SVG plugin)-based PDF export (courtesy of https://github.com/brettz9/jsPDF forked from https://github.com/MrRio/jsPDF => https://github.com/ahwolf/jsPDF ); provides data: URL where blob conversion is supported, and a blob URL otherwise.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2792 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-08 05:13:54 +00:00 |
Brett Zamir
|
f8b10e95e9
|
Consistently use single quotes (except within XML or for localized strings) for streamlined searching
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2791 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-08 03:21:22 +00:00 |
Brett Zamir
|
0d34fcfa7d
|
Properly-formed URLs will not have spaces, so no need to replace; no need for "/" escaping unless within HTML doc; properly encode loadingImage window text; support loading of (properly URL encoded) non-base64 "data:image/svg+xml;utf8,"-style data URIs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2782 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-04-08 01:31:22 +00:00 |