Commit graph

80 commits

Author SHA1 Message Date
Blob
3b314d11cc Add strokeDashOffset and svg corresponding attribute (#5398)
* Add strokeDashOffset and svg corresponding attribute
2018-11-23 00:56:00 +01:00
Andrea Bogazzi
0a76ff3111
added test (#5344) 2018-10-27 12:19:26 +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
Andrea Bogazzi
133c674697
Group position numeric origins (#5143)
* fixed positioning

* fixed positioning

* ok tests are ok

* ok tests are ok
2018-08-05 23:52:31 +02:00
Andrea Bogazzi
bafc28d3fc
Svg import improvements (#4984)
* test

* svg-import-fixes

* svg-import-fixes

* ok done

* adapted tests to new values
2018-05-29 10:28:02 +02:00
Andrea Bogazzi
7eea5228b9
removed specific node code (#4470)
* removed node code

* fixed UTs
2017-11-19 20:00:01 +01:00
Andrea Bogazzi
10a8684192
Proposal for different lineJustify. (#4437)
* not even tested

* Small fixes (#4441)

* fixed selection

* fixed svg export
2017-11-12 23:00:59 +01:00
Andrea Bogazzi
51a9e87854
fixed group restoring internal absolute coords for subtarget check (#4454)
* fixed group restoring internal cords

* added small test
2017-11-12 15:54:33 +01:00
Andrea Bogazzi
3244f6c0ae Change the logic for setting dirty flag (#4417)
* test

* add better set support

* no build dist
2017-10-27 06:11:28 +02:00
Stefan Hayden
0fc71349a6 Paint order (#4303)
* makes fabric aware of the paint-order svg2 spec to swap the paint order of stroke and fill
2017-09-17 22:47:35 +02:00
Andrea Bogazzi
c03111824c Update deps (#4315)
* try replace tests
* modified tests for new qunit
* lint tests
2017-09-17 11:44:57 +02:00
Andrea Bogazzi
69d377b992 Output version (#4251)
* output version in json

* fixed tests

* fixed lint
2017-08-29 22:23:42 +02:00
Andrea Bogazzi
16f5baaf29 Fix group canvas propagation to sub objects (#4228)
* restore canvas prop

* add tests

* add tests
2017-08-18 20:43:39 +02:00
Andrea Bogazzi
ae778e6887 test group (#4118) 2017-07-22 11:43:10 +02:00
Andrea Bogazzi
c9b562de9e Remove activeGroup functionalities from Group, create ActiveSelection class (#4076) 2017-07-22 11:37:17 +02:00
Andrea Bogazzi
586e61dd28 Move all automatic renderAll to requestRenderAll (#4072)
* move to requestRenderAll
2017-07-04 23:13:10 +02:00
Andrea Bogazzi
b841be66de Remove delegated properties from groups (#4062)
* changed code
* added small test
* first step to group simplification
* first step to group simplification
* removed test
2017-07-03 13:44:48 +02:00
Andrea Bogazzi
98ed4cc351 Fix a bug in recent caching changes (#4051)
* small fix
* fixed and added tests
* comeon andrea wake up
2017-07-01 14:33:47 +02:00
Andrea Bogazzi
46af53a95b Name change of some caching method (#4034)
* just name change
* fixed test
2017-06-25 12:52:59 +02:00
Andrea Bogazzi
7517b951ab Remove PathGroups for Groups. (#3969)
* removed pathGroups
2017-06-01 11:02:32 +02:00
Andrea Bogazzi
a8db7b3523 Fix #3905 add an additional setCoords at the end of addWithUpdate/removeWithUpdate (#3911)
* added setCoords

* removed extra setCoords

* so tired i cannot read

* added test
2017-05-06 19:54:42 +02:00
Andrea Bogazzi
0f559ad84f removed saveCoords hasMoved (#3910)
* removed method
* deleted tests
2017-05-06 19:16:03 +02:00
Andrea Bogazzi
ea17776d28 Do not cache group if a child has shadow. (#3864)
* fix caching with shadows
* add travis install for canvas
2017-04-22 20:59:34 +02:00
Andrea Bogazzi
d95612e3c3 Issue 3832 Add toDatalessObject to Group class since it may contains pathGroups. (#3863)
* fix toDatalessObject

* added test
2017-04-22 15:15:01 +02:00
Andrea Bogazzi
c145ac26f2 fixed dirty (#3782) 2017-03-14 23:36:48 +01:00
Andrea Bogazzi
b979bd5861 switch to canvas prebuilt (#3757)
* swithced to canvas prebuilt

* try 2

* remove toolchanin needed to setup canvas
2017-03-14 12:37:07 +01:00
Andrea Bogazzi
5ed0b83d45 fix tests (#3602) 2017-01-03 01:08:14 +01:00
Andrea Bogazzi
1cb047bb66 fix space for cache canvas for thin lines (#3596)
* fix space for cache canvas
* add the fixed padding to cache canvas
* update group test
2016-12-30 18:19:18 +01:00
Andrea Bogazzi
3c0fe81b77 be more strict on when not to re render (#3594)
* add more check to first return false

* fix ;

* fix ; in tests

* fix test
2016-12-28 13:22:23 +01:00
Andrea Bogazzi
700ee14ff5 send up to group the change on dirty flag (#3564)
* send up to group the change on dirty flag
* added tests
2016-12-26 18:54:53 +01:00
Andrea Bogazzi
b775323424 fix includeDefaultValues (#3497)
* fix includeDefaultValues

* Update group.class.js

* Update group.js

* Update group.js
2016-12-05 14:51:06 +01:00
Andrea Bogazzi
9422fd39be Objectcaching (#3317) 2016-11-13 21:00:10 +01:00
Andrea Bogazzi
08f60adbea switch to eslint (#3229)
* switch to eslint 2.x
* fix src
* fix tests
2016-09-10 15:14:23 +02:00
Asturur
a1e5d518bf fixed tests for browser 2016-09-01 08:31:56 +02:00
Andrea Bogazzi
17d7f929d5 Update collection.mixin.js (#3174)
* Update collection.mixin.js
2016-08-22 11:51:59 +02:00
Andrea Bogazzi
dfc574c099 Fix tests removing extra context.Restore(); 2016-02-07 18:23:14 +01:00
Andrea Bogazzi
a8b56e783e Update group.js 2015-12-26 14:27:37 +01:00
Andrea Bogazzi
025f02397e update test for non delegated opacity 2015-12-06 20:46:32 +01:00
Andrea Bogazzi
cda0611326 Add support for skew objects. 2015-09-17 14:22:12 +02:00
Andrea Bogazzi
0edd147b0e Update group.class.js 2015-08-08 14:30:24 +02:00
Andrea Bogazzi
f805e57297 Update rect.js 2015-07-20 12:57:13 +02:00
sapics
e07350c9e7 fix group initialization 2015-06-03 08:45:19 +09:00
Ulrich Sossou
4603ec9581 Replace empty values of stroke-dasharray in unit tests by 'none' 2015-05-18 07:00:36 +01:00
Andrea Bogazzi
afcf7c1285 Update group.js 2015-05-05 12:53:55 +02:00
Andrea Bogazzi
80c3012646 Update object_origin.mixin.js 2015-05-02 19:13:44 +02:00
kangax
94f7035624 Lint unit tests and fix errors/warnings 2015-04-23 11:47:35 +02:00
Andrea Bogazzi
bd2f99b271 Update group.js 2015-04-22 06:37:49 +02:00
Andrea Bogazzi
f4385b2de9 Fix line accuray issue, remove some duplicate code, do not force width = 1 on 0. Fix object render method to render 0-dimensions lines
Check how this version could behave in general rendering.
2014-11-20 22:34:47 +01:00
Andrea Bogazzi
4054b99fe5 Update group.js 2014-10-21 12:18:14 +02:00
Andrea Bogazzi
cf6030d9db Update group.js 2014-10-20 18:11:25 +02:00