Commit graph

54 commits

Author SHA1 Message Date
kangax
9e2c9cc2fd Better build script 2013-08-23 11:12:00 +02:00
Stefan Kienzle
ad3b97225f Update build script - add image mask filter 2013-08-15 16:09:16 +02:00
Stefan Kienzle
e151d297fc Add filter root class fabric.Image.filters.BaseFilter from which all filter classes inherit from 2013-08-13 14:06:33 +02:00
Stefan Kienzle
6599d393ac Fix fabric.Image.setElement - now _element and _originalElement (until now _originalImage) are set. Closes #745
Add additional parameter callback (invoked after filters habe been applied).
Fix `fabric.Image.fromObject` - don't overwrite image width/height with object width/height.
`fabric.Image.applyFilters` only resets _originalElement - fixes issue if object's width/height are different to _originaElement's width/height
[BACK_INCOMPAT] Renamed `fabric.Image.filters` method `toJSON` -> `toObject`
Fix serializiation of fabric.Image filter objects
2013-08-09 14:18:27 +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
65d54581b4 Make gradient, pattern, shadow optional modules 2013-07-04 14:18:30 +02:00
Daniel Beardsley
c99d5aeae5 Build: Let the user know about minification errors
And exit(1).
2013-06-19 02:57:35 -07:00
kangax
eae7f1335c Make gradient module optional 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
5d61456c8d Fix build.js 2013-05-31 12:46:46 +02:00
kangax
b3f76c7e09 Fix build.js 2013-05-30 22:09:55 +02:00
kangax
77013208de Fix build.js, build distribution 2013-05-30 21:59:58 +02:00
kangax
2223b1b61f Remove more functions in distribution when SVG import (parser) is not included. Always include stateful mixin. Closes #662 2013-05-30 21:55:26 +02:00
kangax
8f59af2e5e Add infrastructure for building module combination files 2013-05-29 01:05:58 +02:00
Wouter Commandeur
d06b6e130e Split image filters into separate files 2013-05-26 15:42:29 +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
6f306a6436 Add no-es5-compat option during build. Add option to include/exclude stateful module during build. 2013-05-14 12:34:45 -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
775df6e836 Move state-related methods to stateful mixin 2013-05-01 09:29:57 -04: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
b55c35f865 Merge master 2013-02-06 23:28:17 +01:00
kangax
ed0716718a Fix build minification. Closes #417 2013-02-06 20:42:39 +01:00
kangax
5ee9b13a92 Add support for shadows (via fabric.Shadow) 2013-02-04 20:49:05 +01:00
kangax
6777c50012 Add support for patterns 2013-02-03 02:15:29 +01:00
kangax
c2c1324a37 Remove old yui compressor file 2013-01-21 21:14:57 +01:00
kangax
6da2ed6d65 More canvas refactoring 2013-01-20 20:40:26 +01:00
kangax
70119f7095 Refactor some logic from canvas and object classes into mixins 2013-01-20 20:40:26 +01:00
kangax
8a74303443 Refactor brushes 2013-01-20 17:28:06 +01:00
kangax
21ee892c28 Merge master 2013-01-15 00:06:54 +01:00
kangax
d6307d1aeb Add circle brush 2013-01-11 19:38:22 +01:00
kangax
1f206d039e Move gesture-based logic into a separate module 2013-01-10 18:23:23 +01:00
kangax
7be14a6a70 First implementation of brushes 2013-01-10 14:27:13 +01:00
coulix
16422bed01 Refactoring 2012-11-30 18:42:02 +01:00
coulix
61db93d5ec Smooth live free drawing on contextTop canvas 2012-11-28 11:55:30 +01:00
kangax
79f1b47063 Add uglifyjs as dev dependency. Fix compressing script. 2012-10-17 11:19:41 +02:00
kangax
ed0c958b13 Make uglifyjs default compressor. 2012-10-17 11:03:17 +02:00
kangax
9594ba330f gradient.js --> gradient.class.js 2012-08-20 18:23:53 +02:00
kangax
e85045d86a Rename fabric_node.js to node.js 2012-07-31 20:50:06 +02:00
kangax
af7679cee1 Implement most of the remaining text rendering functionality when using native methods. This includes background, text decoration (underline/strike-through/overline), multiline text support, text alignment (left/center/right) in multiline text, text shadow, line height. SVG export is still partially broken when using native rendering methods. 2012-07-24 11:21:32 +02:00
kangax
92a8a3d34c Add support for specifying which modules to exclude during build.
For example:

`node build.js modules=ALL exclude=easing`

or:

`node build.js modules=serialization,easing exclude=image_filters,text`

Add support for stripping "use strict" directives during build (for compatibility with Rails 3).
2012-07-19 13:34:32 +02:00
kangax
5967f4557d Show modules included in a build when creating distribution file. 2012-06-24 11:51:01 +02:00
kangax
1204b14e3c Remove extraneous easing module include. 2012-05-30 11:59:46 +04:00
kangax
76495a3874 Remove garbage from build.js. Build distribution. 2012-05-13 18:47:45 +04:00
Juriy Zaytsev
351ec5d48f Merge pull request #155 from balthazar/master
Add easing functions.
2012-05-13 07:43:06 -07:00
kangax
cba1d4ca21 [BACK_INCOMPAT] Move object straightening methods into its own, optional module (fabric.Object#straighten, fabric.Object.fxStraighten, fabric.Canvas#straightenObject). 2012-05-11 15:31:30 +04:00
Balthazar Auger
d3abeeb957 Merge branch 'master' of github.com:balthazar/fabric.js
Conflicts:
	build.js
2012-04-26 00:07:52 -03:00
Balthazar Auger
d150bc8a26 Make easing functions optional in build script 2012-04-25 23:58:03 -03:00
Balthazar Auger
383665d236 Debug and test remaining equations. 2012-04-24 17:35:53 -03:00
Balthazar Auger
b2853e8717 Study how to insert easing functions 2012-04-24 00:27:18 -03:00