Commit Graph

2114 Commits (17c3e0fa28c4d1f23f47751392a8938e352b3927)

Author SHA1 Message Date
Flint O'Brien 17c3e0fa28 Performance improvement for select.js and canvas.addToSelection
canvas.addToSelection was calling getBBox, throwing it away, then
calling selectorManager.requestSelector() which called getBBox again.
Now passing-in an optional bbox to selector functions.
2016-04-24 16:56:32 -04:00
Flint O'Brien 12a393505d Refactoring and performance improvements for getStrokedBBox.
canvas.getStrokedBBox internals refactored to svgutils.
getStrokedBBox/getCheckedBBox renamed to
svgedit.utilities.getBBoxWithTransform
Removed duplicate calls to native getBBox.
Refactored slow transformed BBox from temporary DOM append/remove to
matrix calculations.
Lots of tests. Added qunit/qunit-assert-close.js.
2016-04-24 16:43:20 -04:00
Flint O'Brien 0c9ff4d1ac Updated comment svgutils convertToPath... again. 2016-04-22 13:39:20 -04:00
Flint O'Brien 86c3818886 Updated comment svgutils convertToPath. 2016-04-22 13:36:10 -04:00
Flint O'Brien 01ad9d7fdd Refactor canvas.convertToPath() internals to svgutils in preparation for getBBox performance improvements.
Two new functions in svgutils: convertToPath() and getBBoxOfElementAsPath().
Updated test/svgutils_test.html.
2016-04-22 12:24:52 -04:00
Jeff Schiller a3dbb7c5af Merge pull request #91 from magnebra/add_text_config_options
Add config options for text
2016-03-19 22:35:11 -07:00
Magne Bratseth 1f57536546 Add config options for text 2016-03-15 08:43:24 +01:00
Philip Rogers 9d7e60933b Merge pull request #90 from magnebra/missing_defs_after_paste
Check for deleted defs after paste, fixes #82
2016-03-14 23:55:54 -07:00
Jeff Schiller 2b6d663323 Merge pull request #89 from Saurbaum/build
Corrected case of jquery.contextMenu.js in make file
2016-03-14 09:23:30 -07:00
Jeff Schiller c01930d4ec Merge pull request #87 from Saurbaum/snaptogrid
Expose current zoom level through canvas for extensions
2016-03-14 09:20:23 -07:00
Jeff Schiller 2a062f6b01 Merge pull request #86 from Saurbaum/return
Images drawn using an extension always spawn the URL dialog
2016-03-14 09:19:31 -07:00
Magne Bratseth a41191158f Check for deleted defs after paste, fixes #82 2016-03-14 13:16:30 +01:00
Ian Newborn 97da0ede72 Corrected case of jquery.contextMenu.js in make file 2016-03-14 09:53:57 +00:00
Ian Newborn d8dae76d3a Exposed grid snapping setting on svgCanvas 2016-03-14 09:13:56 +00:00
Ian Newborn 0c035f8aa2 Removed debugger; 2016-03-14 09:12:47 +00:00
Ian Newborn 8f904c05dd Prevented Editor opening image browser if not in image mode 2016-03-14 09:12:23 +00:00
Philip Rogers a8ac2bf58d Merge pull request #83 from magnebra/font_size_is_hidden
Font size is hidden
2016-03-11 10:19:27 -08:00
Magne Bratseth fc269cf045 Make sure font size is set to display when text is selected 2016-03-11 11:04:11 +01:00
Magne Bratseth 1c77772740 Sizing the font-size elements leave them disabled and not shown later on 2016-03-11 10:34:05 +01:00
Philip Rogers bd55ce3bf5 Merge pull request #71 from magnebra/ellipse_preserve_0_rx_ry
Preserve rx ry attributes on ellipse elements for batik compatibility
2016-02-26 08:21:01 -08:00
Magne Bratseth 48e54b6f85 Simplify the code a bit more 2016-02-26 09:46:32 +01:00
Magne Bratseth 78f214de8b Cosmetics 2016-02-25 09:05:50 +01:00
Magne Bratseth 0cf2fc57a1 Slight changes to make the code more readable 2016-02-25 09:03:20 +01:00
Magne Bratseth d19cc062c5 Merge branch 'master' into ellipse_preserve_0_rx_ry 2016-02-25 08:50:37 +01:00
Philip Rogers 00699189ce Merge pull request #69 from progers/master
Remove fix that cloned path segments and add tests to show it works
2016-02-24 09:49:18 -08:00
Philip Rogers e826d3ff19 Remove fix that cloned path segments and add tests to show it works 2016-02-21 17:13:40 -08:00
Jeff Schiller e625a2b434 Merge pull request #67 from magnebra/getintersectionlist_fails_ie_chrome
some browsers require objects passed to getInsectionList to be of correct the type
2016-02-20 19:38:32 -08:00
Jeff Schiller e26c7cd759 Merge pull request #57 from StalderT/patch-3
Update svgcanvas.js
2016-02-14 21:32:38 -08:00
Jeff Schiller 948ba30214 Fix browser.js error messages when testing whether replaceItem and insertItemBefore work, since paths must start with M commands 2016-02-14 13:42:28 -08:00
Magne Bratseth 88ef7b02cc It seems some browsers require objects passed to getInsectionList to
actually be of the correct type
2016-02-10 09:38:43 +01:00
Magne Bratseth b23502fba4 Do not strip rx=0 and ry=0 from ellipse elements as these values are not
default and holds a special meaning for ellipses (a value of 0 disables
rendering of the element)
2016-02-09 15:16:44 +01:00
Jeff Schiller 6715e62146 Merge pull request #7 from ibrierley/master
Fix for import svg image leading to unattached dragtool
2016-01-31 23:27:01 -08:00
Jeff Schiller 7e5a012aa9 Merge pull request #60 from GoTeamScotch/master
#59 Remove double-bind of keypresses Z and Y
2016-01-20 18:01:54 -08:00
Jordan cac6202e58 #59 Remove double-bind of keypresses Z and Y
Patch for Issue #59. https://github.com/SVG-Edit/svgedit/issues/59
2016-01-19 17:00:59 -08:00
Jeff Schiller 8e4875bf5d Merge pull request #49 from harikk/patch-2
Fix for issue #48 - improper placement of rubber-band box for 'use' elements.
2016-01-16 12:35:54 -08:00
Jeff Schiller f47eb1a9a6 Merge pull request #56 from StalderT/patch-2
Update svgcanvas.js
2016-01-16 11:45:29 -08:00
StalderT ae533338a1 Update svgcanvas.js
correct https://github.com/SVG-Edit/svgedit/issues/54
2016-01-16 19:42:15 +01:00
StalderT 5a5347045c Update svgcanvas.js
correct https://github.com/SVG-Edit/svgedit/issues/55
2016-01-16 19:40:29 +01:00
Harikrishnan K 750c9c7141 Update svgutils.js
remove the commented 'if' to resolve #48
2015-12-11 12:04:03 +05:30
Philip Rogers 971aa98ac1 Merge pull request #46 from SVG-Edit/hide-overview-in-chrome
Only disable overview panel in Chrome 48-, not all Chrome versions
2015-12-07 08:58:39 -08:00
Jeff Schiller 96e5b2377e Only disable overview panel in Chrome 48-, not all Chrome 2015-12-07 07:53:28 -08:00
Pavol Rusnak e1d48e10c8 fix typo in README 2015-12-04 09:40:17 +01:00
Philip Rogers 02a9f6f0b4 Merge pull request #44 from SVG-Edit/hide-overview-in-chrome
Hide overview extension in chrome
2015-12-03 17:32:14 -08:00
Jeff Schiller 87f92ce236 Fix tab indent 2015-12-03 17:27:28 -08:00
Jeff Schiller 03fbe49928 Hide Overview panel in Chrome. 2015-12-03 17:25:18 -08:00
Jeff Schiller c6255aaceb Update home page links to github 2015-12-03 00:24:28 -08:00
Brett Zamir 211d205ecd Add links 2015-12-03 00:13:15 -07:00
Brett Zamir c1f77a4042 Add 2.8 changes, using Fix/Enhancement/Update/Breaking prefixes; Improve markdown; add "md" file extension for the sake of language detection 2015-12-03 00:09:27 -07:00
Philip Rogers 0163df3769 Merge pull request #42 from progers/master
Update README.md for 2.8.1 release
2015-12-02 20:39:18 -08:00
Philip Rogers dfd289d731 Update README.md for 2.8.1 release 2015-12-02 20:38:35 -08:00