Commit Graph

546 Commits

Author SHA1 Message Date
Ulrich-Matthias Schäfer
49bdb2864c fixed bug in SVG.Transformations when creating with array/argument list.
added tests to increase code coverage
2017-02-28 18:55:27 +01:00
Ulrich-Matthias Schäfer
fa5b44bad0 added tests to increase code coverage 2017-02-28 13:50:08 +01:00
Ulrich-Matthias Schäfer
659fc06e7e removed old fx code which is unused (#605) 2017-02-28 12:03:38 +01:00
Rémi Tétreault
6327512f1a Add tests for the method atEnd of the FX module
List of changes:
* Add tests for atEnd for the case the animation is in a infinite loop
* Fix a bug in atEnd that was uncovered by the new tests
* Fix the indentation of the methods atStart and atEnd
* Improve the comments of some of the others tests of atEnd
2017-02-25 16:59:55 -05:00
Ulrich-Matthias Schäfer
dd0f06f9a1 viewbox now also accepts arrays and strings 2017-02-25 15:05:59 +01:00
Ulrich-Matthias Schäfer
5044f8ac28 SVG.Array now accepts a comma seperated string and returns array of numbers instead of strings 2017-02-24 21:48:27 +01:00
Ulrich-Matthias Schäfer
337145b839 Added SVG.Symbol so SVG.adopt can pick up symbols correctly 2017-02-24 20:07:01 +01:00
dotnetCarpenter
0a0bb10bc3
slim down the SVG.TBox to SVG.RBox mapping (new SVG.TBox will not work) 2017-02-24 16:26:15 +01:00
dotnetCarpenter
82da55b56e
deprecate SVG.TBox 2017-02-24 14:38:01 +01:00
dotnetCarpenter
d0ab36f7db
remove SVG.TBox 2017-02-23 21:15:52 +01:00
Rémi Tétreault
669c10a76e Allow 0 to be passed without unit
This commit finish fixing issue #552. It makes it unnecessary to specify a
unit with 0 when interacting with another SVG.Number that has a unit.

This was accomplished by modifying the operation methods of SVG.Number to
allow them to use the unit of the passed number when this number as no unit.
2017-02-22 00:20:09 -05:00
Ulrich-Matthias Schäfer
1144404e4b Added clone method to SVG.Array/PointArray/PathArray (#590) 2017-02-20 15:29:14 +01:00
Rémi Tétreault
a3c0018d96 Make some change to the previous commit
Here is a list of the changes:

* Enhance the call to plot in the constructor of SVG.Path, SVG.Line,
SVG.Polyline and SVG.Polygon

* Rewrite the description of the tests of the method plot for SVG.TextPath,
SVG.Path, SVG.Line, SVG.Polyline and SVG.Polygon to make it more precise

* Remove the useless parens surrounding track in the method array
of SVG.TextPath
2017-02-17 22:23:51 -05:00
Rémi Tétreault
0f21fd2aea Sort out leftovers from the old fx module
This commit is mostly to clean up the implementation of the initAnimation
method of the Fx Module (issue #547). It also fixes these issues: #552, #582
and #584.

Here is a list of the changes and fixes that are made:
* Add a plot and array method to SVG.TextPath (issue #582)

* Make the method plot a getter when no parameter is passed for SVG.Polyline,
SVG.Polygon, SVG.Line, SVG.Path (this idea come from issue #547)

* Allow SVG.PointArray to be passed flat array

* Change the regexp SVG.PointArray use to parse string to allow more
flexibility in the way spaces and commas can be used to separate points
(something like this is now accepted: '1, 2, 3, 4')

* Allow plot to be called with 4 parameters when animating an SVG.Line

* Fix a bug in the plain morphing part of SVG.MorphObj that is in the FX module

* Relative value for SVG.Number are now calculated in its morph method (idea
from issue #547)

* Clean up the implementation of the initAnimation method of the FX module
(issues #547, #552, #584)
2017-02-16 21:36:35 -05:00
dotnetCarpenter
31750133bd Merge branch 'master' of https://github.com/svgdotjs/svg.js 2017-02-05 04:38:12 +01:00
Rémi Tétreault
ad555fcaba Make some fixes in SVG.PathArray
Rename the method haveSameCommands to equalCommands and
replace undefined by null.
2017-01-14 07:23:20 +01:00
Rémi Tétreault
0a2b7d186a Implement a more basic morph method for SVG.PathArray
The method expect the paths to use the exact same commands. It will not
attempt to modify them if they do not. Any more complex algorithm shall be
provided as a plugin instead in order to keep the size of the library down.
2017-01-14 07:23:07 +01:00
Rémi Tétreault
356657146a Implement the morph method of SVG.PathArray
Also add methods to SVG.Point that allow to perform operations
between two points.
2017-01-14 07:22:26 +01:00
dotnetCarpenter
c8dc14292c Wrapping up for 2.3.7 release 2017-01-14 06:25:33 +01:00
Rémi Tétreault
c8afde0760 Make some fixes in SVG.PathArray
Rename the method haveSameCommands to equalCommands and
replace undefined by null.
2016-12-23 15:27:38 -05:00
Rémi Tétreault
80acdb3d77 Implement a more basic morph method for SVG.PathArray
The method expect the paths to use the exact same commands. It will not
attempt to modify them if they do not. Any more complex algorithm shall be
provided as a plugin instead in order to keep the size of the library down.
2016-12-20 21:33:18 -05:00
Rémi Tétreault
1c4e6f093f Implement the morph method of SVG.PathArray
Also add methods to SVG.Point that allow to perform operations
between two points.
2016-12-20 04:09:22 -05:00
dotnetCarpenter
998265133f accidently removed dist/svg.min.js from repo 2016-11-13 14:07:04 +01:00
dotnetCarpenter
0c7e8917ca speedup build for tests 2016-11-13 11:39:22 +01:00
dotnetCarpenter
3e614d4fe9
added code coverage 2016-11-13 00:23:52 +01:00
dotnetCarpenter
8f63acccf2
gentle optimization of PR #549 2016-11-12 22:05:54 +01:00
dotnetCarpenter
7225e0955d
Revert "optimize loop performance"
This reverts commit 98fdf32029.

Signed-off-by: dotnetCarpenter <jon.ronnenberg@gmail.com>
2016-11-12 21:31:48 +01:00
Rémi Tétreault
1a32907588 Fix the bug where relative matrix transforms are not animated
Also, add the possibility to make uniform skew transform.
2016-11-09 21:32:48 -05:00
Rémi Tétreault
e3a9343891 Fix a bug with the animation of a scale transform
Fix the bug where animating a scale transform also caused a translation
when there was already a transform in place.
2016-11-08 02:00:33 -05:00
Rémi Tétreault
fb405bd64f Fix and improve the dequeue method of the FX module
The first improvement is to stop using setTimeout to perform the delay. It is
now performed in a manner similar to the start method. This should be a lot
more reliable than using setTimeout and allow some nice goodies like
being able to pause it or affect its duration using the speed method.

The second improvement is to have the delay method add an empty situation
(with its duration set to the duration of the delay) to the queue. This change
allows dequeue not to have to treat delay added to the queue as something
special, now its just a situation.
2016-11-03 18:30:48 -04:00
Ulrich-Matthias Schäfer
2b0263d913 changelog, run gulp cause of #504 2016-11-03 11:01:18 +01:00
Rémi Tétreault
7164e5617d Fix the implementation of the skew transform
Also fix a bug where when calling scale with 3 parameters, cx was not set
with the right value.
2016-11-02 18:25:35 -04:00
Rémi Tétreault
74040b3629 Make the code in the FX module simpler
Here are the changes that have been made:
  - The loop counter is now incrementing (from 0 to loops)
  - The loop counter increment even when loops is true
  - Add absPos, the absolute position of an animation which is its position in
 the context of its complete duration (including delay and loops)
  - Make the methods speed, pause/resume affect the delay
  - The method step no longer needs to recalculate the value of situation.start
  - Add a second parameter to the method at to allow it to receive an absolute
  position
  - Fix the bug where the method at invert the passed position while the
  animation is running backward

Also, I modified the tests of the FX module that required timing to use
Jasmine Clock, so now it takes less than 1 second to run all the tests!
2016-11-01 20:05:16 -04:00
Rémi Tétreault
158fe9e5a4 Make matrixify work with transformation chain separated by commas
According to the SVG spec, transformation chain can be separated by whitespace
and/or commas. The method matrixify was not working with transformation chain
separated by commas. This commit should fix that bug.
2016-11-01 17:23:06 -04:00
dotnetCarpenter
a67f69cd52
bump 2.3.6 2016-10-21 13:43:35 -02:00
dotnetCarpenter
e4bff8c910
added test for silently fixing wrong point parameters to SVG.PointArray + better descriptions for SVG.PointArray tests 2016-10-20 17:47:40 -02:00
dotnetCarpenter
288662d0d9
fix leading/trailing space test case
odd number of points is invalid in SVG
See https://svgwg.org/svg2-draft/shapes.html#DataTypePoints
2016-10-20 17:45:17 -02:00
dotnetCarpenter
695f26a8df
handle leading and trailing spaces 2016-10-20 17:45:17 -02:00
dotnetCarpenter
d07a17de28
replace call to filter function with better regex 2016-10-20 17:45:17 -02:00
Ulrich-Matthias Schäfer
f1d9f6157d hotfix (#529) 2016-10-20 18:15:23 +02:00
Rémi Tétreault
2ce9170a5e Change the SVG.FX attribute spd to _speed
This change is to follow the convention already put forward by the _target
attribute.
2016-10-17 19:22:18 -04:00
Rémi Tétreault
5da860377e Add speed to SVG.Element and also add documentation to speed 2016-10-17 16:28:51 -04:00
Rémi Tétreault
91d4934ca6 Make speed(0) pause the animation 2016-10-17 14:15:18 -04:00
Rémi Tétreault
a6261cda9d Make SVG.FX.speed act more like others animations libraries
For example, a call .speed(2) would make the animation 2 times faster.
If you then call .speed(4), this would make the animation 4 times faster.
And a call .speed(1) would make it go back to normal speed.
2016-10-16 20:53:55 -04:00
Rémi Tétreault
1c98bc5869 Rebuild of the library 2016-10-15 19:46:40 -04:00
Ulrich-Matthias Schäfer
4e03d27537 bump 2.3.5 2016-10-13 17:33:14 +02:00
dotnetCarpenter
727d11ae3f
all tests pass - All your base are belong to us 2016-10-12 19:22:52 -02:00
Ulrich-Matthias Schäfer
42664efc08 Removed wrong tests in sugar.js, fixed remaining tests. Made fill and stroke a nop when no argument given 2016-10-12 18:18:36 +02:00
dotnetCarpenter
de154c33ab
re-include dist folder 2016-10-12 12:54:25 -02:00
dotnetCarpenter
b21ce1f270
remove dist folder from PR 2016-10-12 12:54:13 -02:00
dotnetCarpenter
770fc4d7a8
sorry the last commit was nonsens. This one is proper tested. 2016-10-12 12:53:54 -02:00
dotnetCarpenter
eed96bcf59
fixes #525 by accepting/parsing coordianate strings where x and y is seperated by comma and or by space - we count the shape coordinates until (and including) the maximum even number 2016-10-12 12:53:24 -02:00
dotnetCarpenter
5c18e89d27
halt dev of chrome base solution 2016-10-08 17:18:25 -02:00
dotnetCarpenter
cc1c484cff
using the dist version of svg.js for testing because the code is not meant to be executed individually (syntax errors) 2016-10-04 15:07:19 +02:00
dotnetCarpenter
b7061c65d5
try to run test with individual files instead of the concated version so it is easier to track down the source file 2016-10-04 14:59:20 +02:00
dotnetCarpenter
b60779c888
fixed gulp clean task not returning a Promise 2016-10-04 13:47:12 +02:00
dotnetCarpenter
b0637d22c3
update dependencies 2016-10-04 13:25:39 +02:00
wout
f25ba0e745 Version bump 2016-08-04 12:47:35 +02:00
wout
b0a8b25f38 Speed improvements on parent element 2016-08-04 08:58:29 +02:00
Ulrich-Matthias Schäfer
86c99607a3 fixed #514 and #516
- removed `SVG.Text.clone()` which is inherited by `SVG.Element.clone()`
- make element visible when call bbox on a clone
2016-08-02 18:44:48 +02:00
Ulrich-Matthias Schäfer
399dd4a2b4 bump 2.3.2 2016-06-21 10:03:18 +02:00
Ulrich-Matthias Schäfer
0a0a57218b fixed line constructor which doesn't work with Array as input (#487)
added spec for mentioned issue
2016-05-16 17:00:02 +02:00
Ulrich-Matthias Schäfer
3eb3209741 fixed bbox when element is not in the dom (#480), added parameter to clone 2016-05-13 14:03:10 +02:00
Ulrich-Matthias Schäfer
c0197097c4 fixed string parsing in viewbox (#483), specs SVG.ViewBox 2016-05-13 13:32:48 +02:00
Ulrich-Matthias Schäfer
cdf8e1467f bump 2.3.1 2016-05-05 15:39:39 +02:00
Ulrich-Matthias Schäfer
9e14ae8476 fixed bug in parse() from SVG.PathArray which does not correctly handled S and T (#485) 2016-05-05 15:38:21 +02:00
Ulrich-Matthias Schäfer
30df220d96 fixed bug in add() and SVG.Doc().create() 2016-04-15 19:53:58 +02:00
Ulrich-Matthias Schäfer
2d785535da fixed bug where stop(true) throws an error when element is not animated (#475) 2016-04-09 18:30:27 +02:00
Ulrich-Matthias Schäfer
700a77060f fixed old target references 2016-04-09 18:06:24 +02:00
Ulrich-Matthias Schäfer
8bdc17f571 fixed SVG.morph() (#473) 2016-04-03 13:11:41 +02:00
Ulrich-Matthias Schäfer
528637eb86 doublecheck SVG.parser, use svg element which is not in the dom (#471) 2016-04-02 00:38:27 +02:00
Ulrich-Matthias Schäfer
e059cf7f0a fix parser error (#471) and small bug in SVG.Color with new fx 2016-04-01 23:57:02 +02:00
Ulrich-Matthias Schäfer
b006c02b21 bump 2.3.0 2016-03-30 01:19:27 +02:00
Ulrich-Matthias Schäfer
8460b3b9fa readme update, clean up 2016-03-29 12:19:05 +02:00
Ulrich-Matthias Schäfer
1787f953b0 tidy up 2016-03-29 00:18:15 +02:00
Ulrich-Matthias Schäfer
541c6ecc81 fix finishing up correctly with even loops, readme 2016-03-29 00:18:14 +02:00
Ulrich-Matthias Schäfer
a14a3c5fdd discard totalProgress for now 2016-03-28 17:25:15 +02:00
Ulrich-Matthias Schäfer
d173ad16c5 revert multiple breaking changes introduced by the last commits 2016-03-28 17:18:40 +02:00
Ulrich-Matthias Schäfer
3af6480ec3 fixed bug where loop wasnt correctly reversed if specified 2016-03-25 00:03:31 +01:00
Ulrich-Matthias Schäfer
000b071d04 Merge branch '3.0.0' introducing several changes:
- textpath now is a parent element, the lines method of text will return the tspans inside the textpath (#450)
 - fx module rewritten to support animation chaining and several other stuff (see docs when commited)
 - fixed absolute transformation animations (not perfect but better)
 - fixed event listeners which didnt work correctly when identic funtions used
 - added `element.is()` which helps to check for the object instance faster (instanceof check)
 - added more fx specs
2016-03-24 23:44:59 +01:00
Ulrich-Matthias Schäfer
8205de6087 Implementation new fx module 2016-03-23 22:50:30 +01:00
wout
595777968f Removed references to old test page 2016-03-14 08:38:57 +01:00
Ulrich-Matthias Schäfer
2bf4788597 fixed error where a parent node is not found when loading an image but the canvas was cleared (#447) 2016-02-10 21:17:58 +01:00
Ulrich-Matthias Schäfer
0858bca9eb fixed unit unit regex and renamed it to numberAndUnit, added specs (fix #443) 2016-01-23 00:24:57 +01:00
Ulrich-Matthias Schäfer
d17bab6bcc fixed svgjs:data attribute which was not set properly in all browsers (#428)
added specs for `writeDataToDom()` and `setData()`
added toJSON in SVG.Number
2016-01-21 17:40:13 +01:00
Ulrich-Matthias Schäfer
bf0dd2a1cc added specs for isNumber() and compile svg.js 2016-01-18 00:40:16 +01:00
Ulrich-Matthias Schäfer
bda9f32dcd added SVG.Point class as wrapper for SVGPoint, added el.point() method (#403 / #437) 2016-01-11 23:39:49 +01:00
Ulrich-Matthias Schäfer
21be7b26b4 matrixify() will not apply the calculated matrix to the node anymore 2015-12-29 13:16:05 +01:00
Denis Mosolov
a7eaeb4b06 fix #433 2015-12-29 14:38:54 +03:00
Ulrich-Matthias Schäfer
a794401cda Merge branch 'master' into 3.0.0 2015-12-23 19:10:17 +01:00
Ulrich-Matthias Schäfer
2b97c7e419 added check for existence of node (fix #431) 2015-12-23 19:06:46 +01:00
Ulrich-Matthias Schäfer
2566a08d44 relative movements, delayed (queued) start of animation 2015-12-23 19:02:05 +01:00
Ulrich-Matthias Schäfer
14d36f8df7 transformation with correct rotation, fixed Color animation 2015-12-21 18:37:10 +01:00
Ulrich-Matthias Schäfer
b40238cdff new specs, reverse, initAnimation, after, during, comments 2015-12-20 15:43:40 +01:00
Ulrich-Matthias Schäfer
5cb2010246 added all fx methods, styles and attrs 2015-12-16 01:54:53 +01:00
Ulrich-Matthias Schäfer
3260b94a26 added once and during 2015-12-13 21:41:13 +01:00
Ulrich-Matthias Schäfer
f3e185674c new fx with enqueue method and dedicated SVG.Situation 2015-12-13 00:51:44 +01:00
Ulrich-Matthias Schäfer
13587eaf3c bump 2.2.4 2015-12-12 00:53:47 +01:00
Ulrich-Matthias Schäfer
7f5996c844 updated changelog, fixed typo in doc and removed semicolon 2015-12-12 00:52:26 +01:00
rdfriedl
291892690a fixes for issue #429 2015-12-11 09:21:58 -06:00
Dan Ormisher
507f91d644 replaced usage of window.scrollX and window.scrollY with standard window.pageXOffset and window.pageYOffset in rbox() to stop NaN bug in IE 2015-12-08 13:54:12 +00:00
Ulrich-Matthias Schäfer
3a6fe31f70 transform() returnw a-f now, too, double newlines create blank lines 2015-12-04 18:05:22 +01:00
Ulrich-Matthias Schäfer
e58ec6ae92 bump 2.2.3 2015-11-30 22:47:13 +01:00
Ulrich-Matthias Schäfer
03c7554cc4 fix amd loader (see #412) 2015-11-30 22:43:23 +01:00
Ulrich-Matthias Schäfer
dd2ad7824d fixed bug related to the new path parser, text-method of tspan is a getter now, too 2015-11-30 22:20:07 +01:00
Ulrich-Matthias Schäfer
57ca267205 fixes the null check fix from last commit (fixes #417) 2015-11-29 00:25:20 +01:00
Ulrich-Matthias Schäfer
068f9b9ad3 bump 2.2.2 2015-11-28 11:38:26 +01:00
Ulrich-Matthias Schäfer
74bb0144cc added null check in image onload callback (fixes #415) 2015-11-28 11:28:28 +01:00
Ulrich-Matthias Schäfer
dd7cc2f510 fix leading point bug in path parsing (#416) 2015-11-28 11:21:07 +01:00
Ulrich-Matthias Schäfer
618bb98112 gulp 2015-11-18 14:43:17 +01:00
Ulrich-Matthias Schäfer
30f7761e66 added gbox() to group to get bbox with translation included (fixes #405) 2015-11-18 14:38:33 +01:00
Ulrich-Matthias Schäfer
cb58fba619 dom data was not cleaned up properly (fixes #398) 2015-11-18 01:18:35 +01:00
Ulrich-Matthias Schäfer
cf783fca12 SvgPathSeg is removed in Chrome 48. Added workaround (fixes #409) 2015-11-18 01:16:41 +01:00
Ulrich-Matthias Schäfer
fd73060732 Bump to 2.2.0 2015-11-06 23:08:57 +01:00
Ulrich-Matthias Schäfer
3cb0000058 tab to space, block comments to line comments 2015-11-06 22:28:20 +01:00
Ulrich-Matthias Schäfer
2702ceb26d svgjs now saves crucial data in the dom (fixes #369 again) 2015-11-06 22:08:38 +01:00
Ulrich-Matthias Schäfer
28c8dedc84 fixes #396 2015-11-04 10:51:18 +01:00
Ulrich-Matthias Schäfer
c271f48c64 fixed return value of text() after import/clone (#393) 2015-11-04 02:43:53 +01:00
Ulrich-Matthias Schäfer
48537ddd92 add parents() method, added specs, fixed specs 2015-10-26 22:56:32 +01:00
Ulrich-Matthias Schäfer
f72c867e7e added support for css selectors with the parent() method 2015-10-25 22:50:52 +01:00
Ulrich-Matthias Schäfer
78e492ca46 UMD-Wrappper with possibility to add custom window object (#352) 2015-10-25 19:41:15 +01:00
Ulrich-Matthias Schäfer
4505aeabed fix rect 2015-10-22 22:38:43 +02:00
Ulrich-Matthias Schäfer
0b5b0eb484 bbox loop (fix #392) 2015-10-22 17:20:45 +02:00
Ulrich-Matthias Schäfer
8617a6b5d5 fixed mask animation in Firefox (#287) 2015-10-11 21:55:58 +02:00
Ulrich-Matthias Schäfer
ebf3dc5237 moved special handling of pattern/gradient transform to the corresponding class 2015-10-11 16:13:04 +02:00
Ulrich-Matthias Schäfer
0ea3472239 added ungroup src file. ungrouping defs forbidden 2015-10-11 15:45:18 +02:00
Ulrich-Matthias Schäfer
79e050f937 added ungroup/flatten (#238), toParent and toDoc 2015-10-11 15:20:01 +02:00
Ulrich-Matthias Schäfer
412b37652b fixes pattern animation (#385) 2015-10-10 17:16:12 +02:00
Ulrich-Matthias Schäfer
2fbeec1225 run gulp 2015-10-05 20:48:14 +02:00
Ulrich-Matthias Schäfer
dd190c872b Added custom context binding for event callbacks 2015-09-22 20:51:46 +02:00
Ulrich-Matthias Schäfer
07c5387602 clone method for text to mark all firstlevel tspans as newlines (fixes #369) 2015-09-15 23:47:21 +02:00
Ulrich-Matthias Schäfer
30b433264f added transform to pattern and gradient (fix #383)
added skewX and skewY
2015-09-15 23:22:03 +02:00
Ray Glover
1168723605 build (pr #372) 2015-09-14 14:09:33 +01:00
dhardtke
72a4f866b5 fix typo (finally) 2015-09-06 20:35:13 +02:00
dhardtke
3cf8e447b9 fix stupid typo that leads to broken gradients 2015-08-08 16:19:54 +02:00
Ulrich-Matthias Schäfer
32b8e6c0eb Bump 2.0.5 2015-07-05 01:48:38 +02:00
Ulrich-Matthias Schäfer
d0853322f9 Fixes #360 2015-07-05 01:39:16 +02:00
Ulrich-Matthias Schäfer
dd14bc3659 Fixed transform method which now uses current transformation and not ctm anymore 2015-07-05 01:33:53 +02:00
Ulrich-Matthias Schäfer
dd826d2352 Bump 2.0.4 2015-06-28 21:26:09 +02:00
Ulrich-Matthias Schäfer
c6026fb005 Bump 2.0.3 2015-06-27 14:03:23 +02:00
Ulrich-Matthias Schäfer
afcce62e95 Fixed bug in SVG.Bare (closes #358) 2015-06-27 14:00:58 +02:00
Peter Dave Hello
dd7c4b7e52 remove useless executable permission 2015-06-23 10:39:13 +08:00
Ulrich-Matthias Schäfer
31dc40f4a9 Bump 2.0.2 2015-06-22 22:11:07 +02:00
Ulrich-Matthias Schäfer
2270e8683d Fixed zoom consideration in circle and ellipse (see d0e24c5a8d) 2015-06-22 22:07:08 +02:00
Ulrich-Matthias Schäfer
06eda6b6f2 Removed scale consideration in move()
It wasn't compatible to the other move-functions e.g. for the PointArray
2015-06-21 18:32:10 +02:00
Ulrich-Matthias Schäfer
ae7052db3c Fixed bug in fx when animating with plot() (closes #354) 2015-06-19 11:50:30 +02:00
Ulrich-Matthias Schäfer
0d6459729c Events, Spec update, readme
Events can now be detached with only specifying the namespace (`el.off('.namespace')`)
`el.fire()` now accepts event-objects as parameter (like mouseevents)
2015-06-17 15:55:32 +02:00
Ulrich-Matthias Schäfer
71c984a986 Removed target-reference from use which caused bugs in dmove() and use() with external file
The used element can be retrieved using `element.reference('href')`
2015-06-15 16:37:42 +02:00
Ulrich-Matthias Schäfer
5d80e43931 Fixed bug with doc() which should always return the root SVG
Replaced split-function with an easier and faster one
2015-06-15 16:15:07 +02:00
Ulrich-Matthias Schäfer
45e1f24e80 bump version 2.0.0 2015-06-11 01:22:54 +02:00
Ulrich-Matthias Schäfer
843c0f5b0f Merged all changes and fixes from SVG 1.1 into this branch 2015-06-11 01:07:59 +02:00
wout
d5f5dd18a6 Bumped to 2.0.0-rc.1 2014-09-05 09:06:25 +02:00
wout
666abb81f9 Latest build 2014-09-05 08:43:50 +02:00
wout
89f3a26e94 Fix in RBox 2014-09-03 15:57:39 +02:00
wout
2649e3153e Fix in SVG.Number 2014-09-03 15:39:47 +02:00
wout
17e15d57d8 Fixed bug in event detaching 2014-09-03 15:24:24 +02:00
wout
69da2d3854 Firefox fixes and event specs 2014-09-03 12:15:16 +02:00
wout
826649995f Fixed bug in clone() method 2014-09-02 14:47:02 +02:00
wout
5aa85e6053 Removed matrix add() method 2014-08-30 17:15:52 +02:00
wout
bde8508836 Added animated parametric transformations 2014-08-30 17:06:00 +02:00
wout
dd4be62e39 Added SVG.TBox for transformed bounding boxes 2014-08-29 12:45:21 +02:00
wout
8789391f03 Fixed instantiation issue in SVG.Number 2014-08-28 18:44:14 +02:00
wout
7b8e6f1d5a Removed internal references from SVG.Text 2014-08-25 10:33:35 +02:00
wout
a5837d5bf9 Implemented absolute and relative matrix transformations 2014-08-24 16:15:56 +02:00
wout
35c4645257 Secure wrapper 2014-08-19 18:16:21 +02:00
wout
4466328be6 Typo's 2014-08-19 18:14:37 +02:00
Alex Ewerlof
f9f5081f0a Fixes #3 Support AMD, CommonJS (Browserify), globals (default method) using UMD wrapper 2014-08-03 15:35:34 +02:00
wout
27527cdef1 Removed node modules 2014-08-03 12:43:08 +02:00
wout
f0dc4d5ee0 Added SVG.Bare for creation of non-described elements 2014-08-01 20:40:49 +02:00
wout
92fbfd5d58 Added svg import / export functionalty 2014-08-01 15:21:54 +02:00
wout
98b3ec9d79 Reworked sub-pixel offset fix 2014-07-31 20:31:07 +02:00
wout
725828a6fc Added reverse functionality for animation loops 2014-07-30 11:04:56 +02:00
wout
5e9ab52bd6 Added more control to SVG.Matrix 2014-07-28 22:16:35 +02:00
wout
917cd24c50 Specified untransform() method 2014-07-27 13:37:26 +02:00
wout
a5b2301c23 Reimplemented matrix animations 2014-07-26 22:10:44 +02:00
wout
80521a95f8 Installed Jasmin 2.0.1 2014-07-26 21:58:56 +02:00
wout
9842187d84 Various small fixes 2014-07-25 17:47:03 +02:00
wout
94077ff778 Moved SVG.invent to main svg.js file 2014-07-23 11:44:50 +02:00
wout
6ac0193538 Fix in rbox 2014-07-20 09:24:46 +02:00
wout
4b4e45cc5f Fixes a but in absolute positioning of groups 2014-07-19 08:38:59 +02:00
wout
e9a0d5f5d7 Switched to gulp for building 2014-07-13 10:32:20 +02:00
wout
40bf2f8ecd Added support for scale center on matrices 2014-07-12 21:18:26 +02:00
wout
0f74fe7d0a Eliminate matrix translation errors 2014-07-12 14:18:52 +02:00
wout
501cb53870 Further debugging matrix new implementation 2014-07-12 14:06:49 +02:00
wout
462d2cd373 Completely reworked transform system 2014-07-11 23:36:17 +02:00
wout
2260f5789b Added new SVG.Line class and working on SVG.Matrix 2014-06-28 18:39:11 +02:00
wout
58b1a0b92b Complete new clone() method 2014-06-26 08:16:14 +02:00
wout
859cf9fce3 Added more versatility to adopter 2014-06-25 15:27:31 +02:00
wout
e567c774c1 Added SVG.Circle, removed structural internal references 2014-06-25 15:05:03 +02:00
wout
c168777a82 Speccing adopter module 2014-06-21 22:30:49 +02:00
wout
1953dbcdb4 Documented and added specs for new selector method 2014-06-21 22:04:12 +02:00
wout
0bb294ad91 Back on track with the specs 2014-06-21 21:19:06 +02:00
wout
629a01b3bb Various reference fixes 2014-06-21 20:32:28 +02:00
wout
19b6fd4338 Removed all structural references 2014-06-21 18:25:29 +02:00
wout
bb0e6be2da Fixing a bug in viewbox 2014-06-19 11:04:15 +02:00
wout
c1342e78f5 Updated README 2014-06-17 20:38:38 +02:00
wout
1c50b34aba Added marker, symbol and dynamic referencing 2014-06-17 20:17:01 +02:00
wout
51e4cb9d55 Fixing offset by window scroll position in rbox() 2014-06-12 11:00:36 +02:00
wout
faefee422a Fix in SVG.off 2014-06-12 10:37:26 +02:00
wout
e3a0f3a887 Bumped to version 1.0.0-rc.7
Look at change log for full overview of changes.
2014-06-11 15:27:07 +02:00