Commit graph

1253 commits

Author SHA1 Message Date
Tim Andres
09e438b0ee Fixed bounding box bug with SVG parsed polylines and polygons 2013-06-28 16:39:15 -04:00
Juriy Zaytsev
b452f37429 Merge pull request #724 from ilsken/component
Add component.io support
2013-06-25 14:15:25 -07:00
Chris Tarquini
9d6348615b Added component support 2013-06-25 16:08:24 -04:00
kangax
53aaedadb6 Fix docs 2013-06-20 14:24:00 +02:00
Juriy Zaytsev
4c3286b007 Merge pull request #720 from iFixit/center-transform-per-object
Add "centerTransform" to `fabric.Object` (similar to the one on `fabric.Canvas`)
2013-06-20 05:23:20 -07:00
Daniel Beardsley
f10bef57af Resizing: allow centerTransform per-object
Instead of ONLY a global setting. Some objects (like circles) make far
more sense with centerTransform so it's nice to be able to do it
per-object.
2013-06-19 17:01:32 -07:00
Juriy Zaytsev
8805547e74 Merge pull request #716 from iFixit/load-image-buffer-support
Add support for Buffers in `fabric.utils.loadImage`
2013-06-19 04:19:33 -07:00
Cedric Wienold
5fc960aa56 Add support for Buffers to utils.loadImage
If the user has preloaded image data in a Buffer, allow that user to use
that data to load into a Fabric.js image.

This is possible because node-canvas supports setting 'src' to a Buffer.
2013-06-19 04:11:06 -07:00
kangax
6597b8919b Make sure only existent custom properties included in output. Closes #713 2013-06-19 12:49:45 +02:00
Juriy Zaytsev
17551c0084 Merge pull request #715 from iFixit/build-minification-error-reporting
Build: Let the user know about minification errors
2013-06-19 03:26:42 -07:00
Daniel Beardsley
c99d5aeae5 Build: Let the user know about minification errors
And exit(1).
2013-06-19 02:57:35 -07:00
Juriy Zaytsev
471dfed3c6 Merge pull request #714 from Kienz/gradientTests
Add more gradient tests
2013-06-18 13:48:52 -07:00
Kienz
57de0f7f3a Add more tests to gradient (distinguish between linearGradient and radialGradient) 2013-06-18 22:34:18 +02:00
kangax
4d4a129ee6 Fix objects z-index when creating a group via shift click 2013-06-18 12:34:43 +02:00
Stefan Kienzle
a0b7fa4eb9 Merge pull request #712 from macrosak/master
Zero opacity in gradient color stop.
Closes #711
2013-06-18 00:07:27 -07:00
Michal Knizek
f22c198a1e Zero opacity in gracient color stop kangax/fabric.js#711 2013-06-18 09:00:55 +02:00
kangax
af9ed2a50d Update changelog 2013-06-14 11:49:50 +02:00
kangax
275091e5e0 Add changelog file, listing back-incompat changes for now 2013-06-14 11:47:27 +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
Stefan Kienzle
7e9122945e Merge pull request #701 from woutercommandeur/flip
fix flickering when flipping using the corner scaling controls
2013-06-13 13:36:37 -07:00
Wouter Commandeur
6f4e78d6fc semicolons again 2013-06-13 17:50:40 +02:00
Wouter Commandeur
cb5bb66628 adjust scaling when dealing with padding 2013-06-13 17:41:07 +02:00
Wouter Commandeur
34e00e862c missing semicolon fixed 2013-06-13 17:00:31 +02:00
Wouter Commandeur
10e878fb62 mouse coordinates had to be adjusted for padding, now scaling works with padding as well 2013-06-13 16:52:21 +02:00
kangax
5bd8ba28d6 Fix loadFromJSON callback when objects array is empty. Closes #703 2013-06-13 13:39:17 +02:00
Wouter Commandeur
f4e4715905 remove commented out code 2013-06-12 21:23:15 +02:00
Wouter Commandeur
ecedb34d23 fix behaviour to be the same as the original 2013-06-12 21:21:34 +02:00
Juriy Zaytsev
344237a03a Merge pull request #700 from rileydutton/patch-1
Fix bug for not firing selection:created when using Shift to add objects
2013-06-12 11:03:46 -07:00
Wouter Commandeur
0ad759c428 fix flickering when flipping using the corner scaling controls 2013-06-12 19:24:30 +02:00
Riley Dutton
d79ff8f5e2 Fix bug for not firing selection:created when using Shift to add objects
Currently if you use Shift+Click to add objects to a group, selection:created will only fire after you add 3 or more objects to the group. This fix allows selection:created to fire when the group is first created (when the second object is added).
2013-06-12 10:19:00 -05:00
Juriy Zaytsev
6ad7e80f95 Merge pull request #696 from woutercommandeur/scaleflipfix
Fix flipping by using the corner controls
2013-06-12 06:31:00 -07:00
Wouter Commandeur
3809d19024 fix indentation 2013-06-11 11:03:05 +02:00
Wouter Commandeur
6dec0d24e0 fix flipping of objects using the corner controls 2013-06-11 10:07:35 +02:00
Wouter Commandeur
86bda44927 adjust point translation for strokeWidth. This fixes #687 (part 2) 2013-06-10 16:59:52 +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
eae7f1335c Make gradient module optional 2013-06-10 15:30:17 +02:00
kangax
4ad5e8bf1c Build distribution 2013-06-10 15:30:17 +02:00
kangax
245f30abfc Add plato to dev dependencies 2013-06-10 15:30:17 +02:00
kangax
816261d863 objects -> getObjects() 2013-06-10 15:30:17 +02:00
kangax
d89dea62ac Only use quadraticCurveTo when rendering rectangle with rounded corners. Closes #691 2013-06-10 15:30:17 +02:00
Juriy Zaytsev
0e9ddb3fa1 Merge pull request #694 from woutercommandeur/scale
Fix scaling with large strokeWidth. Closes #687, #402
2013-06-10 06:28:56 -07:00
Wouter Commandeur
b55bfd5326 fix scaling with large strokeWidth, this fixes #687 2013-06-09 21:28:08 +02:00
Juriy Zaytsev
b6a277baea Merge pull request #693 from woutercommandeur/1
Fix objects jumping when scaling one side of a group, then rotating
2013-06-07 17:20:16 -07:00
Wouter Commandeur
e503c36170 fix objects jumping around when scaling one side of a group and then rotating 2013-06-07 16:42:26 +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
55eeed181b Move drawArc to utils. Simplify and speed up fabric.Point 2013-06-06 02:49:42 +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