Commit graph

1440 commits

Author SHA1 Message Date
Kienz
cb510b9ef3 Fixed fabric.Group.toSVG- object order was wrong 2013-09-18 19:17:50 +02:00
Juriy Zaytsev
3c50e72548 Merge pull request #853 from Kienz/patch-1
Avoid unnecessary `renderAll` calls in mousedown and mouseup events
2013-09-18 06:17:51 -07:00
Kienz
516fa76b68 Fix jshint error 2013-09-18 08:23:36 +02:00
Juriy Zaytsev
d232a5c0a3 Merge pull request #854 from Kienz/patch-2
Doc additions - document object parameter
2013-09-17 17:00:45 -07:00
Kienz
721ac7a8c2 Doc additions - document object parameter 2013-09-17 22:42:58 +02:00
Stefan Kienzle
23a4685d22 Avoid unnecessary renderAll calls in mousedown and mouseup events.
Tested it with `canvas.selection = true/false`.
2013-09-17 18:45:54 +02:00
Kienz
ba2a0e6dff Fixed fabric.PatternBrush- brush style was not applied during the drawing mode 2013-09-16 19:05:23 +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
74a4654782 Update .sublime-project 2013-09-15 20:29:20 +02:00
Juriy Zaytsev
fefbc74695 Merge pull request #850 from Kienz/patch-1
Fixed `object.toDataURL` if object's originX/originY != 'center'
2013-09-15 09:08:49 -07:00
Kienz
e69c19029a Fixed object.toDataURL if object's originX/originY != 'center'
Add documentation to object.toDataURL for options object
Alias "jpg" format to "jpeg". Closes #806
2013-09-15 18:02:15 +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
7d56197f78 Few contribution tweaks 2013-09-14 18:39:10 +02:00
Juriy Zaytsev
651fe91f9a Merge pull request #848 from Kienz/patch-1
Move `setColor` from `fabric.Text` to `fabric.Object`
2013-09-14 08:47:55 -07:00
Kienz
26e784aede Move setColorfrom fabric.Text to fabric.Object
Fixed "enum" notation
`fabric.Object.setGradient` is now chainable
Doc additions
Add `fabric.Object.setPatternFill`unit test
Add chainable tests to some methods
2013-09-14 17:10:49 +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
eeb0f72bd4 Move fabric.Rect's stateProperties to prototype for more efficient memory usage 2013-09-14 13:54:18 +02:00
Juriy Zaytsev
145f93ad9f Merge pull request #847 from Kienz/patch-1
Add contributing guidelines
2013-09-14 04:41:48 -07:00
Kienz
9de84cb997 Add contributing guidelines 2013-09-14 13:32:44 +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
Juriy Zaytsev
3de36bd561 Merge pull request #844 from Kienz/patch-1
Some small changes in fabric.Observable
2013-09-13 07:34:25 -07:00
Stefan Kienzle
539afb8d97 Some small changes in fabric.Observable 2013-09-13 16:18:18 +02:00
Juriy Zaytsev
a7489774fd Merge pull request #840 from Kienz/patch-2
`fabric.Observable.on` and `fabric.Observable.off` can add/remove multiple handlers (object with key/value pairs). Closes #838
2013-09-12 14:49:31 -07:00
Juriy Zaytsev
1627e67b48 Merge pull request #839 from Kienz/patch-1
Add reviver function to `fabric.Canvas.loadFromJSON` (and loadFromDatalessJSON). Closes #722
2013-09-12 14:46:36 -07:00
Kienz
1e1adc7831 fabric.Observable.on and fabric.Observable.off can add/remove multiple handlers (object with key/value pairs)
Update jsdoc
Add unit tests
2013-09-12 20:43:31 +02:00
Kienz
9f6dea5d9e Add reviver function to fabric.Canvas.loadFromJSON (and loadFromDatalessJSON)
Add unit test
2013-09-12 20:10:23 +02:00
kangax
0522dedb7c Update changelog 2013-09-11 13:00:07 +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
Juriy Zaytsev
199691053b Update README.md 2013-09-08 09:16:56 +02:00
kangax
0fc54d4f7f Fix Point and Intersection docs. Build distribution. 2013-09-06 19:12:57 +02:00
Juriy Zaytsev
62740ff27b Merge pull request #828 from bernardofd/master
Replace the Streams interface with FS.readFile() in asset loading on Node.js
2013-09-06 10:04:55 -07:00
Bernardo F. Domingues
806a44e3c3 Renaming "url" to "path" for clarity reasons 2013-09-06 11:39:28 -03:00
Bernardo Figuerêdo Domingues
67d1a4732c Replacing Streams interface for FS.readFile to load assets in the Node.js module 2013-09-06 11:36:09 -03:00
Juriy Zaytsev
03a7326ef8 Merge pull request #827 from Kienz/patch-1
Rename `fabric.Shadow.getShadow` to `fabric.Shadow.toString`
2013-09-05 09:18:59 -07:00
Stefan Kienzle
d190c31e8b Renamed fabric.Shadow.getShadow to fabric.Shadow.toString 2013-09-05 18:09:34 +02:00
kangax
907710cfa1 Build distribution 2013-09-04 16:49:10 +02:00
kangax
fdb9208162 Add another back_incompat notice 2013-09-03 21:30:08 +02:00
kangax
e37e72a9ac Add back_incompat notice to changelog 2013-09-03 21:28:10 +02:00
Juriy Zaytsev
ed1c116793 Merge pull request #823 from Kienz/patch-1
[BACK_INCOMPAT] `fabric.Text.textShadow`was removed and `fabric.BaseBrush` shadow properties removed (new `fabric.BaseBrush.shadow`)
2013-09-03 12:27:13 -07: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
Juriy Zaytsev
89bf38c0c5 Merge pull request #824 from Kienz/patch-2
Performance optimization - removed senseless code
2013-09-03 11:52:11 -07:00