Commit Graph

2195 Commits (ac6d5092e4ab3232a1bcfb027722f28baeef0713)

Author SHA1 Message Date
Brett Zamir 0c88f41818 Very minor commenting issues (sp./clarify comment)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2601 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-18 12:31:35 +00:00
Brett Zamir 009a9e67ce Note on limitations (these limitations existed previously to the eval() dependency removal)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2596 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-14 03:25:35 +00:00
Brett Zamir 1a73a58433 Minor: WS
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2595 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-14 03:18:03 +00:00
Brett Zamir c54b7865e1 Fix arguments passing in new postMessage code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2594 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-14 03:15:16 +00:00
Brett Zamir 3bc9f286a4 Remove unneeded text/javascript
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2593 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-14 02:02:54 +00:00
Brett Zamir 8afeaf6295 Remove unneeded text/javascript from tests
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2592 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-14 02:02:33 +00:00
Brett Zamir c75661c758 Indent consistency per file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2591 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-14 01:50:42 +00:00
Brett Zamir 80c16aa6ef Move back to string messages for postMessage for sake of IE9 (though not with eval); avoid IE9 error with localStorage and missing select icon
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2590 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-14 01:24:52 +00:00
Brett Zamir 52419049fe Remove type=text/javascript and trailing whitespace from Wave svg-edit.xml source
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2589 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-14 00:57:11 +00:00
Brett Zamir f0b278762b WebAppFind potential file: protocol support
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2588 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-14 00:29:42 +00:00
Brett Zamir a6814949fc Add WebAppFind extension and icon (depends on WebAppFind add-on and executables)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2587 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-14 00:10:43 +00:00
Brett Zamir fc41825010 Convert remaining eval()-ish items in repo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2586 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-14 00:00:40 +00:00
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
Brett Zamir 109cbaf99b Remove 2-space sequences
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2584 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-13 23:23:08 +00:00
Brett Zamir 62a7c13e9c Consistent indentation (tab seemed to be main convention in this file, so changed to tab)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2581 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-12 03:08:26 +00:00
Brett Zamir 1566e522b8 Remove backward-compatible, HTML5-unnecessary type="text/javascript" and convert to shorter, backward-compatible, HTML5-friendly meta charset
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2574 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-12 01:31:16 +00:00
Brett Zamir 414cf7ca9c XHTML/XML fixes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2573 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-12 01:25:20 +00:00
Brett Zamir d625e03e89 Remove unnecessary eval() dependency for tooltip hiding (also removed in commented out portion) (though this commit does not convert string-based setTimeout's into function-based ones)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2572 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-12 00:04:22 +00:00
Mike Baynton af639eb56b Fix vertical position of flyouts from left toolbar when viewport <= 1250px
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2562 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-07 01:35:01 +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
Daniel Shapiro 02adda7a98 Fix bug with applying text attribute changes. Change to select mode AFTER setting new attribute on text element. https://code.google.com/p/svg-edit/issues/detail?id=1143
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2525 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-09-21 22:19:24 +00:00
Ben McDonald c3bea689b2 Fixed zoom calculations for Firefox. See https://groups.google.com/forum/#!topic/svg-edit/cvrwclZVeGI and Issue 1046
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2524 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-08-21 06:20:22 +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
薄成文 089f061641 fix a bug in svgToString function:
some elements have no attribute, so when convert it to stinrg some namespace can't be set correctly.

now, the tag like this can be correctly converted:
<se:mytag>hello</se:mytag>

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2517 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-06-08 05:29:14 +00:00
薄成文 7b986e56ef fix a bug of layer changes.
see :http://code.google.com/p/svg-edit/issues/detail?id=1099

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2516 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-06-07 14:16:00 +00:00
Ben McDonald e1fa525e5d Sort elements before cloning.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2515 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-06-01 08:00: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
Adrian Jones 5b641cb5c0 Two more loading messages for Import and Open of images.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2513 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-05-29 01:39:37 +00:00
Adrian Jones 61295b83e6 Simplified the loading image from URL message to make use of existing dialog box types and text strings
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2512 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-05-28 22:29:14 +00:00
Adrian Jones f924e34fba Add loading message when loading image from URL. Complex SVGs take a long time to render!
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2510 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-05-08 17:29:18 +00:00
Mark Nickel fc5673ea4d Emergency patch to fix issue introduced in the svg core of Firefox as they are moving forward with implementing features of SVG 2
See this issue in svg-edit project tracker:  Issue 1081.

It contains pointers to the bugzilla thread if you are so interested


git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2509 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-05-07 20:47:56 +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
Jonny Bradley d9e5b797f4 Correction for r2497 - namespace had changed from 2.6 branch, sorry, didn't spot it
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2498 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-03-16 14:11:43 +00:00
Jonny Bradley 50c248dcb0 Fix in setSvgString() for images with no href (images in pattern#gridpattern don't seem to have them)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2497 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-03-16 14:07:55 +00:00
Steve Quirion 3be90cdec5 82,84,141 à 145
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2495 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-03-14 18:52:14 +00:00
Steve Quirion 4a3ae47586 Modification des lignes 17,107,123, 124,125,204,205,206,207
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2491 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-03-14 18:23:35 +00:00
薄成文 17ce81f761 completely translated for 2.6 stable.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2489 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-03-14 05:43:57 +00:00
Waldir Pimenta 00043ff56a use 2 spaces for indentation in sanitize.js
See r2469 and https://groups.google.com/d/topic/svg-edit/fKGQEZ6h7-g/


git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2471 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-26 15:21:46 +00:00
Bruno Heridet c3cc08655c added setStrokePaint() and setFillPaint() aliases for embedapi retro-compatibility
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2470 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-25 13:05:25 +00:00
Bruno Heridet 2c1c5da6de misc cleaned up sanitize inconsistent indentation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2469 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-25 12:39:27 +00:00
Reda Lyazidi 71586aa5fe Correction of the problem with firefox with the radial gradient
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2468 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-23 21:32:09 +00:00
Bruno Heridet f6dcf51e37 cleaned up populateLayers()
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2467 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-23 19:22:00 +00:00
Bruno Heridet 78cb0e48bb added missing radix and misc formatting
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2466 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-23 18:56:45 +00:00
Bruno Heridet 4cdacdc168 improved loosed type coercion for reorient tool
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2465 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-23 18:34:23 +00:00
Bruno Heridet 541a981a21 removed non properly deleted test config introduced in r1467
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2464 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-23 18:09:16 +00:00
Bruno Heridet 0e92ca4a0e switched from properlySourceSizeTextArea() to a full CSS equivalent to optimize DOM repaint
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2463 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-23 18:05:15 +00:00
Bruno Heridet 9f58a680c3 removed unneeded json_encode / json_decode for 3 reasons:
- it's available natively since IE8 and it's provided by Chrome Frame which is a requirement for old IE
- it's only used for postMessage exchange which is a newer API than JSON
- if ever we would need it, it should be added in an external lib, not inside the editor code itself

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2462 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-23 17:37:05 +00:00
Bruno Heridet cc2d05f125 simplified visElems, and renamed current_drawing -> currentDrawing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2461 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-23 16:46:02 +00:00
Jeff Schiller 230479e038 Fix issue 1053: tspans now get remapped when their text parent are translated
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2460 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-22 15:46:11 +00:00
Jeff Schiller 355492050c Convert tabs to spaces in recalculate.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2459 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-22 15:11:13 +00:00