summaryrefslogtreecommitdiffstats
path: root/src/sugar.js
Commit message (Collapse)AuthorAgeFilesLines
* reordered modules, add es6 buildUlrich-Matthias Schäfer2018-11-061-159/+0
|
* Linted all files, upgraded all dependenciesUlrich-Matthias Schäfer2018-11-051-14/+14
|
* rework of classes, make events on every object possibleUlrich-Matthias Schäfer2018-11-051-3/+4
|
* Revert back to classes, fix remaining testsUlrich-Matthias Schäfer2018-11-041-2/+2
|
* fix even more testsUlrich-Matthias Schäfer2018-11-041-2/+3
|
* implement registerMethods(), introduce real arrays for modern browsers, fix ↵Ulrich-Matthias Schäfer2018-11-041-1/+4
| | | | some tests
* fix a few mistakes. Make sugar work. Roll back to childNodes because ↵Ulrich-Matthias Schäfer2018-11-011-6/+7
| | | | children is 10x slower
* convert everything to es6 classes and importsUlrich-Matthias Schäfer2018-10-251-12/+14
|
* activate sugar before mergeUlrich-Matthias Schäfer2018-10-181-151/+151
|
* Initial planning for the Timeline ModuleSaivan2018-04-181-151/+151
| | | | | | 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-051-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 transformsSaivan2018-03-051-9/+14
| | | | | | | | | | | | 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
* Build the final transformation code and fixed linting errorsSaivan2018-03-041-1/+1
|
* Fixed most of the tests relating to transformationsSaivan2018-03-041-1/+11
|
* Added matrix composition and decompositionsSaivan2018-03-031-4/+13
| | | | | | | | 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-021-6/+6
| | | | | This commit modifies the specification (and in some places the code) to reflect the changes to the transformations.
* Implemented new transformationsSaivan2018-03-021-12/+21
| | | | | | 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 enjoyableSaivan2018-02-271-9/+9
| | | | | | | 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-271-49/+52
|\ | | | | | | | | I added the linter here to make programming and running the tests easier throughout the programming process.
| * All files now loosely abide by standard lintingSaivan2018-02-271-58/+61
| | | | | | | | | | | | 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.
* | Matrix operations now apply to the current matrixSaivan2018-02-261-6/+4
|/ | | | | This commit applies matrix operations to the current matrix, so calling mat.rotate will rotate the current matrix directly
* `SVG.extend` now expects exactly one module or an array of modulesUlrich-Matthias Schäfer2017-04-251-4/+4
| | | | | | Conflicts: dist/svg.js dist/svg.min.js
* Making initial changes for svg.js v3.0Ulrich-Matthias Schäfer2017-03-101-2/+2
| | | | | | | | | | | | - removed `SVG.Array.split()` function (#604) - removed workaround for browser bug with stroke-width (#560) - removed polyfills - removed `ungroup()` in favour of `flatten()` - gradients now have their corresponding nodename as type and not only radial/linear (#606) - `SVG.Path.pointAt()` correctly returns an `SVG.Point` now (#607) - replaced static reference to `masker` in `SVG.Mask` with the `masker()` method - replaced static reference to `clipper` in `SVG.ClipPath` with the `clipper()` method - replaced static reference to `targets` in `SVG.Mask` and `SVG.ClipPath` with the `targets()` method (all three #563)
* add ability to use `font()` method like `attr()` method (#620)Ulrich-Matthias Schäfer2017-03-081-10/+11
|
* make flip working with both axis when no parameter / only offset is passedUlrich-Matthias Schäfer2017-03-061-1/+2
|
* added `font()` method to `SVG.Tspan` (#599)Ulrich-Matthias Schäfer2017-03-051-1/+1
|
* `dx()/dy()` now accepts percentage values, too (#524)Ulrich-Matthias Schäfer2017-03-051-2/+2
| | | | but only if the value on the element is already percentage
* added tests to increase code coverageUlrich-Matthias Schäfer2017-02-281-1/+1
|
* Fix the bug where relative matrix transforms are not animatedRémi Tétreault2016-11-091-4/+5
| | | | Also, add the possibility to make uniform skew transform.
* Removed wrong tests in sugar.js, fixed remaining tests. Made fill and stroke ↵Ulrich-Matthias Schäfer2016-10-121-0/+2
| | | | a nop when no argument given
* fixed old target referencesUlrich-Matthias Schäfer2016-04-091-2/+2
|
* relative movements, delayed (queued) start of animationUlrich-Matthias Schäfer2015-12-231-2/+2
|
* added all fx methods, styles and attrsUlrich-Matthias Schäfer2015-12-161-2/+2
|
* tab to space, block comments to line commentsUlrich-Matthias Schäfer2015-11-061-2/+2
|
* Fixes #366Sam Thomson2015-07-301-8/+9
|
* remove useless executable permissionPeter Dave Hello2015-06-231-0/+0
|
* Added SVG.Bare for creation of non-described elementswout2014-08-011-0/+12
|
* Added more control to SVG.Matrixwout2014-07-281-2/+6
|
* Installed Jasmin 2.0.1wout2014-07-261-8/+10
|
* Added support for scale center on matriceswout2014-07-121-1/+3
|
* Completely reworked transform systemwout2014-07-111-20/+7
|
* Added SVG.Circle, removed structural internal referenceswout2014-06-251-6/+2
|
* Bumped to 1.0.0-rc.6wout2014-03-041-1/+1
|
* Completely reworked `SVG.Text`, `SVG.TSpan` and `SVG.PathArray` and bumped ↵wout2014-02-141-24/+23
| | | | to 1.0.0-rc.5
* added pointAt() method to SVG.Pathwout2014-02-051-16/+24
|
* Bumped to v0.33wout2014-01-221-0/+9
|
* Distinguished SVG.Container from SVG.parent, bumped to v0.32wout2013-08-051-1/+1
| | | | SVG.Use inherits from SVG.Shape
* Fix in fill() methodwout2013-06-231-2/+2
|
* Added translate() methodwout2013-05-291-2/+9
|
* Bumped to v0.15, removed hsb color supportwout2013-04-261-1/+1
|