Commit Graph

1710 Commits (164b22d0c15ddd40b03c880c4d49f8b0412c0319)

Author SHA1 Message Date
Jeff Schiller 164b22d0c1 Some more unit tests for coords
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2417 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-17 08:21:07 +00:00
Jeff Schiller 29534a7d4b Move remapElement() to coords and add a first unit test
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2416 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-17 04:58:04 +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 5d5abbd2b0 removed unneeded vars in browser
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2410 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 12:14:54 +00:00
Bruno Heridet ce39cb21a6 fixed missing semicolons on star extension, this extension does not work as intended
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2409 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 11:53:07 +00:00
Bruno Heridet c5357a607b fixed missing semicolons in shapes extension
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2408 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 11:35:32 +00:00
Bruno Heridet 8c5976f488 fixed formatting in panning extension
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2407 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 11:21:06 +00:00
Bruno Heridet 6b23a26b82 fixed formatting in closepath extension
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2406 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 11:19:25 +00:00
Bruno Heridet 424bf3001b cleaned up grid extension
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2405 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 11:10: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 4c4fff6a0d cleaned svgedit.math.transformBox(), wrote the according test
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2398 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 19:42:04 +00:00
Bruno Heridet e906a0f6fd cleaned quote inconsistencies
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2397 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 17:02:24 +00:00
Bruno Heridet 3d61d46f6b cleaned inconsistencies with comma spacing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2396 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 16:51:48 +00:00
Bruno Heridet c446a7185f added missing semicolons, radix and cleaned some style inconsistencies
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2395 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 15:51:58 +00:00
Bruno Heridet 7fef647173 updated french translation. thanks kiruahxh
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2394 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 13:49:05 +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
Jeff Schiller ed4e7e9ec6 Fix error in findDefs()
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2392 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 19:11:30 +00:00
Jeff Schiller 746499f637 Fixed bad paste
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2391 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 15:24:14 +00:00
Jeff Schiller a779a74aa9 Add fully qualified function calls, shuffle a couple tiny functions into svgutils.js, add an empty coords.js module for later
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2390 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 15:19:46 +00:00
Bruno Heridet e150132453 added missing base 10 radix
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2389 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 13:29:02 +00:00
Bruno Heridet 11d58b0ad7 added missing semicolons. Need to investigate contextMenuExtensions potential leaking
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2388 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 13:22:01 +00:00
Bruno Heridet 6afcd9da2b added missing semicolons. Suspecting several leaking global vars, I'll investigate later
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2387 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 13:11:01 +00:00
Bruno Heridet edcc7edec6 added missing semicolons
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2386 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 12:57:15 +00:00
Bruno Heridet d51f96012b improved gripRadius ternary assignment in Selector and misc formating
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2385 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 12:47:32 +00:00
Bruno Heridet a9ab2f2c7e removed unused var and uneeded else
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2384 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 12:34:11 +00:00
Bruno Heridet 3bd244a88f removed bad paste
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2383 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 12:20:28 +00:00
Bruno Heridet 5e68aefef8 fixed unit[s] typo in svgedit.units.convertUnit, added the corresponding test
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2382 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 12:18:13 +00:00
Waldir Pimenta 7f560c0ed1 minor change so we don't have two variables named "attrName" and "attrname", and make it more explicit that these are style-related attributes.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2380 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-13 17:21:13 +00:00
Waldir Pimenta 5dcdc76912 reorder namespaces (put all W3C ones first); align a few lines; tweak comments for consistency and clarity.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2379 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-13 17:09:12 +00:00
Waldir Pimenta f43adb25fa code readability/organization: move nsMap_ getter to immediately after it is created. make comment on nsRevMap_ more explicit.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2378 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-13 16:37:10 +00:00
Iseki Masaya (井関正也) 4ddcc94f2f Support smooth curve in real-time
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2377 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-13 16:10:15 +00:00
Jeff Schiller 936d9cc362 Fix issue 1052: Properly parse the style attribute during sanitization
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2376 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-13 15:04:58 +00:00
Jacques Distler bc84fac91b Ack! Butterfingers.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2349 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-10 17:44:09 +00:00
Jacques Distler 7fe3d3ef2d Fix Bug 1048 (foreignObject selection in Webkit)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2348 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-10 17:07:30 +00:00
Luis Aguirre 9041ef9609 Fixed: ext-panning removes last created element
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2338 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-07 18:12:36 +00:00
Luis Aguirre 197c62f7cd Enable ext-panning extension
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2337 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-07 17:41:42 +00:00
Luis Aguirre 3ad14a1e2a Updating ext-panning to use svgEditor.setPanning() instead of svgEditor.setPan()
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2335 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-07 14:07:04 +00:00
Luis Aguirre 167b502b67 Removing comments and updating wrong ones from ext-panning.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2334 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-07 14:00:11 +00:00
Luis Aguirre a16a490f5e Adding Padding extension for tablet/mobile devices
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2333 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-07 13:57: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