Loading CHANGELOG +23 −1 Original line number Diff line number Diff line Version 0.4.5 2005-03-16 Fixed type check in MAKE-STREAM-FN (thanks to Walter C. Pelissero) Version 0.4.4 2005-03-09 More bug fixes (thanks to Carlos Ungil) Version 0.4.3 2005-03-09 Some bug fixes (thanks to Carlos Ungil) Version 0.4.2 2004-11-26 Build GIF support by default Added link to cl-gd-glue.dll for Windows and corresponding documentation Updated files in test/orig Version 0.4.1 2004-05-21 Replaced WRITE-BYTE with WRITE-SEQUENCE for LispWorks - see <http://article.gmane.org/gmane.lisp.lispworks.general/1827> Version 0.3.1 2004-04-25 Two seperate C source files (with and without GIF support) Two separate C source files (with and without GIF support) Added note about failed tests Added hyperdoc support Added :CL-GD to *FEATURES* Loading Makefiledeleted 100644 → 0 +0 −5 Original line number Diff line number Diff line cl-gd-glue.so: cl-gd-glue-gif.c gcc -I/usr/local/include -fPIC -c cl-gd-glue-gif.c ld -L/usr/local/lib -lgd -lz -lpng -ljpeg -lfreetype -lm -shared cl-gd-glue-gif.o -o cl-gd-glue.so README +2 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ CL-GD also supports Nikodemus Siivola's HYPERDOC, see <http://common-lisp.net/project/hyperdoc/> and <http://www.cliki.net/hyperdoc>. 1. Installation 1. Installation (see doc/index.html for Windows instructions) 1.1. Download and install a recent version of asdf. Loading @@ -18,7 +18,7 @@ CL-GD also supports Nikodemus Siivola's HYPERDOC, see 1.3. Download and install a recent version of GD and its supporting libraries libpng, zlib, libjpeg, libiconv, and libfreetype. CL-GD has been tested and developed with GD 2.0.15, older version probably won't been tested with GD 2.0.33, versions older than 2.0.28 won't work. Note that you won't be able to compile CL-GD unless you have installed all supporting libraries. This is different from using GD directly from C where you only have to install the libraries Loading cl-gd-glue.c +18 −1 Original line number Diff line number Diff line /* Copyright (c) 2003, Dr. Edmund Weitz. All rights reserved. /* Copyright (c) 2003-2005, Dr. Edmund Weitz. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions Loading Loading @@ -45,6 +45,23 @@ gdImagePtr gdImageCreateFromJpegFile (char *filename, int *err) { return NULL; } gdImagePtr gdImageCreateFromGifFile (char *filename, int *err) { FILE *in; gdImagePtr im; if (in = fopen(filename, "rb")) { im = gdImageCreateFromGif(in); if (im == NULL) { *err = 0; return NULL; } fclose(in); return im; } *err = errno; return NULL; } gdImagePtr gdImageCreateFromPngFile (char *filename, int *err) { FILE *in; gdImagePtr im; Loading cl-gd-test.asd +2 −2 Original line number Diff line number Diff line ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*- ;;; $Header: /home/manuel/bknr-cvs/cvs/thirdparty/cl-gd/cl-gd-test.asd,v 1.1 2004/06/23 08:27:10 hans Exp $ ;;; $Header: /usr/local/cvsrep/gd/cl-gd-test.asd,v 1.7 2005/03/09 14:17:56 edi Exp $ ;;; Copyright (c) 2003, Dr. Edmund Weitz. All rights reserved. ;;; Copyright (c) 2003-2005, Dr. Edmund Weitz. All rights reserved. ;;; Redistribution and use in source and binary forms, with or without ;;; modification, are permitted provided that the following conditions Loading Loading
CHANGELOG +23 −1 Original line number Diff line number Diff line Version 0.4.5 2005-03-16 Fixed type check in MAKE-STREAM-FN (thanks to Walter C. Pelissero) Version 0.4.4 2005-03-09 More bug fixes (thanks to Carlos Ungil) Version 0.4.3 2005-03-09 Some bug fixes (thanks to Carlos Ungil) Version 0.4.2 2004-11-26 Build GIF support by default Added link to cl-gd-glue.dll for Windows and corresponding documentation Updated files in test/orig Version 0.4.1 2004-05-21 Replaced WRITE-BYTE with WRITE-SEQUENCE for LispWorks - see <http://article.gmane.org/gmane.lisp.lispworks.general/1827> Version 0.3.1 2004-04-25 Two seperate C source files (with and without GIF support) Two separate C source files (with and without GIF support) Added note about failed tests Added hyperdoc support Added :CL-GD to *FEATURES* Loading
Makefiledeleted 100644 → 0 +0 −5 Original line number Diff line number Diff line cl-gd-glue.so: cl-gd-glue-gif.c gcc -I/usr/local/include -fPIC -c cl-gd-glue-gif.c ld -L/usr/local/lib -lgd -lz -lpng -ljpeg -lfreetype -lm -shared cl-gd-glue-gif.o -o cl-gd-glue.so
README +2 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ CL-GD also supports Nikodemus Siivola's HYPERDOC, see <http://common-lisp.net/project/hyperdoc/> and <http://www.cliki.net/hyperdoc>. 1. Installation 1. Installation (see doc/index.html for Windows instructions) 1.1. Download and install a recent version of asdf. Loading @@ -18,7 +18,7 @@ CL-GD also supports Nikodemus Siivola's HYPERDOC, see 1.3. Download and install a recent version of GD and its supporting libraries libpng, zlib, libjpeg, libiconv, and libfreetype. CL-GD has been tested and developed with GD 2.0.15, older version probably won't been tested with GD 2.0.33, versions older than 2.0.28 won't work. Note that you won't be able to compile CL-GD unless you have installed all supporting libraries. This is different from using GD directly from C where you only have to install the libraries Loading
cl-gd-glue.c +18 −1 Original line number Diff line number Diff line /* Copyright (c) 2003, Dr. Edmund Weitz. All rights reserved. /* Copyright (c) 2003-2005, Dr. Edmund Weitz. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions Loading Loading @@ -45,6 +45,23 @@ gdImagePtr gdImageCreateFromJpegFile (char *filename, int *err) { return NULL; } gdImagePtr gdImageCreateFromGifFile (char *filename, int *err) { FILE *in; gdImagePtr im; if (in = fopen(filename, "rb")) { im = gdImageCreateFromGif(in); if (im == NULL) { *err = 0; return NULL; } fclose(in); return im; } *err = errno; return NULL; } gdImagePtr gdImageCreateFromPngFile (char *filename, int *err) { FILE *in; gdImagePtr im; Loading
cl-gd-test.asd +2 −2 Original line number Diff line number Diff line ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*- ;;; $Header: /home/manuel/bknr-cvs/cvs/thirdparty/cl-gd/cl-gd-test.asd,v 1.1 2004/06/23 08:27:10 hans Exp $ ;;; $Header: /usr/local/cvsrep/gd/cl-gd-test.asd,v 1.7 2005/03/09 14:17:56 edi Exp $ ;;; Copyright (c) 2003, Dr. Edmund Weitz. All rights reserved. ;;; Copyright (c) 2003-2005, Dr. Edmund Weitz. All rights reserved. ;;; Redistribution and use in source and binary forms, with or without ;;; modification, are permitted provided that the following conditions Loading