head	2.5;
access;
symbols
	Rel2_1:2.3
	Rel2_0:2.0
	Xo52:1.2
	Xo51:1.1;
locks; strict;
comment	@# @;


2.5
date	93.11.16.01.33.52;	author ware;	state Exp;
branches;
next	2.4;

2.4
date	92.12.23.15.39.06;	author ware;	state Exp;
branches;
next	2.3;

2.3
date	92.08.14.15.50.25;	author pete;	state Exp;
branches;
next	2.2;

2.2
date	92.08.11.00.33.10;	author pete;	state Exp;
branches;
next	2.1;

2.1
date	92.06.23.00.53.37;	author pete;	state Exp;
branches;
next	2.0;

2.0
date	92.04.23.02.44.08;	author ware;	state Exp;
branches;
next	1.4;

1.4
date	92.04.23.02.38.16;	author ware;	state Exp;
branches;
next	1.3;

1.3
date	92.03.05.05.18.26;	author ware;	state Exp;
branches;
next	1.2;

1.2
date	92.03.04.04.27.25;	author ware;	state Exp;
branches;
next	1.1;

1.1
date	92.03.03.17.17.06;	author ware;	state Exp;
branches;
next	;


desc
@Changes for Xo.
@


2.5
log
@Working on Column widget, etc.
@
text
@Tue Aug 17 13:46:38 1993  Peter Ware  (ware@@harpsichord)

	* src/ConsBase.c(GeometryManager): Be sure to use valid x, y,
	width, & height dimensions in reguest.
	(Layout): Check that the "core_class.resize" actually has a
	function pointer before dereferencing.

Mon Aug 16 09:47:23 1993  Peter Ware  (ware@@organ)

	* src/Vpane.c(GripCalcScale): Set cons_base.c_height to new,
	calculated height.

Fri Aug 13 09:47:23 1993  Peter Ware  (ware@@organ)

	* src/Column.c, Vpane.c: many changed to support better layout

Tue Jun 29 13:14:15 1993  Peter Ware  (ware@@oboe)

	* src/converters.c,src/shading.c,src/traversal.c:Added brackets
	for static initializers -- gcc 2.3 complains.

	* libdlsym/dlsym.c: Added prototypes for dl*() functions.

Tue May  4 18:54:17 1993  Pete Ware  (ware@@cw)

	* src/Column.c(SizeConstraintsFill): Use float value for height
	adjustment to accumulate rounddown error.

Wed Apr 21 20:37:41 1993  Pete Ware  (ware@@cw)

	* src/Box.c(QueryGeometry): If the box can stretch or shrink then
	return XtGeometryYes when being told width & height.

	* src/Column.c(SizeConstraintsFill): Minimize the vertical spacing
	before cutting down the size of the clients.

	* src/Column.c(Resize): On a resize, ignore all the user's setting
	of each pane's size.
	(FixUserHeight): New function that sets the column.user_height to
	0 for all the constraints.
	(SizeConstraintsFill): User the user_height rather then the
	returned query value if it is non-zero.

	* src/Box.c(DoLayout): I was setting the width of the child to
	include the borderwidth which was wrong

Sun Apr 18 19:20:39 1993  Pete Ware  (ware@@cw)

	* src/place_popup.c(XoPlaceRelative): Switched coordinates of
	child and parent when calling XoWidgetLoc().
	(XoWidgetGravityPoint): Improved documentation.
	(XoPlaceRelativePopup): New function that insures shell geometry
	negotiation happens before determining the size.

	* X11/Xo/Xo.h: Added prototype for XoPlaceRelativePopup().

	* src/Column.c(SizeConstraintsFill): Added extra parameter to
	indicate width of the widgets is fixed.

Sat Apr 17 23:05:07 1993  Pete Ware  (ware@@cw)

	* src/Column.c: Initialize cons->c_width when filling in.  Need to
	make sure we use the max of widest and width.

Wed Dec 30 15:35:54 1992  Pete Ware  (ware@@cw)

	* src/CompBase.c(Initialize): Set comp_base.resize_flag = False.

	* spec/composite.spec(CompBase): Added resize_flag so we can
	determine if geometry requests are done.

	* src/Box.c(GeometryManager): Change test so that if the geometry
	request causes either the maximum  width or height to _change_,
	then go ahead and calculate the new size.  Previously, it was only
	if they got larger was the request for a new size made.  Check the
	comp_base.resize_flag before calling resize method.

	* src/Box.c(SizeLayout): Made the width calculation agree with the
	one in DoLayout.

