Commit graph

3986 commits

Author SHA1 Message Date
Andrea Bogazzi
96f31d4f34
built 243 (#5353) 2018-10-28 22:38:35 +01:00
Andrea Bogazzi
8115d6969f
On shift select and multiselection, check for onSelect callback (#5348)
* add onSelect on the grouping logic

* added test for group selector

* another test
2018-10-28 22:06:39 +01:00
Andrea Bogazzi
847fe90c4b
added some tests for fabric.util (#5349)
* added some tests

* test
2018-10-28 21:46:32 +01:00
Andrea Bogazzi
5ebdfdf839
removing docker since we are not using it (#5350) 2018-10-28 21:45:41 +01:00
Andrea Bogazzi
8d14ec81bc
Add more test for subTargetCheck and zoom + pan (#5347)
* cleanedup and added test

* adding wider test
2018-10-28 00:29:43 +02:00
Andrea Bogazzi
37fbeb9eec
Fix interaction between filters on restore (#5346) 2018-10-27 17:18:31 +02:00
Andrea Bogazzi
09e8af10b8
remove special case (#5345) 2018-10-27 13:35:49 +02:00
Andrea Bogazzi
0a76ff3111
added test (#5344) 2018-10-27 12:19:26 +02:00
Andrea Bogazzi
40de484881
Test canvas-prebuilt (#5327)
* a test

* error in test

* just a notice it has canvas prebuilt

* try remove cache
2018-10-21 17:28:44 +02:00
Andrea Bogazzi
5a57254df9
fixed interaction with shift click and unselectabled behind (#5324)
* fixed interaction with shift click and unselectabled behind

* added a test
2018-10-21 13:16:05 +02:00
Andrea Bogazzi
9875c4b116 build 242 minified 2018-10-14 19:15:00 +02:00
Andrea Bogazzi
61249c85a5
Version 242 (#5309)
* Version 242

* fixed version
2018-10-14 19:07:16 +02:00
Andrea Bogazzi
191099cb59
Add shadow option to toDataURL and cloneAsImage (#5308)
* first test

* less accuracy
2018-10-14 18:15:57 +02:00
Andrea Bogazzi
38999b867a
fixed loading in ie11 (#5307) 2018-10-14 13:00:48 +02:00
codert
839b54aa25 perPixelTargetFind not working in nested group. (#5287)
* fix perPixelTargetFind in nested object

* fix: lint

* add methods doc

* doc: update _serachPossibleTarget doc

* test: add test case

* fix: remove pointer check

* fix: object in nested group should normalize just once

* test: add test case

* restore to previous code style

* fix: update test case descriptions

* fix: test case

* test: add skew and angle test case
2018-10-14 00:07:23 +02:00
Andrea Bogazzi
a7ff2bfb10
Rework SVG code to have clipPath friendly transformations (#5284)
* so far i think i broke everything

* halp super hard

* this is what i wanted

* fixed error

* some fixes

* svg-working

* less code

* fixed shadow for text and groups

* fixed tests

* one file test more

* fixed lint

* works

* ok more tests

* remove a lint issue

* removed unused method
2018-10-07 15:43:37 -04:00
Charlie Schliesser
2ab5c5f851 Fix typo in resize_filter.class.js (#5290)
* Fix typo in resize_filter.class.js.

`sliceHack` filter referred to as `sliceHacl` in documentation.

* Fix typo in resize_filter.class.js.

`resizyType` typo.
2018-10-03 11:25:06 -04:00
Charlie Schliesser
f99f1a7e00 Fix typo in resize_filter.class.js. (#5289)
`sliceHack` filter referred to as `sliceHacl` in documentation.
2018-10-02 18:02:19 -04:00
Andrea Bogazzi
25d6e9163a
enable image caching just in case (#5283) 2018-09-30 15:03:58 -04:00
Andrea Bogazzi
de142eecbb
fixed (#5282) 2018-09-30 14:37:00 -04:00
Andrea Bogazzi
cd20632d8e
v241 (#5281) 2018-09-29 14:14:23 -04:00
Andrea Bogazzi
dd76fa2b6f
Clip path from json (#5279)
* better-than-nothing

* check that the active object exist

* test

* added a test

* added the code

* added a test for this case
2018-09-29 13:49:29 -04:00
Andrea Bogazzi
fdd2d94e77
fix toDataurl and zoom change (#5278) 2018-09-29 13:43:31 -04:00
Andrea Bogazzi
68a84a7da7
Avoid enter editing if there is another active object on the canvas (#5261)
* better-than-nothing
* check that the active object exist
* test
* added a test
2018-09-29 10:10:06 -04:00
Sergey
5c3f3a9594 Fix loadSVGFromUrl bug #5252 (#5263)
* Fix loadSVGFromURL bug
2018-09-27 22:35:33 -04:00
Curtis Jurgensen
543566d7d8 converting version numbers to headings (#5272)
GitHub will auto-links them and linkability is important
2018-09-25 21:22:00 -04:00
Sergey
6f9dbb981d Fix clipPath in node.js error #5260 (#5262) 2018-09-23 17:54:38 -04:00
Andrea Bogazzi
3167154624
avoid run selection logic on mouseup for clicks (#5259) 2018-09-22 21:11:01 +02:00
Andrea Bogazzi
f7e9177dbe
fix fontsize parsing (#5258) 2018-09-22 20:43:23 +02:00
Andrea Bogazzi
7dc02a8718
Do not access group property from the object (#5257)
use the group reference
2018-09-22 20:19:41 +02:00
Andrea Bogazzi
ffca4a8e56
fixes extra renders (#5256) 2018-09-22 18:52:25 +02:00
Andrea Bogazzi
8d95bc6a8e Update issue templates 2018-09-22 16:41:39 +02:00
Andrea Bogazzi
7cbe0c607b removed extra files 2018-09-22 16:35:46 +02:00
Andrea Bogazzi
c15a37077c Update issue templates 2018-09-22 16:32:51 +02:00
Andrea Bogazzi
6af0a5e90a
test (#5255) 2018-09-22 16:18:34 +02:00
Andrea Bogazzi
196be5db0e test issue template folder 2018-09-22 16:15:54 +02:00
Andrea Bogazzi
3e2d3c8207 modified .npmignore 2018-09-22 13:08:27 +02:00
Andrea Bogazzi
90a4df78e7
Update to 2.4.0 (#5254)
* build240

* added small changelog
2018-09-22 13:02:52 +02:00
Andrea Bogazzi
5138496163
Add test and failing visual tests for clipPath toSVG (#5236)
* more visual tests;

* try

* fix
2018-09-22 12:36:50 +02:00
Andrea Bogazzi
5482ac350a
Try to fix node 10 unit test (#5235)
* fixed
* removed node 9
2018-09-16 22:51:51 +02:00
Andrea Bogazzi
ffe01ab9f6
ClipPath to svg (#5234)
* svg plain examples works

* more code reuse in visual tests
2018-09-16 16:39:54 +02:00
Andrea Bogazzi
513233bf78
Making clipPath absolute positionable (#5199)
Added visual tests
Added property absolutePositioned and inverse
2018-09-16 01:59:36 +02:00
Andrea Bogazzi
2a476e4277
Clip path parsing (#4786)
* first pass done

* restarted-clippaths

* some changes to element parser

* shared attribute

* done one piece

* cleaned

* mmm going there

* so far so good

* a very first draft

* removed dist

* sovled conflict

* now solved

* now solved

* some improvements

* toObject and fromObject added

* toObject and fromObject added

* more small changes

* added simple tests

* bumpedup qunit

* a test for svg export

* no ist

* more svg exporpt

* fix lint

* make possible to clip canvas

* improved JSOCS

* no builds

* invalidate cache anyway

* changes

* changes

* changes

* mmm working
2018-08-23 01:06:07 +02:00
BradleyHill
e7eca140b8 Issue 5185 fabric image (#5190)
* Issue-5185: Ensure fabric.Image exists

* Issue-5185: Ensure fabric.Image exists (right place)
2018-08-22 16:43:15 +02:00
Kunihiko Ito
c57eaaef7b Fix repository URL of package.json (#5181)
Changed the URL to prevent the repository URL of https://www.npmjs.com/package/fabric from becoming dead link.
2018-08-20 10:36:11 +02:00
Andrea Bogazzi
7895099484
v236 (#5180) 2018-08-20 08:24:46 +02:00
Andrea Bogazzi
e8a5ad446b
naturalWidth and naturalHeight (#5178)
* naturalWidth and naturalHeight

* fixed test
2018-08-19 22:03:14 +02:00
Andrea Bogazzi
56fefbdb0d better jsdocs 2018-08-19 08:40:24 +02:00
Andrea Bogazzi
79f8f9f019
a rushed fix (#5177) 2018-08-19 08:11:26 +02:00
Andrea Bogazzi
f62f9f3115
fixed bug positioning group (#5176) 2018-08-18 23:48:50 +02:00