From cb227abc0c934a04cc565f2aefbcd6164203475a Mon Sep 17 00:00:00 2001
From: Sam Hocevar <sam@hocevar.net>
Date: Mon, 2 Feb 2004 02:54:43 +0000
Subject: [PATCH]   * 0.9 release.

---
 ChangeLog        | 66 ++++++++++++++++++++++++++++++++++++++++++++++++
 NEWS             |  8 ++++++
 configure.ac     |  2 +-
 debian/changelog |  6 +++++
 libcaca.spec     |  5 +++-
 msvc/config.h    |  4 ++-
 6 files changed, 88 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d12391c..9ea1ef0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,69 @@
+------------------------------------------------------------------------
+r258 | sam | 2004-01-26 11:52:30 +0100 (Mon, 26 Jan 2004) | 5 lines
+Changed paths:
+   M /trunk/configure.ac
+   M /trunk/debian/changelog
+   M /trunk/src/caca.c
+   M /trunk/src/event.c
+   M /trunk/src/graphics.c
+
+  * configure.ac:
+    + Check for curses.h as well as ncurses.h.
+  * src/caca.c src/event.c src/graphics.c:
+    + Include curses.h if ncurses.h was not found.
+
+------------------------------------------------------------------------
+r257 | sam | 2004-01-23 10:20:39 +0100 (Fri, 23 Jan 2004) | 3 lines
+Changed paths:
+   M /trunk/examples/cacaview.c
+
+  * examples/cacaview.c:
+    + Moved statusbar and help menu handling in separate functions.
+
+------------------------------------------------------------------------
+r256 | sam | 2004-01-23 10:15:42 +0100 (Fri, 23 Jan 2004) | 4 lines
+Changed paths:
+   M /trunk/src/caca.c
+
+  * src/caca.c:
+    + Alloc the AllocConsole() call to fail in case the process already has
+      a console.
+
+------------------------------------------------------------------------
+r255 | sam | 2004-01-21 18:25:18 +0100 (Wed, 21 Jan 2004) | 6 lines
+Changed paths:
+   M /trunk/examples/cacaview.c
+
+  * examples/cacaview.c:
+    + Proper aspect ratio support.
+    + Finer zoom support.
+    + Handle mouse clicks as next/prev picture command.
+    + Removed useless iterations in draw_checkers().
+
+------------------------------------------------------------------------
+r254 | sam | 2004-01-21 14:49:26 +0100 (Wed, 21 Jan 2004) | 8 lines
+Changed paths:
+   M /trunk/THANKS
+   M /trunk/src/event.c
+   M /trunk/src/graphics.c
+
+  * src/graphics.c:
+    + 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.
+
+------------------------------------------------------------------------
+r253 | sam | 2004-01-18 05:48:09 +0100 (Sun, 18 Jan 2004) | 2 lines
+Changed paths:
+   A /branches/0.8 (from /trunk:252)
+   M /branches/0.8/ChangeLog
+   M /trunk/ChangeLog
+
+  * 0.8 branch.
+
 ------------------------------------------------------------------------
 r252 | sam | 2004-01-18 05:45:28 +0100 (Sun, 18 Jan 2004) | 2 lines
 Changed paths:
diff --git a/NEWS b/NEWS
index 87aab2e..0858c43 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,13 @@
 $Id$
 
+Changes between 0.8 and 0.9:
+----------------------------
+
+  * fix for a buffer overflow in the line rendering
+  * fixed resizing in the ncurses and slang drivers
+  * aspect ratio and finer zoom support in cacaview
+  * minor compilation fixes
+
 Changes between 0.7 and 0.8:
 ----------------------------
 
diff --git a/configure.ac b/configure.ac
index 2af9b6a..beb5346 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,7 +6,7 @@ AC_PREREQ(2.50)
 AC_CONFIG_AUX_DIR(autotools)
 AC_CANONICAL_SYSTEM
 
-AM_INIT_AUTOMAKE(libcaca, 0.8)
+AM_INIT_AUTOMAKE(libcaca, 0.9)
 AM_CONFIG_HEADER(config.h)
 
 AM_PROG_CC_C_O
diff --git a/debian/changelog b/debian/changelog
index abbbcbb..70e8b93 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libcaca (0.9-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org>  Mon,  2 Feb 2004 03:50:43 +0100
+
 libcaca (0.8-2) unstable; urgency=low
 
   * src/caca.c src/event.c src/graphics.c:
diff --git a/libcaca.spec b/libcaca.spec
index 58d972c..69c6976 100644
--- a/libcaca.spec
+++ b/libcaca.spec
@@ -1,5 +1,5 @@
 %define name libcaca
-%define version 0.8
+%define version 0.9
 %define release 1
 
 Name: %{name}
@@ -110,6 +110,9 @@ rm -rf %{buildroot}
 %{_prefix}/share/man/man1/cacaview.1*
 
 %changelog
+* Sun Feb 2 2004 Sam Hocevar (RPM packages) <sam+rpm@zoy.org> 0.9-1
+- new release
+
 * Sun Jan 18 2004 Sam Hocevar (RPM packages) <sam+rpm@zoy.org> 0.8-1
 - new release
 
diff --git a/msvc/config.h b/msvc/config.h
index 3f7cc08..888beb1 100644
--- a/msvc/config.h
+++ b/msvc/config.h
@@ -2,11 +2,13 @@
 
 #define ALLOCCONSOLE_IN_WINDOWS_H 1
 /* #undef HAVE_CONIO_H */
+/* #undef HAVE_CURSES_H */
 /* #undef HAVE_ENDIAN_H */
 #define HAVE_GETENV 1
 /* #undef HAVE_GETTIMEOFDAY */
 /* #undef HAVE_IMLIB2_H */
 /* #undef HAVE_INTTYPES_H */
+/* #undef HAVE_IOCTL */
 #define HAVE_MEMORY_H 1
 /* #undef HAVE_NCURSES_H */
 #define HAVE_PUTENV 1
@@ -44,7 +46,7 @@
 /* #undef USE_SLANG */
 #define USE_WIN32 1
 /* #undef USE_X11 */
-#define VERSION "0.8"
+#define VERSION "0.9"
 /* #undef const */
 #ifndef __cplusplus
 #define inline __inline