Wed Dec 23 10:36:49 1992  Pete Ware  (ware@@cw)

	* src/Column.c(SizeHeightFixed): Was not setting
	desired->request_mode to when no size change.

	* src/Column.c(SizeConstraintsFill): Fixed problem with
	adjust_float being uninitialized.  This resulted in setting the
	heights of most widgets to 1.  Also, fabs() was called with an
	integer value instead of a floating point value when checking that
	the height willl not become negative.

	* spec/constraint.spec: Fixed a few unescapd `_' characters.

	* doc/Xo.tex: Fixed a few unescaped `_' characters.

	* src/Box.c(GeometryManager): Fixed bug that had the max_width and
	max_height improperly initialized to the requesting widgets new
	width/height.  Completely wrong.

	Use core_class.resize() instead of ChangeManaged() to make the new
	sizes.

	Bug that tested request_mode&CWWidth and then set the height
	instead of testing against CWHeight.

	* Placed all changes back under CVS.

Fri Nov  6 15:38:15 1992  Pete Ware  (ware@@cw)

	* Xo.h(XoFindPixmapFile): Added prototype

	* XoUnistd.h(strncmp): Added prototype

	* menu.c: Added XoP.h so to get _XoWarn() prototype.

Wed Nov  4 16:31:44 1992  Peter Ware  (ware@@oboe)

	* test/Imakefile: Added add.c.   Use new macro for XtGeolib

	* ./Xo.tmpl: Added macro for include XtGeolib

	* test/box.c,test/box_simple.c: Moved the code for adding buttons
	into a general purpose function, make_add_buttons, in add.c

	* test/add.c: New file for adding buttons.  Consolidated code from
	box.c and box_simple.c.

	* test/box.c: Renamed some of the widgets.

Mon Nov  2 16:33:44 1992  Peter Ware  (ware@@oboe)

	* Trying futilly to get the Box and Column geometry management to
	work.

	* test/test.c,box_simple.c,test.h: Added Test_Box_Simple

Fri Oct 30 14:39:15 1992  Peter Ware  (ware@@oboe)

	* Added number of of children to crate in test_box to the Options.

	* src/Box.c: Allow for the border_widget being created

	* src/focus.c(XoFocusWidgetSet): Add a destroy callback incase the
	widget is destroyed. (ClearFocusCB): New function to clear
	whatever widget is supposed to have the focus.

Fri Oct 16 10:46:38 1992  Peter Ware  (ware@@oboe)

	* src/menu.c, src/menu_read.c, X11/Xo/menu.h: Moved several
	functions from menu_read.c to menu.c in an attempt to make the
	division clearer -- i.e. that menu_read.c is only one possible way
	of creating a menu specification.

	* test/test.menu: Made "Molecule2" have a submenu with submenus to
	illustrate arbitarily deep menus

	* doc/Xo.tex: Rewrote and added much detail to section on creating
	menus.

Thu Oct 15 15:50:17 1992  Peter Ware  (ware@@oboe)

	* src/menu.c: Rewrote to use dynamic allocation.

	* X11/Xo/menu.h: Added prototypes for new dynamic allocation.

Fri Oct  2 10:57:57 1992  Peter Ware  (ware@@oboe)

	* src/converters.c: Changed so it is compiled based on -DNO_XPM
	being set to cause the xpm code not to be used.  In other words,
	xpm should always be included.

	* ./libdlsym: New library to handle problems with dlopen,dlclose
	on Suns when linking statically.

	* ./libxpm: Copied xpm3.2a to include with this distribution so the
	we could rely on them being available.

	* ./X11: added xpm.h

	* Xo.tmpl: Added Xpm flags and improved dlsym handling.  Use
	CC_REVISION instead of GccVersion.  Formatted some ifdefs.
	Added XoDepLibs and XoLibs macros.

	* src/test(Imakefile): Use XoDepLibs.  Remove dlsym.c

	* src/examples/xfontsel(Imakefile): Use XoDepLibs.  Remove dlsym.c


