Andrea Bogazzi
e27296ca35
Moving AMD require on top, after NOT including common JS ( #4797 )
...
* fixed amd
2018-03-11 09:31:23 -04:00
Asturur
b7dc7e1682
reenbaled tests
2018-03-06 14:02:59 +01:00
Andrea Bogazzi
a7f62f564d
packaged 2.2.0 ( #4785 )
2018-03-06 14:00:53 +01:00
Andrea Bogazzi
abbeb91763
Changed params for setSuperScript, setSubScript ( #4780 )
...
* changed params
* fixed toSVG export
2018-03-06 12:36:52 +01:00
scriptspry
38f2d5cd99
Fixed incorrect Object.isOnScreen functionality. ( #4763 )
...
* Added missing calculate parameter in Object.isOnScreen.
* Update object_geometry.js
2018-03-01 01:44:43 +01:00
Andrea Bogazzi
8235c1aea5
fix ( #4774 )
2018-03-01 01:37:36 +01:00
Andrea Bogazzi
d0a4ecba21
try remove the ie11 fix ( #4772 )
2018-03-01 01:21:34 +01:00
Andrea Bogazzi
aa9b8a6b33
Add BaselineShift property to fabricJS ( #4765 )
...
* 'deltaY', superscript, subscript etc. (#4177 )
2018-03-01 01:07:15 +01:00
Andrea Bogazzi
bc61425c1f
Version 210 ( #4764 )
...
* Version 2.1.0
* built
* remove window.fabric
* rebuilt
2018-02-26 11:25:53 +01:00
Andrea Bogazzi
1c10b8c1e3
events drag ( #4421 )
...
added drag and drop events
2018-02-24 22:19:58 +01:00
Andrea Bogazzi
e70e65fe92
isEmptyStyles for textbox ( #4762 )
...
* isEMptyStyles for textbox
* added tests
* added missing file
2018-02-24 18:45:23 +01:00
Stefan Hayden
71b28012fc
cleanup function to be more readable ( #4756 )
...
* cleanup function to be more readable
* update style variable to be more descriptive and use the styleObject reference in one more place
2018-02-21 18:03:11 +01:00
Andrea Bogazzi
dfb5cb7a79
version bump 2.0.3 ( #4754 )
...
* version bump
* fixed changelog
2018-02-21 12:26:07 +01:00
Andrea Bogazzi
3a92eb92ae
test ( #4753 )
2018-02-21 12:02:49 +01:00
yao
f855bbcbf3
add drawDot func to pencilbrush ( #4743 )
2018-02-21 11:20:43 +01:00
Stefan Hayden
d1e5337c2d
ensure canBeSwapped can only be true when a style prop has actually been set to a value ( #4751 )
2018-02-20 21:53:54 +01:00
scriptspry
d569407d3a
Fixes StaticCanvas.onBeforeScaleRotate not triggering when canvas is zoomed ( #4748 )
...
* Fixed StaticCanvas.onBeforeScaleRotate not getting triggered when canvas is zoomed.
* Added test for Canvas._beforeTransform.
2018-02-20 20:41:42 +01:00
Andrea Bogazzi
7a7b46a1d2
v202 ( #4741 )
2018-02-18 23:53:47 +01:00
Andrea Bogazzi
b47815e411
added image crop ToSVG support ( #4738 )
...
* added svg crop support
2018-02-18 23:50:08 +01:00
Andrea Bogazzi
2e532cc362
Limit sin and cosin very small floats on 90/270 degrees ( #4734 )
...
* so far ok
* fix transformations decimal
* remove some changes
* less changes
* test passing
* less calculation
* added shortcut
* modified tests
2018-02-18 15:56:27 +01:00
Dennis Keck
687cd7b495
Update brightness_filter documentation ( #4727 )
...
The value range for brightness changed to floating point range [-1.0,1.0]
2018-02-18 09:45:46 +01:00
Andrea Bogazzi
75a71e3b51
Version 2.0.1 ( #4707 )
...
* removed gz and require
* added changelog and changes
2018-02-10 13:39:46 +01:00
Andrea Bogazzi
75ba9e1ac8
fixed filter ( #4706 )
2018-02-10 13:14:26 +01:00
Andrea Bogazzi
361db0b8a2
added test for dataUrl ( #4705 )
2018-02-10 13:12:00 +01:00
Andrea Bogazzi
d8dab88a46
Fix originX and originY missing in the matrix cacheKey ( #4703 )
...
* added test
* fixed the typo
2018-02-10 12:16:09 +01:00
JC
a14b9722ba
#4693 : multiplier in toDataURL is not working ( #4698 )
2018-02-10 11:43:40 +01:00
Stefan Hayden
e13bc33c63
do not mutate passed object to fromObject ( #4699 )
...
* do not mutate passed object to fromObject
* add a test
* this is what you get for editing in github.com
2018-02-10 00:46:28 +01:00
Andrea Bogazzi
58f2488fc7
changes ( #4676 )
2018-02-05 00:05:12 +01:00
Andrea Bogazzi
dea22aca70
Fixes ( #4674 )
...
* default no retina for dataurl
* make num_fraction_digits variable
* restored aborted changes
* mispelled param
* added test for SVG
* added test for toDataUrl
* how it could even run
* simpler test
* i hope they will pass now
* fed up
* completely cheating
* fallback on dumb test
* test also this
* test also this
* more tests
2018-02-04 22:42:32 +01:00
Andrea Bogazzi
6d0ad48224
safeguard canvas ( #4650 )
2018-01-28 12:51:51 +01:00
Andrea Bogazzi
2f19c8c7e8
fix calcOffset when text enter editing ( #4649 )
2018-01-26 22:49:39 +01:00
Andrea Bogazzi
4f446020ba
added a simple test ( #4647 )
2018-01-26 11:12:27 +01:00
Andrea Bogazzi
43ebcd8278
Gradient fix parsing floats ( #4637 )
...
* fixed gradient parsing and circle width/height leak
* added a small test
* fix lint
* test re enabled
* fixed tests
2018-01-20 01:09:47 +01:00
jrking4
f5ee274052
Update use of getBoundingRect in Guides Example ( #4631 )
...
* Update use of getBoundingRect in Guides Example
Aligning Guidelines Example broken. Update to use getBoundingRect() function
* Ensure getBoundingRect is called only once
2018-01-18 15:40:00 +01:00
Andrea Bogazzi
6309387665
Add CrossOrigin managment to fabric.Pattern ( #4618 )
...
* added crossOrigin
* adding tests
* added some basic test
2018-01-18 08:39:02 +09:00
DangerD256
8792d83679
Add patternTransform toObject saving ( #4626 )
...
* Add patternTransform toObject saving
* Update pattern.class.js
2018-01-17 20:46:59 +09:00
Andrea Bogazzi
0a7aba74ee
GIving brushes a _render method ( #4613 )
...
* solves error
* rerender just if there is an activeObject
2018-01-12 07:30:53 +09:00
Andrea Bogazzi
015421b6f7
Testing docker with travis ( #4601 )
...
* sudo required away
2018-01-02 23:53:25 +09:00
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