Commits

Author Commit Message Labels Comments Date
Pierre Joye
add gd_xbm.c
Pierre Joye
fix windows build
Ondřej Surý
Unify the Win32 check to _WIN32 check which is defined by both VC and MinGW
Ondřej Surý
Fix type GD_STDCALL -> BGD_STDCALL
Ondřej Surý
Fix Win32 build regression and also fix Win32 static build in one go. Also define new BGD_STDCALL __stdcall on Win32 and use it in other source files.
Comments 1
Ondřej Surý
Define BGDWIN32 on MinGW when using autotools
Ondřej Surý
Remove duplicate -DBGDWIN32
Takeshi Abe
it shoud be gd_error_ex
Ondřej Surý
Rework the visibility #ifdef and #define block (fixes #27)
Comments 14
Ondřej Surý
Don't output jpeg error_message directly, but format it first and push it to gd_error_ex(GD_ERROR, ...)
Ondřej Surý
One more gdTestAssert return value check
Ondřej Surý
Fix reverted error detection logic regression in png_resolution.c
Ondřej Surý
Fix some unchecked values and possibly dereferenced null pointers in tests/
Ondřej Surý
Merged in vapier/gd (pull request #6) misc minor fixes
Mike Frysinger
fix jpeg emit callback prototype Building with libjpeg-turbo-1.2.1 yields this warning: gd_jpeg.c: In function 'gdImageCreateFromJpegCtxEx': gd_jpeg.c:373:26: warning: assignment from incompatible pointer type [enabled by default] cinfo.err->emit_message = jpeg_emit_message; ^ Looking at older jpeg releases (v6 & v8), it seems that this func has always expected to have a "void" return value, not "lon…
Mike Frysinger
fix implicit memset decl Need to include string.h to get the memset prototype: gd_color_match.c: In function 'gdImageColorMatch': gd_color_match.c:32:2: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default] memset (buf, 0, sizeof(unsigned long) * 5 * im2->colorsTotal ); ^
Mike Frysinger
ignore more test artifacts
Mike Frysinger
gd_xbm: fix fortify warning When glibc fortify is enabled, we get this warning: gd_xbm.c: In function 'gdCtxPrintf': gd_xbm.c:150:2: warning: passing argument 1 of 'vsnprintf' from incompatible pointer type [enabled by default] len = vsnprintf(&buf, sizeof(buf)-1, format, args); ^ In file included from /usr/include/stdio.h:937:0, from gd_xbm.c:5: /usr/include/bits/stdio2.h:74:42: note: e…
Ondřej Surý
Ignore output files from tests/jpeg/jpeg_read.c
Ondřej Surý
Merged in php-libgd (pull request #3) Merge missing functions to compile PHP GD library
Pierre Joye
Merge branch 'master' of https://bitbucket.org/libgd/gd-libgd
Ondřej Surý
Use gdtest helper functions in jpeg/jpeg_read.c
Ondřej Surý
Cleanup gdtest functions to actually report usefull information.
Pierre Joye
Merge branch 'master' of https://bitbucket.org/libgd/gd-libgd
Ondřej Surý
Make tests less chatty; silence them using our shiny new gdSetErrorMethod
Ondřej Surý
Gd2 functions need LIBZ
Ondřej Surý
Don't open and close output file, without PNG or JPEG support
Ondřej Surý
Don't use undeclared exit()
Ondřej Surý
Conditionally compile tests in src/
Ondřej Surý
Disable warning when PNG support is disabled
  1. Prev
  2. Next