log

age author description
Mon, 27 Apr 2020 08:55:40 +0000 bsmith Win: Updated Edge (Chromium) support for WebView2 SDK 0.9.488.
Mon, 20 Apr 2020 20:24:05 +0000 bsmith Mac: Minor update to dw_environment_query(). Improve safety and remove unused code.
Mon, 20 Apr 2020 19:22:37 +0000 bsmith GTK: Update ancient unsafe code in dw_environment_query() on Unix.
Fri, 17 Apr 2020 20:45:31 +0000 bsmith GTK: Fix check for webkit when pkg-config returns a library path first.
Thu, 16 Apr 2020 13:34:36 +0000 bsmith GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
Mon, 02 Mar 2020 15:25:04 +0000 bsmith Win: Update Edge (Chromium) support for the 0.9.430 WebView2 SDK release.
Fri, 03 Jan 2020 23:01:26 +0000 bsmith Win: Ming-W64 8.1 gcc complains that members are unsigned int.
Tue, 31 Dec 2019 23:35:59 +0000 bsmith Win: Fix warnings when compiling with mingw32 gcc 5.1.
Sat, 14 Dec 2019 15:08:18 +0000 bsmith GTK3: Eliminate warnings generated when calling dw_window_destroy() on
Sat, 07 Dec 2019 04:16:35 +0000 bsmith GTK3: Fix building with no webkit libraries installed at all.
Wed, 04 Dec 2019 01:22:38 +0000 bsmith Win: Fixed a couple of type warnings reported by Visual C.
Mon, 02 Dec 2019 09:06:53 +0000 bsmith Fixed swapped parameters in web_html_result in the test program.
Mon, 02 Dec 2019 09:00:28 +0000 bsmith GTK3: User and Script data parameters to HTML_RESULT handler were swapped.
Mon, 02 Dec 2019 03:49:09 +0000 bsmith Win: Edge (Chromium) HTML_RESULT returns a quoted result which needs to be removed.
Sat, 30 Nov 2019 23:07:09 +0000 bsmith GTK3: Warn that DW_SIGNAL_HTML_RESULT will not be generated when connecting
Sat, 30 Nov 2019 21:33:23 +0000 bsmith Win: Fixed HTML_RESULT returning the actual result in embedded IE.
Sat, 30 Nov 2019 13:34:01 +0000 bsmith Win: Attempt to move to Invoke(eval) from the deprecated execScript() method.
Sat, 30 Nov 2019 10:43:55 +0000 bsmith Win: Imported some changes from the dark mode example app I've been following.
Mon, 25 Nov 2019 12:17:26 +0000 bsmith Win: Fix another Edge HTML crash on exit, under certain circumstances.
Mon, 25 Nov 2019 05:01:14 +0000 bsmith Minor formatting fix from that last commit.
Mon, 25 Nov 2019 04:47:43 +0000 bsmith Win: Make HTML_RESULT event match other platforms and disable dev tools when not DEBUG.
Mon, 25 Nov 2019 03:16:45 +0000 bsmith Win: Fix Edge/Chromium HTML widgets in notebook/tabbed widgets not being visible.
Sun, 24 Nov 2019 22:42:55 +0000 bsmith Win: Fix crash on Edge HTML widget destruction.
Sun, 24 Nov 2019 21:01:46 +0000 bsmith Win: Rewrite edge.cpp using C++ classes, EdgeBrowser and EdgeWebView.
Sun, 24 Nov 2019 06:59:52 +0000 bsmith Win: Only create one environment during dw_edge_detect() ... if it fails there is no Edge.
Tue, 19 Nov 2019 04:08:30 +0000 mhessling Move saved_thread so it compiles on non-webkit2
Sun, 17 Nov 2019 06:55:05 +0000 bsmith OS/2: Last set of const changes, this time for OS/2.
Sun, 17 Nov 2019 05:35:00 +0000 bsmith Win: Hopefully finally const changes for Windows. OS/2 to go.
Sun, 17 Nov 2019 05:21:01 +0000 bsmith Mac: Continuing const changes. Hopefully last Mac commit.
Sun, 17 Nov 2019 05:16:04 +0000 bsmith GTK: More const changes... a few more commits to finish.
Sun, 17 Nov 2019 04:07:39 +0000 bsmith Mac: Const changes to match the Windows changes.
Sun, 17 Nov 2019 03:13:37 +0000 bsmith Visual C in C++ mode complains about missing const declarations in paramaters.
Sat, 16 Nov 2019 09:43:17 +0000 bsmith Win: Added callback handlers to generate the HTML_CHANGED signals using Edge (Chromium).
Fri, 15 Nov 2019 04:26:18 +0000 bsmith Mac: Put back the delayed setNeedsDisplay workaround for Mojave only.
Fri, 15 Nov 2019 03:31:17 +0000 bsmith Mac: Removed delayed setNeedsDisplay:YES to fix the incorrect dwtest file
Thu, 14 Nov 2019 12:08:54 +0000 bsmith GTK3: Fix deadlock when calling dw_messagebox() from HTML_RESULT event
Tue, 12 Nov 2019 00:26:10 +0000 bsmith Remove hardcoded "gcc" to fix building on systems without gcc.
Tue, 12 Nov 2019 00:19:09 +0000 bsmith GTK3: Fixes for building on older webkit2gtk versions.
Mon, 11 Nov 2019 22:31:43 +0000 bsmith GTK3: Rewrite dw_messagebox() to use the GTK dialog system.
Mon, 11 Nov 2019 19:12:53 +0000 bsmith Last change also allows removing Windows specific #ifdef.
Mon, 11 Nov 2019 19:10:22 +0000 bsmith Include "dwcompat.h" in the test program for the system macros.
Mon, 11 Nov 2019 18:29:23 +0000 bsmith Win: Minor fix, using wrong union member. Use the unsigned long long value.
Sat, 09 Nov 2019 07:43:04 +0000 bsmith Mac: Added cleanup to the DWWebView subclasses and userdata for dw_window_set_data() on it.
Sat, 09 Nov 2019 07:18:21 +0000 bsmith Win: Switch to using _wcsicmp() from CompareStringOrdinal() for increased compatibility.
Sat, 09 Nov 2019 06:33:08 +0000 bsmith Win: get_HWND method does not seem to be working, so use Set/GetProperty()
Fri, 08 Nov 2019 13:06:47 +0000 bsmith Mac: Implemented DW_SIGNAL_HTML_RESULT for all versions.
Fri, 08 Nov 2019 12:37:37 +0000 bsmith Win: Implemented the STARTED and COMPLETE signals for DW_SIGNAL_HTML_CHANGED for IE.
Fri, 08 Nov 2019 09:49:16 +0000 bsmith Win: Fix dw_html_javascript_run() when using embedded IE browser widget.
Fri, 08 Nov 2019 07:20:17 +0000 bsmith Win: Attempt to add event handler to capture DocumentComplete with embedded IE.
Thu, 07 Nov 2019 11:18:46 +0000 bsmith Win: First attempt at implmenting dw_html_javascript_run() for embedded IE....
Thu, 07 Nov 2019 10:12:25 +0000 bsmith Win: Added support for dw_html_javascript_run() using Edge (Chromium).
Thu, 07 Nov 2019 08:11:28 +0000 bsmith Mac: Added support on MacOS versions that only support WebView.
Thu, 07 Nov 2019 07:00:32 +0000 bsmith Mac: Added DW_SIGNAL_HTML support on Mac when using WKWebView.
Thu, 07 Nov 2019 05:26:04 +0000 bsmith Mac: Implement dw_html_javascript_run() so things build again.
Thu, 07 Nov 2019 04:49:04 +0000 bsmith GTK2: Added dw_html_javascript_run() and DW_SIGNAL_HTML_CHANGED support.
Thu, 07 Nov 2019 02:07:49 +0000 bsmith Added a number of possible javascript snippets to test.
Thu, 07 Nov 2019 01:39:52 +0000 bsmith Added controls to the test HTML widget, with a field to run javascript.
Thu, 07 Nov 2019 00:37:23 +0000 bsmith GTK: Fix html changed callbacks when using webkit1.
Wed, 06 Nov 2019 14:37:01 +0000 bsmith GTK3: Enable javascript and use webkit_web_view_execute_script() when using
Wed, 06 Nov 2019 13:09:31 +0000 bsmith GTK: Added DW_SIGNAL_HTML_CHANGED and DW_SIGNAL_HTML_RESULT.
Wed, 06 Nov 2019 08:48:49 +0000 bsmith GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
Tue, 05 Nov 2019 21:06:23 +0000 bsmith Mac: Fix building on 10.9 and earlier due to changed constant names.
Tue, 05 Nov 2019 11:58:07 +0000 bsmith GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
Mon, 04 Nov 2019 01:15:03 +0000 mhessling Fix setting/getting dates in dw_calendar under macos. Only tested on Mojave. Sorry about the white space changes.
Thu, 31 Oct 2019 21:28:32 +0000 bsmith Win: Fixes for Edge (Chromium) embedding, the loading can be delayed so...
Thu, 31 Oct 2019 08:26:58 +0000 bsmith Changes to allow mixing C and C++ when including dw.h.
Thu, 31 Oct 2019 07:01:35 +0000 bsmith Win: Add initial support for Microsoft Edge (Chromium) embedding.
Fri, 25 Oct 2019 22:37:52 +0000 bsmith Mac: Add an exception to Info.plist to allow insecure URL loads on 10.11.
Thu, 24 Oct 2019 23:57:51 +0000 bsmith Win: Fixed a number of Visual C warnings show in the IDE.
Wed, 16 Oct 2019 21:47:10 +0000 bsmith Mac: Clang didn't like the loss of precision without a cast from the previous change.
Wed, 16 Oct 2019 20:56:44 +0000 bsmith Mac: Fix typecast to int of different size with gcc for 32bit.
Sat, 21 Sep 2019 15:41:57 +0000 bsmith Mac: Some minor code cleanup in the SDK section.
Sat, 21 Sep 2019 15:34:24 +0000 bsmith Mac: Fix compilation with the Catalina 10.15 SDK.
Tue, 17 Sep 2019 21:49:36 +0000 bsmith OS/2: Fix compilation error with Watcom C on OS/2.
Mon, 16 Sep 2019 19:12:39 +0000 bsmith OS/2: Move internal snprintf() into dw.h and dwcompat.h so it can be used
Mon, 16 Sep 2019 17:48:21 +0000 bsmith OS/2: Mostly safe snprintf() for VisualAge.
Mon, 16 Sep 2019 08:58:58 +0000 bsmith Fix potential buffer overflow scenarios, reported by gcc fortify.
Mon, 16 Sep 2019 00:16:36 +0000 bsmith Win: Fix building on Windows XP with SDK 7.1.
Sun, 15 Sep 2019 23:02:16 +0000 bsmith OS/2: Fix memory and HAB/HMQ leak when compiled with Watcom C.
Sat, 07 Sep 2019 16:47:45 +0000 bsmith Mac: dw_percent_set_pos() does not update the position when not called from
Tue, 03 Sep 2019 16:58:09 +0000 bsmith Mac: Rewrite dw_messagebox() to make it thread safe on Mojave.
Mon, 02 Sep 2019 00:30:19 +0000 bsmith Mac: Fix building on MacOS 10.7 Lion.
Sun, 01 Sep 2019 18:49:03 +0000 bsmith Mac: Fix building for MacOS 10.10 Yosemite.
Tue, 13 Aug 2019 19:34:27 +0000 bsmith Win: Remove notebook subclass, it looks like we need to go full owner
Tue, 13 Aug 2019 09:12:05 +0000 bsmith Win: Temporary fix for toolbar display issues with partial dark mode.
Tue, 13 Aug 2019 06:35:13 +0000 bsmith Win: Disable window styles for checkboxes, radio buttons and groupboxes.
Tue, 13 Aug 2019 00:20:52 +0000 bsmith Win: Fix groupbox label background color in dark mode by subclassing the frame.
Thu, 08 Aug 2019 18:15:00 +0000 bsmith Win: Improved the last commit so it handles custom color overrides not just dark mode.
Thu, 08 Aug 2019 08:44:18 +0000 bsmith Win: We now draw status windows ourselves in dark mode and use DrawStatusText() otherwise.
Wed, 07 Aug 2019 08:26:18 +0000 bsmith Win: Changes to select different stripe colors based on dark mode.
Wed, 07 Aug 2019 00:25:15 +0000 bsmith Win: Added partial or full dark mode support for containers, trees and toolbars.
Tue, 06 Aug 2019 22:52:23 +0000 bsmith Mac: Removed an unnecessary retain in the macros that was causing a
Tue, 06 Aug 2019 21:44:58 +0000 bsmith Win: Continuing work on dark mode... added a full dark mode setting.
Tue, 06 Aug 2019 18:25:21 +0000 bsmith Win: Add AllowDarkModeForWindow() to _dw_box_pack() internal function so widgets packed into live (alread shown) windows also get the dark mode flag set.
Mon, 05 Aug 2019 15:38:21 +0000 bsmith Win: Change to allow dark mode for the folder browser window.
Fri, 02 Aug 2019 13:32:38 +0000 bsmith Win: Basic dark mode support functioning and enabled, the title bar and menus and file dialogs now obey the system dark mode setting for Apps.
Fri, 02 Aug 2019 00:44:52 +0000 bsmith Win: More Dark Mode work, code based on information found on github...
Thu, 01 Aug 2019 02:24:03 +0000 bsmith Mac: Add setting to Info.plist that allows insecure URLs in embedded HTML.
Wed, 31 Jul 2019 22:22:58 +0000 bsmith Mac: Another attempt at fixing the drawRect issue, the last fix resulted in
Tue, 30 Jul 2019 07:53:57 +0000 bsmith Win: First attempt at enabling Dark Mode support, mixed results... some changes.
Sun, 28 Jul 2019 23:41:53 +0000 bsmith Mac: Fixed an issue with render widgets not displaying after a drawRect
Sat, 27 Jul 2019 20:50:48 +0000 bsmith Win: Initial code to handle the new dark mode in Windows 10 build 1809.
Fri, 26 Jul 2019 23:20:54 +0000 bsmith Mac: Miscellaneous container/listox fixes. Add a single pixel to the column
Fri, 26 Jul 2019 21:54:14 +0000 bsmith Added PID to the unix domain socket name, to avoid conflicts from multiple
Fri, 26 Jul 2019 07:08:53 +0000 bsmith Win: I guess C:\Windows\Temp might not always be writable, so use getenv("TEMP") instead.
Fri, 26 Jul 2019 06:58:41 +0000 bsmith Win: Switch to using winsock 2.x, this will remove support for ancient versions of Windows like 95 and NT 3.5 and older...
Thu, 25 Jul 2019 07:51:10 +0000 bsmith Mac: Switch to using NSAttributedString with foreground color set to
Thu, 25 Jul 2019 06:55:01 +0000 bsmith Mac: Moved even/odd color code into DWContainer class since
Wed, 24 Jul 2019 20:31:55 +0000 bsmith Mac: Initial code to support Dark Mode on Mojave.
Wed, 24 Jul 2019 18:51:57 +0000 bsmith Mac: Added code to avoid unused variable/parameter warnings.
Wed, 24 Jul 2019 17:22:19 +0000 bsmith Mac: Complete refactoring of the Mac code using a handful of macros.
Fri, 12 Jul 2019 17:41:13 +0000 bsmith Mac: 10.14 doesn't like too many needsDisplays so instead we keep a list of
Fri, 12 Jul 2019 02:03:09 +0000 bsmith Mac: Added a safeCall method to DWObject to make it easier to run things on
Thu, 11 Jul 2019 21:40:33 +0000 bsmith Mac: Attempting a better WKWebKit fix, use the WK_API_ENABLED constant to determine if the API is available.
Thu, 11 Jul 2019 09:50:30 +0000 bsmith Mac: Set needsDisplay=YES after acquiring the cachedBitmapRep so it will
Thu, 11 Jul 2019 09:34:44 +0000 bsmith Mac: Pass bi to _create_gc() instead of image. Needs to be NSBitmapImageRep.
Sat, 06 Jul 2019 18:57:29 +0000 bsmith Mac: Fix mojave #ifdefs so it builds pre-mojave.
Sat, 06 Jul 2019 18:44:25 +0000 bsmith Mac: Need to retain the cached render bitmap and recreate it on resize on
Sat, 06 Jul 2019 16:17:04 +0000 bsmith Mac: Fix pre-mojave build, cached render image not available.
Sat, 06 Jul 2019 15:57:53 +0000 bsmith Mac: Massive rewrite to the drawing code in an attempt to get NSView