Commit graph

1059 commits

Author SHA1 Message Date
Tim Andres
e2bba99e98 Fixed path translation bug with SVG parsing 2013-04-16 01:49:42 -04:00
Juriy Zaytsev
85a8915a54 Merge pull request #557 from Kienz/patch-3
Return object reference in drawControls and drawBorders. Closes #556.
2013-04-12 02:26:49 -07:00
Stefan Kienzle
e73fe4625e Return object reference in drawControls and drawBorders
Closes #556
2013-04-12 00:47:07 +03:00
kangax
e8c9c7b0f1 Fix group selection when animation is in progress. Thanks @Kienz 2013-04-10 16:46:16 +02:00
kangax
99497467aa Remove node 0.9 from travis as it errors during build 2013-04-08 14:36:19 +02:00
kangax
7f190662d1 Do not parse fill value if it's not a string (but, for example, a gradient or pattern) 2013-04-08 13:41:46 +02:00
Juriy Zaytsev
5d10010dd4 Merge pull request #546 from Kienz/patch-1
fabric.Rect.fromElement() are wrong positioned
2013-04-08 01:19:48 -07:00
Stefan Kienzle
185686738e fabric.Rect.fromElement() are wrong positioned
If the left/top properties are 0 they are ignored - they are not normalized.
http://jsfiddle.net/Kienz/3SmUC
2013-04-08 09:25:33 +03:00
kangax
a0bc7b6904 Fix doc typo 2013-04-06 12:46:01 +02:00
kangax
8f34f2ac34 Build distribution 2013-04-06 12:44:36 +02:00
kangax
fcc0c5cbbb Only call change and complete callbacks once, when animating multiple properties. Closes #544 2013-04-06 12:44:10 +02:00
Juriy Zaytsev
5d97f5e803 Merge pull request #543 from Kienz/patch-1
Add svg element to async objects (reviver)
2013-04-05 09:14:23 -07:00
Stefan Kienzle
9c76ba0f92 Add svg element to async objects (reviver)
If async objects parsed (image), the reviver svg element is undefined.
You can see it here:
http://jsfiddle.net/Kienz/nhYww/
2013-04-05 19:06:02 +03:00
kangax
79a9d551c7 Build distribution. Version 1.1.6 2013-04-04 14:05:43 +02:00
kangax
c22d9f0c18 req_handler -> reqHandler 2013-04-04 14:05:24 +02:00
kangax
97222fbaa1 Remove pathOffset from object/json output for now 2013-04-04 14:03:22 +02:00
kangax
5a3d59c3a7 Fix text unit test 2013-04-04 14:03:08 +02:00
kangax
4e74f4d7ab Preserve group reference on objects in group after adding/removing some object from group. Closes #533 2013-04-04 13:58:08 +02:00
kangax
c294ae2b3a [BACK_INCOMPAT] fabric.Text#strokeStyle -> stroke, for consistency with other objects. Closes #535 2013-04-04 13:58:08 +02:00
kangax
4be589019c Fix positioning of line and image instances when part of a group 2013-04-04 13:58:08 +02:00
kangax
6e725ae18b Support stroke on image instances. Closes #536 2013-04-04 13:58:08 +02:00
kangax
4d037e979a Document strokeDashArray on fabric.Rect 2013-04-04 13:58:08 +02:00
Juriy Zaytsev
9e10349558 Merge pull request #531 from shiloa/master
Fix crash (segfault) on node.js if canvas loads images with secure url (https://...)
2013-04-04 04:55:14 -07:00
Juriy Zaytsev
a94533e825 Merge pull request #540 from Kienz/patch-2
Add link to Event.js library
2013-04-04 03:39:44 -07:00
Juriy Zaytsev
2c7205fec1 Merge pull request #537 from Kienz/shadowBrush
Fix reset shadow of fabric brushes
2013-04-04 03:39:19 -07:00
Juriy Zaytsev
4ca28101cb Merge pull request #539 from taherh/master
Minor jsdoc comment fix for fabric.Image.clone()
2013-04-04 03:28:32 -07:00
Kienz
f8d0c068b4 Add link to Event.js library
Add link to Event.js github repository to gestures module
2013-04-04 09:08:09 +03:00
Taher Haveliwala
bafc75b35c The jsdoc params for fabric.Image.clone() were out of order, making
the jsdoc API reference for this method at

    http://fabricjs.com/docs/symbols/fabric.Image.html

display an incorrect method summary (with the order of propertiesToInclude
and callback swapped).
2013-04-03 20:14:14 -07:00
Kienz
4e61f7eb2e Fix reset shadow of fabric brushes 2013-04-03 21:09:31 +02:00
Juriy Zaytsev
36ade22a34 Merge pull request #534 from Kienz/patch-1
Activate clicked object if group selection is cleared
2013-04-03 07:04:05 -07:00
Kienz
f5eb524ddd Don't set activeObject if clicked on activeGroup
canvas._activeGroup should be null if clicked on activeGroup. 
Only set activeObject if target !== activeGroup.
2013-04-03 16:17:46 +03:00
Kienz
0fdb97f289 Activate clicked object if group selection is cleared
If group selection is cleared and pointer clicked other object 
=> activate this object.

See issue #506
2013-04-03 16:07:27 +03:00
shilo
2c2206b951 rendering canvas on node.js - fixed issue with segfault occuring when downloading an image that comes from https (secure) url 2013-04-03 13:40:48 +03:00
Juriy Zaytsev
d60b07574c Merge pull request #528 from Kienz/patch-3
Fire event 'removed' on object level
2013-04-02 06:08:27 -07:00
Kienz
142a7a9779 Fire event 'removed' on object level
There is ```obj.fire('added')``` but not ```obj.fire('removed')```.
2013-04-02 16:05:51 +03:00
kangax
4c5df5ea0c Specify that loadSVGFromURL uses XHR and conforms to SOP 2013-04-02 13:47:47 +02:00
Juriy Zaytsev
2b70453188 Merge pull request #525 from TravisPaul/master
Add object_straightening module to README.md
2013-04-01 11:06:29 -07:00
Travis Paul
5d9b27cdab Added object_straightening, removed trailing <br> 2013-04-01 13:45:30 -04:00
kangax
3645c9ce6e Apply sencha patch to excanvas (http://dev.sencha.com/playpen/tm/excanvas-patch/) 2013-03-31 15:01:29 +02:00
kangax
8bd52f98fb Build distribution 2013-03-30 01:36:38 +01:00
kangax
c66707b3e5 Cleanup events and gestures modules 2013-03-30 01:36:27 +01:00
kangax
26c2590066 Group fixes. Closes #504. Closes #505 2013-03-30 01:36:15 +01:00
kangax
b0a6d8cd7d Fix pixelate filter. Thanks @Oleg. Closes #523 2013-03-30 01:30:46 +01:00
kangax
2856575f34 Add lastsemic option to jshint 2013-03-30 01:30:13 +01:00
kangax
d24d6307e5 [BACK_INCOMPAT] fabric.Object.setActive(…) -> fabric.Object.set('active', …). fabric.Object.isActive is gone (use active instead) 2013-03-29 16:26:27 +01:00
kangax
0d0763cad0 Build distribution. Version 1.1.5. 2013-03-29 13:21:13 +01:00
kangax
75873ebf95 Only transform rect when part of path group not group. Closes #495 2013-03-29 13:20:35 +01:00
kangax
27c6f2529c Mention that set doesn't update border/control and that setCoords should be called for that. Closes #518. 2013-03-29 12:44:05 +01:00
Juriy Zaytsev
22c37c4ac5 Merge pull request #515 from Kienz/patch-2
Include pathOffset in fabric.Path.toObject()
2013-03-29 04:06:54 -07:00
Kienz
0b078cd4be Include pathOffset in fabric.Path.toObject()
Include pathOffset in toObject() of fabric.Path and use it (if defined) in _initializePath().
This should fix issue #500.
2013-03-28 16:07:00 +01:00