Commit graph

1020 commits

Author SHA1 Message Date
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
Juriy Zaytsev
45d54d9fac Merge pull request #513 from Kienz/patch-1
Delete _activeObject in `fabric.StaticCanvas.clear()`
2013-03-28 04:27:55 -07:00
Kienz
dfec3dd2f0 fabric.StaticCanvas.clear() delete _activeObject
If canvas is cleared ```canvas._activeObject``` should be removed.
2013-03-28 09:06:36 +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
f5b2ab1188 Add Stefan Kienzle in the list of contributors 2013-03-24 00:05:57 +01:00
kangax
81e8f9c2e2 Fix node-based url request 2013-03-24 00:05:13 +01:00
kangax
40490dc7f3 Add support for loading local files in fabric.loadSVGFromURL 2013-03-24 00:04:50 +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
Juriy Zaytsev
81993d21fb Merge pull request #494 from Kienz/moveTo
Implement fabric.StaticCanvas#moveTo(object, index)
2013-03-23 14:55:14 -07:00
Juriy Zaytsev
44c8964f6e Merge pull request #496 from TravisPaul/master
Update README.md
2013-03-23 09:54:53 -07:00
Travis Paul
792c4b3c2c Removed refrence to doc building section 2013-03-23 11:55:57 -04:00
Travis Paul
3fcdc4d712 Fixed unit test link, removed build doc instruction (appear to only be in fabricjs.com repo) 2013-03-23 11:53:23 -04:00
Juriy Zaytsev
e8de627f98 Merge pull request #493 from Kienz/viewBoxSVG
Add option to define viewBox in fabric.Canvas#toSVG
2013-03-22 11:18:01 -07:00
Juriy Zaytsev
dbbd0c5095 Merge pull request #492 from Kienz/visiblePropFix
Bugfix for visible property / doc additions
2013-03-22 11:06:27 -07:00
Kienz
3a0a2c7fd2 Implement fabric.StaticCanvas#moveTo to move object to specified level in stack of drawn objects
You can also move fabric.Group objects in the grub objects stack to a specified level.

Add unit tests for moveTo.
2013-03-22 15:10:44 +01:00
Kienz
9e79c487be Add viewBox attribute to toSVG(options) to define the viewBox of sag output. 2013-03-22 12:57:33 +01:00
Kienz
4b1939e5d3 Add check if object is visible to fabric.Image and fabric.Path. Now all fabric instances with own render method should check for visible property.
Some doc updates - add noTransform to doc and set it optional
2013-03-22 12:10:34 +01:00
Juriy Zaytsev
97fdc215a8 Merge pull request #488 from Kienz/patch-2
Bugfixes for fabric.Object#visible
2013-03-20 16:13:41 -07: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
Kienz
6379278384 fabric.Text#visible not working
Bugfix for text objects - only render visible objects
2013-03-20 19:20:05 +01:00
Kienz
292178474d fabric.Object#visible bugfixes and improvements
Bugfixes if perPixelTargetFind = false => object are found if they are invisible with mouse hover.
Only consider visible objects in findTarget (improvement).
2013-03-20 19:17:39 +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
7f19110967 Update docs on left/top being relative to object center 2013-03-19 13:20:21 +01:00
kangax
d89bbf0d8d Temporarily comment out unit tests that fail due to Node 0.10 bug (https://github.com/joyent/node/issues/5011) 2013-03-19 13:10:33 +01:00
Juriy Zaytsev
826fe8a714 Merge pull request #481 from Kienz/patch-1
Fix fabric.Group#visible
2013-03-19 05:04:33 -07:00
kangax
ebfe7adf0f Add node 0.10 to travis config 2013-03-19 12:46:29 +01:00
Kienz
4800b0729b fabric.Group#visible = false did not work
The fabric.Object#visible attribute has no affect to fabric.Goup and its objects.
2013-03-18 14:32:05 +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
7123ea357f Fix JSHint warnings 2013-03-16 16:41:36 +01:00
kangax
2622a380bf [BACK_INCOMPAT] fabric.Group#objects -> fabric.Group._objects (making it consistent with canvas._objects). Objects in group always have group reference to a group they're in. bringToFront, sendToBack, etc. now work in relation to group when called on objects within group. 2013-03-16 16:41:19 +01:00
kangax
8f0aee3ba1 Update dependencies 2013-03-14 13:24:45 +01:00
kangax
2cfc62169d Remove no longer needed lib/fonts 2013-03-11 18:57:59 +01:00