Commit graph

537 commits

Author SHA1 Message Date
Andrea Bogazzi
69d377b992 Output version (#4251)
* output version in json

* fixed tests

* fixed lint
2017-08-29 22:23:42 +02:00
Andrea Bogazzi
678099ed21 Fix free drawing, fix minScaleLimit for textbox (#4250)
* fixed free drawing
* better handling of minscale limit
2017-08-25 10:43:24 +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
3b10702512 Normalize Api for getSelectionStyles, setSelectionStyles (#4202)
* reworked the text selection

* reorganized api

* missing file

* fixed lint

* more test
2017-08-15 10:10:01 +02:00
Asturur
10545cec77 fixed lint in tests 2017-08-14 15:14:41 +02:00
Andrea Bogazzi
6b4d215162 Remove active property from objects (#4200)
* removed active
* removed active property
* removed active property
2017-08-14 15:12:58 +02:00
Andrea Bogazzi
4cccab8f51 Remove fabric.Object.remove (#4197)
* removed remove method

* removed remove method
2017-08-14 09:44:51 +02:00
Andrea Bogazzi
ffd2d3254c Fix block style insertion (#4192)
* fix style nsertion

* fixed tests from older changes

* fixed tests from older changes
2017-08-13 20:49:39 +02:00
Nick Swider
da27ef57c4 Add chaining to iText selection methods (#4178) 2017-08-09 09:05:40 +02:00
Andrea Bogazzi
59e615024c Hue filter (#4175)
* added hue rotation

* added hue rotation
2017-08-06 17:23:42 +02:00
Andrea Bogazzi
b5323bd83e make function just create canvas (#4172)
* make function just create canvas
* added tests
* added tests
2017-08-05 21:32:03 +02:00
Andrea Bogazzi
5a791a8291 fixed origins (#4170)
* fixed origins

* fixed origins
2017-08-04 11:20:50 +02:00
Andrea Bogazzi
e0546b0105 Fix bugs with new activeSelection (#4167)
* test

* fixes
2017-08-04 00:11:00 +02:00
Andrea Bogazzi
068c815340 Fix text insert on null, give default style to text (#4166)
* text style error
* change text init
* fixes
2017-08-03 23:23:42 +02:00
Andrea Bogazzi
351e7dfa47 Multiple fixes (#4119)
* multiple fixes
* updated tests
2017-07-22 16:34:47 +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
5367cfa8e3 Add tests for sourcePath changes (#4108)
* modified path
* added tests
2017-07-18 08:38:19 +02:00
Asturur
f331f6ead5 added missing newline 2017-07-15 13:35:23 +02:00
Andrea Bogazzi
392e21312b introduce break test (#4102) 2017-07-15 13:21:59 +02:00
Andrea Bogazzi
9e076bdcca small test to ensure getFontCache works with numbers (#4101)
* small test
* ok
2017-07-15 13:07:58 +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
240a1e4d3c Fix cursors (#4067)
* test1
* fixed cursor
2017-07-04 00:26:00 +02:00
Andrea Bogazzi
d106051554 Remove accessors (#4065) 2017-07-03 17:02:44 +02:00
Andrea Bogazzi
03e504303c Cursors not allowed (#4064)
* what so far
* not-allowed cursor
2017-07-03 15:10:49 +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
4c2e83d089 add cleanStyle, removeStyle (#4060)
* add cleanStyle, removeStyle
* added semi colons
2017-07-03 12:20:27 +02:00
Andrea Bogazzi
c41ef91fca Image meet or slice with cropX and cropY value (#4055)
* working example
* fixed tests
2017-07-03 12:20:10 +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
6185b07408 Limit cache size to upper and lower limit (#4035)
* just name change

* help

* test difference

* ok better limiting

* fix lint
2017-06-25 14:50:28 +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
7a88afb2d3 Fix some caching in group issues related to deep checks (#4032)
* backport
* better fix
2017-06-24 23:10:55 +02:00
nickvans
8cc52e0966 Update rgba regex to account for alpha (#4006)
* Update rgba regex to account for alpha

Previous regex would fail for an rgba string with a non integer alpha value. "rgba(255, 128, 64, .5)"

* Create color.js

* Create color.js
2017-06-14 21:50:27 +02:00
Andrea Bogazzi
553669c938 Extend test coverage (#3999)
* extended test coverage
* new file
* fixed lint
2017-06-12 11:13:55 +02:00
Andrea Bogazzi
145bd3b03f Force async (#3996)
* removed forced async
* tests
* fixed lint
2017-06-11 21:36:51 +02:00
Andrea Bogazzi
9cae49510f stop double binding (#3983)
* stop double binding
2017-06-07 14:07:38 +02:00
Andrea Bogazzi
7517b951ab Remove PathGroups for Groups. (#3969)
* removed pathGroups
2017-06-01 11:02:32 +02:00
Andrea Bogazzi
e96ccf9ea6 new filtering with webgl (#3915) 2017-05-29 18:28:24 +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
ce996e2ec6 fix 3906 moved target cancellation up so (#3909)
* moved target cancellation up
* added tests
2017-05-06 15:03:07 +02:00
Andrea Bogazzi
19c18a512d Fix groupSelector on editing Text (#3901)
* fix for drag on editing text

* updated test
2017-04-30 21:21:52 +02:00
Andrea Bogazzi
977d71de6e Added isClick boolean to mouseUp events on left click (#3898)
* added test

* removed useless method
2017-04-29 10:05:23 +02:00
Andrea Bogazzi
d1ec14f2de Allow group selection start on non selectable object (#3892)
* allow selection start on non selectable obkect
* fixed lint
2017-04-27 23:03:00 +02:00
Andrea Bogazzi
ff2909ebf8 fixed cache for first draw (#3870)
* fixed cache for first draw

* fixed tests
2017-04-23 13:44:22 +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
b112b3405f text rewriting - reorganization (#3676)
*text refactored.
2017-04-22 09:15:38 +02:00
Andrea Bogazzi
f877f52f2a fix gradient toSVG for radial gradients (#3807)
* support svg crossorigin on images
* fix gradient export
* added tests
2017-03-26 10:22:10 +02:00
Andrea Bogazzi
c145ac26f2 fixed dirty (#3782) 2017-03-14 23:36:48 +01:00