Changes between Version 3 and Version 4 of Dynamic Windows News Archive
- Timestamp:
- May 14, 2021, 10:22:58 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Dynamic Windows News Archive
v3 v4 34 34 * Changed to using GTK3 by default instead of GTK2. --with-gtk2 is now available. 35 35 * Changed to using winsock2 on Windows ending support for Win95 and NT 3.5. 36 * Changed to using Rich Edit for MLE controls on Windows. This can be disabled with: 37 dw_feature_set(DW_FEATURE_MLE_RICH_EDIT, DW_FEATURE_DISABLED); 36 * Changed to using Rich Edit for MLE controls on Windows. This can be disabled with: dw_feature_set(DW_FEATURE_MLE_RICH_EDIT, DW_FEATURE_DISABLED); 38 37 * Added support for domain sockets on Windows 10 in the dwcompat sockpipe() macro. 39 38 If compiled with Visual Studio 2017 or later, otherwise the old method is used. 40 * Added dw_feature_set/get() to test if certain features are available on the current 41 library and operating system combination at runtime or enabled/disable features. 42 * Added support for GResource embedded images on GTK2/3 with GLib 2.32. The old 43 resouce system is still available via configure --with-deprecated if needed. 39 * Added dw_feature_set/get() to test if certain features are available on the current library and operating system combination at runtime or enabled/disable features. 40 * Added support for GResource embedded images on GTK2/3 with GLib 2.32. The old resouce system is still available via configure --with-deprecated if needed. 44 41 * Added support for NSView based Tree, Container and Listbox widgets on Mac 10.7+. 45 42 * Removed DW_FCF_COMPOSITED support from Windows 8 and higher. 46 43 This flag will still function to create a glass effect on Windows Vista and 7. 47 The transparent key feature used to create it causes issues on 8 and 10, plus 48 the glass effect, the main reason for the flag was removed in Windows 8. 44 The transparent key feature used to create it causes issues on 8 and 10, plus the glass effect, the main reason for the flag was removed in Windows 8. 49 45 * Removed the incomplete Photon port. 50 46 … … 53 49 * Changed DW_CLR_DEFAULT behavior to improve consistency. 54 50 * Added dw_signal_connect_data() which features a callback on signal disconnection. 55 * Improvements for building on 64bit Windows with MinGW. 56 Window styles, HTML and Toolbar widgets are now supported. 57 * Added dw_shutdown() for use when shutting down Dynamic Windows but not quite ready 58 to exit immediately. (Functions like dw_exit() without the exit()) 51 * Improvements for building on 64bit Windows with MinGW. Window styles, HTML and Toolbar widgets are now supported. 52 * Added dw_shutdown() for use when shutting down Dynamic Windows but not quite ready to exit immediately. (Functions like dw_exit() without the exit()) 59 53 * Separated the container "title" (string) and "data" (pointer) into separate spaces. 60 The "classic" functions which take (char *) parameters now maintain their 61 own string memory backing so you no longer need to keep the data available. 54 The "classic" functions which take (char *) parameters now maintain their own string memory backing so you no longer need to keep the data available. 62 55 * Removed dw_container_set_row_data() and dw_container_change_row_data() macros. 63 56 * Added dw_container_set_row_data() and dw_container_change_row_data() functions. 64 * Removed the "_dw_textcomp" container data flag, dw_container_cursor() and 65 dw_container_delete_row() which take (char *) now function in text compare mode. 66 * Added dw_container_cursor_by_data() and dw_container_delete_row_by_data() 67 functions which do the same things except in pointer comparison mode. 68 * Added DW_CR_RETDATA flag to dw_container_query_*() functions to return the 69 data pointer instead of the string pointer, this may change in the future. 70 * Added exported internal functions _dw_init_thread() and _dw_deinit_thread() 71 for language bindings to setup/cleanup threads created for DW use. 57 * Removed the "_dw_textcomp" container data flag, dw_container_cursor() and dw_container_delete_row() which take (char *) now function in text compare mode. 58 * Added dw_container_cursor_by_data() and dw_container_delete_row_by_data() functions which do the same things except in pointer comparison mode. 59 * Added DW_CR_RETDATA flag to dw_container_query_*() functions to return the data pointer instead of the string pointer, this may change in the future. 60 * Added exported internal functions _dw_init_thread() and _dw_deinit_thread() for language bindings to setup/cleanup threads created for DW use. 72 61 * Fixed some memory leaks. 73 * WARNING: Changed how tree and container titles are returned, they are now duplicated 74 and need to be freed with dw_free(). This affects the following functions: 62 * WARNING: Changed how tree and container titles are returned, they are now duplicated and need to be freed with dw_free(). This affects the following functions: 75 63 dw_tree_get_title(), dw_container_query_start() and dw_container_query_next() 76 64 You should audit any code using these functions for leaks if using verison 3. … … 78 66 Changes from version 2.4: 79 67 * Added dw_window_set_focus() to focus a widget after the window is shown 80 * Added DW_FCF_TEXTURED flag on Mac, which enables textured backgrounds 81 which had been the default on Mac prior to 2.5. 68 * Added DW_FCF_TEXTURED flag on Mac, which enables textured backgrounds which had been the default on Mac prior to 2.5. 82 69 * Added keyboard support for non-entryfield controls on Mac. 83 * Added tab support for notebook controls on Windows and OS/2 and in 84 the process rewrote and optimized the existing tab code. 70 * Added tab support for notebook controls on Windows and OS/2 and in the process rewrote and optimized the existing tab code. 85 71 * Added bitmap button support for dw_window_set_bitmap(). 86 72 * Added full alpha channel support for bitmaps from file on GTK2. … … 90 76 * Fixed tab support for bitmap buttons which broke in 2.4 on Windows. 91 77 * Fixed a notebook crash early in creation on Mac. 92 * Fixed unusable scrollbars on Ubuntu Linux when overlay scrollbars 93 are enabled. We now disable overlay scrollbars when creating. 94 * Fixed dw_window_function() not working on non-toplevel windows on 95 Windows and OS/2. 78 * Fixed unusable scrollbars on Ubuntu Linux when overlay scrollbars are enabled. We now disable overlay scrollbars when creating. 79 * Fixed dw_window_function() not working on non-toplevel windows on Windows and OS/2. 96 80 * Fixed building 64bit with Visual C 2012 and MINGW gcc on Windows. 97 81 … … 102 86 ANSI builds are supported by removing -DUNICODE -D_UNICODE and -DAEROGLASS 103 87 * Added support for antialiased drawing on Windows via GDI+. 104 * Added UNICODE build mode on OS/2 using codepage 1208 (UTF-8) as the 105 active codepage; Non-Unicode mode will use the default codepage. 88 * Added UNICODE build mode on OS/2 using codepage 1208 (UTF-8) as the active codepage; Non-Unicode mode will use the default codepage. 106 89 * Added support for Control-Click on Mac for button press events. 107 90 * Added DW_POINTER() macro for casting parameters to (void *). 108 * Added dw_box_unpack() and dw_box_unpack_at_index() for removing items 109 from boxes without destroying them. Also allows removal of padding. 110 * Added GBM (Generalized Bitmap Module) support for OS/2 and eCS for loading 111 Non-OS/2 native file formats. GBM comes with eCS 1.2 and later. 91 * Added dw_box_unpack() and dw_box_unpack_at_index() for removing items from boxes without destroying them. Also allows removal of padding. 92 * Added GBM (Generalized Bitmap Module) support for OS/2 and eCS for loading Non-OS/2 native file formats. GBM comes with eCS 1.2 and later. 112 93 It is also available at http://hobbes.nmsu.edu 113 * Added resizing HICNs to 24x24 max size on platforms which do not 114 do it automatically (Mac and GTK). OS/2 and Windows limit the size. 94 * Added resizing HICNs to 24x24 max size on platforms which do not do it automatically (Mac and GTK). OS/2 and Windows limit the size. 115 95 * Added toolbar control support to replace existing bitmap buttons on Windows. 116 96 * Added dw_filesystem_set_column_title() to fill a hole in localization. … … 129 109 * Fixed an issue with dw_window_destroy() on Mac. 130 110 * Fixed issues rendering to printer pixmaps on Windows with GDI+ enabled. 131 * Fixed dw_window_set_bitmap_from_data() prefering the resource ID 132 over the data passed in on most platforms. 111 * Fixed dw_window_set_bitmap_from_data() prefering the resource ID over the data passed in on most platforms. 133 112 * Fixed dw_container_delete_row() failing and/or crashing on Mac. 134 113 * Fixed memory and resource leaks on Windows and Mac. 135 114 * Fixed incorrect display of status text fields on Mac 10.5 and 10.8. 136 * Fixed compiler warnings on Mac 10.5 and 10.8 by checking selectors directly 137 and removing use of now deprecated APIs. 115 * Fixed compiler warnings on Mac 10.5 and 10.8 by checking selectors directly and removing use of now deprecated APIs. 138 116 * Fixed incorrect display of textured background non-resizable windows on Mac. 139 117 * Updated the test program removing deprecated flags and using new ones.