changeset 2947:edb4307ac7ce

Update copyright date, readme, license and changelog for upcoming release.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 02 Jan 2023 13:49:59 +0000
parents 11fd5cf0ee99
children d836f3aefbea
files android/DWindows.kt android/dw.cpp debian/changelog dw.hpp gtk/dw.c gtk3/dw.c gtk4/dw.c ios/dw.m license.txt mac/dw.m os2/dw.c readme.txt template/dw.c win/dw.c
diffstat 14 files changed, 60 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- 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 <brian@dbsoft.org>
+// (C) 2021-2023 Brian Smith <brian@dbsoft.org>
 // (C) 2019 Anton Popov (Color Picker)
 // (C) 2022 Amr Hesham (Tree View)
 package org.dbsoft.dwindows
--- 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 <brian@dbsoft.org>
+ * (C) 2011-2023 Brian Smith <brian@dbsoft.org>
  * (C) 2011-2022 Mark Hessling <mark@rexx.org>
  *
  * Requires Android API 23 (Marshmallow) or higher.
--- 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 <brian@dbsoft.org>  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 <brian@dbsoft.org>  Wed, 6 Jan 2022 08:00:00 +1000
+ -- Brian Smith <brian@dbsoft.org>  Thu, 6 Jan 2022 08:00:00 +1000
  
 dwindows (3.1-1) unstable; urgency=low
 
--- 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
--- 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 <brian@dbsoft.org>
+ * (C) 2000-2023 Brian Smith <brian@dbsoft.org>
  * (C) 2003-2021 Mark Hessling <mark@rexx.org>
  * (C) 2002 Nickolay V. Shmyrev <shmyrev@yandex.ru>
  */
--- 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 <brian@dbsoft.org>
+ * (C) 2000-2023 Brian Smith <brian@dbsoft.org>
  * (C) 2003-2022 Mark Hessling <mark@rexx.org>
  * (C) 2002 Nickolay V. Shmyrev <shmyrev@yandex.ru>
  */
--- 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 <brian@dbsoft.org>
+ * (C) 2000-2023 Brian Smith <brian@dbsoft.org>
  * (C) 2003-2022 Mark Hessling <mark@rexx.org>
  */
 #include "dwconfig.h"
--- 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 <brian@dbsoft.org>
+ * (C) 2011-2023 Brian Smith <brian@dbsoft.org>
  * (C) 2011-2021 Mark Hessling <mark@rexx.org>
  * (C) 2017 Ralph Shane (Base tree view implementation)
  *
--- 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 <brian@dbsoft.org>
-Copyright (c) 2003-2020, Mark Hessling <mark@rexx.org>
+Copyright (c) 2000-2023, Brian Smith <brian@dbsoft.org>
+Copyright (c) 2003-2022, Mark Hessling <mark@rexx.org>
+Copyright (c) 2022, Amr Hesham <amr96@programmer.net>
+Copyright (c) 2019, Anton Popov <panton295@gmail.com>
+Copyright (c) 2017, Ralph Shane <wenjiebiz@outlook.com>
 Copyright (c) 2007, Alex Taylor
 Copyright (c) 2002, Nickolay V. Shmyrev <shmyrev@yandex.ru>
 Copyright (c) 2000, Achim Hasenmueller <achimha@innotek.de>
--- 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 <brian@dbsoft.org>
+ * (C) 2011-2023 Brian Smith <brian@dbsoft.org>
  * (C) 2011-2021 Mark Hessling <mark@rexx.org>
  *
  * Requires 10.5 or later.
--- 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 <brian@dbsoft.org>
+ * (C) 2000-2023 Brian Smith <brian@dbsoft.org>
  * (C) 2003-2021 Mark Hessling <mark@rexx.org>
  * (C) 2000 Achim Hasenmueller <achimha@innotek.de>
  * (C) 2000 Peter Nielsen <peter@pmview.com>
--- 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:
 
--- 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 <brian@dbsoft.org>
+ * (C) 2011-2023 Brian Smith <brian@dbsoft.org>
  * (C) 2011-2022 Mark Hessling <mark@rexx.org>
  *
  * Compile with $CC -I. -D__TEMPLATE__ template/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 <brian@dbsoft.org>
+ * (C) 2000-2023 Brian Smith <brian@dbsoft.org>
  * (C) 2003-2021 Mark Hessling <mark@rexx.org>
  *
  */