# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1679893172 0 # Node ID ebb94fc2b19ff00c74858cdb08e8771ccf41c01d # Parent 81611e54ff1d5ba8d6c04a85fbbff13c35517cb3 Android: Implement the DW_FEATURE_HTML_MESSAGE feature tests. Also update the readme and mobile documents regarding Android version requirement changes. diff -r 81611e54ff1d -r ebb94fc2b19f android/dw.cpp --- a/android/dw.cpp Mon Mar 27 04:34:29 2023 +0000 +++ b/android/dw.cpp Mon Mar 27 04:59:32 2023 +0000 @@ -8202,6 +8202,7 @@ { case DW_FEATURE_HTML: /* Supports the HTML Widget */ case DW_FEATURE_HTML_RESULT: /* Supports the DW_SIGNAL_HTML_RESULT callback */ + case DW_FEATURE_HTML_MESSAGE: /* Supports the DW_SIGNAL_HTML_MESSAGE callback */ case DW_FEATURE_NOTIFICATION: /* Supports sending system notifications */ case DW_FEATURE_UTF8_UNICODE: /* Supports UTF8 encoded Unicode text */ case DW_FEATURE_MLE_WORD_WRAP: /* Supports word wrapping in Multi-line Edit boxes */ @@ -8243,6 +8244,7 @@ /* These features are supported but not configurable */ case DW_FEATURE_HTML: /* Supports the HTML Widget */ case DW_FEATURE_HTML_RESULT: /* Supports the DW_SIGNAL_HTML_RESULT callback */ + case DW_FEATURE_HTML_MESSAGE: /* Supports the DW_SIGNAL_HTML_MESSAGE callback */ case DW_FEATURE_NOTIFICATION: /* Supports sending system notifications */ case DW_FEATURE_UTF8_UNICODE: /* Supports UTF8 encoded Unicode text */ case DW_FEATURE_MLE_WORD_WRAP: /* Supports word wrapping in Multi-line Edit boxes */ diff -r 81611e54ff1d -r ebb94fc2b19f mobile.txt --- a/mobile.txt Mon Mar 27 04:34:29 2023 +0000 +++ b/mobile.txt Mon Mar 27 04:59:32 2023 +0000 @@ -83,7 +83,7 @@ "Package name" with "org.dbsoft.dwindows" "Save location" can be the default "Language" select "Kotlin" - "Minimum SDK" select "API 23: Android 6.0 (Marshmallow)" + "Minimum SDK" select "API 26: Android 8.0 (Oreo)" click "Next" 4. Select "Toolchain Default" and click "Finish" diff -r 81611e54ff1d -r ebb94fc2b19f readme.txt --- a/readme.txt Mon Mar 27 04:34:29 2023 +0000 +++ b/readme.txt Mon Mar 27 04:59:32 2023 +0000 @@ -1,4 +1,4 @@ -This is a stable release of Dynamic Windows version 3.3. +This is a stable release of Dynamic Windows version 3.4. The current Dynamic Windows source base is considered stable on: OS/2, Mac, Windows, Linux, FreeBSD, OpenSolaris and iOS. @@ -65,33 +65,14 @@ to operate on widgets before setup and/or packing, 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(). - 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. - On Windows x86 and x64 subdirectories are created automatically - This allows platform specific versions to be accessible without a - rebuild. Also removed the DWDLLDIR variable on Windows. If you have - DWLIBDIR pointing to the "lib" subdirectory please remove "\lib". -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(). -Added dw_pixmap_get_height() and dw_pixmap_get_width() APIs to - replace the DW_PIXMAP_HEIGHT() and DW_PIXMAP_WIDTH() macros. - This allows non-C bindings to call them directly. -Added support for MacOS 13 Ventura and iOS 16. +Changes from version 3.3: +Pushed up the Android requirements to Android 8 (API 26 Oreo). +Added dw_html_javascript_add() and DW_SIGNAL_HTML_MESSAGE. + This allows HTML embedded javascript to call into native code. + Supported on Windows, Mac, GTK3/4, iOS and Android. + Windows 7+ with Edge WebView2. MacOS 10.10+. + GTK3/4 with WebKitGTK 2 or higher. + iOS and Android, all supported versions. Dynamic Windows Documentation is available at: