Commit graph

3812 commits

Author SHA1 Message Date
Andrea Bogazzi
b7fabcbdd8
Testing lint as a separate stage (#4597)
* test steps
2018-01-02 07:51:51 +09:00
Jeremy Shipman
0c936ed6bc Fix testem runner, and further improvements (#4593)
* Switched qunit dependency to npm

* Fixed testem not working

* Switched test.js build to use node-qunit.
As stated in the QUnit docs: The qunit package prior to 2.4.1 is an alternative CLI that is now published as node-qunit.

* Introduced qunit 2.4.1, with an npm script for running node tests

* Switched testem page fixture to use qunit package instead of qunitjs

* Configured testem to run in headless mode, and use new npm node test script for "Node" launcher configuration.
This means that individual tests will show up in testem output via the the `tap` test protocol.

* Made canvas_static 'toDataURL cropping' test asynchronous.

* Configured QUnit testTimeout and enabled 'noglobals' config

* Updated .travis.yml config to do cross-browser/env testing via Testem

* Specify qunit binary directly to fix confict with binary from node-qunit

* Avoid test hanging by aborting the animated cursor

* Firefox test fix, and enabled in Testem config
2017-12-31 09:51:07 +01:00
Jeremy Shipman
8bfc02dcfd Introduced .npmrc file to prevent package-lock files being created (#4595) 2017-12-31 09:30:20 +01:00
Andrea Bogazzi
df48f43f14
avoid charspacing shortcut (#4594) 2017-12-30 11:57:38 +01:00
Justin Parker
4846789bf0 Fix color toHexa() (#4579)
* Failing Color.toHexa() test

* fix color toHexa() to not give decimals

* fix hexa test due to rounding
2017-12-27 10:05:40 +01:00
Asturur
e5f28c1915 update to rc4 2017-12-23 12:48:29 +01:00
Jérôme Steunou
59ea40cde4 Ignore jsdom utils for browsers build (#4576) 2017-12-20 18:37:52 +01:00
Andrea Bogazzi
69439efe92
minor changes to event (#4561) 2017-12-14 21:42:13 +01:00
Andrea Bogazzi
38fcf8e274
Fix the wrapper (#4554) 2017-12-13 00:08:57 +01:00
Asturur
2a7e6919f8 corrected some jsdocs 2017-12-11 10:52:44 +01:00
Asturur
dbf307c5eb reenable all tests 2017-12-10 21:14:52 +01:00
Andrea Bogazzi
fb13ed0bdf
Insert a method to insert text programmatically (#4551)
* sofar

* test
2017-12-10 21:13:38 +01:00
Andrea Bogazzi
d9fc639002
Add back font method (#4550)
* a test

* commited

* restored
2017-12-10 11:28:14 +01:00
laof
168ce21794 Deleting a disagreeable line; (#4549)
Extra closepath on control drawing
2017-12-10 09:15:01 +01:00
Andrea Bogazzi
036e1a71ee
Remove extra code from Circle/Triangle (#4547)
* removed code

* removed code

* removed code
2017-12-09 11:32:26 +01:00
Sean Hussey
09beb5b209 Keeping styling of "GitHub" consistent (#4533) 2017-12-04 19:18:59 +01:00
Andrea Bogazzi
891a8e096e
handle top canvas in resize/renderAll (#4527)
* handle top canvas in resize/renderAll

* fix brush
2017-12-03 17:15:46 +01:00
Andrea Bogazzi
587d0657d6
fixed wrapped lines (#4526) 2017-12-02 21:18:41 +01:00
Asturur
d276707e2d add strokewdith to cachekey 2017-12-02 11:29:15 +01:00
Andrea Bogazzi
c96bb92705
Reinsert text shortcut for some cases (#4519)
* test

* use simple text line not grapheme
2017-12-02 11:24:03 +01:00
Andrea Bogazzi
88a2c7c64a
remove extra tab and newlines (#4524) 2017-12-02 11:11:11 +01:00
Andrea Bogazzi
1d57f499c6
sovled small things (#4518) 2017-11-30 11:34:18 +01:00
Jérôme Steunou
7b64898d72 Add an option to selection objects only when 100% intersect (#4508)
* Add an option to selection objects only when 100% intersect

* Better description

* Cache property negation

* Add unit tests

* Remove boundary tests, not specific to this option
2017-11-29 12:40:17 +01:00
Andrea Bogazzi
0496c0d120
update to rc3 (#4499) 2017-11-25 16:43:39 +01:00
Andrea Bogazzi
236124859c
Updated to rc2 (#4498)
* update to rc2

* updated build
2017-11-24 19:35:20 +01:00
Andrea Bogazzi
71b36f6228
Node canvas (#4497)
* readded

* paused

* test

* try jsdom

* restore node methods

* restored

* restored

* fix tests
2017-11-24 19:00:47 +01:00
Andrea Bogazzi
a9eacc4d74
Remove chars from to (#4495)
* trying to fix

* make removeChars

* fixed doc

* added test
2017-11-24 17:26:38 +01:00
Asturur
0730e9cda2 fix typo on hovercursor 2017-11-24 12:00:01 +01:00
Andrea Bogazzi
fd14303dae
Fix drawing of a point (#4492)
* initialize at 1

* added tests

* added test file
2017-11-24 11:36:36 +01:00
Andrea Bogazzi
a9d2fb1ba5
Fix scaling issues that involves width/height (#4491)
* fixed
* added a small test
* typo
2017-11-23 18:04:54 +01:00
Jérôme Steunou
91de6d078d Remove push on shared array (#4478)
follow up for #4465
2017-11-20 13:16:18 +01:00
Asturur
9028ccf909 fix browser element mockup 2017-11-20 09:57:05 +01:00
Andrea Bogazzi
9d552db836
Update to 2.0 rc1 (#4472)
* rc1

* removed beta from issue template
2017-11-19 23:55:41 +01:00
Andrea Bogazzi
031531b218
Reduce leaks in NODEJS continue canvas creations (#4471)
* reduce leaks in node

* fix test
2017-11-19 23:41:42 +01:00
Andrea Bogazzi
7eea5228b9
removed specific node code (#4470)
* removed node code

* fixed UTs
2017-11-19 20:00:01 +01:00
Andrea Bogazzi
841e77ebb9
re enable resize filter (#4469) 2017-11-19 16:30:06 +01:00
Andrea Bogazzi
57c5d5150c
removed extra padding (#4467) 2017-11-18 16:59:10 +01:00
Andrea Bogazzi
0df3f55dc3
removed this.ctx (#4466) 2017-11-17 23:54:15 +01:00
Andrea Bogazzi
c975247db8
removed array reference for _dimensionsAffectingProps (#4465)
* removed array reference

* better to concat

* better visibility
2017-11-17 19:45:48 +01:00
Andrea Bogazzi
10a8684192
Proposal for different lineJustify. (#4437)
* not even tested

* Small fixes (#4441)

* fixed selection

* fixed svg export
2017-11-12 23:00:59 +01:00
Andrea Bogazzi
51a9e87854
fixed group restoring internal absolute coords for subtarget check (#4454)
* fixed group restoring internal cords

* added small test
2017-11-12 15:54:33 +01:00
Andrea Bogazzi
d65b5dd5a1
removed with dims (#4453) 2017-11-12 15:18:28 +01:00
Andrea Bogazzi
61c415be26
Partially solve cache fuzzyness (#4452)
* made less funzzy

* solved lint

* cleaned a bit

* fixed tests
2017-11-12 14:59:36 +01:00
Andrea Bogazzi
2dbce1d71a
add Node9 to tests 2017-11-12 01:31:25 +01:00
Andrea Bogazzi
a2f9c9f205
Fix image import from SVG when width/height are larger than element (#4450)
* fixed

* removed extra function;

* fix import of preserver

* added tests

* fixed test names
2017-11-12 01:30:22 +01:00
Andrea Bogazzi
ece82e6b94
stop searching target on mousemove on transform (#4442) 2017-11-08 21:00:56 +01:00
Andrea Bogazzi
ef85ed7eef
Ab webgl filter for resize (#4426)
* test another version

* a working webgl resize

* broke blur"

* broke blur"

* a working webgl resize

* better cache shader

* no dist

* better

* better2

* fixed tests

* linting
2017-11-04 11:57:05 +01:00
Sander Sink
1435e862d5 Downgrading webGL precision if target hardware does not support highest (#4433)
* Downgrading webGL precision if target hardware does not support highest

* moved webGlPrecision to fabric property
2017-10-31 21:48:51 +01:00
Andrea Bogazzi
9bf3fdfd90
Update package.json 2017-10-31 13:05:10 +01:00
Andrea Bogazzi
1db3d93a2d
Update package.json 2017-10-31 13:04:54 +01:00