Sam Hocevar
935c680266
* doc/Makefile.am:
+ Do not install doxygen.png directly, because it can be doxygen.gif on
old installations.
21 years ago
Sam Hocevar
a0d00db04a
* examples/aafire.c:
+ Only quit upon keypress, not mouse motion.
21 years ago
Sam Hocevar
21930711cd
* examples/aafire.c:
+ Render cacafire at full speed.
21 years ago
Sam Hocevar
bf4ff1e254
* test/optipal.c:
+ Optimised S-Lang palette generator.
* src/graphics:
+ Removed the S-Lang palette generator and replaced it with the tables
generated by optipal.
21 years ago
Sam Hocevar
5e83efabc7
* Makefile.am:
+ Added a test directory for test programs.
* test/dithering.c:
+ The value/saturation dithering example.
21 years ago
Sam Hocevar
a21c3c0c9e
* src/caca.c:
+ Do not try the X11 driver if DISPLAY is set to the empty string.
* examples/cacaview.c:
+ Cosmetic fixes.
21 years ago
Sam Hocevar
24a8288b69
* example/:
+ Renamed view.c into cacaview.c.
21 years ago
Sam Hocevar
12ff017744
* src/io.c:
+ Fixed mouse support under ncurses and slang.
21 years ago
Sam Hocevar
5cef636933
* configure.ac:
+ Error out if Imlib2 was not found. Override with --disable-imlib2.
21 years ago
Sam Hocevar
0bc76c5432
* src/io.c:
+ Mouse support under X11.
+ Split the mouse motion and mouse click events.
* examples/demo.c:
+ Mouse motion support.
21 years ago
Sam Hocevar
acfb880085
* src/graphics.c:
+ Compilation fix.
* src/caca.c:
+ Minor indentation fix.
21 years ago
Sam Hocevar
efbb33a9b6
* src/caca.c:
+ Prefer the X11 driver if $DISPLAY is set.
+ The slang driver is now preferred over the ncurses driver.
* configure.ac:
+ Autodetect conio.h.
21 years ago
Sam Hocevar
07fd147364
* configure.ac:
+ Autodetect ncurses, slang and X11.
+ Abort if no output driver was selected or detected.
21 years ago
Sam Hocevar
e2afab7107
* 0.5 branch.
21 years ago
Sam Hocevar
cd94d0be6b
* configure.ac NEWS debian/changelog:
+ New 0.5 release.
21 years ago
Sam Hocevar
7fa15d2658
* NOTES BUGS:
+ Updated information about the S-Lang colour pair shortage bug.
* src/graphics.c:
+ Implemented the solution explained in NOTES.
21 years ago
Sam Hocevar
0b9865bb1b
* src/caca.c:
+ Fixed a compilation bug reported by Thomas Klausner <wiz@NetBSD.org>.
21 years ago
Sam Hocevar
1db4f06a8c
* NOTES:
+ Added a section with a proposed solution to the slang problem.
21 years ago
Sam Hocevar
a0cc214439
* 0.4 branch.
21 years ago
Sam Hocevar
424ceed65c
* debian/control:
+ Added missing dependencies to the -dev package.
* configure.ac:
+ Kludge for woody builds where x_includes is undefined.
21 years ago
Sam Hocevar
6c6299a209
* src/caca.h:
+ Documented CACA_FONT.
21 years ago
Sam Hocevar
bbce065236
* doc/Makefile.am:
+ Rename the refman.ps doxygen documentation to libcaca.ps.
21 years ago
Sam Hocevar
854d5bf982
* src/graphics.c:
+ Replace CACA_WIDTH and CACA_HEIGHT with CACA_GEOMETRY.
* src/caca.c:
+ Documented the CACA_GEOMETRY environment variable.
21 years ago
Sam Hocevar
0d638c2e57
* src/io.c:
+ Mouse support in the X11 driver.
21 years ago
Sam Hocevar
7184a159ee
* src/graphics:
+ Use XCreateWindow instead of XCreateSimpleWindow.
+ Set the X window title to "caca for X".
21 years ago
Sam Hocevar
399d1899a1
* debian/control:
+ Build-depend on doxygen and tetex to build documentation.
+ Build-depend on xlibs-dev and slang1-dev to provide alternate drivers.
21 years ago
Sam Hocevar
270e9f288c
* configure.ac NEWS:
+ Prepared release 0.4.
* src/graphics.c README BUGS TODO:
+ Updated documentation.
* Makefile.am doc/Makefile.am:
+ Install the generated doxygen documentation.
21 years ago
Sam Hocevar
31bd308528
* src/io.c:
+ Fixed a warning by including <unistd.h>.
+ Support for arrow and function keys under X11.
21 years ago
Sam Hocevar
1c3acd1ea5
* src/io.c:
+ Added caca_wait_event(), a blocking caca_get_event().
* src/ examples/:
+ More documentation.
* doc/doxygen.cfg.in:
+ doc/doxygen.cfg is now generated by configure, so that we can use
@top_srcdir@ and we no longer need to hardcode PROJECT_NUMBER.
+ Create manpages.
21 years ago
Sam Hocevar
f2e32a3583
* More API documentation.
21 years ago
Sam Hocevar
909ef80950
* caca.c:
+ Fixed typos in the initialisation code.
21 years ago
Sam Hocevar
699c2a46a3
* src/graphics.c src/caca.c src/io.c:
+ Support for simultaneously compiled-in drivers.
+ Honour the CACA_DRIVER environment variable.
* configure.ac:
+ Drivers are no longer mutually exclusive.
21 years ago
Sam Hocevar
08aefffbcf
* src/graphics:
+ Initialise default height at 32 (as in aalib).
21 years ago
Sam Hocevar
e42ec298bb
* src/graphics.c:
+ Support for CACA_WIDTH, CACA_HEIGHT and CACA_FONT in the x11 driver.
+ Use an intermediary X pixmap for rendering.
+ Slightly changed the variable naming scheme.
21 years ago
Sam Hocevar
bb783a8e46
* examples/aafire.c:
+ The image buffer in cacafire was too small.
21 years ago
Sam Hocevar
389d818892
* src/graphics.c:
+ Progress in the X11 driver.
+ Fixed a compilation bug in the conio driver.
21 years ago
Sam Hocevar
3de56c5894
* debian/rules debian/control:
+ Moved cacafire to the caca-utils package. Added proper conflict/replace.
+ Symlinked cacafire.1 to cacademo.1.
21 years ago
Sam Hocevar
7432fce69b
* debian/control:
+ Updated long descriptions.
* debian/changelog ChangeLog doc/doxygen.cfg NEWS:
+ Prepared 0.3 release.
* README:
+ --enable-ncurses is now the default.
21 years ago
Sam Hocevar
36503f7b36
* src/:
+ Doxygenated public functions.
21 years ago
Sam Hocevar
8b39e0b46b
* src/caca.h:
+ Documented environment variables.
21 years ago
Sam Hocevar
db18eb504d
* examples/view.c:
+ Fixed a bug in the loading of 1bpp BMPs.
+ Commented stuff.
21 years ago
Sam Hocevar
cb6ec46d1e
* examples/view.c:
+ If Imlib2 is not available, use a custom simple BMP loader.
+ Draw the bottom bar one line higher to leave room for a status line.
+ '?' now properly toggles help.
* examples/Makefile.am:
+ Always build cacaview.
21 years ago
Sam Hocevar
6944f082ed
* src/bitmap.c:
+ If the alpha palette is all-zero, forget the alpha channel.
* configure.ac:
+ Export HAVE_IMLIB2_H and the like.
21 years ago
Sam Hocevar
7724069c17
* src/bitmap.c:
+ If the alpha mask is 0, ignore alpha information.
+ Ditto if no alpha information is given with the palette.
21 years ago
Sam Hocevar
19c757c91e
* src/graphics.c src/io.c:
+ Beginning of an X11 driver. Currently we merely open the window and
check keyboard events.
21 years ago
Sam Hocevar
a54e44c26c
* configure.ac debian/changelog:
+ Prepare for 0.3 release.
+ Check for strcasecmp().
* src/caca.c:
+ Honor CACA_BACKGROUND, CACA_DITHERING and CACA_ANTIALIASING environment
variables.
21 years ago
Sam Hocevar
d734f1d057
* src/bitmap.c:
+ Added antialiasing support.
+ Dithering, antialiasing and background mode can now be selected at
runtime.
* src/caca.c src/caca.h:
+ Renamed caca_dithering into caca_feature and extended the type to
express background colour and antialiasing mode.
* examples/demo.c:
+ Fixed a bug that disabled the sprite demo.
+ Draw solid flares.
* examples/view.c:
+ Select antialiasing and background mode at runtime.
21 years ago
Sam Hocevar
f9279192b4
* Minor updates to manpages, BUGS, TODO and the Debian control file.
21 years ago
Sam Hocevar
fa7365ef67
* src/caca.c:
+ Moved global variables to src/graphics.c.
* src/bitmap.c:
+ Sanitised prototypes.
21 years ago
Sam Hocevar
c883ca4868
* src/graphics.c:
+ Internally cache screen width and height.
* src/bitmap.c:
+ Added alpha support to caca_draw_bitmap(). For now, we only treat 0%
alpha as fully transparent, and any other value as fully opaque.
+ Slightly tuned colour weights in the renderer.
+ caca_set_bitmap_palette() takes unsigned ints.
* examples/demo.c:
+ Added a crap render demo.
* examples/aafire.c:
+ Set a 20ms delay.
+ Added alpha values to the palette.
* examples/view.c:
+ Draw a gray checkered grid below the image so that transparent images
look a lot nicer.
+ 'f' toggles "fullscreen" mode.
21 years ago