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
Alexis Deveria
fe03c8f7e4
Improved behavior of manipulating single-child anchor elements
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1877 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-30 20:51:07 +00:00
Jeff Schiller
3ef0229180
Move Selector and SelectorManager into select.js. Start of unit test file for select.js.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1873 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-15 09:25:49 +00:00
Jeff Schiller
383d52e157
Fix error introduced in r1852, accidentally moved uiStrings into sanitize.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1872 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-15 09:24:02 +00:00
Jeff Schiller
82f57ab4ab
Made separate getVisibleElementsAndBBoxes() function
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1871 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-14 19:01:00 +00:00
Jeff Schiller
d5ae56ea8e
Add tests for MoveElementCommand, InsertElementCommand and RemoveElementCommand
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1867 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-13 09:58:51 +00:00
Jeff Schiller
4a133d490d
Move undo/redo functionality into history.js. Started unit test file.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1864 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-12 19:08:29 +00:00
Jeff Schiller
711346f109
Start on a svgutils unit test file
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1856 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-08 08:42:46 +00:00
Jeff Schiller
3aabcb428b
Add unit tests for svgtransformlist.js and all_tests page
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1853 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-08 07:23:26 +00:00
Jeff Schiller
a681fc2579
Add a sanitize.js module and put sanitizeSvg into it. Fix some browsersupport sniffing calls.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1852 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-07 20:14:05 +00:00
Jeff Schiller
ab88088880
Change a few calls to their namespace equivalent
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1851 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-07 16:46:57 +00:00
Jeff Schiller
0dbe9bf0e5
Move remaining two unit functions into units.js. Plug a couple leaky abstractions. Fix a few calls to canvas functions.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1850 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-07 05:20:03 +00:00
Jeff Schiller
abab2645af
Move convertAttrs into units.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1849 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-06 14:37:00 +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
Jeff Schiller
071a562c41
Start on a units JS package. Rename BrowserSupport and Utilities packages to lower-case
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1844 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-05 17:00:32 +00:00
Jeff Schiller
66fd00d10b
Move getRotationAngle() into svgutils.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1841 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-05 15:59:30 +00:00
Jeff Schiller
b104277fa1
Move getPathBBox() and getBBox() into svgutils.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1840 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-05 15:29:30 +00:00
Jeff Schiller
5e140062b8
Hide svgTransformLists from svgcanvas. Fix test HTML file.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1838 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-05 14:59:59 +00:00
Jeff Schiller
16ea2a36a5
Move getTransformList() into svgtransformlist.js, move getHref adn setHref into svgutils.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1837 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-05 14:43:12 +00:00
Alexis Deveria
985d061674
Fixed bug in HTML that broke editor, fixed scope of some variables
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1836 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-29 13:13:34 +00:00
Jeff Schiller
6a74f57cf4
Move snapToAngle() to math.js. Add build rule for Closure compiler in release mode.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1834 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-29 05:09:39 +00:00
Jeff Schiller
33fdd28713
Move math functions into new JS file: math.js. Add new version of Closure compiler.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1833 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-28 16:47:39 +00:00
Jeff Schiller
f97395ced4
Move SVGTransformList out into its own separate JS file
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1831 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-28 06:08:45 +00:00
Jeff Schiller
6218fc42b7
Revert changes of previous revision
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1830 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-28 05:50:39 +00:00
Jeff Schiller
7d81d66d9a
Move history-related classes out into its own JS file: history.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1829 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-28 03:09:19 +00:00
Alexis Deveria
357a28ec68
Made root SVG width/height be set to base unit on serialization, fixed minor path drawing bug, fixed Issue 579: Text disappear when low blur is set
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1827 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-27 18:58:34 +00:00
Alexis Deveria
6900460816
Made root SVG width/height be set to base unit on serialization, fixed minor path drawing bug
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1826 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-27 18:15:28 +00:00
Alexis Deveria
2ce416fa7e
Fixed Issue 299: Allow curves to be drawn in path creation mode (like in other editors)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1825 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-27 16:34:15 +00:00
Jeff Schiller
593beb4215
Move a few more functions into svgutils.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1822 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-26 17:11:23 +00:00
Jeff Schiller
0bd50af99b
Move new modules into a svgedit 'namespace'
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1821 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-26 16:33:44 +00:00
Alexis Deveria
6298d557cf
Fixed bug where test rect was appearing, changed path creation code a bit to prepare for curve creation ability
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1820 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-26 13:56:17 +00:00
Jeff Schiller
d8f744fd2f
Move browser support checking into its own JS module
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1818 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-26 07:25:21 +00:00
Jeff Schiller
89d5451cef
Move Utils mostly over to a separate JS file
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1817 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-26 02:48:36 +00:00
Alexis Deveria
8ba573662e
Fixed bug where selection box appeared incorrectly on zoom
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1816 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-25 19:25:38 +00:00
Alexis Deveria
1ff4caa1c6
Fixed bug where selection box wasn't shown on node-selectio
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1815 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-25 16:54:16 +00:00
Alexis Deveria
798704a715
Fixed most ruler bugs on high zoom in/out levels
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1814 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-21 20:30:42 +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
Alexis Deveria
5aabcff60c
Fixed Issue 724: text tool is broken in chrome, added new pushGroupPropertiesfunction
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1812 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-20 18:07:30 +00:00
Alexis Deveria
7e6b6706cf
Made some optimizations and fixed issue 716: Rotate, move, break link messes up image library image shape
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1811 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-20 13:53:43 +00:00
Alexis Deveria
b7e8adca8a
Begin change of unit system - currently no longer uses CSS units to allow decent interoperability
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1809 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-19 17:20:28 +00:00
Alexis Deveria
91f14298e0
Fixed Issue 646: No update of edge positions after shift+rotation on a path
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1808 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-15 19:41:37 +00:00
Alexis Deveria
40dcfdae96
Added text styles to group elements in whitelist
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1807 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-15 16:12:00 +00:00
Alexis Deveria
9dc297862e
Fixed Issue 720: Tree of life doesn't render properly
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1804 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-14 17:54:01 +00:00
Alexis Deveria
ae13b96bdf
Attempt to upgrade the jPicker plug-in to 1.1.5
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1802 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-14 16:54:15 +00:00
Alexis Deveria
65020c53c7
Fixed Issue 508: Resizing of <g> with <use> causes problems
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1800 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-13 19:36:47 +00:00
Alexis Deveria
9be5126a9f
Fixed Issue 674: FF parsing errors message when viewing SVG code
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1798 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-13 14:33:20 +00:00
Alexis Deveria
368f6e6417
Fixed Issue 718: Gradient missing when opening, but fine when imported
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1797 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-13 14:05:20 +00:00
Alexis Deveria
47bf005209
Fixed part of Issue 719: Patterns not displaying
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1796 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-13 13:27:39 +00:00
Alexis Deveria
1afd4224af
Fixed issue 449: Gradients are not inverted when an element is flipped
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1795 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-12 20:09:37 +00:00
Alexis Deveria
289d7a8f41
Fixed issue 713: Fill tool breaks after using gradient and then new image
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1793 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-12 15:20:17 +00:00
Alexis Deveria
bc965b8e58
Mostly fixed Issue 413: Undesired scaling effect on borders while resizing elements, fixed Issue 711: Scale and move of imported image image doesn't work and issue 712: defs not deleted when image library image (symbol) deleted
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1792 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-11 17:16:10 +00:00
Alexis Deveria
2696644a19
Fixed issue 715: Load via ?url= no longer working
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1791 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-11 12:21:37 +00:00
Alexis Deveria
ddbbd53bf6
Fixed issue 377: Raster images don't invert
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1790 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-08 19:48:55 +00:00
Alexis Deveria
89a918a4f0
Fixed bug in last checkin
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1789 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-08 19:38:40 +00:00
Alexis Deveria
39f8a8b499
Optimized remapElement
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1788 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-08 19:25:35 +00:00
Alexis Deveria
e936e96078
Fixed Issue 586: Unit test broken since r1541, made sure other unit tests pass too
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1785 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-08 17:25:11 +00:00
Alexis Deveria
1ef20a3afc
Fixed issue 183: Removing unused gradients causes a problem for Undo
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1784 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-08 16:34:24 +00:00
Alexis Deveria
4d65eaf2f9
Added support for editing inside rotated groups (issue 615), fixed some minor bugs
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1782 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-07 20:20:43 +00:00
Alexis Deveria
58a71b0593
Possibly fixed issue 701: Break link to reference element increases stroke weight
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1781 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-07 19:34:53 +00:00
Alexis Deveria
aea8325858
Fixed bug where imported images would lose their gradient in Firefox
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1780 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-07 17:41:53 +00:00
Jacques Distler
55d7aeab18
Fix bug in serialization of attributes.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1779 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-06 21:05:27 +00:00
Alexis Deveria
3a637498c8
Minor optimizations, fixed issue 706: Revision 1774 Spooges icons on Firefox 4.0b
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1777 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-05 18:50:21 +00:00
Alexis Deveria
c23123ab03
Split up doc props and editor prefs, added support for base units (issue 628)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1776 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-05 17:13:00 +00:00
Alexis Deveria
f257722d9f
Minor fix from last revision
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1775 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-04 17:12:29 +00:00
Alexis Deveria
40dd45125c
Fixed part of issue 700, and possibly issue 703
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1774 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-04 16:01:58 +00:00
Alexis Deveria
e26eb40fcc
Bulk performance improvements by using .indexOf over $.inArray and >= 0
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1769 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-29 18:37:51 +00:00
Alexis Deveria
0dbe3a0b84
Fixed some minor bugs
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1768 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-29 17:36:29 +00:00
Alexis Deveria
7674ea3564
Fixed gradient import bug for webkit browsers
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1765 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-28 20:21:22 +00:00
Alexis Deveria
a8df84c328
Fixed issue 619: Gradient issues with ungrouped imported images
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1764 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-28 18:59:31 +00:00
Alexis Deveria
5aa8cded2c
Fixed issue 694 and some other related text bugs
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1763 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-28 16:57:26 +00:00
Adrian Jones
06f6297ae3
Fixed broken double click to exit inside group edit mode
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1759 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-25 18:24:21 +00:00
Alexis Deveria
d826136331
Fixed some selection related bugs
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1751 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-24 17:24:42 +00:00
Alexis Deveria
73b2b93bab
Fixed issue 691 by making resetUndoStack public through svgCanvas.undoMgr
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1750 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-24 16:44:20 +00:00
Alexis Deveria
c363097f50
Made tab/shift+tab cycle through elements as long as no input field is focused
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1749 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-24 16:05:46 +00:00
Alexis Deveria
8f56429b1a
Fixed bug on changing group level in last revision
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1748 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-23 20:04:44 +00:00
Alexis Deveria
7065218adc
Made improvements to in-group editing, includes new panel
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1747 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-23 19:53:43 +00:00
Alexis Deveria
748c3a4057
Fixed bug where selection box of group was incorrect in Webkit
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1746 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-23 16:28:08 +00:00
Alexis Deveria
b9cd59c8ed
Added line to remove matrix on symbols converted to groups, fixes in-group editing
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1745 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-22 19:48:09 +00:00
Alexis Deveria
5fa7df9835
Removed some unused code
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1743 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-22 18:57:29 +00:00
Alexis Deveria
be01fab6bc
Start ability to edit inside groups (issue 615)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1742 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-22 18:42:24 +00:00
Alexis Deveria
1a494c3a42
Made arrow-key nudging work on grid-snap, made shift-arrow move elements by 10x multiple
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1741 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-21 19:22:52 +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
75a1d6d3a3
Fixed some grid snapping bugs (related to freehand and path creation) and made some internal optimizations
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1729 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-17 19:34:23 +00:00
Alexis Deveria
01a5855dbd
Fixed Issue 676: Image library elements not responsive with IE9 beta
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1726 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-17 14:29:22 +00:00
Alexis Deveria
4d817ef39c
Fixed bug where textedit mode was being disabled in other browsers
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1723 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-16 16:24:28 +00:00
Alexis Deveria
dea7b5c896
Disabled inbuilt advanced text editing for IE9 until a bug is fixed
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1722 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-16 16:20:48 +00:00
Alexis Deveria
411dbc49a1
Fixed more IE9 bugs, re-enabled animation in IE
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1720 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-16 12:56:09 +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
6c4bc512ff
Added some optimization to element selection
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1712 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-10 18:51:59 +00:00
Alexis Deveria
d7c30bb45d
Changed CSS selector to make all panels but editor and history hidden by default
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1710 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-10 13:58:34 +00:00
Alexis Deveria
2f767163b0
Made zoom and multi-select boxes flexible regardless of grid snapping, turned snapping off by default
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1707 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-10 13:23:31 +00:00
Alexis Deveria
a6a2e7c469
Made selection of last created element remain when switching to select tool
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1706 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-09 20:10:34 +00:00
Alexis Deveria
9ed94bfc28
Made create->rotate result in switch to select mode
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1705 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-09 17:52:36 +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
2e1dd1816d
Added remaining updates for grid/snapping extension
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1701 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-09 12:46:34 +00:00
Alexis Deveria
df2fc99450
Fixed last fix that wasn't the right fix
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1699 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-01 12:41:25 +00:00
Alexis Deveria
661f377baa
Fixed bugs caused by last revision
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1697 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-01 12:13:26 +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
8e721292b8
Fixed issue 616: Rotated object from Image Library import jumps on move
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1694 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-31 14:37:36 +00:00
Alexis Deveria
292dd46316
Fixed issue 657 (color picker)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1689 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-30 17:17:57 +00:00
Alexis Deveria
f37aaf8d39
Made more IE9 fixes, drawing shapes works properly now, as does alignment
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1681 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-25 19:06:23 +00:00
Alexis Deveria
9df823863a
Made icons work in IE9 (with a few minor bugs)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1680 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-25 15:10:43 +00:00
Alexis Deveria
631b2b4054
Made save option cause soure editor to appear in Chrome 5+ and IE9, started IE9 support
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1679 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-23 20:16:27 +00:00
Alexis Deveria
6179ea465b
Fixed issue 631 by giving all visible imported elements an ID
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1678 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-23 15:33:00 +00:00
Alexis Deveria
576f76e671
Fixed bug where matrix transform was left on right-clicked elements, and one where imported SVGs had the same ID as their use elems
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1677 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-23 13:58:51 +00:00
Alexis Deveria
ebd0e582df
Added basic context menu implementation of issue 20: Bring Forward/Send Backward Commands
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1674 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-20 14:52:55 +00:00
Alexis Deveria
8345aa43d1
Fixed issue 226 and issue 393, allowing the cloning and merging of layers
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1672 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-19 18:30:19 +00:00
Alexis Deveria
23851a90a8
Uplifted to latest CanVG for <image> support, made sure (most) images will appear in exported canvas
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1667 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-17 20:28:04 +00:00
Alexis Deveria
16a3d9bc90
Fixed issue 431 by setting a null width/height document's dimensions to that of its contents
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1665 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-17 18:43:05 +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
da4f9dacfa
Added experimental context menu (currently only for deleting elements)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1663 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-16 20:26:06 +00:00
Alexis Deveria
93d6dfa121
Fixed bug caused in r1576 that made path-drawing points and line appear incorrectly when zoomed
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1662 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-16 18:14:21 +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
7776034753
Applied fix for path arc segment delimiter big by zeware (issue 639)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1660 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-13 15:37:50 +00:00
Jacob Brookover
81512c8cb7
-Simple null check that allows setting a default font for the text tool before the program loads.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1653 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-30 20:41:07 +00:00
Alexis Deveria
30248d4790
Fixed several minor bugs
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1652 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-29 19:43:52 +00:00
Alexis Deveria
bcbb43ec91
Fixed import bug for Webkit browsers
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1651 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-29 17:49:28 +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
b2f2df4eac
Added convert-to-group option for SVG elements, added label (title) field for groups/SVGs
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1643 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-22 19:10:51 +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
f7d57e54c7
Fixed issue 599 by allowing font style changing without entered text
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1639 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-20 13:35:11 +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
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
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
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
d80dd06bad
Fixed issue 591 and issue 592
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1622 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-05 13:26:52 +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
d96ddad902
More wacky internal changes and documentation updates
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1620 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-30 18:27:36 +00:00
Alexis Deveria
3d351fa0c7
More optimization/docs work
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1619 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-29 20:43:44 +00:00
Alexis Deveria
a9b2010b28
Optimized some stroke/fill functions, more documentation
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1618 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-28 20:09:34 +00:00
Alexis Deveria
00ef6f5d74
Fixed issue 587, more code reorganization/documentation
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1617 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-28 13:10:22 +00:00
Alexis Deveria
42dd162ffe
More code reorganization/documentation
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1616 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-22 18:17:42 +00:00
Alexis Deveria
63407c7542
Removed code for Opera/Win/Non-en bugs that were fixed in Opera 10.50. More code reorganization
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1615 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-22 14:52:51 +00:00
Jacques Distler
6a14ae5e86
Update whitelist of MathML elements
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1613 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-22 05:55:53 +00:00
Alexis Deveria
93b509dd8e
Reorganized undo related functions, added more docs, updated German lang file
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1612 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-21 18:06:21 +00:00
Alexis Deveria
4cd1fbf995
More internal code improvements/documentation
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1610 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-21 15:05:41 +00:00
Alexis Deveria
e420c6beba
More documentation changes
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1609 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-18 21:02:44 +00:00
Alexis Deveria
e4d8d5e406
Start of new thorough code documentation effort
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1608 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-18 20:51:58 +00:00
Alexis Deveria
f561211268
Start of new thorough code documentation effort
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1607 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-18 20:35:47 +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
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
fbfe17eac9
update for issues 556, 569, 570, 571
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1586 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-03 07:30:56 +00:00
Alexis Deveria
f08ed827d9
Fixed issue 567 and similar bug for textedit mode
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1584 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-05-31 19:30:02 +00:00
Alexis Deveria
74cc0fe376
Applied patch to issue 566 by peter.d.reid
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1583 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-05-31 17:40:30 +00:00
Alexis Deveria
b61de7cc25
Applied patch to issue 565 by peter.d.reid
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1582 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-05-31 15:27:40 +00:00
Alexis Deveria
4eae367b9a
Fixed issue 552
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1581 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-05-28 20:18:49 +00:00
Alexis Deveria
eba6715baf
Fixed last parts of issue 561 by correctly ungrouping blurred groups. Also fixed some other blur related bugs
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1580 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-05-28 19:17:30 +00:00
Alexis Deveria
0f6da949bf
Fixed opacity inheritance on ungrouping, allowed blurring on groups
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1579 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-05-28 16:05:36 +00:00
Will Schleter
831faaa493
Add support for Issue 521 - use shift key to snap translations and rotations
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1576 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-05-26 15:12:57 +00:00
Alexis Deveria
4c0148a684
Fixed bug where selectedChanged and elementChanged were called too often
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1575 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-05-24 19:46:32 +00:00
Jeff Schiller
9bfc6f6408
Fix for Issue 534: patch from wschleter
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1573 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-05-21 22:06:52 +00:00
Alexis Deveria
63bde23fed
Fixed issue 472 in a somewhat hacky way
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1572 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-05-18 14:54:35 +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
8000c9651e
Updated lang files, fixed another textedit bug
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1561 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-05-03 20:12:41 +00:00
Alexis Deveria
30e48db6fe
Fixed another chunk of issue 469
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1559 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-30 19:12:30 +00:00
Alexis Deveria
52746f46f2
Fixed issue 407, removed marker warning on png export
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1558 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-30 16:16:23 +00:00
Alexis Deveria
fa44f7d2ef
Fixed issue 545: Cursor/selection block are positioned incorrectly when zoomed in/out on transformed text. Also updated canvg to version supporting arrows
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1557 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-30 15:06:47 +00:00
Alexis Deveria
122bb4fc22
Replaced removeUnusedGrads with a more generic removeUnusedDefElems to remove unused filters, markers, etc
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1554 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-29 15:30:56 +00:00
Jacques Distler
f78cd75984
More bogus attribute/namespace fixes.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1553 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-28 21:43:33 +00:00
Alexis Deveria
09c409e40a
Fixed more blur-related bugs
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1552 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-28 20:33:10 +00:00
Jacques Distler
543c6661a9
Task of Sysiphus: filter bogus attributes, generated by Gecko (again).
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1551 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-28 16:53:36 +00:00
Alexis Deveria
7d4978740e
Made more locale-related fixes, fixed issue 544 using codedread's help
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1550 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-28 16:34:02 +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
Alexis Deveria
c2d4aa0061
Fixed bug that caused errors when changing an attribute while in text-edit mode. Also changed some lang IDs to better match tools
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1547 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-26 19:16:37 +00:00
Alexis Deveria
eeeec6fb12
Fixed issue 543 and related problems resulting from reorienting paths
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1546 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-26 16:53:06 +00:00
Alexis Deveria
8030f867a3
Made canvas center on window resize, fixed error occurring on cloning end path nodes
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1544 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-23 19:40:09 +00:00
Alexis Deveria
20c6001a72
Fixed fatal bug
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1542 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-23 17:10:34 +00:00
Alexis Deveria
4563fa0dc9
Fixed issue 546
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1541 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-23 17:00:03 +00:00
Alexis Deveria
ff7af498a3
Made lines follow 45 degree angles when holding shift, made selection box fit better on zoom, updated canvg
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1531 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-20 20:29:30 +00:00
Alexis Deveria
91b033a470
Fixed issue 135: Missing the ability to align a single object (relative to page). Also started converting labels to icons
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1526 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-16 19:16:44 +00:00
Alexis Deveria
fee4405d36
Mostly fixed issue 70 (export as PNG option) by using Gabe Lerner's canvg library
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1521 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-14 17:30:25 +00:00
Alexis Deveria
ce14aba200
Fixed bug from last fix on selecting text on transformed elements
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1520 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-13 15:52:00 +00:00
Alexis Deveria
d99a609d98
Fixed more text-related bugs, added double and triple click actions
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1519 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-13 15:28:52 +00:00
Alexis Deveria
bc7510acfb
More minor improvents to text edit mode
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1518 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-12 20:28:39 +00:00
Alexis Deveria
7ac3d0456b
Made more improvents to textedit mode, now works on transformed elements
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1517 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-12 19:11:35 +00:00
Alexis Deveria
010d395590
Added textedit mode to support text editing. Still in progress, only supports text without transforms
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1516 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-12 15:59:46 +00:00
Alexis Deveria
a9219e46a8
Fixed issue 528. Also made undo/redo work on image href change (was apparently broken)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1514 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-09 16:01:09 +00:00
Alexis Deveria
75e42d2407
Fixed issue 531 by preventing attempt to transform a metadata element
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1512 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-09 12:37:17 +00:00
Alexis Deveria
8841ec47db
Fixed issues 529 and 530, started some work on better <a> element support
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1511 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-08 13:34:18 +00:00
Alexis Deveria
d2bbd0b127
Fixed misc bugs, made root only include namespace declarations when necessary
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1510 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-07 18:18:28 +00:00
Alexis Deveria
30e8bc486c
Fixed wireframe mode for blurry elements, added partial undo functionality
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1509 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-06 20:16:07 +00:00
Alexis Deveria
66c5cb4866
Added basic support for gaussianBlur effect
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1508 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-06 18:40:10 +00:00
Jacques Distler
058f87e615
Preserve height and width, when re-editing an existing SVG document.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1507 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-06 18:36:24 +00:00
Alexis Deveria
9b04d4689e
Applied patch by aobjects, fixes issue 512
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1504 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-06 13:12:54 +00:00
Jacques Distler
b4d10c41c3
Fix a noncy bug.
...
Fix a bug where the fill panel would not appear.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1500 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-02 05:09:32 +00:00
Alexis Deveria
81d7c9f631
Added support for stroke-linecap
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1498 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-01 20:20:24 +00:00
Alexis Deveria
753270d730
Reduced repetitive styling code
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1497 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-01 20:01:20 +00:00
Alexis Deveria
e445baeadd
Added stroke-linejoin support together with experimental UI for stroke styles
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1496 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-01 19:02:36 +00:00
Alexis Deveria
363b456431
Fixed issue 360, allows panning with middle mouse button or left mouse button while holding spacebar
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1494 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-01 16:00:50 +00:00
Jeff Schiller
edae9befd9
Correct remapping of shorthand curve commands (q,Q,s,S)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1493 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-01 04:56:51 +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
104d4370a1
Made import of gradients on stroke work, fixed issue 516
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1487 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-29 18:06:51 +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
Alexis Deveria
cb5b6e2d2d
Largely fixed issue 469 by converting gradients to use objectBoundingBox
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1476 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-26 20:30:01 +00:00
Alexis Deveria
508c72e5a7
Fixed major part of issue 459 by providing warning onbeforeunload when appropriate
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1473 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-26 17:51:41 +00:00
Alexis Deveria
5c847f6493
Fixed/Integrated support for open/closing subpaths, fixed hidden flyout arrows on smaller icons in Opera, added support for loading extensions in config, uplifted to jQuery 1.4.2 and jQuery UI 1.8
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1470 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-24 20:13:13 +00:00
Alexis Deveria
2ba315bc96
More internal re-arranging and support for new config options
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1464 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-16 19:28:57 +00:00
Alexis Deveria
2b4270163e
Added support for loading config data from URL, prevented creation of unneeded global variables
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1459 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-12 20:43:33 +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
750e6456b3
Improved path node deleting behaviour, added functions to get svgCanvas vars: getContentElem, getRootElem and getSelectedElems
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1455 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-11 15:27:18 +00:00
Alexis Deveria
38a244bcc6
Fixed bug where attributes were being removed from gradient element on serialization in Opera
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1454 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-10 19:03:05 +00:00
Alexis Deveria
037c641b11
Updated jGraduate and made radialGradients work as expected, fixing issue 298
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1452 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-10 18:17:48 +00:00
Alexis Deveria
57da0c02f3
Added fade-in SMIL animation when creating most elements in SMIL-enabled browsers
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1451 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-10 15:07:28 +00:00
Jeff Schiller
5c02c98a3f
Send zoom modifications to extensions, patch by JL2008
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1450 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-09 16:10:23 +00:00
Jacques Distler
f8be6ee1a5
Small whitespace nicety
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1448 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-07 00:25:38 +00:00
Jacques Distler
7b5b7c4fdf
Noncy bugs fixed.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1447 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-06 05:04:15 +00:00
Alexis Deveria
fde7386d75
Added 'add sub-path' button to pathedit context panel
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1443 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-03 19:26:09 +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
Jacques Distler
cf4e097316
Fix issue 503.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1435 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-27 22:46:20 +00:00
Jeff Schiller
7b99425c8e
Add an id input field in the context panel. Users can see and change the ID of elements now
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1433 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-26 23:56:36 +00:00
Alexis Deveria
89ed9b3985
Fixed bug on deleting first node of open path and made imported closed paths have correct end segment
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1431 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-26 19:44:41 +00:00
Alexis Deveria
21ba2823ce
PathActions overhaul, fixes issue 435 and issue 443
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1430 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-26 18:18:21 +00:00
Jacques Distler
706b8e3ec8
Expand Whitelist
...
Add some things, that we need, to the whitelist.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1429 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-25 13:59:54 +00:00
Jeff Schiller
d4c93087fc
Handle viewboxes with non-zero left,top. Minor fix for bboxes of <use>, <foreignObject>
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1427 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-22 02:58:19 +00:00
Jeff Schiller
6039875f5a
Now remap xlink:href attributes when importing <use>, <filter>, <pattern>, <textPath> and gradients.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1426 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-22 02:22:08 +00:00
Jeff Schiller
6e15924461
Reidentify all elements imported into the drawing. Add tests for it.
...
Still to do: Remap all xlink:href attributes, filter attribute, possibly others.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1425 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-22 00:56:19 +00:00
Jeff Schiller
fc82f2965b
More work on properly sizing imported SVG.
...
Still ignores preserveAspectRatio, percentages, units on import <svg>.
Also ignores zoom level of SVG-edit.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1423 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-21 16:36:50 +00:00
Jeff Schiller
5b0f6e480c
Corrected bbox problem for <metadata> elements.
...
Imported SVG now inserted into a new <g> element instead of child <svg> element.
Sizing of imported SVG will still be wrong.
Added three example clipart images.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1422 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-21 03:27:10 +00:00
Jeff Schiller
cc20d81633
Fix breakage two revisions ago. Add base raw import of SVG file into current layer (very broken at the moment).
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1421 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-21 01:12:59 +00:00
Jeff Schiller
400eb1e1cc
Add x,y to <svg> whitelist. Remove @transform as this is not a valid value on a <svg>
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1419 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-20 23:04:13 +00:00
Jacques Distler
7236577141
Fix some small issues with foreignObject tool
...
Don't disable line tool after using foreignObject tool.
Don't set stroke to 'none' after using foreignObject editor.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1411 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-19 14:09:46 +00:00
Jacques Distler
98be8d5f81
Fix Issue 489: The href attribute on image elements was being created without a prefix.
...
setAttributeNS(nsuri, name, value) takes a qname, not a localname as its 2nd argument. (This is not to be confused with getAttributeNS(nsuri, name), which takes a localname as its 2nd argument.)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1410 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-18 17:41:07 +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
Jeff Schiller
8e0bf800bf
Fix Issue 486: Remove uses without href to prevent Safari crash. Turns all unit tests green
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1408 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-18 01:34:29 +00:00
Alexis Deveria
2c889f640b
Dealt with remaining bug in issue 470: Support loading files with unit-based width/height
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1406 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 21:20:11 +00:00
Jeff Schiller
02425de805
Make xmlns:foo test go green in Opera
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1404 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 18:15:53 +00:00
Jeff Schiller
469868d731
Fix XML escaping problem in attributes, add unit test
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1400 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 15:51:57 +00:00
Jeff Schiller
19d9998743
Remove experimental drop-shadow for now as it slowed down the editor, especially at higher zoom levels (might look into CSS3 box-shadow one day)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1399 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 15:12:08 +00:00
Jeff Schiller
d78843beb0
Allow custom namespace prefixes as long as they map to one of our accepted namespace URIs (path by Jacques Distler)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1396 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 06:44:03 +00:00
Jeff Schiller
8753c552f8
Fix Issue 478: markers, filters and clip paths now survive the conversion to path
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1394 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-16 18:54:41 +00:00
Jeff Schiller
d6037a742e
When serializing, use nodename (which includes namespace prefix). Patch by Jacques Distler
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1393 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-16 18:32:50 +00:00
Jeff Schiller
c8d5ba7b7e
Fix Issue 485: Make foreignObjects copyable (partial patch by Jacques Distler)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1392 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-16 18:21:16 +00:00
Jeff Schiller
92b50b4a75
Fix Issue 484: correct namespace handling for xml: attrs (patch by Jacques Distler)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1391 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-15 14:02:17 +00:00
Jeff Schiller
71e76c81b8
More fixes to namespace handling. Added <math> test case
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1390 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-14 14:50:04 +00:00
Jeff Schiller
88d61a3259
Fix Issue 482: Correct namespace prefix handling. Foreign content itself will declare the namespace, we don't need to do this in svgcontent
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1389 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-14 06:22:34 +00:00
Jeff Schiller
c32284cfcb
Fix typo in deepdive function from r1380
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1388 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-14 06:06:19 +00:00
Alexis Deveria
b071bd91b5
Fixed bug on changing heights with percentages
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1382 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 14:56:54 +00:00
Alexis Deveria
13003a3de2
Fixed issue 446
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1381 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 14:23:55 +00:00
Jeff Schiller
8d4861d546
Fix rest of Issue 471: upon loading/setting the SVG, do a depth-first recalculateDimensions() on all nodes
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1380 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 03:54:49 +00:00
Jeff Schiller
9915407382
Fix part of Issue 471: path deformation when x,y happened to be zero
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1379 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 03:14:38 +00:00
Jeff Schiller
09d6066291
Fix Issue 474: Broke tools by forgetting the svgroot id
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1378 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-11 22:19:13 +00:00
Alexis Deveria
eb8b9ab5e6
Made 'good' locale array be populated based on svg-editor.html, made namespaces only be added on serialization when used
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1377 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-11 21:24:15 +00:00
Jeff Schiller
507e50767f
Fix Issue 473: WebKit browsers fixed for navigation, caused by r1368
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1376 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-11 01:28:25 +00:00
Jeff Schiller
5ce59294d1
Spoke too soon, with canvas drop-shadow on, zooming in Opera 10.10 causes immense slow-down
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1375 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 21:12:43 +00:00
Jeff Schiller
140ab45f7d
Fix Opera bug with canvas shadow, thanks to a tip from Erik Dahlstrom
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1374 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 21:02:42 +00:00
Jeff Schiller
ae214cfe0e
Add a shadow to the canvas in Firefox (experimental)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1373 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 20:12:48 +00:00