Commit graph

3485 commits

Author SHA1 Message Date
Andrea Bogazzi
9422fd39be Objectcaching (#3317) 2016-11-13 21:00:10 +01:00
Andrea Bogazzi
161a3e8acb v167 (#3417) 2016-11-13 00:57:55 +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
Stefan Hayden
5915ca8d38 Trigger mouse over on canvas enter (#3389)
* fire a mouse:over event once when mouse enters the canvas
* only fire if we don't find a target
* only fire if we find no target and set the hoveredTarget to null
2016-11-01 11:11:01 +01:00
Joe Sullivan
d69d471db0 Grab target and pointer above right-click logic (#3381) 2016-10-29 16:52:30 +02:00
Andrea Bogazzi
17ad7896fc fix itext clear area (#3388)
* fix itext clear area
* fix overlapping bg colors

* do not commit dist
2016-10-29 16:41:44 +02:00
Stefan Hayden
10703055c0 adding object properties of snapAngle and snapThreshold to enable object snapping. (#3383)
* adding object properties of  and  to enable object snapping.
2016-10-29 09:55:41 +02:00
Andrea Bogazzi
273b2cd2d2 Add jsdoc to modifier keys (#3373) 2016-10-25 17:56:39 +02:00
Stefan Hayden
5eb3203e9e simple way to watch for changes to trigger a build (#3372) 2016-10-25 08:19:54 +02:00
Peter Dave Hello
5aa1a70c39 Add CDNJS version badge in readme (#3363) 2016-10-23 16:11:46 +02:00
Andrea Bogazzi
98c3291806 fix saturate filter (#3351) 2016-10-17 11:49:55 +02:00
Andrea Bogazzi
28c2654a23 Ver166 (#3350)
* ver 166
2016-10-16 23:40:02 +02:00
Andrea Bogazzi
ddc8a028de fix mouse:move removal (#3349) 2016-10-16 20:56:15 +02:00
Andrea Bogazzi
e54dc3bffb restored path parsing cache (#3347)
* restored path parsing cache
* Update arc.js
2016-10-15 23:45:47 +02:00
Andrea Bogazzi
7af65b05bd Fix event listeners after itext removal (#3345)
* fix function naming
2016-10-15 13:26:25 +02:00
Andrea Bogazzi
4459ae4b81 Contrast & saturation (#3341)
* added filters

* tweak

* fixed docs
2016-10-15 12:02:40 +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
84b012f9ce Versione 1.6.5 (#3316)
* fix to doc
* ver 165
2016-10-02 21:35:37 +02:00
Andrea Bogazzi
bb41cdfa4d remove space at start of line (#3315) 2016-10-02 19:58:34 +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
224309a4c7 fix src to svg (#3310) 2016-10-02 09:38:31 +02:00
Andrea Bogazzi
51835c1224 use native stroke dash for selection area (#3309)
* use native stroke dash for selection area

* check support at init
2016-10-02 09:31:32 +02:00
Andrea Bogazzi
89593190bb added right click fire (#3308) 2016-10-01 20:25:47 +02:00
Andrea Bogazzi
8190aa7568 remove canvas reference on object removed (#3307)
* remove canvas reference on object removed

* remove canvas after event fire
2016-10-01 17:45:52 +02:00
Andrea Bogazzi
43813adbdf Update clear methd (#3305)
* Update  clear method
2016-10-01 14:23:27 +02:00
Andrea Bogazzi
e0f687298c add canvas offset to textarea position (#3306) 2016-10-01 14:05:46 +02:00
Marcin
a8827e7a5c fixes Issue 3256 - line's style was gone when pushing line down (#3277) 2016-09-25 22:13:35 +02:00
Andrea Bogazzi
06a4207d25 added event firing for shortcuts (#3285) 2016-09-25 22:10:31 +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
77f37db3c9 fix shift click (#3270) 2016-09-17 23:56:55 +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
d7157d122c move backgroundColor to all classes (#3248) 2016-09-11 11:45:25 +02:00
Andrea Bogazzi
876c9ca91f Uniform clone and fromObject behaviour (#3212) 2016-09-10 16:09:17 +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
79b4684947 rebuilt dist 2016-09-05 20:20:15 +02:00
Andrea Bogazzi
86e99899bc Update image.class.js 2016-09-05 20:18:50 +02:00
Andrea Bogazzi
5dbbcdb682 Update itext.class.js 2016-09-05 20:01:32 +02:00
Andrea Bogazzi
c5175d66e9 Update text.class.js 2016-09-05 19:52:59 +02:00
Andrea Bogazzi
42d8f3e463 Fix textbox and negative charspacing (#3233)
* do not count charspacing twice
* do not get negative with char width
2016-09-05 18:26:15 +02:00
Asturur
d04d0dd265 Merge branch 'master' of http://github.com/kangax/fabric.js 2016-09-01 22:16:46 +02:00