Commit graph

105 commits

Author SHA1 Message Date
Andrea Bogazzi
063592b8b5
built (#5003) 2018-05-29 10:57:16 +02:00
Asturur
e2754e828c fixed build.js 2018-03-12 07:09:11 +01:00
Andrea Bogazzi
e27296ca35
Moving AMD require on top, after NOT including common JS (#4797)
* fixed amd
2018-03-11 09:31:23 -04:00
Andrea Bogazzi
b7fabcbdd8
Testing lint as a separate stage (#4597)
* test steps
2018-01-02 07:51:51 +09:00
Andrea Bogazzi
7eea5228b9
removed specific node code (#4470)
* removed node code

* fixed UTs
2017-11-19 20:00:01 +01:00
Andrea Bogazzi
3b10702512 Normalize Api for getSelectionStyles, setSelectionStyles (#4202)
* reworked the text selection

* reorganized api

* missing file

* fixed lint

* more test
2017-08-15 10:10:01 +02:00
Andrea Bogazzi
b7d9047c9c Put window.fabric under a build flag (#4199)
* moved global in a module

* fix package.json
2017-08-14 13:42:17 +02:00
Andrea Bogazzi
59e615024c Hue filter (#4175)
* added hue rotation

* added hue rotation
2017-08-06 17:23:42 +02:00
Asturur
f86370582c changes to build file 2017-07-29 16:28:30 +02:00
Andrea Bogazzi
c9b562de9e Remove activeGroup functionalities from Group, create ActiveSelection class (#4076) 2017-07-22 11:37:17 +02:00
Scott Seaward
a06ea03451 Improve performance of copyGLTo2D in Firefox & potentially other browsers (#4086)
Why:

* When filtering with webgl copying data to 2d canvas from GL context dominates the filtering time
* Chrome is happy to copy data from GL with ctx.drawImage in sub-millisecond time
* Firefox performs drawImage much more slowly but can do putImageData fast instead
* Using putImageData results in ~ 2-3x speedup on Firefox 54 in the fabricjs.com filtering demo on my MacbookPro

This change addresses the need by:

* Adding a runtime check for which copy func is better performing
* Swapping drawImage for putImageData if that func is detected as being faster

Also submitted for review:

* Log minifier error output to console if build.js minifyCmd fails (helps identify syntax errors while using build:watch)
2017-07-12 22:28:40 +02:00
Andrea Bogazzi
6962f8e6f2 Add blendImage filter (#4071)
* start blend filter
* change some doc
2017-07-04 19:53:45 +02:00
ncou
9010b648c4 fix the missing 'mixin' in the named_accessors file name (#4066) 2017-07-03 17:37:51 +02:00
Andrea Bogazzi
d106051554 Remove accessors (#4065) 2017-07-03 17:02:44 +02:00
Andrea Bogazzi
7517b951ab Remove PathGroups for Groups. (#3969)
* removed pathGroups
2017-06-01 11:02:32 +02:00
Andrea Bogazzi
e96ccf9ea6 new filtering with webgl (#3915) 2017-05-29 18:28:24 +02:00
Andrea Bogazzi
b112b3405f text rewriting - reorganization (#3676)
*text refactored.
2017-04-22 09:15:38 +02:00
Andrea Bogazzi
214a169767 Removed es5 shim function and support for ie < 10 (#3722)
* removed es5 part
* removed json shim
* removed node 5
* removed node 5
2017-02-19 19:47:39 -05:00
Andrea Bogazzi
ab68d3a4ab Reuse come code between object and canvas (#3600)
* try to reuse code
* some fixes
* fixed errors

* Update util.js
2017-01-01 18:07:56 +01:00
Andrea Bogazzi
1b1441a792 change (#3489) 2016-12-03 23:01:49 +01:00
Andrea Bogazzi
4459ae4b81 Contrast & saturation (#3341)
* added filters

* tweak

* fixed docs
2016-10-15 12:02:40 +02:00
Andrea Bogazzi
08f60adbea switch to eslint (#3229)
* switch to eslint 2.x
* fix src
* fix tests
2016-09-10 15:14:23 +02:00
Simon Kunz
03d27681c3 Add Color Matrix filter class (#3139) 2016-08-03 07:26:30 -04:00
Jeff Shen
722b87e4c0 Change case type to match other comments
Changed line 289 to lowercase to match other comments
2016-01-21 16:05:17 -08:00
inssein
5824a48268 bringing over fixes from application textbox 2015-06-16 10:34:08 -07:00
inssein
489eb1bddf Textbox implementaion from Jaffer Haider, with one minor change in textbox_key_behavior 2015-05-27 15:30:40 -07:00
sapics
d4ce94df51 add uglify option [--compress --mangle] 2015-04-24 08:36:05 +09:00
sapics
563ec42196 fix space and linebreak 2015-04-20 09:51:32 +09:00
kangax
a51e110f9e Update build to exclude now-deprecated Cufon 2015-04-14 18:38:20 +02:00
boonkerz
60723bf5ae File is removed text.cufon is removed 2015-02-18 16:58:42 +01:00
Andrea Bogazzi
057d8e5bd9 Add resize filter functionality 2014-11-27 14:51:06 +01:00
Marc Galang
541393b991 Add blend filter. Implements several image blend modes (can add more later) 2014-07-30 10:14:02 +03:00
yuri
99a3a77267 Added Multiply filter 2014-05-12 00:39:02 +03:00
kangax
dbbd4b2fa7 all.js -> fabric.js. Closes #1049 2013-12-14 12:10:42 +01:00
Nicky Out
97482b586d build.js with argument 'dest' to specify a path other than 'dist/' - ; (2) 2013-12-13 11:36:18 +01:00
Nicky Out
b5c255f53d build.js with argument 'dest' to specify a path other than 'dist/' - ; 2013-12-13 11:11:28 +01:00
Nicky Out
a0edff98d9 build.js with argument 'dest' to specify a path other than 'dist/' 2013-12-12 15:43:13 +01:00
kangax
336528551b Move object stacking and SVG export methods to separate files 2013-11-20 21:14:26 +01:00
kangax
3509c08dd3 Move IText sag exporting logic to its own file 2013-11-19 17:24:24 +01:00
kangax
967d79fba3 Break up IText behavior into click and key 2013-11-19 12:56:23 +01:00
kangax
de7b92bda5 Some refactoring; move arc into a separate file 2013-11-16 15:20:41 +01:00
kangax
014109ced3 Move canvas grouping logic to separate mixin/file 2013-11-11 16:07:51 +01:00
kangax
987f165790 Remove duplication in log.js 2013-11-10 15:15:31 +01:00
kangax
6cb941c116 Extract elements parsing into a separate object (ElementsParser) 2013-11-04 17:12:05 +01:00
kangax
8ad5e7e511 IText doc fixes 2013-10-30 14:55:02 +01:00
kangax
733eccb00c Separate IText behavior into a separate "module" 2013-10-27 14:05:35 +01:00
kangax
4bc80ab816 Add "itext" to the build file 2013-10-25 10:31:13 +02:00
Kienz
2b51996242 Add sourcemap argument to build script (uglifyjs and google closure compiler are supported)
Update README
Update google closure compiler to support sourceMaps
2013-10-12 14:43:35 +02:00
kangax
f2ad6e5be6 [BACK_INCOMPAT] Move "backgroundColor" from fabric.Text to fabric.Object (only works with text for now). Remove fabric.Object#overlayFill. Remove fabric.Canvas.toGrayscale, fabric.Object#toGrayscale, and fabric.Object#overlayFill. Version 1.3.5 2013-09-28 23:47:53 +02:00
kangax
70213ea92f Tweak build.js; build distribution 2013-09-03 21:23:35 +02:00