*** 1.12 1995/06/14 21:22:23 --- BUGREPORT 1995/06/22 16:16:57 *************** *** 48,54 **** YOUR NAME: YOUR E-MAIL ADDRESS: ! VERSION OF XMT: 2.1.1 HARDWARE AND OPERATING SYSTEM: (eg: Sun 4, SunOS 4.1.2) X LIBRARIES: (Are you using X11R4 or X11R5?) MOTIF LIBRARY: (Which version of Motif? eg. 1.1.4 or 1.2.1) --- 48,54 ---- YOUR NAME: YOUR E-MAIL ADDRESS: ! VERSION OF XMT: 2.1.2 HARDWARE AND OPERATING SYSTEM: (eg: Sun 4, SunOS 4.1.2) X LIBRARIES: (Are you using X11R4 or X11R5?) MOTIF LIBRARY: (Which version of Motif? eg. 1.1.4 or 1.2.1) *** 1.20 1995/06/14 21:26:07 --- CHANGES 1995/06/22 16:21:03 *************** *** 3,8 **** --- 3,23 ---- make any sense of it. See README.210 for an overview of important changes. + Changes for Xmt 2.1, patchlevel 2 + ----------------------------------------------------------------------------- + VERSION: updated to 2.1.2 + BUGREPORT: updated version number to 2.1.2 + Xmt.h: updated XmtPATCHLEVEL to 2 + + Xmt.tmpl, Xmt.h: Some systems (such as SunOS 4.1.3_u1) don't have the + memmove() function. Xmt.tmpl now has a new flag you can + uncomment to make Xmt compile correctly on systems like this. + Xmt.h now defines memmove() in terms of bcopy() if when this + flag in Xmt.tmpl is uncommented. + + Lookup.c: a simple fix to make the palette application resource (and the + -palette command line argument) work correctly. + Changes for Xmt 2.1, patchlevel 1 ----------------------------------------------------------------------------- This patch affects only the Motif 2.0 version of Xmt. *** 1.6 1995/06/04 18:34:13 --- README.210 1995/06/22 16:41:29 *************** *** 1,11 **** ! README for Xmt Version 2.1.0 ! This is Xmt version 2.1, patchlevel 0. ! ! ! Compiling Xmt 2.1.0 --------------------------------------- You can compile Xmt 2.1 just as you compiled Xmt 2.0. See Appendix A of --- 1,8 ---- ! README for Xmt Version 2.1 ! Compiling Xmt 2.1 --------------------------------------- You can compile Xmt 2.1 just as you compiled Xmt 2.0. See Appendix A of *************** *** 13,21 **** compile, however, don't forget to read through the file Xmt.tmpl and edit as necessary for your platform. If you made changes to this file for Xmt 2.0, you'll probably want to make the same changes for 2.1. ! Note however that Xmt.tmpl has changed slightly--there is a new bug ! workaround that you can select--and so you cannot simply copy your old ! version of Xmt.tmpl into your Xmt 2.1 directory. Also note that this release does contain the Makefile.simple files that were accidentally omitted from the previous release. So if you do not --- 10,20 ---- compile, however, don't forget to read through the file Xmt.tmpl and edit as necessary for your platform. If you made changes to this file for Xmt 2.0, you'll probably want to make the same changes for 2.1. ! Note however that Xmt.tmpl has changed--there are new workarounds that ! you can select--and so you cannot simply copy your old version of ! Xmt.tmpl into your Xmt 2.1 directory. In particular, note that if you ! are using SunOS 4.1.3_u1, or another system that does not have ! memmove(), you'll have to uncomment the -DNO_MEMMOVE flag in Xmt.tmpl Also note that this release does contain the Makefile.simple files that were accidentally omitted from the previous release. So if you do not *************** *** 23,39 **** these simplified Makefiles. ! Changes in Xmt 2.1.0 --------------------------------------- The notes below give an overview of what has changed between version ! 2.0.0 and 2.1.0 of Xmt. For a very detailed (and probably less useful) list of all changes, see the file CHANGES. ! The large majority of the changes for version 2.1.0 are bug fixes. ! Version 2.1.0 should be significantly more robust than version 2.0.0. ! The major new features in version 2.1.0 are support for Motif 2.0 and the addition of three new "space types" to be used on the XmtNspaceType resource of the LayoutBox widget to control the horizontal positioning of items within rows or the vertical positioning of items within --- 22,38 ---- these simplified Makefiles. ! Changes in Xmt 2.1 --------------------------------------- The notes below give an overview of what has changed between version ! 2.0 and 2.1 of Xmt. For a very detailed (and probably less useful) list of all changes, see the file CHANGES. ! The large majority of the changes for version 2.1 are bug fixes. ! Version 2.1 should be significantly more robust than version 2.0. ! The major new features in version 2.1 are support for Motif 2.0 and the addition of three new "space types" to be used on the XmtNspaceType resource of the LayoutBox widget to control the horizontal positioning of items within rows or the vertical positioning of items within *************** *** 139,145 **** functions. Thus, if your program used any of these functions, and was relying on Xmt.h to declare them, you may find that you have to declare them yourself now, or (better) switch to their portable equivalents, ! memmove(), memcmp() and memset(). The Layout widget has had a number of bug fixes. The most important is that setting the XmtNlayoutIn, XmtNlayoutPosition, XmtNlayoutAfter and --- 138,147 ---- functions. Thus, if your program used any of these functions, and was relying on Xmt.h to declare them, you may find that you have to declare them yourself now, or (better) switch to their portable equivalents, ! memmove(), memcmp() and memset(). Every OS should support memcpy(), ! memcmp() and memset() by now. Some (such as SunOS 4.1.3_u1) still do ! not support memmove(), however. If you have one of these systems, then ! be sure to uncomment the -DNO_MEMMOVE flag in Xmt.tmpl before compiling. The Layout widget has had a number of bug fixes. The most important is that setting the XmtNlayoutIn, XmtNlayoutPosition, XmtNlayoutAfter and *** 1.9 1995/06/14 21:22:04 --- VERSION 1995/06/22 16:17:24 *************** *** 1 **** ! 2.1.1 --- 1 ---- ! 2.1.2 *** 1.11 1995/05/19 14:53:52 --- Xmt.tmpl 1995/06/22 16:25:05 *************** *** 1,4 **** --- 1,13 ---- /* + ** Please read the comments below, and follow the directions they give. + ** They explain how to tailor the Xmt build to work correctly at your + ** site, and also how to compile in workarounds for certain bugs that + ** appear on particular platforms. If you find bugs in Xmt once you've + ** compiled it, you may want to come back to this file to see if there + ** is a workaround for the but that you can enable, and recompile. + */ + + /* * These variables control the types of library that will be built. * Set them as appropriate. */ *************** *** 59,64 **** --- 68,82 ---- XMTEXTRALIBS = /* eg: -lPW */ /* + * If the C library on your OS doesn't include memmove(), uncomment + * the line below. If you are using SunOS 4.1.3_u1, for example, you'll + * need to uncomment it. When you link the 'mockup' application, if + * the linker says that _memove is undefined, then you'll need to + * uncomment this line. + */ + MEMDEFINES = /* -DNO_MEMMOVE */ + + /* * If tearoff menus don't work for you (e.g. if tearing off a menu * hangs your application or dumps core, try uncommenting the * following line. This bug has been observed on Linux platforms with *************** *** 73,79 **** * correct title in their title bar. Also, note that tearoff menus * crash my version of the fvwm window manager. */ ! TEAROFFDEFINES = /* -DXMSTRING_TO_COMPOUND_TEXT_BUG */ /* * If you get a core dump when you type Backspace in a Cli widget that --- 91,97 ---- * correct title in their title bar. Also, note that tearoff menus * crash my version of the fvwm window manager. */ ! TEAROFFDEFINES = /* -DXMSTRING_TO_COMPOUND_TEXT_BUG */ /* * If you get a core dump when you type Backspace in a Cli widget that *************** *** 258,264 **** * If there are any general defines we need to pass to any Xmt source * file or client, we'll set them here. */ ! DEFINES = $(OLDMOTIFDEFINES) $(BSDEFINES) $(HPDEFINES) $(DECDEFINES) $(IBMDEFINES) $(TEAROFFDEFINES) /* * if a special search dir or path is specified, define variables to be --- 276,282 ---- * If there are any general defines we need to pass to any Xmt source * file or client, we'll set them here. */ ! DEFINES = $(MEMDEFINES) $(OLDMOTIFDEFINES) $(BSDEFINES) $(HPDEFINES) $(DECDEFINES) $(IBMDEFINES) $(TEAROFFDEFINES) /* * if a special search dir or path is specified, define variables to be *** 1.10 1994/07/04 03:03:50 --- Xmt/Lookup.c 1995/06/16 13:52:43 *************** *** 1,6 **** /* * Motif Tools Library, Version 2.0 ! * $Id: Lookup.c,v 1.10 1994/07/04 03:03:50 david Exp $ * * Written by David Flanagan. * Copyright (c) 1992, 1993, 1994 by Dovetail Systems. --- 1,6 ---- /* * Motif Tools Library, Version 2.0 ! * $Id: Lookup.c,v 1.11 1995/06/16 13:52:42 david Exp $ * * Written by David Flanagan. * Copyright (c) 1992, 1993, 1994 by Dovetail Systems. *************** *** 155,160 **** --- 155,161 ---- case 't': q = qt; break; case 'c': q = qc; break; case 'f': q = qf; break; + case 'p': q = qp; break; case 'C': q = qC; break; case 'V': /* these aren't precomputed, because they depend on Screen */ *** 2.24 1995/06/14 21:22:50 --- Xmt/Xmt.h 1995/06/22 16:16:06 *************** *** 1,6 **** /* * Motif Tools Library, Version 2.0 ! * $Id: Xmt.h,v 2.24 1995/06/14 21:22:50 david Exp $ * * Written by David Flanagan. * Copyright (c) 1992, 1993, 1994 by Dovetail Systems. --- 1,6 ---- /* * Motif Tools Library, Version 2.0 ! * $Id: Xmt.h,v 2.25 1995/06/22 16:16:06 david Exp $ * * Written by David Flanagan. * Copyright (c) 1992, 1993, 1994 by Dovetail Systems. *************** *** 43,49 **** #define XmtVERSION 2 #define XmtREVISION 1 #define XmtVersion (XmtVERSION * 1000 + XmtREVISION) ! #define XmtPatchlevel 1 /* * figure out what version of Xt we're using. --- 43,49 ---- #define XmtVERSION 2 #define XmtREVISION 1 #define XmtVersion (XmtVERSION * 1000 + XmtREVISION) ! #define XmtPatchlevel 2 /* * figure out what version of Xt we're using. *************** *** 104,111 **** #endif #endif - - /* * In R4 we get the database of a widget with XtDatabase(); in * R5 we use XtScreenDatabase(). So we define a macro that will --- 104,109 ---- *************** *** 325,330 **** --- 323,336 ---- */ #if XmVersion == 1001 #define XmGetPixmapByDepth(s,i,f,b,d) XmGetPixmap(s,i,f,b) + #endif + + /* + * Some systems (e.g. SunOS 4.1.3_U1) still don't have memmove() + */ + #ifdef NO_MEMMOVE + #undef memmove + #define memmove(a,b,n) bcopy(b,a,n) #endif /*