]> source.dussan.org Git - svg.js.git/log
svg.js.git
8 years agoMerge branch 'master' into 3.0.0
Ulrich-Matthias Schäfer [Thu, 24 Mar 2016 22:14:30 +0000 (23:14 +0100)]
Merge branch 'master' into 3.0.0

8 years agofix lines function for textpath and make textpath a parent element
Ulrich-Matthias Schäfer [Wed, 23 Mar 2016 21:50:58 +0000 (22:50 +0100)]
fix lines function for textpath and make textpath a parent element

8 years agoImplementation new fx module
Ulrich-Matthias Schäfer [Wed, 23 Mar 2016 21:50:30 +0000 (22:50 +0100)]
Implementation new fx module

8 years agoupdated jasmine and specs
Ulrich-Matthias Schäfer [Wed, 23 Mar 2016 21:49:18 +0000 (22:49 +0100)]
updated jasmine and specs

8 years agoRemoved references to old test page
wout [Mon, 14 Mar 2016 07:38:57 +0000 (08:38 +0100)]
Removed references to old test page

8 years agomake the animate method compatible to v2 again
Ulrich-Matthias Schäfer [Mon, 15 Feb 2016 22:11:50 +0000 (23:11 +0100)]
make the animate method compatible to v2 again

8 years agoMerge branch 'master' into 3.0.0
Ulrich-Matthias Schäfer [Wed, 10 Feb 2016 20:23:48 +0000 (21:23 +0100)]
Merge branch 'master' into 3.0.0

