- export canvas.CanvasPixelArray instead of canvas.PixelArray which is undefined
- Glib version test into giflib exists test
- Giflib 5.1
- install: use an even older version of giflib (v4.1.6)
- install: use an older version of giflib (v4.2.3)
- install: install
giflib
- install: use more compatible sh syntax
- travis: attempt to run the ./install script before testintg
- travis: test node v0.6, v0.8, v0.10, and v0.11
- Distinguish between 'add' and 'lighter'
- Readme: remove Contributors section
- Readme: update copyright
- On Windows, copy required DLLs next to ".node" file (#442 @pandell)
- Duplicate "msvc_settings" for "Debug" configuration
- Remove unneeded #include <nan.h>
- Use float constants to prevent double->float conversion warning
- Ignore Visual C++ 2013 warnings (#441 @pandell)
- Add algorithm include to CanvasRenderingContext2d.cc for std::min (#435 @kkoopa)
- Updated NAN to 1.2.0 (#434 @kkoopa)
- Fix compile error with Visual C++
- Add support for the lineDash API
- Update NAN
- New V8 compatibility
- Correctly limit bounds in PutImageData to prevent segment fault
- Fix segfault when onload and onerror are not function
- Add support for Node 0.11.9
- Add CAIRO_FORMAT_INVALID
- Readjust the amount of allocated memory
- Fix argument index for filter parameter
- Make has_lib.sh work properly on Debian 64bit
- NAN dep upgrade, full node@<=0.11.8 compatibility
- Use node::MakeCallback() instead of v8::Function::Call()
- Improve nan location discovery
- Fix enabling gif/jpeg options on Ubuntu 13.04
- add better support for outdated versions of Cairo
- add png compression options
- add jpeg stream progressive mode option
- fix resource leaks on read errors
- 0.11.4+ compatibility using NAN
- fix typo in context2d for imageSmoothingEnabled
- add "nearest" and "bilinear" to patternQuality
- fix fread() retval check (items not bytes)
- removed unneeded private fields
- add Context2d#imageSmoothingEnabled=
- travis: test modern node versions
- change the node-gyp build to use pkg-config
- add conditional pango font support [Julian Viereck]
- add
Canvas#{png,jpeg}Stream()
alias of create* legacy methods - add support for grayscale JPEGs
- fix: explicitly cast the after work callback function to "uv_after_work_cb"
- fix test server for express 3.x
- fix: call cairo_surface_finish in ~Canvas when pdf
- remove old 0.4.x binding support. Closes #197
- fix cases where GIF_LIB_VERSION is not defined
- fix auto-detection of optional libraries for OS X
- fix Context2d::SetFont for pango when setting normal weight/style
- add pango support [c-spencer]
- add pango / png / jpeg gyp auto-detection [c-spencer]
- add
.gifVersion
[tootallnate] - add
.jpegVersion
[tootallnate] - add moar gyp stuff [tootallnate]
- remove wscript
- fix
closure_destroy()
with cast forAdjustAmountOfExternalAllocatedMemory()
- fix jpeg malloc Image issue. Closes #160 [c-spencer]
- Improve Image mode API
- Add clearData method to handle reassignment of src, and clean up mime data memory handling.
- Improve how _data_len is managed and use to adjust memory, hide more of mime API behind cairo version conditional.
- Add optional mime-data tracking to Image.
- Refactor JPEG decoding into decodeJPEGIntoSurface
- Added
textDrawingMode
context property [c-spencer] - Added additional TextMetrics properties [c-spencer]
- Fixed
Image
memory leak. Closes #150 - Fixed Context2d::hasShadow()
- Fixed: pdf memory leak, free closure and surface in ~Canvas
- Changed: renamed .nextPage() to .addPage()
- Added quick PDF support
- Added
Canvas#type
getter - Added ./examples/pdf-images.js
- Added ./examples/multiple-page-pdf.js
- Added ./examples/small-pdf.js
- Fixed quadratic curve starting point for undefined path. Closes #155
- Fixed: Context2d setters with invalid values ignored
- Changed: replaced seek with
fstat()
- Added /opt/local/lib to wscript [obarthel]
- Added bounds checking to
rgba_to_string()
[obarthel] - Fixed cleanup in JPEG Image loading [obarthel]
- Fixed missing CSS color table values [obarthel]
- Added
ctx.createPattern()
[slaskis]
- Added
createJPEGStream()
[Elijah Hamovitz]
- Added support for libjpeg62-dev or libjpeg8-dev [wwlinx]
- Fixed two memory leaks in context2d [Tharit]
- Fixed
make test-server
- Added 0.5.x support [TooTallNate]
- Fixed
measureText().width
. Closes #126
- Added data uri support. Closes #49
- Added better lineTo() / moveTo() exception messages
- Changed: prefix some private methods with _
- Added better image format detection
- Added libpath options to waf configuration; this was necessary to correctly detect gif and jpeg support on FreeBSD
- Added GIF support [Brian McKinney]
- Added
Image#src=Buffer
support. Closes #91 - Added
devDependencies
- Added
source-atop
test - Added image-src.js example
- Removed
V8::AdjustAmountOfExternalAllocatedMemory()
call fromtoBuffer()
- Fixed v8 memory hint when resizing canvas [atomizer]
- Added; special case of zero-width rectangle [atomizer]
- Fixed; do not clamp arguments to integer values [atomizer]
- Fixed; preserve current path during
fillRect()
andstrokeRect()
[atomizer] - Fixed;
restorePath()
: clear current path before appending [atomizer]
- Clamp image bounds in
PixelArray::PixelArray()
[Marcello Bastea-Forte]
- Changed; make
PNGStream
a realStream
[Marcello Bastea-Forte]
- Fixed (kinda)
img.src=
error handling - Fixed; move closure.h down for malloc ref. Closes #80
- Added several more operators (color-dodge, color-burn, difference, etc)
- Performance; no longer re-allocating
closure->data
for each png write - Fixed freeing of
Context2d
states - Fixed text alignment / baseline [Olaf]
- Fixed HandleScopes [Olaf]
- Fixed small misc memory leaks
- Fixed
Buffer
usage for node 0.4.x
- Fixed font family dereferencing. Closes #72
- Fixed; stripping of quotes from font-family before applying
- Fixed duplicate textAlign getter
- Removed sans-serif default of Arial
- Fixed font size growing issue after successive calls. Closes #70
- Fixed; toString() first argument of
{fill,stroke}Text()
. Closes #68
- Added
drawImage()
withCanvas
instance support. Closes #67
- Added
CanvasRenderingContext2d#patternQuality
accessor, accepting fast, good, and best - Fixed; pre-multiply
putImageData()
components - Fixed;
PixelArray
data is not premultiplied
- Added --profile option to config
- Fixed
eio_custom
segfault(s). Closes #46 - Fixed two named colors. Closes #62 [thanks noonat]
- Fixed a few warnings
- Fixed; freeing data in
Image::loadJPEG()
on failure - Fixed; include jpeglib only when HAVE_JPEG
- Fixed; using
strstr()
instead ofstrnstr()
- Fixed;
Image
loading is sync until race-condition is resolved - Fixed;
Image::loadJPEG()
return status based on errno
- Added arcTo(). Closes #11
- Added c color parser, ./examples/ray.js is now twice as fast
- Fixed
putImageData()
bug messing up rgba channels
- Added image resize example
- Fixed canvas resizing via
{width,height}=
. Closes #57 - Fixed
Canvas#getContext()
, caching the CanvasRenderingContext - Fixed async image loading (test server still messed)
- Added jpeg
Image
support (when libjpeg is available) - Added hsl / hsla color support. [Tom Carden]
- Added
Image
- Added
ImageData
- Added
PixelArray
- Added
CanvasRenderingContext2d#drawImage()
- Added
CanvasRenderingContext2d#getImageData()
- Added
CanvasRenderingContext2d#createImageData()
- Added kraken blur benchmark example
- Added several new tests
- Fixed instanceof checks for many c++ methods
- Fixed test runner in firefox [Don Park]
- Added
CanvasRenderingContext2d#drawImage()
- Fixed
free()
call missing stdlib - Fixed Image#{width,height} initialization to 0
- Fixed; load image on non-LOADING state
- Fixed lighter for older versions of cairo
- Added
Image
- Added conditional support for cairo 1.10.0 operators
-
Added custom port support to test/server.js
-
Added more global composite operator support
-
Added
Context2d#antialias=
-
Added voronoi example
-
Added -D__NDEBUG__ to default build
-
Added BUFFER_DATA macro for backwards compat buffer data access [Don Park]
-
Fixed getter bug preventing patterns from being returned via
fillStyle
etc -
Fixed; CAIRO_STATUS_NO_MEMORY_ on failed {re,m}alloc()
-
Fixed; free
Canvas::ToBuffer()
closure data
- Bump to fix npm engine cache bug...
- Added async
toDataURL()
support - Added async
toBuffer()
support - Removed buffer utils
- Added shadow support (faster/better gaussian blur to come)
- Added node v0.3 support [Don Park]
- Added -O3 to build
- Removed
Canvas#savePNG()
useCanvas#createPNGStream()
- Initial release