3b9b729194
Remove element if mouse has not moved.
Ben McDonald
2013-06-30 13:15:10 +00:00
089f061641
fix a bug in svgToString function: some elements have no attribute, so when convert it to stinrg some namespace can't be set correctly.
薄成文
2013-06-08 05:29:14 +00:00
e1fa525e5d
Sort elements before cloning.
Ben McDonald
2013-06-01 08:00:10 +00:00
f4057ce908
Trim title of leading/trailing spaces before making filename. Avoids excess hyphens in filename.
Adrian Jones
2013-05-30 17:35:48 +00:00
5b641cb5c0
Two more loading messages for Import and Open of images.
Adrian Jones
2013-05-29 01:39:37 +00:00
61295b83e6
Simplified the loading image from URL message to make use of existing dialog box types and text strings
Adrian Jones
2013-05-28 22:29:14 +00:00
f924e34fba
Add loading message when loading image from URL. Complex SVGs take a long time to render!
Adrian Jones
2013-05-08 17:29:18 +00:00
fc5673ea4d
Emergency patch to fix issue introduced in the svg core of Firefox as they are moving forward with implementing features of SVG 2
Mark Nickel
2013-05-07 20:47:56 +00:00
ccbb084bbf
Adding mathjax extension
Jo Segaert
2013-04-12 19:25:18 +00:00
d9e5b797f4
Correction for r2497 - namespace had changed from 2.6 branch, sorry, didn't spot it
Jonny Bradley
2013-03-16 14:11:43 +00:00
50c248dcb0
Fix in setSvgString() for images with no href (images in pattern#gridpattern don't seem to have them)
Jonny Bradley
2013-03-16 14:07:55 +00:00
3be90cdec5
82,84,141 à 145
Steve Quirion
2013-03-14 18:52:14 +00:00
4a3ae47586
Modification des lignes 17,107,123, 124,125,204,205,206,207
Steve Quirion
2013-03-14 18:23:35 +00:00
17ce81f761
completely translated for 2.6 stable.
薄成文
2013-03-14 05:43:57 +00:00
00043ff56a
use 2 spaces for indentation in sanitize.js
Waldir Pimenta
2013-02-26 15:21:46 +00:00
c3cc08655c
added setStrokePaint() and setFillPaint() aliases for embedapi retro-compatibility
Bruno Heridet
2013-02-25 13:05:25 +00:00
2c1c5da6de
misc cleaned up sanitize inconsistent indentation
Bruno Heridet
2013-02-25 12:39:27 +00:00
71586aa5fe
Correction of the problem with firefox with the radial gradient
Reda Lyazidi
2013-02-23 21:32:09 +00:00
f6dcf51e37
cleaned up populateLayers()
Bruno Heridet
2013-02-23 19:22:00 +00:00
78cb0e48bb
added missing radix and misc formatting
Bruno Heridet
2013-02-23 18:56:45 +00:00
4cdacdc168
improved loosed type coercion for reorient tool
Bruno Heridet
2013-02-23 18:34:23 +00:00
541a981a21
removed non properly deleted test config introduced in r1467
Bruno Heridet
2013-02-23 18:09:16 +00:00
0e92ca4a0e
switched from properlySourceSizeTextArea() to a full CSS equivalent to optimize DOM repaint
Bruno Heridet
2013-02-23 18:05:15 +00:00
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
Bruno Heridet
2013-02-23 17:37:05 +00:00
cc2d05f125
simplified visElems, and renamed current_drawing -> currentDrawing
Bruno Heridet
2013-02-23 16:46:02 +00:00
230479e038
Fix issue 1053: tspans now get remapped when their text parent are translated
Jeff Schiller
2013-02-22 15:46:11 +00:00
355492050c
Convert tabs to spaces in recalculate.js
Jeff Schiller
2013-02-22 15:11:13 +00:00
0d2a3ffea4
Add another unit test and update minor formatting in recalculate.js
Jeff Schiller
2013-02-22 14:46:50 +00:00
8c8f7b4745
misc style harmonizing
Bruno Heridet
2013-02-21 20:34:11 +00:00
e0dbc7e750
moved layers list styling to CSS
Bruno Heridet
2013-02-21 19:56:59 +00:00
61be265b91
moved touch events listeners to touch.js
Bruno Heridet
2013-02-21 14:48:24 +00:00
24089d93f9
simplified label disabled
Bruno Heridet
2013-02-20 21:50:18 +00:00
13904755b9
misc if simplification
Bruno Heridet
2013-02-20 21:45:10 +00:00
5cad5c9981
camelCased default_img_url -> defaultImageURL
Bruno Heridet
2013-02-20 21:40:21 +00:00
bdbdc6bddb
misc var camelCasing and commenting in updateRulers
Bruno Heridet
2013-02-20 21:04:54 +00:00
fb0879e74c
Fix bad cut
Jeff Schiller
2013-02-20 15:37:25 +00:00
59130ed555
Create jquery-svg module and empty test, update build. Add a couple tiny unit tests for recalculate.js
Jeff Schiller
2013-02-20 15:34:42 +00:00
a83d2825cbclosed#1051 - Japanese translation
Bruno Heridet
2013-02-20 12:22:14 +00:00
ec6cb81178closed#1033 - German translation
Bruno Heridet
2013-02-20 12:19:44 +00:00
d00f932a0eClosed#1037 - Lang sk
Bruno Heridet
2013-02-20 12:11:18 +00:00
16936c5c6fclosed#1031 Romanian translation
Bruno Heridet
2013-02-20 11:53:22 +00:00
bbe79434d6
Add empty test file and update Makefile
Jeff Schiller
2013-02-20 06:42:00 +00:00
ba387c22d3
Move recalculateDimensions() into its own module: recalculate.js
Jeff Schiller
2013-02-20 06:29:25 +00:00
617c5c32bbfixed#895 thanks to FlintOBrien - Grid is invisible when background is black
Bruno Heridet
2013-02-19 21:07:24 +00:00
480c41ee69fixed#873 function getFontSize() should be called getFontColor()
Bruno Heridet
2013-02-19 20:27:53 +00:00
fd5ab3dc30
cleaned extra white spaces in embedapi
Bruno Heridet
2013-02-19 16:30:56 +00:00
d809578c6c
fixed indentation and removed two unneeded local vars
Bruno Heridet
2013-02-19 15:00:56 +00:00
570c59ebf2
used .data() method shortcut to retrieve zoomValue
Bruno Heridet
2013-02-19 13:25:54 +00:00
12f5fd9bce
added getPaintOpacity() on svgCanvas, used it to simplify mouseDown callback on palette in svgEditor
Bruno Heridet
2013-02-19 13:17:27 +00:00
bccb227cdd
fixed indentation in ext-arrows
Bruno Heridet
2013-02-19 12:22:18 +00:00
363bfb4cf2
fixed missing semicolons and leaking ret var
Bruno Heridet
2013-02-19 11:18:04 +00:00
47b6e11be9
simplified getPaint()
Bruno Heridet
2013-02-19 11:13:03 +00:00
6431ee15dd
Fix MIME type of unit test files added
Jeff Schiller
2013-02-19 01:02:07 +00:00
3ccba8d739
misc code reordering to ease future addDropDown addAltDropDown merge
Bruno Heridet
2013-02-18 20:55:04 +00:00
5d0e169237
cleaned indentation in css
Bruno Heridet
2013-02-18 19:04:56 +00:00
8eceeb2b3f
unified overlays styling
Bruno Heridet
2013-02-18 18:52:07 +00:00
5ce4431658
used svgedit.browser checks instead of redefined ones
Bruno Heridet
2013-02-18 18:22:00 +00:00
15d765de85
used .prop() for #grid_snapping_on checkbox state
Bruno Heridet
2013-02-18 18:02:39 +00:00
480fb64004
Unit test for text elements in coords
Jeff Schiller
2013-02-17 21:07:42 +00:00
405e20563d
Fix units unit test
Jeff Schiller
2013-02-17 18:46:39 +00:00
3d71cdf27b
- convert svgutils_test.html from utf8 to iso-8859-1 (Western) encoding, so that tools such as grep don't consider it a binary file. - add <title> to test pages, to make html valid - harmonize indentation: 2 spaces - harmonize all empty html elements' closing tags to be on the same line as the opening tag
Waldir Pimenta
2013-02-17 17:28:19 +00:00
164b22d0c1
Some more unit tests for coords
Jeff Schiller
2013-02-17 08:21:07 +00:00
29534a7d4b
Move remapElement() to coords and add a first unit test
Jeff Schiller
2013-02-17 04:58:04 +00:00
4441810638
simplified undo/redon, node link and sub path button states
Bruno Heridet
2013-02-16 16:07:19 +00:00
79f7ee4614
simplified wireframe button toggling
Bruno Heridet
2013-02-16 15:49:33 +00:00
b599a2a54b
fixed old Chrome bug handling for svg saving
Bruno Heridet
2013-02-16 15:36:19 +00:00
525e869e7f
set show_save_warning to camelCase
Bruno Heridet
2013-02-16 15:19:20 +00:00
f9b8aa624c
created svgedit main object, moved all namespaces handling in the same place
Bruno Heridet
2013-02-16 15:02:26 +00:00
5d5abbd2b0
removed unneeded vars in browser
Bruno Heridet
2013-02-16 12:14:54 +00:00
ce39cb21a6
fixed missing semicolons on star extension, this extension does not work as intended
Bruno Heridet
2013-02-16 11:53:07 +00:00
c5357a607b
fixed missing semicolons in shapes extension
Bruno Heridet
2013-02-16 11:35:32 +00:00
8c5976f488
fixed formatting in panning extension
Bruno Heridet
2013-02-16 11:21:06 +00:00
6b23a26b82
fixed formatting in closepath extension
Bruno Heridet
2013-02-16 11:19:25 +00:00
424bf3001b
cleaned up grid extension
Bruno Heridet
2013-02-16 11:10:26 +00:00
dd6b28d886
used default step values for SpinButtons
Bruno Heridet
2013-02-16 10:28:17 +00:00
a851e70c6e
fixed $hcanv leak
Bruno Heridet
2013-02-15 23:17:56 +00:00
7a36f90eb6
fixed getRefElem and smoothControlPoints leaking variables
Bruno Heridet
2013-02-15 23:05:23 +00:00
d5dca6b4a3
misc cleanup
Bruno Heridet
2013-02-15 22:32:35 +00:00
ad7e26b8de
renamed some snake_case
Bruno Heridet
2013-02-15 22:07:05 +00:00
b3b363523b
fixed missing fallback png align buttons, cleaned quotes, if style inconsistencies
Bruno Heridet
2013-02-15 21:57:35 +00:00
4c4fff6a0d
cleaned svgedit.math.transformBox(), wrote the according test
Bruno Heridet
2013-02-15 19:42:04 +00:00
e906a0f6fd
cleaned quote inconsistencies
Bruno Heridet
2013-02-15 17:02:24 +00:00
3d61d46f6b
cleaned inconsistencies with comma spacing
Bruno Heridet
2013-02-15 16:51:48 +00:00
c446a7185f
added missing semicolons, radix and cleaned some style inconsistencies
Bruno Heridet
2013-02-15 15:51:58 +00:00
7fef647173
updated french translation. thanks kiruahxh
Bruno Heridet
2013-02-15 13:49:05 +00:00
7b7f03a24f
fixed heaps of missing semicolons and indentation inconsistencies, still a lot to do
Bruno Heridet
2013-02-15 13:38:55 +00:00
ed4e7e9ec6
Fix error in findDefs()
Jeff Schiller
2013-02-14 19:11:30 +00:00
746499f637
Fixed bad paste
Jeff Schiller
2013-02-14 15:24:14 +00:00
a779a74aa9
Add fully qualified function calls, shuffle a couple tiny functions into svgutils.js, add an empty coords.js module for later
Jeff Schiller
2013-02-14 15:19:46 +00:00
e150132453
added missing base 10 radix
Bruno Heridet
2013-02-14 13:29:02 +00:00
11d58b0ad7
added missing semicolons. Need to investigate contextMenuExtensions potential leaking
Bruno Heridet
2013-02-14 13:22:01 +00:00
6afcd9da2b
added missing semicolons. Suspecting several leaking global vars, I'll investigate later
Bruno Heridet
2013-02-14 13:11:01 +00:00
edcc7edec6
added missing semicolons
Bruno Heridet
2013-02-14 12:57:15 +00:00
d51f96012b
improved gripRadius ternary assignment in Selector and misc formating
Bruno Heridet
2013-02-14 12:47:32 +00:00