Mercurial > dwindows
annotate readme @ 1311:5f3ce2b1e82d
Fixed DW_MENU_POPUP failing on OS/2 due to an invalid sanity check.
Updated the readme with menu and debug changes.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 04 Nov 2011 05:55:35 +0000 |
parents | b99b0b2c2826 |
children | 03f0bc85e7be |
rev | line source |
---|---|
1153
f219ae018dd3
Updated readme with information from the 2.2 changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1111
diff
changeset
|
1 This is a preview release of Dynamic Windows version 2.2.0. |
3 | 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 | 5 |
6 Known problems: | |
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. |
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
|
13 Mac version built on Lion with Xcode 4.1 in 64bit mode will encounter |
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
|
14 a compiler optimization problem with the default gcc compiler. |
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
|
15 The workaround is to disable optimization or use clang instead. |
3 | 16 |
64
c2a10ed13d1f
Added documentation of know platform limitations.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
50
diff
changeset
|
17 Known limitations: |
c2a10ed13d1f
Added documentation of know platform limitations.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
50
diff
changeset
|
18 |
189 | 19 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
|
20 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
|
21 |
1011
ea15fee48da8
Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
189
diff
changeset
|
22 On Unix (GTK) the window manager border is not a constant value |
ea15fee48da8
Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
189
diff
changeset
|
23 so environment variables DW_BORDER_WIDTH and DW_BORDER_HEIGHT |
189 | 24 are used for proper positioning. |
64
c2a10ed13d1f
Added documentation of know platform limitations.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
50
diff
changeset
|
25 |
1011
ea15fee48da8
Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
189
diff
changeset
|
26 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
|
27 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
|
28 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
|
29 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
|
30 |
3 | 31 Future features: |
32 | |
1011
ea15fee48da8
Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
189
diff
changeset
|
33 OS/2 is currently missing the Calendar and HTML widgets because |
ea15fee48da8
Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
189
diff
changeset
|
34 the system does not support them by default. Looking into writing |
ea15fee48da8
Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
189
diff
changeset
|
35 custom ones or importing functionality from available libraries. |
ea15fee48da8
Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
189
diff
changeset
|
36 |
1153
f219ae018dd3
Updated readme with information from the 2.2 changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1111
diff
changeset
|
37 Changes from version 2.1: |
f219ae018dd3
Updated readme with information from the 2.2 changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1111
diff
changeset
|
38 Added printing support via dw_print_new, dw_print_run and dw_print_cancel. |
f219ae018dd3
Updated readme with information from the 2.2 changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1111
diff
changeset
|
39 Added pixmap font override support. In prior versions when drawing |
f219ae018dd3
Updated readme with information from the 2.2 changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1111
diff
changeset
|
40 text to pixmaps the font set on the associated window handle is used. |
f219ae018dd3
Updated readme with information from the 2.2 changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1111
diff
changeset
|
41 dw_pixmap_set_font() can now override that font setting, and now |
f219ae018dd3
Updated readme with information from the 2.2 changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1111
diff
changeset
|
42 pixmaps without associated windows are supported and used in printing. |
1248
398ac8c90317
Updated readme with dw_pixmap_stretch_bitblt() addition.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1228
diff
changeset
|
43 Added dw_pixmap_stretch_bitblt() which allows for scaling during bitblt. |
398ac8c90317
Updated readme with dw_pixmap_stretch_bitblt() addition.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1228
diff
changeset
|
44 This function is necessary largely for very hi-res printer contexts. |
1159
1e0cd8dafdfb
Added more change information to the readme file.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1153
diff
changeset
|
45 Added dw_mutex_trylock() function to try to obtain a mutex without blocking. |
1e0cd8dafdfb
Added more change information to the readme file.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1153
diff
changeset
|
46 Added DW_TIMEOUT_INFINITE which can now be used with dw_event_wait() in |
1e0cd8dafdfb
Added more change information to the readme file.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1153
diff
changeset
|
47 addition to dw_named_event_wait(), to block until the event is posted. |
1194
d2f37fda40df
Updated the readme file with the latest changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1159
diff
changeset
|
48 Added DW_PERCENT_INDETERMINATE which can be passed to dw_percent_set_pos(). |
1198
1ef76e93db82
Added a simulated indeterminate state on OS/2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1196
diff
changeset
|
49 This should work on all platforms except old versions of Windows. |
1194
d2f37fda40df
Updated the readme file with the latest changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1159
diff
changeset
|
50 Added the subversion revision number as the third Dynamic Windows version |
1198
1ef76e93db82
Added a simulated indeterminate state on OS/2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1196
diff
changeset
|
51 number when building from a subversion source tree. |
1205
39a5f5fc7628
Added dw_container_set_row_data() and dw_container_change_row_data() macros which just call dw_container_set/change_row_title() but with (void *).
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1198
diff
changeset
|
52 Added dw_container_set_row_data() and dw_container_change_row_data() macros |
39a5f5fc7628
Added dw_container_set_row_data() and dw_container_change_row_data() macros which just call dw_container_set/change_row_title() but with (void *).
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1198
diff
changeset
|
53 which just call dw_container_set/change_row_title() but with (void *). |
1291
b99b0b2c2826
Renamed dw_container_set_row_bg() to dw_container_set_stripe().
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1275
diff
changeset
|
54 Added dw_container_set_stripe() to set alternating row colors. |
1221
10f5b8645975
Fixes to allow non-toplevel window handles in dw_taskbar_insert() on Windows.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1219
diff
changeset
|
55 Currently Mac, Win and GTK are supported. |
1248
398ac8c90317
Updated readme with dw_pixmap_stretch_bitblt() addition.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1228
diff
changeset
|
56 Added taskbar support on the Mac, GTK (Gnome) and OS/2 (e/XCenter+Systray). |
1255
363d859e8372
Fixed GDI+ loading files with no extension needed. Fixed the *_from_data() functions.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1248
diff
changeset
|
57 Added PNG/JPG/GIF/TIFF support on Windows via GDI+. |
1275
0b34e2cf0706
Updated dw_draw_rect and dw_draw_polygon to accept flags the same way as dw_draw_arc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1255
diff
changeset
|
58 Added dw_draw_arc() function for drawing arcs, ellipses and circles. |
0b34e2cf0706
Updated dw_draw_rect and dw_draw_polygon to accept flags the same way as dw_draw_arc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1255
diff
changeset
|
59 Added DW_DRAW_DEFAULT, DW_DRAW_FILL and DW_DRAW_FULL flags which can be passed |
0b34e2cf0706
Updated dw_draw_rect and dw_draw_polygon to accept flags the same way as dw_draw_arc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1255
diff
changeset
|
60 to dw_draw_arc(), dw_draw_rect() and dw_draw_polygon(). The fill parameter |
0b34e2cf0706
Updated dw_draw_rect and dw_draw_polygon to accept flags the same way as dw_draw_arc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1255
diff
changeset
|
61 in the latter two has been replaced with flags where DW_DRAW_FILL is the |
0b34e2cf0706
Updated dw_draw_rect and dw_draw_polygon to accept flags the same way as dw_draw_arc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1255
diff
changeset
|
62 same as TRUE so code using the old scheme should still work unchanged. |
1311
5f3ce2b1e82d
Fixed DW_MENU_POPUP failing on OS/2 due to an invalid sanity check.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1291
diff
changeset
|
63 Added DW_MENU_AUTO and DW_MENU_POPUP constants for autogenerating menu IDs. |
5f3ce2b1e82d
Fixed DW_MENU_POPUP failing on OS/2 due to an invalid sanity check.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1291
diff
changeset
|
64 Added dw_debug() function for sending debug messages to the console. |
1153
f219ae018dd3
Updated readme with information from the 2.2 changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1111
diff
changeset
|
65 Improved container optimization on Mac, header width now taken into account. |
1159
1e0cd8dafdfb
Added more change information to the readme file.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1153
diff
changeset
|
66 Fixes for incorrect return codes from the dw_event_* functions on Windows. |
1153
f219ae018dd3
Updated readme with information from the 2.2 changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1111
diff
changeset
|
67 Fixes for incorrect behavior on key_press callbacks on Mac and Windows. |
1194
d2f37fda40df
Updated the readme file with the latest changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1159
diff
changeset
|
68 Fixes for MDI support in GTK3. |
1221
10f5b8645975
Fixes to allow non-toplevel window handles in dw_taskbar_insert() on Windows.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1219
diff
changeset
|
69 Fixes for problems with multiple sliders/percent widgets in a box on OS/2. |
1153
f219ae018dd3
Updated readme with information from the 2.2 changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1111
diff
changeset
|
70 Fixes for lots of GTK3 layout and window positioning issues... |
f219ae018dd3
Updated readme with information from the 2.2 changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1111
diff
changeset
|
71 although minimum size issues are still present. |
1012
09c84a9aefe3
Added a basic changelog to the readme file from version 1.1.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1011
diff
changeset
|
72 |
1011
ea15fee48da8
Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
189
diff
changeset
|
73 Dynamic Windows Documentation is available at: |
3 | 74 |
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
|
75 http://dbsoft.org/dw_help.php |
50
267b382442d6
Updated the readme.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
76 |
1011
ea15fee48da8
Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
189
diff
changeset
|
77 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
|
78 |
ea15fee48da8
Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
189
diff
changeset
|
79 brian@dbsoft.org |
3 | 80 |
81 Thanks! | |
82 | |
83 Brian Smith |