]> source.dussan.org Git - svg.js.git/log
svg.js.git
4 years agoadded Fragment, completed Dom Tests, fixed `matches()` for document fragments
Ulrich-Matthias Schäfer [Tue, 7 Apr 2020 21:32:38 +0000 (07:32 +1000)]
added Fragment, completed Dom Tests, fixed `matches()` for document fragments

4 years agoadded second parameter to `addTo` and `putIn`. Added deep clone parameter to `clone...
Ulrich-Matthias Schäfer [Sun, 5 Apr 2020 10:51:35 +0000 (20:51 +1000)]
added second parameter to `addTo` and `putIn`. Added deep clone parameter to `clone`. Tests for Dom

4 years agorenamed removeNamespace()
Ulrich-Matthias Schäfer [Sat, 4 Apr 2020 11:25:32 +0000 (21:25 +1000)]
renamed removeNamespace()

4 years ago - fixed `put()` which correctly creates an svgjs object from the passed element...
Ulrich-Matthias Schäfer [Fri, 3 Apr 2020 08:42:19 +0000 (18:42 +1000)]
 - fixed `put()` which correctly creates an svgjs object from the passed element now before returning
 - fixed `parent()` which correctly returns null if direct parent is the document or a document-fragment
 - fixed `add()` which correctly removes namespaces of non-root svg elements now when added to another svg element (#1086)
 - fixed `isRoot()` which correctly returns false, if the element is in a document-fragment

4 years agofixed put and adopter, added tests to cover it
Ulrich-Matthias Schäfer [Sun, 29 Mar 2020 00:47:16 +0000 (10:47 +1000)]
fixed put and adopter, added tests to cover it

4 years agofix travis config
Ulrich-Matthias Schäfer [Sat, 28 Mar 2020 07:03:11 +0000 (17:03 +1000)]
fix travis config

4 years agoThis is a big one...
Ulrich-Matthias Schäfer [Sat, 28 Mar 2020 03:52:57 +0000 (13:52 +1000)]
This is a big one...

### Fixed
 - fixed `zoom()` method of runner which was passed a wrong parameter
 - fixed positioning methods of `TSpan` to position them by its bounding box
 - fixed `flip()` method which flips correctly by center by default now and accepts correct arguments
 - fixed a case in `rbox()` where not always all values of the box were updated
 - fixed `getOrigin()` function used by `transform()` so that all origin (#1085) popssibilities specified in the docs are working
 - fixed positioning of text by its baseline when using `amove()`
 - fixed tons of typings in the svg.d.ts file

### Added
 - added second Parameter to `SVG(el, isHTML)` which allows to explicitely create elements in the HTML namespace (#1058)
 - added `unlink()` and `linker()` to hyperlinked elements to remove or access the underling `<a>` element
 - added `wrap()` method to `Dom` which lets you wrap an element by another one
 - added `orient()` method to `Marker`
 - added `options` parameter to `dispatch()` and `fire()` to allow for more special needs
 - added `newLine()` constructor to `Text` to create a tspan marked as new line (#1088)
 - added lots of tests in es6 format

4 years agoMerge pull request #1096 from LumaKernel/types-for-mouse-events
Ulrich-Matthias Schäfer [Mon, 23 Mar 2020 07:43:09 +0000 (17:43 +1000)]
Merge pull request #1096 from LumaKernel/types-for-mouse-events

Add mouseenter()/mouseleave() function definition to types.

4 years agoAdd mouseenter()/mouseleave() function definition to types. 1096/head
Luma [Mon, 23 Mar 2020 04:13:14 +0000 (13:13 +0900)]
Add mouseenter()/mouseleave() function definition to types.

4 years agoMerge pull request #1065 from mradcliffe/1064-fix-element-animate-typing
Ulrich-Matthias Schäfer [Thu, 19 Dec 2019 05:58:54 +0000 (06:58 +0100)]
Merge pull request #1065 from mradcliffe/1064-fix-element-animate-typing

Fixes Element.animate typing

4 years agoChanges animate duration argument to TimeLike 1065/head
Matthew Radcliffe [Mon, 16 Dec 2019 12:32:47 +0000 (07:32 -0500)]
Changes animate duration argument to TimeLike

4 years agoFixes Element.animate typing
Matthew Radcliffe [Thu, 12 Dec 2019 19:22:30 +0000 (14:22 -0500)]
Fixes Element.animate typing

5 years agofixed build of polyfills which was broken because of core-js update 3.0.16
Ulrich-Matthias Schäfer [Tue, 12 Nov 2019 20:56:34 +0000 (21:56 +0100)]
fixed build of polyfills which was broken because of core-js update

5 years agobump version 3.0.15
Ulrich-Matthias Schäfer [Fri, 8 Nov 2019 08:55:24 +0000 (09:55 +0100)]
bump version

### Fixed
- allow object input of `when` and `delay` to `animate()`

### Added
- added missing dmove function to runner

5 years agoUpdated dependencies to newest version, new linter fixed stuff
Ulrich-Matthias Schäfer [Fri, 1 Nov 2019 12:37:24 +0000 (13:37 +0100)]
Updated dependencies to newest version, new linter fixed stuff

5 years agobump version 3.0.14
Ulrich-Matthias Schäfer [Thu, 31 Oct 2019 20:10:30 +0000 (21:10 +0100)]
bump version

5 years agoMerge pull request #1026 from lenzls/1023-hide-from-screen-readers
Ulrich-Matthias Schäfer [Sat, 27 Jul 2019 08:26:22 +0000 (10:26 +0200)]
Merge pull request #1026 from lenzls/1023-hide-from-screen-readers

#1023 - hide parser from screen readers

5 years ago1023 - update package-lock.json 1026/head
Simon Lenz [Fri, 26 Jul 2019 22:02:46 +0000 (00:02 +0200)]
1023 - update package-lock.json

5 years ago1023 - hide parser from screen readers
Simon Lenz [Fri, 26 Jul 2019 22:02:26 +0000 (00:02 +0200)]
1023 - hide parser from screen readers

5 years agobump version 3.0.13
Ulrich-Matthias Schäfer [Wed, 12 Jun 2019 11:10:32 +0000 (13:10 +0200)]
bump version

5 years agoMerge pull request #1004 from maxailloud/typescript-definition-file-cleaning
Ulrich-Matthias Schäfer [Fri, 24 May 2019 15:07:28 +0000 (17:07 +0200)]
Merge pull request #1004 from maxailloud/typescript-definition-file-cleaning

Typescript definition file cleaning

5 years agoPathArray parse method's parameter should be optional to comply with the parent class 1004/head
Maxime AILLOUD [Fri, 24 May 2019 11:24:48 +0000 (12:24 +0100)]
PathArray parse method's parameter should be optional to comply with the parent class

5 years agoTypescript definition file: add null as possible parameter for event binding methods...
Maxime AILLOUD [Fri, 24 May 2019 10:33:03 +0000 (11:33 +0100)]
Typescript definition file: add null as possible parameter for event binding methods in Element class

5 years agoMerge pull request #992 from valentinradu/master
Ulrich-Matthias Schäfer [Thu, 9 May 2019 13:08:51 +0000 (15:08 +0200)]
Merge pull request #992 from valentinradu/master

Fixed path transformation when box width or height is 0

5 years agoAdded tests for 0 value width/height wrong path scaling 992/head
Valentin [Thu, 9 May 2019 12:42:28 +0000 (15:42 +0300)]
Added tests for 0 value width/height wrong path scaling

5 years agoFixed path transformation when box width or height is 0
Valentin [Mon, 6 May 2019 16:27:16 +0000 (18:27 +0200)]
Fixed path transformation when box width or height is 0

5 years agofix transform getter when something is 0. Make sure only needed files are uploaded...
Ulrich-Matthias Schäfer [Fri, 26 Apr 2019 05:52:44 +0000 (07:52 +0200)]
fix transform getter when something is 0. Make sure only needed files are uploaded to npm

5 years agoMerge pull request #985 from JanMisker/patch-1
Ulrich-Matthias Schäfer [Thu, 11 Apr 2019 20:19:12 +0000 (22:19 +0200)]
Merge pull request #985 from JanMisker/patch-1

Update CHANGELOG.md

5 years agoUpdate CHANGELOG.md 985/head
JanMisker [Thu, 11 Apr 2019 20:18:15 +0000 (22:18 +0200)]
Update CHANGELOG.md

Back to the future... (sorry couldn't help to correct a minor typo in the date of 3.0.5)

5 years agoMerge pull request #966 from michAtEl/issue-964
Ulrich-Matthias Schäfer [Mon, 1 Apr 2019 09:35:41 +0000 (11:35 +0200)]
Merge pull request #966 from michAtEl/issue-964

bugfix for issue #964

5 years agoMerge pull request #974 from cmidt-veasna/update-typescript-definition
Ulrich-Matthias Schäfer [Fri, 1 Mar 2019 15:07:43 +0000 (16:07 +0100)]
Merge pull request #974 from cmidt-veasna/update-typescript-definition

Update typescript definition file.

5 years agoUpdate typescript definition file. 974/head
Veasna Sreng [Fri, 1 Mar 2019 14:50:50 +0000 (21:50 +0700)]
Update typescript definition file.

5 years agoRegister classes explicitly instead of relying on `Function.name` because classes...
Ulrich-Matthias Schäfer [Wed, 27 Feb 2019 21:05:11 +0000 (22:05 +0100)]
Register classes explicitly instead of relying on `Function.name` because classes could be renamed

5 years agobugfix for issue 964 966/head
Michael Becker [Sat, 23 Feb 2019 22:55:09 +0000 (23:55 +0100)]
bugfix for issue 964

5 years agobump version number 3.0.12
Ulrich-Matthias Schäfer [Tue, 19 Feb 2019 16:24:36 +0000 (17:24 +0100)]
bump version number

5 years agocleanup of .d.ts (#960)
kabentley [Tue, 19 Feb 2019 16:20:47 +0000 (11:20 -0500)]
cleanup of .d.ts (#960)

Big kudos to @kabentley for fixing the d.ts file

5 years agoadded foreignObject to the core
Ulrich-Matthias Schäfer [Mon, 18 Feb 2019 08:44:27 +0000 (09:44 +0100)]
added foreignObject to the core

5 years agoMerge pull request #957 from kabentley/use-umd
Ulrich-Matthias Schäfer [Tue, 12 Feb 2019 14:55:18 +0000 (15:55 +0100)]
Merge pull request #957 from kabentley/use-umd

cleanup of d.ts

5 years agofix SVGNumber and SVGArray 957/head
Keith Bentley [Tue, 12 Feb 2019 14:38:26 +0000 (09:38 -0500)]
fix SVGNumber and SVGArray

5 years agoMerge branch 'master' into use-umd
Keith Bentley [Tue, 12 Feb 2019 12:55:15 +0000 (07:55 -0500)]
Merge branch 'master' into use-umd

5 years agoCleanup of d.ts
Keith Bentley [Tue, 12 Feb 2019 12:52:28 +0000 (07:52 -0500)]
Cleanup of d.ts

5 years agoMerge pull request #1 from svgdotjs/master
kabentley [Mon, 11 Feb 2019 20:32:08 +0000 (15:32 -0500)]
Merge pull request #1 from svgdotjs/master

sync

5 years agoMerge pull request #956 from kabentley/use-umd
Ulrich-Matthias Schäfer [Mon, 11 Feb 2019 19:21:57 +0000 (20:21 +0100)]
Merge pull request #956 from kabentley/use-umd

Update .d.ts file with changes for 3.0, fix browser key in package.json

5 years agotwo constructors for PathArray 956/head
Keith Bentley [Mon, 11 Feb 2019 19:04:49 +0000 (14:04 -0500)]
two constructors for PathArray

5 years agomissed constructors on Matrix and PathArray
Keith Bentley [Mon, 11 Feb 2019 16:57:28 +0000 (11:57 -0500)]
missed constructors on Matrix and PathArray

5 years agorevert to iife for bundle. Set "browser" to src/main.js in package.json
Keith Bentley [Mon, 11 Feb 2019 13:41:39 +0000 (08:41 -0500)]
revert to iife for bundle. Set "browser" to src/main.js in package.json

5 years agoBare -> Dom
Keith Bentley [Sun, 10 Feb 2019 14:55:15 +0000 (09:55 -0500)]
Bare -> Dom

5 years agomore cleanup of svg.js.d.ts
Keith Bentley [Sun, 10 Feb 2019 14:52:35 +0000 (09:52 -0500)]
more cleanup of svg.js.d.ts

5 years agouse umd format in rollup.
Keith Bentley [Fri, 8 Feb 2019 20:51:44 +0000 (15:51 -0500)]
use umd format in rollup.

5 years agofix travis test
Ulrich-Matthias Schäfer [Tue, 22 Jan 2019 20:35:56 +0000 (21:35 +0100)]
fix travis test

5 years agobump version number 3.0.11
Ulrich-Matthias Schäfer [Tue, 22 Jan 2019 19:00:16 +0000 (20:00 +0100)]
bump version number

5 years agofixed move and center commands for text
Ulrich-Matthias Schäfer [Tue, 22 Jan 2019 18:57:50 +0000 (19:57 +0100)]
fixed move and center commands for text

 - fixed move commands (x, y, move) of text so that it moves text always by the upper left edge.
 - fixed center commands (cx, cy, center) of text so that it moves text always by the center.

5 years agospeed up zoom function for non-FF Browser
Ulrich-Matthias Schäfer [Fri, 18 Jan 2019 18:52:12 +0000 (19:52 +0100)]
speed up zoom function for non-FF Browser

5 years agocorrect wrong year in changelog
Ulrich-Matthias Schäfer [Mon, 14 Jan 2019 16:07:20 +0000 (17:07 +0100)]
correct wrong year in changelog

5 years agofixed `root()`, `textPath()`, `text.path()` and `path.text()` and removed font-family... 3.0.10
Ulrich-Matthias Schäfer [Mon, 14 Jan 2019 12:10:38 +0000 (13:10 +0100)]
fixed `root()`, `textPath()`, `text.path()` and `path.text()` and removed font-family and size from the defaults list

5 years agofixed `textPath()` and `path().text()`
Ulrich-Matthias Schäfer [Mon, 14 Jan 2019 10:01:25 +0000 (11:01 +0100)]
fixed `textPath()` and `path().text()`

5 years agorenamed unit() to `convert()` to avoid name collision 3.0.9
Ulrich-Matthias Schäfer [Mon, 14 Jan 2019 08:15:30 +0000 (09:15 +0100)]
renamed unit() to `convert()` to avoid name collision

5 years agoadded back `to()` as `unit()` of `SVG.Number` which was removed accidentally 3.0.8
Ulrich-Matthias Schäfer [Sun, 13 Jan 2019 19:39:11 +0000 (20:39 +0100)]
added back `to()` as `unit()` of `SVG.Number` which was removed accidentally

5 years agominor bugfix in bbox and performance changes 3.0.7
Ulrich-Matthias Schäfer [Sun, 13 Jan 2019 12:11:43 +0000 (13:11 +0100)]
minor bugfix in bbox and performance changes

5 years agoRelease 3.0.6 3.0.6
Ulrich-Matthias Schäfer [Sat, 12 Jan 2019 20:14:59 +0000 (21:14 +0100)]
Release 3.0.6

5 years agoFix move and size of groups, removed setting of a default font so we dont act against...
Ulrich-Matthias Schäfer [Sat, 12 Jan 2019 19:32:39 +0000 (20:32 +0100)]
Fix move and size of groups, removed setting of a default font so we dont act against user intention, fixed bug in `font()`

5 years agoMerge pull request #947 from idready/master
Ulrich-Matthias Schäfer [Sun, 30 Dec 2018 21:42:39 +0000 (22:42 +0100)]
Merge pull request #947 from idready/master

Correct words

5 years agoCorrect words 947/head
idready [Sun, 30 Dec 2018 17:21:11 +0000 (18:21 +0100)]
Correct words

5 years agoMerge pull request #945 from edemaine/pointarray-transform
Ulrich-Matthias Schäfer [Fri, 14 Dec 2018 21:35:45 +0000 (22:35 +0100)]
Merge pull request #945 from edemaine/pointarray-transform

Add PointArray.transform by analogy to Point.transform

5 years agoAvoid for..of loop 945/head
Erik Demaine [Fri, 14 Dec 2018 19:27:08 +0000 (14:27 -0500)]
Avoid for..of loop

5 years agoAdd tests
Erik Demaine [Fri, 14 Dec 2018 14:13:03 +0000 (09:13 -0500)]
Add tests

5 years agoBug fix
Erik Demaine [Fri, 14 Dec 2018 14:12:53 +0000 (09:12 -0500)]
Bug fix

5 years agoFix missing comma, lint
Erik Demaine [Fri, 14 Dec 2018 13:42:56 +0000 (08:42 -0500)]
Fix missing comma, lint

5 years agoAdd PointArray.transform by analogy to Point.transform
Erik Demaine [Thu, 13 Dec 2018 16:09:20 +0000 (11:09 -0500)]
Add PointArray.transform by analogy to Point.transform

5 years agoRelease 3.0.5 3.0.5
Ulrich-Matthias Schäfer [Wed, 12 Dec 2018 22:21:10 +0000 (23:21 +0100)]
Release 3.0.5

5 years agoRelease 3.0.4 3.0.4
Ulrich-Matthias Schäfer [Fri, 7 Dec 2018 14:35:41 +0000 (15:35 +0100)]
Release 3.0.4

5 years agoRelease 3.0.3 3.0.3
Ulrich-Matthias Schäfer [Wed, 5 Dec 2018 18:36:28 +0000 (19:36 +0100)]
Release 3.0.3

5 years agoRelease 3.0.2 3.0.2
Ulrich-Matthias Schäfer [Mon, 3 Dec 2018 21:59:58 +0000 (22:59 +0100)]
Release 3.0.2

5 years agoRelease 3.0.1 3.0.1
Ulrich-Matthias Schäfer [Mon, 3 Dec 2018 15:20:24 +0000 (16:20 +0100)]
Release 3.0.1

5 years agofixed methods not returning this and missing methods on List
Ulrich-Matthias Schäfer [Mon, 3 Dec 2018 15:19:21 +0000 (16:19 +0100)]
fixed methods not returning this and missing methods on List

5 years agoRelease 3.0.0 3.0.0
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 21:21:26 +0000 (22:21 +0100)]
Release 3.0.0

5 years agoMake sure, that install notes are correct
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 19:17:22 +0000 (20:17 +0100)]
Make sure, that install notes are correct

5 years agocleaup readme, the info is in the docs
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 17:58:16 +0000 (18:58 +0100)]
cleaup readme, the info is in the docs

5 years agoapplied fixes from 2.x branch
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 17:39:37 +0000 (18:39 +0100)]
applied fixes from 2.x branch

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

5 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

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

5 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

5 years agocorrect script
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 16:38:49 +0000 (17:38 +0100)]
correct script

5 years agofix playgrounds, delete unneeded files
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 16:24:04 +0000 (17:24 +0100)]
fix playgrounds, delete unneeded files

5 years agoMerge branch '790-color-spaces' into 3.0.0
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 14:57:06 +0000 (15:57 +0100)]
Merge branch '790-color-spaces' into 3.0.0

5 years agoMerge pull request #939 from svgdotjs/791-random-colors
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 14:33:20 +0000 (15:33 +0100)]
Merge pull request #939 from svgdotjs/791-random-colors

Implemented random colors and added back the playgrounds

5 years agoMerge branch '790-color-spaces' into 791-random-colors 939/head
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 14:29:12 +0000 (15:29 +0100)]
Merge branch '790-color-spaces' into 791-random-colors

5 years agoadd back move and dmove for groups
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 13:57:30 +0000 (14:57 +0100)]
add back move and dmove for groups

5 years agoclamp values in toHex, tests, replace for of with for in
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 13:53:05 +0000 (14:53 +0100)]
clamp values in toHex, tests, replace for of with for in

5 years agoImplemented random colors and added back the playgrounds
Saivan [Sat, 1 Dec 2018 13:38:23 +0000 (00:38 +1100)]
Implemented random colors and added back the playgrounds

This commit adds back the playgrounds and the npm demo. We also implemented a few
methods to generate pretty random colors.

Changes
=======
- Added back the playgrounds and the npm demos
- Implemented a few random color generators

5 years agoadd scripts to automatically upload to bower repo when publishing
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 12:50:17 +0000 (13:50 +0100)]
add scripts to automatically upload to bower repo when publishing

5 years agodont generate esm bundle anymore and link to src/main.js directly. Move bower to...
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 12:32:23 +0000 (13:32 +0100)]
dont generate esm bundle anymore and link to src/main.js directly. Move bower to its own repo

rename makeNode back to create

5 years agodelete dist files from repo.
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 12:22:11 +0000 (13:22 +0100)]
delete dist files from repo.

5 years agoMerge branch '3.0.0' into 790-color-spaces
Ulrich-Matthias Schäfer [Fri, 30 Nov 2018 12:19:58 +0000 (13:19 +0100)]
Merge branch '3.0.0' into 790-color-spaces

5 years agofix testing with svgdom
Ulrich-Matthias Schäfer [Wed, 28 Nov 2018 14:26:03 +0000 (15:26 +0100)]
fix testing with svgdom

5 years agoMerge branch 'es6-tests' into 3.0.0
Ulrich-Matthias Schäfer [Wed, 28 Nov 2018 13:08:37 +0000 (14:08 +0100)]
Merge branch 'es6-tests' into 3.0.0

5 years agomerge karma configurations
Ulrich-Matthias Schäfer [Wed, 28 Nov 2018 13:07:22 +0000 (14:07 +0100)]
merge karma configurations

5 years agorun build
Ulrich-Matthias Schäfer [Wed, 28 Nov 2018 12:51:28 +0000 (13:51 +0100)]
run build

5 years agoinclude adopter tests in test bundle
Ulrich-Matthias Schäfer [Tue, 20 Nov 2018 15:45:16 +0000 (16:45 +0100)]
include adopter tests in test bundle