Thu Oct  1 13:05:10 1992  Peter Ware  (ware@@oboe)

	* spec/core.spec(Label): Forgot to escape an `_' in some text.

	* X11/Xo/XoUnistd.h: Made MALLOC_TYPE and FREE_TYPE dependent on
	gcc version on Suns.  Version 2.1.1 had bad values in stdlib.h

	* Xo.tmpl: Changed yacc and lex rules so they'd delete any extern
	references to malloc, calloc or free.  This is a little crufty.
	Needed because the various skeletons declared them incorrectly on
	various systems.

Tue Aug 11 09:39:48 1992  Pete Ware  (pete@@sif.css.gov)

	* spec/constraint.spec(MenuBar): Added Traverse() as using
	ConsBase instead of CompBase.

Thu Aug  6 10:43:24 1992  Pete Ware  (pete@@sif.css.gov)

	* src/Row.c(GeometryManager): New to allow children to resize.

	* src/Label.c(SetValues): If the flag widget changes, then
	calculate and request a new size.

	* Moved Row to be a subclass of ConsBase instead of CompBase.
	Neded to do some interesting things:
	1. Change the xoCompExtenstionPtr to be XoConsExtensionPtr.
	2. Set Constraint.resources & num_resources to 0.
	3. Add "constraints <class> =" with dummy values.
	4. Needed to change comp_base references to cons_base.
	All in all, not quite as easy as I wanted.

	* src/Column.c(AskNewWidth): Setting the wrong flag when looking
	for a new size.

	* spec/core.spec(Label): Changed border_width to 0.  I'm not sure
	why it was only Button that did this before.

Wed Aug  5 11:19:46 1992  Pete Ware  (pete@@sif.css.gov)

	* src/shading.c: New file.  Copied from athena plotter widgets.
	Renamed and formatted to fit in with Xo style

	* src/ObjLabel.c(CalcAttr): Use stipple to determine what should
	be displayed.

	* X11/Xo/Xo.h: Added enums, #defines, and prototypes for Shading.h

Tue Aug  4 12:18:49 1992  Pete Ware  (pete@@sif.css.gov)

	* src/X11/XoUnistd.h: Added FREE_TYPE so it compiles with cc.

Tue Jul 28 12:52:05 1992  Pete Ware  (pete@@sif.css.gov)

	* spec/core.spec(MenuButton): Override value of label.flag_class
	to be ObjArrow.  Added direction resource  that the ObjArrow can
	inherit.
	(MenuBarButton): Changed default value of direction inherited from
	MenuButton to be "Down".

	* src/Label.c(CalcLocation): Add border width of flag_widget to
	size to 

	* src/MenuButon.c(FlagWidget): New function that insures the flag
	widget exists according to the value of submenu.  This should
	allow menu bar buttons and menu buttons to display if they have a
	submenu.

Fri Jul 24 13:21:41 1992  Pete Ware  (pete@@sif.css.gov)

	* src/Button.c: Added comments that head each section of
	class methods.

	* src/MenuBarB.c: Added comments that head each section of
	class methods.

	* src/Label.c: Added the "flag" widget to indicate current state.
	Many changes to make geometry calculations more consistent with
	how it is done in other widgets.

	Added comments that head each section of class methods.

	* src/Button.c(Resize,Redisplay): Deleted since they just use the
	Label's values.

	* spec/core.spec(Label): Added flag_class, flag_widget,
	flag_gravity resources.
	(Button): Removed resize/expose methods.
	

Thu Jul 23 12:05:45 1992  Pete Ware  (pete@@sif.css.gov)

	* build/*: Working on getting sources to compile with fewer
	warning messages.  In particular, using flex causes  some problems
	becuase it defines the type of malloc/free and includes
	systypes.h.  Need to #define HAVE_PROTO's in lex.l  to get it to
	work.

	Still getting some error messages in lex.l and grammar.y but it
	seems unavoidable.

	* src/X11/XoUnistd.h: Added macros for malloc() and free() return
	types and parameter types.  Added XoPArgs() for prototype
	arguments in typedefs and functions as parameters.  Added several
	prototypes for system functions.

Wed Jul 22 15:24:16 1992  Pete Ware  (pete@@sif.css.gov)

	* build/build.h: Added prototypes for class_first() and
	class_next(), err()0, yyerror() and main().

	* X11/Xo/XoUnistd.h: Added prototype for fflush(), read().

Mon Jul 20 17:16:41 1992  Pete Ware  (pete@@sif.css.gov)

	* src/icccm.c(XoWmAddDeleteHandler): Several new functions to
	handle WM_DELETE_WINDOW messages from the window manager.

	* src/Menu.c(Traverse): If a submenu is popped up and we move
	left with keyboard, make submenu popdown.

	* src/misc.c(XoConfWidget): Allow it to accept NULL widget.

Fri Jul 17 13:14:15 1992  Pete Ware  (pete@@sif.css.gov)

	* src/MenuShell.c(ChangeManaged): Work on getting Menu to display
	the proper size.  Finally the initial menu is placed correctly.
	(Resize): Added to handle changing border widget size properly.

	* spec/composite.spec(MenuShell): Added Resize class method.
	Added resize_flag to indicate if Resize got called.

	* spec/core.spec(MenuButton): Make the backing store always be
	turned on.  This should speedup redisplay of menus.

	* src/Column.c(SizeLayout): Changed to use CalcWidth() and
	CalcHeight().
	(CalcWidth, CalcHeight): Fixed so it follows the same algorithm as
	DoLayout() when determining the size.

Thu Jul 16 12:23:22 1992  Pete Ware  (pete@@sif.css.gov)

	* src/Menu.c(Traverse): Make XoTRAVERSE_LEFT popdown any child
	menus and pass the focus correctly.

	* src/MenuButton.c(ItemNext): Made it use XoTRAVERSE_RIGHT instead
	of XoTRAVERSE_NEXT.  (ItemPrev): Similar except left and previous.

	* src/MenuShell.c(CallbackMenu): Removed redundant call to
	XoMenuNew() when cb->pi_submenu == NULL.  The same thing happens
	in MenuShell.SetValues().

	* src/{inherit,Label,hardcopy}.c: Modified to use XoNameString()
	instead of XtName.

	* src/misc.c: Added some comments.

	* src/traversal.c(XoTraverse): Use XoNameString() instead of
	XtName() in DBUG statement.

Wed Jun  3 21:15:02 1992  Pete Ware  (ware@@cw)

	* src/ObjArrow.c(Redisplay): Fixed problem with arrows not being
	properly drawn on a resize.  I wasn't adding the offset from the
	top or left side when drawing -- i.e. I just assumed it was zero.

	* src/Menu*.c: Changed XoMenuNew() and XoMenuDone() to pass in all
	the parameters instead of using the XoPopupInfo structure.  I'm
	anticipating some changes in this area and I wanted to make the
	compiler catch any missed parameters.

	Spent much time tracking down some errors.

	* src/menu.c: Started to add some comments.

Sun May 10 14:30:18 1992  Peter Ware  (ware@@xylophone)

	* X11/Xo/Xo.h: Added prototypes for new functions, including
	XoVirtualRootWindowOfScreen().

	* src/vroot.c: New file for virtual root window managers.

	* src/place_popup.c: Added some functions so XoPlaceRelative() is
	more functional.

	* src/test.c: Added a popup callback, put menubar back at top,
	make the buttons work again.

Wed Apr 22 22:37:20 1992  Pete Ware  (ware at cw)

	* src/build/output_tex.c: Actually includes the structure with the
	doucmentation.

	* Insuring everything is under RCS.

Fri Apr 17 21:56:09 1992  Pete Ware  (ware at cw)

	* src/build/lookup.c: New functions to lookup constraint override
	values.

	* src/build/output_tex.c: New functions to document constraint
	resources.

	* src/build/build.h: Added prototypes for new lookup functions.

Thu Apr  9 14:57:20 1992  Peter Ware  (ware@@xylophone)

	* src/Column.c(GeometryManager): Don't resize widget if it is a
	query only.

Wed Apr  8 11:41:03 1992  Peter Ware  (ware@@xylophone)

	* intrinsic.spec: Changed so subclasses inherit the query_geometry,
	accept_focus, expose and resize fields by default.

	* Column.c(QueryGeometry): Set the request_mode for width and
	height changes.

	* src/ObjText.c(GeometryQuery): Rewrote to work correctly -- or at
	least in the spirt of other such procedutres..

	* src/misc.c(_XoObjPointIn): New function for determining if a
	point falls within a widget or object.

	* X11/Xo/XoP.h: Moves macros from ObjArrow.c to XoP.h that return
	the edges of an object.  Added prototype for _XoObjPointIn().

	* spec/rectobj.spec(ObjText): Added Core.resize.

	* src/ObjText.c(Justify): Uses _XoObjDraw*() macros.
	(Resize): New methods that calls justify.  Should fix problem with
	it not being centered in the list.

Tue Apr  7 14:58:27 1992  Peter Ware  (ware@@oboe)

	* spec/constraint.spec(List): New class.

Mon Apr  6 13:03:39 1992  Peter Ware  (ware@@xylophone)

	* src/Label.c(Resize): Resize the drawing widget.

	* spec/core.spec(Label): Added resizeDraw resource that if true
	lets the label resize the drawing object to the labels new size.

	* src/Xo.h: Added XoPointing enum data type for indicating which
	way the arrow points.  Added some comments for other enumerated
	data types.

	* src/ObjArrow.c: New widget class.

	* spec/rectobj.spec(ObjArrow): New class.

	* src/Scrollbar.c(GripPlace): Made sure vertical and horizontal
	use similar code.  Added resources for specifying the class of the
	"arrow"'s.
	(Initialize): specify the class of the arrow and the direction it
	should point.

	* src/converters.c(Pointing):  Added converters for string to
	pointing.  Added ObjArrow to object classes for conversion.

Fri Apr  3 09:28:00 1992  Peter Ware  (ware@@xylophone)

	* XoP.h(_XoEdge*()): Fixed my misunderstanding of the actual
	edge of a window.  The x&y refers to the outside corner, the width
	and height are the size of the interior region and the
	border_width is the difference.

	* Xo.tex: Fixed typo.

	* Scrollbar.c: Changed so grip is expressed as the percentage the
	"top" of the grip is from the start.  Also fixed problems with
	grip not having the full range of motion.  Turned out I wasn't
	adding the width of the "reverse" scroller when calculating the
	position.

	* test/test.c: Remove debuging printf.

	* src/Scrollbar.c(Initialize): Set the justification to
	XoJUSTIFY_RIGHT so the arrow is displayed.

Wed Apr  1 12:47:15 1992  Peter Ware  (ware at xylophone)

	* spec/core.spec(Scrollbar): Added orig_width, orig_height and
	GeometryQuery methods.

	* src/Scrollbar.c(GeometryQuery): New method that answers the
	query geometry call.
	(Initialize): Set orig_width & orig_height to the initial width and
	height.
	(SetValues): If width or height change then update orig_width and
	orig_height.

Tue Mar 31 11:45:57 1992  Peter Ware  (ware at xylophone)

	* Xo.h, XoP.h, src/*: Compiled with gcc2.1 under X11R4.  Had to
	fix some prototypes problems.

Fri Mar  6 22:57:12 1992  Pete Ware  (ware at cw)

	* Reran tgrind on Button output files (generated new Label.tex,
	LabelRec.tex, LabelP.tex.

Thu Mar  5 17:53:43 1992  Pete Ware  (ware at cw)

	* spec/core.spec(Scrollbar): Added callback list to execute when
	the grip moves.

	* src/Scrollbar.c(GripMove): Execute the callback list.  Also, do
	not check if the center has changed.  The check would have
	complicated the code in SetValues().

Wed Mar  4 15:41:30 1992  Peter Ware  (ware at xylophone)

	* spec/core.spec(Scrollbar): Added actions and translations so
	that a button press in the scrollbar causes the grip to jump to
	that location.  Button motion causes the grip to follow.  Added
	direction field so we know which way to move the Grip when the
	mouse is over the grip during button1down motion.

	* src/Scrollbar.c(GripGoto): New action that causes the Grip to
	jump to the event location.

	* spec/core.spec(Button):  Added timerInterval and increased
	timerDelay.  This should give the user a chance to have a slow
	click but still get decent feedback.

	* src/Button.c:  Added timer's and auto repeating into
	Button.

	* src/Obj2dBorder.c(Redisplay): cast width and height in call to
	XDrawRectangle() to unsigned.

	* src/Scrollbar.c: Working on getting proper placing of the Grip
	and scrollers.

	* src/traversal.c: Changed casts to (signed) to (int).  Sun cc does
	not grok (signed).

	* spec/intrinsic.spec(rect_object): Changed type of obj2 so it
	corresponds to how it is defined (oops).

Tue Mar  3 10:46:08 1992  Pete Ware  (ware at cw)

	* Placed under cvs.  It seems to work and holds together pretty
	well.  Let's call this release Xo52 even though there are not
	any significant changes from Xo51.

	* src/misc.c(XoName,XoNameString): Added XoNameString() so one can
	pass in a buffer to get the widget name.  This is reentrant.
	Rewrote XoName() in terms of XoNameString().

	* src/misc.c(XoConfWidget): Rewrote to use XoNameString() so names
	of the widgets are properly displayed.  Also print the size of the
	parent widget.

Sat Feb 29 13:45:23 1992  Pete Ware  (ware at cw)

	* core.spec: Added Scrollbar class.

Sun Feb 23 15:28:36 1992  Pete Ware  (ware at cw)

	* Vpane.c, Column.c, constraint.spec: Instead of using "scale" use
	a value user_height that if non-zero indicates the user has set
	the height and we should use this instead of the one from a query
	geometry.  NOTE:  If the child asks for a new size we do not use
	this value set from the user.

	* text.h, text.c: Added enough info to AtTextCreate(),
	AtTextDestroy() and AtTextReformat() so that XtGetGC() and
	XtReleaseGC() so that we don't have to copy and set the font for
	each text string.  This should speed things up (I hope).  By using
	shared GC's we shouldn't be getting to many resources.

Thu Feb 20 12:57:38 1992  Pete Ware  (ware at cw)

	* Menu.c(Traverse): Changed traversal back so that next, previous,
	left and right all pass the request on to the parent.  Really need
	to add some way to indicate this is a menu makeing the request.

	* Vpane.c(MoveGrip): Use GripMove() to do the actual work.
	(GripMove): Insure that all grips are moved when they overlap.
	Don't allow grips to move above or below the parent.
	(GripAdd): Don't create grip at bottom.  I.e. if there are n
	managed children, then only create n-1 grips.

Wed Feb 19 17:31:49 1992  Pete Ware  (ware at cw)

	* MenuShell.c(Traverse): Allow XoTRAVERSE_LEFT to go to the next
	item in the (still need to popudown the existing menu).

Mon Feb 17 10:17:16 1992  Peter Ware  (ware at xylophone)

	* Grip.c: Made a child of Button instead of Label.

	* Grip.c(Highlight,Unhighlight,spec): Changed to use similar
	translations as button.  Use all the same actions.  Deleted
	Highlight and Unhighlight.

	* ObjText.c: Changes to use Athena Text facilities.  Most of the
	changes are in AddLine() to use the At functions instead of X
	directly.  Changed FreeLines() to use AtTextDestroy().  Do not set
	the font in GetGC() since the At facilities use that.  Generally,
	required remarkably little changes to support the new style of
	text.  Good job, pete!.

	* Added At converters to converters.c

	* Added Athena text functions in src/text.c, src/FontFamily.c.
	Added header files FontFamily.h, FontFamilyP.h, text.h to X11/Xo/.

Sun Feb 16 18:53:21 1992  Pete Ware  (ware at cw)

	* misc.c: Change several uses of XtDisplay() and XtScreen() to also
	work with Objects.

	* table.c,hash_fixed.c: Added prototypes for malloc(), free() and
	bzero() so it compiles cleanly.

Thu Feb 13 15:56:03 1992  Peter Ware  (ware at organ)

	* MenuBar.c(Traverse): If action is next or previous, behave as if
	it is up and down.  Changes to make debugging statements better.

	* traversal.c(XoTraverse): Changes to make debugging statements better.

	* Menu.c(Traverse): Changes for better debuggin.

	* MenuBarB.c(ItemNext): Fixed problem with bogus data in
	popup_info that caused a crash later.

Wed Feb 12 17:09:06 1992  Peter Ware  (ware at organ)

	* warning.c(_XoWarn): If widget is NULL, use XtWarningMsg() to
	avoid core dump.

Fri Feb  7 16:23:13 1992  Peter Ware  (ware at organ)

	* Moved XoGravity from Label.h (changed core.spec) to Xo.h.

	* Added functions XoPlaceRelative() to allow popup to show in
	relation to some other widget.

	* Added down and up to possible traversal directions.  Changed
	Menu to support moving around the menus this way.

Mon Feb  3 13:28:55 1992  Peter Ware  (ware at organ)

	* build/intrinsic.spec: Changed default of translations to
	XtInheritTranslations.

	* Button.c: Use XoEventTime () to extrace time of the event
	instead of assuming it is a key event.

Fri Jan 31 12:31:35 1992  Peter Ware  (ware at organ)

	* Added src/icccm.c to handle issues dealing with window managers.
	Currently has functions for dealing with focus changes.  Also need
	to deal with delete windows.

	* src/Box.c: The last row was just covering up the border.  This
	was happening in DoLayout() when it was calculating the current
	height.  It didn't account for the last voffset and so it thought
	it needed to 

Thu Jan 30 16:47:07 1992  Peter Ware  (ware at xylophone)

	* src/Obj2dBorder.c: Working on getting the "clearInverted",
	borderWidth, etc working.

Thu Jan 23 15:00:01 1992  Peter Ware  (ware at organ)

	* build/output.c(output_c): Added defines for accessing the class
	variables.  This should make it (slightly) easier to write widgets
	that can be moved around in class hierarchy.

	* src/Menu.c,Vpane.c,MenuShell.c,MenuBox.c,MenuBar.c,ConsBase.c,
	CompBase.c,Button.c: Use the new macros for the class variables.

Tue Jan 14 15:34:21 1992  Peter Ware  (ware at organ)

	* Obj2dBorder.c(Initialize): Change the parents border width so
	the server draws the border.

Fri Jan 10 16:39:11 1992  Peter Ware  (ware at organ)

	* warning.c(_XoWarn): Added the widget name to the error message
	by prepending a '%s'.

	* MenuShell.c(ChangeManaged): Loop several times when requesting a
	new size.
	(CallbackMenu): Try to make sure the popped up menu is not off the
	screen (or at least a best effort).

	* rectobj.spec: Created ObjBorder and made Obj2dBorder and
	Obj3dBorder (formerly ObjBorder) subclasses.

	* Obj3dBorder.c: Changed to support being a subclass of ObjBorder.
	Renamed from ObjBorder.c.

	* ObjBorder.c: new.

	* Obj2dBorder.c: Changed to support being a subclass of ObjBorder.
	Changed rules for drawing borders so they are the same as
	Obj3dBorder.  Seems to work better for menus and such

	* converters.c: Changed string to object converter to handle a
	default border class that uses Obj3dBorder for color and
	Obj2dBorder for monochrome.

Thu Jan  9 10:41:51 1992  Peter Ware  (ware at harmonica)

	* ObjText.c: Added a default label string so that only a single
	width needs to be specified.

	* build/output.c: Wrap each #define in ifdef's because R5 defines
	many of the values in String

Tue Dec 31 13:06:11 1991  Pete Ware  (pete at cw)

	* build: If no class variables are defined, insert a dummy.
	Output a '.' if file does not change, '!' if it does.

Sat Dec 21 00:03:55 1991  Pete Ware  (pete at cw)

	* build: Allow "methods" to be specified and dumped to the
	<class>Rec.h file so the prototypes don't need to be done by
	hand.

	* spec: Made changes to support having "methods".

	* X11/Xo/XoUnistd.h: Merged with data from build/build.h.  Probably
	screwed it up for any other machine but a Sun.  Stupid system
	prototypes.

	* src: Changed al the widget's to not define the prototype in the
	.c file and to rely on the one from the <class>Rec.h file.

Wed Dec 18 11:20:32 1991  Pete Ware  (pete at cw)

	* Vpane.c(GripDrawLine): New.  Draws the line where the grip is
	located.
	(Redisplay): New.  Call GripDrawLine but set the clip region.
	Learned one has to use XSetClipMask (.., None) to clear this
	instead of passing NULL to XSetRegion.

	* constraint.spec(Vpane): Set the default vspace to 10,
	Add Resize.  Add gc for line drawing.

	* core.spec(Grip): Set the default width and height to 10.

	* hardcopy.c(XoHardcopy): Check that widget is a subclass of core
	before doing the popups.  Objects cannot have popup children so
	field is not initialized.

	* Label.c(Initialize): Do not change the width/height if it
	is already set.

	* Vpane.c(NotifyGrip): New.  Callback to execute when grip is
	done.
	(Realize): New.  Added so grips are created above the other children.
	(GripAdd): When creating grips, make sure it is on top of the
	stack if it is realized.
	(Resize): New.  Executes parents resize procedure then places
	the grips.
	(GripPlace): New.  Put the grip alongside it's associated widget.


Tue Dec 17 10:24:28 1991  Pete Ware  (pete at cw)

	* Grip.c: Inherit resize method

	* Vpane.c(MoveGrip): Had client_data and call_data in wrong order.

	* Xo.tmpl: Added -DXTFUNCPROTO so prototypes are checked.

	* constraint.spec(Column): Added "skip" constraint.  Added
	constraints initialize method (for new skip constraint).
	(Vpane): Added start_y and moving_grip to instance variables to
	allow the total movement to be calculated.


Sun Dec  1 10:24:32 1991  Pete Ware  (pete at cw)

	* MenuBarB.c(WalkMenu,Highlight): Popup the menus on motion
	events.  Hopefully, this will optimize when the mouse is moved
	across the menubar.

	* core.spec: Defined the "guard" for each of the classes include
	files.

	* output.c(output_cpp_include): Fixed bug that was generating the
	wrong symbol (left off the .h) for conditionally including the
	file.  Also, added looking up a variable "guard<suffix>" to allow
	the class to define different symbols for inclusion of the public
	(<suffix> = "") and private (<suffix> = "P") include files.  This
	was needed because the Xt Intrinsics are very inconsistent about
	how these are named.  This was only done to make compile times
	slightly more efficient.

Sat Nov 30 14:56:13 1991  Pete Ware  (pete at cw)

	* main.c: Output a description of the widget hierarchy.

	* output_tex.c(output_doc): Add a \label{} at the start of each
	widget description.  In the summary resources, include the
	defining class and a page reference to the class.

	* output_util.c(output_cpp_include): Add a flag to indicate if it
	should be wrapped in ifdef's.  This is so output_doc doesn't have
	to include these ugly ifdefs.

	* ConsBase.c(InsertChild): Insert in correct order.

Fri Nov 29 18:42:35 1991  Pete Ware  (pete at cw)

	* constraint.spec(ConsBase): Added sort_children method and added
	new methods to class structure.

	* ConsBase.c(Initialize,InsertChild,ConstraintSetValues,
	SortChildren):  Added methods to support sorting children by
	some integer.

	$Id: ChangeLog,v 2.4 1992/12/23 15:39:06 ware Exp $
@


2.4
log
@Added macros to support using lex and yacc to Xo.tmpl.  Integrated new
scheme with XoUnitStd.h and Xo.tmpl.  Updated README.  Added Xpm3.2a
to the distribution.
@
text
@d1 80
d83 23
d812 1
a812 1
	$Id: ChangeLog,v 2.3 1992/08/14 15:50:25 pete Exp $
@


2.3
log
@Changes
@
text
@d1 97
d709 1
a709 1
	$Id: ChangeLog,v 2.2 1992/08/11 00:33:10 pete Exp $
@


2.2
log
@Updated changes.
@
text
@d1 5
d612 1
a612 1
	$Id: ChangeLog,v 2.1 1992/06/23 00:53:37 pete Exp $
@


2.1
log
@Description of changes.  Changed defaults.
@
text
@d1 143
d607 1
a607 1
	$Id: ChangeLog,v 2.0 1992/04/23 02:44:08 ware Exp $
@


2.0
log
@Change info.
@
text
@d1 28
d464 1
a464 1
	$Id: ChangeLog,v 1.4 1992/04/23 02:38:16 ware Exp $
@


1.4
log
@Just the ChangeLog info
@
text
@d436 1
a436 1
	$Id: ChangeLog,v 1.3 1992/03/05 05:18:26 ware Exp $
@


1.3
log
@Record changes from 5 March.
@
text
@d1 124
d436 1
a436 1
	$Id: ChangeLog,v 1.2 1992/03/04 04:27:25 ware Exp $
@


1.2
log
@Added id
@
text
@d1 30
d312 1
a312 1
	$Id:$
@


1.1
log
@Initial revision
@
text
@d3 4
d282 1
@
