# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1330002225 0 # Node ID 080b764e8982b080fed6159027cd3bc0799ae292 # Parent 6baf177f335ccee30bc2e872c7072c0104bc1c5b Up version number to 2.3. Rename readme to readme.txt. Cleanup some formatting issues with the last commit. diff -r 6baf177f335c -r 080b764e8982 Makefile.in --- a/Makefile.in Thu Feb 23 12:44:15 2012 +0000 +++ b/Makefile.in Thu Feb 23 13:03:45 2012 +0000 @@ -164,7 +164,7 @@ -$(srcdir)/mac/finishup.sh $(srcdir) zip: - zip dwindows$(VER_MAJ)$(VER_MIN).zip $(srcdir)/license.txt $(srcdir)/makefile.* $(srcdir)/readme $(srcdir)/*.c $(srcdir)/dw.h $(srcdir)/dwcompat.h \ + zip dwindows$(VER_MAJ)$(VER_MIN).zip $(srcdir)/license.txt $(srcdir)/makefile.* $(srcdir)/readme.txt $(srcdir)/*.c $(srcdir)/dw.h $(srcdir)/dwcompat.h \ $(srcdir)/win/*.def $(srcdir)/os2/*.def $(srcdir)/install.sh $(srcdir)/*.in $(srcdir)/configure \ $(srcdir)/ac*.m4 $(srcdir)/dwindows-config.1 $(srcdir)/Version \ $(srcdir)/gtk/*.c $(srcdir)/gtk/*.cpp $(srcdir)/win/*.c $(srcdir)/os2/*.c $(srcdir)/win/*.txt $(srcdir)/os2/*.txt \ @@ -175,7 +175,7 @@ dist: (cd $(srcdir)/..;ln -sf dwindows $(SRCDIR)) - (cd $(srcdir)/..;tar -cvf - $(SRCDIR)/license.txt $(SRCDIR)/makefile.* $(SRCDIR)/readme $(SRCDIR)/*.c $(SRCDIR)/dw.h $(SRCDIR)/dwcompat.h \ + (cd $(srcdir)/..;tar -cvf - $(SRCDIR)/license.txt $(SRCDIR)/makefile.* $(SRCDIR)/readme.txt $(SRCDIR)/*.c $(SRCDIR)/dw.h $(SRCDIR)/dwcompat.h \ $(SRCDIR)/install.sh $(SRCDIR)/*.in $(SRCDIR)/configure $(SRCDIR)/Version \ $(SRCDIR)/ac*.m4 $(SRCDIR)/dwindows-config.1 $(SRCDIR)/config.sub $(SRCDIR)/config.guess \ $(SRCDIR)/gtk/*.c $(SRCDIR)/gtk/*.cpp $(SRCDIR)/win/*.c $(SRCDIR)/win/*.cpp $(SRCDIR)/os2/*.c $(SRCDIR)/win/*.txt $(SRCDIR)/os2/*.txt \ diff -r 6baf177f335c -r 080b764e8982 Version --- a/Version Thu Feb 23 12:44:15 2012 +0000 +++ b/Version Thu Feb 23 13:03:45 2012 +0000 @@ -1,3 +1,3 @@ # Set these here to change the version for all platforms DW_MAJOR_VERSION=2 -DW_MINOR_VERSION=2 +DW_MINOR_VERSION=3 diff -r 6baf177f335c -r 080b764e8982 configure --- a/configure Thu Feb 23 12:44:15 2012 +0000 +++ b/configure Thu Feb 23 13:03:45 2012 +0000 @@ -1311,7 +1311,7 @@ Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-dwcompat specify this to build the optional dwcompat library + --with-dwcompat specify this to build the optional dwcompat library --with-gtk3 specify this to build with GTK+ 3.x if available --with-gtk specify this to build dwindows with GTK+ (only relevant for OSX) --with-gtkframework specify this to build dwindows with GTK+ Framework (only relevant for OSX) diff -r 6baf177f335c -r 080b764e8982 configure.in --- a/configure.in Thu Feb 23 12:44:15 2012 +0000 +++ b/configure.in Thu Feb 23 13:03:45 2012 +0000 @@ -43,7 +43,7 @@ dnl ---------------------- check for '--with-dwcompat' switch ----------------- AC_ARG_WITH(dwcompat, - [ --with-dwcompat specify this to build the optional dwcompat library], + [ --with-dwcompat specify this to build the optional dwcompat library], [with_dwcompat=$withval], [with_dwcompat=no], ) diff -r 6baf177f335c -r 080b764e8982 dw.h --- a/dw.h Thu Feb 23 12:44:15 2012 +0000 +++ b/dw.h Thu Feb 23 13:03:45 2012 +0000 @@ -5,7 +5,7 @@ /* Dynamic Windows version numbers */ #define DW_MAJOR_VERSION 2 -#define DW_MINOR_VERSION 2 +#define DW_MINOR_VERSION 3 #define DW_SUB_VERSION 0 #if !defined(__PHOTON__) diff -r 6baf177f335c -r 080b764e8982 makefile.emx --- a/makefile.emx Thu Feb 23 12:44:15 2012 +0000 +++ b/makefile.emx Thu Feb 23 13:03:45 2012 +0000 @@ -62,4 +62,4 @@ zip: dw.dll copy os2\readme-os2.txt . - zip dwindows-os2-$(VERDOT).zip readme-os2.txt readme dw.dll dwcompat.dll dw.lib dwcompat.lib dw.h + zip dwindows-os2-$(VERDOT).zip readme-os2.txt readme.txt dw.dll dwcompat.dll dw.lib dwcompat.lib dw.h diff -r 6baf177f335c -r 080b764e8982 makefile.vc --- a/makefile.vc Thu Feb 23 12:44:15 2012 +0000 +++ b/makefile.vc Thu Feb 23 13:03:45 2012 +0000 @@ -147,4 +147,4 @@ zip: dw.dll copy win\readme-win.txt . - zip dwindows-$(PLATFORM_NAME)-$(VERDOT).zip readme-win.txt readme dw.dll dwcompat.dll dw.lib dwcompat.lib dw.h + zip dwindows-$(PLATFORM_NAME)-$(VERDOT).zip readme-win.txt readme.txt dw.dll dwcompat.dll dw.lib dwcompat.lib dw.h diff -r 6baf177f335c -r 080b764e8982 os2/readme-os2.txt --- a/os2/readme-os2.txt Thu Feb 23 12:44:15 2012 +0000 +++ b/os2/readme-os2.txt Thu Feb 23 13:03:45 2012 +0000 @@ -1,4 +1,4 @@ -This package contains Dynamic Windows (dwindows) v 2.2 for OS/2 and eCS. +This package contains Dynamic Windows (dwindows) v 2.3 for OS/2 and eCS. It contains: diff -r 6baf177f335c -r 080b764e8982 readme --- a/readme Thu Feb 23 12:44:15 2012 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,76 +0,0 @@ -This is a preview release of Dynamic Windows version 2.3. - -The current Dynamic Windows source base is considered stable on: -OS/2, Mac, Windows, Linux, FreeBSD and Solaris. - -Known problems: - -Boxes with no expandable items will have their contents centered on - GTK2 instead of top or left justified on the other platforms. -GTK3 due to changes in the core architecture does not support - widgets that are smaller than what is contained within them - unless they use scrolled windows. GTK2 and other platforms do. - -Known limitations: - -It is not safe on all platforms to operate on widgets before they -are packed. For portability pack widgets before operating on them. - -Future features: - -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.2: -Added dw_menu_delete_item() for removing menu items. - Now you can use dw_window_destroy() on menu items handles also. -Added dw_app_dir() which attempts to locate private application data - for the current platform. -Added dw_window_set_tooltip() for adding tooltips to most widgets. -Added dw_window_get_preferred_size() for getting the size the system - thinks the widget should be, to aid in creating layouts. -Added support for -1 size parameter to the dw_box_pack*() functions to - automatically figure out a suggested size for many controls. -Added automatic window redraw support for OS/2, Windows and Mac. -Added dw_window_set_gravity() for enhanced window placement. -Added DW_GRAV_OBSTACLES support for using system obstacles as gravity - anchor points on OS/2, Mac, Windows and GTK3 (3.4 and later). -Added automatic window border detection on GTK. - This eliminates the need for the DW_BORDER_* environment variables. -Added Open Watcom compiler support for OS/2 (Thanks Andy Willis). -Added pseudo transparent background widget support on Windows and OS/2. - If you set the background color of a widget to DW_RGB_TRANSPARENT... - it will attempt to use the background color of the parent. - Several types of widgets have this set by default now. -Added faster and less buggy layout engine 2.0 for OS/2, Windows and Mac. -Added auto-positioning on Mac; reimplemented auto-positioning on OS/2. -Added DW_DRAW_NOAA which can be passed to dw_draw_*() API functions - that accept the flags parameter to disable anti-aliasing. -Added dw_main_quit() to cause the dw_main() message loop to return. -Added DW_FCF_COMPOSITED to enable Aero Glass effects on Windows 7 and Vista. -Added local autorelease pools on Mac making _dw_pool_drain() unnecessary. -Fixed auto-sizing top-level windows on Windows; added on OS/2 and Mac. -Fixed bubble help not being displayed on Windows. -Fixed menu bar items remaining highlighted on Mac 10.6 and later. -Fixed OS/2 and Windows showing windows during dw_window_set_pos/size(). -Fixed OS/2 scrollbox resizing problems when not in the initial position. -Fixed Windows scrollbox maximum position is off by one. -Fixed various GTK3 issues and removed all deprecated functions for 3.4. -Fixed MLE issues on almost all platforms. -Removed broken support for GTK 3.0, GTK 3.2 or later is required now. -Deprecated DW_FCF_NOBYTEALIGN, DW_FCF_SHELLPOSITION, DW_FCF_HORZSCROLL and - DW_FCF_VERTSCROLL flags. - - -Dynamic Windows Documentation is available at: - -http://dbsoft.org/dw_help.php - -If you have any questions or suggestions feel free to email me at: - -brian@dbsoft.org - -Thanks! - -Brian Smith diff -r 6baf177f335c -r 080b764e8982 readme.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/readme.txt Thu Feb 23 13:03:45 2012 +0000 @@ -0,0 +1,76 @@ +This is a stable release of Dynamic Windows version 2.3. + +The current Dynamic Windows source base is considered stable on: +OS/2, Mac, Windows, Linux, FreeBSD and Solaris. + +Known problems: + +Boxes with no expandable items will have their contents centered on + GTK2 instead of top or left justified on the other platforms. +GTK3 due to changes in the core architecture does not support + widgets that are smaller than what is contained within them + unless they use scrolled windows. GTK2 and other platforms do. + +Known limitations: + +It is not safe on all platforms to operate on widgets before they +are packed. For portability pack widgets before operating on them. + +Future features: + +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.2: +Added dw_menu_delete_item() for removing menu items. + Now you can use dw_window_destroy() on menu items handles also. +Added dw_app_dir() which attempts to locate private application data + for the current platform. +Added dw_window_set_tooltip() for adding tooltips to most widgets. +Added dw_window_get_preferred_size() for getting the size the system + thinks the widget should be, to aid in creating layouts. +Added support for -1 size parameter to the dw_box_pack*() functions to + automatically figure out a suggested size for many controls. +Added automatic window redraw support for OS/2, Windows and Mac. +Added dw_window_set_gravity() for enhanced window placement. +Added DW_GRAV_OBSTACLES support for using system obstacles as gravity + anchor points on OS/2, Mac, Windows and GTK3 (3.4 and later). +Added automatic window border detection on GTK. + This eliminates the need for the DW_BORDER_* environment variables. +Added Open Watcom compiler support for OS/2 (Thanks Andy Willis). +Added pseudo transparent background widget support on Windows and OS/2. + If you set the background color of a widget to DW_RGB_TRANSPARENT... + it will attempt to use the background color of the parent. + Several types of widgets have this set by default now. +Added faster and less buggy layout engine 2.0 for OS/2, Windows and Mac. +Added auto-positioning on Mac; reimplemented auto-positioning on OS/2. +Added DW_DRAW_NOAA which can be passed to dw_draw_*() API functions + that accept the flags parameter to disable anti-aliasing. +Added dw_main_quit() to cause the dw_main() message loop to return. +Added DW_FCF_COMPOSITED to enable Aero Glass effects on Windows 7 and Vista. +Added local autorelease pools on Mac making _dw_pool_drain() unnecessary. +Fixed auto-sizing top-level windows on Windows; added on OS/2 and Mac. +Fixed bubble help not being displayed on Windows. +Fixed menu bar items remaining highlighted on Mac 10.6 and later. +Fixed OS/2 and Windows showing windows during dw_window_set_pos/size(). +Fixed OS/2 scrollbox resizing problems when not in the initial position. +Fixed Windows scrollbox maximum position is off by one. +Fixed various GTK3 issues and removed all deprecated functions for 3.4. +Fixed MLE issues on almost all platforms. +Removed broken support for GTK 3.0, GTK 3.2 or later is required now. +Deprecated DW_FCF_NOBYTEALIGN, DW_FCF_SHELLPOSITION, DW_FCF_HORZSCROLL and + DW_FCF_VERTSCROLL flags. +Renamed compat.c and compat.h to dwcompat.c and dwcompat.h respectively. + +Dynamic Windows Documentation is available at: + +http://dbsoft.org/dw_help.php + +If you have any questions or suggestions feel free to email me at: + +brian@dbsoft.org + +Thanks! + +Brian Smith diff -r 6baf177f335c -r 080b764e8982 win/readme-win.txt --- a/win/readme-win.txt Thu Feb 23 12:44:15 2012 +0000 +++ b/win/readme-win.txt Thu Feb 23 13:03:45 2012 +0000 @@ -1,4 +1,4 @@ -This package contains Dynamic Windows (dwindows) v 2.2 for Windows. +This package contains Dynamic Windows (dwindows) v 2.3 for Windows. It contains: