Commit Graph

379 Commits (1f00603359f1beaef4ef8388f3769a35e2f3e724)

Author SHA1 Message Date
Alexis Deveria d360c991cd Simplified canvas centering using largely CSS-based method
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1217 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-14 15:12:40 +00:00
Alexis Deveria 47a390511b Made menu stay open on drag-onto-fileopen in Firefox
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1215 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-14 13:39:25 +00:00
Alexis Deveria 8e5b549cf3 Fixed bug on Firefox open file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1214 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-13 21:18:59 +00:00
Alexis Deveria ad38b50001 Fixed issue 404: Change stroke dash style in Opera
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1212 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-13 21:03:00 +00:00
Alexis Deveria 4f162eb6fa Made more improvements to main menu (webkit hover works, FF menu hides when opening file)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1211 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-13 18:28:19 +00:00
Alexis Deveria 2921c66646 Made more improvements to main menu (works OK on icon size changes now)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1210 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-13 17:18:53 +00:00
Alexis Deveria fc41d62a66 Made more improvements to main menu
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1204 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-13 15:05:53 +00:00
Jeff Schiller 1b88da95f8 Fix File Open for Firefox broken in previous checkin. Neaten up file open extension API.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1203 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-13 04:32:31 +00:00
Alexis Deveria 8a96643f1a Added basic implementation of issue 313 (logo becomes main menu button)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1202 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-12 21:38:39 +00:00
Jeff Schiller faa165eb9d Change encoding from Western to UTF-8
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1201 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-12 20:39:03 +00:00
Jeff Schiller bcc164d6f8 Move populateLayers() to always be called when the svg element has changed
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1200 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-12 16:57:15 +00:00
Jeff Schiller a2557bbc98 Fix Issue 401: shift-click a spinner for a small step
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1199 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-12 16:20:09 +00:00
Alexis Deveria f51f2ea13f Made Open button icon scale by optimizing file opening code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1198 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-12 14:50:10 +00:00
Jeff Schiller 5bd91643bd Issue 392: Can now open local files in SVG-edit in Firefox 3.6 (File API).
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1196 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-12 08:09:08 +00:00
Alexis Deveria 4313c95d7e Applying recent 2.4 branch changes to trunk
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1174 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-08 20:36:39 +00:00
Jeff Schiller 2e9c519ea9 Merge updates for handling png fallbacks from 2.4 branch (until this can be fixed on the trunk)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1153 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-05 03:04:19 +00:00
Alexis Deveria 7471fed844 minor optimization, fix
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1136 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-31 21:14:41 +00:00
Alexis Deveria 525dbf0c18 cleaned up objects with too many commas, made some optimizations which prevent icon elems from being included in ID numbers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1133 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-31 19:24:03 +00:00
Alexis Deveria 0beb2f19a2 Fixed bugs in Opera 10.10 and some Opera/Win/Non-EN bugs by reverting part of r838 and using our own transformlist implementation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1129 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-30 20:12:13 +00:00
Alexis Deveria 0ed21291b9 Restructured SvgCanvas to put mouse events and path functions (as well as related variables) into their own modules
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1128 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-30 18:06:29 +00:00
Alexis Deveria 4ba0d002f0 Made various code optimizations, removing several global and SvgCanvas variables. Also made all keyboard shortcuts preventDefault
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1126 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-29 21:20:45 +00:00
Alexis Deveria f1017f7bf0 Made big improvement to issue 382
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1124 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-29 18:18:37 +00:00
Alexis Deveria ccc0c38887 Fixed path reorient enable/disable state, fixed fill/stroke color box gap
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1120 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-28 19:57:46 +00:00
Alexis Deveria 13b87e1839 Fixed bug where shortcut key for group would throw error, minor code optimization
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1116 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-28 14:33:26 +00:00
Alexis Deveria e4805a123f Prevented NaN values when selecting fit-to zoom options, made first layer be renamed on language change
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1107 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-23 20:29:44 +00:00
Alexis Deveria 62d641c29e Undo buggy code cleanup
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1103 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-23 18:33:45 +00:00
Alexis Deveria 718427a32d Added resize handles to text elements, minor code cleanup
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1102 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-23 18:31:38 +00:00
Alexis Deveria f1f3c31d21 Added German to good auto-set lang list, fixed issues 376 and 365
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1099 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-23 14:25:43 +00:00
Alexis Deveria 732155a028 Made auto-language-picker only use full translations
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1083 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-22 21:24:58 +00:00
Alexis Deveria 0366a5cc86 Improved wrapping for top toolbar on window resize, removed some unnecessary files
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1081 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-22 18:13:36 +00:00
Alexis Deveria 59575e1f71 Fixed issue 370
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1080 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-22 16:28:31 +00:00
Alexis Deveria 8f5f540b23 Fixed issue 366: Clone Fires Twice
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1074 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-21 13:36:49 +00:00
Alexis Deveria dd7f85c380 Fixed issue 356 and zoom dblclick action
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1073 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-18 21:30:56 +00:00
Alexis Deveria 9ed4fab3f3 Fixed Issue 358: The Text tool is broken
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1050 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-16 19:02:00 +00:00
Alexis Deveria db718cb201 Made fixes to/updated en,fr,nl lang files, made lang files no longer require keyboard shortcut hints
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1026 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-11 20:35:51 +00:00
Alexis Deveria df642b1500 Added support for translated text in svgcanvas.js, updated es, ja files, complete fr file by wormsxulla
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1004 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-08 19:38:14 +00:00
Alexis Deveria bf1cd8606d Updated lang.en.js file and added fixes to issues 346 and 347 to trunk
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1000 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-07 15:42:36 +00:00
Alexis Deveria 59c4f0c739 Fixed issue 345 and related attribute resets in FF bugs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@991 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-03 16:15:07 +00:00
Alexis Deveria 9ff715bbe1 Fixed bug in last revision where new font didn't affect element
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@990 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-02 21:17:11 +00:00
Alexis Deveria 73f6b976a8 Fixed Issue 265: Allow selection of a user-defined font in the text dialog
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@989 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-02 20:09:36 +00:00
Alexis Deveria 5173ad7eea Added option to link curved segment control points in pathedit mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@985 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-01 19:26:33 +00:00
Alexis Deveria 7cbb5ebddc Fixed bug related to path reorientation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@984 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-30 21:33:37 +00:00
Alexis Deveria 37392020ce Fixed Issue 342: Keyboard rotation broken
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@983 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-30 21:14:03 +00:00
Alexis Deveria d5f867f0a8 Fixed issue 68 by adding Convert to Path button, also included Reorient Path button
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@981 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-30 19:14:23 +00:00
Alexis Deveria 474690f2a2 Fixed base64 decoder
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@980 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-30 14:05:20 +00:00
Alexis Deveria ac19a9fe15 Added quick and dirty URL param source loader
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@979 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-25 21:10:48 +00:00
Jeff Schiller 3481940e38 Update selector box to be a path, change selectors to be circles (for convenience). Getting closer to a fix for negative resizing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@976 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-25 13:51:42 +00:00
Alexis Deveria 04ed475d6f Fixed Issue 337: MouseUp on Rect selects Square (Opera)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@969 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-23 17:10:13 +00:00
Kevin Kwok e689ca3dcf Fixed embed API
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@967 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-22 20:33:12 +00:00
Kevin Kwok db5df84bcc Embed communication protocol updated, embed api file added
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@966 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-22 20:13:06 +00:00
Alexis Deveria 1bd107b58b Updated lang.en.js with latest changes (may still be some entries missing)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@963 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-20 19:23:09 +00:00
Alexis Deveria 6d2729cf6b Fixed issue 287 by adding x,y fields for freehand lines, paths and groups
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@961 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-20 17:17:55 +00:00
Alexis Deveria 383ef4a290 Replaced modal dialog boxes with HTML ones, fixed issue 335 and other minor image bugs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@955 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-19 15:09:21 +00:00
Jeff Schiller 75dffc0d2f Correction to image handling code in context menu
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@954 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-18 17:22:01 +00:00
Alexis Deveria 5f4caf6c53 Finished up changes to inline image behaviour, many fixes from last update
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@953 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-18 16:50:25 +00:00
Alexis Deveria 3380cc0326 Made various changes to image handling, will now change Data URI back into URL on import (if possible). Mork work still needed
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@952 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-17 21:36:59 +00:00
Alexis Deveria 899a812b4a Possibly fixed issue 191 by adding an option in the doc props
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@951 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-17 16:42:04 +00:00
Alexis Deveria e4ead69e6d Fixed issue 314: In wireframe mode, outlines should stay 1px wide regardless of zoom level
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@950 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-16 20:20:13 +00:00
Alexis Deveria e9ff3cf682 Fixed issue 329, also made zoom reset on New Image. Made some code more efficient.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@947 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-16 17:04:19 +00:00
Alexis Deveria 0278caccd8 Hopefully finally fixed gradient serialization issues in Opera/Win/Non-en
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@945 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-13 20:45:18 +00:00
Alexis Deveria 5e7da751ec Made small improvements to small icon mode, added fixed ratio resize option for resize+shift
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@942 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-13 15:11:48 +00:00
Alexis Deveria 344e7a802d Fixed several remaining cross-browser icon bugs
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@933 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-12 16:00:50 +00:00
Alexis Deveria 7c8fafa9ee Added fix to prevent some FF versions from throwing errors on localStorage check
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@931 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-11 21:13:16 +00:00
Alexis Deveria c5467373ef Made editor preferences (language, icon size and background) be saved and re-applied on page load
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@930 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-11 18:13:26 +00:00
Alexis Deveria 55f791910a Added locale improvements: JS strings - see lang.en.js, dropdown list in doc props, browser language detect on startup
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@928 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-10 21:31:47 +00:00
Alexis Deveria 237fd96b0f Changed order of circle&ellipse and square&rect as per issue 179
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@927 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-10 19:16:45 +00:00
Alexis Deveria e40619cc67 Spruced up docprops to fix Issue 315, made Image Title appear in browser title when available
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@926 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-10 18:58:16 +00:00
Alexis Deveria 08f80ac7e9 Fixed node select icon
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@919 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-09 20:29:01 +00:00
Alexis Deveria 2a46a5eca0 Adding SVG icons to svg-editor.html and related scripts, keeping old with -classic suffix
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@916 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-09 18:59:53 +00:00
Alexis Deveria ea2d803c18 Fixed Issue 301: Move to Layer doesn't behave properly in Opera and Safari
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@902 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-03 18:21:23 +00:00
Alexis Deveria 57518c6087 Fixed Issue 302: Corner radius is displayed incorreclty when reopening a saved file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@891 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-30 20:33:46 +00:00
Alexis Deveria e960db29ff Made various zoom improvements, fixed zoom centering on spinner zoom
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@887 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-29 17:19:07 +00:00
Alexis Deveria a7b3b7dd25 Made zoom work on Shift+mousewheel (fails in Opera), made zoom out work on Shift+click in zoom mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@884 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-28 18:04:38 +00:00
Jeff Schiller 21820931c1 Toggle side panel open when Layers tab is clicked
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@883 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-28 14:22:23 +00:00
Alexis Deveria 54e5ff8c09 Changing polygon icon to new path icon, switching places with text tool
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@881 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-28 13:20:13 +00:00
Alexis Deveria 3dcd17f4b1 Fixed issue 311: Angle of rotation value isn't updated when the rotation is made with the handle. Also made opacity options hide while dragging slider
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@878 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-27 13:24:18 +00:00
Alexis Deveria 0fa6da2afc Fixed Issue 232: undo after fit to content (Document properties)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@876 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-23 18:03:48 +00:00
Alexis Deveria f008e8f4d0 Fixed Issue 279 by hiding bottom tools on pathedit mode, also fixed other minor problems
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@871 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-22 19:36:04 +00:00
Alexis Deveria cbf856a0bc Made background image resize correctly when zooming
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@870 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-22 17:23:45 +00:00
Alexis Deveria ff41dea34a Added option to set background color/image to editor (issue 39)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@869 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-22 14:56:09 +00:00
Alexis Deveria 18a9d20cfd Fixed issue 290 using method in comment #9
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@864 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-21 19:21:48 +00:00
Alexis Deveria d7b4958559 Added wireframe mode - Issue 106
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@857 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-21 13:40:50 +00:00
Alexis Deveria e253f48991 Minor fix for custom spinner functions
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@856 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-21 12:31:58 +00:00
Alexis Deveria aef268629a Made various CSS changes, changed opacity dropdown to spinner+superdropdown
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@852 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-20 20:06:55 +00:00
Alexis Deveria a0d4f0e263 Changed font drop-down list to spinner, now uses px rather than pt
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@849 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-20 15:50:58 +00:00
Alexis Deveria df8c220714 Added ability to set title for image (issue 125). Also: use native base64 encoder if found when encoding
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@843 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-19 19:06:07 +00:00
Jeff Schiller e667d63ac8 Rename all script/UI poly elements to path. Add TODOs for localization. Change MIME type of lang.XX.js files to text/javascript to better track in Subversion.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@842 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-18 20:46:32 +00:00
Jeff Schiller 0cdbb8d584 Rename 'path' mode to 'fhpath' (freehand path)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@841 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-18 20:04:26 +00:00
Jeff Schiller 211c478bf0 Add some tooltips to path control nodes. Add code for fetching data: representation of raster images (commented out)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@835 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-16 13:17:23 +00:00
Jeff Schiller 14dad9f1c8 Fix Issue 180: contextual tool buttons show as pressed in when pressed, also highlighted when hovered
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@833 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-15 14:49:06 +00:00
Jeff Schiller f82f098daa Remove revision tooltip as this does not work for the live version on GoogleCode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@831 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 18:01:05 +00:00
Jeff Schiller b7b63157ca More experimentation with SVN keywords
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@830 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 16:57:31 +00:00
Jeff Schiller 59b6e73e0b Experimenting with svn keywords
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@829 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 16:54:25 +00:00
Jeff Schiller f229d4c12e Fix Issue 280: Update layer list and Move To select box after moving elements. Fix Issue 281: Make side panel resizable up to 300px, make default snap-open size 150px
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@828 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 16:29:28 +00:00
Jeff Schiller 9f3cb7d668 When hovering over a layer name, turn it blue and italic
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@826 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 05:18:52 +00:00
Jeff Schiller 8ce44e7755 Fix Issue 233: Highlight the layer when its name is hovered
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@825 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 05:11:51 +00:00
Jeff Schiller ca67ea8af2 Fix dragging of side panel so that it doesn't 'stick' to the mouse pointer - woohoo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@824 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 04:50:17 +00:00
Jeff Schiller 2b6d0c467b Add shortcut key (X) to eXpand/collapse the side panel
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@822 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 04:16:48 +00:00
Jeff Schiller 87811c0fb8 More tweaking to the Layers panel. Added some missing API doc files.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@820 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 02:50:07 +00:00
Alexis Deveria 1f7b1f19f5 Fixed issue 213 by allowing a custom function as a step parameter to jQuerySpinBtn.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@819 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-13 18:30:44 +00:00
Jeff Schiller 79522f7434 Prompt user when moving elements to a layer. Remove some dead code. Comment more prompts needing localization.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@812 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-13 03:16:02 +00:00
Alexis Deveria 3509ab975f Fixed behavior of last node on open path
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@805 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-12 20:26:03 +00:00
Jeff Schiller 9d24318b2b TODOs for localization
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@804 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-12 18:53:54 +00:00
Jeff Schiller afa5942668 Fix Issue 271: Repair cut error and restore opacity tool functionality
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@800 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-12 02:38:27 +00:00
Jeff Schiller 4a2141fd8a Make the layer handle draggable.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@798 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-11 06:07:57 +00:00
Jeff Schiller b1393df28c Move-To-Layer control now lives in the Layers panel. Restructured layout of layers panel and added a non-functional handle. Changed pointer-events to be 'inherit' for all elements inside the layer. Clear selection after moving elements to a layer.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@797 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-11 04:32:21 +00:00
Jeff Schiller 2549e8ddd6 Fix Issue 227: Move elements to a different layer. Also document all of the Layer API functions of SvgCanvas.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@796 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-10 21:46:06 +00:00
Alexis Deveria efbf55f1a2 Added drop-down list for segment types, made some code more efficient, made polys go into polyedit mode after creation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@786 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-09 15:29:40 +00:00
Jeff Schiller bb38edf3db Fix new layer naming code by antimatter15. Fix rotation of groups problem.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@777 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-08 02:16:36 +00:00
Alexis Deveria 94f99e937a Added clone node option, cleaned up some poly point code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@774 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-07 16:04:32 +00:00
Jeff Schiller 824c66229a Fix Issue 261: update tool panel
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@773 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-07 06:13:52 +00:00
Jeff Schiller eaba474023 Prevent selection bug when clicking layers while accidentally holding down shift
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@769 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-05 21:50:59 +00:00
Narendra Sisodiya 0e2a6e2f54 small typo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@766 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-05 19:15:40 +00:00
Alexis Deveria 86ea5568a1 Added ability to delete the selected poly node
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@765 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-05 19:09:39 +00:00
Alexis Deveria ffc935ffea Added ability to select and modify x/y values of single poly node
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@763 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-05 13:50:44 +00:00
Narendra Sisodiya e115dcec97 UI localisation, calling put_locale after DOM is available
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@757 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-03 19:24:36 +00:00
Kevin Kwok 5b3cefd7a7 When making a new layer, the prompt() has a default value of 'Layer [number of layers+1]', feel free to revert if you dont like it
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@753 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-02 23:36:20 +00:00
Jeff Schiller d11818bec0 Only stuff orphaned children into a layer if they have a bbox. Also remove some stray bits of logging left in
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@734 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-29 17:55:51 +00:00
Jeff Schiller d079c45e52 Fix Issue 243: Zoom pop-up list state gets corrupted. Patch from Peter D. Reid
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@725 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-29 03:18:21 +00:00
Jeff Schiller 8d5b970a61 Re-center canvas if the window is resized
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@723 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-28 20:22:19 +00:00
Jeff Schiller 6f5a5f1030 Make canvas relatively positioned in workarea, centered in the workarea if small enough
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@722 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-28 20:14:18 +00:00
Alexis Deveria 920113ec54 undoing unintentional change to svg-editor.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@711 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-24 18:59:39 +00:00
Alexis Deveria 8bfc7ddc92 added Erik's patch to fix issue 223
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@710 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-24 18:47:03 +00:00
Jeff Schiller 4ec6be307a Fix Issue 73: Implement Layers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@704 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-24 04:48:40 +00:00
Jeff Schiller 000bb569c8 Completely rework layer list into a table
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@703 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-24 04:22:55 +00:00
Jeff Schiller ecb8ebafcb Somewhat undo r692 and r693 but replace alt attribute with HTML5-compliant data-attr to fix Issue 222
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@700 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-23 18:45:22 +00:00
Alexis Deveria 1c098d89cb Added jQuery UI and draggable component; Fixed issue 147: Ability to move the colorpicker around
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@698 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-23 18:15:29 +00:00
Jeff Schiller 2033115a3e Switch order of layers (top-most layer is the one that is rendered on top now)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@689 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-23 03:05:27 +00:00
Jeff Schiller 6b0bec3a0d Enable console.log() for Opera
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@688 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 21:50:55 +00:00
Jeff Schiller 2f89a7b311 Comment out unused code. Add meta tag for Google Chrome Frame plugin for IE.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@682 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 19:28:33 +00:00
Jeff Schiller 7a4d09d6dd Fix bug in Layers: Moving layers around did not properly update the pointer-events
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@679 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 18:10:54 +00:00
Alexis Deveria 920a5df480 Additional fixes to resolution change, now works correctly when zoomed
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@678 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 17:46:44 +00:00
Alexis Deveria e7941f5df8 Made doc properties adjustments, now has separate width&height fields.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@677 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 17:22:28 +00:00
Jeff Schiller 5b4c8aa01a Issue 73: Can now move layers up and down
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@674 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 04:44:56 +00:00
Jeff Schiller 942aa40c9f Ensure only one layer is selected (Issue 73)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@673 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 02:55:28 +00:00
Jeff Schiller 61fe5dc9fe Issue 73: Ensure first layer is always selected. Adjust layer buttons to fit Opera and Webkit.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@672 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 02:50:50 +00:00
Jeff Schiller ef4d16ee05 Issue 73: Make New/Delete layer undo-able. Implement Rename layer. Ensure layers have unique names
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@671 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 02:42:31 +00:00
Jeff Schiller cda961e7ba More work on Issue 73: Can now create and delete layers with undo/redo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@670 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 01:00:24 +00:00
Jeff Schiller 18253b5e5d Issue 73: A good deal of the plumbing is now down for layers. You can select the current layer in the layers panel and elements not on the current layer are not selectable.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@669 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-21 22:16:44 +00:00
Kevin Kwok d0101dbc84 added postMessage listner which evals commands to enable a potential future embed API
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@663 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-18 20:22:02 +00:00
Alexis Deveria 4da66bec93 Added working zoom button for drag/click zoom, no visible box yet
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@655 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-16 15:45:50 +00:00
Alexis Deveria b6a1128fd1 Added support for 'Fit to ...' zoom options
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@653 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-16 14:12:51 +00:00
Jeff Schiller fe42d462b5 Fix position of color/gradient picker
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@652 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-15 21:11:14 +00:00
Alexis Deveria 68033690bd Added advanced dropdown button for zoom, only %s work for now
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@650 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-15 18:13:00 +00:00
Alexis Deveria 2b57e93971 Added fix to increasing zoom from minimum using spinner
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@649 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-15 15:04:00 +00:00
Alexis Deveria 606e474efb Added zoom spinner to interface
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@648 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-15 14:38:26 +00:00
Jeff Schiller 1673406356 Fix flyout alignment by nudging down a few pixels
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@645 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-14 19:16:35 +00:00
Jeff Schiller ea7133d271 Woops, last commit fixed was for Issue 169
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@641 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-14 01:25:28 +00:00
Jeff Schiller 33cd428ef2 Fix Issue 186: Actual resolution always shown as selected
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@640 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-14 01:23:31 +00:00
Jeff Schiller 11c49d61dd Better behavior for custom resolutions
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@639 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-14 01:17:29 +00:00