]>
source.dussan.org Git - svg.js.git/log
Saivan [Sun, 4 Mar 2018 10:44:05 +0000 (21:44 +1100)]
Added the dots test and restored the old tests
Saivan [Sun, 4 Mar 2018 09:58:07 +0000 (20:58 +1100)]
Integrated the transformations into the changes in 3.0.0
Saivan [Sat, 3 Mar 2018 21:56:15 +0000 (08:56 +1100)]
Build the final transformation code and fixed linting errors
Saivan [Sat, 3 Mar 2018 21:54:28 +0000 (08:54 +1100)]
Fixed all transformation tests, the new transforms are ready
This commit fixes all of the tests to reflect all of the changes to
our transform code. It also makes the default test output dots
instead of anything else.
Saivan [Sat, 3 Mar 2018 14:56:12 +0000 (01:56 +1100)]
Fixed most of the tests relating to transformations
Saivan [Sat, 3 Mar 2018 11:08:26 +0000 (22:08 +1100)]
Added matrix composition and decompositions
This commit adds matrix composition and decompositions (untested),
it also adds another playground to test that this is working as
expected in every case.
We also fixed a few linting errors.
Ulrich-Matthias Schäfer [Sat, 3 Mar 2018 11:00:22 +0000 (12:00 +0100)]
removed `size()` from `SVG.Text` to avoid name clash
Saivan [Fri, 2 Mar 2018 12:11:11 +0000 (23:11 +1100)]
All transformations except fx and Transformations are passing now
This commit modifies the specification (and in some places the code) to
reflect the changes to the transformations.
Saivan [Fri, 2 Mar 2018 09:51:26 +0000 (20:51 +1100)]
Investigating a possible rbox issue when transforming
Saivan [Fri, 2 Mar 2018 08:54:01 +0000 (19:54 +1100)]
Fixed a few more specifications regarding the new transforms
Saivan [Fri, 2 Mar 2018 01:48:54 +0000 (12:48 +1100)]
Merge branch '3.0.0' of github.com:svgdotjs/svg.js into 786-new-transformations
Saivan [Fri, 2 Mar 2018 01:48:43 +0000 (12:48 +1100)]
Fixed some tests involving transforms and elements
saivan [Fri, 2 Mar 2018 01:47:46 +0000 (12:47 +1100)]
Merge pull request #827 from svgdotjs/826-ungroup-flatten
make ungroup working on groups and nested for one depths
Saivan [Fri, 2 Mar 2018 01:14:42 +0000 (12:14 +1100)]
Implemented new transformations
This commit implements the new transformation model, but it also
needs to modify a few tests to fit the new format. This is still
a work in progress.
Ulrich-Matthias Schäfer [Thu, 1 Mar 2018 22:55:53 +0000 (23:55 +0100)]
make ungroup working on groups and nested for one depths
Ulrich-Matthias Schäfer [Thu, 1 Mar 2018 12:47:34 +0000 (13:47 +0100)]
update changelog
Ulrich-Matthias Schäfer [Thu, 1 Mar 2018 11:52:23 +0000 (12:52 +0100)]
Merge pull request #811 from svgdotjs/merge-doc-and-nested
merge SVG.Doc and SVG.Nested. Add isRoot() method
Ulrich-Matthias Schäfer [Thu, 1 Mar 2018 11:42:16 +0000 (12:42 +0100)]
fixed all that errors which come along when removing an object. Fixed tests, too and added isRoot test
Ulrich-Matthias Schäfer [Mon, 12 Feb 2018 12:49:38 +0000 (13:49 +0100)]
return explicit null if there is no root
Ulrich-Matthias Schäfer [Sun, 11 Feb 2018 14:29:23 +0000 (15:29 +0100)]
merge SVG.Doc and SVG.Nested. Add isRoot() method, update doc methods to decide between doc and nested
Ulrich-Matthias Schäfer [Wed, 28 Feb 2018 09:27:14 +0000 (10:27 +0100)]
Merge pull request #808 from svgdotjs/events-memory-leak
proposal for #807, includes #550, `SVG.off()` multiple events and option argument
Ulrich-Matthias Schäfer [Tue, 27 Feb 2018 11:25:12 +0000 (12:25 +0100)]
updated changelog
Ulrich-Matthias Schäfer [Tue, 27 Feb 2018 11:17:37 +0000 (12:17 +0100)]
search and replace replaced to much
Ulrich-Matthias Schäfer [Tue, 27 Feb 2018 11:16:31 +0000 (12:16 +0100)]
found the error whereelse. go back to version before with applied fix
Ulrich-Matthias Schäfer [Tue, 27 Feb 2018 11:12:19 +0000 (12:12 +0100)]
fixed error that listener was strangely defined even if function was called without
Ulrich-Matthias Schäfer [Tue, 27 Feb 2018 09:07:56 +0000 (10:07 +0100)]
fix errors found by linter (jeah it works!)
Ulrich-Matthias Schäfer [Sun, 11 Feb 2018 12:11:31 +0000 (13:11 +0100)]
proposal for #807, includes #550, allow multiple events for `SVG.off()` and add option argument
Saivan [Tue, 27 Feb 2018 06:36:08 +0000 (17:36 +1100)]
Updated the README to welcome new users better!
This commit updates the README with up to date instructions about
how to run and build the library, as well as how to run the tests,
playgrounds and performance tests
Saivan [Tue, 27 Feb 2018 06:23:59 +0000 (17:23 +1100)]
Made developing a little more enjoyable
This commit adds playgrounds and a build:dev mode. Now you
can call npm run build:dev to make the linter warn you about
errors without breaking. Also, we now have playgrounds, where
you can use a built version of svg.js to run your own tests.
Saivan [Tue, 27 Feb 2018 00:41:21 +0000 (11:41 +1100)]
Merged the 3.0.0 branch to add the linter
I added the linter here to make programming and running the tests
easier throughout the programming process.
saivan [Mon, 26 Feb 2018 23:54:51 +0000 (10:54 +1100)]
Merge pull request #823 from svgdotjs/800-add-linter
Added the standard linter
Saivan [Mon, 26 Feb 2018 16:38:34 +0000 (03:38 +1100)]
Built the final linted file
Saivan [Mon, 26 Feb 2018 16:37:31 +0000 (03:37 +1100)]
Fixed a few hanging issues with the linter
This commit fixes a few typesetting issues that probably resulted
from the automated linting process
Saivan [Mon, 26 Feb 2018 16:03:12 +0000 (03:03 +1100)]
Forgot to add standard to the package-json doh
Saivan [Mon, 26 Feb 2018 15:52:25 +0000 (02:52 +1100)]
So the standard linter is operational and our code is compliant
This commit completes the compliance of our code with the standard
linter. It is now building correctly and error messages are displayed
when somebody tries to build bad code!
Saivan [Mon, 26 Feb 2018 15:08:37 +0000 (02:08 +1100)]
Actually added the linter to gulp and fixed most errors
This commit fixes most of the errors raised by standard.
There is still a strange call error, but that will be the
focus of the next commit
Saivan [Mon, 26 Feb 2018 14:14:06 +0000 (01:14 +1100)]
All files now loosely abide by standard linting
This commit completes the rest of the files, making sure they are
in the standard linting format. Next we will add the linter to
the build process of our application.
Saivan [Mon, 26 Feb 2018 13:48:11 +0000 (00:48 +1100)]
The first half of the library complies with Standard linting
This commit reformats the code so that it complies with the
standard linting style. Its currently a work in progress, but
it is meant to pave the way for linting in the build process
Saivan [Mon, 26 Feb 2018 08:21:18 +0000 (19:21 +1100)]
Matrix operations now apply to the current matrix
This commit applies matrix operations to the current matrix, so
calling mat.rotate will rotate the current matrix directly
Saivan [Mon, 26 Feb 2018 05:59:46 +0000 (16:59 +1100)]
We can form a compound matrix in the matrix module
This commit allows us to form a compounded matrix by setting
parameters like scale, translate, rotate etc directly in a single
call by asserting a particular matrix order.
Saivan [Sun, 25 Feb 2018 10:36:16 +0000 (21:36 +1100)]
Identified transformation code to retire
This commit simply identifies some of the code that we will be
retiring in 3.0.0 related to transformations. I have commented
and in some cases removed code that will not be required.
Changes
=======
- Added the new affine composition and decomposition functions
- Commented out code that will be removed in coming commits
Ulrich-Matthias Schäfer [Wed, 7 Feb 2018 09:32:15 +0000 (10:32 +0100)]
make sure to remove event handlers from temporary image (#805)
Ulrich-Matthias Schäfer [Tue, 6 Feb 2018 22:17:43 +0000 (23:17 +0100)]
remove test for `show()`
Ulrich-Matthias Schäfer [Tue, 6 Feb 2018 22:12:35 +0000 (23:12 +0100)]
remove `SVG.A.show()` to resolve nameclash (fix #802)
Ulrich-Matthias Schäfer [Fri, 28 Jul 2017 13:07:36 +0000 (15:07 +0200)]
improved SVG.on and el.on (#727)
- `SVG.on()` calls the listener in the context of the passed object. el.on always uses the svg.js object as context
- `SVG.on()` and `el.on()` now accepts multiple comma or space seperated events e.g. "mousedown, foo bar" (#727)
Ulrich-Matthias Schäfer [Fri, 28 Jul 2017 12:20:48 +0000 (14:20 +0200)]
The dom is checked for an svgjs:data attribute which is imported when creating an element
Ulrich-Matthias Schäfer [Tue, 25 Jul 2017 12:52:13 +0000 (14:52 +0200)]
fix bug where defs returns nothing
Ulrich-Matthias Schäfer [Tue, 25 Jul 2017 12:19:49 +0000 (14:19 +0200)]
add new default constructor (#714)
Ulrich-Matthias Schäfer [Tue, 25 Jul 2017 07:14:48 +0000 (09:14 +0200)]
Lots of breaking changes. Read below! (#646, #716)
- added `SVG.HTMLNode` which is the object wrapped around html nodes to put something in them
- moved `defs()` method from `SVG.Parent` to `SVG.Element`
- `SVG()` can be called with css selector, node or svg string, now. Without an argument it creates a new `SVG.Doc()` (#646)
- `add()`, `put()`, `addTo()`, `putIn()` now excepts all arguments accepted by `SVG()`
- `SVG.Nested` is not `overflow:visible` by default
- all `SVG.*` objects now can have a node as parameter when constructing
- `SVG()` does not set a default size anymore
Ulrich-Matthias Schäfer [Mon, 10 Jul 2017 11:51:06 +0000 (13:51 +0200)]
use `children` instead of `childNodes` (#710), renamed `previous()` to `prev()`
Ulrich-Matthias Schäfer [Fri, 7 Jul 2017 12:02:39 +0000 (14:02 +0200)]
renamed `fill()` method on `SVG.Gradient` and `SVG.Pattern` to `url()` (#708)
Ulrich-Matthias Schäfer [Fri, 7 Jul 2017 09:24:24 +0000 (11:24 +0200)]
renamed `SVG.Stop` constructor `at()` on `SVG.Gradient` to `stop()` (#707)
Ulrich-Matthias Schäfer [Fri, 7 Jul 2017 07:43:02 +0000 (09:43 +0200)]
reworked textPath (see #705)
Ulrich-Matthias Schäfer [Thu, 6 Jul 2017 09:07:29 +0000 (11:07 +0200)]
Merge branch 'master' into 3.0.0
Conflicts (All resolved):
dist/svg.js
dist/svg.min.js
package.json
src/doc.js
Ulrich-Matthias Schäfer [Thu, 6 Jul 2017 08:16:31 +0000 (10:16 +0200)]
fix array values which were not animated (#698)
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
Malte Fastrup Lyngsø [Tue, 6 Jun 2017 10:30:44 +0000 (12:30 +0200)]
Syntax fixes in TypeScript declaration file
Malte Fastrup Lyngsø [Tue, 6 Jun 2017 10:01:34 +0000 (12:01 +0200)]
Removed unused parameter spof of function spof()
Ulrich-Matthias Schäfer [Mon, 5 Jun 2017 09:35:23 +0000 (11:35 +0200)]
bump 2.6.2
Ulrich-Matthias Schäfer [Sun, 4 Jun 2017 19:45:35 +0000 (21:45 +0200)]
changelog, gitignore
Rémi Tétreault [Sat, 27 May 2017 05:14:42 +0000 (01:14 -0400)]
Update CHANGELOG and rebuild the lib
Jon Ege Ronnenberg [Fri, 26 May 2017 23:04:31 +0000 (01:04 +0200)]
Fixed links to releases
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
Youngrok Kim [Sat, 20 May 2017 07:42:32 +0000 (16:42 +0900)]
Add missing type definitions to svg.js.d.ts (#680)
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)
Corentin J [Thu, 11 May 2017 12:49:52 +0000 (14:49 +0200)]
Add unit tests for width & height animation
Corentin J [Thu, 11 May 2017 12:35:25 +0000 (14:35 +0200)]
Add animatable width & height
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
Rémi Tétreault [Tue, 2 May 2017 00:39:24 +0000 (20:39 -0400)]
allow SVG.Matrix to be passed SVG.Number
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)`
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
dotnetCarpenter [Wed, 26 Apr 2017 23:39:57 +0000 (01:39 +0200)]
format fixture svg and remove redundant css (use fixture.css instead)
dotnetCarpenter [Wed, 26 Apr 2017 23:00:51 +0000 (01:00 +0200)]
move fixtures to the fixtures folder
dotnetCarpenter [Wed, 26 Apr 2017 16:33:10 +0000 (18:33 +0200)]
updated jasmine to 2.6.0 and added @RmiTtro as maintainer
Ulrich-Matthias Schäfer [Tue, 25 Apr 2017 13:15:39 +0000 (15:15 +0200)]
fix testcases
Ulrich-Matthias Schäfer [Mon, 24 Apr 2017 20:49:29 +0000 (22:49 +0200)]
`SVG.extend` now expects exactly one module or an array of modules
Conflicts:
dist/svg.js
dist/svg.min.js
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)
Conflicts:
bench/runner.html
dist/svg.js
dist/svg.min.js
package.json
Ulrich-Matthias Schäfer [Tue, 25 Apr 2017 10:07:29 +0000 (12:07 +0200)]
load correct benchmarks again
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)
Ulrich-Matthias Schäfer [Sun, 23 Apr 2017 10:52:51 +0000 (12:52 +0200)]
ids are not generated upon creation anymore
Instead they are generated when requested (#559)
Ulrich-Matthias Schäfer [Sat, 22 Apr 2017 20:16:36 +0000 (22:16 +0200)]
changed `style()` to `css()`
it now accepts array as input and returns object when no argument given (#517)
also removed sub-pixel offset fix
Ulrich-Matthias Schäfer [Sat, 22 Apr 2017 19:36:16 +0000 (21:36 +0200)]
rename style to css
Ulrich-Matthias Schäfer [Sat, 22 Apr 2017 18:31:58 +0000 (20:31 +0200)]
Merge branch 'master' into 3.0.0
# Conflicts - all resolved:
# dist/svg.js
# dist/svg.min.js
# package.json
# spec/SpecRunner.html
# spec/spec/boxes.js
# spec/spec/element.js
# spec/spec/image.js
# spec/spec/svg.js
# src/boxes.js
# src/flatten.js
# src/image.js
# src/polyfill.js
# src/style.js
# src/svg.js
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)
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()`
Ulrich-Matthias Schäfer [Thu, 20 Apr 2017 13:29:30 +0000 (15:29 +0200)]
add options arguments to `on()`
Ulrich-Matthias Schäfer [Mon, 17 Apr 2017 15:21:49 +0000 (17:21 +0200)]
update changelog
Ulrich-Matthias Schäfer [Mon, 17 Apr 2017 15:13:50 +0000 (17:13 +0200)]
bump 2.5.3
Ulrich-Matthias Schäfer [Mon, 17 Apr 2017 14:37:49 +0000 (16:37 +0200)]
update readme
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.
dotnetCarpenter [Fri, 14 Apr 2017 10:53:59 +0000 (12:53 +0200)]
update changelog
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
Ulrich-Matthias Schäfer [Thu, 13 Apr 2017 11:43:11 +0000 (13:43 +0200)]
correct position of gitter badge
The Gitter Badger [Thu, 13 Apr 2017 10:46:28 +0000 (10:46 +0000)]
Add Gitter badge
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
Ulrich-Matthias Schäfer [Wed, 12 Apr 2017 11:44:00 +0000 (13:44 +0200)]
fix svg.js.d.ts (#644 #648)
dotnetCarpenter [Tue, 11 Apr 2017 21:01:51 +0000 (23:01 +0200)]
fixed link style to tags and update about component.json
dotnetCarpenter [Tue, 11 Apr 2017 20:56:46 +0000 (22:56 +0200)]
remove component.json as the project it facilitate is abandon - close #652
dotnetCarpenter [Tue, 11 Apr 2017 18:59:43 +0000 (20:59 +0200)]
update component to 2.5.2 too
dotnetCarpenter [Tue, 11 Apr 2017 18:02:35 +0000 (20:02 +0200)]
skip coverage for UMD