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

9 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

9 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".

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

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

9 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)

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

9 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)

9 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)

9 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"

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

9 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.

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

9 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.

9 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

9 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

9 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

9 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

9 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

9 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)

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

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

9 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)

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

9 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

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

9 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

9 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)

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

9 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

9 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

9 years agoBump 2.0.5 2.0.5
Ulrich-Matthias Schäfer [Sat, 4 Jul 2015 23:48:38 +0000 (01:48 +0200)]
Bump 2.0.5

9 years agoFixes #360
Ulrich-Matthias Schäfer [Sat, 4 Jul 2015 23:39:16 +0000 (01:39 +0200)]
Fixes #360

9 years agoFixed transform method which now uses current transformation and not ctm anymore
Ulrich-Matthias Schäfer [Sat, 4 Jul 2015 23:33:53 +0000 (01:33 +0200)]
Fixed transform method which now uses current transformation and not ctm anymore

9 years agoBump 2.0.4 2.0.4
Ulrich-Matthias Schäfer [Sun, 28 Jun 2015 19:26:09 +0000 (21:26 +0200)]
Bump 2.0.4

9 years agoFixed few bugs with doc() and problems with textNodes (#357)
Ulrich-Matthias Schäfer [Sun, 28 Jun 2015 19:24:20 +0000 (21:24 +0200)]
Fixed few bugs with doc() and problems with textNodes (#357)

9 years agoBump 2.0.3 2.0.3
Ulrich-Matthias Schäfer [Sat, 27 Jun 2015 12:03:23 +0000 (14:03 +0200)]
Bump 2.0.3

9 years agoFixed bug in SVG.Bare (closes #358)
Ulrich-Matthias Schäfer [Sat, 27 Jun 2015 12:00:58 +0000 (14:00 +0200)]
Fixed bug in SVG.Bare (closes #358)

9 years agoMerge pull request #356 from PeterDaveHelloKitchen/fix_file_permission
Fuzzy [Wed, 24 Jun 2015 21:29:51 +0000 (23:29 +0200)]
Merge pull request #356 from PeterDaveHelloKitchen/fix_file_permission

Fix file permission

9 years agouse gulp-chmod to set correct file permission 356/head
Peter Dave Hello [Tue, 23 Jun 2015 03:06:52 +0000 (11:06 +0800)]
use gulp-chmod to set correct file permission

9 years agoadd devDependencies gulp-chmod
Peter Dave Hello [Tue, 23 Jun 2015 02:40:36 +0000 (10:40 +0800)]
add devDependencies gulp-chmod

9 years agoremove useless executable permission
Peter Dave Hello [Tue, 23 Jun 2015 02:39:13 +0000 (10:39 +0800)]
remove useless executable permission

9 years agoBump 2.0.2 2.0.2
Ulrich-Matthias Schäfer [Mon, 22 Jun 2015 20:11:07 +0000 (22:11 +0200)]
Bump 2.0.2

9 years agoFixed zoom consideration in circle and ellipse (see d0e24c5a8d20167c03ec9b8873d1c4590...
Ulrich-Matthias Schäfer [Mon, 22 Jun 2015 20:07:08 +0000 (22:07 +0200)]
Fixed zoom consideration in circle and ellipse (see d0e24c5a8d20167c03ec9b8873d1c459001b9dac)

9 years agobump to 2.0.1 2.0.1
Ulrich-Matthias Schäfer [Sun, 21 Jun 2015 16:57:46 +0000 (18:57 +0200)]
bump to 2.0.1

9 years agoRemoved scale consideration in `move()`
Ulrich-Matthias Schäfer [Sun, 21 Jun 2015 16:32:10 +0000 (18:32 +0200)]
Removed scale consideration in `move()`

It wasn't compatible to the other move-functions e.g. for the PointArray