==============
1999/07/16 02:10:36
author: rwscott
DrawingArea.c(1.38)


widget_navigable() - From what I get out of the Motif Programmer's Guide, this
is a little closer to correct. There was a comment that we need to look at
all of the children too, but it never said what to look for. According to the
docs, a DA will take focus if none of its kids have traversalOn set True.
This is the case for the vtwidget. Give it a try anyway.......
==============
1999/07/16 14:22:04
author: rwscott
RCUtils.c(1.102)

Possibly a bit of a hack to get rowcolumn/test58, scrolledwindow/test13
and openDX working. They all try to make an option menu narrower than it
wants to be.
==============
1999/07/17 07:45:46
author: danny
LTXpm.c(1.15)
XmIm.c(1.11)

Fixes by Alexander Mai.
==============
1999/07/18 18:34:07
author: rwscott
Form.c(1.150)
Label.c(1.104)
RowColumn.c(1.232)
TextOut.c(1.65)


RowColumn.c - Pavel's tear-off segfault prevention patch. You are correct
	that things get a little out of wack when you tear off a menu. The
	more levels deep you are the more out of wack things tend to get.

TextOut.c - Alexander's xmgrace segfault prevention. When we get a set_values
	on the fontList, only free the old one if we created it.
==============
1999/07/19 09:26:39
author: rwscott
Form.c(1.151)


Apparently I ":r'ed" the wrong message with the last commit.....

set_values() - If the width or height gets set to 0, force a relayout.

XmFormFindPreferred() - If the width of the form is 0, use the childs current
	x position, otherwise reset it to 0. Ditto for height/y.

This is for the openDX "ugly grid" problem. It manages and un-manages kids
all over the place. If the x/y values do not get reset the thing just keeps
growing.
==============
1999/07/20 01:17:11
author: rwscott
Form.c(1.152)


This is that missing message from a couple of commits ago. A typo in the file
name put it in the wrong spot.

set_values() - If the height/width gets set to 0, re-do the layout to
	calculate the new value in that dimension.

XmFormFindPreferred() - If the width of the form is 0, then use the childs
	current x position, otherwise set it to zero. Unless it is the
	instigator, then we use that value. Ditto for the height.

This is for the openDX "ugly grid dialog problem".

Okay, now for the one for this message.....
XmFormFindPreferred() - It seems that when a child gets un-managed its
	preferred width/height get reset to 0. What this means is that when
	this child gets managed again it will pick up the current size as
	its preferred size. If nothing has changed in this child, there's no
	difference. However if this child has had a size change, due to one of
	it's kids changing, we will pick this up as the current size of the
	child. By not reseting this, we end up using the size that was
	preferred _before_ it was un-managed, which is not necessarily the
	same thing.

Again based on the openDX "ugly grid dialog", and form/test53.  These damn
form preferred size variables have been haunting me for years now :)
==============
1999/07/21 15:15:48
author: danny
BulletinBoard.c(1.47)
DialogS.c(1.20)
MenuShell.c(1.79)
RowColumn.c(1.233)

Fixes for Martin Simmons's bug report : getting mapCallback straight.
	This is for DialogShells having BulletinBoard children.
	Martin said a similar problem exists for popup menus,
	I didn't address that with this fix.

test/configure.in : more figuring out how to link/compile with 2.0.
==============
1999/07/23 17:29:44
author: rwscott
DragBS.c(1.12)
DropSMgr.c(1.21)

A whole bunch of debugging stuff
==============
1999/07/24 00:58:24
author: rwscott
DragBS.c(1.13)
DragC.c(1.23)
DropSMgr.c(1.22)


DragBS.c - tonnes of debugging.
DragC.c - ditto
DragDrop.c - ditto
DropSMgr.c - just a little more debugging

Netscape seems to have replaced all of DragC.c, DragDrop.c, and DropSMgr.c.
Why did they even bother to leave any of DragBS.c in there?????
==============
1999/07/25 11:53:08
author: rwscott
DebugUtil.c(1.44)
DragBS.c(1.14)
FileSB.c(1.77)
Vendor.c(1.47)


Okay, time for a bit of a clean up.....

ListTree.c - A set_values on XmNindent will now re-layout the widget.

DebugUtil.c - Add XdbDragType2String.

DragBS.c - Damn, I hate dumping core in debugs. A comment about Jon's stubs
	for Netscape, I think they belong in DropSMgrI.c.

DragDrop.c - fix one of the debugs I added. I keep forgetting the comma after
	the string for some reason.

FileSB.c - noGeoRequest was always returning yes. Now only dis-allow requests
	from the lists. I think this was a left over from when I was looking
	into the openDX dialog problems. This was reported wrt Ted.

