Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename files so that they reflect their exported classes (see next commit) | Ulrich-Matthias Schäfer | 2018-10-25 | 1 | -472/+0 |
| | |||||
* | add babel, satisfy linter, build dist | Ulrich-Matthias Schäfer | 2018-10-17 | 1 | -7/+4 |
| | |||||
* | Cant see the forest with all these trees... | Ulrich-Matthias Schäfer | 2018-10-08 | 1 | -4/+2 |
| | |||||
* | Optimized the matrix functions so that the transform function is a multitude ↵ | Ulrich-Matthias Schäfer | 2018-10-08 | 1 | -45/+77 |
| | | | | faster for parameterized input | ||||
* | adding optimized transformation function to speed up things a tiny bit | Ulrich-Matthias Schäfer | 2018-09-20 | 1 | -39/+96 |
| | |||||
* | get rid of that unnecessary bbox call on every frame | Ulrich-Matthias Schäfer | 2018-09-20 | 1 | -4/+1 |
| | |||||
* | Fixed the transformation code to use the bbox properly | Saivan | 2018-07-05 | 1 | -12/+12 |
| | | | | | This commit fixes the transformations and allows single animated transformations to properly work. | ||||
* | Fixed an issue that occurred when we applied more than one transform | Saivan | 2018-07-03 | 1 | -2/+1 |
| | | | | | This commit allows us to apply more than one transform to an element, and have them correctly applied to the element. | ||||
* | Added a potential fix for the problem | Saivan | 2018-06-29 | 1 | -0/+1 |
| | |||||
* | satisfy linter, fix global var | Ulrich-Matthias Schäfer | 2018-06-28 | 1 | -1/+1 |
| | |||||
* | fix origin bug | Ulrich-Matthias Schäfer | 2018-06-28 | 1 | -10/+16 |
| | |||||
* | Add a few debugging statements | Saivan | 2018-06-28 | 1 | -8/+18 |
| | |||||
* | Modified the behaviour of absolute transforms | Saivan | 2018-06-28 | 1 | -5/+8 |
| | | | | | This commit slightly modifies the behaviour of absolute transforms, we will get them working soon :D | ||||
* | first tries to make transformations work | Ulrich-Matthias Schäfer | 2018-06-02 | 1 | -0/+11 |
| | |||||
* | fixed declaritive again, fromArray now works on all object instances | Ulrich-Matthias Schäfer | 2018-05-30 | 1 | -4/+0 |
| | |||||
* | satisfy linter | Ulrich-Matthias Schäfer | 2018-05-27 | 1 | -18/+5 |
| | |||||
* | Most of the animations are working | Saivan | 2018-05-17 | 1 | -6/+17 |
| | |||||
* | make morphing work, fix inheritance, animations now work | Ulrich-Matthias Schäfer | 2018-05-01 | 1 | -1/+9 |
| | |||||
* | The animations work with the .queue method | Saivan | 2018-05-01 | 1 | -1/+1 |
| | |||||
* | Another collaboration session with @Fuzzyma | Saivan | 2018-04-30 | 1 | -46/+39 |
| | |||||
* | Added some timeline and Morphing functions | Saivan | 2018-04-23 | 1 | -1/+5 |
| | |||||
* | Initial planning for the Timeline Module | Saivan | 2018-04-18 | 1 | -0/+7 |
| | | | | | | This commit just includes a few plans and a massive derrangement of the fx module before it is to be refactored into the Timeline module. The basic methods are included, but everything is broken | ||||
* | Removed gbox and fixed a few typos | Saivan | 2018-03-05 | 1 | -1/+1 |
| | | | | | Since gbox is completely replaced by rbox, we don't need it anymore. There were also a few small errors to fix. | ||||
* | Fixed recommendations by @Fuzzyma regarding transforms | Saivan | 2018-03-05 | 1 | -21/+25 |
| | | | | | | | | | | | | This commit fixes a number of issues with transformations: - Removed move/dmove/etc... on groups - Sugar was being passed origin instead of ox, oy - Updated the changelog - Removed parseMatrix in favor of new SVG.Matrix() - .matrix is the getter for a matrix, not .transform - added a [02:24:41] Using gulpfile ~/Desktop/svg/svg.js/gulpfile.js [02:24:41] Starting 'lint'... [02:24:43] Finished 'lint' after 2.32 s directive | ||||
* | Fixed most of the tests relating to transformations | Saivan | 2018-03-04 | 1 | -9/+9 |
| | |||||
* | Added matrix composition and decompositions | Saivan | 2018-03-03 | 1 | -16/+85 |
| | | | | | | | | This commit adds matrix composition and decompositions (untested), it also adds another playground to test that this is working as expected in every case. We also fixed a few linting errors. | ||||
* | Fixed some tests involving transforms and elements | Saivan | 2018-03-02 | 1 | -1/+1 |
|\ | |||||
| * | fixed all that errors which come along when removing an object. Fixed tests, ↵ | Ulrich-Matthias Schäfer | 2018-03-01 | 1 | -1/+1 |
| | | | | | | | | too and added isRoot test | ||||
* | | Implemented new transformations | Saivan | 2018-03-02 | 1 | -129/+103 |
| | | | | | | | | | | | | This commit implements the new transformation model, but it also needs to modify a few tests to fit the new format. This is still a work in progress. | ||||
* | | Made developing a little more enjoyable | Saivan | 2018-02-27 | 1 | -124/+94 |
| | | | | | | | | | | | | | | This commit adds playgrounds and a build:dev mode. Now you can call npm run build:dev to make the linter warn you about errors without breaking. Also, we now have playgrounds, where you can use a built version of svg.js to run your own tests. | ||||
* | | Merged the 3.0.0 branch to add the linter | Saivan | 2018-02-27 | 1 | -61/+82 |
|\| | | | | | | | | | I added the linter here to make programming and running the tests easier throughout the programming process. | ||||
| * | Actually added the linter to gulp and fixed most errors | Saivan | 2018-02-27 | 1 | -5/+6 |
| | | | | | | | | | | | | This commit fixes most of the errors raised by standard. There is still a strange call error, but that will be the focus of the next commit | ||||
| * | The first half of the library complies with Standard linting | Saivan | 2018-02-27 | 1 | -88/+85 |
| | | | | | | | | | | | | This commit reformats the code so that it complies with the standard linting style. Its currently a work in progress, but it is meant to pave the way for linting in the build process | ||||
* | | Matrix operations now apply to the current matrix | Saivan | 2018-02-26 | 1 | -10/+28 |
| | | | | | | | | | | This commit applies matrix operations to the current matrix, so calling mat.rotate will rotate the current matrix directly | ||||
* | | We can form a compound matrix in the matrix module | Saivan | 2018-02-26 | 1 | -2/+50 |
| | | | | | | | | | | | | This commit allows us to form a compounded matrix by setting parameters like scale, translate, rotate etc directly in a single call by asserting a particular matrix order. | ||||
* | | Identified transformation code to retire | Saivan | 2018-02-25 | 1 | -20/+72 |
|/ | | | | | | | | | | | This commit simply identifies some of the code that we will be retiring in 3.0.0 related to transformations. I have commented and in some cases removed code that will not be required. Changes ======= - Added the new affine composition and decomposition functions - Commented out code that will be removed in coming commits | ||||
* | Lots of breaking changes. Read below! (#646, #716) | Ulrich-Matthias Schäfer | 2017-07-25 | 1 | -1/+1 |
| | | | | | | | | | | - added `SVG.HTMLNode` which is the object wrapped around html nodes to put something in them - moved `defs()` method from `SVG.Parent` to `SVG.Element` - `SVG()` can be called with css selector, node or svg string, now. Without an argument it creates a new `SVG.Doc()` (#646) - `add()`, `put()`, `addTo()`, `putIn()` now excepts all arguments accepted by `SVG()` - `SVG.Nested` is not `overflow:visible` by default - all `SVG.*` objects now can have a node as parameter when constructing - `SVG()` does not set a default size anymore | ||||
* | revert the previous commit | Rémi Tétreault | 2017-05-02 | 1 | -7/+4 |
| | | | | remove the typeof check in the initialisation of SVG.Matrix | ||||
* | allow SVG.Matrix to be passed SVG.Number | Rémi Tétreault | 2017-05-01 | 1 | -4/+7 |
| | |||||
* | Fix the flip transform on both axis | Rémi Tétreault | 2017-04-15 | 1 | -2/+1 |
| | | | | | This fix the bug that made calling flip without any argument (`element.flip()`) not work. | ||||
* | move most regexe to SVG.regex, fix matrix constructor for string argument | Ulrich-Matthias Schäfer | 2017-03-14 | 1 | -1/+1 |
| | |||||
* | added SVG.Box, added transform method to boxes, fix rbox (#626) | Ulrich-Matthias Schäfer | 2017-03-08 | 1 | -0/+10 |
| | | | | | | | | 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 | ||||
* | make flip working with both axis when no parameter / only offset is passed | Ulrich-Matthias Schäfer | 2017-03-06 | 1 | -1/+6 |
| | |||||
* | added tests to increase code coverage | Ulrich-Matthias Schäfer | 2017-02-28 | 1 | -0/+2 |
| | |||||
* | removed old fx code which is unused (#605) | Ulrich-Matthias Schäfer | 2017-02-28 | 1 | -20/+0 |
| | |||||
* | 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. | ||||
* | doublecheck SVG.parser, use svg element which is not in the dom (#471) | Ulrich-Matthias Schäfer | 2016-04-02 | 1 | -1/+1 |
| | |||||
* | Implementation new fx module | Ulrich-Matthias Schäfer | 2016-03-23 | 1 | -1/+4 |
| | |||||
* | added SVG.Point class as wrapper for SVGPoint, added `el.point()` method ↵ | Ulrich-Matthias Schäfer | 2016-01-11 | 1 | -1/+1 |
| | | | | (#403 / #437) | ||||
* | transform() returnw a-f now, too, double newlines create blank lines | Ulrich-Matthias Schäfer | 2015-12-04 | 1 | -0/+6 |
| |