Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix the implementation of the skew transform | Rémi Tétreault | 2016-11-02 | 1 | -5/+93 |
| | | | | | Also fix a bug where when calling scale with 3 parameters, cx was not set with the right value. | ||||
* | Make the code in the FX module simpler | Rémi Tétreault | 2016-11-01 | 1 | -210/+1106 |
| | | | | | | | | | | | | | | | | | 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! | ||||
* | Make matrixify work with transformation chain separated by commas | Rémi Tétreault | 2016-11-01 | 1 | -0/+37 |
| | | | | | | 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. | ||||
* | added test for silently fixing wrong point parameters to SVG.PointArray + ↵ | dotnetCarpenter | 2016-10-20 | 1 | -1/+8 |
| | | | | better descriptions for SVG.PointArray tests | ||||
* | fix leading/trailing space test case | dotnetCarpenter | 2016-10-20 | 1 | -3/+3 |
| | | | | | odd number of points is invalid in SVG See https://svgwg.org/svg2-draft/shapes.html#DataTypePoints | ||||
* | handle leading and trailing spaces | dotnetCarpenter | 2016-10-20 | 1 | -0/+5 |
| | |||||
* | correct naming of test | Ulrich-Matthias Schäfer | 2016-10-20 | 1 | -1/+1 |
| | |||||
* | hotfix (#529) | Ulrich-Matthias Schäfer | 2016-10-20 | 1 | -0/+5 |
| | |||||
* | Change the SVG.FX attribute spd to _speed | Rémi Tétreault | 2016-10-17 | 1 | -10/+10 |
| | | | | | This change is to follow the convention already put forward by the _target attribute. | ||||
* | Make the tests of timeToPos() and posToTime() easier to understand | Rémi Tétreault | 2016-10-17 | 1 | -6/+6 |
| | |||||
* | Make tests relating to speed easier to understand | Rémi Tétreault | 2016-10-17 | 1 | -42/+90 |
| | |||||
* | Make speed(0) pause the animation | Rémi Tétreault | 2016-10-17 | 1 | -3/+8 |
| | |||||
* | Make SVG.FX.speed act more like others animations libraries | Rémi Tétreault | 2016-10-16 | 1 | -4/+83 |
| | | | | | | 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. | ||||
* | Fix the test of SVG.FX.afterAll | Rémi Tétreault | 2016-10-15 | 1 | -1/+1 |
| | |||||
* | Add tests for SVG.FX.loop | Rémi Tétreault | 2016-10-15 | 1 | -1/+153 |
| | |||||
* | all tests pass - All your base are belong to us | dotnetCarpenter | 2016-10-12 | 3 | -654/+14 |
|\ | |||||
| * | fixed id in test which is different in headless browser | Ulrich-Matthias Schäfer | 2016-10-12 | 1 | -2/+2 |
| | | |||||
| * | Removed wrong tests in sugar.js, fixed remaining tests. Made fill and stroke ↵ | Ulrich-Matthias Schäfer | 2016-10-12 | 2 | -644/+12 |
| | | | | | | | | a nop when no argument given | ||||
| * | remove redundant test | Ulrich-Matthias Schäfer | 2016-10-12 | 1 | -8/+0 |
| | | |||||
* | | changing implementation according to review by @Fuzzyma | dotnetCarpenter | 2016-10-12 | 1 | -1/+1 |
| | | |||||
* | | fixes #525 by accepting/parsing coordianate strings where x and y is ↵ | dotnetCarpenter | 2016-10-12 | 1 | -1/+1 |
| | | | | | | | | seperated by comma and or by space - we count the shape coordinates until (and including) the maximum even number | ||||
* | | Added failing test for PointArray | dotnetCarpenter | 2016-10-12 | 1 | -0/+5 |
|/ | |||||
* | Merge pull request #527 from dotnetCarpenter/unittest | Ulrich-Matthias Schäfer | 2016-10-12 | 11 | -120/+334 |
|\ | | | | | Unittests with travis. Thx @dotnetCarpenter | ||||
| * | halt dev of chrome base solution | dotnetCarpenter | 2016-10-08 | 1 | -20/+0 |
| | | |||||
| * | Apparently travis is running Firefox 31 which doesn't support 'let' | dotnetCarpenter | 2016-10-04 | 1 | -2/+2 |
| | | |||||
| * | add the CSS as a fixture - not sure if its needed for the tests but here it is | dotnetCarpenter | 2016-10-04 | 3 | -13/+30 |
| | | |||||
| * | updated stand-alone jasmine to 2.5.2 | dotnetCarpenter | 2016-10-04 | 7 | -112/+301 |
| | | |||||
| * | cli unit test setup done | dotnetCarpenter | 2016-10-04 | 2 | -2/+11 |
| | | |||||
| * | trying out karma-fixture | dotnetCarpenter | 2016-10-04 | 1 | -0/+19 |
| | | |||||
| * | fix missing ) which caused a subtle syntax error | dotnetCarpenter | 2016-10-04 | 1 | -1/+1 |
| | | |||||
* | | fixed specs for SVG.Point, fixes #530 | Ulrich-Matthias Schäfer | 2016-10-12 | 2 | -8/+9 |
| | | |||||
* | | tests now pass in Firefox | Ulrich-Matthias Schäfer | 2016-10-12 | 4 | -27/+76 |
|/ | |||||
* | Speed improvements on parent element | wout | 2016-08-04 | 4 | -7/+7 |
| | |||||
* | fixed line constructor which doesn't work with Array as input (#487) | Ulrich-Matthias Schäfer | 2016-05-16 | 1 | -0/+12 |
| | | | | added spec for mentioned issue | ||||
* | fixed bbox when element is not in the dom (#480), added parameter to `clone` | Ulrich-Matthias Schäfer | 2016-05-13 | 2 | -12/+27 |
| | |||||
* | fixed string parsing in viewbox (#483), specs `SVG.ViewBox` | Ulrich-Matthias Schäfer | 2016-05-13 | 4 | -61/+184 |
| | |||||
* | fixed bug in `parse()` from `SVG.PathArray` which does not correctly handled ↵ | Ulrich-Matthias Schäfer | 2016-05-05 | 2 | -60/+64 |
| | | | | `S` and `T` (#485) | ||||
* | fixed bug in `add()` and `SVG.Doc().create()` | Ulrich-Matthias Schäfer | 2016-04-15 | 2 | -7/+19 |
| | |||||
* | fixed `SVG.morph()` (#473) | Ulrich-Matthias Schäfer | 2016-04-03 | 1 | -3/+4 |
| | |||||
* | readme update, clean up | Ulrich-Matthias Schäfer | 2016-03-29 | 1 | -4/+4 |
| | |||||
* | fix finishing up correctly with even loops, readme | Ulrich-Matthias Schäfer | 2016-03-29 | 1 | -1/+6 |
| | |||||
* | discard totalProgress for now | Ulrich-Matthias Schäfer | 2016-03-28 | 1 | -1/+1 |
| | |||||
* | revert multiple breaking changes introduced by the last commits | Ulrich-Matthias Schäfer | 2016-03-28 | 1 | -38/+32 |
| | |||||
* | updated jasmine and specs | Ulrich-Matthias Schäfer | 2016-03-23 | 14 | -969/+2743 |
| | |||||
* | Merge branch 'master' into 3.0.0 | Ulrich-Matthias Schäfer | 2016-02-10 | 5 | -48/+264 |
|\ | |||||
| * | fixed unit unit regex and renamed it to numberAndUnit, added specs (fix #443) | Ulrich-Matthias Schäfer | 2016-01-23 | 1 | -9/+34 |
| | | |||||
| * | fixed `svgjs:data` attribute which was not set properly in all browsers (#428) | Ulrich-Matthias Schäfer | 2016-01-21 | 2 | -36/+73 |
| | | | | | | | | | | added specs for `writeDataToDom()` and `setData()` added toJSON in SVG.Number | ||||
| * | added specs for `isNumber()` and compile svg.js | Ulrich-Matthias Schäfer | 2016-01-18 | 1 | -0/+16 |
| | | |||||
| * | added SVG.Point class as wrapper for SVGPoint, added `el.point()` method ↵ | Ulrich-Matthias Schäfer | 2016-01-11 | 2 | -0/+128 |
| | | | | | | | | (#403 / #437) | ||||
| * | fix #433 | Denis Mosolov | 2015-12-29 | 1 | -7/+17 |
| | |