]>
source.dussan.org Git - svg.js.git/log
dotnetCarpenter [Fri, 14 Apr 2017 10:53:59 +0000 (12:53 +0200)]
update changelog
Ulrich-Matthias Schäfer [Thu, 13 Apr 2017 11:46:29 +0000 (13:46 +0200)]
Merge pull request #655 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
Ulrich-Matthias Schäfer [Thu, 13 Apr 2017 11:43:11 +0000 (13:43 +0200)]
correct position of gitter badge
The Gitter Badger [Thu, 13 Apr 2017 10:46:28 +0000 (10:46 +0000)]
Add Gitter badge
dotnetCarpenter [Wed, 12 Apr 2017 12:27:48 +0000 (14:27 +0200)]
use strict removed from umd wrapper by virtue of being ugly and assuring fuzzyma's sleep at night
Ulrich-Matthias Schäfer [Wed, 12 Apr 2017 11:44:00 +0000 (13:44 +0200)]
fix svg.js.d.ts (#644 #648)
dotnetCarpenter [Tue, 11 Apr 2017 21:01:51 +0000 (23:01 +0200)]
fixed link style to tags and update about component.json
dotnetCarpenter [Tue, 11 Apr 2017 20:56:46 +0000 (22:56 +0200)]
remove component.json as the project it facilitate is abandon - close #652
dotnetCarpenter [Tue, 11 Apr 2017 18:59:43 +0000 (20:59 +0200)]
update component to 2.5.2 too
dotnetCarpenter [Tue, 11 Apr 2017 18:02:35 +0000 (20:02 +0200)]
skip coverage for UMD
dotnetCarpenter [Tue, 11 Apr 2017 16:57:32 +0000 (18:57 +0200)]
change benchmark svg.js identifier to 2.5.2
dotnetCarpenter [Tue, 11 Apr 2017 15:02:29 +0000 (17:02 +0200)]
patch release for strict mode
dotnetCarpenter [Tue, 11 Apr 2017 14:46:49 +0000 (16:46 +0200)]
clean up and added changes to CHANGELOG
dotnetCarpenter [Tue, 11 Apr 2017 14:44:24 +0000 (16:44 +0200)]
namespace not declared in the Event module
dotnetCarpenter [Tue, 11 Apr 2017 14:25:48 +0000 (16:25 +0200)]
fixed bbox not declared in SVG.Box.transform
dotnetCarpenter [Tue, 11 Apr 2017 13:37:22 +0000 (15:37 +0200)]
fixed len being undeclared
dotnetCarpenter [Tue, 11 Apr 2017 13:23:17 +0000 (15:23 +0200)]
changing to strict mode - some failures occur
dotnetCarpenter [Tue, 11 Apr 2017 13:04:09 +0000 (15:04 +0200)]
re-added all specs from the spec/spec/ folder
Ulrich-Matthias Schäfer [Sun, 9 Apr 2017 19:03:40 +0000 (21:03 +0200)]
fix pass
Ulrich-Matthias Schäfer [Sun, 9 Apr 2017 19:02:20 +0000 (21:02 +0200)]
make last test passing in svg docs
wout [Fri, 7 Apr 2017 18:20:02 +0000 (20:20 +0200)]
Updated CHANGELOG
dotnetCarpenter [Fri, 31 Mar 2017 08:01:54 +0000 (10:01 +0200)]
change my email from gmail to svgjs.com
Ulrich-Matthias Schäfer [Wed, 29 Mar 2017 14:10:36 +0000 (16:10 +0200)]
clear does not remove parser anymore
make test work in svg documents
Ulrich-Matthias Schäfer [Mon, 27 Mar 2017 17:19:38 +0000 (19:19 +0200)]
make path parsing even faster
Ulrich-Matthias Schäfer [Mon, 27 Mar 2017 11:31:31 +0000 (13:31 +0200)]
bump 2.5.1
Ulrich-Matthias Schäfer [Mon, 27 Mar 2017 11:29:24 +0000 (13:29 +0200)]
relax test
wout [Fri, 24 Mar 2017 14:17:31 +0000 (15:17 +0100)]
Speed improvements for plot() on path, polygon and poly line elements.
Ulrich-Matthias Schäfer [Fri, 24 Mar 2017 09:58:19 +0000 (10:58 +0100)]
fixed `SVG.PathArray.parse` that did not correctly parsed flat arrays
Ulrich-Matthias Schäfer [Tue, 21 Mar 2017 17:16:13 +0000 (18:16 +0100)]
onclick events are now bound with SVG.on, prefixed globals, relax tests to work with svgdom, image loading uses eveents now, can now run jasmine tessts with svgdom when jasmine globally available
Ulrich-Matthias Schäfer [Sun, 19 Mar 2017 14:48:48 +0000 (15:48 +0100)]
typescript definitions updated, minor fix in Transformations
Ulrich-Matthias Schäfer [Sun, 19 Mar 2017 13:05:16 +0000 (14:05 +0100)]
missed another one
Ulrich-Matthias Schäfer [Sat, 18 Mar 2017 12:18:18 +0000 (13:18 +0100)]
missed one
Ulrich-Matthias Schäfer [Sat, 18 Mar 2017 12:07:00 +0000 (13:07 +0100)]
prefix globals with window so window can be injected properly
Ulrich-Matthias Schäfer [Thu, 16 Mar 2017 12:17:47 +0000 (13:17 +0100)]
fixing test
Ulrich-Matthias Schäfer [Thu, 16 Mar 2017 12:15:04 +0000 (13:15 +0100)]
fixes bug in style when css string ends with ;
showdep [Wed, 15 Mar 2017 15:28:19 +0000 (08:28 -0700)]
Typescript definitions edits: element.stop, container.polyline(), select(): Set, animation.scale() (#631, #635)
Thx @showdep
Ulrich-Matthias Schäfer [Wed, 15 Mar 2017 10:33:09 +0000 (11:33 +0100)]
make more tests pass in IE
Ulrich-Matthias Schäfer [Tue, 14 Mar 2017 17:43:22 +0000 (18:43 +0100)]
move most regexe to SVG.regex, fix matrix constructor for string argument
dotnetCarpenter [Tue, 14 Mar 2017 02:17:07 +0000 (03:17 +0100)]
update link to travis-ci
dotnetCarpenter [Tue, 14 Mar 2017 02:12:01 +0000 (03:12 +0100)]
point release 2.5.0 to our tagged release
dotnetCarpenter [Fri, 10 Mar 2017 19:44:23 +0000 (20:44 +0100)]
added rotate, skew, scale and translate to typings documentation as written in our documentation (http://svgjs.com/manipulating/transforms/)
Ulrich-Matthias Schäfer [Fri, 10 Mar 2017 08:32:16 +0000 (09:32 +0100)]
Release 2.5.0
### Added
- added a plot and array method to `SVG.TextPath` (#582)
- added `clone()` method to `SVG.Array/PointArray/PathArray` (#590)
- added `font()` method to `SVG.Tspan`
- added `SVG.Box()`
- added `transform()` method to boxes
- added `event()` to `SVG.Element` to retrieve the event that was fired last on the element (#550)
### Changed
- changed CHANGELOG to follow the conventions described in [“Keep a CHANGELOG”](http://keepachangelog.com) (#578)
- make the method plot a getter when no parameter is passed for `SVG.Polyline`,`SVG.Polygon`, `SVG.Line`, `SVG.Path` (related #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
- allow `plot` to be called with 4 parameters when animating an `SVG.Line`
- relative value for `SVG.Number` are now calculated in its `morph` method (related #547)
- clean up the implementation of the `initAnimation` method of the FX module (#547, #552, #584)
- deprecated `.tbox()`. `.tbox()` now map to `.rbox()`. If you are using `.tbox()`, you can substitute it with `.rbox()` (#594, #602)
- all boxes now accept 4 values or an object on creation
- `el.rbox()` now always returns the right boxes in screen coordinates and has an additional paramater to transform the box into other coordinate systems
- `font()` method can now be used like `attr()` method (#620)
- events are now cancelable by default (#550)
### Fixed
- fixed a bug in the plain morphing part of `SVG.MorphObj` that is in the FX module
- fixed bug which produces an error when removing an event from a node which was formerly removed with a global `off()` (#518)
- fixed a bug in `size()` for poly elements when their height/width is zero (#505)
- viewbox now also accepts strings and arrays as constructor arguments
- `SVG.Array` now accepts a comma seperated string and returns array of numbers instead of strings
- `SVG.Matrix` now accepts an array as input
- `SVG.Element.matrix()` now accepts also 6 values
- `dx()/dy()` now accepts percentage values, too but only if the value on the element is already percentage
- `flip()` now flips on both axis when no parameter is passed
- fixed bug with `documentElement.contains()` in IE
- fixed offset produced by svg parser (#553)
- fixed a bug with clone which didnt copy over dom data (#621)
Ulrich-Matthias Schäfer [Thu, 9 Mar 2017 21:51:17 +0000 (22:51 +0100)]
fix bug in box when box with top and left is given which is 0 (#632)
Ulrich-Matthias Schäfer [Thu, 9 Mar 2017 11:51:48 +0000 (12:51 +0100)]
updated changelog
Ulrich-Matthias Schäfer [Thu, 9 Mar 2017 11:30:02 +0000 (12:30 +0100)]
fixed a bug with clone which didnt copy over dom data (#621)
Ulrich-Matthias Schäfer [Thu, 9 Mar 2017 09:09:50 +0000 (10:09 +0100)]
update changelog
Ulrich-Matthias Schäfer [Thu, 9 Mar 2017 09:07:50 +0000 (10:07 +0100)]
make events cancelable by default (#550) - version 5
Ulrich-Matthias Schäfer [Thu, 9 Mar 2017 08:47:23 +0000 (09:47 +0100)]
start the animation when after(All)/during(All) is called (#583)
Ulrich-Matthias Schäfer [Wed, 8 Mar 2017 18:48:20 +0000 (19:48 +0100)]
Fix offset produced by svg parser (#553)
Ulrich-Matthias Schäfer [Wed, 8 Mar 2017 18:38:56 +0000 (19:38 +0100)]
update changelog
Ulrich-Matthias Schäfer [Wed, 8 Mar 2017 18:34:22 +0000 (19:34 +0100)]
add ability to use `font()` method like `attr()` method (#620)
Ulrich-Matthias Schäfer [Wed, 8 Mar 2017 13:46:35 +0000 (14:46 +0100)]
update changelog
Ulrich-Matthias Schäfer [Wed, 8 Mar 2017 13:44:45 +0000 (14:44 +0100)]
fix documet.contains bug in IE (#612)
Ulrich-Matthias Schäfer [Wed, 8 Mar 2017 13:29:15 +0000 (14:29 +0100)]
added SVG.Box, added transform method to boxes, fix rbox (#626)
added SVG.Box, added transform method to boxes, fix rbox
Also:
- workaround for screenCTM with nested svg (FF bug)
- remove unneeded workaround in toParent()
- rbox accepts additional parameter to transform the box
Ulrich-Matthias Schäfer [Wed, 8 Mar 2017 13:02:13 +0000 (14:02 +0100)]
fixes SVG.PointArray.size() which created NaN when the bbox of the point array had zero height/width (#625)
fixes SVG.PointArray.size() which created NaN when the bbox of the point array had zero height/width
* update changelog
Rémi Tétreault [Tue, 7 Mar 2017 23:56:45 +0000 (18:56 -0500)]
Fix Animating a flip transform does not work #624
Rémi Tétreault [Mon, 6 Mar 2017 01:55:09 +0000 (20:55 -0500)]
Make the method dequeue stop the current animation
There was a bug in the dequeue method of the FX module. It was not stopping
the current animation as it was supposed too. This bug is now fixed. Also,
I rewritten the test that @fuzzyma left commented. I changed its
implementation to not use the once callback since there seem to be some issues
when combining once and dequeue. The method stop was also modified, it now
call start only when it's revelant.
Rémi Tétreault [Sat, 4 Mar 2017 23:50:38 +0000 (18:50 -0500)]
Have stop be called after each test of the fx module
This change should prevent some animations to keep running in
the background while the tests that spawned them is long done.
Introducing this change made some tests fail, they were also fixed.
dotnetCarpenter [Wed, 8 Mar 2017 00:09:14 +0000 (01:09 +0100)]
add rotate() as an animation method in typescript
Ulrich-Matthias Schäfer [Mon, 6 Mar 2017 17:52:28 +0000 (18:52 +0100)]
make flip working with both axis when no parameter / only offset is passed
Ulrich-Matthias Schäfer [Mon, 6 Mar 2017 14:15:39 +0000 (15:15 +0100)]
fix bug in rebuild, remove x adjusting in x method (#616)
Ulrich-Matthias Schäfer [Mon, 6 Mar 2017 12:39:53 +0000 (13:39 +0100)]
speed up path parsing for most cases
added test, added pathArray speed bench
Ulrich-Matthias Schäfer [Sun, 5 Mar 2017 14:42:11 +0000 (15:42 +0100)]
added `font()` method to `SVG.Tspan` (#599)
Ulrich-Matthias Schäfer [Sun, 5 Mar 2017 13:14:31 +0000 (14:14 +0100)]
`dx()/dy()` now accepts percentage values, too (#524)
but only if the value on the element is already percentage
Ulrich-Matthias Schäfer [Sun, 5 Mar 2017 12:52:11 +0000 (13:52 +0100)]
fixed error in event which did not clean up `SVG.handlerMap` properly (#518)
Ulrich-Matthias Schäfer [Fri, 3 Mar 2017 16:55:33 +0000 (17:55 +0100)]
removed at() helper which is not used anymore
Ulrich-Matthias Schäfer [Wed, 1 Mar 2017 21:20:46 +0000 (22:20 +0100)]
added test cases to increase code coverage
Ulrich-Matthias Schäfer [Wed, 1 Mar 2017 19:00:38 +0000 (20:00 +0100)]
added test cases to increase coverage
Ulrich-Matthias Schäfer [Wed, 1 Mar 2017 16:26:51 +0000 (17:26 +0100)]
added test cases to increase code coverage
Ulrich-Matthias Schäfer [Wed, 1 Mar 2017 13:08:20 +0000 (14:08 +0100)]
Added test cases to increase code coverage
Ulrich-Matthias Schäfer [Wed, 1 Mar 2017 09:43:01 +0000 (10:43 +0100)]
added test case for ungroup/flatten
Ulrich-Matthias Schäfer [Tue, 28 Feb 2017 17:55:27 +0000 (18:55 +0100)]
fixed bug in SVG.Transformations when creating with array/argument list.
added tests to increase code coverage
Ulrich-Matthias Schäfer [Tue, 28 Feb 2017 12:51:21 +0000 (13:51 +0100)]
update changelog
Ulrich-Matthias Schäfer [Tue, 28 Feb 2017 12:50:08 +0000 (13:50 +0100)]
added tests to increase code coverage
Ulrich-Matthias Schäfer [Tue, 28 Feb 2017 11:03:38 +0000 (12:03 +0100)]
removed old fx code which is unused (#605)
Ulrich-Matthias Schäfer [Tue, 28 Feb 2017 10:59:27 +0000 (11:59 +0100)]
added tests to increase code coverage
Ulrich-Matthias Schäfer [Mon, 27 Feb 2017 21:45:59 +0000 (22:45 +0100)]
added test cases to increase coverage
Rémi Tétreault [Sat, 25 Feb 2017 21:47:47 +0000 (16:47 -0500)]
Add tests for the animate method of the FX module
Rémi Tétreault [Sat, 25 Feb 2017 21:08:55 +0000 (16:08 -0500)]
Add tests for when the user call stop/finish in during callback
Rémi Tétreault [Sat, 25 Feb 2017 18:23:23 +0000 (13:23 -0500)]
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
Rémi Tétreault [Fri, 24 Feb 2017 23:08:17 +0000 (18:08 -0500)]
Correct some tests for the at_ methods of the FX module
In the first test of both the methods atStart and atEnd, `this` should
instead be `fx`.
Ulrich-Matthias Schäfer [Sat, 25 Feb 2017 15:31:31 +0000 (16:31 +0100)]
added test cases to increase code coverage
Ulrich-Matthias Schäfer [Sat, 25 Feb 2017 14:07:42 +0000 (15:07 +0100)]
update changelog
Ulrich-Matthias Schäfer [Sat, 25 Feb 2017 14:05:59 +0000 (15:05 +0100)]
viewbox now also accepts arrays and strings
Ulrich-Matthias Schäfer [Sat, 25 Feb 2017 12:52:45 +0000 (13:52 +0100)]
added test cases to increase code coverage
Ulrich-Matthias Schäfer [Fri, 24 Feb 2017 20:50:07 +0000 (21:50 +0100)]
added a few missing tests to increase coverage
Ulrich-Matthias Schäfer [Fri, 24 Feb 2017 20:48:27 +0000 (21:48 +0100)]
`SVG.Array` now accepts a comma seperated string and returns array of numbers instead of strings
Ulrich-Matthias Schäfer [Fri, 24 Feb 2017 19:08:21 +0000 (20:08 +0100)]
newlines
Ulrich-Matthias Schäfer [Fri, 24 Feb 2017 19:07:01 +0000 (20:07 +0100)]
Added SVG.Symbol so SVG.adopt can pick up symbols correctly
dotnetCarpenter [Fri, 24 Feb 2017 15:26:15 +0000 (16:26 +0100)]
slim down the SVG.TBox to SVG.RBox mapping (new SVG.TBox will not work)
dotnetCarpenter [Fri, 24 Feb 2017 13:38:01 +0000 (14:38 +0100)]
deprecate SVG.TBox
dotnetCarpenter [Thu, 23 Feb 2017 18:38:00 +0000 (19:38 +0100)]
remove SVG.TBox
wout [Wed, 22 Feb 2017 11:10:20 +0000 (12:10 +0100)]
Added gradient tests
Rémi Tétreault [Wed, 22 Feb 2017 05:20:09 +0000 (00:20 -0500)]
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.
wout [Tue, 21 Feb 2017 10:47:38 +0000 (11:47 +0100)]
Added paths to bench
wout [Tue, 21 Feb 2017 08:43:13 +0000 (09:43 +0100)]
Updated bench
Ulrich-Matthias Schäfer [Mon, 20 Feb 2017 14:29:14 +0000 (15:29 +0100)]
Added clone method to SVG.Array/PointArray/PathArray (#590)
Ulrich-Matthias Schäfer [Sun, 19 Feb 2017 14:54:35 +0000 (15:54 +0100)]
update changelog
Ulrich-Matthias Schäfer [Sun, 19 Feb 2017 14:30:50 +0000 (15:30 +0100)]
Merge pull request #589 from RmiTtro/sort-leftovers-from-old-fx
Sort out leftovers from the old fx module
Rémi Tétreault [Sat, 18 Feb 2017 03:23:51 +0000 (22:23 -0500)]
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