Sam Hocevar
9d47c48cb2
* configure.ac:
+ Search for <slang/slang.h> in addition of <slang.h>.
21 years ago
Sam Hocevar
1f643aedee
* src/bitmap.c:
+ Dither H/S/V when looking up the two nearest colours.
+ Weigh pixels in the distance calculation.
+ Factorised the lookup table calculation.
21 years ago
Sam Hocevar
5113f459dc
* test/hsv.c:
+ Trivial saturation/value rendering test.
21 years ago
Sam Hocevar
4f670e053d
* src/bitmap.c:
+ Fixed a minor overflow in the saturation computation.
+ Use a global lookup table for foreground/background colour selection
in the bitmap rendering routine. This broke dithering, sorry.
21 years ago
Sam Hocevar
4041eba52e
* src/ examples/ test/:
+ Changed <const type> constructs into <type const>.
21 years ago
Sam Hocevar
662653d4df
* examples/aafire.c:
+ Do not call caca_get_width() 10000 times per frame. Cache the value
instead.
21 years ago
Sam Hocevar
bd361462be
* src/graphics.c:
+ Split the drawing of foreground and background colours in the X11
driver. Nice performance improvement.
21 years ago
Sam Hocevar
fd2a676cd2
* examples/cacaview.c:
+ If Imlib2 was not activated, warn the user that only BMP is supported.
21 years ago
Sam Hocevar
db44056e86
* libcaca.spec:
+ RPM specfile, courtesy of Richard Zidlicky.
* THANKS:
+ Added a THANKS file for contributors.
21 years ago
Sam Hocevar
9b31290bf2
* src/graphics.c:
+ Minor optimisation in caca_set_color().
+ Added an X11 error handler to avoid BadFont aborts in the X11 driver.
+ Optimised the X11 caca_refresh() routine by handling strings of the
same colour as one text chunk.
* src/caca.c:
+ Bugfix in caca_init when conio is the only compiled-in driver.
* README:
+ Minor documentation updates.
21 years ago
Sam Hocevar
e7b9d4bef4
* examples/cacaview.c:
+ Use sprintf() instead of snprintf() so that cacaview builds with DJGPP.
* examples/aafire.c:
+ bzero the pixel buffer in the initialisation routine.
21 years ago
Sam Hocevar
44fc7a04b5
* doc/doxygen.cfg.in:
+ Removed caca_internal.h from the list of documented files.
* src/:
+ Minor documentation updates.
21 years ago
Sam Hocevar
673d941a57
* test/dithering.c:
+ Fixed a minor compilation warning.
* debian/rules:
+ Explicitely use --enable-imlib2.
* BUGS:
+ Added a note about blinking consoles.
* doc/Makefile.am:
+ Fixed a bashism in the HTML files installation.
21 years ago
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