TJ Holowaychuk
9639672fab
Release 0.13.1
13 years ago
TJ Holowaychuk
c5468473d3
Merge pull request #203 from lpinca/master
Build improvements
13 years ago
Luigi Pinca
25234db5df
Fix cases where GIF_LIB_VERSION is not defined
Versions up to 4.1.6 of GIFLIB defined a GIF_LIB_VERSION macro that was string-valued.
Versions after 4.1.6 define integer-valued GIFLIB_MAJOR, GIFLIB_MINOR, and GIFLIB_RELEASE macros for the three components of the version.
Check for GIF_LIB_VERSION, otherwise use the new macros.
13 years ago
Luigi Pinca
19bcf35a94
Fix auto-detection of optional libraries for OS X
The OS X version of grep doesn't support -P (--perl-regexp). It was breaking the building.
Solved by slightly changing the RegExp and using -E (--extended-regexp).
13 years ago
Nathan Rajlich
718e868682
init: fix cases where JPEG_LIB_VERSION_MAJOR/MINOR are not defined
First fall back to trying to use JPEG_LIB_VERSION.
Then if that's not available, then set them both to 0.
Fixes #202 .
13 years ago
Luigi Pinca
a7615ceb91
Fixed an issue with jpeg-turbo library
There were compilation errors if the version of the library was less than 1.2.0.
This was happening because the macros JPEG_LIB_VERSION_MAJOR and JPEG_LIB_VERSION_MINOR were not being defined, since the compile-time macro LIBJPEG_TURBO_VERSION was introduced in version 1.2.0.
The problem was fixed by giving those two macros a definition if it was missing.
13 years ago
Luigi Pinca
f8c6a901d1
Improved auto-detection of optional libraries in Red Hat based systems
In RH based systems, libraries are distributed in two separate packages for each version. One contains the precompiled code, while the second one contains the related development files such as headers, etc. (marked as "-devel").
The previous auto-detection was marking the libraries as installed even if their "-devel" part was missing, generating compilation errors.
This should mark libraries as installed only if their "-devel" part is installed.
13 years ago
TJ Holowaychuk
8f2db792ff
Merge pull request #201 from AllYearbooks/master
Fix pango not setting style/weight properly for 'normal'
13 years ago
c-spencer
474635d526
Fix Context2d::SetFont for pango when setting normal weight/style
13 years ago
TJ Holowaychuk
9ad38b1e86
Release 0.13.0
13 years ago
TJ Holowaychuk
7348752713
Merge pull request #196 from AllYearbooks/master
Pango support and build improvements.
13 years ago
c-spencer
3388ab5b33
Properly dispose of pango related allocations in ~Context2d()
13 years ago
c-spencer
1b0d0cc06f
Tweak examples/text.js to show use of extended measureText attributes, and add examples/pango-glyphs.js
13 years ago
c-spencer
efadaead73
Add measureText implementation for pango
13 years ago
c-spencer
8e9defcb79
Tidy up build files and util script.
13 years ago
c-spencer
50ab677036
Use strndup for duplicating fontFamily strings.
13 years ago
c-spencer
309a1eb7e0
Make binding.gyp friendlier to windows. [ #195 ]
13 years ago
c-spencer
9c13c23f11
Trial auto-detection of libraries
13 years ago
TJ Holowaychuk
f5985af0f1
fix closure_destroy() with cast for AdjustAmountOfExternalAllocatedMemory()
13 years ago
TJ Holowaychuk
1cae3db2d0
Revert "Fixes #182"
This reverts commit 02041571ce
.
13 years ago
c-spencer
35d491a284
Add pango drawing support, and silence some warnings.
13 years ago
c-spencer
d3f3a94835
Add simple support for using jpeg-turbo library.
13 years ago
c-spencer
2140de6b24
Add pango build support and improve configure library detection.
13 years ago
TJ Holowaychuk
1d0e86a8c7
Merge pull request #194 from lpinca/master
Fixes an issue related to a wrong variable type (#182 )
13 years ago
Luigi Pinca
02041571ce
Fixes #182
13 years ago
TJ Holowaychuk
5a5a8e3e79
Merge pull request #188 from TooTallNate/versions
Export the "jpegVersion" and "gifVersion" strings when support for them is enabled
13 years ago
Nathan Rajlich
7cf35c8396
export the "gifVersion" when compiled with gif support
13 years ago
Nathan Rajlich
ba234eaae1
export the "jpegVersion" when compiled with jpeg support
13 years ago
TJ Holowaychuk
ef1292518c
Merge pull request #187 from mscdex/patch-1
Remove duplicate require()
13 years ago
Brian White
96025d0adf
Remove duplicate require()
13 years ago
Nathan Rajlich
07d1ea537a
package: fix whitespace
13 years ago
TJ Holowaychuk
2209c6d045
todo
13 years ago
TJ Holowaychuk
31c68e8fff
add ./configure
13 years ago
TJ Holowaychuk
3b7650bd7d
remove wscript
13 years ago
TJ Holowaychuk
4943be6614
fix makefile
13 years ago
TJ Holowaychuk
5249f3ef85
Merge pull request #185 from LearnBoost/gyp
Better node-gyp support
13 years ago
Nathan Rajlich
c1645a7da7
package: remove the "preinstall" phase, add the "test" phase
13 years ago
Nathan Rajlich
4a8ef34912
build: link to "jpeg" and "gif" when specified
13 years ago
Nathan Rajlich
95947e0c1c
build: add linking with pixman & cairo on unix, and add the HAVE_JPEG and HAVE_GIF defines
13 years ago
Nathan Rajlich
566a9a9eed
Makefile: run "rebuild"
13 years ago
Nathan Rajlich
38a157c310
Makefile: update the makefile to use node-gyp
13 years ago
TJ Holowaychuk
d556356e69
dont cap top-level node
13 years ago
Nathan Rajlich
0e4fa461de
src: add newline at end of file to fix compiler warning
13 years ago
Nathan Rajlich
cdb2421812
build: begin making gyp file work on unix
13 years ago
TJ Holowaychuk
5ed27bff1f
Release 0.12.1
13 years ago
TJ Holowaychuk
f5be948340
fix jpeg malloc Image issue. Closes #160 [c-spencer]
13 years ago
TJ Holowaychuk
3ca90a7815
Merge pull request #169 from andreasbotsikas/windows-build
Added instructions and the binding.gyp to build the module in windows
13 years ago
Andreas Botsikas
67a56ce5f2
Removed Windows.Readme.txt. Content has been added in the wiki https://github.com/LearnBoost/node-canvas/wiki
13 years ago
TJ Holowaychuk
b381dd6db2
make wiki more obvious
13 years ago
Andreas Botsikas
3738179d76
Added instructions, binding.gyp and added the NODE_MODULE macro to specify the entry point.
13 years ago