Linus Unnebäck
9d91527fe7
Merge pull request #640 from LinusU/mocha-std-ui
tests: use standard mocha ui
9 years ago
Linus Unnebäck
145ae05f6a
tests: use standard mocha ui
9 years ago
Linus Unnebäck
0265773fd3
version: 1.2.10
9 years ago
Linus Unnebäck
14cc0b9701
history: 1.2.10
9 years ago
Linus Unnebäck
d8f560dc80
Merge pull request #635 from zbjornson/master
Fix segfault in Canvas#jpegStream. Fix #629
9 years ago
Zach Bjornson
9ad6c41f2b
jpegStream: bugfix, tests, simplification with LinusU. Fix #629
Remove the undocumented 3rd argument of the emitters (bytes left in buffer).
Add a column to the browser tests that displays JPEGs.
Revise how buffers are allocated.
9 years ago
Linus Unnebäck
eb97ef8386
version: 1.2.9
9 years ago
Linus Unnebäck
0f61134b01
history: 1.2.9
9 years ago
Linus Unnebäck
5405e73d29
Merge pull request #622 from zbjornson/nan2
Update to nan2 and node 3+ APIs
9 years ago
Zach Bjornson
d4d3b9c724
Update to NAN 2 and node 3+ APIs
9 years ago
Linus Unnebäck
c70eadc5d0
history: 1.2.8
9 years ago
Linus Unnebäck
bb4e192b51
version: 1.2.8
9 years ago
Linus Unnebäck
607becb266
Merge pull request #612 from LinusU/test-small-fixes
test: fix up some small issues
9 years ago
Linus Unnebäck
858d79bb4c
test: fix up some small issues
10 years ago
Linus Unnebäck
6633300144
Merge pull request #604 from zbjornson/master
Replace CanvasPixelArray with Uint8ClampedArray; optimizations; bugfixes
10 years ago
Zach Bjornson
7d9286638f
Support node <0.12 using kExternalPixelArray.
10 years ago
Zach Bjornson
43c94e43bf
Pixels with a=0 should have 0 for RGB; pixels with a=255 should have rgb for RGB.
10 years ago
Zach Bjornson
677587bd15
Remove stray logging.
10 years ago
Zach Bjornson
11f0709ec6
Fix tests "putImageData() 8" and "putImageData() 9".
Negative arguments were causing source image data to be painted wrapped-around the other side of the canvas.
10 years ago
Zach Bjornson
c3123efe55
Update test infrasturcture.
10 years ago
Zach Bjornson
76580a8199
Optimize Context2d::PutImageData. Benchmarked 53% faster.
Benchmark:
var canvas = new Canvas(300, 600);
var ctx = canvas.getContext("2d");
// any manipulation of canvas/ctx here.
var data = ctx.getImageData(0,0,300,600);
// time 1000x:
ctx.putImageData(data, 0, 0);
10 years ago
Zach Bjornson
b4a05d7892
Replace CanvasPixelArray with Uint8ClampedArray to meet spec.
Added some argument testing/manipulation to match WebKit/Moz behaviors.
Additionally benchmarked:
* branching on `if (a == 0 || a == 255)`, as it is
* not branching (always doing the alpha calculation)
* Mozilla's implementation found here: https://dxr.mozilla.org/mozilla-central/source/dom/canvas/CanvasRenderingContext2D.cpp#5083
Mozilla's is insignificantly faster (p=0.17) :) so left it as-is.
10 years ago
Linus Unnebäck
27bfef4a41
Merge pull request #611 from LinusU/travis-iojs
travis: specify iojs versions
10 years ago
Linus Unnebäck
f051025903
travis: limit number of iojs versions
10 years ago
Linus Unnebäck
54f731b727
travis: specify iojs versions
10 years ago
Linus Unnebäck
46a26de488
Version 1.2.7
10 years ago
Linus Unnebäck
2dded9eee8
Merge pull request #592 from miguelmota/package-reserved-word
rename package variable to packageJson
10 years ago
Linus Unnebäck
c54bac47b4
Release 1.2.6
10 years ago
Linus Unnebäck
60b1fbceb6
Merge pull request #589 from Agamnentzar/master
Fixed include error in Visual Studio
10 years ago
Nathan Rajlich
7ffc7f3168
History: fix Markdown link
10 years ago
Nathan Rajlich
e84f70fd75
Release 1.2.5
10 years ago
Miguel Mota
b085da2267
package => packageJson
10 years ago
Radosław Eichler
8aa52be645
Fixed include error in Visual Studio
10 years ago
Juriy Zaytsev
21383b990e
Merge pull request #586 from garthk/bump124
Bump version to 1.2.4
10 years ago
Garth Kidd
e1a1df28d8
Release 1.2.4
10 years ago
Garth Kidd
09064a2408
Follow repository move to Automatic.
10 years ago
Nathan Rajlich
80fda524ec
Merge pull request #583 from LinusU/fix-travis-ci-builds
fix Travis CI builds
10 years ago
Nathan Rajlich
d790ecf7bb
Merge pull request #574 from LinusU/include-paths
Fix include paths for cairo
10 years ago
Linus Unnebäck
7c5899094e
fix Travis CI builds
10 years ago
Linus Unnebäck
86d6ec59b7
src: fix include paths for cairo
10 years ago
Nathan Rajlich
3d9f2ac16f
Revert "Remove unused variables"
This reverts commit 004758c725
.
10 years ago
Nathan Rajlich
73d202af40
Revert "Remove unused variables"
This reverts commit 2381e916a9
.
10 years ago
Кузнецов Дмитрий
004758c725
Remove unused variables
FT_Face _ftFace; never used an causes extra warnings during "npm install"
10 years ago
Кузнецов Дмитрий
2381e916a9
Remove unused variables
int _width, _height; never used an caused extra warnings during "npm install"
10 years ago
Nathan Rajlich
edbf5bc454
travis: attempt to fix 0.8, test node v0.12
10 years ago
Nathan Rajlich
a7c9c0ddb5
Release 1.2.3
10 years ago
Nathan Rajlich
2a62336c57
History: normalize whitespace
10 years ago
Nathan Rajlich
0ed97acdd1
Merge pull request #552 from dodekeract/master
Fixed Typo
10 years ago
Nathan Rajlich
195dfe2279
Merge pull request #553 from agebrock/master
Update nan to work with io.js 2.0.0.
10 years ago
Nathan Rajlich
04c7964cc2
Merge pull request #557 from pgilad/patch-1
Add license attribute
10 years ago