]> source.dussan.org Git - svg.js.git/log
svg.js.git
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)

7 years agoadded `options` to `on()`, back to sloppy mode 2.6.0
Ulrich-Matthias Schäfer [Fri, 21 Apr 2017 10:49:25 +0000 (12:49 +0200)]
added `options` to `on()`, back to sloppy mode

- added `options` object to `SVG.on()` and `el.on()` (#661)
- back to sloppy mode because of problems with plugins (#660)

7 years agoMerge pull request #661 from svgdotjs/feature-options-for-events
Ulrich-Matthias Schäfer [Fri, 21 Apr 2017 10:00:19 +0000 (12:00 +0200)]
Merge pull request #661 from svgdotjs/feature-options-for-events

add options arguments to `on()`

7 years agoadd options arguments to `on()` 661/head
Ulrich-Matthias Schäfer [Thu, 20 Apr 2017 13:29:30 +0000 (15:29 +0200)]
add options arguments to `on()`

7 years agoupdate changelog
Ulrich-Matthias Schäfer [Mon, 17 Apr 2017 15:21:49 +0000 (17:21 +0200)]
update changelog

7 years agobump 2.5.3 2.5.3
Ulrich-Matthias Schäfer [Mon, 17 Apr 2017 15:13:50 +0000 (17:13 +0200)]
bump 2.5.3

7 years agoupdate readme
Ulrich-Matthias Schäfer [Mon, 17 Apr 2017 14:37:49 +0000 (16:37 +0200)]
update readme

7 years agoFix the flip transform on both axis
Rémi Tétreault [Sun, 16 Apr 2017 02:38:22 +0000 (22:38 -0400)]
Fix the flip transform on both axis

This fix the bug that made calling flip without any argument (`element.flip()`)
not work.

7 years agoupdate changelog
dotnetCarpenter [Fri, 14 Apr 2017 10:53:59 +0000 (12:53 +0200)]
update changelog

7 years agoMerge pull request #655 from gitter-badger/gitter-badge
Ulrich-Matthias Schäfer [Thu, 13 Apr 2017 11:46:29 +0000 (13:46 +0200)]
Merge pull request #655 from gitter-badger/gitter-badge

Add a Gitter chat badge to README.md

7 years agocorrect position of gitter badge 655/head
Ulrich-Matthias Schäfer [Thu, 13 Apr 2017 11:43:11 +0000 (13:43 +0200)]
correct position of gitter badge

7 years agoAdd Gitter badge
The Gitter Badger [Thu, 13 Apr 2017 10:46:28 +0000 (10:46 +0000)]
Add Gitter badge

7 years agouse strict removed from umd wrapper by virtue of being ugly and assuring fuzzyma...
dotnetCarpenter [Wed, 12 Apr 2017 12:27:48 +0000 (14:27 +0200)]
use strict removed from umd wrapper by virtue of being ugly and assuring fuzzyma's sleep at night

7 years agofix svg.js.d.ts (#644 #648)
Ulrich-Matthias Schäfer [Wed, 12 Apr 2017 11:44:00 +0000 (13:44 +0200)]
fix svg.js.d.ts (#644 #648)

7 years agofixed link style to tags and update about component.json
dotnetCarpenter [Tue, 11 Apr 2017 21:01:51 +0000 (23:01 +0200)]
fixed link style to tags and update about component.json

7 years agoremove component.json as the project it facilitate is abandon - close #652
dotnetCarpenter [Tue, 11 Apr 2017 20:56:46 +0000 (22:56 +0200)]
remove component.json as the project it facilitate is abandon - close #652

7 years agoupdate component to 2.5.2 too
dotnetCarpenter [Tue, 11 Apr 2017 18:59:43 +0000 (20:59 +0200)]
update component to 2.5.2 too

7 years agoskip coverage for UMD
dotnetCarpenter [Tue, 11 Apr 2017 18:02:35 +0000 (20:02 +0200)]
skip coverage for UMD

7 years agochange benchmark svg.js identifier to 2.5.2
dotnetCarpenter [Tue, 11 Apr 2017 16:57:32 +0000 (18:57 +0200)]
change benchmark svg.js identifier to 2.5.2

7 years agopatch release for strict mode 2.5.2
dotnetCarpenter [Tue, 11 Apr 2017 15:02:29 +0000 (17:02 +0200)]
patch release for strict mode

7 years agoclean up and added changes to CHANGELOG 651/head
dotnetCarpenter [Tue, 11 Apr 2017 14:46:49 +0000 (16:46 +0200)]
clean up and added changes to CHANGELOG

7 years agonamespace not declared in the Event module
dotnetCarpenter [Tue, 11 Apr 2017 14:44:24 +0000 (16:44 +0200)]
namespace not declared in the Event module

7 years agofixed bbox not declared in SVG.Box.transform
dotnetCarpenter [Tue, 11 Apr 2017 14:25:48 +0000 (16:25 +0200)]
fixed bbox not declared in SVG.Box.transform

7 years agofixed len being undeclared
dotnetCarpenter [Tue, 11 Apr 2017 13:37:22 +0000 (15:37 +0200)]
fixed len being undeclared

7 years agochanging to strict mode - some failures occur
dotnetCarpenter [Tue, 11 Apr 2017 13:23:17 +0000 (15:23 +0200)]
changing to strict mode - some failures occur

7 years agore-added all specs from the spec/spec/ folder
dotnetCarpenter [Tue, 11 Apr 2017 13:04:09 +0000 (15:04 +0200)]
re-added all specs from the spec/spec/ folder

7 years agofix pass
Ulrich-Matthias Schäfer [Sun, 9 Apr 2017 19:03:40 +0000 (21:03 +0200)]
fix pass

7 years agomake last test passing in svg docs
Ulrich-Matthias Schäfer [Sun, 9 Apr 2017 19:02:20 +0000 (21:02 +0200)]
make last test passing in svg docs

7 years agoUpdated CHANGELOG
wout [Fri, 7 Apr 2017 18:20:02 +0000 (20:20 +0200)]
Updated CHANGELOG

7 years agochange my email from gmail to svgjs.com
dotnetCarpenter [Fri, 31 Mar 2017 08:01:54 +0000 (10:01 +0200)]
change my email from gmail to svgjs.com

7 years agoclear does not remove parser anymore
Ulrich-Matthias Schäfer [Wed, 29 Mar 2017 14:10:36 +0000 (16:10 +0200)]
clear does not remove parser anymore

make test work in svg documents

7 years agomake path parsing even faster
Ulrich-Matthias Schäfer [Mon, 27 Mar 2017 17:19:38 +0000 (19:19 +0200)]
make path parsing even faster

7 years agobump 2.5.1 2.5.1
Ulrich-Matthias Schäfer [Mon, 27 Mar 2017 11:31:31 +0000 (13:31 +0200)]
bump 2.5.1