8 years agofixed error where a parent node is not found when loading an image but the canvas...
Ulrich-Matthias Schäfer [Wed, 10 Feb 2016 20:17:58 +0000 (21:17 +0100)]
fixed error where a parent node is not found when loading an image but the canvas was cleared (#447)

8 years agoMerge pull request #447 from assembler/patch-1
Ulrich-Matthias Schäfer [Wed, 10 Feb 2016 20:12:36 +0000 (21:12 +0100)]
Merge pull request #447 from assembler/patch-1

Uncaught TypeError: Cannot read property 'node' of null

8 years agochangelog for last commit
Ulrich-Matthias Schäfer [Fri, 22 Jan 2016 23:35:20 +0000 (00:35 +0100)]
changelog for last commit

8 years agofixed unit unit regex and renamed it to numberAndUnit, added specs (fix #443)
Ulrich-Matthias Schäfer [Fri, 22 Jan 2016 23:24:57 +0000 (00:24 +0100)]
fixed unit unit regex and renamed it to numberAndUnit, added specs (fix #443)

8 years agoUpdate element.js 447/head
Milovan Zogovic [Fri, 22 Jan 2016 13:32:51 +0000 (14:32 +0100)]
Update element.js

I've encountered situation where SVG.adopt (line 176) returns null, which leads to `Uncaught TypeError: Cannot read property 'node' of null`. Checking whether parent exists fixes it.

8 years agofixed `svgjs:data` attribute which was not set properly in all browsers (#428)
Ulrich-Matthias Schäfer [Thu, 21 Jan 2016 16:40:13 +0000 (17:40 +0100)]
fixed `svgjs:data` attribute which was not set properly in all browsers (#428)

added specs for `writeDataToDom()` and `setData()`
added toJSON in SVG.Number

8 years agoadded `point()` to readme
Ulrich-Matthias Schäfer [Tue, 19 Jan 2016 21:57:47 +0000 (22:57 +0100)]
added `point()` to readme

8 years agoadded specs for `isNumber()` and compile svg.js
Ulrich-Matthias Schäfer [Sun, 17 Jan 2016 23:40:16 +0000 (00:40 +0100)]
added specs for `isNumber()` and compile svg.js

8 years agoMerge pull request #444 from snowyplover/patch-1
Ulrich-Matthias Schäfer [Sun, 17 Jan 2016 18:14:17 +0000 (19:14 +0100)]
Merge pull request #444 from snowyplover/patch-1

Fix regex for isNumber

8 years agoMerge pull request #442 from akauppi/readme-fix
Ulrich-Matthias Schäfer [Sun, 17 Jan 2016 18:00:27 +0000 (19:00 +0100)]
Merge pull request #442 from akauppi/readme-fix

commentary fix; circle and ellipse sample code referred to 'rect'

8 years agoFix regex for isNumber 444/head
snowyplover [Sun, 17 Jan 2016 09:40:56 +0000 (01:40 -0800)]
Fix regex for isNumber

Description of necessary functionality for a regex that matches Javascript numbers found in Eloquent Javascript, (Ch 9, last exercise). See: http://eloquentjavascript.net/09_regexp.html#h_izldJoT3uv

8 years agocommentary fix; circle and ellipse sample code 442/head
Asko Kauppi [Sat, 16 Jan 2016 20:27:59 +0000 (22:27 +0200)]
commentary fix; circle and ellipse sample code

8 years agoadded SVG.Point class as wrapper for SVGPoint, added `el.point()` method (#403 /...
Ulrich-Matthias Schäfer [Mon, 11 Jan 2016 22:39:49 +0000 (23:39 +0100)]
added SVG.Point class as wrapper for SVGPoint, added `el.point()` method (#403 / #437)

8 years agobump 2.2.5 2.2.5
Ulrich-Matthias Schäfer [Tue, 29 Dec 2015 12:17:32 +0000 (13:17 +0100)]
bump 2.2.5

8 years ago`matrixify()` will not apply the calculated matrix to the node anymore
Ulrich-Matthias Schäfer [Tue, 29 Dec 2015 12:16:05 +0000 (13:16 +0100)]
`matrixify()` will not apply the calculated matrix to the node anymore

8 years agoMerge pull request #434 from makarti/x-and-y-methods-string-parameter-issue
Ulrich-Matthias Schäfer [Tue, 29 Dec 2015 11:49:35 +0000 (12:49 +0100)]
Merge pull request #434 from makarti/x-and-y-methods-string-parameter-issue

fix #433

8 years agofix #433 434/head
Denis Mosolov [Tue, 29 Dec 2015 11:19:54 +0000 (14:19 +0300)]
fix #433

8 years agoMerge branch 'master' into 3.0.0
Ulrich-Matthias Schäfer [Wed, 23 Dec 2015 18:10:17 +0000 (19:10 +0100)]
Merge branch 'master' into 3.0.0

8 years agoadded check for existence of node (fix #431)
Ulrich-Matthias Schäfer [Wed, 23 Dec 2015 18:06:46 +0000 (19:06 +0100)]
added check for existence of node (fix #431)

8 years agorelative movements, delayed (queued) start of animation
Ulrich-Matthias Schäfer [Wed, 23 Dec 2015 18:02:05 +0000 (19:02 +0100)]
relative movements, delayed (queued) start of animation

8 years agotransformation with correct rotation, fixed Color animation
Ulrich-Matthias Schäfer [Mon, 21 Dec 2015 17:37:10 +0000 (18:37 +0100)]
transformation with correct rotation, fixed Color animation

8 years agonew specs, reverse, initAnimation, after, during, comments
Ulrich-Matthias Schäfer [Sun, 20 Dec 2015 14:43:40 +0000 (15:43 +0100)]
new specs, reverse, initAnimation, after, during, comments

8 years agoadded all fx methods, styles and attrs
Ulrich-Matthias Schäfer [Wed, 16 Dec 2015 00:54:53 +0000 (01:54 +0100)]
added all fx methods, styles and attrs

8 years agoadded once and during
Ulrich-Matthias Schäfer [Sun, 13 Dec 2015 20:41:13 +0000 (21:41 +0100)]
added once and during

8 years agonew fx with enqueue method and dedicated SVG.Situation
Ulrich-Matthias Schäfer [Sat, 12 Dec 2015 23:51:44 +0000 (00:51 +0100)]
new fx with enqueue method and dedicated SVG.Situation

8 years agosmall change in fx specs
Ulrich-Matthias Schäfer [Wed, 18 Nov 2015 13:35:01 +0000 (14:35 +0100)]
small change in fx specs

8 years agoadded new provisionally specs for fx
Ulrich-Matthias Schäfer [Sun, 15 Nov 2015 20:57:31 +0000 (21:57 +0100)]
added new provisionally specs for fx

8 years agobump 2.2.4 2.2.4
Ulrich-Matthias Schäfer [Fri, 11 Dec 2015 23:53:47 +0000 (00:53 +0100)]
bump 2.2.4

8 years agoupdated changelog, fixed typo in doc and removed semicolon
Ulrich-Matthias Schäfer [Fri, 11 Dec 2015 23:52:26 +0000 (00:52 +0100)]
updated changelog, fixed typo in doc and removed semicolon

8 years agoMerge pull request #430 from rdfriedl/master
Ulrich-Matthias Schäfer [Fri, 11 Dec 2015 15:30:37 +0000 (16:30 +0100)]
Merge pull request #430 from rdfriedl/master

fixes for issue #429

8 years agofixes for issue #429 430/head
rdfriedl [Fri, 11 Dec 2015 15:21:58 +0000 (09:21 -0600)]
fixes for issue #429

8 years agoMerge pull request #426 from jcvandan/master
Ulrich-Matthias Schäfer [Thu, 10 Dec 2015 17:05:05 +0000 (18:05 +0100)]
Merge pull request #426 from jcvandan/master

Replaced usage of window.scrollX with window.pageXOffset

8 years agoreplaced usage of window.scrollX and window.scrollY with standard window.pageXOffset... 426/head
Dan Ormisher [Tue, 8 Dec 2015 13:54:12 +0000 (13:54 +0000)]
replaced usage of window.scrollX and window.scrollY with standard window.pageXOffset and window.pageYOffset in rbox() to stop NaN bug in IE

8 years agotransform() returnw a-f now, too, double newlines create blank lines
Ulrich-Matthias Schäfer [Fri, 4 Dec 2015 17:05:22 +0000 (18:05 +0100)]
transform() returnw a-f now, too, double newlines create blank lines

8 years agobump 2.2.3 2.2.3
Ulrich-Matthias Schäfer [Mon, 30 Nov 2015 21:47:13 +0000 (22:47 +0100)]
bump 2.2.3

8 years agofix amd loader (see #412)
Ulrich-Matthias Schäfer [Mon, 30 Nov 2015 21:43:23 +0000 (22:43 +0100)]
fix amd loader (see #412)

8 years agofixed bug related to the new path parser, text-method of tspan is a getter now, too
Ulrich-Matthias Schäfer [Mon, 30 Nov 2015 21:20:07 +0000 (22:20 +0100)]
fixed bug related to the new path parser, text-method of tspan is a getter now, too

8 years agofixes the null check fix from last commit (fixes #417)
Ulrich-Matthias Schäfer [Sat, 28 Nov 2015 23:25:20 +0000 (00:25 +0100)]
fixes the null check fix from last commit (fixes #417)

8 years agobump 2.2.2 2.2.2
Ulrich-Matthias Schäfer [Sat, 28 Nov 2015 10:38:26 +0000 (11:38 +0100)]
bump 2.2.2

8 years agoadded null check in image onload callback (fixes #415)
Ulrich-Matthias Schäfer [Sat, 28 Nov 2015 10:28:28 +0000 (11:28 +0100)]
added null check in image onload callback (fixes #415)

8 years agofix leading point bug in path parsing (#416)
Ulrich-Matthias Schäfer [Sat, 28 Nov 2015 10:21:07 +0000 (11:21 +0100)]
fix leading point bug in path parsing (#416)

8 years agoMerge pull request #407 from snowyplover/patch-1
Ulrich-Matthias Schäfer [Mon, 23 Nov 2015 14:37:14 +0000 (15:37 +0100)]
Merge pull request #407 from snowyplover/patch-1

Reorganize and clarify documentation

8 years agoREADME.md - category edits 407/head
snowyplover [Fri, 20 Nov 2015 12:42:21 +0000 (04:42 -0800)]
README.md - category edits

The note for "Size and position" has been edited for consistency.

The category "Altering the element tree" has been renamed "Document tree manipulations".

The `transform()`, `rotate()`, `skew()`, `scale()`, and `translate()` methods have been given their own category: "Transforms".

8 years agogulp 2.2.1
Ulrich-Matthias Schäfer [Wed, 18 Nov 2015 13:43:17 +0000 (14:43 +0100)]
gulp

8 years agobump 2.2.1
Ulrich-Matthias Schäfer [Wed, 18 Nov 2015 13:41:37 +0000 (14:41 +0100)]
bump 2.2.1

8 years agoadded `gbox()` to group to get bbox with translation included (fixes #405)
Ulrich-Matthias Schäfer [Wed, 18 Nov 2015 13:38:33 +0000 (14:38 +0100)]
added `gbox()` to group to get bbox with translation included (fixes #405)

8 years agoupdated changelog
Ulrich-Matthias Schäfer [Wed, 18 Nov 2015 00:20:36 +0000 (01:20 +0100)]
updated changelog

8 years agodom data was not cleaned up properly (fixes #398)
Ulrich-Matthias Schäfer [Wed, 18 Nov 2015 00:18:35 +0000 (01:18 +0100)]
dom data was not cleaned up properly (fixes #398)

8 years ago`SvgPathSeg` is removed in Chrome 48. Added workaround (fixes #409)
Ulrich-Matthias Schäfer [Wed, 18 Nov 2015 00:16:41 +0000 (01:16 +0100)]
`SvgPathSeg` is removed in Chrome 48. Added workaround (fixes #409)

8 years agoMove "Syntax sugar", transform() methods
snowyplover [Tue, 17 Nov 2015 10:47:13 +0000 (02:47 -0800)]
Move "Syntax sugar", transform() methods

The "Transforming elements" section has been renamed "Size and position".

The `transform()` method has been moved to the "Geometry" section.

The "Syntax sugar" section has been broken up and removed:
* `radius()` has been moved to "Size and position" (and has been edited for completeness and clarity)
* `fill()`, `stroke()`, and `opacity()` have been moved to "Attributes and styles"
* `rotate()`, `skew()`, `scale()`, and `translate()` have been grouped with `transform()` under "Geometry"

8 years agoFix description of toParent()
snowyplover [Sun, 15 Nov 2015 13:58:06 +0000 (05:58 -0800)]
Fix description of toParent()

8 years agoReorganize and clarify documentation
snowyplover [Sun, 15 Nov 2015 13:54:36 +0000 (05:54 -0800)]
Reorganize and clarify documentation

The 'Manipulating elements, 'Attribute references', and 'Inserting elements' sections of the documentation are reorganized. 'Manipulating elements' has been broken up into 4 sections:

* Attributes and styles
* Classes
* Transforming elements
* Altering the element tree

The 'Attribute references' section is folded into 'Attributes and styles', and the 'Inserting elements' section is folded into 'Altering the element tree'.

Some general information about positioning methods has been added/moved to a note at the beginning of the 'Transforming elements' section.

Many of the method descriptions in these sections have been edited for clarity, and a few typos have been fixed.

8 years agoFix formatting mistake
snowyplover [Thu, 12 Nov 2015 07:49:10 +0000 (23:49 -0800)]
Fix formatting mistake

8 years agoUpdate center, cx, cy; add usage notes for invent
snowyplover [Thu, 12 Nov 2015 07:18:52 +0000 (23:18 -0800)]
Update center, cx, cy; add usage notes for invent

Warnings are added to the center, cx, and cy method descriptions noting that these methods only work on elements defined in user coordinates.

More details are added to the description of SVG.invent, and the terminology of its configuration object is clarified.

8 years agoMerge pull request #404 from Unihedro/patch-2
Ulrich-Matthias Schäfer [Wed, 11 Nov 2015 22:34:39 +0000 (23:34 +0100)]
Merge pull request #404 from Unihedro/patch-2

Annotate double quotes as double quotes

8 years agoAnnotate double quotes as double quotes 404/head
Unihedron [Tue, 10 Nov 2015 17:21:11 +0000 (01:21 +0800)]
Annotate double quotes as double quotes

8 years agoadded screenbox plugin to readme
Ulrich-Matthias Schäfer [Sat, 7 Nov 2015 02:06:09 +0000 (03:06 +0100)]
added screenbox plugin to readme

8 years agoBump to 2.2.0 2.2.0
Ulrich-Matthias Schäfer [Fri, 6 Nov 2015 22:08:57 +0000 (23:08 +0100)]
Bump to 2.2.0

8 years agotab to space, block comments to line comments
Ulrich-Matthias Schäfer [Fri, 6 Nov 2015 21:28:20 +0000 (22:28 +0100)]
tab to space, block comments to line comments

8 years agosvgjs now saves crucial data in the dom (fixes #369 again)
Ulrich-Matthias Schäfer [Fri, 6 Nov 2015 21:08:38 +0000 (22:08 +0100)]
svgjs now saves crucial data in the dom (fixes #369 again)

8 years agoreadme
Ulrich-Matthias Schäfer [Fri, 6 Nov 2015 13:19:58 +0000 (14:19 +0100)]
readme

8 years agofixes #396
Ulrich-Matthias Schäfer [Wed, 4 Nov 2015 09:51:18 +0000 (10:51 +0100)]
fixes #396

8 years agofixed return value of `text()` after import/clone (#393)
Ulrich-Matthias Schäfer [Wed, 4 Nov 2015 01:43:53 +0000 (02:43 +0100)]
fixed return value of `text()` after import/clone (#393)

8 years agoupdate readme and changelog
Ulrich-Matthias Schäfer [Mon, 26 Oct 2015 22:06:32 +0000 (23:06 +0100)]
update readme and changelog

8 years agoadd `parents()` method, added specs, fixed specs
Ulrich-Matthias Schäfer [Mon, 26 Oct 2015 21:56:32 +0000 (22:56 +0100)]
add `parents()` method, added specs, fixed specs

8 years agoupdated docs
Ulrich-Matthias Schäfer [Sun, 25 Oct 2015 22:03:47 +0000 (23:03 +0100)]
updated docs

8 years agoadded support for css selectors with the `parent()` method
Ulrich-Matthias Schäfer [Sun, 25 Oct 2015 21:50:52 +0000 (22:50 +0100)]
added support for css selectors with the `parent()` method

8 years agoUMD-Wrappper with possibility to add custom window object (#352)
Ulrich-Matthias Schäfer [Sun, 25 Oct 2015 18:41:15 +0000 (19:41 +0100)]
UMD-Wrappper with possibility to add custom window object (#352)

8 years agofix rect
Ulrich-Matthias Schäfer [Thu, 22 Oct 2015 20:38:43 +0000 (22:38 +0200)]
fix rect

8 years agoadded pathmorphing extension to readme
Ulrich-Matthias Schäfer [Thu, 22 Oct 2015 16:06:56 +0000 (18:06 +0200)]
added pathmorphing extension to readme

8 years agobbox loop (fix #392)
Ulrich-Matthias Schäfer [Thu, 22 Oct 2015 15:20:45 +0000 (17:20 +0200)]
bbox loop (fix #392)

9 years agofixed mask animation in Firefox (#287)
Ulrich-Matthias Schäfer [Sun, 11 Oct 2015 19:55:58 +0000 (21:55 +0200)]
fixed mask animation in Firefox (#287)

9 years agomoved special handling of pattern/gradient transform to the corresponding class
Ulrich-Matthias Schäfer [Sun, 11 Oct 2015 14:13:04 +0000 (16:13 +0200)]
moved special handling of pattern/gradient transform to the corresponding class

9 years agoadded ungroup src file. ungrouping defs forbidden
Ulrich-Matthias Schäfer [Sun, 11 Oct 2015 13:45:18 +0000 (15:45 +0200)]
added ungroup src file. ungrouping defs forbidden

9 years agoadded ungroup/flatten (#238), toParent and toDoc
Ulrich-Matthias Schäfer [Sun, 11 Oct 2015 13:20:01 +0000 (15:20 +0200)]
added ungroup/flatten (#238), toParent and toDoc

9 years agofixes pattern animation (#385)
Ulrich-Matthias Schäfer [Sat, 10 Oct 2015 15:16:12 +0000 (17:16 +0200)]
fixes pattern animation (#385)

9 years agorun gulp
Ulrich-Matthias Schäfer [Mon, 5 Oct 2015 18:48:14 +0000 (20:48 +0200)]
run gulp

9 years agoUpdated Versions in package, bower and component.json
Ulrich-Matthias Schäfer [Mon, 5 Oct 2015 18:46:40 +0000 (20:46 +0200)]
Updated Versions in package, bower and component.json

9 years agoTypos, Bump to 2.1.1 2.1.1
Ulrich-Matthias Schäfer [Fri, 2 Oct 2015 22:07:57 +0000 (00:07 +0200)]
Typos, Bump to 2.1.1

9 years agoAdded custom context binding for event callbacks
Ulrich-Matthias Schäfer [Tue, 22 Sep 2015 18:51:46 +0000 (20:51 +0200)]
Added custom context binding for event callbacks

9 years agobump 2.1.0 2.1.0
Ulrich-Matthias Schäfer [Sun, 20 Sep 2015 17:33:56 +0000 (19:33 +0200)]
bump 2.1.0

9 years agoclone method for text to mark all firstlevel tspans as newlines (fixes #369)
Ulrich-Matthias Schäfer [Tue, 15 Sep 2015 21:47:21 +0000 (23:47 +0200)]
clone method for text to mark all firstlevel tspans as newlines (fixes #369)

9 years agoadded transform to pattern and gradient (fix #383)
Ulrich-Matthias Schäfer [Tue, 15 Sep 2015 21:22:03 +0000 (23:22 +0200)]
added transform to pattern and gradient (fix #383)

added skewX and skewY

9 years agoMerge pull request #372 from rayglover/fix-ie-transforms
Fuzzy [Tue, 15 Sep 2015 20:54:01 +0000 (22:54 +0200)]
Merge pull request #372 from rayglover/fix-ie-transforms

Transform lists in IE11

9 years agobuild (pr #372) 372/head
Ray Glover [Mon, 14 Sep 2015 13:09:33 +0000 (14:09 +0100)]
build (pr #372)

9 years agoMerge remote-tracking branch 'upstream/master'
Ray Glover [Mon, 14 Sep 2015 12:37:42 +0000 (13:37 +0100)]
Merge remote-tracking branch 'upstream/master'

Conflicts:
dist/svg.js
dist/svg.min.js

9 years agoMerge pull request #370 from dhardtke/master
Fuzzy [Sun, 6 Sep 2015 19:42:26 +0000 (21:42 +0200)]
Merge pull request #370 from dhardtke/master

fix stupid typo that leads to broken gradients

9 years agofix typo (finally) 370/head
dhardtke [Sun, 6 Sep 2015 18:35:13 +0000 (20:35 +0200)]
fix typo (finally)

9 years agoMerge pull request #367 from spthm/circleRadiusAnimFix
Fuzzy [Sun, 6 Sep 2015 18:09:50 +0000 (20:09 +0200)]
Merge pull request #367 from spthm/circleRadiusAnimFix

Fixes #366

9 years agobuild
Ray Glover [Fri, 14 Aug 2015 15:59:15 +0000 (16:59 +0100)]
build

9 years agoMake parsing a <transform-list> more robust in the face of IE11
Ray Glover [Fri, 14 Aug 2015 15:59:01 +0000 (16:59 +0100)]
Make parsing a <transform-list> more robust in the face of IE11
which doesn't use commas (',') to delimit matrix elements. see also:
http://www.w3.org/TR/SVG11/coords.html#SVGGlobalTransformAttribute

9 years agofix stupid typo that leads to broken gradients
dhardtke [Sat, 8 Aug 2015 14:19:54 +0000 (16:19 +0200)]
fix stupid typo that leads to broken gradients

9 years agoFixes #366 367/head
Sam Thomson [Thu, 30 Jul 2015 15:18:24 +0000 (16:18 +0100)]
Fixes #366