🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #5912

xboard rev 1.2 patch 2

#5912
From: Chris Sears
Date: Fri, 28 Jun 1991 22:46
68 lines
2630 bytes
This is the second patch to xboard rev 1.2
It corrects a bug in the previous patch
having to do with backwards.  I hope it works
but I'm out of here.


Chris Sears


diff -c rev6/README rev7/README
*** rev6/README	Thu Jun 27 15:29:11 1991
--- rev7/README	Thu Jun 27 15:07:28 1991
***************
*** 255,257 ****
--- 255,263 ----
    - Can't do a backward move when it isn't your turn because gnuchess
      gets confused.  Similar bug for forward move.  Do a bunch of moves,
      back up move and go forward.  These get filtered out now.
+ 
+ Thu Jun 27 15:06:25 PDT 1991
+ 
+   - Bug in my forward move fix.  Didn't work for playgamefile mode.
+ 
+   - Remove comment popups during a reset.
Common subdirectories: rev6/bitmaps and rev7/bitmaps
diff -c rev6/xboard.c rev7/xboard.c
*** rev6/xboard.c	Thu Jun 27 15:29:05 1991
--- rev7/xboard.c	Thu Jun 27 15:02:58 1991
***************
*** 2053,2062 ****
  	}
  
  	if ((gameMode == EndOfGame) || (matchMode != MatchFalse)
! 		|| ((currentMove == 0) && (forwardMostMove == 0))
! 		|| (currentMove >= forwardMostMove))
  		return;
  
  	if (gameMode != PauseGame) {
  		PauseProc();
  		if (readGameXID != NULL) {
--- 2053,2064 ----
  	}
  
  	if ((gameMode == EndOfGame) || (matchMode != MatchFalse)
! 		|| ((currentMove == 0) && (forwardMostMove == 0)))
  		return;
  
+ 	if ((gameMode != PlayFromGameFile) && (currentMove >= forwardMostMove))
+ 		return;
+ 
  	if (gameMode != PauseGame) {
  		PauseProc();
  		if (readGameXID != NULL) {
***************
*** 2122,2127 ****
--- 2124,2134 ----
  	InitChessProgram(appData.firstHost, appData.firstChessProgram,
  		&firstProgramPID, &toFirstProgFP, &fromFirstProgFP, &firstProgramXID);
  	DisplayClocks(ResetTimers);
+ 	if (commentUp) {
+ 		XtPopdown(commentShell);
+ 		XtDestroyWidget(commentShell);
+ 		commentUp = False;
+ 	}
  }
  
  int
Technical Details
Message-ID: <1991Jun28.224628.23668@pa.dec.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!caen!spool.mu.edu!uunet!decwrl!pa.dec.com!blofeld.pa.dec.com!sears

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f936d,38d2fca1656dd3fe,start
X-Google-Attributes: gidf936d,public
X-Google-Thread: 10d71d,38d2fca1656dd3fe,start
X-Google-Attributes: gid10d71d,public
X-Google-ArrivalTime: 1991-06-28 23:11:22 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!caen!spool.mu.edu!uunet!decwrl!pa.dec.com!blofeld.pa.dec.com!sears
From: sears@blofeld.pa.dec.com (Chris Sears)
Newsgroups: gnu.chess,rec.games.chess
Subject: xboard rev 1.2 patch 2
Message-ID: <1991Jun28.224628.23668@pa.dec.com>
Date: 28 Jun 91 22:46:28 GMT
Sender: news@pa.dec.com (News)
Reply-To: sears@blofeld.pa.dec.com (Chris Sears)
Organization: Digital Equipment Corporation
Lines: 68