diff --git a/History.md b/History.md index 7c0a34f..90cdec9 100644 --- a/History.md +++ b/History.md @@ -1,12 +1,23 @@ -0.13.1 / 2012-08-20 +1.0.0 / 2013-01-16 +================== + + * 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 + +0.13.1 / 2012-08-20 ================== * 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 -0.13.0 / 2012-08-12 +0.13.0 / 2012-08-12 ================== * add pango support [c-spencer] @@ -17,7 +28,7 @@ * remove wscript * fix `closure_destroy()` with cast for `AdjustAmountOfExternalAllocatedMemory()` -0.12.1 / 2012-06-29 +0.12.1 / 2012-06-29 ================== * fix jpeg malloc Image issue. Closes #160 [c-spencer] @@ -27,29 +38,29 @@ * Add optional mime-data tracking to Image. * Refactor JPEG decoding into decodeJPEGIntoSurface -0.12.0 / 2012-05-02 +0.12.0 / 2012-05-02 ================== * Added `textDrawingMode` context property [c-spencer] * Added additional TextMetrics properties [c-spencer] -0.11.3 / 2012-04-25 +0.11.3 / 2012-04-25 ================== * Fixed `Image` memory leak. Closes #150 * Fixed Context2d::hasShadow() -0.11.2 / 2012-04-12 +0.11.2 / 2012-04-12 ================== * Fixed: pdf memory leak, free closure and surface in ~Canvas -0.11.1 / 2012-04-10 +0.11.1 / 2012-04-10 ================== * Changed: renamed .nextPage() to .addPage() -0.11.0 / 2012-04-10 +0.11.0 / 2012-04-10 ================== * Added quick PDF support @@ -58,18 +69,18 @@ * Added ./examples/multiple-page-pdf.js * Added ./examples/small-pdf.js -0.10.3 / 2012-02-27 +0.10.3 / 2012-02-27 ================== * Fixed quadratic curve starting point for undefined path. Closes #155 -0.10.2 / 2012-02-06 +0.10.2 / 2012-02-06 ================== * Fixed: Context2d setters with invalid values ignored * Changed: replaced seek with `fstat()` -0.10.1 / 2012-01-31 +0.10.1 / 2012-01-31 ================== * Added _/opt/local/lib_ to wscript [obarthel] @@ -77,60 +88,60 @@ * Fixed cleanup in JPEG Image loading [obarthel] * Fixed missing CSS color table values [obarthel] -0.10.0 / 2012-01-18 +0.10.0 / 2012-01-18 ================== * Added `ctx.createPattern()` [slaskis] -0.9.0 / 2012-01-13 +0.9.0 / 2012-01-13 ================== * Added `createJPEGStream()` [Elijah Hamovitz] -0.8.3 / 2012-01-04 +0.8.3 / 2012-01-04 ================== * Added support for libjpeg62-dev or libjpeg8-dev [wwlinx] -0.8.2 / 2011-12-14 +0.8.2 / 2011-12-14 ================== * Fixed two memory leaks in context2d [Tharit] * Fixed `make test-server` -0.8.1 / 2011-10-31 +0.8.1 / 2011-10-31 ================== * Added 0.5.x support [TooTallNate] * Fixed `measureText().width`. Closes #126 -0.8.0 / 2011-10-28 +0.8.0 / 2011-10-28 ================== * Added data uri support. Closes #49 -0.7.3 / 2011-09-14 +0.7.3 / 2011-09-14 ================== * Added better lineTo() / moveTo() exception messages -0.7.2 / 2011-08-30 +0.7.2 / 2011-08-30 ================== * Changed: prefix some private methods with _ -0.7.1 / 2011-08-25 +0.7.1 / 2011-08-25 ================== * Added better image format detection * Added libpath options to waf configuration; this was necessary to correctly detect gif and jpeg support on FreeBSD -0.7.0 / 2011-07-12 +0.7.0 / 2011-07-12 ================== * Added GIF support [Brian McKinney] -0.6.0 / 2011-06-04 +0.6.0 / 2011-06-04 ================== * Added `Image#src=Buffer` support. Closes #91 @@ -140,7 +151,7 @@ * Removed `V8::AdjustAmountOfExternalAllocatedMemory()` call from `toBuffer()` * Fixed v8 memory hint when resizing canvas [atomizer] -0.5.4 / 2011-04-20 +0.5.4 / 2011-04-20 ================== * Added; special case of zero-width rectangle [atomizer] @@ -148,23 +159,23 @@ * Fixed; preserve current path during `fillRect()` and `strokeRect()` [atomizer] * Fixed; `restorePath()`: clear current path before appending [atomizer] -0.5.3 / 2011-04-11 +0.5.3 / 2011-04-11 ================== * Clamp image bounds in `PixelArray::PixelArray()` [Marcello Bastea-Forte] -0.5.2 / 2011-04-09 +0.5.2 / 2011-04-09 ================== * Changed; make `PNGStream` a real `Stream` [Marcello Bastea-Forte] -0.5.1 / 2011-03-16 +0.5.1 / 2011-03-16 ================== * Fixed (kinda) `img.src=` error handling * Fixed; move closure.h down for malloc ref. Closes #80 -0.5.0 / 2011-03-14 +0.5.0 / 2011-03-14 ================== * Added several more operators (color-dodge, color-burn, difference, etc) @@ -173,9 +184,9 @@ * Fixed text alignment / baseline [Olaf] * Fixed HandleScopes [Olaf] * Fixed small misc memory leaks - * Fixed `Buffer` usage for node 0.4.x - -0.4.3 / 2011-01-11 + * Fixed `Buffer` usage for node 0.4.x + +0.4.3 / 2011-01-11 ================== * Fixed font family dereferencing. Closes #72 @@ -183,29 +194,29 @@ * Fixed duplicate textAlign getter * Removed sans-serif default of _Arial_ -0.4.2 / 2010-12-28 +0.4.2 / 2010-12-28 ================== * Fixed font size growing issue after successive calls. Closes #70 -0.4.1 / 2010-12-18 +0.4.1 / 2010-12-18 ================== * Fixed; toString() first argument of `{fill,stroke}Text()`. Closes #68 -0.4.0 / 2010-12-12 +0.4.0 / 2010-12-12 ================== * Added `drawImage()` with `Canvas` instance support. Closes #67 -0.3.3 / 2010-11-30 +0.3.3 / 2010-11-30 ================== * Added `CanvasRenderingContext2d#patternQuality` accessor, accepting _fast_, _good_, and _best_ * Fixed; pre-multiply `putImageData()` components * Fixed; `PixelArray` data is not premultiplied -0.3.2 / 2010-11-26 +0.3.2 / 2010-11-26 ================== * Added --profile option to config @@ -216,20 +227,20 @@ * Fixed; include _jpeglib_ only when __HAVE_JPEG__ * Fixed; using `strstr()` instead of `strnstr()` -0.3.1 / 2010-11-24 +0.3.1 / 2010-11-24 ================== * Fixed; `Image` loading is sync until race-condition is resolved * Fixed; `Image::loadJPEG()` return status based on errno -0.3.0 / 2010-11-24 +0.3.0 / 2010-11-24 ================== * Added arcTo(). Closes #11 - * Added c color parser, _./examples/ray.js_ is now twice as fast + * Added c color parser, _./examples/ray.js_ is now twice as fast * Fixed `putImageData()` bug messing up rgba channels -0.2.1 / 2010-11-19 +0.2.1 / 2010-11-19 ================== * Added image _resize_ example @@ -237,13 +248,13 @@ * Fixed `Canvas#getContext()`, caching the CanvasRenderingContext * Fixed async image loading (test server still messed) -0.2.0 / 2010-11-18 +0.2.0 / 2010-11-18 ================== * Added jpeg `Image` support (when libjpeg is available) * Added _hsl_ / _hsla_ color support. [Tom Carden] -0.1.0 / 2010-11-17 +0.1.0 / 2010-11-17 ================== * Added `Image` @@ -257,7 +268,7 @@ * Fixed instanceof checks for many c++ methods * Fixed test runner in firefox [Don Park] -0.0.8 / 2010-11-12 +0.0.8 / 2010-11-12 ================== * Added `CanvasRenderingContext2d#drawImage()` @@ -265,18 +276,18 @@ * Fixed Image#{width,height} initialization to 0 * Fixed; load image on non-LOADING state -0.0.7 / 2010-11-12 +0.0.7 / 2010-11-12 ================== * Fixed _lighter_ for older versions of cairo -0.0.6 / 2010-11-12 +0.0.6 / 2010-11-12 ================== * Added `Image` * Added conditional support for cairo 1.10.0 operators -0.0.5 / 2010-11-10 +0.0.5 / 2010-11-10 ================== * Added custom port support to _test/server.js_ @@ -290,19 +301,19 @@ * Fixed; __CAIRO_STATUS_NO_MEMORY___ on failed {re,m}alloc() * Fixed; free `Canvas::ToBuffer()` closure data -0.0.4 / 2010-11-09 +0.0.4 / 2010-11-09 ================== * Bump to fix npm engine cache bug... -0.0.3 / 2010-11-09 +0.0.3 / 2010-11-09 ================== * Added async `toDataURL()` support * Added async `toBuffer()` support * Removed buffer utils -0.0.2 / 2010-11-08 +0.0.2 / 2010-11-08 ================== * Added shadow support (faster/better gaussian blur to come) @@ -310,7 +321,7 @@ * Added -O3 to build * Removed `Canvas#savePNG()` use `Canvas#createPNGStream()` -0.0.1 / 2010-11-04 +0.0.1 / 2010-11-04 ================== - * Initial release \ No newline at end of file + * Initial release diff --git a/lib/canvas.js b/lib/canvas.js index 4c64678..1904c46 100644 --- a/lib/canvas.js +++ b/lib/canvas.js @@ -30,7 +30,7 @@ var Canvas = exports = module.exports = Canvas; * Library version. */ -exports.version = '0.13.1'; +exports.version = '1.0.0'; /** * Cairo version. diff --git a/package.json b/package.json index 7020663..a05d808 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "canvas" , "description": "Canvas graphics API backed by Cairo" - , "version": "0.13.1" + , "version": "1.0.0" , "author": "TJ Holowaychuk " , "keywords": ["canvas", "graphic", "graphics", "pixman", "cairo", "image", "images", "pdf"] , "homepage": "https://github.com/learnboost/node-canvas"