annotate readme @ 1528:5facb5380944

Added dw_main_quit() function for exiting the dw_main() loop. Also some cleanups added to dw_exit() on OS/2 and Windows. Changed OS/2 to no longer destroy the message queue when leaving dw_main()... it should be done in dw_exit().
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 05 Jan 2012 15:45:11 +0000
parents 026c0b4d6ee9
children 783a464afab2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1371
896347a9be19 Initial versions of dw_menu_delete_item() on OS/2 and Windows.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1350
diff changeset
1 This is a preview release of Dynamic Windows version 2.3.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2
1111
6782c2c722f4 Added information to the readme regarding potential issues upgrading to 2.1 on Windows and Lion.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1108
diff changeset
3 The current Dynamic Windows source base is considered stable on:
1083
78d425edec46 Updates to the readme for version 2.1 (in progress).
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1043
diff changeset
4 OS/2, Mac, Windows, Linux, FreeBSD and Solaris.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6 Known problems:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7
1043
49a53cf864c1 Fixed a typo and clarified one of the known issues which had been outdated
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1015
diff changeset
8 Boxes with no expandable items will have their contents centered on
1153
f219ae018dd3 Updated readme with information from the 2.2 changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1111
diff changeset
9 GTK2 instead of top or left justified on the other platforms.
1083
78d425edec46 Updates to the readme for version 2.1 (in progress).
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1043
diff changeset
10 GTK3 due to changes in the core architecture does not support
78d425edec46 Updates to the readme for version 2.1 (in progress).
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1043
diff changeset
11 widgets that are smaller than what is contained within them
78d425edec46 Updates to the readme for version 2.1 (in progress).
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1043
diff changeset
12 unless they use scrolled windows. GTK2 and other platforms do.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
13
64
c2a10ed13d1f Added documentation of know platform limitations.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 50
diff changeset
14 Known limitations:
c2a10ed13d1f Added documentation of know platform limitations.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 50
diff changeset
15
189
230686a7eba9 Fixed typos.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 188
diff changeset
16 It is not safe on all platforms to operate on widgets before they
1014
4493daea5886 Added important information about the status of MDI support to the readme.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1013
diff changeset
17 are packed. For portability pack widgets before operating on them.
64
c2a10ed13d1f Added documentation of know platform limitations.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 50
diff changeset
18
1011
ea15fee48da8 Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 189
diff changeset
19 On Mac if performing Dynamic Windows operations on secondary
ea15fee48da8 Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 189
diff changeset
20 threads which do not terminate, it may be required to call
ea15fee48da8 Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 189
diff changeset
21 a Mac specific DW function _dw_pool_drain() at the end of the
ea15fee48da8 Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 189
diff changeset
22 thread's loop to prevent memory leaks.
ea15fee48da8 Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 189
diff changeset
23
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
24 Future features:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
25
1350
4333b58d879d Upped the version number to 2.2. Added a Version file to reduce the number of places
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1340
diff changeset
26 OS/2 is currently missing the HTML widget because the system does
4333b58d879d Upped the version number to 2.2. Added a Version file to reduce the number of places
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1340
diff changeset
27 not support it by default. Looking into importing functionality
4333b58d879d Upped the version number to 2.2. Added a Version file to reduce the number of places
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1340
diff changeset
28 from available libraries (Firefox, Webkit, Qt, etc).
1011
ea15fee48da8 Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 189
diff changeset
29
1371
896347a9be19 Initial versions of dw_menu_delete_item() on OS/2 and Windows.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1350
diff changeset
30 Changes from version 2.2:
896347a9be19 Initial versions of dw_menu_delete_item() on OS/2 and Windows.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1350
diff changeset
31 Added dw_menu_delete_item() for removing menu items.
896347a9be19 Initial versions of dw_menu_delete_item() on OS/2 and Windows.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1350
diff changeset
32 Now you can use dw_window_destroy() on menu items handles also.
1386
fd1de4e9e542 Updated the readme and comments in the source files
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1371
diff changeset
33 Added dw_app_dir() which attempts to locate private application data
1413
28210f7941c7 Safety checks for -1 parameter to dw_box_pack*() for GTK3.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1394
diff changeset
34 for the current platform.
1389
0512fbb08abf Added dw_window_set_tooltip() for adding bubble help to most controls.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1386
diff changeset
35 Added dw_window_set_tooltip() for adding tooltips to most widgets.
1429
fbaec6e5df63 Added dw_window_get_preferred_size() which attempts to determine the size the system wants for the widget. This is useful when creating nice looking layouts.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1427
diff changeset
36 Added dw_window_get_preferred_size() for getting the size the system
fbaec6e5df63 Added dw_window_get_preferred_size() which attempts to determine the size the system wants for the widget. This is useful when creating nice looking layouts.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1427
diff changeset
37 thinks the widget should be, to aid in creating layouts.
1413
28210f7941c7 Safety checks for -1 parameter to dw_box_pack*() for GTK3.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1394
diff changeset
38 Added support for -1 size parameter to the dw_box_pack*() functions to
28210f7941c7 Safety checks for -1 parameter to dw_box_pack*() for GTK3.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1394
diff changeset
39 automatically figure out a suggested size for many controls.
1427
7b735226ab94 Simplified the widget color handling code on Windows.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1413
diff changeset
40 Added automatic window redraw support for OS/2, Windows and Mac.
1475
e0212278f794 Added dw_window_set_gravity() to the template and readme.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1469
diff changeset
41 Added dw_window_set_gravity() for enhanced window placement.
1496
8b84b752a363 Updated the readme with the latest changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1483
diff changeset
42 Added DW_GRAV_OBSTACLES support for using system obstacles as gravity
8b84b752a363 Updated the readme with the latest changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1483
diff changeset
43 anchor points on OS/2, Mac and Windows.
1475
e0212278f794 Added dw_window_set_gravity() to the template and readme.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1469
diff changeset
44 Added automatic window border detection on GTK.
e0212278f794 Added dw_window_set_gravity() to the template and readme.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1469
diff changeset
45 This eliminates the need for the DW_BORDER_* environment variables.
1427
7b735226ab94 Simplified the widget color handling code on Windows.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1413
diff changeset
46 Added Open Watcom compiler support for OS/2.
1434
2cca36ec3da6 Fixed automatic redrawing not occurring on OS/2 and Windows when changes were made from a button press handler.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1429
diff changeset
47 Added pseudo transparent background widget support on Windows and OS/2.
1427
7b735226ab94 Simplified the widget color handling code on Windows.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1413
diff changeset
48 If you set the background color of a widget to DW_RGB_TRANSPARENT...
7b735226ab94 Simplified the widget color handling code on Windows.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1413
diff changeset
49 it will attempt to use the background color of the parent.
7b735226ab94 Simplified the widget color handling code on Windows.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1413
diff changeset
50 Several types of widgets have this set by default now.
1440
c50f445e891a Fixed auto-sizing top-level Windows on Windows...
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1434
diff changeset
51 Added faster and less buggy layout engine 2.0 for OS/2, Windows and Mac.
1496
8b84b752a363 Updated the readme with the latest changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1483
diff changeset
52 Added auto-positioning on Mac; reimplemented auto-positioning on OS/2.
1523
026c0b4d6ee9 Initial implmentation of DW_DRAW_NOAA on Mac... only works on pixmaps right now.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1496
diff changeset
53 Added DW_DRAW_NOAA which can be passed to dw_draw_*() API functions
026c0b4d6ee9 Initial implmentation of DW_DRAW_NOAA on Mac... only works on pixmaps right now.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1496
diff changeset
54 that accept the flags parameter to disable anti-aliasing.
1528
5facb5380944 Added dw_main_quit() function for exiting the dw_main() loop.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1523
diff changeset
55 Added dw_main_quit() to cause the dw_main() message loop to return.
1440
c50f445e891a Fixed auto-sizing top-level Windows on Windows...
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1434
diff changeset
56 Fixed auto-sizing top-level windows on Windows; added on OS/2 and Mac.
1386
fd1de4e9e542 Updated the readme and comments in the source files
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1371
diff changeset
57 Fixed bubble help not being displayed on Windows.
fd1de4e9e542 Updated the readme and comments in the source files
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1371
diff changeset
58 Fixed menu bar items remaining highlighted on Mac.
1483
73f2ad84d4ec Fixed OS/2 windows being shown when setting position/size.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1475
diff changeset
59 Fixed OS/2 and Windows showing windows during dw_window_set_pos/size().
73f2ad84d4ec Fixed OS/2 windows being shown when setting position/size.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1475
diff changeset
60 Deprecated DW_FCF_NOBYTEALIGN and DW_FCF_SHELLPOSITION flags.
1012
09c84a9aefe3 Added a basic changelog to the readme file from version 1.1.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1011
diff changeset
61
1011
ea15fee48da8 Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 189
diff changeset
62 Dynamic Windows Documentation is available at:
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
63
1015
ce4121a6f657 Updated the readme with the new URL to the Dynamic Windows Web Help Index....
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1014
diff changeset
64 http://dbsoft.org/dw_help.php
50
267b382442d6 Updated the readme.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
65
1011
ea15fee48da8 Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 189
diff changeset
66 If you have any questions or suggestions feel free to email me at:
ea15fee48da8 Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 189
diff changeset
67
ea15fee48da8 Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 189
diff changeset
68 brian@dbsoft.org
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
69
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
70 Thanks!
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
71
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
72 Brian Smith