kangax
e3b0f666fb
More precise path-group check. Closes #964
2013-11-14 19:22:45 +01:00
kangax
8c984fe8e5
Build distribution
2013-11-14 19:11:38 +01:00
kangax
26bdd0de69
Remove setCoords in fabric.Group#render. Build distribution. Version 1.3.11. Closes #979
2013-11-14 18:47:10 +01:00
kangax
04ba89b573
More group refactoring
2013-11-13 21:08:56 +01:00
kangax
483426b275
Fix group z-index. Closes #967
2013-11-13 20:52:25 +01:00
kangax
8768aa7661
Refactor static_canvas.class.js
2013-11-13 16:43:24 +01:00
kangax
7c4025841a
Refactor static_canvas.class.js, canvas_events.mixin.js, canvas.class.js
2013-11-13 16:19:44 +01:00
kangax
b6f725fc22
Combine var declarations
2013-11-13 16:01:35 +01:00
kangax
776b72d624
More canvas.class.js refactoring
2013-11-13 14:33:01 +01:00
kangax
bbd3480d50
canvas.class.js refactoring
2013-11-13 14:26:49 +01:00
kangax
779c2ef527
Move isTransparent logic to utils
2013-11-13 14:10:28 +01:00
kangax
166b16d6c2
IText refactoring
2013-11-13 12:25:50 +01:00
kangax
ed06f97ee4
Build distribution
2013-11-11 18:35:32 +01:00
kangax
31338df54d
canvas_events refactoring
2013-11-11 16:41:13 +01:00
kangax
4f46626467
Extract method in fabric.Canvas
2013-11-11 16:20:11 +01:00
kangax
014109ced3
Move canvas grouping logic to separate mixin/file
2013-11-11 16:07:51 +01:00
kangax
e1e996ce87
Build distribution
2013-11-11 00:02:19 +01:00
kangax
f421979e80
More fabric.Group refactoring
2013-11-10 17:43:23 +01:00
kangax
1ecbf379ff
More group refactoring
2013-11-10 17:31:59 +01:00
kangax
ffa794ed54
Refactor fabric.Group
2013-11-10 17:24:32 +01:00
kangax
1183464dde
Refactor arcToSegments
2013-11-10 17:13:01 +01:00
kangax
fc3bb9fe69
Refactor getColorStop
2013-11-10 16:51:08 +01:00
kangax
db7b0b585f
Refactor _drawControls
2013-11-10 16:43:56 +01:00
kangax
a39474d5bc
Refactor __onMouseUp
2013-11-10 15:34:10 +01:00
kangax
987f165790
Remove duplication in log.js
2013-11-10 15:15:31 +01:00
kangax
4556c7bf45
Fix origins of free-drawing paths and shapes
2013-11-10 11:24:45 +01:00
kangax
cbecc7910c
Fix vertical cursor movement in center/right -aligned and styled text
2013-11-09 18:09:25 +01:00
kangax
ffe6091dd7
Move getObjects to fabric.Collection. Add support for getObjects(type). Version 1.3.10.
2013-11-09 14:50:30 +01:00
kangax
2d2bd68325
Add doc on requestAnimFrame
2013-11-06 21:20:07 +01:00
kangax
dcf1e1e980
Add data-url crossOrigin workaround
2013-11-06 21:16:44 +01:00
kangax
5f643daf54
Normalize behavior of setActiveObject, setActiveGroup, discardActiveObject, discardActiveGroup. Closes #579
2013-11-06 20:58:23 +01:00
kangax
c3fd102cdb
Fix fabric.Object#selectable. Closes #957
2013-11-06 18:41:02 +01:00
kangax
d0abb90f1c
Add fabric.Image#crossOrigin which allows crossOrigin image loading and canvas rendering without tainting. fabric.util.loadImage now accepts 4th argument (crossOrigin) and sets crossOrigin="" on image element by default. fabric.Image.fromURL can be passed crossOrigin via 3rd argument (options). Closes #263
2013-11-05 15:13:15 +01:00
kangax
baf646e7a0
Support mouse and touch events simultaneously. Closes #670
2013-11-05 12:27:15 +01:00
kangax
f91dd30dc7
Better line length in parser
2013-11-05 11:59:48 +01:00
kangax
6cb941c116
Extract elements parsing into a separate object (ElementsParser)
2013-11-04 17:12:05 +01:00
kangax
ce8fe3447d
Break parseStyleAttribute apart
2013-11-04 16:41:26 +01:00
kangax
2753108028
Initial implementation of fabric.IText#toSVG (~75% complete atm)
2013-11-04 15:20:40 +01:00
kangax
59af4b7934
Add ctrl/cmd + x support
2013-11-04 12:05:29 +01:00
kangax
2b0208347a
Build distribution
2013-11-04 11:59:30 +01:00
kangax
a2cfc019ba
Build distribution
2013-11-04 00:37:42 +01:00
kangax
330784ac2c
[BACK_INCOMPAT] Change default objects' originX/originY to left/top
2013-11-04 00:15:49 +01:00
kangax
a010739af9
Build distribition
2013-11-03 17:39:18 +01:00
kangax
2da3fa80b5
Slight reorganization
2013-11-02 14:41:28 +01:00
kangax
5cddbc5f22
Build distribution
2013-11-02 14:18:21 +01:00
kangax
7eee6ddef0
Add caching to IText which increases performance of large text tremendously
2013-11-02 14:15:20 +01:00
kangax
9bfce93ddf
Only fire dblclick if clicked at the same location
2013-11-02 12:37:50 +01:00
kangax
c5c6474c4d
Ensure one editing text at a time
2013-11-01 22:39:28 +01:00
kangax
7235a97e91
Add basic copy/paste support in IText; fix certain char insertion.
2013-11-01 22:28:23 +01:00
kangax
c6ff46269c
Preserve canvas reference in fabric.Object#toDataURL. Closes #938
2013-10-31 16:00:31 +01:00
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