]> source.dussan.org Git - svg.js.git/log
svg.js.git
7 years agogentle optimization of PR #549
dotnetCarpenter [Sat, 12 Nov 2016 21:05:54 +0000 (22:05 +0100)]
gentle optimization of PR #549

7 years agoRevert "optimize loop performance"
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>
7 years agooptimize loop performance
dotnetCarpenter [Sat, 12 Nov 2016 15:23:44 +0000 (16:23 +0100)]
optimize loop performance

7 years agoFix going down prototype chain 549/head
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.

7 years agoMerge pull request #548 from RmiTtro/fix-transform-anim
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

7 years agoFix the bug where relative matrix transforms are not animated 548/head
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.

7 years agoFix a bug with the animation of a scale 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.

7 years agoupdate doc for SVG() in alignment with comment: https://github.com/svgdotjs/svg.js...
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

7 years agochangelog
Ulrich-Matthias Schäfer [Fri, 4 Nov 2016 11:54:56 +0000 (12:54 +0100)]
changelog

7 years agoMerge pull request #546 from RmiTtro/fix-and-improve-fx-dequeue
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

7 years agoFix and improve the dequeue method of the FX module 546/head
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.

7 years agochangelog, run gulp cause of #504
Ulrich-Matthias Schäfer [Thu, 3 Nov 2016 10:01:18 +0000 (11:01 +0100)]
changelog, run gulp cause of #504

7 years agoMerge pull request #504 from tkiss/animations_es6-7_fix
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

7 years agoMerge pull request #545 from RmiTtro/fix-skew-transform
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

7 years agoFix the implementation of the skew transform 545/head
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.

7 years agoMerge pull request #538 from RmiTtro/make-fx-at-reverse-aware
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

7 years agoMake the code in the FX module simpler 538/head
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!

7 years agochangelog
Ulrich-Matthias Schäfer [Tue, 1 Nov 2016 22:21:27 +0000 (23:21 +0100)]
changelog

7 years agoMerge pull request #543 from RmiTtro/individual-transform-separated-by-comma
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

7 years agoMake matrixify work with transformation chain separated by commas 543/head
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.

7 years agoupdate links in package to the new project home
dotnetCarpenter [Tue, 25 Oct 2016 21:13:38 +0000 (19:13 -0200)]
update links in package to the new project home

7 years agoupdate README links to point 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

7 years agofix spelling
dotnetCarpenter [Sun, 23 Oct 2016 15:11:56 +0000 (13:11 -0200)]
fix spelling

7 years agoChanged author email
wout [Sun, 23 Oct 2016 15:03:15 +0000 (17:03 +0200)]
Changed author email

7 years agobump 2.3.6 2.3.6
dotnetCarpenter [Fri, 21 Oct 2016 15:41:04 +0000 (13:41 -0200)]
bump 2.3.6

7 years agoadded test for silently fixing wrong point parameters to SVG.PointArray + better... 540/head
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

7 years agofix leading/trailing space test case
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

7 years agohandle leading and trailing spaces
dotnetCarpenter [Thu, 20 Oct 2016 18:49:08 +0000 (16:49 -0200)]
handle leading and trailing spaces

7 years agoreplace call to filter function with better regex
dotnetCarpenter [Thu, 20 Oct 2016 17:44:15 +0000 (15:44 -0200)]
replace call to filter function with better regex

7 years agocorrect naming of test
Ulrich-Matthias Schäfer [Thu, 20 Oct 2016 18:28:31 +0000 (20:28 +0200)]
correct naming of test

7 years agospeed up travis tests by caching the node_modules folder - should shave off 23 second...
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