Vendor.c - add the __FILE__ and __LINE__ to the set_values debug. Without
	this you have no idea where the messages are coming from in the case
	of chained methods.

Netscape navigator 4.61 netscape-dynMotif now runs "out of the box" with
LessTif. However I wouldn't advise doing any DnD stuff, or anything that
involves an XmFileSelectionDialog. These are at least 2 of the areas that
Netscape have modified heavily.
==============
1999/07/27 05:13:48
author: gritton
RowColumn.c(1.234)
ToggleB.c(1.68)
ToggleBG.c(1.65)
XmOS2.def.dist(1.3)

_XmToggleButton[Gadget]State is no longer necessary, as it's almost exactly
 the same as the non-underscore version (with the possible exception of a
 recent bug in _XmToggleButtonGadgetSetState that led to an infinite loop).
==============
1999/07/27 23:37:30
author: rwscott
BulletinBoard.c(1.48)
DragOverS.c(1.16)
GeoUtils.c(1.47)
LabelG.c(1.88)
List.c(1.84)


This doesn't completely clean out my mailbox, but at least the list is a little
shorter......

BulletinBoard.c - We seem to be missing the action declarations here. So let's
	define them. Thanks to Steff Nile <steff@connect.org.uk>.

List.c - Re-create the GC's if we do a set_values on something that affects
	them Pavel Roskin <pavel_roskin@geocities.com>.

DragOverS.c - get rid of zap-cursor warning. Just leave it as a debug.
	Pavel Roskin <pavel_roskin@geocities.com>.

GeoUtils:_XmGeoSetupKid() - If kidWid is NULL don't try to find it's parent
	in a debug statement Pavel Roskin <pavel_roskin@geocities.com>.

LabelG.c:initialize() - if the labelString is not NULL, and is not an
	XmString, just set it to NULL and don't worry about it. This was
	taking out netscape the second time a file dialog was brought up
	Rick Scott <rwscott@hungry.com>

Add *.html to the ignore files under lessdox.

xyplot.c - "Alexander Mai" <st002279@hrzpub.tu-darmstadt.de>
==============
1999/07/28 00:20:05
author: rwscott
DragBS.c(1.15)


_XmTargetsToIndex - Here we were allocating space for the passed in target
	list, sorting the newly created list and comparing this list to
	what we already have. The only problem was that we were not copying
	the target list into the new space!!! Which, needless to say,
	screwed the list up pretty well.

This seems to take care of the wacky number that Navigator/Communicator were
passing into this function. Drag and Drop now works in the Navigator
Edit->bookmarks dialog. I'm not sure what else I should be able to drag and
drop.
==============
1999/07/28 02:15:23
author: rwscott
ToggleBG.c(1.66)


resize() - should be TBG_IndOn not TB_IndOn. We could probably be
	finished this project by now if it wasn't for Gadgets...
==============
1999/07/28 03:58:23
author: danny
DrawingArea.c(1.39)

The attached patch replaces "prefered" with "preferred" and "goemetry"
with "geometry" everywhere in the sources, including a function name
(fortunately, the function is static).

Pavel Roskin
==============
1999/07/28 09:24:51
author: rwscott
DragBS.c(1.16)


Damn, I was testing with the wrong copy of navigator. It is still passing in
a bogus numTargets value. So, for now, if numTargets is greater than 1000,
just bail.
==============
1999/07/28 17:45:29
author: danny
BulletinBoard.c(1.49)
ImageCache.c(1.16)
VirtKeys.c(1.10)

mwmparse.y : bug #119.
BulletinBoard.c : BulletinBoardMap is not an action any more.
VirtKeys.c, ImageCache.c : bug #118.
==============
1999/07/31 08:34:52
author: danny
ScrolledW.c(1.115)

Fix by Edouard Parmelan
==============
1999/07/31 08:44:19
author: danny
ImageCache.c(1.17)
VirtKeys.c(1.11)

Add include XmosP.h
==============
1999/08/03 22:59:46
author: rwscott
MessageB.c(1.35)


Pavel Roskin <pavel_roskin@geocities.com>

Add an _XmDestroyParentCallback destroyCallback to the message box when we
create a messageDialog.

This is probably missing from many of the XmCreate....Dialog calls.
==============
1999/08/03 23:21:51
author: rwscott
DragBS.c(1.17)
DropSMgr.c(1.23)
Makefile.am(1.30)


Pavel Roskin <pavel_roskin@geocities.com>

