Patch-ID# 100247-41
Keywords: XView fullscreen selection blocking timeout
Synopsis: OpenWindows 2.0: XView Jumbo Patch
Date: Oct/03/95

Solaris Release: 1.0 1.0.1 1.1
 
SunOS Release: 4.1.1 4.1.2 4.1.3
 
Unbundled Product: OpenWindows
 
Unbundled Release: 2.0
 
BugId's fixed with this patch: 1047260 1084865 1073167 1058760 1051808 1048055 1028072 1046128 1045626 1049478 1042945 1048282 1037992 1045573 1074977 1069694 1066366 1078987 1048026 1079728 1046998 1083405 1037262 1059077 1053292 1053515 1042910 1081100 1036913 1131411 1135150 1132152 1141316 1048049 1137465 1168341 1171225 1178126 1179390 1188523 1190676 1195849 1222261

Changes incorporated in this version: 1222261

Relevant Architectures: sparc
    NOTE: sun4 sun4c sun4m

Patches accumulated and obsoleted by this patch:

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 
	NOTE:OpenWindows V3

Files included with this patch:
libxview.a
libxview.sa.3.0
libxview.so.3.0

NOTE: preceded by ucb 4.1.1 /bin/sum :

	29607  1349 libxview.a
	13034    19 libxview.sa.3.0
	60340  1048 libxview.so.3.0

Problem Description:

  	This patch fixes the list of bugs referenced below.

This jumbo patch fixes the following new bugids :

BUGID	DESCRIPTION

1222261: Selection blocking procedure doesn't check the timeout causing
         Invalid Argument.

It additionally fixes the following bug ids fixed in the prior patch release:

BUGID	DESCRIPTION

1179390: textedit dumps core by DnD copy.
1053515: Memory leak in PANEL_CHOICE items
1042910: notify_interpose_destroy_func() does not work for text subwindows
1081100: Multiple Repaints when adding Items to SCROLLABLE_PANEL on mono OW2
1036913: XView complains if a FRAME_CMD is quit after its FRAME_CMD_PANEL has been destroyed
1047260: drag text field into scroll list causes app. core dump
1084865: MENU_NROWS doesn't clamp menu to specified number of rows
1073167: Pressing help in scrollbar can core dump xview applications
1058760: xv_create/xv_destroy on the textsw causes core dumps or XError.
1051808: Control panel with a scrolling list sometimes displays wrongly sized.
1048055: Canvases and control areas < 2 pixel apart draw in wrong size.
1028072: xv_set for scrolling lists has side effects.
1046128: Non-exclusive menus calling wrong notify proc when item selected.
1045626: Can't specify different font for each panel item.
1049478: Panel buttons only inherit panel fonts conditionally.
1042945: DESELECT event is generated incorrectly in scrolling list
1048282: memory leak using PANEL_LIST_FONT
1037992: Suspending a cmdtool with control-Z kills it.
1045573: Null characters are inserted in pasted text
1074977: XView patch for bugid 1058760 causes answerbook fail
1069694: Can not display the previous pane of information with selecting on the cable
1066366: Typing ^B when cursor at top of text window goes into infinite scroll loop
1078987: Pressing HELP on abbreviated choice menu causes core dump
1048026: vi when run from filemgr's shell causes filemgr to exit and filemgr behaves strangely when its parent exits
1079728: Select a Menu Default that is Pushpin, it is failed by Segmentation fault (V2).
1046998: Dragging & dropping text selections is unreliable
1083405: xv_destroy frame memory leak
1037262: PANEL_LABEL_WIDTH doesn't work
1059077: Panelsw create/destroy causes core dumps when you highlight the text
1053292: shelltool doesn't report correct screen size
1131411: Setting PANEL_LIST_WIDTH is very slow when dealing with long list items
1135150: tapetool cores if type 'Find' key after modifying textfield
1132152: caret garbage is occasionally visible in panel text items
1141316: xv_set with PANEL_VALUE_STORED_LENGTH core dump (SIGSEGV)
1048049: XView core dumps if you drag slider over the end boxes and release the  slider
1137465: panel_begin_preview() can't be highlight a button continuously
1168341: TEXTSW doesn't paint color correctly
1137465: XView patch causes filemgr's props to work incorrectly
1171225: Xview application core dumps when re-joining a split scrollbar
1178126: V2 cmdtool crash when a lot of data output to the textsw in the cmdtool.
1188523: V2.0 libxview text package needs handling for failed malloc calls
1190676: XView 2.0: Text package needs handling for failed malloc during large DnD copy
1195849: Fullscreen failed causes the fullscreen mode won't match the real status.


Installation Instructions:
	
        1) su to root
        2) verify that $OPENWINHOME is set correctly
        3) cd to $OPENWINHOME/lib
        4) get patch id from current libxview.a using
		nm libxview.a | grep patch_id
        5) if patch_id exists
		mv libxview.a libxview.a.patch_id_123456_89
		mv libxview.so.3.0 libxview.so.3.0.patch_id_123456_89
		where patch_id_123456_89 is recorded from step #3
	   else
		mv libxview.a libxview.a.20fcs
		mv libxview.so.3.0 libxview.so.3.0.20fcs
	6) for sun4 cd to sun4 patch directory
	7) cp libxview.a $OPENWINHOME/lib/libxview.a
	8) cp libxview.so.3.0 $OPENWINHOME/lib/libxview.so.3.0
	9) cp libxview.sa.3.0 $OPENWINHOME/lib/libxview.sa.3.0
	10) cd  $OPENWINHOME/lib
        11) ranlib -t libxview.a libxview.sa.3.0

	TO FIX ANSWERBOOK PROBLEM
	-------------------------

	*  Exit answerbook if running.
	*  Check for a file .navigator.ow3 in /Answerbook/bin directory.
	   Note that this file is not supplied with this patch. If you
	   don't have please get it separately.
	*  Edit the file /Answerbook/bin/answerbook script to modify if
	   not already modified.

	 old
	 if [ "X$startNavigator" = "Xtrue" ]; then
		 navigator $nArgs 'syssoft_ab' & # only this line
	 fi

	 new
	 if [ "X$startNavigator" = "Xtrue" ]; then
		 .navigator.ow3 $nArgs 'syssoft_ab' & 
	 fi
	*   Run answerbook.
