Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | Merge branch 'master' into 3.0.0 | Ulrich-Matthias Schäfer | 2017-04-22 | 11 | -118/+164 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts - all resolved: # dist/svg.js # dist/svg.min.js # package.json # spec/SpecRunner.html # spec/spec/boxes.js # spec/spec/element.js # spec/spec/image.js # spec/spec/svg.js # src/boxes.js # src/flatten.js # src/image.js # src/polyfill.js # src/style.js # src/svg.js | ||||
| * | added `options` to `on()`, back to sloppy mode2.6.0 | Ulrich-Matthias Schäfer | 2017-04-21 | 1 | -3/+1 |
| | | | | | | | | | | - added `options` object to `SVG.on()` and `el.on()` (#661) - back to sloppy mode because of problems with plugins (#660) | ||||
| * | add options arguments to `on()` | Ulrich-Matthias Schäfer | 2017-04-20 | 1 | -4/+4 |
| | | |||||
| * | Fix the flip transform on both axis | Rémi Tétreault | 2017-04-15 | 2 | -12/+29 |
| | | | | | | | | | | This fix the bug that made calling flip without any argument (`element.flip()`) not work. | ||||
| * | use strict removed from umd wrapper by virtue of being ugly and assuring ↵ | dotnetCarpenter | 2017-04-12 | 1 | -1/+0 |
| | | | | | | | | fuzzyma's sleep at night | ||||
| * | skip coverage for UMD | dotnetCarpenter | 2017-04-11 | 1 | -0/+2 |
| | | |||||
| * | clean up and added changes to CHANGELOG | dotnetCarpenter | 2017-04-11 | 1 | -1/+2 |
| | | |||||
| * | namespace not declared in the Event module | dotnetCarpenter | 2017-04-11 | 1 | -1/+1 |
| | | |||||
| * | fixed bbox not declared in SVG.Box.transform | dotnetCarpenter | 2017-04-11 | 1 | -4/+3 |
| | | |||||
| * | fixed len being undeclared | dotnetCarpenter | 2017-04-11 | 1 | -1/+1 |
| | | |||||
| * | changing to strict mode - some failures occur | dotnetCarpenter | 2017-04-11 | 2 | -2/+4 |
| | | |||||
| * | make last test passing in svg docs | Ulrich-Matthias Schäfer | 2017-04-09 | 1 | -2/+2 |
| | | |||||
| * | clear does not remove parser anymore | Ulrich-Matthias Schäfer | 2017-03-29 | 4 | -4/+18 |
| | | | | | | | | make test work in svg documents |