lib/Xm/DropSMgrI.c: new file. It contains _XmDSResources, and stubs for
_XmDSI* functions. Stubs are always enabled, so that netscape-dynMotif
exits properly. They also print debug information, which can be enabled by
setting DEBUGSOURCES=DropSMgrI.c at the run time

include/Motif-1.2/XmI/DragDropI.h: declares _XmDSResources and
_XmNumDSResources

lib/Xm/DragBS.c: _XmDSI* functions removed

lib/Xm/DropSMgr.c: _XmDSResources removed

lib/Xm/Makefile.am, lib/Xm-2.0/Makefile.am: DropSMgrI.c added
==========

There are still two unresolved symbols in netscape-dynMotif (Navigator
4.5)

$ ldd -r netscape-dynMotif | grep undef
undefined symbol: _XmWriteDSToStream    ()
undefined symbol: _XmReadDSFromStream   ()

Both functions should live in DragICC.c (nm libXm.a is not a crime, is
it?), but there is no DragICC.c in Lesstif.

Fortunately, I haven't seen them being called.

Pavel Roskin
==============
1999/08/04 16:09:46
author: rwscott
CascadeBG.c(1.128)
RCUtils.c(1.103)


RCUtils.c:_XmRCGetKidGeo() - If we are an option menu button and do not have
	a sub-menu do not "find_largest_option_selection", just use the size
	of the button.

CascadeBG.c - If there is no submenu, skip the sizing/placement/drawing of
	the cascade pixmap.
==============
1999/08/04 21:34:03
author: danny
TextStrSo.c(1.32)

This might help for DDD.
==============
1999/08/05 21:42:26
author: danny
Text.c(1.92)

Fixes supplied by Andrew Lister :
	And here's a patch that adds the XmNvalueChangedCallback to the text widget
	on the matrix.  The man page is updated too :)

	Here's a quick patch that should be added after the original one.  It
	simply allows the XEvent to be passed through to the new callback and
	updates the man page.
==============
1999/08/07 15:32:52
author: rwscott
DialogS.c(1.21)
Manager.c(1.74)
ResInd.c(1.15)
ScrolledW.c(1.116)
TextStrSo.c(1.33)


CVSMake - only call the auto tools on those parts that exist.

keep the -INONE and -LNONE out of the builds when Motif is not found.

Get rid of some of the compiler warnings that have been creeping in. Most
were harmless, a couple were really problems.....
==============
1999/08/08 02:30:15
author: rwscott
RowColumn.c(1.235)


Fix for Daniel Roberts <zuperdee@yahoo.com> and nedit. We were using TB_Set
when we could also be dealing with a TBG in the RadioHandler. Damn Gadgets!!
==============
1999/08/10 23:36:47
author: danny
Text.c(1.93)

Add link to Xbae docs in the Lessdox directory. Should be accessible from
	the web site once the nightly script runs again.
	I just changed nightly :-)

Text.c : subsequent calls to SetValues that assigned the same pointer to
	XmNvalue didn't work; they observerd the same pointer and never
	figured that either it or the widget might have changed.
	Xbae triggered this.

AUTHORS : typo fix.
==============
1999/08/12 07:36:29
author: danny
XmString.c(1.42)

Add more XmString* stuff we lacked, ensure they compile too :-)

Note: these are all empty stubs !

I was a bit pressed for time while committing yesterday. Kid wining
next to me that his Win95 didn't work. Sigh. Config.sys was gone.
Sorry about the temporary breakage.
==============
1999/08/12 12:09:16
author: danny
ResInd.c(1.16)
XmStrDefs.c(1.4)
XmString.c(1.43)

Updated some text files.

ResInd.c - augment a XdbDebug statement.

XmString.c - XmStringUnparse simple implementation
ComboBox.c - make sure that the resource required for MxFTP to work
	is actually stuffed with information, otherwise there's no
	point trying to unraffle its contents with XmString*.

test6 - try to test this.

XmStrDefs.c - the change proposed by Pavel.
==============
1999/08/13 02:06:38
author: rwscott
Simple.c(1.20)


Xquote Options->Updates... was creating a couple of VaSimpleOption menus and
the button label was coming up as OptionButton. It was setting the label
arg to NULL, so that it would pick up the string from the resource database.
We were just using the arg to set the label, therefore setting it to NULL,
hence the bogus label. We should actually be setting the menuHistory to the
button specified as set.

Deal with XmVaTITLE's
==============
1999/08/14 09:59:21
author: danny
List.c(1.85)
MessageB.c(1.36)
PushB.c(1.72)
PushBG.c(1.75)
Text.c(1.94)
TextF.c(1.82)
TextOut.c(1.66)

Bugs # 98, 108, 109, 94, 74.

