+ Prepared release 0.4.
* src/graphics.c README BUGS TODO:
+ Updated documentation.
* Makefile.am doc/Makefile.am:
+ Install the generated doxygen documentation.
tags/v0.99.beta14
| @@ -8,3 +8,5 @@ Video rendering | |||||
| o Slang cannot display 256 colour pairs under Unix. | o Slang cannot display 256 colour pairs under Unix. | ||||
| o the X11 driver is very slow. | |||||
| @@ -10,3 +10,6 @@ AUTOMAKE_OPTIONS = dist-bzip2 | |||||
| bin_SCRIPTS = caca-config | bin_SCRIPTS = caca-config | ||||
| doc_DATA = README BUGS TODO AUTHORS NEWS NOTES | |||||
| docdir = $(datadir)/doc/libcaca-dev | |||||
| @@ -1,5 +1,14 @@ | |||||
| $Id$ | $Id$ | ||||
| Changes between 0.3 and 0.4: | |||||
| ---------------------------- | |||||
| * preliminary X11 graphics driver | |||||
| * support for simultaneously compiled-in drivers | |||||
| * honour the CACA_DRIVER, CACA_WIDTH, CACA_HEIGHT and CACA_FONT environment | |||||
| variables | |||||
| * more documentation | |||||
| Changes between 0.2 and 0.3: | Changes between 0.2 and 0.3: | ||||
| ---------------------------- | ---------------------------- | ||||
| @@ -4,13 +4,14 @@ Building libcaca | |||||
| o Run configure then make. Useful configure flags are: | o Run configure then make. Useful configure flags are: | ||||
| --enable-ncurses: use the ncurses library (default) | |||||
| --enable-slang: use the SLang library | |||||
| --enable-conio: use MS-DOS conio.h | |||||
| --enable-ncurses: support for the ncurses library (default enabled) | |||||
| --enable-slang: add support for the SLang library | |||||
| --enable-conio: add support for MS-DOS conio.h | |||||
| --enable-x11: add support for native X11 rendering | |||||
| o Cross-compilation example: | o Cross-compilation example: | ||||
| ./configure --enable-conio --host=i386-pc-msdosdjgpp | |||||
| ./configure --disable-ncurses --enable-conio --host=i386-pc-msdosdjgpp | |||||
| Using libcaca | Using libcaca | ||||
| @@ -46,5 +46,6 @@ cacaview | |||||
| o File browser | o File browser | ||||
| o Handle GIF and PNG transparency with checkered background | |||||
| o DONE 11 Dec 2003: Handle GIF and PNG transparency with checkered | |||||
| background | |||||
| @@ -6,7 +6,7 @@ AC_PREREQ(2.50) | |||||
| AC_CONFIG_AUX_DIR(autotools) | AC_CONFIG_AUX_DIR(autotools) | ||||
| AC_CANONICAL_SYSTEM | AC_CANONICAL_SYSTEM | ||||
| AM_INIT_AUTOMAKE(libcaca, 0.3) | |||||
| AM_INIT_AUTOMAKE(libcaca, 0.4) | |||||
| AM_CONFIG_HEADER(config.h) | AM_CONFIG_HEADER(config.h) | ||||
| AM_PROG_CC_C_O | AM_PROG_CC_C_O | ||||
| @@ -101,6 +101,8 @@ AM_CONDITIONAL(USE_IMLIB2, ${USE_IMLIB2}) | |||||
| # Build documentation? | # Build documentation? | ||||
| AC_PATH_PROG(DOXYGEN, doxygen, no) | AC_PATH_PROG(DOXYGEN, doxygen, no) | ||||
| AM_CONDITIONAL(DOXYGEN, test "${DOXYGEN}" != "no") | AM_CONDITIONAL(DOXYGEN, test "${DOXYGEN}" != "no") | ||||
| # Build LaTeX documentation? | |||||
| AC_PATH_PROG(LATEX, latex, no) | AC_PATH_PROG(LATEX, latex, no) | ||||
| AC_MSG_CHECKING(for a4wide.sty) | AC_MSG_CHECKING(for a4wide.sty) | ||||
| if test -f /usr/share/texmf/tex/latex/misc/a4wide.sty; then | if test -f /usr/share/texmf/tex/latex/misc/a4wide.sty; then | ||||
| @@ -2,7 +2,17 @@ EXTRA_DIST = doxygen.cfg.in footer.html header.html $(man_MANS) | |||||
| man_MANS = caca-config.1 cacademo.1 caca-spritedit.1 cacaview.1 | man_MANS = caca-config.1 cacademo.1 caca-spritedit.1 cacaview.1 | ||||
| all: stamp-doxygen stamp-latex | |||||
| if DOXYGEN | |||||
| htmldoc_DATA = html/doxygen.css html/doxygen.png | |||||
| htmldocdir = $(datadir)/doc/libcaca-dev/html | |||||
| if LATEX | |||||
| psdoc_DATA = latex/refman.ps | |||||
| psdocdir = $(datadir)/doc/libcaca-dev/ps | |||||
| endif | |||||
| endif | |||||
| html/doxygen.css html/doxygen.png: stamp-doxygen | |||||
| latex/refman.ps: stamp-latex | |||||
| stamp-doxygen: | stamp-doxygen: | ||||
| if DOXYGEN | if DOXYGEN | ||||
| @@ -23,3 +33,11 @@ clean-local: | |||||
| -rm -Rf html latex man | -rm -Rf html latex man | ||||
| -rm -f stamp-latex stamp-doxygen | -rm -f stamp-latex stamp-doxygen | ||||
| install-data-local: | |||||
| if DOXYGEN | |||||
| $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/libcaca-dev/html | |||||
| cp html/*.html $(DESTDIR)$(datadir)/doc/libcaca-dev/html | |||||
| $(mkinstalldirs) $(DESTDIR)$(mandir)/man3 | |||||
| cp man/man3/*.3caca $(DESTDIR)$(mandir)/man3 | |||||
| endif | |||||
| @@ -749,6 +749,11 @@ void caca_refresh(void) | |||||
| { | { | ||||
| unsigned int x, y; | unsigned int x, y; | ||||
| /* FIXME: This is very, very slow. There are several things that can | |||||
| * be done in order to speed up things: | |||||
| * - cache characters once rendered | |||||
| * - pre-render all characters | |||||
| * - use our own rendering routine (screen depth dependent) */ | |||||
| for(y = 0; y < _caca_height; y++) | for(y = 0; y < _caca_height; y++) | ||||
| for(x = 0; x < _caca_width; x++) | for(x = 0; x < _caca_width; x++) | ||||
| { | { | ||||