Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix playgrounds, delete unneeded files | Ulrich-Matthias Schäfer | 2018-12-01 | 2 | -12/+18 |
| | |||||
* | Merge branch '790-color-spaces' into 3.0.0 | Ulrich-Matthias Schäfer | 2018-12-01 | 29 | -230/+567 |
|\ | |||||
| * | Merge branch '790-color-spaces' into 791-random-colors | Ulrich-Matthias Schäfer | 2018-12-01 | 19 | -208/+368 |
| |\ | |||||
| | * | clamp values in toHex, tests, replace for of with for in | Ulrich-Matthias Schäfer | 2018-12-01 | 1 | -8/+11 |
| | | | |||||
| | * | Merge branch '3.0.0' into 790-color-spaces | Ulrich-Matthias Schäfer | 2018-11-30 | 18 | -186/+320 |
| | |\ | |||||
| | * | | Fix bug when converting black to cymk space | Ulrich-Matthias Schäfer | 2018-11-26 | 1 | -0/+6 |
| | | | | |||||
| | * | | Make color-animation work in all spaces (conversion bugs still there) | Ulrich-Matthias Schäfer | 2018-11-26 | 4 | -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äfer | 2018-11-25 | 2 | -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 playgrounds | Saivan | 2018-12-02 | 1 | -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! | Saivan | 2018-11-26 | 1 | -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 fuzzy | Saivan | 2018-11-26 | 68 | -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 again | Saivan | 2018-11-25 | 1 | -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 ↵ | Saivan | 2018-11-25 | 68 | -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 groups | Ulrich-Matthias Schäfer | 2018-12-01 | 1 | -0/+26 |
| | | | |||||
* | | | dont generate esm bundle anymore and link to src/main.js directly. Move ↵ | Ulrich-Matthias Schäfer | 2018-12-01 | 2 | -5/+5 |
| |/ |/| | | | | | | | | | bower to its own repo rename makeNode back to create | ||||
* | | run build | Ulrich-Matthias Schäfer | 2018-11-28 | 1 | -1/+1 |
| | | |||||
* | | add tests for all exports of adopter | Ulrich-Matthias Schäfer | 2018-11-28 | 1 | -6/+12 |
| | | |||||
* | | plumber differences between node and browser so that tests run on both | Ulrich-Matthias Schäfer | 2018-11-28 | 3 | -12/+41 |
| | | |||||
* | | Fix build chain so that we now have multiple builds. Details below: | Ulrich-Matthias Schäfer | 2018-11-28 | 6 | -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 imports | Ulrich-Matthias Schäfer | 2018-11-26 | 3 | -7/+7 |
| | | |||||
* | | Moved utils, namespaces, regex... to a subobject of SVG. Renamed SVGArray ↵ | Ulrich-Matthias Schäfer | 2018-11-24 | 2 | -11/+8 |
| | | | | | | | | and SVGNumber on export to Array and Number | ||||
* | | Get rid of HTMLNode and Bare in favor of Dom | Ulrich-Matthias Schäfer | 2018-11-24 | 8 | -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äfer | 2018-11-23 | 2 | -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äfer | 2018-11-22 | 3 | -21/+51 |
| | | | | | | | | runners accordingly | ||||
* | | rewrite few lines of adopter | Ulrich-Matthias Schäfer | 2018-11-21 | 1 | -12/+9 |
| | | |||||
* | | add default parameter for timeSource | Ulrich-Matthias Schäfer | 2018-11-21 | 1 | -5/+7 |
| | | |||||
* | | add register for insertBefore and insertAfter | Ulrich-Matthias Schäfer | 2018-11-20 | 2 | -8/+15 |
|/ | |||||
* | rename `doc()` to `root()` and `toDoc()` to `toRoot()` as dicussed in (#932) | Ulrich-Matthias Schäfer | 2018-11-19 | 5 | -13/+13 |
| | |||||
* | renamed `Doc` to `Svg` according to (#932) | Ulrich-Matthias Schäfer | 2018-11-19 | 5 | -20/+17 |
| | |||||
* | changed image callback according to (#931) | Ulrich-Matthias Schäfer | 2018-11-17 | 3 | -8/+2 |
| | |||||
* | cleanup a few files | Ulrich-Matthias Schäfer | 2018-11-17 | 4 | -16/+15 |
| | |||||
* | remove native() methods, add methods of types directly to elemenet | Ulrich-Matthias Schäfer | 2018-11-12 | 6 | -83/+46 |
| | |||||
* | reworked parents so that it is useful now, changelog | Ulrich-Matthias Schäfer | 2018-11-12 | 1 | -7/+11 |
| | |||||
* | ticking off the last checkbox of (#645). return List whenever possible | Ulrich-Matthias Schäfer | 2018-11-12 | 3 | -9/+8 |
| | |||||
* | make List return new lists on method calls, add map to array polyfill so ↵ | Ulrich-Matthias Schäfer | 2018-11-12 | 6 | -21/+52 |
| | | | | that this works, fix runner | ||||
* | change method name, make strings more pleasing to read | Ulrich-Matthias Schäfer | 2018-11-12 | 2 | -10/+10 |
| | |||||
* | adds `List` which does bring back `SVG.Set` in an elegant way (#645) | Ulrich-Matthias Schäfer | 2018-11-12 | 5 | -26/+64 |
| | |||||
* | evaluate window and document on access and not on import | Ulrich-Matthias Schäfer | 2018-11-12 | 15 | -140/+46 |
| | |||||
* | make window and document exchangeable in case they are not globals alreay, ↵ | Ulrich-Matthias Schäfer | 2018-11-11 | 24 | -4/+64 |
| | | | | make sure that init functions are chaninable | ||||
* | add registering for forgotten classes | Ulrich-Matthias Schäfer | 2018-11-09 | 5 | -3/+19 |
| | |||||
* | added possibility to pass in additional attribues to element creators (#796) | Ulrich-Matthias Schäfer | 2018-11-08 | 24 | -87/+138 |
| | | | | | | e.g. - `canvas.rect({x:100})` or - `canvas.rect(100, 100, {x:100})` | ||||
* | added possibility to pass attribues into a constructor like: `new ↵ | Ulrich-Matthias Schäfer | 2018-11-08 | 30 | -40/+68 |
| | | | | SVG.Rect({width:100})` | ||||
* | `fill()` and `stroke()` return the fill and stroke attribute when called as ↵ | Ulrich-Matthias Schäfer | 2018-11-08 | 1 | -1/+1 |
| | | | | getter (#789) | ||||
* | added `ax(), ay(), amove()` to change texts x and y values directly (#787) | Ulrich-Matthias Schäfer | 2018-11-08 | 1 | -0/+12 |
| | |||||
* | `SVG.Text.rebuild()` now takes every font-size into account (#512) | Ulrich-Matthias Schäfer | 2018-11-08 | 1 | -1/+5 |
| | |||||
* | implements `round()` (#916) | Ulrich-Matthias Schäfer | 2018-11-08 | 1 | -0/+19 |
| | |||||
* | size function of circle now only accepts one argument (#788) | Ulrich-Matthias Schäfer | 2018-11-08 | 3 | -13/+17 |
| | |||||
* | add styletags | Ulrich-Matthias Schäfer | 2018-11-08 | 3 | -0/+59 |
| | |||||
* | get rid of the fixmes and todos | Ulrich-Matthias Schäfer | 2018-11-08 | 10 | -36/+20 |
| | |||||
* | added insertAfter/Before, introduce attrHooks, move few methods, ↵ | Ulrich-Matthias Schäfer | 2018-11-08 | 7 | -59/+88 |
| | | | | SVG.Text.textPath returns first textPath child now |