Rod Vagg
2354d9bb8c
0.11.4+ compatibility using NAN
See https://github.com/rvagg/nan
12 years ago
Infinite Whiteboard
13b8f41141
Added backwards compatibility through conditional compilation.
12 years ago
Infinite Whiteboard
14a19421d2
Patch for Node 0.11.3
12 years ago
Nathan Rajlich
8a5349e525
explicitly cast the after work callback function to "uv_after_work_cb"
for node >= v0.9.4 compat
12 years ago
Chris Spencer
cfc6dfd714
Call cairo_surface_finish in ~Canvas when pdf
Fixes an issue where when a pdf surface isn't buffered and then is
garbage collected, the toBuffer can be called and attempt to realloc
the destroyed closure.
12 years ago
Nathan Rajlich
cdb2421812
build: begin making gyp file work on unix
13 years ago
TJ Holowaychuk
3ebc55a5e6
Fixed: free closure and surface in ~Canvas
13 years ago
TJ Holowaychuk
03d1cacf9c
Added `Canvas#type` getter
13 years ago
TJ Holowaychuk
a063907832
Added quick PDF support
need to clean things up, add async support, test images etc. I believe
some guys forked node-canvas to add some kind of image caching
for when an image appears several times within a PDF document, though
that may be out of scope
13 years ago
Philippe Plantier
550011e25e
Use libuv instead of EIO so that it builds on node.js >= 0.7.0
13 years ago
Tj Holowaychuk
a4ed9c5edd
tweak styling
13 years ago
Tj Holowaychuk
a50ffa1f27
wrap with HAVE_JPEG
13 years ago
Elijah Hamovitz
be9b2ee411
removed errant TODOs, reconsidered error handling
13 years ago
Elijah Hamovitz
b644873eab
added support for writing JPEGs
13 years ago
Nathan Rajlich
de520fcece
Try to detect when EIO_custom changed it's signature.
Should also be a part of #115 and #120 .
13 years ago
Tj Holowaychuk
15c558bdeb
Revert "Fix compilation on MacOSX gcc 4.2.1 environment."
This reverts commit 5c5db2972f
.
14 years ago
Syoyo Fujita
5c5db2972f
Fix compilation on MacOSX gcc 4.2.1 environment.
14 years ago
Tj Holowaychuk
1f5350ad69
ws
14 years ago
Tj Holowaychuk
bcc1b0c360
no need for ->handle_ here
14 years ago
Tj Holowaychuk
98c42b0a95
misc refactoring
14 years ago
Tj Holowaychuk
561938a6df
removed V8::AdjustAmountOfExternalAllocatedMemory() call from toBuffer()
our end result is a Buffer, which invokes this itself so we shouldnt need this
14 years ago
atomizer
6f08e9e6c8
proper memory adjust when resizing
14 years ago
atomizer
00120a885b
make v8 more aware of memory allocations
14 years ago
Tj Holowaychuk
b86c3cd321
move closure.h down. Closes #80
14 years ago
Tj Holowaychuk
2663ce0b74
refactored toBuffer()
14 years ago
Tj Holowaychuk
4981111190
added closure_init()
14 years ago
Tj Holowaychuk
3a74a43351
revert toBuffer() changes
14 years ago
Tj Holowaychuk
05708b7657
HandleScope fixes
14 years ago
Tj Holowaychuk
79361a5e4d
misc
14 years ago
Tj Holowaychuk
1c6cfd3c48
zero closure
14 years ago
Tj Holowaychuk
fde7404e08
Added closure_destroy(), and implemented some ToBuffer() fixes by Olaf
14 years ago
Tj Holowaychuk
b7c810f44e
Removed BUFFER_DATA macro
14 years ago
Tj Holowaychuk
804eeb673c
fixed segfault
14 years ago
Tj Holowaychuk
9221d3a403
Fixed canvas resizing. Closes #57
14 years ago
Tj Holowaychuk
bf7e04afbd
Unref() canvas
14 years ago
Tj Holowaychuk
cdfca98203
Misc refactoring
14 years ago
Tj Holowaychuk
228aafec7e
Fixed constructors
14 years ago
Tj Holowaychuk
513f2a1098
Added PixelArray::constructor
14 years ago
Tj Holowaychuk
644b77c311
Added Canvas::constructor
14 years ago
Tj Holowaychuk
9162f4554f
Added closure.h
14 years ago
Tj Holowaychuk
c2597935db
Namespaces
14 years ago
Tj Holowaychuk
620a83eeb6
Removed redundant "get" prefix for some methods
14 years ago
Tj Holowaychuk
444be2da49
Docs
14 years ago
Don Park
7abd4e17e4
replaced all node.js Buffer::data calls using new macro BUFFER_DATA
14 years ago
Tj Holowaychuk
a292869974
Misc
14 years ago
Tj Holowaychuk
2391844f23
return CAIRO_STATUS_NO_MEMORY on failed {re,m}alloc()
14 years ago
Tj Holowaychuk
6107a2ad89
free toBuffer closure data
14 years ago
Tj Holowaychuk
001247f1cb
Fixed some errors / warnings on fedora
14 years ago
Tj Holowaychuk
5858b47d66
locals
14 years ago
Tj Holowaychuk
e2df4d491e
More locals
14 years ago