1 | SccsID: %Z% %M% %I% %E% %U% |
---|
2 | |
---|
3 | Widget Creation Library Version 2.5 Distribution |
---|
4 | ------------------------------------------------ |
---|
5 | |
---|
6 | The distribution contains files which make up the Widget Creation |
---|
7 | Library (Wcl or libWc.a), and resource interpreters and utility |
---|
8 | libraries (which include Table widgets) for each of the following |
---|
9 | widget sets: Athena, Motif, and OpenLook. |
---|
10 | |
---|
11 | Wcl is completely widget set independent. It provides mechanisms to |
---|
12 | allow an entire user interface to be specified in resource files. |
---|
13 | Basically, this amounts to providing new resources for specifying the |
---|
14 | types of the widgets and the widget heirarchy. In addition, Wcl |
---|
15 | provides several callbacks and action functions which many programs |
---|
16 | need. |
---|
17 | |
---|
18 | See README20 for general information about Wcl version 2, and README22 |
---|
19 | for additional features introduced in Wcl version 2.2 and version 2.1, |
---|
20 | and README23 for new features in Wcl 2.3, and README24 for new features |
---|
21 | in Wcl 2.4. |
---|
22 | |
---|
23 | New Features of Wcl 2.5 |
---|
24 | ------------------------ |
---|
25 | |
---|
26 | This is the last Wcl release from Germany. Following this release, |
---|
27 | I will again be supporting Wcl from JPL in Pasadena California. |
---|
28 | |
---|
29 | Doc - A directory with two very simple tutorial text |
---|
30 | files which give you hints on how to actually |
---|
31 | develop a program and/or libraries using Wcl. |
---|
32 | Some improvements were made, for example I |
---|
33 | mention that non-visible appShells must have |
---|
34 | non-zero sizes. |
---|
35 | |
---|
36 | Mri/Imakefile - Has been enhanced to properly build a profiled |
---|
37 | version of Mri. This is still labor intensive at |
---|
38 | the Imake level, but it works (on SunOS at least). |
---|
39 | |
---|
40 | WcPrint - It is now easy to override Wcl's default use of |
---|
41 | stderr for printing all messages. You can provide |
---|
42 | new, non-vargs replacements to print messages, |
---|
43 | and messages with a "printf" like format string |
---|
44 | which contains ONLY `%s' format characters. See |
---|
45 | WcCreateP.h, look at the section beginning with |
---|
46 | the comment "Override for Default Wcl Error Printing" |
---|
47 | |
---|
48 | XmpAddActionsAndCallbacks |
---|
49 | XmpAddConverters |
---|
50 | XmpAddMotifConverters - These are called by XmpRegisterMotif(), but allow |
---|
51 | applications to get just some of the Xmp things |
---|
52 | without registering the Xmp and Motif widgets. |
---|
53 | |
---|
54 | |
---|
55 | New Platform Support |
---|
56 | -------------------- |
---|
57 | Interactive 3.0.1 - MakeByHand can be used to build the distribution |
---|
58 | by using WcMake1.isc and WcMake2.isc, thanks to |
---|
59 | J.J.Bailey (jjb@jagware.acco.com) |
---|
60 | |
---|
61 | AIX and ESIX - You need to do a tiny bit more work, but I hope |
---|
62 | everything you need for these platforms is in the |
---|
63 | files by these names. These files were provided |
---|
64 | by Klaus Kretschel <RZ13@dlrvm.bitnet> and |
---|
65 | Dave Custer (ddc@druwa.att.com) respectively. |
---|
66 | |
---|
67 | Sorry, but this distribution has NOT been tested on these platforms. |
---|
68 | Next time... |
---|
69 | |
---|
70 | Bug Fixes |
---|
71 | --------- |
---|
72 | |
---|
73 | WcSetValues can now take empty resource values, like this: |
---|
74 | *foo.activateCallback: WcSetValue(this.labelString:) |
---|
75 | |
---|
76 | WcCvtStringToWidget Sometimes did not work when widgets were destroyed |
---|
77 | because the R4 and R5 conversion cache was being |
---|
78 | used, but not cleared (it only gets cleared when the |
---|
79 | `this' widget gets destroyed, NOT when any named |
---|
80 | widgets are destroyed). A new style converter is |
---|
81 | now used on R4 and later builds to avoid this |
---|
82 | problem. However, this means YOU may need to change |
---|
83 | calls to XtAddConverter to be XtAddTypeConverter |
---|
84 | if YOU register this converter function without |
---|
85 | using Wcl or Xmp to do it for you. |
---|
86 | |
---|
87 | WcLoadResourceFile no longer dumps core with multiple application |
---|
88 | contexts. |
---|
89 | |
---|
90 | WcName.c has been modified to use isspace(), isalpha() and |
---|
91 | so on. This makes these routines portable across |
---|
92 | character sets. A side effect of this is that |
---|
93 | Constructors can now be specified in resource files |
---|
94 | with trailing empty (ignored) parenthesis, like |
---|
95 | callback procedures. |
---|
96 | |
---|
97 | MapAg.c MapAg_Forget_Normal() had a bug detected by Purify. |
---|
98 | Thanks, Ik Su Yoo (ik@mobydick.leis.bellcore.com) |
---|
99 | |
---|
100 | WcTemplate Tracing Tracing now (again) works correctly. |
---|
101 | |
---|
102 | |
---|
103 | Table Widget |
---|
104 | ------------ |
---|
105 | |
---|
106 | Table really works much better now. There was an annoying bug |
---|
107 | where children which got managed and unmanaged multiple times |
---|
108 | would slowly be squashed down to nothing. This was because I |
---|
109 | tried to be very, very literal with my implementation of Xt |
---|
110 | geometry management. See Xmp/TableLoc.c XmpTableLocPreferredWidth() |
---|
111 | for a discussion of this point. |
---|
112 | |
---|
113 | Unmanaged Tables (especially when children of popped-down Motif |
---|
114 | dialog shells) now resize correctly when children resize. |
---|
115 | |
---|
116 | A new set of resources sameWidth, sameHeight, sameBorder all of |
---|
117 | class SameSize has been added. This causes the Table to try and |
---|
118 | maintain the named widgets to be the same size when the table |
---|
119 | does a new re-layout (due to shell resize, child resize, child |
---|
120 | manage/unmanage, etc). |
---|
121 | |
---|
122 | Table now completely forgets about destroyed widgets (it kept a |
---|
123 | pointer to un-managed widgets in the default_layout location list, |
---|
124 | and it now clears this out when children get destroyed). |
---|
125 | |
---|
126 | Make and Imake changes for Clients |
---|
127 | ---------------------------------- |
---|
128 | |
---|
129 | Build Instructions |
---|
130 | ------------------ |
---|
131 | |
---|
132 | See README_BUILD for detailed instructions on how to build the |
---|
133 | distribution. |
---|
134 | |
---|
135 | If you are using imake, you MUST provide a Wc.tmpl file. |
---|
136 | The distribution provides two versions of this file, |
---|
137 | one of which may be exactly what you need: |
---|
138 | |
---|
139 | Wc.tmpl.r5 Should work as-is with X11R5 from mit. |
---|
140 | |
---|
141 | Wc.tmpl.irix Should work as-is on Irix (Silicon Graphics) machines with |
---|
142 | SGI X (R4) and Motif installations. |
---|
143 | |
---|
144 | |
---|
145 | If you are using make, you MUST look at WcMake1.tmpl and WcMake2.tmpl. |
---|
146 | Again, a couple of different versions of these files are provided, but |
---|
147 | you almost certainly must do something to make it build on your |
---|
148 | platform. |
---|
149 | |
---|
150 | WcMake1.tmpl These work on my machine |
---|
151 | WcMake2.tmpl |
---|
152 | |
---|
153 | WcMake1.svr4 These work on SVR4 machines with X11R4 and Motif 1.1, |
---|
154 | WcMake2.svr4 and are used to make dynamic libraries. |
---|
155 | |
---|
156 | WcMake1.svr4-a These work on SVR4 machines with X11R4 and Motif 1.1., |
---|
157 | WcMake2.svr4-a and are used to create static libraries. |
---|
158 | |
---|
159 | WcMake1.sco These work on SCO Open Desk Top machines. Whew! Also, |
---|
160 | WcMake2.sco installable man pages (*S.z, *C.z) are now provided. |
---|
161 | |
---|
162 | WcMake1.isc These work on Interactive 3.0.1 machines, |
---|
163 | WcMake2.isc thanks to J.J.Bailey (jjb@jagware.acco.com) |
---|
164 | |
---|
165 | AIX What you need to know to build on AIX machines, |
---|
166 | thanks to Klaus Kretschel <RZ13@dlrvm.bitnet> |
---|
167 | |
---|
168 | ESIX What you need to know to build on ESIX machines, |
---|
169 | thanks to Dave Custer (ddc@druwa.att.com) |
---|
170 | |
---|
171 | Wcl has been built against Motif 1.2 and Xaw3d without any problems. |
---|
172 | |
---|
173 | --------------------------------------------------------------------------- |
---|
174 | David E. Smyth David.Smyth@ap.mchp.sni.de |
---|
175 | Object/X Researcher AP 154, Carl-Wery-Str 22, Munich 83 Germany |
---|
176 | Research Grant provided by Esprit Investments Ltd, |
---|
177 | major sponsor Siemens Nixdorf Informationssysteme AG |
---|