Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | reordered modules, add es6 build | Ulrich-Matthias Schäfer | 2018-11-06 | 1 | -206/+0 |
| | |||||
* | Linted all files, upgraded all dependencies | Ulrich-Matthias Schäfer | 2018-11-05 | 1 | -3/+3 |
| | |||||
* | implement registerMethods(), introduce real arrays for modern browsers, fix ↵ | Ulrich-Matthias Schäfer | 2018-11-04 | 1 | -0/+1 |
| | | | | some tests | ||||
* | resolve last circular dependencies, make rollup work | Ulrich-Matthias Schäfer | 2018-10-27 | 1 | -81/+0 |
| | |||||
* | resolve circular references and make example working again | Ulrich-Matthias Schäfer | 2018-10-27 | 1 | -26/+4 |
| | |||||
* | convert everything to es6 classes and imports | Ulrich-Matthias Schäfer | 2018-10-25 | 1 | -43/+40 |
| | |||||
* | add babel, satisfy linter, build dist | Ulrich-Matthias Schäfer | 2018-10-17 | 1 | -14/+2 |
| | |||||
* | Optimized the matrix functions so that the transform function is a multitude ↵ | Ulrich-Matthias Schäfer | 2018-10-08 | 1 | -0/+22 |
| | | | | faster for parameterized input | ||||
* | get rid of that unnecessary bbox call on every frame | Ulrich-Matthias Schäfer | 2018-09-20 | 1 | -0/+11 |
| | |||||
* | finally solve transformations one and for all time! | Ulrich-Matthias Schäfer | 2018-09-20 | 1 | -1/+1 |
| | | | | This is great - we should party hard. I mean - it took like 4 month to get this done. That's way to much! I don't want anymore. Pease send help :D | ||||
* | Refactored the getOrigin helper to help fix the relative affine animations | Saivan | 2018-09-17 | 1 | -4/+3 |
| | | | | | | | | | | This commit refactors the getOrigin helper, in order to send the origin to the correct space. The origin should be expressed in the space of the last animation. Changes ======= - Refactored the getOrigin helper - Added a simple example to the dirty file to test multiple transformations | ||||
* | Fixed the relative non-affine transform animations | Saivan | 2018-09-17 | 1 | -6/+16 |
| | | | | | | | | | This commit uncovered an issue with the relative non-affine transformations. It is now correctly fixed and working. Next we should fix the affine transforms as well. Changes ======= - Fixed the relative non-affine transformation animations | ||||
* | Fixed the transformation code to use the bbox properly | Saivan | 2018-07-05 | 1 | -22/+6 |
| | | | | | This commit fixes the transformations and allows single animated transformations to properly work. | ||||
* | fix origin transformation | Ulrich-Matthias Schäfer | 2018-07-04 | 1 | -1/+0 |
| | |||||
* | Worked towards setting the origin on each frame with linear algebra | Saivan | 2018-07-04 | 1 | -17/+1 |
| | | | | | This commit attempts to modify the origin on each frame, but it seems that we have some kind of bug that we need to fix first | ||||
* | Fixed an issue that occurred when we applied more than one transform | Saivan | 2018-07-03 | 1 | -3/+32 |
| | | | | | This commit allows us to apply more than one transform to an element, and have them correctly applied to the element. | ||||
* | satisfy linter, fix global var | Ulrich-Matthias Schäfer | 2018-06-28 | 1 | -2/+2 |
| | |||||
* | fix origin for relative transformations | Ulrich-Matthias Schäfer | 2018-06-27 | 1 | -2/+2 |
| | |||||
* | Allowed the origin to stay fixed as we animate transforms | Saivan | 2018-06-26 | 1 | -2/+26 |
| | | | | | | | | | | | This commit start to remove the expensive bbox calculation by assuming that the origin stays at a fixed point during an animation. This is a good assumption as transforms don't change the bbox of the element. Changes ======= - Refactor the Element.transform function - Make a getOrigin function to call the bbox only one time | ||||
* | first tries to make transformations work | Ulrich-Matthias Schäfer | 2018-06-02 | 1 | -1/+1 |
| | |||||
* | satisfy linter | Ulrich-Matthias Schäfer | 2018-05-27 | 1 | -2/+1 |
| | |||||
* | Most of the animations are working | Saivan | 2018-05-17 | 1 | -5/+4 |
| | |||||
* | Another collaboration session with @Fuzzyma | Saivan | 2018-04-30 | 1 | -0/+58 |
| | |||||
* | Fixed recommendations by @Fuzzyma regarding transforms | Saivan | 2018-03-05 | 1 | -9/+0 |
| | | | | | | | | | | | | 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 | ||||
* | Added matrix composition and decompositions | Saivan | 2018-03-03 | 1 | -16/+1 |
| | | | | | | | | 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. | ||||
* | Implemented new transformations | Saivan | 2018-03-02 | 1 | -5/+9 |
| | | | | | | 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. | ||||
* | Merged the 3.0.0 branch to add the linter | Saivan | 2018-02-27 | 1 | -54/+61 |
|\ | | | | | | | | | 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 | -0/+2 |
| | | | | | | | | | | | | 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 | -54/+59 |
| | | | | | | | | | | | | 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 | ||||
* | | Identified transformation code to retire | Saivan | 2018-02-25 | 1 | -8/+15 |
|/ | | | | | | | | | | | 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 | ||||
* | add new default constructor (#714) | Ulrich-Matthias Schäfer | 2017-07-25 | 1 | -6/+0 |
| | |||||
* | Lots of breaking changes. Read below! (#646, #716) | Ulrich-Matthias Schäfer | 2017-07-25 | 1 | -0/+29 |
| | | | | | | | | | | - 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 | ||||
* | use `children` instead of `childNodes` (#710), renamed `previous()` to `prev()` | Ulrich-Matthias Schäfer | 2017-07-10 | 1 | -3/+2 |
| | |||||
* | ids are not generated upon creation anymore | Ulrich-Matthias Schäfer | 2017-04-23 | 1 | -7/+10 |
| | | | | Instead they are generated when requested (#559) | ||||
* | prefix globals with window so window can be injected properly | Ulrich-Matthias Schäfer | 2017-03-18 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into 3.0.0 | Ulrich-Matthias Schäfer | 2017-03-16 | 1 | -16/+0 |
|\ | | | | | | | | | | | | | Conflicts (all resolved): dist/svg.js dist/svg.min.js spec/spec/boxes.js | ||||
| * | move most regexe to SVG.regex, fix matrix constructor for string argument | Ulrich-Matthias Schäfer | 2017-03-14 | 1 | -16/+0 |
| | | |||||
* | | unified all boxes (#634) | Ulrich-Matthias Schäfer | 2017-03-16 | 1 | -1/+15 |
| | | | | | | | | | | | | | | | | unified all boxes - SVG.Box for everything - bbox, rbox and viewbox as methods - boxes can be created with string, array, object, list... - added helper to simplify boxes code | ||||
* | | update specs, fix mistakes, include flatten.js to dist | Ulrich-Matthias Schäfer | 2017-03-10 | 1 | -1/+1 |
|/ | |||||
* | speed up path parsing for most cases | Ulrich-Matthias Schäfer | 2017-03-06 | 1 | -0/+4 |
| | | | | added test, added pathArray speed bench | ||||
* | removed at() helper which is not used anymore | Ulrich-Matthias Schäfer | 2017-03-03 | 1 | -13/+0 |
| | |||||
* | Added clone method to SVG.Array/PointArray/PathArray (#590) | Ulrich-Matthias Schäfer | 2017-02-20 | 1 | -0/+12 |
| | |||||
* | Speed improvements on parent element | wout | 2016-08-04 | 1 | -5/+9 |
| | |||||
* | Implementation new fx module | Ulrich-Matthias Schäfer | 2016-03-23 | 1 | -0/+4 |
| | |||||
* | added support for css selectors with the `parent()` method | Ulrich-Matthias Schäfer | 2015-10-25 | 1 | -0/+5 |
| | |||||
* | Make parsing a <transform-list> more robust in the face of IE11 | Ray Glover | 2015-08-14 | 1 | -1/+1 |
| | | | | | which doesn't use commas (',') to delimit matrix elements. see also: http://www.w3.org/TR/SVG11/coords.html#SVGGlobalTransformAttribute | ||||
* | Merged all changes and fixes from SVG 1.1 into this branch | Ulrich-Matthias Schäfer | 2015-06-11 | 1 | -10/+1 |
| | |||||
* | Added animated parametric transformations | wout | 2014-08-30 | 1 | -0/+6 |
| | |||||
* | Added SVG.TBox for transformed bounding boxes | wout | 2014-08-29 | 1 | -102/+111 |
| | |||||
* | Installed Jasmin 2.0.1 | wout | 2014-07-26 | 1 | -4/+28 |
| |