Commit graph

572 commits

Author SHA1 Message Date
Andrea Bogazzi
7a987faef2 changes (#3717) 2017-02-18 23:47:32 -05:00
Andrea Bogazzi
54f76a1066 Firedeselectedalsowithmouse (#3716)
* added code

* added test
2017-02-18 23:03:23 -05:00
Andrea Bogazzi
085a3c75fc Do not fire selection changed if we are not editing (#3702)
* Do not fire selection changed if we are not editing
* fire selection changed event after enter editing
* fix tests

* fixed trailing space
2017-02-16 16:16:43 -05:00
Andrea Bogazzi
5605d84f3b Version 1.7.4 (#3692)
* v174

* fixed a text for browser
2017-02-14 09:35:24 -05:00
Andrea Bogazzi
5cd1111195 fix reload from json (#3691)
* fix reload from json

* fix just on path
2017-02-14 00:40:02 -05:00
Andrea Bogazzi
c378fa5b04 Misc changes (#3614)
* misc changes
2017-01-30 15:24:32 +01:00
Andrea Bogazzi
a326d1dda2 Remove hoveredTarget reference if object is removed (#3657)
* Remove hoveredTarget reference if object is removed
* Update canvas.js tests
* remove trailing spaces
2017-01-28 17:04:11 +01:00
neopheus
f7551924af Color.class update (#3615)
* add toHexa method with tests
* Update toHexa Function (asturur)
2017-01-09 14:22:31 +01:00
Andrea Bogazzi
01d8392ae3 Update to 1.7.3 (#3603)
* build v173
2017-01-08 11:07:41 +01:00
Andrea Bogazzi
5ed0b83d45 fix tests (#3602) 2017-01-03 01:08:14 +01:00
Andrea Bogazzi
ab68d3a4ab Reuse come code between object and canvas (#3600)
* try to reuse code
* some fixes
* fixed errors

* Update util.js
2017-01-01 18:07:56 +01:00
Andrea Bogazzi
88b9f7ef21 Changes to canvas svg export (#3599)
* change to parser
* fixed broken function;
* some changes to code reuse
2017-01-01 16:11:54 +01:00
Andrea Bogazzi
edb90be547 WIP Patternload (#3598)
* make pattern load async
* made all object loadable asyncronously ( filters )
2016-12-30 22:41:16 +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
549ea1776b fixes deep cloning of style (#3502)
* fixes deep cloning of style

* better fix and tests
2016-12-06 09:50:51 +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
8a6b17cac6 add custom props to pattern and gradient (#3477) 2016-12-01 23:39:25 +01:00
Andrea Bogazzi
a4a8f71fd7 Release 170 (#3437)
* build 170
* fix default values
* fix text not rendering
* other fixes
* finished fixing
2016-11-21 12:09:25 +01:00
Andrea Bogazzi
2c814db928 Better deep object cloning and savestate check (#3434)
* fixed deep cloning with function removed array ordering
* added tests
2016-11-20 19:11:20 +01:00
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