+ Fixed a buffer overflow due to bad signed/unsigned handling.
* src/event.c:
+ Disallow zero width or height in the X11 driver.
+ Fixed resizing in ncurses and slang.
* THANKS:
+ Added the Source Mage maintainer.
+ Refresh the X11 window when an exposure event is received.
+ When resizing the X11 window, start showing extra characters when two
thirds are visible.
+ Make sure the mouse coordinates stay within the screen boundaries even
if the window was resized.
* src/bitmap.c:
+ Fixed a buffer underflow in the rendering routine that caused the bottom
and rightmost pixels to be missed in certain conditions.
+ Minor speed optimisation.
+ Added the CACA_EVENT_RESIZE event.
+ Added caca_get_mouse_x() and caca_get_mouse_y().
* src/graphics.c:
+ Window resize handling in the X11 driver.
* examples/aafire.c:
+ Fixed a bad assumption in the resize handling code.
+ Check for gettimeofday().
* src/time.c:
+ Created _caca_time().
+ Ported _caca_getticks() to the Win32 API.
* src/caca.c:
+ Properly builds on Win32.
* test/event.c:
+ Added <stdlib.h> because we use malloc().
+ Initialise the char buffers in the X11 driver.
* src/io.c:
+ caca_get_event() and caca_wait_event() immediately return zero if
event_mask is zero.
+ Added support for the Home, End, PgUp and PgDown keys.
+ In the S-Lang driver, added a call to SLang_getkey() before the call to
SLkp_getkey(), otherwise a single Escape call will not be interpreted.
* test/event.c:
+ The "quit" sequence now quits the program, instead of "q" alone.
+ Added a status bar below.
+ Do not refresh after each event, but only when there is no event
pending.
+ If the pressed key is a printable character, display it.
* src/time.c:
+ Moved _caca_getticks() to this file.
* src/caca.c:
+ Set the escape delay to a very low value in the ncurses driver,
because I don't want escape sequences to be entered manually.
* src/io.c:
+ Autorepeat emulation in the ncurses and slang drivers: do not
immediately send the key release event.
* configure.ac:
+ Check for usleep.
+ Improvements in the win32 platform detection.
+ Use SLkp_getkey instead of SLang_getkey so that escape sequences are
directly interpreted.
+ Major rehandling of the event code. All output drivers are now
correctly separated.
* src/graphics.c:
+ Fixed a compilation warning.
* test/event.c:
+ More human-readable event printing.
+ 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}.
+ 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.
+ 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.
+ Support for simultaneously compiled-in drivers.
+ Honour the CACA_DRIVER environment variable.
* configure.ac:
+ Drivers are no longer mutually exclusive.
+ 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.
+ Interpret escape sequences for F1, F2, left, right, etc.
* src/Makefile.am examples/Makefile.am:
+ Install caca.h in /usr/include.
+ Do not install example programs.
* src/blit.c:
+ Minor improvements to grayscale colors.
+ Added ee_color_names[] containing our 16 color names.
* libee/ee.c:
+ Extended our color set to the full 16 instead of 10.
+ Precalculate ncurses attributes.
* libee/graphics.c:
+ Clip color value in ee_set_color().
+ Clip characters in ee_putchar().
+ Partially clip characters in ee_putstr(), overflows aren't checked yet.
* libee/ee_internals.h:
+ New file to share extern variables within libee.
* test/demo.c:
+ Added a simple demo_color() to output all colors.
+ Replaced four ee_draw_line() with ee_draw_thin_box().
+ Replaced x1, y1, x2 etc. with xa, ya, xb etc. because <math.h> already
defines y1.
+ Randomized colours from 0 to 15 instead of 1 to 10.
* src/Makefiles.am:
+ Added -lm to the ttyvaders linking flags because of the intro.
* README BUGS TODO:
+ Updated.
+ Moved ee_putstr() and ee_putchar() in here.
* libee/ee.h:
+ Got rid of ee_goto().
+ Moved <slang.h> or <curses.h> into libee.
* Replaced ee_goto()/ee_putstr() pairs with ee_putstr().
* Ditto for ee_putchar().
+ Moved ee_get_key() here.
* libee/math.c:
+ Moved r00t() here and renamed it to ee_sqrt().
+ Moved GET_RAND() here and renamed it to ee_rand().
* src/math.c:
+ Removed this deprecated file.