]> source.dussan.org Git - svg.js.git/log
svg.js.git
5 years agoUpdated ease type in svg.js.d.ts 971/head
manospasj [Thu, 28 Feb 2019 16:47:32 +0000 (16:47 +0000)]
Updated ease type in svg.js.d.ts

Updated animate method to accept a custom ease function as per the docs (https://svgjs.com/docs/2.7/animating/#easing)

5 years agoMerge pull request #963 from Perlkonig/bugfix/polyline-typo
Ulrich-Matthias Schäfer [Sun, 17 Feb 2019 18:48:00 +0000 (19:48 +0100)]
Merge pull request #963 from Perlkonig/bugfix/polyline-typo

Fix typo in type file for Polyline and Marker

5 years agoChanged all PolyLine to Polyline, as requested 963/head
Aaron Dalton [Sun, 17 Feb 2019 18:39:16 +0000 (11:39 -0700)]
Changed all PolyLine to Polyline, as requested

5 years agoFix typo in type file for Polyline and Marker
Aaron Dalton [Sun, 17 Feb 2019 16:07:21 +0000 (09:07 -0700)]
Fix typo in type file for Polyline and Marker

5 years agoMerge pull request #962 from Perlkonig/bugfix/missing-font-overload
Ulrich-Matthias Schäfer [Sat, 16 Feb 2019 21:36:52 +0000 (22:36 +0100)]
Merge pull request #962 from Perlkonig/bugfix/missing-font-overload

Added missing key/value overload for 'text.font()'

5 years agoAdded missing key/value overload for 'text.font()' 962/head
Aaron Dalton [Sat, 16 Feb 2019 20:32:42 +0000 (13:32 -0700)]
Added missing key/value overload for 'text.font()'

5 years agoMerge pull request #961 from Perlkonig/bugfix/missing-clone-overload
Ulrich-Matthias Schäfer [Sat, 16 Feb 2019 17:22:32 +0000 (18:22 +0100)]
Merge pull request #961 from Perlkonig/bugfix/missing-clone-overload

Added missing 'clone(parent)' overload to .d.ts file

5 years agoAdded missing 'clone(parent)' overload to .d.ts file 961/head
Aaron Dalton [Sat, 16 Feb 2019 17:03:38 +0000 (10:03 -0700)]
Added missing 'clone(parent)' overload to .d.ts file

5 years agoCustomEvent-polyfill was not used (needed in IE) (#938) 2.7.1
Ulrich-Matthias Schäfer [Fri, 30 Nov 2018 09:04:32 +0000 (10:04 +0100)]
CustomEvent-polyfill was not used (needed in IE) (#938)

6 years agoRound up everything for the last 2.x release 2.7.0
Ulrich-Matthias Schäfer [Tue, 13 Nov 2018 20:10:27 +0000 (21:10 +0100)]
Round up everything for the last 2.x release

### Fixed
- fixed calling `parent()` on `documentFragment`s children (#927)
- parser is not focusable anymore (#908)
- `SVG.Element.click(null)` correctly unbinds the event (#878)
- fix memory leak (#905)

### Added
- `SVG.Set` now accepts another Set as input (#893)
- `on()/off()` accepts multiple event names as input (backport from 3.0)

6 years agoMerge pull request #928 from NorbertB29/fix/node_document_fragment_type
Ulrich-Matthias Schäfer [Tue, 13 Nov 2018 17:48:20 +0000 (18:48 +0100)]
Merge pull request #928 from NorbertB29/fix/node_document_fragment_type

Add unit tests for document-fragment fix

6 years agoAdd unit tests 928/head
Norbert Bartos [Tue, 13 Nov 2018 16:13:40 +0000 (17:13 +0100)]
Add unit tests

6 years agoMerge pull request #927 from NorbertB29/fix/node_document_fragment_type
Ulrich-Matthias Schäfer [Tue, 13 Nov 2018 14:07:10 +0000 (15:07 +0100)]
Merge pull request #927 from NorbertB29/fix/node_document_fragment_type

Add node document-fragment type check

6 years agoAdd node document-fragment type check 927/head
Norbert Bartos [Tue, 13 Nov 2018 13:17:09 +0000 (14:17 +0100)]
Add node document-fragment type check

6 years agoMerge pull request #920 from SKalt/919-correct-readme
Ulrich-Matthias Schäfer [Thu, 25 Oct 2018 21:08:31 +0000 (23:08 +0200)]
Merge pull request #920 from SKalt/919-correct-readme

Correct README.md

6 years agoCorrect README.md 920/head
Steven Kalt [Thu, 25 Oct 2018 17:26:40 +0000 (13:26 -0400)]
Correct README.md

(1) Swapped svgdotjs.github.io for svgjs.com, which the former link redirects to.
(2) renamed the  `Installation#Node` section to `Installation#Npm` since the section describes installing svg.js via npm, and yarn installs svg.js for node as well.

6 years agoforgot dist 2.6.6
Ulrich-Matthias Schäfer [Thu, 30 Aug 2018 09:39:27 +0000 (11:39 +0200)]
forgot dist

6 years agobump 2.6.6
Ulrich-Matthias Schäfer [Thu, 30 Aug 2018 09:36:40 +0000 (11:36 +0200)]
bump 2.6.6

6 years agoMerge pull request #879 from JackLeEmmerdeur/597-new-typescript-declarations
Ulrich-Matthias Schäfer [Wed, 29 Aug 2018 05:06:16 +0000 (07:06 +0200)]
Merge pull request #879 from JackLeEmmerdeur/597-new-typescript-declarations

Added declarations to Transformation and Animation interfaces

6 years agoMerge pull request #883 from perry-mitchell/patch-1
Ulrich-Matthias Schäfer [Sun, 22 Jul 2018 20:14:00 +0000 (22:14 +0200)]
Merge pull request #883 from perry-mitchell/patch-1

Add global reference to support 'window' in bundlers - fixes #767

6 years agoRemove extra space 883/head
Perry Mitchell [Sun, 22 Jul 2018 18:38:22 +0000 (21:38 +0300)]
Remove extra space

6 years agoAdd global reference to support 'window' in bundlers - fixes #767
Perry Mitchell [Sun, 22 Jul 2018 18:36:02 +0000 (21:36 +0300)]
Add global reference to support 'window' in bundlers - fixes #767

6 years agoAdded declarations to Transformation and Animation interfaces 879/head
JackLeEmmerdeur [Sun, 8 Jul 2018 19:00:34 +0000 (21:00 +0200)]
Added declarations to Transformation and Animation interfaces

6 years agoAdds yarn installation instructions (#874)
Wagner Souza [Mon, 25 Jun 2018 13:55:18 +0000 (10:55 -0300)]
Adds yarn installation instructions (#874)

* Adds yarn installation instructions

* Sorts package manager list position

6 years agoIts obvious that these Issue templates were notes...
Saivan [Mon, 28 May 2018 10:36:19 +0000 (20:36 +1000)]
Its obvious that these Issue templates were notes...

6 years agoUpdated the issue templates to have multiple possibilities
Saivan [Mon, 28 May 2018 10:31:38 +0000 (20:31 +1000)]
Updated the issue templates to have multiple possibilities

6 years agoUpdate issue templates
saivan [Mon, 28 May 2018 10:19:59 +0000 (20:19 +1000)]
Update issue templates

6 years agoMerge branch 'master' of github.com:svgdotjs/svg.js
Saivan [Mon, 28 May 2018 10:15:11 +0000 (20:15 +1000)]
Merge branch 'master' of github.com:svgdotjs/svg.js

6 years agoAdded a contributing and issue template guide
Saivan [Mon, 28 May 2018 10:14:52 +0000 (20:14 +1000)]
Added a contributing and issue template guide

6 years agobump 2.6.5 2.6.5
Ulrich-Matthias Schäfer [Sat, 26 May 2018 20:51:16 +0000 (22:51 +0200)]
bump 2.6.5

6 years agofixed `SVG.Text.y()` which didnt work correctly with `SVG.Number` (#778)
Ulrich-Matthias Schäfer [Sat, 26 May 2018 19:17:52 +0000 (21:17 +0200)]
fixed `SVG.Text.y()` which didnt work correctly with `SVG.Number` (#778)

6 years agofixed issues in SVG.Doc and SVG.Mask when cloning(#782)
Ulrich-Matthias Schäfer [Sat, 26 May 2018 18:59:57 +0000 (20:59 +0200)]
fixed issues in SVG.Doc and SVG.Mask when cloning(#782)

6 years agofixed `element.parent()` which sometimes failed when used on detached documents ...
Ulrich-Matthias Schäfer [Sat, 26 May 2018 10:56:14 +0000 (12:56 +0200)]
fixed `element.parent()` which sometimes failed when used on detached documents (#759)

6 years agofixes and addition in SVG.PointArray (#805)
Ulrich-Matthias Schäfer [Sat, 26 May 2018 10:33:14 +0000 (12:33 +0200)]
fixes and addition in SVG.PointArray (#805)

- fixed SVG.PointArray having a reference to outside array in some cases
- added possibility to pass an array of point objects to SVG.PointArray

6 years agofixed `reference()` which failed when trying to use a reference which does not exist...
Ulrich-Matthias Schäfer [Sat, 26 May 2018 09:47:16 +0000 (11:47 +0200)]
fixed `reference()` which failed when trying to use a reference which does not exist in the attribuets (#840)

6 years agoChangelog for b0ca749
Ulrich-Matthias Schäfer [Sat, 26 May 2018 09:37:16 +0000 (11:37 +0200)]
Changelog for b0ca749

6 years agochangelog for last commit
Ulrich-Matthias Schäfer [Sat, 26 May 2018 09:32:27 +0000 (11:32 +0200)]
changelog for last commit

6 years agofixed problems with CustomEvent polyfill in IE11 (#852)
Ulrich-Matthias Schäfer [Sat, 26 May 2018 09:30:16 +0000 (11:30 +0200)]
fixed problems with CustomEvent polyfill in IE11 (#852)

6 years agoMerge pull request #854 from pycraft114/master
Ulrich-Matthias Schäfer [Fri, 11 May 2018 10:14:37 +0000 (12:14 +0200)]
Merge pull request #854 from pycraft114/master

fix typings

6 years agoOptional paramter for rbox method 854/head
pycraft114 [Fri, 11 May 2018 10:08:14 +0000 (19:08 +0900)]
Optional paramter for rbox method

6 years agoType fix
pycraft114 [Thu, 10 May 2018 01:53:28 +0000 (10:53 +0900)]
Type fix

6 years agoOptional parameter for 'rbox' method
pycraft114 [Wed, 9 May 2018 11:19:24 +0000 (20:19 +0900)]
Optional parameter for 'rbox' method

6 years agoOptional parameter for 'rbox' method
pycraft114 [Wed, 9 May 2018 11:11:29 +0000 (20:11 +0900)]
Optional parameter for 'rbox' method

6 years agoOptional second parameter for 'select' method
pycraft114 [Wed, 9 May 2018 08:15:59 +0000 (17:15 +0900)]
Optional second parameter for 'select' method

6 years agoFix issue #847
Rémi Tétreault [Sat, 21 Apr 2018 20:38:29 +0000 (16:38 -0400)]
Fix issue #847

Animating a path by calling .attr() now work

6 years agoMerge pull request #831 from mpro7/type-definition-fix
Ulrich-Matthias Schäfer [Sun, 1 Apr 2018 12:35:39 +0000 (14:35 +0200)]
Merge pull request #831 from mpro7/type-definition-fix

WIP: type definitions fixed for selector.js + added click method for …

6 years agopost-review fixes 831/head
mpro7 [Sat, 31 Mar 2018 13:15:30 +0000 (15:15 +0200)]
post-review fixes

6 years agoWIP: type definitions fixed for selector.js + added click method for set.js
mpro7 [Tue, 20 Mar 2018 23:19:08 +0000 (00:19 +0100)]
WIP: type definitions fixed for selector.js + added click method for set.js

6 years agoMerge pull request #830 from FrankSandqvist/patch-1
Ulrich-Matthias Schäfer [Mon, 19 Mar 2018 10:37:09 +0000 (11:37 +0100)]
Merge pull request #830 from FrankSandqvist/patch-1

Typescript: X & Y Properties on Point

6 years agoX & Y Properties on Point 830/head
FrankSandqvist [Sun, 18 Mar 2018 18:28:06 +0000 (20:28 +0200)]
X & Y Properties on Point

Or should I not access these directly?

6 years agoFixed an issue where a matrix string contained invalid floats
Saivan [Sun, 25 Feb 2018 07:35:04 +0000 (18:35 +1100)]
Fixed an issue where a matrix string contained invalid floats

This commit fixes an issue which would cause errors in chrome when
a matrix like matrix(1, 0, 0, 1, 1e-90, 0) was output. This was
caused because all values in a matrix have to be valid float32's,
and therefore a 1e-90 could not be represented as a float32.

To fix this, we coax values smaller that 1e-27 to be represented
as zero. This avoids any potential issue due to this.

6 years agoFix typings for apply optional parameter of off method in event.js
flynn.park [Fri, 23 Feb 2018 16:50:07 +0000 (01:50 +0900)]
Fix typings for apply optional parameter of off method in event.js

6 years agoFix typings for missing event.js method
flynn.park [Fri, 23 Feb 2018 16:10:19 +0000 (01:10 +0900)]
Fix typings for missing event.js method

event

6 years agoMerge pull request #820 from niceilm/master
Ulrich-Matthias Schäfer [Fri, 23 Feb 2018 11:49:44 +0000 (12:49 +0100)]
Merge pull request #820 from niceilm/master

Fix typings for missing element.js method

6 years agoFix typings for replace comma to semicolon
flynn.park [Fri, 23 Feb 2018 02:12:39 +0000 (11:12 +0900)]
Fix typings for replace comma to semicolon

6 years agoFix typings for missing semicolon
flynn.park [Fri, 23 Feb 2018 02:00:11 +0000 (11:00 +0900)]
Fix typings for missing semicolon

6 years agoFix typings for missing element.js method 820/head
flynn.park [Thu, 22 Feb 2018 09:45:23 +0000 (18:45 +0900)]
Fix typings for missing element.js method

parent, doc

6 years agoFix typings for missing element.js method 819/head
flynn.park [Thu, 22 Feb 2018 08:49:57 +0000 (17:49 +0900)]
Fix typings for missing element.js method

parent, doc

6 years agoMerge pull request #817 from niceilm/master
Ulrich-Matthias Schäfer [Wed, 21 Feb 2018 23:34:58 +0000 (00:34 +0100)]
Merge pull request #817 from niceilm/master

Fix typings for memory.js remember method order

6 years agoFix typings for memory.js remember method order 817/head
flynn.park [Wed, 21 Feb 2018 18:04:52 +0000 (03:04 +0900)]
Fix typings for memory.js remember method order

https://www.typescriptlang.org/docs/handbook/declaration-merging.html

6 years agoMerge pull request #762 from Nexmean/fix-typings
Ulrich-Matthias Schäfer [Sat, 17 Feb 2018 11:44:49 +0000 (12:44 +0100)]
Merge pull request #762 from Nexmean/fix-typings

Fix typings for arrays that takes plot method.

6 years agoYear bump
W [Tue, 13 Feb 2018 08:52:16 +0000 (09:52 +0100)]
Year bump

6 years agoMerge pull request #755 from YMIndustries/master
Ulrich-Matthias Schäfer [Sat, 10 Feb 2018 00:34:04 +0000 (01:34 +0100)]
Merge pull request #755 from YMIndustries/master

Correctly handle namespaced self-closing tags

6 years agobump 2.6.4 2.6.4
Ulrich-Matthias Schäfer [Wed, 7 Feb 2018 22:00:09 +0000 (23:00 +0100)]
bump 2.6.4

6 years ago#805 Image memory leak fix (#806)
Nenad Kuzmanovic [Wed, 7 Feb 2018 20:02:46 +0000 (21:02 +0100)]
#805 Image memory leak fix (#806)

Simple sulution with SVG.off() in callback

6 years agoMerge pull request #765 from mark-sivill-splunk/comment-update
Ulrich-Matthias Schäfer [Tue, 19 Dec 2017 14:00:51 +0000 (15:00 +0100)]
Merge pull request #765 from mark-sivill-splunk/comment-update

Comment updated to pain

6 years agoComment updated to pain 765/head
mark-sivill-splunk [Tue, 19 Dec 2017 12:09:36 +0000 (12:09 +0000)]
Comment updated to pain

7 years agoFix typings for array of ArrayPoint like [[0, 0], [325, 235]]. 762/head
Makarov Alexandr [Mon, 20 Nov 2017 08:38:46 +0000 (18:38 +1000)]
Fix typings for array of ArrayPoint like [[0, 0], [325, 235]].

7 years agoFix typings for arrays of points implemented as array. (Ex.: [[0, 0], [100, 100]])
Makarov Alexandr [Sun, 19 Nov 2017 09:56:50 +0000 (19:56 +1000)]
Fix typings for arrays of points implemented as array. (Ex.: [[0, 0], [100, 100]])

7 years agoCorrectly handle hyphenated self-closing tags 755/head
Joshua Walsh [Mon, 23 Oct 2017 00:15:25 +0000 (11:15 +1100)]
Correctly handle hyphenated self-closing tags

Relates to #754

7 years agoCorrectly handle namespaced self-closing tags
Joshua Walsh [Mon, 23 Oct 2017 00:12:27 +0000 (11:12 +1100)]
Correctly handle namespaced self-closing tags

Fixes #754

7 years agoMerge pull request #748 from bschantz/svg-export-ts
Ulrich-Matthias Schäfer [Sun, 8 Oct 2017 18:49:34 +0000 (20:49 +0200)]
Merge pull request #748 from bschantz/svg-export-ts

Add getter form of svg method to TypeScript definition

7 years agoAdd getter form of svg method to TypeScript definition 748/head
Brian Schantz [Sun, 8 Oct 2017 17:35:06 +0000 (10:35 -0700)]
Add getter form of svg method to TypeScript definition

7 years agoMerge pull request #729 from Predve4niy/patch-1
Ulrich-Matthias Schäfer [Mon, 7 Aug 2017 08:40:41 +0000 (09:40 +0100)]
Merge pull request #729 from Predve4niy/patch-1

Update svgjs.d.ts

7 years agoUpdate svgjs.d.ts 729/head
Dmitry [Sat, 5 Aug 2017 10:51:43 +0000 (13:51 +0300)]
Update svgjs.d.ts

Fix: Another way is to point an external SVG file, just specified the element id and path to file.
http://svgjs.com/elements/#use-constructor

7 years agobump 2.6.3 2.6.3
Ulrich-Matthias Schäfer [Fri, 21 Jul 2017 12:51:43 +0000 (14:51 +0200)]
bump 2.6.3

7 years agofixing node error in parent method when hitting document node (#720)
Ulrich-Matthias Schäfer [Fri, 21 Jul 2017 12:08:27 +0000 (14:08 +0200)]
fixing node error in parent method when hitting document node (#720)

7 years agoAdd tests for fix array values which were not animated (#698)
Rémi Tétreault [Sun, 9 Jul 2017 17:24:21 +0000 (13:24 -0400)]
Add tests for fix array values which were not animated (#698)

7 years agofix array values which were not animated (#698)
Ulrich-Matthias Schäfer [Thu, 6 Jul 2017 08:16:31 +0000 (10:16 +0200)]
fix array values which were not animated (#698)

7 years agoMerge pull request #686 from maltefl/typescript_fixes
Ulrich-Matthias Schäfer [Tue, 6 Jun 2017 10:59:39 +0000 (11:59 +0100)]
Merge pull request #686 from maltefl/typescript_fixes

TypeScript fixes and remove unused parameter

7 years agoSyntax fixes in TypeScript declaration file 686/head
Malte Fastrup Lyngsø [Tue, 6 Jun 2017 10:30:44 +0000 (12:30 +0200)]
Syntax fixes in TypeScript declaration file

7 years agoRemoved unused parameter spof of function spof()
Malte Fastrup Lyngsø [Tue, 6 Jun 2017 10:01:34 +0000 (12:01 +0200)]
Removed unused parameter spof of function spof()

7 years agobump 2.6.2 2.6.2
Ulrich-Matthias Schäfer [Mon, 5 Jun 2017 09:35:23 +0000 (11:35 +0200)]
bump 2.6.2

7 years agochangelog, gitignore
Ulrich-Matthias Schäfer [Sun, 4 Jun 2017 19:45:35 +0000 (21:45 +0200)]
changelog, gitignore

7 years agoUpdate CHANGELOG and rebuild the lib
Rémi Tétreault [Sat, 27 May 2017 05:14:42 +0000 (01:14 -0400)]
Update CHANGELOG and rebuild the lib

7 years agoFixed links to releases
Jon Ege Ronnenberg [Fri, 26 May 2017 23:04:31 +0000 (01:04 +0200)]
Fixed links to releases

7 years agoMerge pull request #676 from jcorentin/fix-height-width-animation
Rémi Tétreault [Fri, 26 May 2017 22:51:36 +0000 (18:51 -0400)]
Merge pull request #676 from jcorentin/fix-height-width-animation

Make width() and height() setters animatable

7 years agoAdd missing type definitions to svg.js.d.ts (#680)
Youngrok Kim [Sat, 20 May 2017 07:42:32 +0000 (16:42 +0900)]
Add missing type definitions to svg.js.d.ts (#680)

7 years agofixed `SVG.FX.step` so that the animation doesn't stop if an afterAll callback call...
Rémi Tétreault [Sun, 14 May 2017 17:21:50 +0000 (13:21 -0400)]
fixed `SVG.FX.step` so that the animation doesn't stop if an afterAll callback call animate (#677)

7 years agoAdd unit tests for width & height animation 676/head
Corentin J [Thu, 11 May 2017 12:49:52 +0000 (14:49 +0200)]
Add unit tests for width & height animation

7 years agoAdd animatable width & height
Corentin J [Thu, 11 May 2017 12:35:25 +0000 (14:35 +0200)]
Add animatable width & height

7 years agorevert the previous commit
Rémi Tétreault [Wed, 3 May 2017 01:52:46 +0000 (21:52 -0400)]
revert the previous commit
remove the typeof check in the initialisation of SVG.Matrix

7 years agoallow SVG.Matrix to be passed SVG.Number
Rémi Tétreault [Tue, 2 May 2017 00:39:24 +0000 (20:39 -0400)]
allow SVG.Matrix to be passed SVG.Number

7 years agoAdds the intended functionality to call animate functions with multiple parameter...
Ulrich-Matthias Schäfer [Sun, 30 Apr 2017 20:29:10 +0000 (22:29 +0200)]
Adds the intended functionality to call animate functions with multiple parameter (#671)

e.g. `el.animate().zoom(level, point)`

7 years agofixed `SVG.FX.once` so that it add its callback on the last situation instead of...
Rémi Tétreault [Sun, 30 Apr 2017 19:14:11 +0000 (15:14 -0400)]
fixed `SVG.FX.once` so that it add its callback on the last situation instead of the current one

7 years agoformat fixture svg and remove redundant css (use fixture.css instead)
dotnetCarpenter [Wed, 26 Apr 2017 23:39:57 +0000 (01:39 +0200)]
format fixture svg and remove redundant css (use fixture.css instead)

7 years agomove fixtures to the fixtures folder
dotnetCarpenter [Wed, 26 Apr 2017 23:00:51 +0000 (01:00 +0200)]
move fixtures to the fixtures folder

7 years agoupdated jasmine to 2.6.0 and added @RmiTtro as maintainer
dotnetCarpenter [Wed, 26 Apr 2017 16:33:10 +0000 (18:33 +0200)]
updated jasmine to 2.6.0 and added @RmiTtro as maintainer

7 years agoload correct benchmarks again 2.6.1
Ulrich-Matthias Schäfer [Tue, 25 Apr 2017 10:07:29 +0000 (12:07 +0200)]
load correct benchmarks again

7 years agofixed a bug in path parser which made it stop parsing when hitting z command (#665)
Ulrich-Matthias Schäfer [Tue, 25 Apr 2017 10:05:49 +0000 (12:05 +0200)]
fixed a bug in path parser which made it stop parsing when hitting z command (#665)