# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1672667399 0 # Node ID edb4307ac7ce3dc180fbf07a10c4fa88ed3e5956 # Parent 11fd5cf0ee99d1ca3eb372242c95ccc40b1f41fd Update copyright date, readme, license and changelog for upcoming release. diff -r 11fd5cf0ee99 -r edb4307ac7ce android/DWindows.kt --- a/android/DWindows.kt Mon Jan 02 03:10:05 2023 +0000 +++ b/android/DWindows.kt Mon Jan 02 13:49:59 2023 +0000 @@ -1,4 +1,4 @@ -// (C) 2021-2022 Brian Smith +// (C) 2021-2023 Brian Smith // (C) 2019 Anton Popov (Color Picker) // (C) 2022 Amr Hesham (Tree View) package org.dbsoft.dwindows diff -r 11fd5cf0ee99 -r edb4307ac7ce android/dw.cpp --- a/android/dw.cpp Mon Jan 02 03:10:05 2023 +0000 +++ b/android/dw.cpp Mon Jan 02 13:49:59 2023 +0000 @@ -2,7 +2,7 @@ * Dynamic Windows: * A GTK like GUI implementation of the Android GUI. * - * (C) 2011-2022 Brian Smith + * (C) 2011-2023 Brian Smith * (C) 2011-2022 Mark Hessling * * Requires Android API 23 (Marshmallow) or higher. diff -r 11fd5cf0ee99 -r edb4307ac7ce debian/changelog --- a/debian/changelog Mon Jan 02 03:10:05 2023 +0000 +++ b/debian/changelog Mon Jan 02 13:49:59 2023 +0000 @@ -1,3 +1,26 @@ +dwindows (3.3-1) unstable; urgency=low + + * Fixed an API inconsistency in dw_notebook_page_destroy/set(). + The page ID had been unsigned int when it should be unsigned long. + On some platforms apps compiled for versions prior to 3.3 may + malfunction when calling these API calls, so recompile with 3.3. + * Added tree widget/control support for iOS and Android. + * Removed the lib and dll directories previously used on Windows and OS/2. + * Added DW_FEATURE_CONTAINER_MODE on Mobile platforms: iOS and Android. + DW_CONTAINER_MODE_DEFAULT: Minimal container; icon and text only. + DW_CONTAINER_MODE_EXTRA: Extra columns displayed on a second line. + DW_CONTAINER_MODE_MULTI: A separate clickable line for each column. + * Added return values to several functions previously returning void. + Previous code should just be able to ignore the new return values. + Currently affected: dw_window_set_bitmap(_from_data) + * Added C++ language bindings in dw.hpp and an example C++ test + application in the form of dwtestoo.cpp, similar to godwindows. + * Added variadic versions of dw_debug() and dw_messagebox(). + This is how the standard library does it so we can call the new + va_list versions from C++: dw_vdebug() and dw_vmessagebox(). + + -- Brian Smith Fri, 6 Jan 2023 08:00:00 +1000 + dwindows (3.2-1) unstable; urgency=low * Added support for initial beta support for GTK 4. --with-gtk4 is now available. @@ -21,7 +44,7 @@ * Fixed GTK3 leaks when setting fonts or colors on a widget repeatedly. * Fixed a bug in dw_listbox_set_text() on GTK3. - -- Brian Smith Wed, 6 Jan 2022 08:00:00 +1000 + -- Brian Smith Thu, 6 Jan 2022 08:00:00 +1000 dwindows (3.1-1) unstable; urgency=low diff -r 11fd5cf0ee99 -r edb4307ac7ce dw.hpp --- a/dw.hpp Mon Jan 02 03:10:05 2023 +0000 +++ b/dw.hpp Mon Jan 02 13:49:59 2023 +0000 @@ -1,5 +1,5 @@ // Dynamic Windows C++ Language Bindings -// Copyright 2022 Brian Smith +// Copyright (C) 2022-2023 Brian Smith // Recommends a C++11 compatible compiler. #ifndef _HPP_DW diff -r 11fd5cf0ee99 -r edb4307ac7ce gtk/dw.c --- a/gtk/dw.c Mon Jan 02 03:10:05 2023 +0000 +++ b/gtk/dw.c Mon Jan 02 13:49:59 2023 +0000 @@ -3,7 +3,7 @@ * A GTK like cross-platform GUI * GTK forwarder module for portabilty. * - * (C) 2000-2022 Brian Smith + * (C) 2000-2023 Brian Smith * (C) 2003-2021 Mark Hessling * (C) 2002 Nickolay V. Shmyrev */ diff -r 11fd5cf0ee99 -r edb4307ac7ce gtk3/dw.c --- a/gtk3/dw.c Mon Jan 02 03:10:05 2023 +0000 +++ b/gtk3/dw.c Mon Jan 02 13:49:59 2023 +0000 @@ -3,7 +3,7 @@ * A GTK like cross-platform GUI * GTK3 forwarder module for portabilty. * - * (C) 2000-2022 Brian Smith + * (C) 2000-2023 Brian Smith * (C) 2003-2022 Mark Hessling * (C) 2002 Nickolay V. Shmyrev */ diff -r 11fd5cf0ee99 -r edb4307ac7ce gtk4/dw.c --- a/gtk4/dw.c Mon Jan 02 03:10:05 2023 +0000 +++ b/gtk4/dw.c Mon Jan 02 13:49:59 2023 +0000 @@ -3,7 +3,7 @@ * A GTK like cross-platform GUI * GTK4 forwarder module for portabilty. * - * (C) 2000-2022 Brian Smith + * (C) 2000-2023 Brian Smith * (C) 2003-2022 Mark Hessling */ #include "dwconfig.h" diff -r 11fd5cf0ee99 -r edb4307ac7ce ios/dw.m --- a/ios/dw.m Mon Jan 02 03:10:05 2023 +0000 +++ b/ios/dw.m Mon Jan 02 13:49:59 2023 +0000 @@ -2,7 +2,7 @@ * Dynamic Windows: * A GTK like implementation of the iOS GUI * - * (C) 2011-2022 Brian Smith + * (C) 2011-2023 Brian Smith * (C) 2011-2021 Mark Hessling * (C) 2017 Ralph Shane (Base tree view implementation) * diff -r 11fd5cf0ee99 -r edb4307ac7ce license.txt --- a/license.txt Mon Jan 02 03:10:05 2023 +0000 +++ b/license.txt Mon Jan 02 13:49:59 2023 +0000 @@ -1,6 +1,9 @@ -Copyright (c) 2000-2021, Brian Smith -Copyright (c) 2003-2020, Mark Hessling +Copyright (c) 2000-2023, Brian Smith +Copyright (c) 2003-2022, Mark Hessling +Copyright (c) 2022, Amr Hesham +Copyright (c) 2019, Anton Popov +Copyright (c) 2017, Ralph Shane Copyright (c) 2007, Alex Taylor Copyright (c) 2002, Nickolay V. Shmyrev Copyright (c) 2000, Achim Hasenmueller diff -r 11fd5cf0ee99 -r edb4307ac7ce mac/dw.m --- a/mac/dw.m Mon Jan 02 03:10:05 2023 +0000 +++ b/mac/dw.m Mon Jan 02 13:49:59 2023 +0000 @@ -2,7 +2,7 @@ * Dynamic Windows: * A GTK like implementation of the MacOS GUI using Cocoa * - * (C) 2011-2022 Brian Smith + * (C) 2011-2023 Brian Smith * (C) 2011-2021 Mark Hessling * * Requires 10.5 or later. diff -r 11fd5cf0ee99 -r edb4307ac7ce os2/dw.c --- a/os2/dw.c Mon Jan 02 03:10:05 2023 +0000 +++ b/os2/dw.c Mon Jan 02 13:49:59 2023 +0000 @@ -2,7 +2,7 @@ * Dynamic Windows: * A GTK like implementation of the PM GUI * - * (C) 2000-2022 Brian Smith + * (C) 2000-2023 Brian Smith * (C) 2003-2021 Mark Hessling * (C) 2000 Achim Hasenmueller * (C) 2000 Peter Nielsen diff -r 11fd5cf0ee99 -r edb4307ac7ce readme.txt --- a/readme.txt Mon Jan 02 03:10:05 2023 +0000 +++ b/readme.txt Mon Jan 02 13:49:59 2023 +0000 @@ -1,8 +1,8 @@ This is a stable release of Dynamic Windows version 3.3. The current Dynamic Windows source base is considered stable on: -OS/2, Mac, Windows, Linux, FreeBSD and OpenSolaris. -The source base is considered beta on: iOS, Android and GTK4. +OS/2, Mac, Windows, Linux, FreeBSD, OpenSolaris and iOS. +The source base is considered beta an Android, alpha on C++. Build Recommendations: MacOS: @@ -25,6 +25,17 @@ 2000: Visual Studio 2005. Remove -DAEROGLASS from CFLAGS. Should run on 2000 and later, no Aero, Notifications, WebView2 and oldsockpipe() on all versions. +C++: Recommends a C++11 compatible compiler. + MacOS: PowerPC GCC 6 from Tiger Brew. + Intel Apple Clang from Xcode 4.1 or later. + Apple Silicon any supported Apple Clang. + Windows: Visual Studio 2015, recent Clang-cl or MingW32. + Linux/FreeBSD: GCC 4.8.1 or Clang 3.3 recommended. + OS/2: GCC 9.2 from Bitwise Works. + + If you build with a pre-C++11 compiler features will be + disabled, and you may ended up building an extremely + simplified sample application instead of the full one. Known problems: @@ -47,8 +58,12 @@ 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. +Some widget may not be completely created when the widget handle is +returned. Some need to be setup such as Container controls on GTK, +and others need to be packed before they are finalized. Once setup +and packed it is completely safe to operate on widgets. If you choose +to operate on widgets before setup and/or packed, then it depends +on the platform if it will work or not. Changes from version 3.2: WARNING: Fixed an API inconsistency in dw_notebook_page_destroy/set(). @@ -77,7 +92,7 @@ Dynamic Windows Documentation is available at: -http://dbsoft.org/dw_help.php +https://dbsoft.org/dw_help.php If you have any questions or suggestions feel free to email me at: diff -r 11fd5cf0ee99 -r edb4307ac7ce template/dw.c --- a/template/dw.c Mon Jan 02 03:10:05 2023 +0000 +++ b/template/dw.c Mon Jan 02 13:49:59 2023 +0000 @@ -2,7 +2,7 @@ * Dynamic Windows: * A GTK like GUI implementation template. * - * (C) 2011-2022 Brian Smith + * (C) 2011-2023 Brian Smith * (C) 2011-2022 Mark Hessling * * Compile with $CC -I. -D__TEMPLATE__ template/dw.c diff -r 11fd5cf0ee99 -r edb4307ac7ce win/dw.c --- a/win/dw.c Mon Jan 02 03:10:05 2023 +0000 +++ b/win/dw.c Mon Jan 02 13:49:59 2023 +0000 @@ -2,7 +2,7 @@ * Dynamic Windows: * A GTK like implementation of the Win32 GUI * - * (C) 2000-2022 Brian Smith + * (C) 2000-2023 Brian Smith * (C) 2003-2021 Mark Hessling * */