PushB.c, PushBG.c : try to make us threadsafe
TextF.c : same thing, incomplete.

Xbae stuff : add program name so resource files can be safely "xrdb"ed.
==============
1999/08/14 12:17:13
author: danny
MessageB.c(1.37)
Simple.c(1.21)
TextF.c(1.83)
VaSimple.c(1.7)

MessageB - rolled back the change, the bug seems to be away without it
	and I see side effects after all. Not enough checks before
	the previous commit :-(

TextF - this should complete the threadsafeness pass on this widget.

Simple, VaSimple - fix for Jex.
==============
1999/08/15 17:17:09
author: rwscott
Manager.c(1.75)
Primitive.c(1.42)


jex calculates the position of the ToolTips based on the sum of all the x/y
values from the target widget up to the child of the Shell. Therefore it
expects the child of the Shell to have the x/y values of the Shell. The only
way I can see of doing this is to change the Manager and Primitive export
procs for the x/y synthetic resources. If the parent is a VendorShell, export
the values for the parent. This is sort of backed up by the fact that Motif
seems to have a Get[X|Y]FromShell defined in both Manager and Primitive.
==============
1999/08/15 23:39:07
author: rwscott
DragC.c(1.24)
DropSMgr.c(1.24)
DropTrans.c(1.10)
Makefile.am(1.31)

Pavel's Drag'n Drop function shuffle.
==============
1999/08/17 13:35:07
author: rwscott
RCUtils.c(1.104)


XmCreatePulldownMenu - Don't hardcode the orientation, packing and,
    numColumns. This prevents changing these with resources, and they are
    already handled correctly in initialize. This is usefull for things like
    the FontChooser Avgwidth field, which is pretty much impossible to show
    120 some odd items in a single vertical column.
==============
1999/08/17 22:09:50
author: rwscott
FileSB.c(1.78)
Text.c(1.95)


Let's keep Pavel happy while he's on a roll......

Pavel Roskin <pavel_roskin@geocities.com>

mxftp.diff makes mxftp quite stable and even useful.
It fixes stack overflow in Text.c (this bug must be quite new)
It also fixes an assertion failure in mxftp due to missing
destroyCallback in FileSB.c

cont.diff adds more stubs for the Container widget, so that it's
now possible to compile and even run mxmail
Don't forget to add include/Motif-2.0/Xm/ContainerP.h to CVS

Now mxapps can be compiled out-ob-box, and mxftp can be used.
The only problem is to make mxmail useful too (and visual defects,
of course)

Pavel Roskin
==============
1999/08/25 18:17:00
author: danny
List.c(1.86)

Add some platforms, and some text explaining what determines whether
LessTif would work on a platform.

List.c - add a couple of empty functions, SCO only.
==============
1999/08/27 09:13:25
author: danny
ResConvert.c(1.50)

FontChooser : sort entries in the menus.

Imake stuff in Xbae : debug this a bit.

ResConvert.c : add the XmConvertStringToUnits() call that SMIRC needs.
	Not implemented though.
==============
1999/09/02 23:28:39
author: rwscott
ScrolledW.c(1.117)


Martin Simmons <martin@harlequin.co.uk>

Certain sequences of scrollbar manage/unmanage operations triggered by XmList
can cause the XmScrolledWindow to shrink to 1x1 (0x0 actually, but it corrects
itself).  I tracked this down to _XmScrolledWPreferredSize() being called from
XmScrolledWindows change_managed method: in the bad case, SW_FromResize is
set to True, which can happen when the XmScrolledWindow is configuring its
children from its resize() method as below:

scrolledwindow/test20
==============
1999/09/02 23:58:35
author: rwscott
LTXpm.c(1.16)


Alexander Mai.
Here's a small diff for lib/Xm/LTXpm.c to fix some warnings.
==============
1999/09/03 00:17:33
author: rwscott
LTXpm.c(1.17)


"Steven G. Kargl" <kargl@troutmask.apl.washington.edu>

I've gone through lib/Xm and fixed the problems with gcc -Werror.
Most of these are cosmetic changes with the possible exception of
Visual.diff where an uninitialized variable may be used without
it every being set.
==============


Executive Summary
Of 109 files, 49 changed, and 60 had no change

File            Current Rev. Last Release 
.cvsignore      1.1          1.1          No Change
.indent.pro     1.1          1.1          No Change
ArrowB.c        1.30         1.30         No Change
ArrowBG.c       1.25         1.25         No Change
AtomMgr.c       1.4          1.4          No Change
BaseClass.c     1.11         1.11         No Change
BulletinBoard.c 1.49         1.46         
Cache.c         1.8          1.8          No Change
CascadeB.c      1.144        1.144        No Change
CascadeBG.c     1.128        1.127        
Command.c       1.18         1.18         No Change
CutPaste.c      1.9          1.9          No Change
DebugUtil.c     1.44         1.43         
Desktop.c       1.5          1.5          No Change
Dest.c          1.2          1.2          No Change
DialogS.c       1.21         1.19         
Display.c       1.14         1.14         No Change
DragBS.c        1.17         1.11         
DragC.c         1.24         1.22         
DragIcon.c      1.10         1.10         No Change
DragOverS.c     1.16         1.15         
DragUnder.c     1.3          1.3          No Change
DrawingArea.c   1.39         1.37         
DrawnB.c        1.38         1.38         No Change
DropSMgr.c      1.24         1.20         
DropSMgrI.c     1.2          1.2          No Change
DropTrans.c     1.10         1.9          
ExtObject.c     1.5          1.5          No Change
FileSB.c        1.78         1.76         
FontList.c      1.14         1.14         No Change
Form.c          1.152        1.149        
Frame.c         1.45         1.45         No Change
Gadget.c        1.16         1.16         No Change
GadgetUtil.c    1.8          1.8          No Change
GeoUtils.c      1.47         1.46         
Hash.c          1.6          1.6          No Change
ImageCache.c    1.17         1.15         
LTCvt.c         1.8          1.7          
LTV5Editres.c   1.6          1.6          No Change
LTV6Editres.c   1.6          1.6          No Change
LTXpm.c         1.17         1.14         
LTfnmatch.c     1.3          1.3          No Change
LTglob.c        1.8          1.8          No Change
Label.c         1.105        1.103        
LabelG.c        1.88         1.87         
List.c          1.86         1.83         
MainW.c         1.51         1.50         
Makefile.am     1.31         1.29         
Manager.c       1.75         1.73         
MapEvent.c      1.13         1.13         No Change
MenuShell.c     1.79         1.78         
MenuUtil.c      1.60         1.60         No Change
MessageB.c      1.37         1.34         
Messages.c      1.4          1.4          No Change
Mwm.c           1.3          1.3          No Change
Obsolete.c      1.8          1.8          No Change
PanedW.c        1.44         1.44         No Change
Primitive.c     1.42         1.41         
Protocols.c     1.7          1.7          No Change
PushB.c         1.72         1.71         
PushBG.c        1.75         1.74         
RCUtils.c       1.105        1.101        
ReadImage.c     1.2          1.2          No Change
Region.c        1.5          1.5          No Change
RepType.c       1.10         1.10         No Change
ResConvert.c    1.50         1.49         
ResInd.c        1.17         1.14         
RowColumn.c     1.236        1.231        
Sash.c          1.13         1.13         No Change
Scale.c         1.36         1.36         No Change
Screen.c        1.17         1.17         No Change
ScrollBar.c     1.55         1.54         
ScrolledW.c     1.117        1.114        
Selection.c     1.4          1.4          No Change
SelectionBox.c  1.44         1.44         No Change
SeparatoG.c     1.13         1.13         No Change
Separator.c     1.12         1.12         No Change
Shadow.c        1.18         1.18         No Change
ShellExt.c      1.4          1.4          No Change
Simple.c        1.21         1.19         
TearOff.c       1.40         1.40         No Change
TearOffB.c      1.19         1.19         No Change
Text.c          1.95         1.91         
TextF.c         1.83         1.81         
TextIn.c        1.43         1.43         No Change
TextOut.c       1.66         1.64         
TextStrSo.c     1.33         1.31         
ToggleB.c       1.68         1.67         
ToggleBG.c      1.67         1.64         
TrackLoc.c      1.4          1.4          No Change
Transltns.c     1.7          1.7          No Change
TravAct.c       1.11         1.11         No Change
Traversal.c     1.34         1.34         No Change
UniqueEvent.c   1.4          1.4          No Change
VaSimple.c      1.7          1.6          
Vendor.c        1.47         1.46         
VirtKeys.c      1.11         1.9          
Visual.c        1.29         1.28         
World.c         1.4          1.4          No Change
XmIm.c          1.11         1.10         
XmOS2.def.dist  1.3          1.2          
XmStrDefs.c     1.4          1.3          
XmString.c      1.43         1.40         
Xmos.c          1.26         1.26         No Change
alloca.c        1.2          1.2          No Change
inlines.in      1.3          1.3          No Change
misc.c          1.12         1.12         No Change
mkinline.c      1.4          1.4          No Change
xdnd.c          1.5          1.4          
