Commit graph

3335 commits

Author SHA1 Message Date
Andrea Bogazzi
015af249fa Update canvas loadFromJSON to restore includeProperties (#2921)
added test also.
2016-04-30 13:51:12 +02:00
Andrea Bogazzi
e94ddb7d3f Built dist and bump to 1.6.1 (#2919)
bumped to 1.6.1
2016-04-29 02:21:40 +02:00
Andrea Bogazzi
f88711a526 Docs links, remove last forward slash (#2917) 2016-04-28 23:33:40 +02:00
Andrea Bogazzi
b49882ba83 Stop producing fabric.Element documentation. (#2915)
fabric.Element is a deprecated alias.
2016-04-28 11:37:53 +02:00
Andrea Bogazzi
940db388a8 Use sendToBack, bringToFront, bringForward, sendBackwards for multiple selections (#2908)
Use sendToBack, bringToFront, bringForward, sendBackwards for activeGroups.
Visually there is no effect if preserveObjectStacking is set to false.
2016-04-28 11:21:48 +02:00
Andrea Bogazzi
c335cb558e remove forward slashes in docs urls 2016-04-27 16:02:58 +02:00
Andrea Bogazzi
611c6f7d4b remove forward slashes in docs urls 2016-04-27 16:01:48 +02:00
Andrea Bogazzi
21ea8c25c5 remove forward slashes in docs urls 2016-04-27 16:01:09 +02:00
Andrea Bogazzi
928009dce9 remove forward slashes in docs urls 2016-04-27 16:00:13 +02:00
Andrea Bogazzi
1768ef48ac deleted forward slashes in docs urls 2016-04-27 15:54:18 +02:00
Andrea Bogazzi
923b876e4b Fix docs ending slash for urls 2016-04-27 15:52:57 +02:00
Andrea Bogazzi
c84bce2703 Fire canvas mouse:out when the mouse leave the canvas (#2907)
* Add support for mouseOut out of the canvas.
Clear the _hoveredTarget and fire mouseout on the previous hovered if any.
Make selection of small object easier.
2016-04-26 02:05:58 +02:00
Andrea Bogazzi
218ad28f2b Draw controls only for active target (#2903) 2016-04-25 11:06:25 +02:00
Andrea Bogazzi
b95b4d2b2f Search the target again on mouse up 2016-04-25 10:32:23 +02:00
Andrea Bogazzi
81faf427fa Move dependecies on optional (#2901)
move dependencies on optionals so users that do not want to install node dependencies can still install fabric.
2016-04-23 05:16:30 +02:00
Andrea Bogazzi
32b963bc0c perPixelTargetFind shiftClick deselection fix
Make possible to shiftclick and remove object from active group while using perPixelTargetFind
2016-04-23 02:00:24 +02:00
ssuser
6c3f18ae1c built-dist 2016-04-19 08:58:19 -04:00
Andrea Bogazzi
188fed21f5 Do not clear the contextTop if we are in drawingMode. closes #2723 (#2895)
* do not clear contexttop if we are drawing
2016-04-15 23:04:04 +02:00
Andrea Bogazzi
67955ae38c Update CHANGELOG.md 2016-04-15 13:00:54 +02:00
Andrea Bogazzi
c889618cb9 * bump uglify to 2.6.x* using the built in node execSync
* bump uglify to 2.6.x
* using the built in node execSync
2016-04-15 07:06:56 +02:00
Andrea Bogazzi
be78082a47 Build script: version 1.6.0 added animation, itext and textbox (#2891) 2016-04-14 01:19:57 +02:00
Andrea Bogazzi
fd95729692 Safer event deleting (#2883)
made handler removal safer.
Add edge cases for event handler adding and deleting.
2016-04-14 00:05:46 +02:00
Andrea Bogazzi
37b20991c7 Allow a not stateful canvas to fire object:modified at end of transform. (#2890)
stateful false can fire events now
Also events fire just when the object is really rotated, scaled, skewed or dragged.
2016-04-13 23:39:35 +02:00
Andrea Bogazzi
de4826f968 Fix normalize function to handle 0/0 (#2888) 2016-04-13 03:07:33 +02:00
Andrea Bogazzi
a5192e487f Fix svg parsing/rendering regressions (#2887)
* fix regression in svg parsing
* Added tests to  catch regression

* Update parser.js

* Update parser.js
2016-04-13 01:44:15 +02:00
Andrea Bogazzi
5aa0ad1b8c remove warning of deprecated functions about imageSmoothingEnabled 2016-04-11 15:46:51 +02:00
Andrea Bogazzi
c6815892f3 Check presence of originalElement before taking src (#2878)
* check presence of originalElement before taking src

* add test for image with null element

* Update image.js

* Update image.js
2016-04-11 15:30:35 +02:00
Andrea Bogazzi
8a845b93f8 Version bump
Update to 1.6.0 tags, version and dists
2016-04-11 07:44:45 +02:00
asturur
d74cf48a89 package.json 2016-04-11 07:35:24 +02:00
asturur
b3182c070e built dist 2016-04-11 07:33:22 +02:00
asturur
afe52c9081 built dist 2016-04-11 06:59:50 +02:00
asturur
252717fb00 built dist 2016-04-11 06:56:04 +02:00
Andrea Bogazzi
bc746d749a added 1.6.0 info 2016-04-10 15:02:54 +02:00
Andrea Bogazzi
036bc9ab84 Various IText Fixes
Added keyup events, moved "CTRL + Key" combination on keyup so i cancel the event if the textarea consumes the event with other ( real copy and cut )
Added Ctrl+C for copy.
Added compositionUpdate event.
SetShadow was expecting some parameters, we add them at style declaration
Moving the textArea position when editing
managing japanese IME ( and maybe others )
Fixes property of object leaking on style objects
Fixes edge browser different behaviour with different selectionDirection
2016-04-10 14:48:04 +02:00
Andrea Bogazzi
2df1c1d37f Canvas dispose unwrap the lowercanvas element back to its original place
Added unwrap logic to canvas.dispose()
Added tests.
2016-04-09 16:02:42 +02:00
Andrea Bogazzi
02c489229e Update dependencies to allow node 4 and node 5 (#2872)
Update jsdom to 3.x to allow node 4, node 5 and mantain older versions: 0.10, 0.11, 0.12
2016-04-07 20:36:35 +02:00
Andrea Bogazzi
a5a61c8348 Merge pull request #2865 from asturur/canvas13x
Upgrade canvas to 1.3.x
2016-04-02 12:18:48 +02:00
Andrea Bogazzi
4df0d3b760 test canvas 1.3.x 2016-04-02 12:08:50 +02:00
Andrea Bogazzi
a28651e761 Merge pull request #2820 from abruzzihraig/fix_IME_bug
fix(itext): fix bug that IME can not be inputted
2016-03-29 07:04:08 +02:00
Andrea Bogazzi
a4047d3043 Merge pull request #2858 from asturur/fix-text-bug2
fix bug introduced in 2f19e25ef2
2016-03-27 23:59:48 +02:00
Andrea Bogazzi
d1973113a2 fix bug introduced in 2f19e25ef2 2016-03-27 23:51:42 +02:00
Andrea Bogazzi
b1bcca060c Merge pull request #2857 from asturur/text-fixe
Proper fix for style detection on iText / textbox
2016-03-27 23:48:42 +02:00
Andrea Bogazzi
ad732f078d Proper fix for style detection 2016-03-27 23:44:43 +02:00
Andrea Bogazzi
5b1a89c946 Merge pull request #21 from kangax/master
Sync to master
2016-03-27 23:43:19 +02:00
Andrea Bogazzi
1b16fa30a4 Merge pull request #2855 from kangax/revert-2853-textboxspaces
Revert "Textboxspaces"
2016-03-27 23:37:47 +02:00
Andrea Bogazzi
719746e58d Revert "Textboxspaces" 2016-03-27 23:25:39 +02:00
Andrea Bogazzi
f1cd8bf5b6 Merge pull request #2853 from asturur/textboxspaces
Textboxspaces
2016-03-27 23:04:00 +02:00
Andrea Bogazzi
7059e34e9b Merge pull request #2854 from asturur/shadowflip
Flip back shadow if needed
2016-03-27 23:02:32 +02:00
Andrea Bogazzi
4dd392ca56 Added tests for flipped object 2016-03-27 22:58:02 +02:00
Andrea Bogazzi
6891d2cde7 Update shadow.class.js 2016-03-26 13:41:34 +01:00