Commit graph

876 commits

Author SHA1 Message Date
kangax
6210da1568 Avoid jshint error with "unknown" typeof 2013-10-30 18:15:02 +01:00
kangax
43a8df57b3 Remove duplication in anim_ease 2013-10-30 17:42:49 +01:00
kangax
7ff0ae826f Refactor _renderViaNative a bit more 2013-10-30 17:35:20 +01:00
kangax
bc5b78f60c Refactor touch event abstraction 2013-10-30 17:29:55 +01:00
kangax
9433729124 Refactor getPointer 2013-10-30 17:26:26 +01:00
kangax
3b3b478e77 Refactor _setObjectScale 2013-10-30 17:15:53 +01:00
kangax
7022cd4a9b Even more canvas_events refactoring 2013-10-30 17:05:11 +01:00
kangax
171cfc1a05 More canvas_events refactoring 2013-10-30 16:58:47 +01:00
kangax
cd66612aa3 More canvas_events refactoring 2013-10-30 16:34:57 +01:00
kangax
61a3fb5123 Refactor __onMouseDown 2013-10-30 15:32:04 +01:00
kangax
10a3319ed1 Refactor _restoreObjectState 2013-10-30 15:09:02 +01:00
kangax
8ad5e7e511 IText doc fixes 2013-10-30 14:55:02 +01:00
kangax
1f4d400ba1 Build distribution 2013-10-29 21:14:42 +01:00
kangax
f53559773f Prevent errors in FF when rendering non-ready patterns 2013-10-29 21:14:20 +01:00
kangax
167f2fa089 Move shared attributes out of parser since it's needed by many "classes" 2013-10-28 14:01:44 +01:00
kangax
ab7fbe798f Build distribution. Version 1.3.9 2013-10-28 08:04:22 +01:00
kangax
8192c7a484 Update dependencies versions. Version 1.3.8 2013-10-28 07:37:53 +01:00
kangax
6892783156 Refactor fabric.Text#toSVG 2013-10-27 19:20:46 +01:00
kangax
eee0c9416b Refactor canvas event handling 2013-10-27 19:05:04 +01:00
kangax
8d2d6dabad De-duplicate cursor moving methods even more 2013-10-27 18:39:22 +01:00
kangax
b8b3403b0d Move line shifting into a separate method 2013-10-27 14:32:33 +01:00
kangax
b6ceb0a87d Refactor key movement handlers in IText 2013-10-27 14:26:17 +01:00
kangax
733eccb00c Separate IText behavior into a separate "module" 2013-10-27 14:05:35 +01:00
kangax
803ad572d4 draw -> render, for consistency 2013-10-27 13:27:05 +01:00
kangax
10c8a108d4 Unify image loading in few places 2013-10-27 13:12:48 +01:00
kangax
8f42a40964 Refactor pointerX/pointerY 2013-10-27 13:01:38 +01:00
kangax
f114a566b1 Refactor min/max in lang_array 2013-10-27 12:54:35 +01:00
kangax
64f749f8d1 Remove duplication in Polyline/Polygon classes 2013-10-26 20:20:48 +02:00
kangax
0aad996dc9 Refactor _scaleObject more 2013-10-26 19:06:48 +02:00
kangax
aa75b47506 Refactor _scaleObject 2013-10-26 18:59:36 +02:00
kangax
d803f9aa64 Refactor _findSelectedObjects 2013-10-26 18:54:29 +02:00
kangax
bd79c10987 Refactor _getSVGTextAndBg 2013-10-26 11:24:18 +02:00
kangax
86d8df6c8e Refactor duplication in gradient class 2013-10-25 20:27:02 +02:00
kangax
ce33c3cd3e Fix missing argument 2013-10-25 20:20:29 +02:00
kangax
46c5d9073c Refactor fabric.StaticCanvas#renderAll 2013-10-25 20:13:54 +02:00
kangax
c0effef9e1 Refactor fabric.StaticCanvas#toSVG more 2013-10-25 20:05:18 +02:00
kangax
df1125e0b9 Refactor fabric.StaticCanvas#toSVG 2013-10-25 19:57:31 +02:00
kangax
1cf94af014 Remove duplication in anim_ease.js 2013-10-25 12:15:26 +02:00
kangax
9e6fc35ffe Refactor fill setting into a separate method 2013-10-25 11:49:47 +02:00
kangax
ffe45dc702 Refactor stroke setting into a separate method 2013-10-25 11:34:47 +02:00
kangax
93d2ab3400 Refactor _getCoordsFromCommand 2013-10-25 11:23:24 +02:00
kangax
f67b78a984 Refactor _parseDimensions 2013-10-25 11:18:44 +02:00
kangax
c42d857b14 Refactor _handleGroupLogic even more 2013-10-25 10:43:42 +02:00
kangax
f927cd9e9e Build distribution 2013-10-25 10:39:45 +02:00
kangax
c2edbf003a Refactor _setupCurrentTransform 2013-10-25 10:20:55 +02:00
kangax
83216b5771 Update distribution 2013-10-25 09:12:21 +02:00
kangax
b8ddc9cbee Build distribution 2013-10-25 09:05:40 +02:00
kangax
476da71e92 Doc changes 2013-10-25 09:05:39 +02:00
kangax
a0c508c1d5 Fix selectable=false objects getting incorrectly selected. Closes #880 2013-10-01 16:52:11 +02:00
kangax
82d9a15fee Fix left aligning in Node. Version 1.3.7 2013-09-30 18:37:45 +02:00
kangax
04c4d3d0dc Version 1.3.6 2013-09-30 16:16:34 +02:00
kangax
5887683d18 Build distribution again 2013-09-30 13:38:41 +02:00
kangax
2b6aaa2fa7 Build distribution 2013-09-30 13:38:13 +02:00
kangax
12f272d2fc Build distribution 2013-09-28 23:47:53 +02:00
kangax
bbb73dcde3 Add more docs 2013-09-27 22:22:28 +02:00
kangax
485b3569d3 Add docs 2013-09-27 22:22:28 +02:00
Juriy Zaytsev
2f29c01264 Merge pull request #870 from aspectit/scrollTop
Fix mouse handling inside a scrollable div.
2013-09-27 04:50:07 -07:00
kangax
db8f0515f1 Add docs for object accessors. Build distribution. 2013-09-26 19:55:17 +02:00
kangax
365b2dc0a9 Doc additions 2013-09-26 17:50:28 +02:00
kangax
41ab3a0064 Doc additions 2013-09-26 14:12:02 +02:00
Michael Elsdörfer
08bae85093 Fix mouse handling inside a scrollable div. 2013-09-25 23:36:41 +02:00
kangax
812717b207 Add fabric.Object#evented. fabric.Object#selectable now fires events again, but can not be selected. However, evented=false does not receive events at all. 2013-09-25 19:05:57 +02:00
kangax
7e9e27aba5 Fix object loading yet again 2013-09-24 18:34:32 +02:00
kangax
15a6a3c3df Fix objects enlivening with sparse arrays. Version 1.3.3 2013-09-24 15:58:52 +02:00
kangax
5dc3bcff6d Build distribution. Version 1.3.2 2013-09-24 13:25:38 +02:00
kangax
0a0e93ded9 Update dist files 2013-09-23 14:37:57 +02:00
kangax
89a1a11563 Fix exports again. Version 1.3.1 2013-09-23 14:34:07 +02:00
kangax
a173a2daa5 Avoid exports global var creation in non-requirejs build (as it conflicts with underscore, qunit, etc.) 2013-09-23 14:19:56 +02:00
kangax
4befebb19d Build distribution with remote changes 2013-09-19 19:50:59 +02:00
kangax
6de9f65702 Fix animation abort 2013-09-19 19:49:51 +02:00
kangax
a0e2189650 Build distribution. Version 1.3.0 2013-09-19 19:49:51 +02:00
kangax
b7dc7267fb Build distribution 2013-09-15 20:31:22 +02:00
kangax
dbc96349ce Refactoring 2013-09-15 20:29:20 +02:00
kangax
b077905781 Avoid creation of exports global var as this messes up QUnit (and probably something else) 2013-09-14 20:40:40 +02:00
kangax
408a8b9de6 Alias "jpg" format to "jpeg". Closes #806 2013-09-14 18:44:44 +02:00
kangax
f5f29a3925 Create group of circles in CircleBrush for better performance. Closes #530 2013-09-14 13:59:10 +02:00
kangax
44265e3c97 Create group of rectangles in spray brush for better performance 2013-09-14 13:55:21 +02:00
kangax
c1a818ac33 Add support for cropping in toDataURL. Closes #449. Version 1.2.14 2013-09-14 12:42:25 +02:00
kangax
40e27b7392 Document text accessors 2013-09-13 19:03:05 +02:00
kangax
5ebd697978 [BACK_INCOMPAT] Remove selectable, hasControls, hasBorders, hasRotatingPoint, transparentCorners, perPixelTargetFind from default object/json representation of objects. Fix includeDefaultValues. Version 1.2.13. Closes #795 2013-09-11 11:41:00 +02:00
kangax
95c97f5447 [BACK_INCOMPAT] Object rotation now happens around originX/originY point UNLESS centerTransform=true. Version 1.2.12. Closes #439 2013-09-09 16:39:39 +02:00
kangax
bec5787267 Update docs 2013-09-09 02:42:16 +02:00
kangax
36cd31b7a3 Fix object:modified firing incorrectly with groups. Closes #717 2013-09-09 02:27:19 +02:00
kangax
0fc54d4f7f Fix Point and Intersection docs. Build distribution. 2013-09-06 19:12:57 +02:00
kangax
907710cfa1 Build distribution 2013-09-04 16:49:10 +02:00
kangax
70213ea92f Tweak build.js; build distribution 2013-09-03 21:23:35 +02:00
kangax
4559918688 Resolve conflicts 2013-09-03 21:18:29 +02:00
kangax
fc3bc45920 Fix text decoration offset for text with originY=top 2013-09-03 21:17:00 +02:00
Drew Lustro
1f993e92b8 requirejs support added via "requirejs" build.sh option
$ node build modules=ALL requirejs
- dist/all* is clean of changes
- fixed bug in build.sh that would prevent dist/all.require.js from compiling properly
- Updated test.js to include test_script.js fixtures
- NOTE: Qunit tests largely incompatible with requirejs version... need more
insight on how Qunit works to get fabric in the namespace since it is
no longer a global when built as an AMD module.
2013-09-03 14:15:12 -04:00
kangax
eeb5fc1400 Build distribution. Version 1.2.11 2013-09-03 12:04:57 +02:00
kangax
e1df87c64c Some (non-breaking) text changes to allow for more granular line height 2013-09-01 00:10:12 +02:00
kangax
191ce1aa69 Build distribution, fix unit test 2013-08-30 13:52:24 +02:00
kangax
507dff705b Fix tint filter. Thanks @mewdriller 2013-08-30 01:13:29 +02:00
kangax
434bfb2c6d Fix fabric.Canvas subclassing; fabric.Canvas, fabric.StaticCanvas now created via createClass. 2013-08-28 15:17:25 +02:00
kangax
be540319c5 Version 1.2.10 2013-08-27 16:23:23 +02:00
kangax
78dc27a029 Call abort in context of an object. Closes #803 2013-08-23 14:30:33 +02:00
kangax
b5ad629e51 Build distribution 2013-08-23 11:13:39 +02:00
Jaak Sarv
2cd96f7933 Fixed bug where object selection borders where misaligned 2013-08-22 18:05:12 +03:00
kangax
d1bcd18de5 Fix resolveNamespace 2013-08-17 20:18:06 +02:00
kangax
8b6f21cd38 Update distribution 2013-08-17 20:02:27 +02:00
kangax
e1f7d16cbf Update build script, build distribution 2013-08-14 21:51:30 +02:00
kangax
4b1d1140eb Doc additions 2013-08-14 12:55:09 +02:00
kangax
b61bf51ac2 Update distribution again 2013-08-12 11:58:36 +02:00
kangax
79cd44650c Update docs, build distribution 2013-08-12 11:52:13 +02:00
kangax
2c6f6c27b4 Doc fixes 2013-08-08 16:39:40 +02:00
kangax
4841e563f3 Update distribution 2013-08-07 13:55:45 +02:00
kangax
bbe83dad0f Support reviver in Node's version of loadSVGFromURL and loadSVGFromString 2013-08-06 16:12:00 +02:00
kangax
abcfe52fef Build distribution. Version 1.2.9 2013-08-05 12:34:31 +02:00
kangax
9edba2c8f6 Add fabric.Image.pngCompression and use it in applyFilters under Node 2013-08-05 11:22:05 +02:00
kangax
c827c92aad Add oCoords in docs 2013-07-30 16:41:18 +02:00
kangax
a64cc65eb6 Pass abort option in fabric.Object#animate 2013-07-29 23:58:15 +02:00
kangax
b937793759 Build distribution. Version 1.2.8 2013-07-28 23:41:46 +02:00
kangax
e6bc08701c Update centering methods docs to mention the need for setCoords 2013-07-28 19:43:07 +02:00
kangax
9df6f6b2d4 Fix animation mixin inclusion 2013-07-28 15:42:08 +02:00
kangax
f270ca0259 Move animation methods to an optional module 2013-07-28 15:25:31 +02:00
kangax
34b5eee748 Increase dimensions of svg filter region to avoid clipping 2013-07-27 19:52:44 +02:00
kangax
7a46482328 Add shadow toSVG support. Version 1.2.7 2013-07-25 19:39:21 +02:00
kangax
22ac5d947f Fix patterns width/height 2013-07-25 16:45:15 +02:00
kangax
c91dba0e4e Build distribution 2013-07-24 22:16:52 +02:00
kangax
bc3adcffbc Clip free drawing 2013-07-24 22:16:28 +02:00
kangax
67b54a44a5 Fix pattern toSVG 2013-07-22 22:00:03 +02:00
kangax
974ed943b8 Fix polyline, polygon tests and JSHint warnings 2013-07-22 14:39:07 +02:00
kangax
6b36e72521 Make SVG output Corel Draw -compatible. Closes #758 2013-07-22 14:22:36 +02:00
kangax
5abd57909c Update Fabric to 1.2.6 2013-07-22 14:22:36 +02:00
kangax
d3e2b03856 Start implementing pattern toSVG support 2013-07-22 14:22:36 +02:00
kangax
aabad2af49 Build distribution 2013-07-19 13:38:07 +02:00
kangax
71f81f5b32 Remove initial clause from Event.js that we added previously (since IE9 complains). Build distribution. 2013-07-18 23:15:41 +02:00
kangax
8a0e9bd6b4 Fix fabric.Path.fromElement. Version 1.2.5 2013-07-13 20:15:35 +02:00
kangax
86eaff99ed Bring jsdom back to 0.5.6 2013-07-13 19:59:31 +02:00
kangax
35243428e5 Build distribution. Version 1.2.3 2013-07-13 18:57:12 +02:00
kangax
8f02189d50 Fix fabric.Path/fabric.PathGroup fromObject 2013-07-13 18:56:41 +02:00
kangax
384fe70edd Build distribution 2013-07-13 11:10:34 +02:00
kangax
b8ad7fa79e Clip text background and decoration properly. Closes #743. 2013-07-13 02:35:04 +02:00
kangax
c8cab03aac [BACK_INCOMPAT] fabric.Path.fromObject is now async. fabric.Canvas#loadFromDatalessJSON is deprecated. 2013-07-12 22:38:21 +02:00
kangax
72ef6c67fa Parse lineHeight in style attribute. This fixes IE11's only failing test. 2013-07-11 20:39:45 +02:00
kangax
39164c289a Build distribution 2013-07-08 12:39:49 +02:00
kangax
3eb00518f8 Fix pointer detection in scrollable container. Thanks @kwicher. Closes #730 2013-07-07 22:32:03 +02:00
kangax
21f87bb63a Fix polygon/polyline tests and minor cleanup 2013-07-07 22:25:01 +02:00
kangax
33fd6c66b5 Version 1.2.1 2013-07-06 16:04:29 +02:00
kangax
cdc2d4156f Build distribution. Version 1.2.0 2013-06-14 11:14:01 +02:00
kangax
be8e921e57 Fix nested matrix multiplication. Closes #705 2013-06-13 23:10:33 +02:00
kangax
5bd8ba28d6 Fix loadFromJSON callback when objects array is empty. Closes #703 2013-06-13 13:39:17 +02:00
kangax
5792521c7a Remove bottom/right from fabric.Path#_parseDimensions, as it's incorrect and not used anywhere. Build distribution. Closes #666 2013-06-10 15:44:23 +02:00
kangax
4ad5e8bf1c Build distribution 2013-06-10 15:30:17 +02:00
kangax
51b7c09314 Move Cufon methods to text.cufon. Move drawControls to Canvas (from StaticCanvas). Move dataURL-exporting methods to dataurl_exporter mixin. 2013-06-06 12:31:32 +02:00
kangax
e1f93a3668 Move dimensionAffectingProps to fabric.Text.prototype. Simplify and speed up Intersection class. Build distribution. 2013-06-06 03:06:17 +02:00
kangax
64317de0d0 Revert text box behavior back to previous (so that characters don't peak out of bounding box). Version 1.1.21 2013-06-05 14:53:35 +02:00
kangax
299aec6cdc Build distribution. Version 1.1.20 2013-06-05 13:53:15 +02:00
kangax
2f1383a713 Fix text rendering again. Version 1.1.19 2013-06-03 18:32:44 +02:00
kangax
044f5ed483 Fix rect positioning when loading from JSON. Closes #522 2013-06-03 02:24:41 +02:00
kangax
5a28acb032 Fix toJSON/toSVG serialization when there's active group on canvas. Closes #645 2013-06-03 01:55:51 +02:00
kangax
2407dbba49 Implement clipTo serialization, deserialization, and initialization. Closes #583. Closes #677. Closes #676 2013-06-02 23:04:54 +02:00
kangax
221146997c Fix pattern initialization from function string. Closes #442. Version 1.1.18 2013-06-02 22:07:16 +02:00
kangax
1c1b7e4b95 Fix function body matching regex. Add fabric.util.getFunctionBody 2013-06-01 18:08:36 +02:00
kangax
46183d8a85 Fix function body regex to match in IE. Closes #658 2013-06-01 17:48:46 +02:00
kangax
3042d0d46e Update distribution 2013-06-01 16:36:57 +02:00
kangax
8d84a5c551 Build distribution. Version 1.1.17 2013-06-01 13:18:33 +02:00
kangax
6e41088614 Fix getElementOffset in IE<9 2013-06-01 13:14:52 +02:00
kangax
77013208de Fix build.js, build distribution 2013-05-30 21:59:58 +02:00
kangax
0a44d30347 Fix fabric.Line to render properly when x2/y2 is smaller than x1/y1. Thanks @LimeyTX. Closes #648 2013-05-26 00:06:06 +02:00
kangax
6830985236 Build distribution 2013-05-23 20:21:04 +02:00
kangax
5e10c0011b Fix regression in adjustPosition. Version 1.1.16 2013-05-23 03:52:56 +02:00
kangax
8a52f99292 Fix line rendering when points make height become negative. Closes #589 2013-05-21 18:38:32 +02:00
kangax
f3f1db63b3 Fix fabric.Line rendering 2013-05-21 17:47:44 +02:00
kangax
257d629575 Remove space at the bottom of containing box on text objects (with high line height). Fix underline/strike-through to work with line height correctly. Closes #608 2013-05-21 13:16:26 +02:00
kangax
7df7e41225 Build distribution 2013-05-20 19:45:38 +02:00
kangax
d2bcfc922d Build distribution 2013-05-19 16:26:23 +02:00
kangax
1ed4e40bdf Move brushes to /brushes and mixins to /mixins. Organize ATTRIBUTE_NAMES to use fabric.SHARED_ATTRIBUTES. 2013-05-18 16:43:49 +02:00
kangax
743a103e8e Version 1.1.15 2013-05-18 15:32:03 +02:00
kangax
4491b24a75 Build distribution 2013-05-14 12:35:07 -04:00
kangax
b2bcb3aff5 Fix adjustPosition and _getLeftTopCoords 2013-05-14 11:25:52 -04:00
kangax
0be6a5d556 Fix node text rendering. Version 1.1.14 2013-05-12 20:30:24 -04:00
kangax
c65b1f5e7d Add support for parsing shorthand font declaration in styles, such as "font: italic 12px Arial,Helvetica,sans-serif" 2013-05-12 13:01:23 -04:00
kangax
8c8f91a444 Build distribution. Version 1.1.13 2013-05-09 14:22:31 -04:00
kangax
2b6b64dd02 Add support for removing SVG export functionality during build (via no-svg-export flag) 2013-05-09 14:21:10 -04:00
kangax
6c3bfa5c92 Build distribution 2013-05-09 00:16:10 -04:00
kangax
5f8ca2cbc9 Make background white when generating data url jpeg image. Closes #613 2013-05-07 11:37:00 -04:00
kangax
a47128afa4 Add support for same options in fabric.Object#toDataURL as there are in fabric.Canvas#toDataURL. Closes #609 2013-05-06 11:52:16 -04:00
kangax
d6e292e482 Fix text rendering. Closes #590. Version 1.1.12 2013-05-05 13:23:49 -04:00
kangax
fde521317e Store result of setLineDash support check. Build distribution. Version 1.1.11 2013-05-04 20:29:59 -04:00
kangax
35d5cf220f [BACK_INCOMPAT] Make fabric.Object#toDataURL synchronous. Fix fabric.Object#cloneAsImage to preserve angle. Closes #596 2013-05-01 14:49:42 -04:00
kangax
f5b88b4045 Make fabric.Canvas#isTargetTransparent public. Closes #595 2013-05-01 09:58:39 -04:00
kangax
e8825bc581 Doc fixes 2013-05-01 09:35:26 -04:00
kangax
775df6e836 Move state-related methods to stateful mixin 2013-05-01 09:29:57 -04:00
kangax
17974a55be Reuse mt coordinate values in mtr coordinates. Closes #592 2013-05-01 03:06:04 -04:00
kangax
eeecde62a8 Normalize style values. Closes #598 2013-05-01 02:58:59 -04:00
kangax
a6a5cb4a54 Load image via fabric.util.loadImage in cloneAsImage. Add fabric.util.createImage helper. Closes #593 2013-04-29 15:16:59 -04:00
kangax
f6da728aad Add support for parsing "compressed" path data in SVG path's. Version 1.1.10 2013-04-29 11:12:20 -04:00
kangax
d755d64c76 Remove unnecessary renderAll calls. Thanks @Kienz. Closes #587 2013-04-26 21:49:13 -04:00
kangax
4e1a26cc11 Update docs 2013-04-25 14:21:32 -04:00
kangax
56e6107752 Doc fixes 2013-04-25 13:52:05 -04:00
kangax
c269b7010f Version 1.1.9 2013-04-24 13:00:02 -04:00
kangax
c16dcf88a4 Change inline docs to conform to jsdoc3 2013-04-24 12:58:04 -04:00
kangax
66c3c80d18 Fix doc 2013-04-22 09:26:57 -04:00
kangax
22de40dc54 Add support for pattern offsets (via fabric.Pattern#offsetX/offsetY). Version 1.1.8 2013-04-22 09:16:58 -04:00
kangax
395680d960 Build distribution 2013-04-20 12:04:59 -04:00
kangax
e56d37d9da Fix text and line rendering in path group. Add support for multiple declarations in "transform" attribute. Fix stroke color of line. Version 1.1.7 2013-04-18 21:42:46 -04:00
kangax
ee9a206738 Build distribution 2013-04-17 11:11:43 -04:00
kangax
8879c73af7 Document lock* properties. Build distribution 2013-04-16 12:44:54 -04: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
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
kangax
79a9d551c7 Build distribution. Version 1.1.6 2013-04-04 14:05:43 +02: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
kangax
8bd52f98fb Build distribution 2013-03-30 01:36:38 +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
40bda07140 Fix fabric.Canvas#clipTo. Thanks @sn3p 2013-03-24 18:09:55 +01:00
kangax
14cbcb8ea3 Build distribution 2013-03-24 00:06:04 +01:00
kangax
83b7ef57e7 Build distribution. Version 1.1.4 2013-03-23 23:23:26 +01:00
kangax
4911cc036b Make fabric.Image.fromURL use fabric.util.loadImage which fixes it under Node 2013-03-23 23:16:16 +01:00
kangax
24735e6e31 Fix removal of event listeners in fabric.Canvas#dispose on touch-based devices. Version 1.1.3 2013-03-20 23:38:22 +01:00
kangax
919f95a0a0 Move collection-related methods to fabric.Collection, shared by fabric.Canvas and fabric.Group. 2013-03-20 10:28:35 +01:00
kangax
da9cda6c90 [BACK_INCOMPAT] Version 1.1.2.
canvas.freeDrawingColor -> canvas.freeDrawingBrush.color;
canvas.freeDrawingLineWidth -> canvas.freeDrawingBrush.width;
2013-03-19 16:05:13 +01:00
kangax
8bea909a54 Merge master 2013-03-19 15:52:14 +01:00
kangax
2a5645fcd5 Fix scaling event not firing sometimes. Thanks @rcyrus. 2013-03-19 15:36:25 +01:00
kangax
030da0d36c Build distribution 2013-03-19 13:31:57 +01:00
kangax
e8e32e80de Fix gradient colorStops initialization. Thanks @Kienz 2013-03-18 13:11:31 +01:00
kangax
9bb38c144c Fix toDataURL not honoring format. Thanks ebirbal. 2013-03-18 13:03:54 +01:00
kangax
ecc97413da Version 1.1.1. Closes #447 2013-03-16 16:43:26 +01:00
kangax
d881340120 Version 1.1.0 2013-03-10 21:06:29 +01:00
kangax
e917b144aa Remove unnecessary space in SVG output 2013-03-06 18:55:26 +01:00
kangax
506125bbe6 [BACK_INCOMPAT] fabric.Canvas.toDataURL now accepts options object instead linear arguments. fabric.Canvas.toDataURLWithMultiplier is deprecated; use toDataURL({ multiplier: … }) instead. 2013-03-06 18:47:50 +01:00
kangax
17a88e93e1 Doc fixes 2013-02-24 12:40:16 +01:00
kangax
7d9c91de70 res -> response and remove unnecessary semicolon 2013-02-22 17:24:22 +01:00
kangax
be4db2f409 Fix doc. Thanks @rodrigopandini 2013-02-20 23:42:38 +01:00
kangax
9be89b2f2f drawCorners -> drawControls, for consistency. Remove unused hasCorners and use hasControls instead of hideCorners. Version 1.0.12 2013-02-20 13:19:22 +01:00
kangax
80469a23eb Fix createCanvasElement canvas initialization. IE<9 now works again. 2013-02-19 13:34:50 +01:00
kangax
9df85553b9 [BACK_INCOMPAT] Add fabric.util.createAccessors. Add accessors for fabric.Text -specific properties (setTextDecoration, setFontWeight, setFontStyle, etc.). Make text object dimensions change when setting dimension-affecting properties. fabric.Text#setFontsize becomes setFontSize. Version 1.0.11. 2013-02-18 16:22:48 +01:00
kangax
39e2078fb6 Version 1.0.10 2013-02-17 13:39:58 +01:00
kangax
a77cbfe2be Text fixes for node-canvas. Version 1.0.9 2013-02-15 14:11:58 +01:00
kangax
cd93d7efd9 Build distribution. Version 1.0.7 2013-02-11 13:23:43 +01:00
kangax
d9291fbfe5 Add shadow support to brushes 2013-02-06 23:55:15 +01:00
kangax
b55c35f865 Merge master 2013-02-06 23:28:17 +01:00
kangax
776d966bdb Remove polygon offsetting fix which broke some SVG shapes 2013-02-06 21:04:14 +01:00
kangax
ed0716718a Fix build minification. Closes #417 2013-02-06 20:42:39 +01:00
kangax
4995fd9ed1 Fix free drawing path initialization 2013-02-06 20:41:58 +01:00
kangax
a4340fda45 Doc fixes 2013-02-06 16:20:53 +01:00
kangax
f140e2159e Build distribution 2013-02-06 16:20:53 +01:00
Arthaey
48ab4607b9 Add option to suppress XML preamble in toSVG method. 2013-02-05 22:20:56 -08:00
kangax
18e6e4f353 Version 1.0.6 2013-02-04 20:49:05 +01:00
kangax
5ee9b13a92 Add support for shadows (via fabric.Shadow) 2013-02-04 20:49:05 +01:00
kangax
8b04e286a8 Log full errors instead of just its messages 2013-02-04 20:49:05 +01:00
kangax
d645c4e7dc Add ability to specify pattern repeat via options 2013-02-04 20:49:05 +01:00
kangax
953f2a2d15 Version 1.0.5 2013-02-03 17:01:39 +01:00
kangax
7fd1a09174 Fix typo in serialization module 2013-02-03 02:17:46 +01:00
kangax
6777c50012 Add support for patterns 2013-02-03 02:15:29 +01:00
kangax
69f1b20a8e Add fabric.Object#getBoundingRect. getBoundingRectWidth/getBoundingRectHeight are deprecated. 2013-01-29 18:06:44 +01:00
kangax
7adb624f0b 2012 -> 2013 2013-01-25 14:31:31 +01:00