Linus Unnebäck
d18713aad4
version: 1.3.14
9 years ago
Linus Unnebäck
3cfee9f2dc
history: 1.3.14
9 years ago
Linus Unnebäck
ab8a15c3ae
Merge pull request #739 from zbjornson/674-clamp-buf
Clamp JPEG buffer size. Fixes #674
9 years ago
Linus Unnebäck
965908e523
version: 1.3.13
9 years ago
Linus Unnebäck
c35e3239c7
history: 1.3.13
9 years ago
Linus Unnebäck
1b1fdf9bf1
Merge pull request #759 from chearon/update-nan
update minimum NAN version to fix #758
9 years ago
Caleb Hearon
3532689506
update minimum NAN version to fix #758
9 years ago
Zach Bjornson
6edfe44d53
Clamp JPEG buffer size. Fixes #674
9 years ago
Linus Unnebäck
a3492e3c33
version: 1.3.12
9 years ago
Linus Unnebäck
74ff2620ce
history: 1.3.12
9 years ago
Linus Unnebäck
b28a48284c
Merge pull request #718 from LinusU/freetype-version
expose freetype version
9 years ago
Linus Unnebäck
181686463c
Merge pull request #717 from LinusU/new-type-error
require new in constructor
9 years ago
Linus Unnebäck
4759b0c63c
history: fix 1.3.11
9 years ago
Linus Unnebäck
e167d94a3f
version: 1.3.11
9 years ago
Linus Unnebäck
fddc9d5543
history: 1.3.11
9 years ago
Linus Unnebäck
b2a71a8687
Merge pull request #728 from zbjornson/master
Properly clamp quality in toDataURL
9 years ago
Zach Bjornson
d4b794561c
Properly clamp quality in toDataURL
9 years ago
Linus Unnebäck
9b58be5e8a
expose freetype version
9 years ago
Juriy Zaytsev
2a64b48028
Merge pull request #719 from LinusU/strict-mode
strict mode
9 years ago
Linus Unnebäck
bef29a3271
strict mode
9 years ago
Linus Unnebäck
a94a427da0
require new in constructor
9 years ago
Linus Unnebäck
c02a6f1fd1
version: 1.3.10
9 years ago
Linus Unnebäck
3761938b57
history: 1.3.10
9 years ago
Linus Unnebäck
398a91466f
Merge pull request #712 from LinusU/segfault-fix
fix segfault on node 0.10.x
9 years ago
Linus Unnebäck
139ee8582e
fix segfault on node 0.10.x
9 years ago
Linus Unnebäck
7a4e56e2c5
version: 1.3.9
9 years ago
Linus Unnebäck
46d47bf655
history: 1.3.9
9 years ago
Linus Unnebäck
e1033557af
Merge pull request #706 from LinusU/allow-to-unbind-callback-handlers
Allow to unbind onload/onerror callback handlers
9 years ago
Raul Ochoa
c651227202
Allow to unbind onload/onerror callback handlers
Assigning `null` to handlers removes them, this mimic the behaviour from Google Chrome.
From Chrome's Developer Tools:
```js
> function handler(evt) { console.log('img handler: %s', evt.type); }
< undefined
> var img = document.createElement('img')
< undefined
> img.onload = handler
< handler(evt)
> img.onerror = handler
< handler(evt)
> img.src = 'https://www.google.com/images/errors/logo_sm_2.png '; true
< true
< img handler: load
> img.src = 'https://www.google.com/images/errors/logo_sm_2.png '; true
< true
< img handler: load
> img.src = 'https://example.com/404.png '; true
< true
< img handler: error
> img.src = 'https://example.com/404.png '; true
< true
< img handler: error
> img.onload = null
< null
> img.onerror = null
< null
> img.src = 'https://www.google.com/images/errors/logo_sm_2.png '; true
< true
> img.src = 'https://example.com/404.png '; true
< true
```
9 years ago
Linus Unnebäck
db0844e6b0
version: 1.3.8
9 years ago
Linus Unnebäck
f659951051
history: 1.3.8
9 years ago
Linus Unnebäck
febc2d1815
Merge pull request #701 from LinusU/build-cleanup
cleanup build scripts
9 years ago
Linus Unnebäck
283f51561e
cleanup build scripts
9 years ago
Linus Unnebäck
32c7944dde
version: 1.3.7
9 years ago
Linus Unnebäck
3df28acd58
history: 1.3.7
9 years ago
Linus Unnebäck
700d8e1643
Merge pull request #615 from CartoDB/dont-remove-callbacks-after-call
Don't unbind onload/onerror callbacks after invoking them
9 years ago
Raul Ochoa
b7d3c4c344
More clear incrementing for callback counters
9 years ago
Raul Ochoa
e7621672f9
Better naming for callback invocation counter
9 years ago
Raul Ochoa
15977bfe04
Rename existing variable for better context
9 years ago
Raul Ochoa
6a90ed5c15
Merge branch 'master' into dont-remove-callbacks-after-call
Conflicts:
test/image.test.js
9 years ago
Linus Unnebäck
0dbb4723c0
Merge pull request #698 from alum/feature/fbonnevier/remove-broken-install-script
remove old and not working install script
9 years ago
Linus Unnebäck
973ba5c346
version: 1.3.6
9 years ago
Linus Unnebäck
5dd9747c1d
history: 1.3.6
9 years ago
Linus Unnebäck
b908f39845
Merge pull request #696 from zbjornson/compliance
Make toDataURL more spec-compliant
9 years ago
Zach Bjornson
e54183d8d4
Make toDataURL more spec-compliant:
* Use default arguments when undefined arguments are passed.
* Throw TypeError on first invalid argument
* Accept a number 'encoderOptions' as the quality
* Fall through to image/png if an unsupported encoding is requested
* Return "data:," if the canvas has no pixels
* Lower-case the format before testing for support
9 years ago
Filip Bonnevier
d877be393e
remove old and not working install script
9 years ago
Linus Unnebäck
ff1cbe8f6c
Merge pull request #686 from zbjornson/no-jpeg-server-test
Fix server tests in cases when jpeg isn't available
9 years ago
Linus Unnebäck
c65be2ac4e
version: 1.3.5
9 years ago
Linus Unnebäck
73a284f9ce
history: 1.3.5
9 years ago
Linus Unnebäck
22fec8db47
Merge pull request #685 from zbjornson/jpeguri
Add data URI jpeg support (fixes #31 )
9 years ago