Sam Hocevar
1866961050
* src/io.c:
+ Do not report mouse motions if the coordinates did not change.
* src/bitmap.c:
+ More documentation.
21 years ago
Sam Hocevar
bf8f9744a4
* test/event.c:
+ Small event lister, similar to X11's xev.
* src/graphics.c:
+ If possible, disable autorepeat in the X11 driver.
* src/io.c:
+ Implemented CACA_EVENT_MOUSE_RELEASE in all drivers.
+ Button number support in CACA_EVENT_MOUSE_{PRESS,RELEASE}.
21 years ago
Sam Hocevar
c508525f83
* test/spritedit.c:
+ Moved spritedit to the test/ directory, because it is not mature enough.
* libcaca.spec debian/control debian/rules:
+ Do not install caca-spritedit.
21 years ago
Sam Hocevar
20cc8d8d4c
* libcaca.spec debian/control:
+ Updated the package descriptions to include cacaball.
* doc/cacademo.1 doc/Makefile.am:
+ Use the cacademo manpage as the cacaball manpage.
* src/:
+ Added #ifdef _DOXYGEN_SKIP_ME here and there to prvent Doxygen from
documenting bizarre stuff.
21 years ago
Sam Hocevar
1df57d79a1
* examples/cacaball.c:
+ 24 metaballs instead of 5, but smaller.
+ Zoom the bitmap to make more use of the screen area.
21 years ago
Sam Hocevar
3680abc23e
* examples/cacaball.c:
+ Crop the palette so that it looks a bit more like metaballs.
* AUTHORS THANKS:
+ Credited Jylam and Jan Hubicka.
21 years ago
Sam Hocevar
d8f6142612
* examples/cacaball.c:
+ Huge coding style overhaul.
+ Display 5 metaballs instead of 3.
+ Generate the palette instead of having a static one.
+ Use a 256x256 back buffer for more smoothness.
21 years ago
Sam Hocevar
b5c73bf07b
* src/graphics.c:
+ Fixed a compilation warning.
21 years ago
Sam Hocevar
f7cfc5143e
* examples/cacaball.c:
+ Metaballs demo program from Jean-Yves Lamoureux <jylam@lnxscene.org>.
21 years ago
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