]>
source.dussan.org Git - svg.js.git/log
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
Rémi Tétreault [Fri, 17 Feb 2017 01:35:05 +0000 (20:35 -0500)]
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)
Wout [Wed, 15 Feb 2017 09:29:34 +0000 (10:29 +0100)]
Documentup config no longer required
wout [Sun, 5 Feb 2017 09:46:44 +0000 (10:46 +0100)]
Updated CHANGELOG
Jon Ege Ronnenberg [Sun, 5 Feb 2017 05:05:17 +0000 (06:05 +0100)]
Fixed sentence
From "change from SVG() to use querySelector instead of getElementById (breaking change) -> __TODO!__" to "change SVG() to use querySelector instead of getElementById (breaking change) -> __TODO!__"
dotnetCarpenter [Sun, 5 Feb 2017 04:37:48 +0000 (05:37 +0100)]
added PR reference number
dotnetCarpenter [Sun, 5 Feb 2017 03:39:19 +0000 (04:39 +0100)]
began notes for the 2.4.1 release
dotnetCarpenter [Sun, 5 Feb 2017 03:38:34 +0000 (04:38 +0100)]
added newline for readability
dotnetCarpenter [Sun, 5 Feb 2017 03:38:12 +0000 (04:38 +0100)]
Merge branch 'master' of https://github.com/svgdotjs/svg.js
Zearin [Sun, 5 Feb 2017 01:55:48 +0000 (20:55 -0500)]
Format change log according to “Keep a CHANGELOG” guidelines (#578)
* Switch dates to YYYY-MM-DD
* Updating headings; add document title & desc
* Add subheadings and group changes accordingly
* Linkify release numbers in each heading
* Mark unreleased version
wout [Wed, 18 Jan 2017 12:17:26 +0000 (13:17 +0100)]
Typo in typings
Wout [Sun, 15 Jan 2017 22:20:49 +0000 (23:20 +0100)]
Documentup
Wout [Sun, 15 Jan 2017 22:20:14 +0000 (23:20 +0100)]
Documentup fix
wout [Sun, 15 Jan 2017 22:15:40 +0000 (23:15 +0100)]
Changed documentup twitter account
wout [Sat, 14 Jan 2017 17:56:30 +0000 (18:56 +0100)]
Updated LICENSE
dotnetCarpenter [Sat, 14 Jan 2017 08:06:31 +0000 (09:06 +0100)]
note to self for the 3.0 release
dotnetCarpenter [Sat, 14 Jan 2017 06:29:24 +0000 (07:29 +0100)]
version 2.4.0 - new feature: path animation
dotnetCarpenter [Sat, 14 Jan 2017 06:29:18 +0000 (07:29 +0100)]
wrapping up for 2.4.0 release
dotnetCarpenter [Sun, 25 Dec 2016 02:14:20 +0000 (03:14 +0100)]
update documentation to reflect our new basic path animation support - closing #561
Rémi Tétreault [Fri, 23 Dec 2016 20:19:20 +0000 (15:19 -0500)]
Make some fixes in SVG.PathArray
Rename the method haveSameCommands to equalCommands and
replace undefined by null.
Rémi Tétreault [Wed, 21 Dec 2016 02:33:18 +0000 (21:33 -0500)]
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.
Rémi Tétreault [Tue, 20 Dec 2016 09:09:22 +0000 (04:09 -0500)]
Implement the morph method of SVG.PathArray
Also add methods to SVG.Point that allow to perform operations
between two points.
dotnetCarpenter [Sat, 14 Jan 2017 05:26:45 +0000 (06:26 +0100)]
version 2.3.7 - maintenance release
dotnetCarpenter [Sat, 14 Jan 2017 05:25:33 +0000 (06:25 +0100)]
Wrapping up for 2.3.7 release
Wout [Fri, 13 Jan 2017 16:06:00 +0000 (17:06 +0100)]
Restored original README
Wout [Fri, 13 Jan 2017 16:04:07 +0000 (17:04 +0100)]
Adding documentup referrer
rdfriedl [Mon, 9 Jan 2017 00:40:11 +0000 (18:40 -0600)]
added missing constructor definitions
rdfriedl [Mon, 9 Jan 2017 00:25:46 +0000 (18:25 -0600)]
improved typings
Daniel Gräber [Fri, 6 Jan 2017 12:54:14 +0000 (13:54 +0100)]
fix(typing): Export for umd module
Daniel Wang [Mon, 9 Jan 2017 23:19:21 +0000 (07:19 +0800)]
add CDNJS version badge in README.md (#566)
convey our current published version clearly
wout [Wed, 4 Jan 2017 11:12:11 +0000 (12:12 +0100)]
Updated README
wout [Tue, 3 Jan 2017 19:01:03 +0000 (20:01 +0100)]
Updated docs
dotnetCarpenter [Sun, 25 Dec 2016 02:14:20 +0000 (03:14 +0100)]
update documentation to reflect our new basic path animation support - closing #561
Rémi Tétreault [Fri, 23 Dec 2016 20:19:20 +0000 (15:19 -0500)]
Make some fixes in SVG.PathArray
Rename the method haveSameCommands to equalCommands and
replace undefined by null.
Rémi Tétreault [Wed, 21 Dec 2016 02:33:18 +0000 (21:33 -0500)]
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.
Rémi Tétreault [Tue, 20 Dec 2016 09:09:22 +0000 (04:09 -0500)]
Implement the morph method of SVG.PathArray
Also add methods to SVG.Point that allow to perform operations
between two points.
dotnetCarpenter [Sun, 13 Nov 2016 13:07:04 +0000 (14:07 +0100)]
accidently removed dist/svg.min.js from repo
dotnetCarpenter [Sun, 13 Nov 2016 10:45:49 +0000 (11:45 +0100)]
updated changelog for 2.3.7
dotnetCarpenter [Sun, 13 Nov 2016 10:39:22 +0000 (11:39 +0100)]
speedup build for tests
dotnetCarpenter [Sun, 13 Nov 2016 10:21:50 +0000 (11:21 +0100)]
added `npm run test:quick` which aim at being fast rather than correct - great for git hooks
dotnetCarpenter [Sat, 12 Nov 2016 23:36:13 +0000 (00:36 +0100)]
updated changelog for 2.3.7
dotnetCarpenter [Sat, 12 Nov 2016 23:20:28 +0000 (00:20 +0100)]
added code coverage
dotnetCarpenter [Sat, 12 Nov 2016 22:55:25 +0000 (23:55 +0100)]
update changelog with PR #549
dotnetCarpenter [Sat, 12 Nov 2016 22:28:35 +0000 (23:28 +0100)]
added small paragraph about on how to prevent pushing failing commits
dotnetCarpenter [Sat, 12 Nov 2016 21:05:54 +0000 (22:05 +0100)]
gentle optimization of PR #549
dotnetCarpenter [Sat, 12 Nov 2016 20:27:36 +0000 (21:27 +0100)]
Revert "optimize loop performance"
This reverts commit
98fdf3202901017dcdf16cde910ddd896aab519d .
Signed-off-by: dotnetCarpenter <jon.ronnenberg@gmail.com>
dotnetCarpenter [Sat, 12 Nov 2016 15:23:44 +0000 (16:23 +0100)]
optimize loop performance
Preston Tighe [Fri, 11 Nov 2016 23:25:03 +0000 (17:25 -0600)]
Fix going down prototype chain
This fixed the a.undo is not a function error. The for loop was going down into the array's prototype chain.
Ulrich-Matthias Schäfer [Thu, 10 Nov 2016 14:15:58 +0000 (15:15 +0100)]
Merge pull request #548 from RmiTtro/fix-transform-anim
Make transform more consistent when animated. Fixes bug with animated matrices
Rémi Tétreault [Thu, 10 Nov 2016 02:32:48 +0000 (21:32 -0500)]
Fix the bug where relative matrix transforms are not animated
Also, add the possibility to make uniform skew transform.
Rémi Tétreault [Thu, 3 Nov 2016 03:56:03 +0000 (23:56 -0400)]
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.
dotnetCarpenter [Fri, 4 Nov 2016 17:15:03 +0000 (18:15 +0100)]
update doc for SVG() in alignment with comment: https://github.com/svgdotjs/svg.js/issues/139#issuecomment-
256987267
Ulrich-Matthias Schäfer [Fri, 4 Nov 2016 11:54:56 +0000 (12:54 +0100)]
changelog
Ulrich-Matthias Schäfer [Fri, 4 Nov 2016 11:01:05 +0000 (12:01 +0100)]
Merge pull request #546 from RmiTtro/fix-and-improve-fx-dequeue
Fix and improve the dequeue method of the FX module
Rémi Tétreault [Sun, 30 Oct 2016 19:20:25 +0000 (15:20 -0400)]
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.
Ulrich-Matthias Schäfer [Thu, 3 Nov 2016 10:01:18 +0000 (11:01 +0100)]
changelog, run gulp cause of #504
Ulrich-Matthias Schäfer [Thu, 3 Nov 2016 09:57:07 +0000 (10:57 +0100)]
Merge pull request #504 from tkiss/animations_es6-7_fix
Fix broken animations, if using polyfills for es6/7 proposals
Ulrich-Matthias Schäfer [Thu, 3 Nov 2016 01:04:15 +0000 (02:04 +0100)]
Merge pull request #545 from RmiTtro/fix-skew-transform
Fix the implementation of the skew transform
Rémi Tétreault [Wed, 2 Nov 2016 22:25:35 +0000 (18:25 -0400)]
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.
Ulrich-Matthias Schäfer [Wed, 2 Nov 2016 15:35:37 +0000 (16:35 +0100)]
Merge pull request #538 from RmiTtro/make-fx-at-reverse-aware
Make SVG.FX.at reverse aware
Rémi Tétreault [Thu, 20 Oct 2016 05:04:12 +0000 (01:04 -0400)]
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!
Ulrich-Matthias Schäfer [Tue, 1 Nov 2016 22:21:27 +0000 (23:21 +0100)]
changelog
Ulrich-Matthias Schäfer [Tue, 1 Nov 2016 22:08:11 +0000 (23:08 +0100)]
Merge pull request #543 from RmiTtro/individual-transform-separated-by-comma
Make matrixify work with transformation chain separated by commas
Rémi Tétreault [Tue, 1 Nov 2016 21:23:06 +0000 (17:23 -0400)]
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.
dotnetCarpenter [Tue, 25 Oct 2016 21:13:38 +0000 (19:13 -0200)]
update links in package to the new project home
dotnetCarpenter [Tue, 25 Oct 2016 21:07:50 +0000 (19:07 -0200)]
update README links to point to the new project home
dotnetCarpenter [Sun, 23 Oct 2016 15:11:56 +0000 (13:11 -0200)]
fix spelling
wout [Sun, 23 Oct 2016 15:03:15 +0000 (17:03 +0200)]
Changed author email
dotnetCarpenter [Fri, 21 Oct 2016 15:41:04 +0000 (13:41 -0200)]
bump 2.3.6
dotnetCarpenter [Thu, 20 Oct 2016 19:38:15 +0000 (17:38 -0200)]
added test for silently fixing wrong point parameters to SVG.PointArray + better descriptions for SVG.PointArray tests
dotnetCarpenter [Thu, 20 Oct 2016 18:56:24 +0000 (16:56 -0200)]
fix leading/trailing space test case
odd number of points is invalid in SVG
See https://svgwg.org/svg2-draft/shapes.html#DataTypePoints
dotnetCarpenter [Thu, 20 Oct 2016 18:49:08 +0000 (16:49 -0200)]
handle leading and trailing spaces
dotnetCarpenter [Thu, 20 Oct 2016 17:44:15 +0000 (15:44 -0200)]
replace call to filter function with better regex
Ulrich-Matthias Schäfer [Thu, 20 Oct 2016 18:28:31 +0000 (20:28 +0200)]
correct naming of test
dotnetCarpenter [Thu, 20 Oct 2016 17:08:55 +0000 (15:08 -0200)]
speed up travis tests by caching the node_modules folder - should shave off 23 seconds of test run time
Ulrich-Matthias Schäfer [Thu, 20 Oct 2016 16:15:23 +0000 (18:15 +0200)]
hotfix (#529)
Jon Ege Ronnenberg [Wed, 19 Oct 2016 00:15:17 +0000 (22:15 -0200)]
fix wrong doc for local testing (#537)
* fix wrong doc for local testing
* fix html ending - thanks @RmiTtro
Ulrich-Matthias Schäfer [Tue, 18 Oct 2016 23:44:22 +0000 (01:44 +0200)]
changelog
Ulrich-Matthias Schäfer [Tue, 18 Oct 2016 16:25:25 +0000 (18:25 +0200)]
Merge pull request #536 from RmiTtro/fx-speed-like-other-lib
Make SVG.FX.speed act more like others animations libraries
Rémi Tétreault [Mon, 17 Oct 2016 23:22:18 +0000 (19:22 -0400)]
Change the SVG.FX attribute spd to _speed
This change is to follow the convention already put forward by the _target
attribute.
Jon Ege Ronnenberg [Mon, 17 Oct 2016 22:57:11 +0000 (20:57 -0200)]
Fix Build and Test section
Fix command to build and added a small section about testing
Rémi Tétreault [Mon, 17 Oct 2016 20:28:51 +0000 (16:28 -0400)]
Add speed to SVG.Element and also add documentation to speed