Commit graph

551 commits

Author SHA1 Message Date
Andrea Bogazzi
9422fd39be Objectcaching (#3317) 2016-11-13 21:00:10 +01:00
Marcin
f26a2dc8aa Word widths on justified line of text were calculated incorrectly. (#3408)
* Calculation of word widths on justified line will now correctly take styles into account
* fix lint
2016-11-13 00:35:40 +01:00
Andrea Bogazzi
c5f60743f5 To object origin (#3416)
* deleted double default cleaning
* rework object export
* fixed tests
* fix fabric2 api change.
* removed unused var
2016-11-12 23:54:42 +01:00
Andrea Bogazzi
1278677a97 includeDefaults for background and overlay (#3415)
* reuse code for _toObject
* added small test
2016-11-12 18:20:20 +01:00
Andrea Bogazzi
28c2654a23 Ver166 (#3350)
* ver 166
2016-10-16 23:40:02 +02:00
Timo Höpfner
37976d55b3 FIX for toDataURL cropping (#3335)
* FIX for toDataURL cropping
* Unit test for toDataURL cropping
2016-10-11 11:05:20 +02:00
Andrea Bogazzi
8783b2132c change how itext handle removal handlers (#3332)
* change how itext handle removal handlers
* fix test lint
2016-10-09 09:25:43 +02:00
Jeremy Shipman
d0c32acf7f Introduced testem test runner (#3327)
* Introduced testem test runner.
Install testem via 'npm install -g testem'
Run testem via 'testem'

* Fixed fixture image paths in tests
2016-10-05 09:12:26 +02:00
Andrea Bogazzi
49c7858596 changed to dataurl export (#3314)
* changed to dataurl
2016-10-02 19:37:20 +02:00
Andrea Bogazzi
b46c5b4ca3 remove unused function in staticCanvas (#3313)
* remove unused function in static
* fixed svg export
2016-10-02 12:12:42 +02:00
Andrea Bogazzi
cd4c465f4c fix text minimum dimensions (#3312)
* fix text dim
* add tests
2016-10-02 11:00:17 +02:00
Andrea Bogazzi
43813adbdf Update clear methd (#3305)
* Update  clear method
2016-10-01 14:23:27 +02:00
Andrea Bogazzi
bda846b41a reverted font changes (#3276) 2016-09-19 09:44:42 +02:00
Andrea Bogazzi
07094a4ec5 fixed behaviour of shift click and shift keys (#3274)
removed some glitches, removed duplicate code
2016-09-18 23:22:49 +02:00
Andrea Bogazzi
437eea118f allow for deep state check and save (#3262) 2016-09-15 12:49:25 +02:00
Andrea Bogazzi
c34027cdfd fixed selection, added test (#3254) 2016-09-11 21:28:48 +02:00
Andrea Bogazzi
aa53e08a6b isContainedWithinObject on coords instead of bounding rect (#3252)
* update function and test

* fix interset with object and overlap
2016-09-11 16:01:23 +02:00
Andrea Bogazzi
5d0bf5a166 add custom properties to bg and overlay (#3250) 2016-09-11 12:40:57 +02: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
4fc347e73d disable failing test in nodejs 2016-09-01 22:16:30 +02:00
Asturur
a1e5d518bf fixed tests for browser 2016-09-01 08:31:56 +02:00
Andrea Bogazzi
bba8b3a705 bring callback toapplyfilters (#3210)
* bring callback toapplyfilters
2016-08-28 22:42:41 +02:00
neopheus
2570b548a7 Lerp - lock t between 0 and 1 (#3188)
* lock t between 0 and 1
* Add New Unit Test for lerp (min, max t)
2016-08-26 15:41:22 +02:00
neopheus
a6bc04ce8d Add Hex Color RGBa (#3202)
* Add RGBa (8 digits, #FF5544CC, 4 digits #F54C);
2016-08-26 10:46:14 +02:00
Andrea Bogazzi
17d7f929d5 Update collection.mixin.js (#3174)
* Update collection.mixin.js
2016-08-22 11:51:59 +02:00
Andrea Bogazzi
702126eb85 Change getFontDeclaration (#3191)
* Change getFontDeclaration
2016-08-22 11:27:34 +02:00
Kyle Herock
181cdec80c give getSrc a better role in this class. (#3189) 2016-08-22 10:43:17 +02:00
Asturur
3938c83080 build dist 2016-08-18 09:34:02 +02:00
Andrea Bogazzi
46624d3f50 Textspacing (#3097)
Introduce charspacing.
2016-08-14 23:19:42 +02:00
Andrea Bogazzi
cf5f327f55 Extending test coverage (#3148)
* adding tests
2016-08-14 11:05:44 +02:00
Andrea Bogazzi
a2b4ef564b Add enableRetinaScaling to cloneAsImage (#3147)
* Add enableRetinaScaling to cloneAsImage
* added test
2016-08-08 07:17:39 +02:00
Andrea Bogazzi
ad7e56422a Get pointer change (#3144)
* fix normalized pointer
* more tests
2016-08-07 17:00:58 +02:00
Andrea Bogazzi
9e4ed9565f fix cursor left without shift (#3135)
* fix cursor left and added missing test
2016-07-31 23:32:10 -04:00
Andrea Bogazzi
d93f91febc Start to cleant setSelections (#3119) 2016-07-31 12:21:52 -04:00
Andrea Bogazzi
948019f622 add object scaling function (#3134)
* add object scaling function

* Update object.class.js
2016-07-30 12:04:38 -04:00
Andrea Bogazzi
9e5f3ab7b9 numeric origin (#3121)
* Numeric object origin add tets
2016-07-25 10:07:50 -04:00
Andrea Bogazzi
7dad30c156 support style merging from css (#3114)
* supportstylemerging
* added test
2016-07-18 08:56:40 +02:00
Andrea Bogazzi
6601af9340 gradientInfinity (#3082)
* gradientInfinity
* updated tests
2016-07-17 10:31:51 +02:00
Andrea Bogazzi
72a6c273bf remove lastRendered logic (#3111) 2016-07-17 08:35:18 +02:00
Andrea Bogazzi
51995a73d8 fix perPixelTargetFind (#3109) 2016-07-16 17:25:34 +02:00
Andrea Bogazzi
98f2d1b3dd ignore svg namespace (#3081)
* ignore svg namespace
2016-07-03 23:52:25 +02:00
Andrea Bogazzi
725d48771f Bump to 1.6.3 (#3080) 2016-07-03 13:52:08 +02:00
Andrea Bogazzi
4433809cb1 fix lineheight < 1 (#3078) 2016-07-02 19:23:36 +02:00
Andrea Bogazzi
be8dfae17e Various fixes (#3057)
Fixes hidden textarea positioning, rendering fixes during canvas zoom.
2016-06-19 23:33:54 +02:00
Andrea Bogazzi
77dab21155 Additional method for centering objects (#3044) 2016-06-11 14:10:20 +02:00
Andrea Bogazzi
9ef51ff77d load from options after the load backroung in the callback (#3029)
moved the load of the custom properties load after the callback
Added tests
2016-06-05 17:08:19 +02:00
Andrea Bogazzi
b52ca6ff55 add some failing tests on canvas (#3025) 2016-06-02 10:58:02 +02:00
Andrea Bogazzi
0c6a665bcb Target in group (#2997)
Added gorup.subTargetCheck, fixed transparent target selected on mouse up, fix text grouping while editing
2016-05-31 11:41:02 +02:00
Andrea Bogazzi
d4e723e49d update area clearing during rendering (#3016)
* update area clearing during rendering
* register event in correct way
* re render selection or cursor only if selectionStart changes
2016-05-30 23:22:55 +02:00
Andrea Bogazzi
dd3e6a81e2 do not set background or overlay image if the load fails. (#3003) 2016-05-23 14:53:09 +02:00