Andrea Bogazzi
7a987faef2
changes ( #3717 )
2017-02-18 23:47:32 -05:00
Andrea Bogazzi
3c0fe81b77
be more strict on when not to re render ( #3594 )
...
* add more check to first return false
* fix ;
* fix ; in tests
* fix test
2016-12-28 13:22:23 +01:00
Andrea Bogazzi
49c7858596
changed to dataurl export ( #3314 )
...
* changed to dataurl
2016-10-02 19:37:20 +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
Andrea Bogazzi
bba8b3a705
bring callback toapplyfilters ( #3210 )
...
* bring callback toapplyfilters
2016-08-28 22:42:41 +02:00
Andrea Bogazzi
51995a73d8
fix perPixelTargetFind ( #3109 )
2016-07-16 17:25:34 +02:00
Juriy Zaytsev
ca50ab90a5
Merge pull request #2163 from kibao/fix/node-segmentation-fault
...
node.js segmentation fault when image couldn't be loaded
2015-05-13 11:47:06 -04:00
kibao
69d616ad23
Node.js Invoke loadImage callback if there is no data or a network error
2015-05-06 21:34:41 +02:00
Andrea Bogazzi
ed5b1b66b0
Fix image resize filter from object
2015-05-05 08:32:30 +02:00
kibao
7515fcedbe
Don't create image data Buffer when data is empty
...
Fix for segmentation fault when image couldn't be loaded
2015-04-30 19:51:47 +02:00
Justin Early
39e5f1210a
updating condition
...
Forgot to bring condition along
2015-01-19 13:39:44 -08:00
Justin Early
079248f47d
Support HTTPS with different ports not just 443
...
We would like to make this change to support HTTPS running on different ports other than 443 since user may have 443 used for something else on their machine.
Thanks,
Justin
2015-01-19 13:18:27 -08:00
kangax
32e8463479
Add requirement for space before function’s {
2014-09-22 20:40:39 +02:00
Bnaya Peretz
f7fa1a874a
tests
2014-07-31 18:19:19 +03:00
kangax
e77a810774
Few JSCS fixes
2014-07-26 21:29:09 +02:00
kangax
32368ecbad
Fix require typo
2014-02-18 14:53:59 -05:00
kangax
d2f6a9033e
Add JSCS validation & change bunch of things for conformance. Down to 333 failures from ~1000.
2014-02-16 16:36:14 -05:00
RG72
107dd5735f
Options for node-canvas
...
Allowing to write pdf via node-canvas
```var canvas = fabric.createCanvasForNode(200, 200,'pdf');
..
fs.writeFile('out.pdf', canvas.nodeCanvas.toBuffer());```
2014-02-09 12:42:15 +05:00
Bernardo Figuerêdo Domingues
522a4cc1d7
Fix request_fs returns raw buffer instead of string.
...
Since fs.readFile returns the raw buffer if no encoding is specified, the call to loadSVGFromString would fail. This PR fixes that, transforming the buffer into string (assuming 'utf-8') encoding. For other encodings, it may garble special characters.
2014-01-30 15:34:09 -02:00
anvaka
6486606670
createCanvasForNode passes options to FabricCanvas
...
Some options like renderOnAddRemove plays crucial role in canvas
performance. This change allows clients to use custom options for
node.js
2014-01-14 01:12:29 -08:00
kangax
854d428c38
Add more tests
2013-11-23 17:35:31 +01:00
Bernardo F. Domingues
806a44e3c3
Renaming "url" to "path" for clarity reasons
2013-09-06 11:39:28 -03:00
Bernardo Figuerêdo Domingues
67d1a4732c
Replacing Streams interface for FS.readFile to load assets in the Node.js module
2013-09-06 11:36:09 -03:00
Stefan Kienzle
55d5d99fdc
Fix loadFromJSON for image objects without image filters
2013-08-21 10:08:35 +02:00
kangax
bbe83dad0f
Support reviver in Node's version of loadSVGFromURL and loadSVGFromString
2013-08-06 16:12:00 +02:00
Cedric Wienold
5fc960aa56
Add support for Buffers to utils.loadImage
...
If the user has preloaded image data in a Buffer, allow that user to use
that data to load into a Fabric.js image.
This is possible because node-canvas supports setting 'src' to a Buffer.
2013-06-19 04:11:06 -07:00
tka
85f18e36f5
when use nodejs load remote image with fullpath
...
sometime use server generate image, and passing parameter in url
so when send request should use full path, not only pathname
2013-05-03 15:24:18 +08:00
kangax
c16dcf88a4
Change inline docs to conform to jsdoc3
2013-04-24 12:58:04 -04:00
kangax
c22d9f0c18
req_handler -> reqHandler
2013-04-04 14:05:24 +02:00
shilo
2c2206b951
rendering canvas on node.js - fixed issue with segfault occuring when downloading an image that comes from https (secure) url
2013-04-03 13:40:48 +03:00
kangax
81e8f9c2e2
Fix node-based url request
2013-03-24 00:05:13 +01:00
kangax
40490dc7f3
Add support for loading local files in fabric.loadSVGFromURL
2013-03-24 00:04:50 +01:00
root
b6a178d8a1
Fix backgroundColor render on nodejs
2013-03-09 00:34:54 +01:00
root
246c45d57c
Merge branch 'master' of github.com:xxorax/fabric.js
...
Conflicts:
src/node.js
2013-03-09 00:32:11 +01:00
Martin Panel
dfb1e2a230
Fix backgroundColor render on nodejs
2013-03-07 22:14:30 +01:00
Martin Panel
f84a8628c3
Fix backgroundColor render on nodejs
2013-03-07 22:11:30 +01:00
kangax
7d9c91de70
res -> response and remove unnecessary semicolon
2013-02-22 17:24:22 +01:00
Juriy Zaytsev
4651d6ecd9
Merge pull request #413 from uruz/feature/fix-failing-test
...
Fix failing test: fabric.util.loadImage
2013-02-22 08:22:09 -08:00
kangax
a77cbfe2be
Text fixes for node-canvas. Version 1.0.9
2013-02-15 14:11:58 +01:00
Alexey Boriskin
137aa0eaa5
Fixed failing test: fabric.util.loadImage
2013-02-05 20:51:01 +04:00
Cedric Wienold
958f37d8fb
Add createJPEGStream support for fabric canvas
...
Node Canvas already has support for createJPEGStream. Create a route to
take advantage of that through fabric.js canvas.
2013-01-17 12:48:41 -08:00
kangax
a870e11a57
Fix fabric.util.loadImage in node
2013-01-04 19:15:18 +01:00
kangax
c8172be31d
Final doc additions. Every public method is now documented!
2012-12-16 20:44:26 +01:00
kangax
2b33b7f570
Locking properties (lockMovementX, lockMovementY, lockRotation, etc.) are now respected in groups. Closes #152 .
2012-12-07 15:39:47 +01:00
TimNZ
a119d39e85
Set img._src on loadImage for data url
2012-12-04 17:28:01 +13:00
TimNZ
e9fe12a6d0
Allow loadImage to support data:image url
2012-12-04 17:21:08 +13:00
kangax
c105212c9c
Doc fixes. Version 0.9.26
2012-12-02 11:53:38 +01:00
kangax
f0b5329157
Doc additions, fixes.
2012-11-23 13:38:26 +01:00
kangax
84a956c4b6
Lint everything with JSHint. Version 0.9.14.
2012-10-14 02:53:12 +02:00
kangax
e85045d86a
Rename fabric_node.js to node.js
2012-07-31 20:50:06 +02:00