changeset 1844:1558f5e14f83

Added code and comment to the test program demonstrating trapping application quit on Mac. Also update readme, and other distribution files in preparation for 2.5 release. Added a dedication to my late father.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 18 Dec 2012 21:51:09 +0000
parents 2fe7fca61236
children 6ab13f213847
files Version debian/changelog debian/copyright dwtest.c os2/readme-os2.txt readme.txt win/readme-win.txt
diffstat 7 files changed, 47 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/Version	Thu Dec 13 07:48:30 2012 +0000
+++ b/Version	Tue Dec 18 21:51:09 2012 +0000
@@ -1,3 +1,3 @@
 # Set these here to change the version for all platforms
 DW_MAJOR_VERSION=2
-DW_MINOR_VERSION=4
+DW_MINOR_VERSION=5
--- a/debian/changelog	Thu Dec 13 07:48:30 2012 +0000
+++ b/debian/changelog	Tue Dec 18 21:51:09 2012 +0000
@@ -1,3 +1,26 @@
+dwindows (2.5-1) unstable; urgency=low
+
+  * Added dw_window_set_focus() to focus a widget after the window is shown.
+  * Added DW_FCF_TEXTURED flag on Mac, which enables textured backgrounds
+    which had been the default on Mac prior to 2.5.
+  * Added keyboard support for non-entryfield controls on Mac.
+  * Added tab support for notebook controls on Windows and OS/2 and in 
+    the process rewrote and optimized the existing tab code.
+  * Added bitmap button support for dw_window_set_bitmap().
+  * Added full alpha channel support for bitmaps from file on GTK2.
+  * Added support for handling Mac application menu Quit and dock Quit.
+    Use DW_DESKTOP as window handle to dw_signal_connect().
+  * Improved transparency support for pixmaps/bitmaps from file on OS/2.
+  * Fixed tab support for bitmap buttons which broke in 2.4 on Windows.
+  * Fixed a notebook crash early in creation on Mac.
+  * Fixed unusable scrollbars on Ubuntu Linux when overlay scrollbars
+    are enabled.  We now disable overlay scrollbars when creating.
+  * Fixed dw_window_function() not working on non-toplevel windows on
+    Windows and OS/2.
+  * Fixed building 64bit with Visual C 2012 and MINGW gcc on Windows.
+
+ -- Brian Smith <brian@dbsoft.org>  Fri, 21 Dec 2012 08:00:00 +1000
+ 
 dwindows (2.4-1) unstable; urgency=low
 
   * Added dw_menu_delete_item() for removing menu items.
--- a/debian/copyright	Thu Dec 13 07:48:30 2012 +0000
+++ b/debian/copyright	Tue Dec 18 21:51:09 2012 +0000
@@ -13,7 +13,7 @@
 Copyright:
 
     Copyright (c) 2000-2012, Brian Smith
-    Copyright (c) 2003-2011, Mark Hessling
+    Copyright (c) 2003-2012, Mark Hessling
     Copyright (c) 2007, Alex Taylor
     Copyright (c) 2002, Nickolay V. Shmyrev
     Copyright (c) 2000, Achim Hasenmueller
--- a/dwtest.c	Thu Dec 13 07:48:30 2012 +0000
+++ b/dwtest.c	Tue Dec 18 21:51:09 2012 +0000
@@ -1791,6 +1791,14 @@
     dw_window_default(mainwindow, copypastefield);
 
     dw_signal_connect(mainwindow, DW_SIGNAL_DELETE, DW_SIGNAL_FUNC(exit_callback), DW_POINTER(mainwindow));
+    /*
+     * The following is a special case handler for the Mac and other platforms which contain
+     * an application object which can be closed.  It function identically to a window delete/close
+     * request except it applies to the entire application not an individual window. If it is not
+     * handled or you allow the default handler to take place the entire application will close.
+     * On platforms which do not have an application object this line will be ignored.
+     */
+    dw_signal_connect(DW_DESKTOP, DW_SIGNAL_DELETE, DW_SIGNAL_FUNC(exit_callback), DW_POINTER(mainwindow));
     timerid = dw_timer_connect(2000, DW_SIGNAL_FUNC(timer_callback), 0);
     dw_window_set_size(mainwindow, 640, 550);
     dw_window_show(mainwindow);
--- a/os2/readme-os2.txt	Thu Dec 13 07:48:30 2012 +0000
+++ b/os2/readme-os2.txt	Tue Dec 18 21:51:09 2012 +0000
@@ -1,4 +1,4 @@
-This package contains Dynamic Windows (dwindows) v 2.4 for OS/2 and eCS.
+This package contains Dynamic Windows (dwindows) v 2.5 for OS/2 and eCS.
 
 It contains:
 
@@ -10,7 +10,8 @@
 readme-os2.txt - this file
 
 This binary package was compiled with gcc 4.4.4.
-It requires libc064.dll available at ftp://ftp.netlabs.org/pub/libc
+It requires libc065.dll available at ftp://ftp.netlabs.org/pub/libc
+
 Dynamic Windows may take advantage of features from these packages: 
 
 XCenter/eCenter with the System Tray plugin
@@ -19,8 +20,8 @@
 Generalized Bitmap Module - For additional image formats
 http://heikon.home.tlink.de/
 
--- Special notes for version 2.4 --
-Version 2.4 is starting a transition to Unicode on OS/2. Warp 4 and 
+-- Special notes for version 2.5 --
+Version 2.4 has started a transition to Unicode on OS/2. Warp 4 and 
 later have fairly decent support for UTF-8 via codepage 1208, however 
 there are some known input problems, which shall be worked around
 in future versions.  For English or non-input applications Unicode
--- a/readme.txt	Thu Dec 13 07:48:30 2012 +0000
+++ b/readme.txt	Tue Dec 18 21:51:09 2012 +0000
@@ -1,4 +1,4 @@
-This is a pre-release of Dynamic Windows version 2.5.
+This is a stable release of Dynamic Windows version 2.5.
 
 The current Dynamic Windows source base is considered stable on:
 OS/2, Mac, Windows, Linux, FreeBSD and Solaris.
@@ -35,6 +35,8 @@
    the process rewrote and optimized the existing tab code.
 Added bitmap button support for dw_window_set_bitmap().
 Added full alpha channel support for bitmaps from file on GTK2.
+Added support for handling Mac application menu Quit and dock Quit.
+   Use DW_DESKTOP as window handle to dw_signal_connect().
 Improved transparency support for pixmaps/bitmaps from file on OS/2.
 Fixed tab support for bitmap buttons which broke in 2.4 on Windows.
 Fixed a notebook crash early in creation on Mac.
@@ -48,6 +50,11 @@
 
 http://dbsoft.org/dw_help.php
 
+I would like to dedicate this release to my father, James Smith.  
+He passed away this summer and was the most amazing individual I 
+have ever had in my life.  Without him this software would not be
+able to exist in so many different ways.  Love you Dad.
+
 If you have any questions or suggestions feel free to email me at:
 
 brian@dbsoft.org
--- a/win/readme-win.txt	Thu Dec 13 07:48:30 2012 +0000
+++ b/win/readme-win.txt	Tue Dec 18 21:51:09 2012 +0000
@@ -1,4 +1,4 @@
-This package contains Dynamic Windows (dwindows) v 2.4 for Windows.
+This package contains Dynamic Windows (dwindows) v 2.5 for Windows.
 
 It contains: