Commit graph

3676 commits

Author SHA1 Message Date
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
Andrea Bogazzi
c41ef91fca Image meet or slice with cropX and cropY value (#4055)
* working example
* fixed tests
2017-07-03 12:20:10 +02:00
Andrea Bogazzi
192672abb0 add event to object modified (#4061) 2017-07-03 12:18:04 +02:00
Andrea Bogazzi
5e7e665eb8 made keymap public (#4053)
* made keymap public
* better docs
2017-07-01 16:25:10 +02:00
Andrea Bogazzi
f6a7c298b9 Textbox can scale as a normal object. (#4052)
* enabletextbox-scaling
2017-07-01 16:03:51 +02:00
Andrea Bogazzi
98ed4cc351 Fix a bug in recent caching changes (#4051)
* small fix
* fixed and added tests
* comeon andrea wake up
2017-07-01 14:33:47 +02:00
ncou
4a8df81c4b fixed typo (ingoreVpt to ignoreVpt) (#4048) 2017-06-30 16:11:13 +02:00
Andrea Bogazzi
ede5d8476c Increase cache canvas in steps, do not increase every mouse move (#4037)
* first try

* step increase size of canvas

* removed console.log
git push
2017-06-27 08:43:55 +02:00
Andrea Bogazzi
6185b07408 Limit cache size to upper and lower limit (#4035)
* just name change

* help

* test difference

* ok better limiting

* fix lint
2017-06-25 14:50:28 +02:00
Andrea Bogazzi
46af53a95b Name change of some caching method (#4034)
* just name change
* fixed test
2017-06-25 12:52:59 +02:00
Andrea Bogazzi
7a88afb2d3 Fix some caching in group issues related to deep checks (#4032)
* backport
* better fix
2017-06-24 23:10:55 +02:00
Andrea Bogazzi
efc2a216c7 fix noise (#4031) 2017-06-23 21:12:57 +02:00
Andrea Bogazzi
f99b0d78f3 fixed the glShaders (#4023) 2017-06-20 23:36:26 +02:00
Roger Beaman
5de811f098 adding-data-attribute-for-hidden-textarea (#4022) 2017-06-20 18:47:11 +02:00
Andrea Bogazzi
da9161e48f Minimize delay between clear and re render. (#4007)
* moved clear later

* moved clear later
2017-06-14 22:22:23 +02:00
Stefan Hayden
3cee915a6b return all svg elements as a 4th function param when loading an svg (#4002) 2017-06-14 21:53:11 +02:00
nickvans
8cc52e0966 Update rgba regex to account for alpha (#4006)
* Update rgba regex to account for alpha

Previous regex would fail for an rgba string with a non integer alpha value. "rgba(255, 128, 64, .5)"

* Create color.js

* Create color.js
2017-06-14 21:50:27 +02:00
Stefan Hayden
a1ccf7155b path is the only object that inherits from Object but does not call super. it should also call super for consistancey and to allow overriding of the object initialize prototype (#4005) 2017-06-14 18:31:42 +02:00
Andrea Bogazzi
5773b5495a Create README.md 2017-06-12 11:20:04 +02:00
Andrea Bogazzi
553669c938 Extend test coverage (#3999)
* extended test coverage
* new file
* fixed lint
2017-06-12 11:13:55 +02:00
Andrea Bogazzi
57cc67300f add dblclick event support (#3998)
* added double click

* added double click
2017-06-12 00:03:35 +02:00
Andrea Bogazzi
5f57659149 Enable request animationFrame for mouse interaction (#3997)
* switch to request animation frame

* added request animation frame

* fix
2017-06-11 23:16:46 +02:00