Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make some fixes in SVG.PathArray | Rémi Tétreault | 2017-01-14 | 1 | -9/+9 |
| | | | | | Rename the method haveSameCommands to equalCommands and replace undefined by null. | ||||
* | Implement a more basic morph method for SVG.PathArray | Rémi Tétreault | 2017-01-14 | 3 | -608/+33 |
| | | | | | | 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. | ||||
* | Implement the morph method of SVG.PathArray | Rémi Tétreault | 2017-01-14 | 3 | -9/+641 |
| | | | | | Also add methods to SVG.Point that allow to perform operations between two points. | ||||
* | gentle optimization of PR #549 | dotnetCarpenter | 2016-11-12 | 1 | -2/+2 |
| | |||||
* | Revert "optimize loop performance" | dotnetCarpenter | 2016-11-12 | 1 | -48/+48 |
| | | | | | | This reverts commit 98fdf3202901017dcdf16cde910ddd896aab519d. Signed-off-by: dotnetCarpenter <jon.ronnenberg@gmail.com> | ||||
* | optimize loop performance | dotnetCarpenter | 2016-11-12 | 1 | -48/+48 |
| | |||||
* | Fix going down prototype chain | Preston Tighe | 2016-11-11 | 1 | -1/+1 |
| | | | This fixed the a.undo is not a function error. The for loop was going down into the array's prototype chain. | ||||
* | Fix the bug where relative matrix transforms are not animated | Rémi Tétreault | 2016-11-09 | 3 | -8/+9 |
| | | | | Also, add the possibility to make uniform skew transform. | ||||
* | Fix a bug with the animation of a scale transform | Rémi Tétreault | 2016-11-08 | 1 | -0/+6 |
| | | | | | Fix the bug where animating a scale transform also caused a translation when there was already a transform in place. | ||||
* | Fix and improve the dequeue method of the FX module | Rémi Tétreault | 2016-11-03 | 1 | -30/+24 |
| | | | | | | | | | | | | 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. | ||||
* | Merge pull request #504 from tkiss/animations_es6-7_fix | Ulrich-Matthias Schäfer | 2016-11-03 | 1 | -3/+3 |
|\ | | | | | Fix broken animations, if using polyfills for es6/7 proposals | ||||
| * | Fix broken animations, if using polyfills for es6/7 proposals (in this case ↵ | Tamás | 2016-06-23 | 1 | -3/+3 |
| | | | | | | | | String.at()) | ||||
* | | Fix the implementation of the skew transform | Rémi Tétreault | 2016-11-02 | 1 | -6/+20 |
| | | | | | | | | | | 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 | -35/+85 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -3/+3 |
| | | | | | | | | | | | | 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. | ||||
* | | handle leading and trailing spaces | dotnetCarpenter | 2016-10-20 | 1 | -1/+1 |
| | | |||||
* | | replace call to filter function with better regex | dotnetCarpenter | 2016-10-20 | 1 | -1/+1 |
| | | |||||
* | | hotfix (#529) | Ulrich-Matthias Schäfer | 2016-10-20 | 1 | -1/+1 |
| | | |||||
* | | Change the SVG.FX attribute spd to _speed | Rémi Tétreault | 2016-10-17 | 1 | -14/+14 |
| | | | | | | | | | | This change is to follow the convention already put forward by the _target attribute. | ||||
* | | Add speed to SVG.Element and also add documentation to speed | Rémi Tétreault | 2016-10-17 | 1 | -2/+16 |
| | | |||||
* | | Make speed(0) pause the animation | Rémi Tétreault | 2016-10-17 | 1 | -0/+2 |
| | | |||||
* | | Make SVG.FX.speed act more like others animations libraries | Rémi Tétreault | 2016-10-16 | 1 | -11/+15 |
| | | | | | | | | | | | | 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. | ||||
* | | Make SVG.FX.loop modify the last situation instead of the current one | Rémi Tétreault | 2016-10-15 | 1 | -3/+5 |
| | | |||||
* | | all tests pass - All your base are belong to us | dotnetCarpenter | 2016-10-12 | 1 | -0/+2 |
|\ \ | |||||
| * | | Removed wrong tests in sugar.js, fixed remaining tests. Made fill and stroke ↵ | Ulrich-Matthias Schäfer | 2016-10-12 | 1 | -0/+2 |
| | | | | | | | | | | | | a nop when no argument given | ||||
* | | | sorry the last commit was nonsens. This one is proper tested. | dotnetCarpenter | 2016-10-12 | 1 | -2/+2 |
| | | | |||||
* | | | changing implementation according to review by @Fuzzyma | dotnetCarpenter | 2016-10-12 | 1 | -15/+7 |
| | | | |||||
* | | | fixes #525 by accepting/parsing coordianate strings where x and y is ↵ | dotnetCarpenter | 2016-10-12 | 1 | -14/+26 |
|/ / | | | | | | | seperated by comma and or by space - we count the shape coordinates until (and including) the maximum even number | ||||
* | | Speed improvements on parent element | wout | 2016-08-04 | 8 | -26/+42 |
| | | |||||
* | | fixed #514 and #5162.3.3 | Ulrich-Matthias Schäfer | 2016-08-02 | 2 | -11/+2 |
| | | | | | | | | | | - removed `SVG.Text.clone()` which is inherited by `SVG.Element.clone()` - make element visible when call bbox on a clone | ||||
* | | add error callback on image loading | Alexandre Peyron | 2016-07-12 | 1 | -0/+11 |
|/ | |||||
* | Merge pull request #481 from mkorganashvili/patch-1 | Wout | 2016-06-12 | 1 | -0/+5 |
|\ | | | | | Fix groups animation | ||||
| * | Fix groups animation | mkorganashvili | 2016-04-25 | 1 | -0/+5 |
| | | |||||
* | | Changed to document.documentElement.contains | snydesc | 2016-05-25 | 1 | -1/+1 |
| | | | | | | | | | | document.contains will not work in IE. document.body.contains will work in IE, Chrome, and Firefox however will not work on SVG only documents. document.documentElement.contains appears to work for all variations. | ||||
* | | Changed document.contains to document.body.contains | snydesc | 2016-05-24 | 1 | -1/+1 |
| | | | | | | The document object in IE does not have the contains function as a method. This can cause a stack overflow as you can get stuck in an endless try catch loop. document.body.contains will work in IE, Firefox, and Chrome and will resolve this issue. | ||||
* | | fixed line constructor which doesn't work with Array as input (#487) | Ulrich-Matthias Schäfer | 2016-05-16 | 1 | -1/+1 |
| | | | | | | | | 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/+17 |
| | | |||||
* | | fixed string parsing in viewbox (#483), specs `SVG.ViewBox` | Ulrich-Matthias Schäfer | 2016-05-13 | 3 | -30/+36 |
| | | |||||
* | | fixed bug in `parse()` from `SVG.PathArray` which does not correctly handled ↵ | Ulrich-Matthias Schäfer | 2016-05-05 | 1 | -1/+1 |
|/ | | | | `S` and `T` (#485) | ||||
* | fixed bug in `add()` and `SVG.Doc().create()` | Ulrich-Matthias Schäfer | 2016-04-15 | 2 | -7/+8 |
| | |||||
* | fixed bug where `stop(true)` throws an error when element is not animated (#475) | Ulrich-Matthias Schäfer | 2016-04-09 | 1 | -1/+1 |
| | |||||
* | fixed old target references | Ulrich-Matthias Schäfer | 2016-04-09 | 2 | -4/+4 |
| | |||||
* | fixed `SVG.morph()` (#473) | Ulrich-Matthias Schäfer | 2016-04-03 | 1 | -4/+6 |
| | |||||
* | doublecheck SVG.parser, use svg element which is not in the dom (#471) | Ulrich-Matthias Schäfer | 2016-04-02 | 3 | -4/+14 |
| | |||||
* | fix parser error (#471) and small bug in SVG.Color with new fx | Ulrich-Matthias Schäfer | 2016-04-01 | 2 | -14/+12 |
| | |||||
* | readme update, clean up | Ulrich-Matthias Schäfer | 2016-03-29 | 1 | -31/+33 |
| | |||||
* | tidy up | Ulrich-Matthias Schäfer | 2016-03-29 | 1 | -14/+0 |
| | |||||
* | fix finishing up correctly with even loops, readme | Ulrich-Matthias Schäfer | 2016-03-29 | 1 | -17/+15 |
| | |||||
* | discard totalProgress for now | Ulrich-Matthias Schäfer | 2016-03-28 | 1 | -17/+0 |
| | |||||
* | revert multiple breaking changes introduced by the last commits | Ulrich-Matthias Schäfer | 2016-03-28 | 2 | -91/+126 |
| |