Commit graph

3697 commits

Author SHA1 Message Date
Andrea Bogazzi
1c0c12fe8a fix-text-pattern (#4194) 2017-08-13 23:05:40 +02:00
Andrea Bogazzi
03efa1801a Fixed style removal for wrapped textbox (#4193)
* fixed style backspace
* use numeric value to compare
2017-08-13 21:39:45 +02:00
Andrea Bogazzi
ffd2d3254c Fix block style insertion (#4192)
* fix style nsertion

* fixed tests from older changes

* fixed tests from older changes
2017-08-13 20:49:39 +02:00
Asturur
836bf158b9 setAngle => rotate 2017-08-12 13:48:01 +02:00
Asturur
1fd1ba3b55 fix typo in isRendering 2017-08-10 00:12:34 +02:00
Andrea Bogazzi
39321c7b34 Fix text copy paste when there is no style (#4185)
* fix

* removed dist build
2017-08-09 23:17:07 +02:00
Nick Swider
da27ef57c4 Add chaining to iText selection methods (#4178) 2017-08-09 09:05:40 +02:00
Andrea Bogazzi
ddb9896455 fix opacity (#4176) 2017-08-06 17:56:45 +02:00
Andrea Bogazzi
59e615024c Hue filter (#4175)
* added hue rotation

* added hue rotation
2017-08-06 17:23:42 +02:00
Andrea Bogazzi
b5323bd83e make function just create canvas (#4172)
* make function just create canvas
* added tests
* added tests
2017-08-05 21:32:03 +02:00
Andrea Bogazzi
5a791a8291 fixed origins (#4170)
* fixed origins

* fixed origins
2017-08-04 11:20:50 +02:00
Asturur
0e4e13b644 updated to beta5 2017-08-04 08:50:46 +02:00
Asturur
acd941925a fix typo in shaders 2017-08-04 08:47:27 +02:00
Andrea Bogazzi
eec7981eec added onSelect (#4168) 2017-08-04 08:45:32 +02:00
Andrea Bogazzi
e0546b0105 Fix bugs with new activeSelection (#4167)
* test

* fixes
2017-08-04 00:11:00 +02:00
Andrea Bogazzi
068c815340 Fix text insert on null, give default style to text (#4166)
* text style error
* change text init
* fixes
2017-08-03 23:23:42 +02:00
Andrea Bogazzi
c705c6b4d8 Fix custom build (#4165)
* Update misc.js
* move the line in correct place
2017-08-03 22:14:17 +02:00
Asturur
f86370582c changes to build file 2017-07-29 16:28:30 +02:00
Andrea Bogazzi
7b50999f83 Fixes some beta issues (#4148)
* fixed the image.toSVG
* fixed the image.toSVG
* fixes
2017-07-29 14:09:31 +02:00
neopheus
3b06e685ef Some modifications (#4137)
* unnecessary semicolon
* comment error
* expression simplified
* simply function
* jsdoc update
2017-07-29 11:41:32 +02:00
neopheus
1ab140c830 centerPont => centerPoint (#4132) 2017-07-24 11:30:09 +02:00
neopheus
4df632b93f Update comments (#4128)
* Update Doc

* Update Doc - 2
2017-07-24 11:29:46 +02:00
neopheus
9965002e9f Add Color CSS3 (#4130)
* Update Color names CSS3 - https://www.w3.org/TR/css3-color/#svg-color

* reformat code

* reformat code - update
2017-07-24 11:28:57 +02:00
neopheus
f8fc1f96db Update Changelog (#4127) 2017-07-24 11:28:18 +02:00
Andrea Bogazzi
e6cb1369da build beta4 (#4123) 2017-07-22 23:15:36 +02:00
Andres
096a5d3214 Fixed typo in createImageData (#4121) 2017-07-22 20:56:19 +02:00
Andrea Bogazzi
351e7dfa47 Multiple fixes (#4119)
* multiple fixes
* updated tests
2017-07-22 16:34:47 +02:00
Andrea Bogazzi
ae778e6887 test group (#4118) 2017-07-22 11:43:10 +02:00
Andrea Bogazzi
c9b562de9e Remove activeGroup functionalities from Group, create ActiveSelection class (#4076) 2017-07-22 11:37:17 +02:00
Stefan Hayden
91376732ac bugfix for group.fromObject (#4111) 2017-07-22 01:23:28 +02:00
Brandon Kelly
0d1019f978 Fixed "install Cairo" link (#4114)
GitHub wasn't parsing that paragraph for Markdown links, since there were no blank lines between it and the previous <h3>.
2017-07-20 23:21:26 +02:00
Andrea Bogazzi
5367cfa8e3 Add tests for sourcePath changes (#4108)
* modified path
* added tests
2017-07-18 08:38:19 +02:00
Justin Parker
6702fe6dc6 Use generic setter for sourcePath (#4093) 2017-07-15 13:37:36 +02:00
Asturur
f331f6ead5 added missing newline 2017-07-15 13:35:23 +02:00
0s1r1s
b06d4ed785 Add missing double quotes (#4096)
The 'width' attribute didn't close inside toSvg function
2017-07-15 13:34:14 +02:00
Andrea Bogazzi
392e21312b introduce break test (#4102) 2017-07-15 13:21:59 +02:00
Andrea Bogazzi
9e076bdcca small test to ensure getFontCache works with numbers (#4101)
* small test
* ok
2017-07-15 13:07:58 +02:00
Justin Parker
0547bdf656 Font cache: no lower case of fontWeight (#4097)
* Font cache: no lower case of fontWeight
2017-07-15 12:29:20 +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
fd0665b434 Update canvas.class.js 2017-07-07 15:29:13 +02:00
Andrea Bogazzi
586e61dd28 Move all automatic renderAll to requestRenderAll (#4072)
* move to requestRenderAll
2017-07-04 23:13:10 +02:00
Andrea Bogazzi
6962f8e6f2 Add blendImage filter (#4071)
* start blend filter
* change some doc
2017-07-04 19:53:45 +02:00
Asturur
ea135812b1 packaged beta 3 2017-07-04 00:51:46 +02:00
Andrea Bogazzi
e93f6f4ffc change animation (#4068)
* change animation
* added params to object.animate
2017-07-04 00:28:49 +02:00
Andrea Bogazzi
240a1e4d3c Fix cursors (#4067)
* test1
* fixed cursor
2017-07-04 00:26:00 +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
03e504303c Cursors not allowed (#4064)
* what so far
* not-allowed cursor
2017-07-03 15:10:49 +02:00
Andrea Bogazzi
b841be66de Remove delegated properties from groups (#4062)
* changed code
* added small test
* first step to group simplification
* first step to group simplification
* removed test
2017-07-03 13:44:48 +02:00
Andrea Bogazzi
4c2e83d089 add cleanStyle, removeStyle (#4060)
* add cleanStyle, removeStyle
* added semi colons
2017-07-03 12:20:27 +02:00