Mercurial > dwindows
annotate readme @ 1363:cdbe26a4b116
Mingw doesn't like writing to a compile time variable in dw_menu_append_item()...
So make a temporary copy and do it there to prevent crashes.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 18 Nov 2011 19:12:20 +0000 |
parents | 4333b58d879d |
children | 896347a9be19 |
rev | line source |
---|---|
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
|
1 This is a stable 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. |
3 | 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 | 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 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
|
20 so environment variables DW_BORDER_WIDTH and DW_BORDER_HEIGHT |
189 | 21 are used for proper positioning. |
64
c2a10ed13d1f
Added documentation of know platform limitations.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
50
diff
changeset
|
22 |
1011
ea15fee48da8
Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
189
diff
changeset
|
23 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
|
24 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
|
25 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
|
26 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
|
27 |
3 | 28 Future features: |
29 | |
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
|
30 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
|
31 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
|
32 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
|
33 |
1153
f219ae018dd3
Updated readme with information from the 2.2 changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1111
diff
changeset
|
34 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
|
35 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
|
36 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
|
37 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
|
38 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
|
39 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
|
40 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
|
41 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
|
42 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
|
43 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
|
44 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
|
45 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
|
46 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
|
47 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
|
48 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
|
49 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
|
50 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
|
51 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
|
52 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
|
53 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
|
54 Added PNG/JPG/GIF/TIFF support on Windows via GDI+. |
1328
be2c04276209
Changed socklen_t typedef #ifdef to check for MSVC.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1319
diff
changeset
|
55 Added support for GdkPixbuf inline images in GTK 2 and 3. |
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
|
56 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
|
57 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
|
58 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
|
59 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
|
60 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
|
61 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
|
62 Added dw_debug() function for sending debug messages to the console. |
1340
890890c31ba6
Another printing cancel fix for the Mac and updated the readme.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1328
diff
changeset
|
63 Added path and/or filename support to dw_file_browse() on OS/2, Windows, |
890890c31ba6
Another printing cancel fix for the Mac and updated the readme.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1328
diff
changeset
|
64 GTK2, GTK3 and Mac 10.6 or higher. |
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
|
65 Added custom calendar widget for OS/2, leaving only the HTML widget missing. |
1153
f219ae018dd3
Updated readme with information from the 2.2 changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1111
diff
changeset
|
66 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
|
67 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
|
68 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
|
69 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
|
70 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
|
71 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
|
72 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
|
73 |
1011
ea15fee48da8
Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
189
diff
changeset
|
74 Dynamic Windows Documentation is available at: |
3 | 75 |
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
|
76 http://dbsoft.org/dw_help.php |
50
267b382442d6
Updated the readme.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
77 |
1011
ea15fee48da8
Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
189
diff
changeset
|
78 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
|
79 |
ea15fee48da8
Updates to the readme file for the upcoming 2.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
189
diff
changeset
|
80 brian@dbsoft.org |
3 | 81 |
82 Thanks! | |
83 | |
84 Brian Smith |