aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added some timeline and Morphing functionsSaivan2018-04-238-52/+602
|
* Initial planning for the Timeline ModuleSaivan2018-04-1814-1376/+2136
| | | | | | 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 typosSaivan2018-03-056-37/+9
| | | | | 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 transformsSaivan2018-03-0518-293/+143
| | | | | | | | | | | | 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 the dots test and restored the old testsSaivan2018-03-042-2/+3
|
* Integrated the transformations into the changes in 3.0.0Saivan2018-03-045-19/+6
|\
| * removed `size()` from `SVG.Text` to avoid name clashUlrich-Matthias Schäfer2018-03-035-5272/+5267
| |
* | Build the final transformation code and fixed linting errorsSaivan2018-03-043-5/+5
| |
* | Fixed all transformation tests, the new transforms are readySaivan2018-03-044-17/+23
| | | | | | | | | | | | This commit fixes all of the tests to reflect all of the changes to our transform code. It also makes the default test output dots instead of anything else.
* | Fixed most of the tests relating to transformationsSaivan2018-03-0412-651/+709
| |
* | Added matrix composition and decompositionsSaivan2018-03-0313-157/+432
| | | | | | | | | | | | | | | | 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.
* | All transformations except fx and Transformations are passing nowSaivan2018-03-0214-89/+89
| | | | | | | | | | This commit modifies the specification (and in some places the code) to reflect the changes to the transformations.
* | Investigating a possible rbox issue when transformingSaivan2018-03-023-8/+16
| |
* | Fixed a few more specifications regarding the new transformsSaivan2018-03-0212-90/+86
| |
* | Merge branch '3.0.0' of github.com:svgdotjs/svg.js into 786-new-transformationsSaivan2018-03-021-1/+21
|\|
| * Merge pull request #827 from svgdotjs/826-ungroup-flattensaivan2018-03-021-1/+21
| |\ | | | | | | make ungroup working on groups and nested for one depths
| | * make ungroup working on groups and nested for one depthsUlrich-Matthias Schäfer2018-03-011-1/+21
| |/
* | Fixed some tests involving transforms and elementsSaivan2018-03-0221-416/+317
|\|
| * update changelogUlrich-Matthias Schäfer2018-03-011-0/+3
| |
| * Merge pull request #811 from svgdotjs/merge-doc-and-nestedUlrich-Matthias Schäfer2018-03-0116-67/+65
| |\ | | | | | | merge SVG.Doc and SVG.Nested. Add isRoot() method
| | * fixed all that errors which come along when removing an object. Fixed tests, ↵Ulrich-Matthias Schäfer2018-03-0114-61/+61
| | | | | | | | | | | | too and added isRoot test
| | * return explicit null if there is no rootUlrich-Matthias Schäfer2018-03-011-1/+3
| | |
| | * merge SVG.Doc and SVG.Nested. Add isRoot() method, update doc methods to ↵Ulrich-Matthias Schäfer2018-03-015-32/+28
| |/ | | | | | | decide between doc and nested
| * Merge pull request #808 from svgdotjs/events-memory-leakUlrich-Matthias Schäfer2018-02-285-132/+128
| |\ | | | | | | proposal for #807, includes #550, `SVG.off()` multiple events and option argument
| | * updated changelogUlrich-Matthias Schäfer2018-02-271-1/+2
| | |
| | * search and replace replaced to muchUlrich-Matthias Schäfer2018-02-271-2/+2
| | |
| | * found the error whereelse. go back to version before with applied fixUlrich-Matthias Schäfer2018-02-271-13/+9
| | |
| | * fixed error that listener was strangely defined even if function was called ↵Ulrich-Matthias Schäfer2018-02-272-63/+69
| | | | | | | | | | | | without
| | * fix errors found by linter (jeah it works!)Ulrich-Matthias Schäfer2018-02-272-12/+12
| | |
| | * proposal for #807, includes #550, allow multiple events for `SVG.off()` and ↵Ulrich-Matthias Schäfer2018-02-273-80/+73
| |/ | | | | | | add option argument
* | Implemented new transformationsSaivan2018-03-0217-514/+626
| | | | | | | | | | | | 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.
* | Updated the README to welcome new users better!Saivan2018-02-271-0/+38
| | | | | | | | | | | | This commit updates the README with up to date instructions about how to run and build the library, as well as how to run the tests, playgrounds and performance tests
* | Made developing a little more enjoyableSaivan2018-02-2713-865/+848
| | | | | | | | | | | | | | 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 linterSaivan2018-02-2758-6954/+16558
|\| | | | | | | | | I added the linter here to make programming and running the tests easier throughout the programming process.
| * Merge pull request #823 from svgdotjs/800-add-lintersaivan2018-02-2758-7085/+16418
| |\ | | | | | | Added the standard linter
| | * Built the final linted fileSaivan2018-02-271-12/+50
| | |
| | * Fixed a few hanging issues with the linterSaivan2018-02-276-16/+54
| | | | | | | | | | | | | | | This commit fixes a few typesetting issues that probably resulted from the automated linting process
| | * Forgot to add standard to the package-json dohSaivan2018-02-272-0/+9170
| | |
| | * So the standard linter is operational and our code is compliantSaivan2018-02-2714-101/+114
| | | | | | | | | | | | | | | | | | This commit completes the compliance of our code with the standard linter. It is now building correctly and error messages are displayed when somebody tries to build bad code!
| | * Actually added the linter to gulp and fixed most errorsSaivan2018-02-2725-170/+218
| | | | | | | | | | | | | | | | | | 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
| | * All files now loosely abide by standard lintingSaivan2018-02-2723-1051/+1081
| | | | | | | | | | | | | | | | | | This commit completes the rest of the files, making sure they are in the standard linting format. Next we will add the linter to the build process of our application.
| | * The first half of the library complies with Standard lintingSaivan2018-02-2734-6433/+6429
| |/ | | | | | | | | | | 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 matrixSaivan2018-02-263-140/+62
| | | | | | | | | | 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 moduleSaivan2018-02-262-9/+81
| | | | | | | | | | | | 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 retireSaivan2018-02-255-367/+462
|/ | | | | | | | | | | 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
* make sure to remove event handlers from temporary image (#805)Ulrich-Matthias Schäfer2018-02-073-7/+15
|
* remove test for `show()`Ulrich-Matthias Schäfer2018-02-061-7/+0
|
* remove `SVG.A.show()` to resolve nameclash (fix #802)Ulrich-Matthias Schäfer2018-02-063-10/+2
|
* improved SVG.on and el.on (#727)Ulrich-Matthias Schäfer2017-07-285-300/+85
| | | | | - `SVG.on()` calls the listener in the context of the passed object. el.on always uses the svg.js object as context - `SVG.on()` and `el.on()` now accepts multiple comma or space seperated events e.g. "mousedown, foo bar" (#727)
* The dom is checked for an svgjs:data attribute which is imported when ↵Ulrich-Matthias Schäfer2017-07-285-17/+18
| | | | creating an element