Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed a few more specifications regarding the new transforms | Saivan | 2018-03-02 | 1 | -1/+1 |
| | |||||
* | Merge branch '3.0.0' of github.com:svgdotjs/svg.js into 786-new-transformations | Saivan | 2018-03-02 | 1 | -1/+21 |
|\ | |||||
| * | make ungroup working on groups and nested for one depths | Ulrich-Matthias Schäfer | 2018-03-01 | 1 | -1/+21 |
| | | |||||
* | | Fixed some tests involving transforms and elements | Saivan | 2018-03-02 | 11 | -123/+112 |
|\| | |||||
| * | fixed all that errors which come along when removing an object. Fixed tests, ↵ | Ulrich-Matthias Schäfer | 2018-03-01 | 9 | -42/+38 |
| | | | | | | | | too and added isRoot test | ||||
| * | return explicit null if there is no root | Ulrich-Matthias Schäfer | 2018-03-01 | 1 | -1/+3 |
| | | |||||
| * | merge SVG.Doc and SVG.Nested. Add isRoot() method, update doc methods to ↵ | Ulrich-Matthias Schäfer | 2018-03-01 | 4 | -31/+28 |
| | | | | | | | | decide between doc and nested | ||||
| * | search and replace replaced to much | Ulrich-Matthias Schäfer | 2018-02-27 | 1 | -2/+2 |
| | | |||||
| * | found the error whereelse. go back to version before with applied fix | Ulrich-Matthias Schäfer | 2018-02-27 | 1 | -13/+9 |
| | | |||||
| * | fixed error that listener was strangely defined even if function was called ↵ | Ulrich-Matthias Schäfer | 2018-02-27 | 1 | -8/+13 |
| | | | | | | | | without | ||||
| * | fix errors found by linter (jeah it works!) | Ulrich-Matthias Schäfer | 2018-02-27 | 2 | -12/+12 |
| | | |||||
| * | proposal for #807, includes #550, allow multiple events for `SVG.off()` and ↵ | Ulrich-Matthias Schäfer | 2018-02-27 | 3 | -80/+73 |
| | | | | | | | | add option argument | ||||
* | | Implemented new transformations | Saivan | 2018-03-02 | 7 | -190/+187 |
| | | | | | | | | | | | | 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 enjoyable | Saivan | 2018-02-27 | 4 | -434/+207 |
| | | | | | | | | | | | | | | 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 linter | Saivan | 2018-02-27 | 53 | -1712/+2055 |
|\| | | | | | | | | | I added the linter here to make programming and running the tests easier throughout the programming process. | ||||
| * | Fixed a few hanging issues with the linter | Saivan | 2018-02-27 | 5 | -13/+51 |
| | | | | | | | | | | This commit fixes a few typesetting issues that probably resulted from the automated linting process | ||||
| * | So the standard linter is operational and our code is compliant | Saivan | 2018-02-27 | 10 | -45/+52 |
| | | | | | | | | | | | | 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 errors | Saivan | 2018-02-27 | 21 | -18/+47 |
| | | | | | | | | | | | | 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 linting | Saivan | 2018-02-27 | 21 | -599/+606 |
| | | | | | | | | | | | | 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 linting | Saivan | 2018-02-27 | 31 | -1191/+1182 |
| | | | | | | | | | | | | 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 matrix | Saivan | 2018-02-26 | 3 | -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 module | Saivan | 2018-02-26 | 2 | -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 retire | Saivan | 2018-02-25 | 5 | -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äfer | 2018-02-07 | 1 | -2/+6 |
| | |||||
* | remove `SVG.A.show()` to resolve nameclash (fix #802) | Ulrich-Matthias Schäfer | 2018-02-06 | 1 | -4/+0 |
| | |||||
* | improved SVG.on and el.on (#727) | Ulrich-Matthias Schäfer | 2017-07-28 | 1 | -23/+25 |
| | | | | | - `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äfer | 2017-07-28 | 2 | -8/+8 |
| | | | | creating an element | ||||
* | fix bug where defs returns nothing | Ulrich-Matthias Schäfer | 2017-07-25 | 1 | -1/+1 |
| | |||||
* | add new default constructor (#714) | Ulrich-Matthias Schäfer | 2017-07-25 | 10 | -39/+21 |
| | |||||
* | Lots of breaking changes. Read below! (#646, #716) | Ulrich-Matthias Schäfer | 2017-07-25 | 13 | -109/+133 |
| | | | | | | | | | | - added `SVG.HTMLNode` which is the object wrapped around html nodes to put something in them - moved `defs()` method from `SVG.Parent` to `SVG.Element` - `SVG()` can be called with css selector, node or svg string, now. Without an argument it creates a new `SVG.Doc()` (#646) - `add()`, `put()`, `addTo()`, `putIn()` now excepts all arguments accepted by `SVG()` - `SVG.Nested` is not `overflow:visible` by default - all `SVG.*` objects now can have a node as parameter when constructing - `SVG()` does not set a default size anymore | ||||
* | use `children` instead of `childNodes` (#710), renamed `previous()` to `prev()` | Ulrich-Matthias Schäfer | 2017-07-10 | 6 | -22/+20 |
| | |||||
* | renamed `fill()` method on `SVG.Gradient` and `SVG.Pattern` to `url()` (#708) | Ulrich-Matthias Schäfer | 2017-07-07 | 2 | -4/+4 |
| | |||||
* | renamed `SVG.Stop` constructor `at()` on `SVG.Gradient` to `stop()` (#707) | Ulrich-Matthias Schäfer | 2017-07-07 | 1 | -1/+1 |
| | |||||
* | reworked textPath (see #705) | Ulrich-Matthias Schäfer | 2017-07-07 | 3 | -37/+56 |
| | |||||
* | Merge branch 'master' into 3.0.0 | Ulrich-Matthias Schäfer | 2017-07-06 | 3 | -16/+49 |
|\ | | | | | | | | | | | | | | | Conflicts (All resolved): dist/svg.js dist/svg.min.js package.json src/doc.js | ||||
| * | fix array values which were not animated (#698) | Ulrich-Matthias Schäfer | 2017-07-06 | 1 | -0/+2 |
| | | |||||
| * | Removed unused parameter spof of function spof() | Malte Fastrup Lyngsø | 2017-06-06 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #676 from jcorentin/fix-height-width-animation | Rémi Tétreault | 2017-05-26 | 1 | -0/+8 |
| |\ | | | | | | | Make width() and height() setters animatable | ||||
| | * | Add animatable width & height | Corentin J | 2017-05-11 | 1 | -0/+8 |
| | | | |||||
| * | | fixed `SVG.FX.step` so that the animation doesn't stop if an afterAll ↵ | Rémi Tétreault | 2017-05-14 | 1 | -2/+6 |
| |/ | | | | | | | callback call animate (#677) | ||||
| * | revert the previous commit | Rémi Tétreault | 2017-05-02 | 1 | -7/+4 |
| | | | | | | | | remove the typeof check in the initialisation of SVG.Matrix | ||||
| * | allow SVG.Matrix to be passed SVG.Number | Rémi Tétreault | 2017-05-01 | 1 | -4/+7 |
| | | |||||
| * | Adds the intended functionality to call animate functions with multiple ↵ | Ulrich-Matthias Schäfer | 2017-04-30 | 2 | -10/+29 |
| | | | | | | | | | | parameter (#671) e.g. `el.animate().zoom(level, point)` | ||||
| * | fixed `SVG.FX.once` so that it add its callback on the last situation ↵ | Rémi Tétreault | 2017-04-30 | 1 | -3/+3 |
| | | | | | | | | instead of the current one | ||||
| * | fixed a bug in path parser which made it stop parsing when hitting z command ↵ | Ulrich-Matthias Schäfer | 2017-04-25 | 1 | -1/+1 |
| | | | | | | | | (#665) | ||||
* | | `SVG.extend` now expects exactly one module or an array of modules | Ulrich-Matthias Schäfer | 2017-04-25 | 9 | -20/+16 |
| | | | | | | | | | | | | Conflicts: dist/svg.js dist/svg.min.js | ||||
* | | fixed a bug in path parser which made it stop parsing when hitting z command ↵ | Ulrich-Matthias Schäfer | 2017-04-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | (#665) Conflicts: bench/runner.html dist/svg.js dist/svg.min.js package.json | ||||
* | | ids are not generated upon creation anymore | Ulrich-Matthias Schäfer | 2017-04-23 | 5 | -18/+22 |
| | | | | | | | | Instead they are generated when requested (#559) | ||||
* | | changed `style()` to `css()` | Ulrich-Matthias Schäfer | 2017-04-22 | 6 | -34/+41 |
| | | | | | | | | | | it now accepts array as input and returns object when no argument given (#517) also removed sub-pixel offset fix | ||||
* | | rename style to css | Ulrich-Matthias Schäfer | 2017-04-22 | 1 | -0/+0 |
| | |