Commit Graph

590 Commits (541a981a216d3d16056dae52972725ad8d6126c7)

Author SHA1 Message Date
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 8c8f7b4745 misc style harmonizing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2451 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-21 20:34:11 +00:00
Bruno Heridet e0dbc7e750 moved layers list styling to CSS
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2450 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-21 19:56:59 +00:00
Bruno Heridet 61be265b91 moved touch events listeners to touch.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2449 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-21 14:48:24 +00:00
Bruno Heridet c955780639 unified sidePanel resizing / toggling
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2448 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-20 22:28:45 +00:00
Bruno Heridet 24089d93f9 simplified label disabled
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2447 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-20 21:50:18 +00:00
Bruno Heridet 13904755b9 misc if simplification
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2446 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-20 21:45:10 +00:00
Bruno Heridet 5cad5c9981 camelCased default_img_url -> defaultImageURL
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2445 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-20 21:40:21 +00:00
Bruno Heridet bdbdc6bddb misc var camelCasing and commenting in updateRulers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2444 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-20 21:04:54 +00:00
Bruno Heridet 617c5c32bb fixed #895 thanks to FlintOBrien - Grid is invisible when background is black
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2435 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-19 21:07:24 +00:00
Bruno Heridet d809578c6c fixed indentation and removed two unneeded local vars
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2432 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-19 15:00:56 +00:00
Bruno Heridet 570c59ebf2 used .data() method shortcut to retrieve zoomValue
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2431 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-19 13:25:54 +00:00
Bruno Heridet 12f5fd9bce added getPaintOpacity() on svgCanvas, used it to simplify mouseDown callback on palette in svgEditor
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2430 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-19 13:17:27 +00:00
Bruno Heridet 47b6e11be9 simplified getPaint()
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2427 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-19 11:13:03 +00:00
Bruno Heridet 3ccba8d739 misc code reordering to ease future addDropDown addAltDropDown merge
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2425 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-18 20:55:04 +00:00
Bruno Heridet 8eceeb2b3f unified overlays styling
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2423 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-18 18:52:07 +00:00
Bruno Heridet 5ce4431658 used svgedit.browser checks instead of redefined ones
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2422 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-18 18:22:00 +00:00
Bruno Heridet 15d765de85 used .prop() for #grid_snapping_on checkbox state
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2421 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-18 18:02:39 +00:00
Bruno Heridet 4441810638 simplified undo/redon, node link and sub path button states
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2415 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 16:07:19 +00:00
Bruno Heridet 79f7ee4614 simplified wireframe button toggling
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2414 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 15:49:33 +00:00
Bruno Heridet b599a2a54b fixed old Chrome bug handling for svg saving
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2413 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 15:36:19 +00:00
Bruno Heridet 525e869e7f set show_save_warning to camelCase
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2412 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 15:19:20 +00:00
Bruno Heridet f9b8aa624c created svgedit main object, moved all namespaces handling in the same place
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2411 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 15:02:26 +00:00
Bruno Heridet dd6b28d886 used default step values for SpinButtons
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2404 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 10:28:17 +00:00
Bruno Heridet a851e70c6e fixed $hcanv leak
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2403 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 23:17:56 +00:00
Bruno Heridet 7a36f90eb6 fixed getRefElem and smoothControlPoints leaking variables
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2402 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 23:05:23 +00:00
Bruno Heridet d5dca6b4a3 misc cleanup
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2401 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 22:32:35 +00:00
Bruno Heridet ad7e26b8de renamed some snake_case
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2400 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 22:07:05 +00:00
Bruno Heridet b3b363523b fixed missing fallback png align buttons, cleaned quotes, if style inconsistencies
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2399 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 21:57:35 +00:00
Bruno Heridet 7b7f03a24f fixed heaps of missing semicolons and indentation inconsistencies, still a lot to do
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2393 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 13:38:55 +00:00
Luis Aguirre 93950ca293 Change name from svgEditor.setPan to svgEditor.setPanning
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2332 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-07 13:55:23 +00:00
Luis Aguirre 45389b6b94 Create setPan at svg-editor.js to let move the document without pressing any key or mouse button. Usefull for future tablet/mobile edition
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2331 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-07 11:47:17 +00:00
Chance Roth ec0b458fff Added Star and Polygon Extensions - Looks like Firefox recently broke something and shows mitre ends too long. USed to work great, Chrome is fine.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2318 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-01-18 18:04:17 +00:00
Rafael Couto e5a32fc003 prettify the resulting zoom decimal
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2311 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-01-17 11:05:06 +00:00
Rafael Couto 8823218968 fix - function already exist in other file (sorry about that!)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2277 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-01-16 00:31:32 +00:00
Rafael Couto fcdbbe7474 Mouse Wheel Zoom
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2274 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-01-09 23:23:28 +00:00
Dale Harvey 89416b0ac6 Add a default autosave canvas to localstorage
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2273 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-01-09 23:14:35 +00:00
Mark MacKay bea865ae4f fix for transparent color
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2225 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-12-05 00:06:48 +00:00
Mark MacKay c99f759d46 changing context now clears the selection
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2198 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-11-28 05:02:46 +00:00
Mark MacKay 650fa70404 added zoomChanged to the embedded api, partial patch from RobertLeePlummerJr #973
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2197 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-11-28 04:32:59 +00:00
Mark MacKay 6065268f32 fixing positioning of color picker
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2196 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-11-28 02:08:13 +00:00
Mark MacKay 08e5405a41 interface optimizations for maximizing canvas area
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2195 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-11-28 01:42:57 +00:00
Ahmad Syazwan 4cc9c7d0ec Apply duopixel's patch for drag 'n drop image support (see issue 999). Also removed trailing spaces
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2090 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-10-22 10:47:50 +00:00
Marc Laporte cf0dde3f4a Updating license information as per http://code.google.com/p/svg-edit/issues/detail?id=959
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2088 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-09-16 18:53:27 +00:00
Will Schleter 7f487a89b2 Address issue 526 - incorporate duopixel's patch to convert touch events to mouse events.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2085 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-07-21 11:02:54 +00:00
Ahmad Syazwan 36e0fbd2d5 Fix issue 934. Patch by adambender.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2083 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-05-25 04:04:22 +00:00
Jeff Schiller 7e6a6e68a1 Rollback bad revision 2075
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2076 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-31 18:02:08 +00:00
Jeff Schiller b0aa96bdec Fix a test failing in Firefox by decreasing the precision expected
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2075 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-31 17:55:01 +00:00