Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | prefix globals with window so window can be injected properly | Ulrich-Matthias Schäfer | 2017-03-18 | 5 | -6/+6 | |
| | | ||||||
| * | fixes bug in style when css string ends with ; | Ulrich-Matthias Schäfer | 2017-03-16 | 1 | -4/+6 | |
| | | ||||||
* | | removed `loaded()` and `error()`/`changed load()` | Ulrich-Matthias Schäfer | 2017-03-19 | 2 | -40/+22 | |
| | | | | | | | | | | | | SVG.Image is now constructed with: - container.image(src, callback) - new SVG.Image().load(src, callback) | |||||
* | | missed another one | Ulrich-Matthias Schäfer | 2017-03-19 | 1 | -1/+1 | |
| | | ||||||
* | | prefix globals with window so window can be injected properly | Ulrich-Matthias Schäfer | 2017-03-18 | 5 | -6/+6 | |
| | | ||||||
* | | removing SVG.Set completely | Ulrich-Matthias Schäfer | 2017-03-16 | 8 | -199/+19 | |
| | | ||||||
* | | rework import/export method to be more straight forward and without regex magic | Ulrich-Matthias Schäfer | 2017-03-16 | 1 | -16/+11 | |
| | | ||||||
* | | remove feature to set style with css string | Ulrich-Matthias Schäfer | 2017-03-16 | 2 | -17/+14 | |
| | | ||||||
* | | Merge branch 'master' into 3.0.0 | Ulrich-Matthias Schäfer | 2017-03-16 | 7 | -29/+10 | |
|\| | | | | | | | | | | | | | Conflicts (all resolved): dist/svg.js dist/svg.min.js spec/spec/boxes.js | |||||
| * | make more tests pass in IE | Ulrich-Matthias Schäfer | 2017-03-15 | 1 | -3/+0 | |
| | | ||||||
| * | move most regexe to SVG.regex, fix matrix constructor for string argument | Ulrich-Matthias Schäfer | 2017-03-14 | 7 | -26/+10 | |
| | | ||||||
* | | unified all boxes (#634) | Ulrich-Matthias Schäfer | 2017-03-16 | 5 | -249/+105 | |
| | | | | | | | | | | | | | | | | unified all boxes - SVG.Box for everything - bbox, rbox and viewbox as methods - boxes can be created with string, array, object, list... - added helper to simplify boxes code | |||||
* | | update specs, fix mistakes, include flatten.js to dist | Ulrich-Matthias Schäfer | 2017-03-10 | 2 | -2/+2 | |
| | | ||||||
* | | Making initial changes for svg.js v3.0 | Ulrich-Matthias Schäfer | 2017-03-10 | 10 | -120/+58 | |
|/ | | | | | | | | | | | | - removed `SVG.Array.split()` function (#604) - removed workaround for browser bug with stroke-width (#560) - removed polyfills - removed `ungroup()` in favour of `flatten()` - gradients now have their corresponding nodename as type and not only radial/linear (#606) - `SVG.Path.pointAt()` correctly returns an `SVG.Point` now (#607) - replaced static reference to `masker` in `SVG.Mask` with the `masker()` method - replaced static reference to `clipper` in `SVG.ClipPath` with the `clipper()` method - replaced static reference to `targets` in `SVG.Mask` and `SVG.ClipPath` with the `targets()` method (all three #563) | |||||
* | fix bug in box when box with top and left is given which is 0 (#632) | Ulrich-Matthias Schäfer | 2017-03-09 | 1 | -1/+1 | |
| | ||||||
* | fixed a bug with clone which didnt copy over dom data (#621) | Ulrich-Matthias Schäfer | 2017-03-09 | 1 | -1/+4 | |
| | ||||||
* | make events cancelable by default (#550) - version 5 | Ulrich-Matthias Schäfer | 2017-03-09 | 2 | -13/+18 | |
| | ||||||
* | start the animation when after(All)/during(All) is called (#583) | Ulrich-Matthias Schäfer | 2017-03-09 | 2 | -9/+17 | |
| | ||||||
* | Fix offset produced by svg parser (#553) | Ulrich-Matthias Schäfer | 2017-03-08 | 1 | -1/+1 | |
| | ||||||
* | add ability to use `font()` method like `attr()` method (#620) | Ulrich-Matthias Schäfer | 2017-03-08 | 1 | -10/+11 | |
| | ||||||
* | fix documet.contains bug in IE (#612) | Ulrich-Matthias Schäfer | 2017-03-08 | 1 | -2/+11 | |
| | ||||||
* | added SVG.Box, added transform method to boxes, fix rbox (#626) | Ulrich-Matthias Schäfer | 2017-03-08 | 4 | -83/+105 | |
| | | | | | | | | added SVG.Box, added transform method to boxes, fix rbox Also: - workaround for screenCTM with nested svg (FF bug) - remove unneeded workaround in toParent() - rbox accepts additional parameter to transform the box | |||||
* | fixes SVG.PointArray.size() which created NaN when the bbox of the point ↵ | Ulrich-Matthias Schäfer | 2017-03-08 | 1 | -2/+2 | |
| | | | | | | | | array had zero height/width (#625) fixes SVG.PointArray.size() which created NaN when the bbox of the point array had zero height/width * update changelog | |||||
* | Fix Animating a flip transform does not work #624 | Rémi Tétreault | 2017-03-07 | 1 | -2/+2 | |
| | ||||||
* | Make the method dequeue stop the current animation | Rémi Tétreault | 2017-03-07 | 1 | -5/+6 | |
| | | | | | | | | | There was a bug in the dequeue method of the FX module. It was not stopping the current animation as it was supposed too. This bug is now fixed. Also, I rewritten the test that @fuzzyma left commented. I changed its implementation to not use the once callback since there seem to be some issues when combining once and dequeue. The method stop was also modified, it now call start only when it's revelant. | |||||
* | make flip working with both axis when no parameter / only offset is passed | Ulrich-Matthias Schäfer | 2017-03-06 | 2 | -2/+8 | |
| | ||||||
* | fix bug in rebuild, remove x adjusting in x method (#616) | Ulrich-Matthias Schäfer | 2017-03-06 | 1 | -6/+1 | |
| | ||||||
* | speed up path parsing for most cases | Ulrich-Matthias Schäfer | 2017-03-06 | 4 | -28/+17 | |
| | | | | added test, added pathArray speed bench | |||||
* | added `font()` method to `SVG.Tspan` (#599) | Ulrich-Matthias Schäfer | 2017-03-05 | 1 | -1/+1 | |
| | ||||||
* | `dx()/dy()` now accepts percentage values, too (#524) | Ulrich-Matthias Schäfer | 2017-03-05 | 1 | -2/+2 | |
| | | | | but only if the value on the element is already percentage | |||||
* | fixed error in event which did not clean up `SVG.handlerMap` properly (#518) | Ulrich-Matthias Schäfer | 2017-03-05 | 1 | -0/+1 | |
| | ||||||
* | removed at() helper which is not used anymore | Ulrich-Matthias Schäfer | 2017-03-03 | 1 | -13/+0 | |
| | ||||||
* | fixed bug in SVG.Transformations when creating with array/argument list. | Ulrich-Matthias Schäfer | 2017-02-28 | 1 | -16/+13 | |
| | | | | added tests to increase code coverage | |||||
* | added tests to increase code coverage | Ulrich-Matthias Schäfer | 2017-02-28 | 2 | -1/+3 | |
| | ||||||
* | removed old fx code which is unused (#605) | Ulrich-Matthias Schäfer | 2017-02-28 | 2 | -24/+0 | |
| | ||||||
* | Add tests for the method atEnd of the FX module | Rémi Tétreault | 2017-02-25 | 1 | -12/+14 | |
| | | | | | | | | List of changes: * Add tests for atEnd for the case the animation is in a infinite loop * Fix a bug in atEnd that was uncovered by the new tests * Fix the indentation of the methods atStart and atEnd * Improve the comments of some of the others tests of atEnd | |||||
* | viewbox now also accepts arrays and strings | Ulrich-Matthias Schäfer | 2017-02-25 | 1 | -22/+11 | |
| | ||||||
* | `SVG.Array` now accepts a comma seperated string and returns array of ↵ | Ulrich-Matthias Schäfer | 2017-02-24 | 1 | -1/+1 | |
| | | | | numbers instead of strings | |||||
* | newlines | Ulrich-Matthias Schäfer | 2017-02-24 | 2 | -2/+2 | |
| | ||||||
* | Added SVG.Symbol so SVG.adopt can pick up symbols correctly | Ulrich-Matthias Schäfer | 2017-02-24 | 2 | -5/+14 | |
| | ||||||
* | slim down the SVG.TBox to SVG.RBox mapping (new SVG.TBox will not work) | dotnetCarpenter | 2017-02-24 | 1 | -14/+3 | |
| | ||||||
* | deprecate SVG.TBox | dotnetCarpenter | 2017-02-24 | 1 | -3/+17 | |
| | ||||||
* | remove SVG.TBox | dotnetCarpenter | 2017-02-23 | 1 | -35/+4 | |
| | ||||||
* | Allow 0 to be passed without unit | Rémi Tétreault | 2017-02-22 | 1 | -4/+8 | |
| | | | | | | | | This commit finish fixing issue #552. It makes it unnecessary to specify a unit with 0 when interacting with another SVG.Number that has a unit. This was accomplished by modifying the operation methods of SVG.Number to allow them to use the unit of the passed number when this number as no unit. | |||||
* | Added clone method to SVG.Array/PointArray/PathArray (#590) | Ulrich-Matthias Schäfer | 2017-02-20 | 4 | -13/+30 | |
| | ||||||
* | Make some change to the previous commit | Rémi Tétreault | 2017-02-17 | 4 | -9/+9 | |
| | | | | | | | | | | | | | Here is a list of the changes: * Enhance the call to plot in the constructor of SVG.Path, SVG.Line, SVG.Polyline and SVG.Polygon * Rewrite the description of the tests of the method plot for SVG.TextPath, SVG.Path, SVG.Line, SVG.Polyline and SVG.Polygon to make it more precise * Remove the useless parens surrounding track in the method array of SVG.TextPath | |||||
* | Sort out leftovers from the old fx module | Rémi Tétreault | 2017-02-16 | 7 | -67/+81 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is mostly to clean up the implementation of the initAnimation method of the Fx Module (issue #547). It also fixes these issues: #552, #582 and #584. Here is a list of the changes and fixes that are made: * Add a plot and array method to SVG.TextPath (issue #582) * Make the method plot a getter when no parameter is passed for SVG.Polyline, SVG.Polygon, SVG.Line, SVG.Path (this idea come from issue #547) * Allow SVG.PointArray to be passed flat array * Change the regexp SVG.PointArray use to parse string to allow more flexibility in the way spaces and commas can be used to separate points (something like this is now accepted: '1, 2, 3, 4') * Allow plot to be called with 4 parameters when animating an SVG.Line * Fix a bug in the plain morphing part of SVG.MorphObj that is in the FX module * Relative value for SVG.Number are now calculated in its morph method (idea from issue #547) * Clean up the implementation of the initAnimation method of the FX module (issues #547, #552, #584) | |||||
* | Make some fixes in SVG.PathArray | Rémi Tétreault | 2016-12-23 | 1 | -9/+9 | |
| | | | | | Rename the method haveSameCommands to equalCommands and replace undefined by null. | |||||
* | Implement a more basic morph method for SVG.PathArray | Rémi Tétreault | 2016-12-20 | 3 | -608/+33 | |
| | | | | | | The method expect the paths to use the exact same commands. It will not attempt to modify them if they do not. Any more complex algorithm shall be provided as a plugin instead in order to keep the size of the library down. | |||||
* | Implement the morph method of SVG.PathArray | Rémi Tétreault | 2016-12-20 | 3 | -9/+641 | |
| | | | | | Also add methods to SVG.Point that allow to perform operations between two points. |