gnuchess 5.07.1b

I made an attempt to fix some of the cosmetical issue that gave gnuchess a "crappy" feel. I think I also fixed the time management code but I cannot explain why the previous code gave time losses. I cannot reproduce this on my computer.
Here are the fixes.
- The biggest change is that GNUChess now listens to input while searching.
This happens only in xboard mode since it messes up the display in
GNUChess's non xboard mode (anyone uses this still?). The input
polling code of GNUChess 5.07 is rather tricky. It uses a separate thread
with two locks and a condition variable. I hope I have not created
any deadlocks.
- As a consequence the ? (movenow) and quit commands now work at arbitrary times.
Thus xboard will no longer hang if you quit it while GNUChess is searching.
-No pondering if the plycounter is zero.
-The memory command is supported.
-"white" and "black" do not reset the engine when they are supposed to be noops.
-The number of moves to go till the next time control are kept up to date for both colors even when moves are forced.
This is important since the number of moves is used for the time budget.
- The output of the "post" command now follows the standard.
- sd works now
- GNUChess now distinguishes between illegal moves and illegal commands.
- The level command now supports the min:sec syntax.
- No more strange move reporting.
- Lots more debugging output suppressed.
Here is a test release. Only source code since I work on Linux and I do not know how to cross compile executables that use pthreads.
http://alpha.uhasselt.be/Research/Algeb ... s-release/
Here are the fixes.
- The biggest change is that GNUChess now listens to input while searching.
This happens only in xboard mode since it messes up the display in
GNUChess's non xboard mode (anyone uses this still?). The input
polling code of GNUChess 5.07 is rather tricky. It uses a separate thread
with two locks and a condition variable. I hope I have not created
any deadlocks.
- As a consequence the ? (movenow) and quit commands now work at arbitrary times.
Thus xboard will no longer hang if you quit it while GNUChess is searching.
-No pondering if the plycounter is zero.
-The memory command is supported.
-"white" and "black" do not reset the engine when they are supposed to be noops.
-The number of moves to go till the next time control are kept up to date for both colors even when moves are forced.
This is important since the number of moves is used for the time budget.
- The output of the "post" command now follows the standard.
- sd works now
- GNUChess now distinguishes between illegal moves and illegal commands.
- The level command now supports the min:sec syntax.
- No more strange move reporting.
- Lots more debugging output suppressed.
Here is a test release. Only source code since I work on Linux and I do not know how to cross compile executables that use pthreads.
http://alpha.uhasselt.be/Research/Algeb ... s-release/