Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | added tests for Line | Ulrich-Matthias Schäfer | 2020-04-10 | 2 | -2/+106 | |
| | ||||||
* | added tests for Image | Ulrich-Matthias Schäfer | 2020-04-09 | 2 | -1/+118 | |
| | ||||||
* | added test for Gradient | Ulrich-Matthias Schäfer | 2020-04-09 | 3 | -44/+127 | |
| | ||||||
* | added tests for ellipse | Ulrich-Matthias Schäfer | 2020-04-09 | 1 | -0/+60 | |
| | ||||||
* | added tests for Defs | Ulrich-Matthias Schäfer | 2020-04-09 | 1 | -0/+31 | |
| | ||||||
* | fixes and tests | Ulrich-Matthias Schäfer | 2020-04-09 | 4 | -19/+168 | |
| | | | | | | - fixed flatten and ungroup - added position argument to ungroup, toParent and toRoot - added tests for Container | |||||
* | added tests for ClipPath | Ulrich-Matthias Schäfer | 2020-04-08 | 1 | -0/+94 | |
| | ||||||
* | added tests for Circle | Ulrich-Matthias Schäfer | 2020-04-08 | 1 | -0/+66 | |
| | ||||||
* | fix defs and reference, tests for Element | Ulrich-Matthias Schäfer | 2020-04-08 | 2 | -0/+285 | |
| | ||||||
* | tests for EventTarget | Ulrich-Matthias Schäfer | 2020-04-08 | 2 | -1/+133 | |
| | ||||||
* | added Fragment, completed Dom Tests, fixed `matches()` for document fragments | Ulrich-Matthias Schäfer | 2020-04-08 | 3 | -8/+383 | |
| | ||||||
* | added second parameter to `addTo` and `putIn`. Added deep clone parameter to ↵ | Ulrich-Matthias Schäfer | 2020-04-05 | 1 | -3/+247 | |
| | | | | `clone`. Tests for Dom | |||||
* | renamed removeNamespace() | Ulrich-Matthias Schäfer | 2020-04-04 | 1 | -3/+3 | |
| | ||||||
* | - fixed `put()` which correctly creates an svgjs object from the passed ↵ | Ulrich-Matthias Schäfer | 2020-04-03 | 3 | -19/+224 | |
| | | | | | | | | element now before returning - fixed `parent()` which correctly returns null if direct parent is the document or a document-fragment - fixed `add()` which correctly removes namespaces of non-root svg elements now when added to another svg element (#1086) - fixed `isRoot()` which correctly returns false, if the element is in a document-fragment | |||||
* | fixed put and adopter, added tests to cover it | Ulrich-Matthias Schäfer | 2020-03-29 | 4 | -102/+147 | |
| | ||||||
* | This is a big one... | Ulrich-Matthias Schäfer | 2020-03-28 | 24 | -1023/+2106 | |
| | | | | | | | | | | | | | | | | | | | | ### Fixed - fixed `zoom()` method of runner which was passed a wrong parameter - fixed positioning methods of `TSpan` to position them by its bounding box - fixed `flip()` method which flips correctly by center by default now and accepts correct arguments - fixed a case in `rbox()` where not always all values of the box were updated - fixed `getOrigin()` function used by `transform()` so that all origin (#1085) popssibilities specified in the docs are working - fixed positioning of text by its baseline when using `amove()` - fixed tons of typings in the svg.d.ts file ### Added - added second Parameter to `SVG(el, isHTML)` which allows to explicitely create elements in the HTML namespace (#1058) - added `unlink()` and `linker()` to hyperlinked elements to remove or access the underling `<a>` element - added `wrap()` method to `Dom` which lets you wrap an element by another one - added `orient()` method to `Marker` - added `options` parameter to `dispatch()` and `fire()` to allow for more special needs - added `newLine()` constructor to `Text` to create a tspan marked as new line (#1088) - added lots of tests in es6 format | |||||
* | Added tests for 0 value width/height wrong path scaling | Valentin | 2019-05-09 | 1 | -0/+9 | |
| | ||||||
* | bugfix for issue 964 | Michael Becker | 2019-02-23 | 2 | -0/+113 | |
| | ||||||
* | added foreignObject to the core | Ulrich-Matthias Schäfer | 2019-02-18 | 1 | -0/+47 | |
| | ||||||
* | fix travis test | Ulrich-Matthias Schäfer | 2019-01-22 | 1 | -2/+2 | |
| | ||||||
* | fixed move and center commands for text | Ulrich-Matthias Schäfer | 2019-01-22 | 1 | -29/+23 | |
| | | | | | - 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 Browser | Ulrich-Matthias Schäfer | 2019-01-18 | 1 | -18/+29 | |
| | ||||||
* | fixed `root()`, `textPath()`, `text.path()` and `path.text()` and removed ↵3.0.10 | Ulrich-Matthias Schäfer | 2019-01-14 | 1 | -1/+14 | |
| | | | | font-family and size from the defaults list | |||||
* | fixed `textPath()` and `path().text()` | Ulrich-Matthias Schäfer | 2019-01-14 | 1 | -3/+32 | |
| | ||||||
* | Fix move and size of groups, removed setting of a default font so we dont ↵ | Ulrich-Matthias Schäfer | 2019-01-12 | 1 | -16/+126 | |
| | | | | act against user intention, fixed bug in `font()` | |||||
* | Add tests | Erik Demaine | 2018-12-14 | 1 | -0/+28 | |
| | ||||||
* | Release 3.0.53.0.5 | Ulrich-Matthias Schäfer | 2018-12-12 | 4 | -2/+143 | |
| | ||||||
* | Release 3.0.43.0.4 | Ulrich-Matthias Schäfer | 2018-12-07 | 1 | -1/+18 | |
| | ||||||
* | fix playgrounds, delete unneeded files | Ulrich-Matthias Schäfer | 2018-12-01 | 1 | -5/+5 | |
| | ||||||
* | Merge branch '790-color-spaces' into 3.0.0 | Ulrich-Matthias Schäfer | 2018-12-01 | 2 | -31/+255 | |
|\ | ||||||
| * | clamp values in toHex, tests, replace for of with for in | Ulrich-Matthias Schäfer | 2018-12-01 | 1 | -32/+40 | |
| | | ||||||
| * | Merge branch '3.0.0' into 790-color-spaces | Ulrich-Matthias Schäfer | 2018-11-30 | 29 | -446/+839 | |
| |\ | ||||||
| * | | fix Morphable so that it works with color spaces. It prefers the `to` space ↵ | Ulrich-Matthias Schäfer | 2018-11-25 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | over the `from` space - _d is initialized to 0 so toArray does not give you undefined - fix tests | |||||
| * | | Finished off the color spaces, we are all green! | Saivan | 2018-11-26 | 1 | -15/+119 | |
| | | | | | | | | | | | | | | | | | | | | | | | | We now have tested and working color spaces, isn't that nice! Changes ======= - All color spaces are working | |||||
| * | | Updated all of the color modules and old tests are passing again | Saivan | 2018-11-25 | 2 | -31/+77 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | | | dont generate esm bundle anymore and link to src/main.js directly. Move ↵ | Ulrich-Matthias Schäfer | 2018-12-01 | 2 | -6/+6 | |
| |/ |/| | | | | | | | | | bower to its own repo rename makeNode back to create | |||||
* | | fix testing with svgdom | Ulrich-Matthias Schäfer | 2018-11-28 | 4 | -42/+56 | |
| | | ||||||
* | | merge karma configurations | Ulrich-Matthias Schäfer | 2018-11-28 | 1 | -3/+3 | |
| | | ||||||
* | | include adopter tests in test bundle | Ulrich-Matthias Schäfer | 2018-11-28 | 1 | -1/+1 | |
| | | ||||||
* | | add tests for all exports of adopter | Ulrich-Matthias Schäfer | 2018-11-28 | 3 | -2/+165 | |
| | | ||||||
* | | make es5 tests | Ulrich-Matthias Schäfer | 2018-11-28 | 1 | -2/+4 | |
| | | ||||||
* | | plumber differences between node and browser so that tests run on both | Ulrich-Matthias Schäfer | 2018-11-28 | 8 | -112/+216 | |
| | | ||||||
* | | make tests work in node and browser | Ulrich-Matthias Schäfer | 2018-11-28 | 3 | -11/+77 | |
| | | ||||||
* | | started to add es6 tests using svgdom as fallback in case no dom is found | Ulrich-Matthias Schäfer | 2018-11-28 | 5 | -0/+277 | |
| | | ||||||
* | | Fix build chain so that we now have multiple builds. Details below: | Ulrich-Matthias Schäfer | 2018-11-28 | 7 | -34/+24 | |
| | | | | | | | | | | | | | | | | | | | | | | - 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. | |||||
* | | Moved utils, namespaces, regex... to a subobject of SVG. Renamed SVGArray ↵ | Ulrich-Matthias Schäfer | 2018-11-24 | 10 | -350/+69 | |
| | | | | | | | | 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 | 4 | -49/+41 | |
| | | | | | | | | | | - 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 | 1 | -3/+3 | |
|/ | | | | | | | | - 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 | |||||
* | rename `doc()` to `root()` and `toDoc()` to `toRoot()` as dicussed in (#932) | Ulrich-Matthias Schäfer | 2018-11-19 | 2 | -9/+9 | |
| | ||||||
* | renamed `Doc` to `Svg` according to (#932) | Ulrich-Matthias Schäfer | 2018-11-19 | 5 | -18/+18 | |
| |