Sam Hocevar
17f9a58aa6
* src/io.c:
+ caca_get_event() and caca_wait_event() now accept a mask as an argument
in order to select events.
21 years ago
Sam Hocevar
53736c2c85
* src/graphics.c:
+ Fixed a bug that caused an infinite loop if the delay between two
caca_refresh() calls was greater than 2000 seconds (or something).
21 years ago
Sam Hocevar
731bffa99e
* src/io.c:
+ Fixed a bug that caused ButtonRelease events to be forgotten under X11.
* examples/cacaview.c:
+ Use <stdlib.h> instead of <malloc.h>.
21 years ago
Sam Hocevar
fe1ce81b4e
* configure.ac:
+ Check for dvips in addition to latex.
* doc/Makefile.am:
+ Workaround for a bug in the latex code generated by doxygen
in Mandrake 9.1.
21 years ago
Sam Hocevar
d22cad32e5
* libcaca.spec:
+ Install documentation into %{doc}/package-version/ instead
of %{doc}/package/.
+ Added tetex-dvips to the build dependencies.
21 years ago
Sam Hocevar
346b57cf99
* 0.6 branch.
21 years ago
Sam Hocevar
e01d5af6c9
* configure.ac NEWS:
+ Prepared the 0.6 release.
* libcaca.spec:
+ Split the RPM into libcaca-devel and caca-utils.
+ More detailed descriptions.
+ Packages are now rpmlint clean.
* doc/Makefile.am:
+ Symlink cacafire.1 to cacademo.1 upon manpage installation.
21 years ago
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