7 years agohotfix (#529)
Ulrich-Matthias Schäfer [Thu, 20 Oct 2016 16:15:23 +0000 (18:15 +0200)]
hotfix (#529)

7 years agofix wrong doc for local testing (#537)
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

7 years agochangelog
Ulrich-Matthias Schäfer [Tue, 18 Oct 2016 23:44:22 +0000 (01:44 +0200)]
changelog

8 years agoMerge pull request #536 from RmiTtro/fx-speed-like-other-lib
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

8 years agoChange the SVG.FX attribute spd to _speed 536/head
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.

8 years agoFix Build and Test section
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

8 years agoAdd speed to SVG.Element and also add documentation to speed
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

8 years agoMake the tests of timeToPos() and posToTime() easier to understand
Rémi Tétreault [Mon, 17 Oct 2016 19:58:34 +0000 (15:58 -0400)]
Make the tests of timeToPos() and posToTime() easier to understand

8 years agoMake tests relating to speed easier to understand
Rémi Tétreault [Mon, 17 Oct 2016 19:17:12 +0000 (15:17 -0400)]
Make tests relating to speed easier to understand

8 years agoMake speed(0) pause the animation
Rémi Tétreault [Mon, 17 Oct 2016 18:15:18 +0000 (14:15 -0400)]
Make speed(0) pause the animation

8 years agoMake SVG.FX.speed act more like others animations libraries
Rémi Tétreault [Mon, 17 Oct 2016 00:21:48 +0000 (20:21 -0400)]
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.

8 years agochangelog
Ulrich-Matthias Schäfer [Sun, 16 Oct 2016 15:28:44 +0000 (17:28 +0200)]
changelog

8 years agoMerge pull request #534 from RmiTtro/fix-afterall-test
Ulrich-Matthias Schäfer [Sun, 16 Oct 2016 15:24:54 +0000 (17:24 +0200)]
Merge pull request #534 from RmiTtro/fix-afterall-test

Fix the test of SVG.FX.afterAll

8 years agouse default linux image, change name of nvm node version to stable instead of node...
dotnetCarpenter [Sun, 16 Oct 2016 10:21:05 +0000 (08:21 -0200)]
use default linux image, change name of nvm node version to stable instead of node - it is the same version but stable is a better name, build the source before testing in case someone only push changes to the source and don't build

8 years agoFix the test of SVG.FX.afterAll 534/head
Rémi Tétreault [Sun, 16 Oct 2016 00:40:19 +0000 (20:40 -0400)]
Fix the test of SVG.FX.afterAll

8 years agochangelog updated
Ulrich-Matthias Schäfer [Sun, 16 Oct 2016 00:00:06 +0000 (02:00 +0200)]
changelog updated

8 years agoMerge pull request #532 from RmiTtro/fix-fx-loop
Ulrich-Matthias Schäfer [Sat, 15 Oct 2016 23:54:16 +0000 (01:54 +0200)]
Merge pull request #532 from RmiTtro/fix-fx-loop

Make SVG.FX.loop modify the last situation instead of the current one

8 years agoRebuild of the library 532/head
Rémi Tétreault [Sat, 15 Oct 2016 23:46:40 +0000 (19:46 -0400)]
Rebuild of the library

8 years agoAdd tests for SVG.FX.loop
Rémi Tétreault [Sat, 15 Oct 2016 23:18:27 +0000 (19:18 -0400)]
Add tests for SVG.FX.loop

8 years agoMake SVG.FX.loop modify the last situation instead of the current one
Rémi Tétreault [Sat, 15 Oct 2016 06:33:05 +0000 (02:33 -0400)]
Make SVG.FX.loop modify the last situation instead of the current one

8 years agoFixed error in README
Wout [Thu, 13 Oct 2016 17:16:14 +0000 (19:16 +0200)]
Fixed error in README

8 years agoUpdate LICENSE.txt
Wout [Thu, 13 Oct 2016 17:14:07 +0000 (19:14 +0200)]
Update LICENSE.txt

Updated date in license

8 years agobump 2.3.5 2.3.5
Ulrich-Matthias Schäfer [Thu, 13 Oct 2016 15:33:14 +0000 (17:33 +0200)]
bump 2.3.5

8 years agoMerge pull request #529 from dotnetCarpenter/pointarray
Ulrich-Matthias Schäfer [Wed, 12 Oct 2016 21:47:30 +0000 (23:47 +0200)]
Merge pull request #529 from dotnetCarpenter/pointarray

string from PointArray is now correctly parsed (fixes  #525)

8 years agoupdate README for version 2.3.5 which I believe this PR will be part of 529/head
dotnetCarpenter [Wed, 12 Oct 2016 21:30:18 +0000 (19:30 -0200)]
update README for version 2.3.5 which I believe this PR will be part of

8 years agoall tests pass - All your base are belong to us
dotnetCarpenter [Wed, 12 Oct 2016 21:22:52 +0000 (19:22 -0200)]
all tests pass - All your base are belong to us

8 years agofixed id in test which is different in headless browser
Ulrich-Matthias Schäfer [Wed, 12 Oct 2016 16:36:31 +0000 (18:36 +0200)]
fixed id in test which is different in headless browser

8 years agoRemoved wrong tests in sugar.js, fixed remaining tests. Made fill and stroke a nop...
Ulrich-Matthias Schäfer [Wed, 12 Oct 2016 16:18:36 +0000 (18:18 +0200)]
Removed wrong tests in sugar.js, fixed remaining tests. Made fill and stroke a nop when no argument given

8 years agoremove redundant test
Ulrich-Matthias Schäfer [Wed, 12 Oct 2016 15:11:04 +0000 (17:11 +0200)]
remove redundant test

8 years agore-include dist folder
dotnetCarpenter [Wed, 12 Oct 2016 14:52:43 +0000 (12:52 -0200)]
re-include dist folder

8 years agoremove dist folder from PR
dotnetCarpenter [Wed, 12 Oct 2016 14:50:45 +0000 (12:50 -0200)]
remove dist folder from PR

8 years agosorry the last commit was nonsens. This one is proper tested.
dotnetCarpenter [Wed, 12 Oct 2016 14:27:06 +0000 (12:27 -0200)]
sorry the last commit was nonsens. This one is proper tested.

8 years agochanging implementation according to review by @Fuzzyma
dotnetCarpenter [Wed, 12 Oct 2016 13:26:35 +0000 (11:26 -0200)]
changing implementation according to review by @Fuzzyma

8 years agofixes #525 by accepting/parsing coordianate strings where x and y is seperated by...
dotnetCarpenter [Tue, 11 Oct 2016 21:30:28 +0000 (19:30 -0200)]
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

8 years agoAdded failing test for PointArray
dotnetCarpenter [Mon, 10 Oct 2016 13:47:07 +0000 (11:47 -0200)]
Added failing test for PointArray

8 years agoMerge pull request #527 from dotnetCarpenter/unittest
Ulrich-Matthias Schäfer [Wed, 12 Oct 2016 14:45:52 +0000 (16:45 +0200)]
Merge pull request #527 from dotnetCarpenter/unittest

Unittests with travis. Thx @dotnetCarpenter

8 years agofixed specs for SVG.Point, fixes #530
Ulrich-Matthias Schäfer [Wed, 12 Oct 2016 12:48:28 +0000 (14:48 +0200)]
fixed specs for SVG.Point, fixes #530

8 years agotests now pass in Firefox
Ulrich-Matthias Schäfer [Wed, 12 Oct 2016 12:37:22 +0000 (14:37 +0200)]
tests now pass in Firefox

8 years agoreinstate version number - changed it by mistake 527/head
dotnetCarpenter [Wed, 12 Oct 2016 12:21:26 +0000 (10:21 -0200)]
reinstate version number - changed it by mistake

8 years agoMerge branch 'unittest' of https://github.com/dotnetCarpenter/svg.js into unittest
dotnetCarpenter [Wed, 12 Oct 2016 12:19:31 +0000 (10:19 -0200)]
Merge branch 'unittest' of https://github.com/dotnetCarpenter/svg.js into unittest

8 years agouse 'npm version' instead of setting versions manually
dotnetCarpenter [Wed, 12 Oct 2016 12:16:25 +0000 (10:16 -0200)]
use 'npm version' instead of setting versions manually

8 years agoremove version from bower and use git tag instead - use 'npm version premajor|major...
dotnetCarpenter [Wed, 12 Oct 2016 11:15:15 +0000 (09:15 -0200)]
remove version from bower and use git tag instead - use 'npm version premajor|major|minor|patch' to proper tag and set version in package.json

8 years ago3.0.0-0
dotnetCarpenter [Wed, 12 Oct 2016 11:11:10 +0000 (09:11 -0200)]
3.0.0-0

8 years agouse the 'latest' version of firefox
dotnetCarpenter [Wed, 12 Oct 2016 10:55:31 +0000 (08:55 -0200)]
use the 'latest' version of firefox

8 years agouse a newer ubuntu image and the latest firefox (49.0)
dotnetCarpenter [Wed, 12 Oct 2016 10:46:32 +0000 (08:46 -0200)]
use a newer ubuntu image and the latest firefox (49.0)

8 years agoUpdate document up to include travis status and updated README and CHANGELOG - I...
dotnetCarpenter [Wed, 12 Oct 2016 10:34:07 +0000 (08:34 -0200)]
Update document up to include travis status and updated README and CHANGELOG - I think this PR will be in the 3.0 release

8 years agoreinstate semi colon in banners
dotnetCarpenter [Tue, 11 Oct 2016 22:27:50 +0000 (20:27 -0200)]
reinstate semi colon in banners

8 years agoupdate badge and log firefox version on travis
dotnetCarpenter [Sat, 8 Oct 2016 20:28:57 +0000 (18:28 -0200)]
update badge and log firefox version on travis

8 years agobe sure that firefox is not running before test starts
dotnetCarpenter [Sat, 8 Oct 2016 20:14:20 +0000 (18:14 -0200)]
be sure that firefox is not running before test starts

8 years agoinstall newest firefox on travis currently we use 38.0 but the current version is...
dotnetCarpenter [Sat, 8 Oct 2016 19:49:46 +0000 (17:49 -0200)]
install newest firefox on travis currently we use 38.0 but the current version is 49.0

8 years agoswitch back to firefox for testing
dotnetCarpenter [Sat, 8 Oct 2016 19:28:14 +0000 (17:28 -0200)]
switch back to firefox for testing

8 years agohalt dev of chrome base solution
dotnetCarpenter [Sat, 8 Oct 2016 19:18:25 +0000 (17:18 -0200)]
halt dev of chrome base solution

8 years agochromium-browser is already the newest version. Uncomment to enable update of the...
dotnetCarpenter [Wed, 5 Oct 2016 12:35:08 +0000 (14:35 +0200)]
chromium-browser is already the newest version. Uncomment to enable update of the chromium browser on travis.

8 years agofix syntax error
dotnetCarpenter [Wed, 5 Oct 2016 12:30:33 +0000 (14:30 +0200)]
fix syntax error

8 years agotest with newer version of chrome
dotnetCarpenter [Wed, 5 Oct 2016 12:26:01 +0000 (14:26 +0200)]
test with newer version of chrome

8 years ago--amend
dotnetCarpenter [Wed, 5 Oct 2016 12:19:01 +0000 (14:19 +0200)]
--amend

8 years agoconfigure chromium to be chrome on travis
dotnetCarpenter [Wed, 5 Oct 2016 12:18:42 +0000 (14:18 +0200)]
configure chromium to be chrome on travis

8 years agoprobing for chrome on travis
dotnetCarpenter [Wed, 5 Oct 2016 12:05:15 +0000 (14:05 +0200)]
probing for chrome on travis

8 years agoMany of the failing tests are rounding errors. Different browsers delivered different...
dotnetCarpenter [Wed, 5 Oct 2016 11:52:33 +0000 (13:52 +0200)]
Many of the failing tests are rounding errors. Different browsers delivered different results. Thats why we took chrome as base.

8 years agoremove redundant npm install - travis do this for us because we're a node project
dotnetCarpenter [Tue, 4 Oct 2016 19:56:00 +0000 (21:56 +0200)]
remove redundant npm install - travis do this for us because we're a node project

8 years agoFirefox 31 is really old - we want to test against a newer browser
dotnetCarpenter [Tue, 4 Oct 2016 19:42:15 +0000 (21:42 +0200)]
Firefox 31 is really old - we want to test against a newer browser

8 years agoApparently travis is running Firefox 31 which doesn't support 'let'
dotnetCarpenter [Tue, 4 Oct 2016 19:31:12 +0000 (21:31 +0200)]
Apparently travis is running Firefox 31 which doesn't support 'let'

8 years agoadd travis badge
dotnetCarpenter [Tue, 4 Oct 2016 16:49:38 +0000 (18:49 +0200)]
add travis badge

8 years agoadd the CSS as a fixture - not sure if its needed for the tests but here it is
dotnetCarpenter [Tue, 4 Oct 2016 16:49:08 +0000 (18:49 +0200)]
add the CSS as a fixture - not sure if its needed for the tests but here it is

8 years agoupdated stand-alone jasmine to 2.5.2
dotnetCarpenter [Tue, 4 Oct 2016 16:48:16 +0000 (18:48 +0200)]
updated stand-alone jasmine to 2.5.2

8 years agotry to run travis
dotnetCarpenter [Tue, 4 Oct 2016 16:11:20 +0000 (18:11 +0200)]
try to run travis

8 years agocli unit test setup done
dotnetCarpenter [Tue, 4 Oct 2016 15:26:58 +0000 (17:26 +0200)]
cli unit test setup done

8 years agotrying out karma-fixture
dotnetCarpenter [Tue, 4 Oct 2016 13:33:28 +0000 (15:33 +0200)]
trying out karma-fixture

8 years agofix missing ) which caused a subtle syntax error
dotnetCarpenter [Tue, 4 Oct 2016 13:12:31 +0000 (15:12 +0200)]
fix missing ) which caused a subtle syntax error