]>
source.dussan.org Git - svg.js.git/log
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
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
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
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
Valentin [Thu, 9 May 2019 12:42:28 +0000 (15:42 +0300)]
Added tests for 0 value width/height wrong path scaling
Valentin [Mon, 6 May 2019 16:27:16 +0000 (18:27 +0200)]
Fixed path transformation when box width or height is 0
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
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
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)
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
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.
Veasna Sreng [Fri, 1 Mar 2019 14:50:50 +0000 (21:50 +0700)]
Update typescript definition file.
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
Michael Becker [Sat, 23 Feb 2019 22:55:09 +0000 (23:55 +0100)]
bugfix for issue 964
Ulrich-Matthias Schäfer [Tue, 19 Feb 2019 16:24:36 +0000 (17:24 +0100)]
bump version number
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
Ulrich-Matthias Schäfer [Mon, 18 Feb 2019 08:44:27 +0000 (09:44 +0100)]
added foreignObject to the core
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
Keith Bentley [Tue, 12 Feb 2019 14:38:26 +0000 (09:38 -0500)]
fix SVGNumber and SVGArray
Keith Bentley [Tue, 12 Feb 2019 12:55:15 +0000 (07:55 -0500)]
Merge branch 'master' into use-umd
Keith Bentley [Tue, 12 Feb 2019 12:52:28 +0000 (07:52 -0500)]
Cleanup of d.ts
kabentley [Mon, 11 Feb 2019 20:32:08 +0000 (15:32 -0500)]
Merge pull request #1 from svgdotjs/master
sync
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
Keith Bentley [Mon, 11 Feb 2019 19:04:49 +0000 (14:04 -0500)]
two constructors for PathArray
Keith Bentley [Mon, 11 Feb 2019 16:57:28 +0000 (11:57 -0500)]
missed constructors on Matrix and PathArray
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
Keith Bentley [Sun, 10 Feb 2019 14:55:15 +0000 (09:55 -0500)]
Bare -> Dom
Keith Bentley [Sun, 10 Feb 2019 14:52:35 +0000 (09:52 -0500)]
more cleanup of svg.js.d.ts
Keith Bentley [Fri, 8 Feb 2019 20:51:44 +0000 (15:51 -0500)]
use umd format in rollup.
Ulrich-Matthias Schäfer [Tue, 22 Jan 2019 20:35:56 +0000 (21:35 +0100)]
fix travis test
Ulrich-Matthias Schäfer [Tue, 22 Jan 2019 19:00:16 +0000 (20:00 +0100)]
bump version number
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.
Ulrich-Matthias Schäfer [Fri, 18 Jan 2019 18:52:12 +0000 (19:52 +0100)]
speed up zoom function for non-FF Browser
Ulrich-Matthias Schäfer [Mon, 14 Jan 2019 16:07:20 +0000 (17:07 +0100)]
correct wrong year in changelog
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
Ulrich-Matthias Schäfer [Mon, 14 Jan 2019 10:01:25 +0000 (11:01 +0100)]
fixed `textPath()` and `path().text()`
Ulrich-Matthias Schäfer [Mon, 14 Jan 2019 08:15:30 +0000 (09:15 +0100)]
renamed unit() to `convert()` to avoid name collision
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
Ulrich-Matthias Schäfer [Sun, 13 Jan 2019 12:11:43 +0000 (13:11 +0100)]
minor bugfix in bbox and performance changes
Ulrich-Matthias Schäfer [Sat, 12 Jan 2019 20:14:59 +0000 (21:14 +0100)]
Release 3.0.6
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()`
Ulrich-Matthias Schäfer [Sun, 30 Dec 2018 21:42:39 +0000 (22:42 +0100)]
Merge pull request #947 from idready/master
Correct words
idready [Sun, 30 Dec 2018 17:21:11 +0000 (18:21 +0100)]
Correct words
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
Erik Demaine [Fri, 14 Dec 2018 19:27:08 +0000 (14:27 -0500)]
Avoid for..of loop
Erik Demaine [Fri, 14 Dec 2018 14:13:03 +0000 (09:13 -0500)]
Add tests
Erik Demaine [Fri, 14 Dec 2018 14:12:53 +0000 (09:12 -0500)]
Bug fix
Erik Demaine [Fri, 14 Dec 2018 13:42:56 +0000 (08:42 -0500)]
Fix missing comma, lint
Erik Demaine [Thu, 13 Dec 2018 16:09:20 +0000 (11:09 -0500)]
Add PointArray.transform by analogy to Point.transform
Ulrich-Matthias Schäfer [Wed, 12 Dec 2018 22:21:10 +0000 (23:21 +0100)]
Release 3.0.5
Ulrich-Matthias Schäfer [Fri, 7 Dec 2018 14:35:41 +0000 (15:35 +0100)]
Release 3.0.4
Ulrich-Matthias Schäfer [Wed, 5 Dec 2018 18:36:28 +0000 (19:36 +0100)]
Release 3.0.3
Ulrich-Matthias Schäfer [Mon, 3 Dec 2018 21:59:58 +0000 (22:59 +0100)]
Release 3.0.2
Ulrich-Matthias Schäfer [Mon, 3 Dec 2018 15:20:24 +0000 (16:20 +0100)]
Release 3.0.1
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
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 21:21:26 +0000 (22:21 +0100)]
Release 3.0.0
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 19:17:22 +0000 (20:17 +0100)]
Make sure, that install notes are correct
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 17:58:16 +0000 (18:58 +0100)]
cleaup readme, the info is in the docs
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 17:39:37 +0000 (18:39 +0100)]
applied fixes from 2.x branch
Saivan [Mon, 28 May 2018 10:36:19 +0000 (20:36 +1000)]
Its obvious that these Issue templates were notes...
Saivan [Mon, 28 May 2018 10:31:38 +0000 (20:31 +1000)]
Updated the issue templates to have multiple possibilities
saivan [Mon, 28 May 2018 10:19:59 +0000 (20:19 +1000)]
Update issue templates
Saivan [Mon, 28 May 2018 10:14:52 +0000 (20:14 +1000)]
Added a contributing and issue template guide
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 16:38:49 +0000 (17:38 +0100)]
correct script
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 16:24:04 +0000 (17:24 +0100)]
fix playgrounds, delete unneeded files
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 14:57:06 +0000 (15:57 +0100)]
Merge branch '790-color-spaces' into 3.0.0
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
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 14:29:12 +0000 (15:29 +0100)]
Merge branch '790-color-spaces' into 791-random-colors
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 13:57:30 +0000 (14:57 +0100)]
add back move and dmove for groups
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
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
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
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
Ulrich-Matthias Schäfer [Sat, 1 Dec 2018 12:22:11 +0000 (13:22 +0100)]
delete dist files from repo.
Ulrich-Matthias Schäfer [Fri, 30 Nov 2018 12:19:58 +0000 (13:19 +0100)]
Merge branch '3.0.0' into 790-color-spaces
Ulrich-Matthias Schäfer [Wed, 28 Nov 2018 14:26:03 +0000 (15:26 +0100)]
fix testing with svgdom
Ulrich-Matthias Schäfer [Wed, 28 Nov 2018 13:08:37 +0000 (14:08 +0100)]
Merge branch 'es6-tests' into 3.0.0
Ulrich-Matthias Schäfer [Wed, 28 Nov 2018 13:07:22 +0000 (14:07 +0100)]
merge karma configurations
Ulrich-Matthias Schäfer [Wed, 28 Nov 2018 12:51:28 +0000 (13:51 +0100)]
run build
Ulrich-Matthias Schäfer [Tue, 20 Nov 2018 15:45:16 +0000 (16:45 +0100)]
include adopter tests in test bundle
Ulrich-Matthias Schäfer [Sun, 18 Nov 2018 18:13:28 +0000 (19:13 +0100)]
add tests for all exports of adopter
Ulrich-Matthias Schäfer [Tue, 13 Nov 2018 10:19:05 +0000 (11:19 +0100)]
make es5 tests
Ulrich-Matthias Schäfer [Tue, 13 Nov 2018 09:10:32 +0000 (10:10 +0100)]
add config for karma to run es6 tests
Ulrich-Matthias Schäfer [Mon, 12 Nov 2018 22:09:25 +0000 (23:09 +0100)]
plumber differences between node and browser so that tests run on both
Ulrich-Matthias Schäfer [Mon, 12 Nov 2018 18:45:29 +0000 (19:45 +0100)]
make tests work in node and browser
Ulrich-Matthias Schäfer [Mon, 12 Nov 2018 08:36:48 +0000 (09:36 +0100)]
started to add es6 tests using svgdom as fallback in case no dom is found
Ulrich-Matthias Schäfer [Wed, 28 Nov 2018 11:57:52 +0000 (12:57 +0100)]
Fix build chain so that we now have multiple builds. Details below:
- svg.js: The esm bundle
- svg.min.js: The bundle for all browsers for maximum support
- svg.node.js: The bundle for node
- polyfill.js: Using svg.min.js requires this polyfill in case the Browser does not understand all of ./config/polyfillList.js
- polyfillIE.js: This is required when you use IE11 (polyfill.js still required)
Please note, that not all test pass for IE11 due to its rounding issues and wrong calculation of bbox.
Also note, that `defaultPrevented` is not working for CustomEvents in IE11.
Ulrich-Matthias Schäfer [Tue, 27 Nov 2018 11:39:10 +0000 (12:39 +0100)]
Merge branch 'feature/tests2' into 3.0.0
Ulrich-Matthias Schäfer [Mon, 26 Nov 2018 21:47:27 +0000 (22:47 +0100)]
fix bugs in runner, fix imports
Ulrich-Matthias Schäfer [Mon, 26 Nov 2018 13:15:55 +0000 (14:15 +0100)]
Fix bug when converting black to cymk space
Ulrich-Matthias Schäfer [Mon, 26 Nov 2018 13:02:02 +0000 (14:02 +0100)]
Make color-animation work in all spaces (conversion bugs still there)
- Make sure _d is always defined
- Clean up object before init
- Check space in array
- Use passed space instead of space in object if available
Ulrich-Matthias Schäfer [Sun, 25 Nov 2018 12:04:42 +0000 (13:04 +0100)]
fix Morphable so that it works with color spaces. It prefers the `to` space over the `from` space
- _d is initialized to 0 so toArray does not give you undefined
- fix tests
Saivan [Sun, 25 Nov 2018 11:18:19 +0000 (00:18 +1300)]
Finished off the color spaces, we are all green!
We now have tested and working color spaces, isn't that nice!
Changes
=======
- All color spaces are working
Saivan [Sun, 25 Nov 2018 11:17:41 +0000 (00:17 +1300)]
Reverted some of the lint rules after chatting with fuzzy
This commit reverts some of the rules we added on the linter, it changed a lot of
code again... but these won't happen too often.
Changes
=======
- Modified the linter again
Saivan [Sun, 25 Nov 2018 03:23:35 +0000 (16:23 +1300)]
Updated all of the color modules and old tests are passing again
This commit updates the color modules, so that the old tests pass, we just need to
modify the tests to test some of the new functionality (Since there was a lot of
copy and paste work done haha)
Changes
=======
- Updated the color module to support a number of color spaces
- Made sure all of the old tests are working again
Saivan [Sun, 25 Nov 2018 03:21:53 +0000 (16:21 +1300)]
Changed the esLint rules to avoid silly ternary operators, and to let code breathe!
This commit modifies some of the eslint rules, to allow our code to be a little bit more
readable. This came about because we had a particularly pesky problem, where the code
was indenting ternary operators. This fixes that, and makes it easy to add new rules
to eslint as we please in the future.
Changes
=======
- Rebuilt the library with new eslint rules
- Changed the eslintrc file to a yaml file by default
Ulrich-Matthias Schäfer [Sat, 24 Nov 2018 20:21:29 +0000 (21:21 +0100)]
add polyfill for CustomEvent
Ulrich-Matthias Schäfer [Sat, 24 Nov 2018 15:06:51 +0000 (16:06 +0100)]
Make package json ready for npm org
Ulrich-Matthias Schäfer [Sat, 24 Nov 2018 13:35:14 +0000 (14:35 +0100)]
Moved utils, namespaces, regex... to a subobject of SVG. Renamed SVGArray and SVGNumber on export to Array and Number
Ulrich-Matthias Schäfer [Sat, 24 Nov 2018 10:17:13 +0000 (11:17 +0100)]
Get rid of HTMLNode and Bare in favor of Dom
- words() and element() added to Dom
- svg() now returns the _parent_ of the imported element, when outerHTML is true (which means an element gets replaces)