aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * bugfix for issue 964Michael Becker2019-02-231-1/+15
| |
* | Register classes explicitly instead of relying on `Function.name` because ↵Ulrich-Matthias Schäfer2019-02-2732-32/+32
|/ | | | classes could be renamed
* added foreignObject to the coreUlrich-Matthias Schäfer2019-02-184-2/+22
|
* fixed move and center commands for textUlrich-Matthias Schäfer2019-01-224-20/+45
| | | | | - fixed move commands (x, y, move) of text so that it moves text always by the upper left edge. - fixed center commands (cx, cy, center) of text so that it moves text always by the center.
* speed up zoom function for non-FF BrowserUlrich-Matthias Schäfer2019-01-181-14/+16
|
* fixed `root()`, `textPath()`, `text.path()` and `path.text()` and removed ↵3.0.10Ulrich-Matthias Schäfer2019-01-145-34/+27
| | | | font-family and size from the defaults list
* fixed `textPath()` and `path().text()`Ulrich-Matthias Schäfer2019-01-141-5/+27
|
* renamed unit() to `convert()` to avoid name collision3.0.9Ulrich-Matthias Schäfer2019-01-141-2/+1
|
* added back `to()` as `unit()` of `SVG.Number` which was removed accidentally3.0.8Ulrich-Matthias Schäfer2019-01-131-0/+5
|
* minor bugfix in bbox and performance changes3.0.7Ulrich-Matthias Schäfer2019-01-133-13/+18
|
* Fix move and size of groups, removed setting of a default font so we dont ↵Ulrich-Matthias Schäfer2019-01-129-52/+93
| | | | act against user intention, fixed bug in `font()`
* Avoid for..of loopErik Demaine2018-12-141-1/+2
|
* Bug fixErik Demaine2018-12-141-3/+5
|
* Fix missing comma, lintErik Demaine2018-12-141-2/+2
|
* Add PointArray.transform by analogy to Point.transformErik Demaine2018-12-131-0/+14
|
* Release 3.0.53.0.5Ulrich-Matthias Schäfer2018-12-128-36/+77
|
* Release 3.0.43.0.4Ulrich-Matthias Schäfer2018-12-077-57/+129
|
* Release 3.0.33.0.3Ulrich-Matthias Schäfer2018-12-054-24/+43
|
* Release 3.0.23.0.2Ulrich-Matthias Schäfer2018-12-039-17/+60
|
* fixed methods not returning this and missing methods on ListUlrich-Matthias Schäfer2018-12-035-3/+14
|
* Release 3.0.03.0.0Ulrich-Matthias Schäfer2018-12-011-1/+1
|
* applied fixes from 2.x branchUlrich-Matthias Schäfer2018-12-011-1/+2
|
* fix playgrounds, delete unneeded filesUlrich-Matthias Schäfer2018-12-012-12/+18
|
* Merge branch '790-color-spaces' into 3.0.0Ulrich-Matthias Schäfer2018-12-0129-230/+567
|\
| * Merge branch '790-color-spaces' into 791-random-colorsUlrich-Matthias Schäfer2018-12-0119-208/+368
| |\
| | * clamp values in toHex, tests, replace for of with for inUlrich-Matthias Schäfer2018-12-011-8/+11
| | |
| | * Merge branch '3.0.0' into 790-color-spacesUlrich-Matthias Schäfer2018-11-3018-186/+320
| | |\
| | * | Fix bug when converting black to cymk spaceUlrich-Matthias Schäfer2018-11-261-0/+6
| | | |
| | * | Make color-animation work in all spaces (conversion bugs still there)Ulrich-Matthias Schäfer2018-11-264-13/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Make sure _d is always defined - Clean up object before init - Check space in array - Use passed space instead of space in object if available
| | * | fix Morphable so that it works with color spaces. It prefers the `to` space ↵Ulrich-Matthias Schäfer2018-11-252-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | over the `from` space - _d is initialized to 0 so toArray does not give you undefined - fix tests
| * | | Implemented random colors and added back the playgroundsSaivan2018-12-021-9/+64
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds back the playgrounds and the npm demo. We also implemented a few methods to generate pretty random colors. Changes ======= - Added back the playgrounds and the npm demos - Implemented a few random color generators
| * | Finished off the color spaces, we are all green!Saivan2018-11-261-204/+131
| | | | | | | | | | | | | | | | | | | | | | | | We now have tested and working color spaces, isn't that nice! Changes ======= - All color spaces are working
| * | Reverted some of the lint rules after chatting with fuzzySaivan2018-11-2668-3994/+1994
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit reverts some of the rules we added on the linter, it changed a lot of code again... but these won't happen too often. Changes ======= - Modified the linter again
| * | Updated all of the color modules and old tests are passing againSaivan2018-11-251-109/+412
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit updates the color modules, so that the old tests pass, we just need to modify the tests to test some of the new functionality (Since there was a lot of copy and paste work done haha) Changes ======= - Updated the color module to support a number of color spaces - Made sure all of the old tests are working again
| * | Changed the esLint rules to avoid silly ternary operators, and to let code ↵Saivan2018-11-2568-2039/+4079
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | breathe! This commit modifies some of the eslint rules, to allow our code to be a little bit more readable. This came about because we had a particularly pesky problem, where the code was indenting ternary operators. This fixes that, and makes it easy to add new rules to eslint as we please in the future. Changes ======= - Rebuilt the library with new eslint rules - Changed the eslintrc file to a yaml file by default
* | | add back move and dmove for groupsUlrich-Matthias Schäfer2018-12-011-0/+26
| | |
* | | dont generate esm bundle anymore and link to src/main.js directly. Move ↵Ulrich-Matthias Schäfer2018-12-012-5/+5
| |/ |/| | | | | | | | | bower to its own repo rename makeNode back to create
* | run buildUlrich-Matthias Schäfer2018-11-281-1/+1
| |
* | add tests for all exports of adopterUlrich-Matthias Schäfer2018-11-281-6/+12
| |
* | plumber differences between node and browser so that tests run on bothUlrich-Matthias Schäfer2018-11-283-12/+41
| |
* | Fix build chain so that we now have multiple builds. Details below:Ulrich-Matthias Schäfer2018-11-286-13/+115
| | | | | | | | | | | | | | | | | | | | | | - svg.js: The esm bundle - svg.min.js: The bundle for all browsers for maximum support - svg.node.js: The bundle for node - polyfill.js: Using svg.min.js requires this polyfill in case the Browser does not understand all of ./config/polyfillList.js - polyfillIE.js: This is required when you use IE11 (polyfill.js still required) Please note, that not all test pass for IE11 due to its rounding issues and wrong calculation of bbox. Also note, that `defaultPrevented` is not working for CustomEvents in IE11.
* | fix bugs in runner, fix importsUlrich-Matthias Schäfer2018-11-263-7/+7
| |
* | Moved utils, namespaces, regex... to a subobject of SVG. Renamed SVGArray ↵Ulrich-Matthias Schäfer2018-11-242-11/+8
| | | | | | | | and SVGNumber on export to Array and Number
* | Get rid of HTMLNode and Bare in favor of DomUlrich-Matthias Schäfer2018-11-248-57/+28
| | | | | | | | | | - words() and element() added to Dom - svg() now returns the _parent_ of the imported element, when outerHTML is true (which means an element gets replaces)
* | fixed lots of bugs in the timeline. Its now working as expected in all cases.Ulrich-Matthias Schäfer2018-11-232-30/+37
| | | | | | | | | | | | | | | | - refactor code into functions - handle timeSource correctly - allow for immediate updates - Runners dont know about their delay anymore. Thats far more simple. - Timeline is paused on creation
* | fix Timeline so that play, pause, stop, reverse... work correctly. Update ↵Ulrich-Matthias Schäfer2018-11-223-21/+51
| | | | | | | | runners accordingly
* | rewrite few lines of adopterUlrich-Matthias Schäfer2018-11-211-12/+9
| |
* | add default parameter for timeSourceUlrich-Matthias Schäfer2018-11-211-5/+7
| |
* | add register for insertBefore and insertAfterUlrich-Matthias Schäfer2018-11-202-8/+15
|/
* rename `doc()` to `root()` and `toDoc()` to `toRoot()` as dicussed in (#932)Ulrich-Matthias Schäfer2018-11-195-13/+13
|