changeset 1350:4333b58d879d

Upped the version number to 2.2. Added a Version file to reduce the number of places the version number needs to be changed when pushing out new releases. Updated the readme file with the information regarding the new OS/2 calendar widget.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 15 Nov 2011 13:26:15 +0000
parents 19aa1af6855e
children 751f127439f7
files Version dw.h makefile.emx makefile.vc readme
diffstat 5 files changed, 15 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Version	Tue Nov 15 13:26:15 2011 +0000
@@ -0,0 +1,3 @@
+# Set these here to change the version for all platforms
+DW_MAJOR_VERSION=2
+DW_MINOR_VERSION=2
--- a/dw.h	Tue Nov 15 12:45:52 2011 +0000
+++ b/dw.h	Tue Nov 15 13:26:15 2011 +0000
@@ -5,7 +5,7 @@
 
 /* Dynamic Windows version numbers */
 #define DW_MAJOR_VERSION 2
-#define DW_MINOR_VERSION 1
+#define DW_MINOR_VERSION 2
 #define DW_SUB_VERSION 0
 
 #if !defined(__PHOTON__)
--- a/makefile.emx	Tue Nov 15 12:45:52 2011 +0000
+++ b/makefile.emx	Tue Nov 15 13:26:15 2011 +0000
@@ -7,8 +7,9 @@
 RC = rc
 MAKE = make
 COMPRESS = lxlite
-VER = 21
-VERDOT = 2.1
+include Version
+VER = $(DW_MAJOR_VERSION)$(DW_MINOR_VERSION)
+VERDOT = $(DW_MAJOR_VERSION).$(DW_MINOR_VERSION)
 AVERREV := $(shell os2\svnrev.cmd)
 include SVN.REV
 
--- a/makefile.vc	Tue Nov 15 12:45:52 2011 +0000
+++ b/makefile.vc	Tue Nov 15 13:26:15 2011 +0000
@@ -1,8 +1,9 @@
 #
 # Visual C Makefile for Dynamic Windows
 #
-VER = 21
-VERDOT = 2.1
+!include Version
+VER = $(DW_MAJOR_VERSION)$(DW_MINOR_VERSION)
+VERDOT = $(DW_MAJOR_VERSION).$(DW_MINOR_VERSION)
 VERREV = 0
 
 #
--- a/readme	Tue Nov 15 12:45:52 2011 +0000
+++ b/readme	Tue Nov 15 13:26:15 2011 +0000
@@ -1,4 +1,4 @@
-This is a preview release of Dynamic Windows version 2.2.0.
+This is a stable release of Dynamic Windows version 2.2.0.
 
 The current Dynamic Windows source base is considered stable on:
 OS/2, Mac, Windows, Linux, FreeBSD and Solaris.
@@ -27,9 +27,9 @@
 
 Future features:
 
-OS/2 is currently missing the Calendar and HTML widgets because
-the system does not support them by default. Looking into writing
-custom ones or importing functionality from available libraries.
+OS/2 is currently missing the HTML widget because the system does 
+not support it by default. Looking into importing functionality 
+from available libraries (Firefox, Webkit, Qt, etc).
 
 Changes from version 2.1:
 Added printing support via dw_print_new, dw_print_run and dw_print_cancel.
@@ -62,6 +62,7 @@
 Added dw_debug() function for sending debug messages to the console.
 Added path and/or filename support to dw_file_browse() on OS/2, Windows,
    GTK2, GTK3 and Mac 10.6 or higher.
+Added custom calendar widget for OS/2, leaving only the HTML widget missing.
 Improved container optimization on Mac, header width now taken into account.
 Fixes for incorrect return codes from the dw_event_* functions on Windows.
 Fixes for incorrect behavior on key_press callbacks on Mac and Windows.