source: trunk/third/wcl/README25 @ 8837

Revision 8837, 6.6 KB checked in by ghudson, 28 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r8836, which included commits to RCS files with non-trunk default branches.
Line 
1SccsID: %Z% %M% %I% %E% %U%
2
3Widget Creation Library Version 2.5 Distribution
4------------------------------------------------
5
6The distribution contains files which make up the Widget Creation
7Library (Wcl or libWc.a), and resource interpreters and utility
8libraries (which include Table widgets) for each of the following
9widget sets: Athena, Motif, and OpenLook.
10
11Wcl is completely widget set independent.  It provides mechanisms to
12allow an entire user interface to be specified in resource files.
13Basically, this amounts to providing new resources for specifying the
14types of the widgets and the widget heirarchy.  In addition, Wcl
15provides several callbacks and action functions which many programs
16need.
17
18See README20 for general information about Wcl version 2, and README22
19for additional features introduced in Wcl version 2.2 and version 2.1,
20and README23 for new features in Wcl 2.3, and README24 for new features
21in Wcl 2.4.
22
23New Features of Wcl 2.5
24------------------------
25
26This is the last Wcl release from Germany.  Following this release,
27I will again be supporting Wcl from JPL in Pasadena California.
28
29Doc                     - 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
36Mri/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
40WcPrint                 - 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
48XmpAddActionsAndCallbacks
49XmpAddConverters
50XmpAddMotifConverters   - 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
55New Platform Support
56--------------------
57Interactive 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
61AIX 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
67Sorry, but this distribution has NOT been tested on these platforms.
68Next time...
69
70Bug Fixes
71---------
72
73WcSetValues             can now take empty resource values, like this:
74                        *foo.activateCallback:  WcSetValue(this.labelString:)
75
76WcCvtStringToWidget     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
87WcLoadResourceFile      no longer dumps core with multiple application
88                        contexts.
89
90WcName.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
97MapAg.c                 MapAg_Forget_Normal() had a bug detected by Purify.
98                        Thanks, Ik Su Yoo (ik@mobydick.leis.bellcore.com)
99
100WcTemplate Tracing      Tracing now (again) works correctly.
101
102
103Table Widget
104------------
105
106Table really works much better now.  There was an annoying bug
107where children which got managed and unmanaged multiple times
108would slowly be squashed down to nothing.  This was because I
109tried to be very, very literal with my implementation of Xt
110geometry management.  See Xmp/TableLoc.c XmpTableLocPreferredWidth()
111for a discussion of this point.
112
113Unmanaged Tables (especially when children of popped-down Motif
114dialog shells) now resize correctly when children resize.
115
116A new set of resources sameWidth, sameHeight, sameBorder all of
117class SameSize has been added.  This causes the Table to try and
118maintain the named widgets to be the same size when the table
119does a new re-layout (due to shell resize, child resize, child
120manage/unmanage, etc).
121
122Table now completely forgets about destroyed widgets (it kept a
123pointer to un-managed widgets in the default_layout location list,
124and it now clears this out when children get destroyed).
125
126Make and Imake changes for Clients
127----------------------------------
128
129Build Instructions
130------------------
131
132See README_BUILD for detailed instructions on how to build the
133distribution.
134
135If you are using imake, you MUST provide a Wc.tmpl file.
136The distribution provides two versions of this file,
137one 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
145If you are using make, you MUST look at WcMake1.tmpl and WcMake2.tmpl.
146Again, a couple of different versions of these files are provided, but
147you almost certainly must do something to make it build on your
148platform.
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
171Wcl has been built against Motif 1.2 and Xaw3d without any problems.
172
173---------------------------------------------------------------------------
174David E. Smyth                  David.Smyth@ap.mchp.sni.de
175Object/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
Note: See TracBrowser for help on using the repository browser.