Return-Path: <ascotti@ascotti.org>
X-Original-To: savannah@tim-mann.org
Delivered-To: savannah@tim-mann.org
Received: from server2.gmbhosting.com (server2.gmbhosting.com [67.15.62.2])
	by giga.mumblefrotz.org (Postfix) with ESMTP id 9CF6123C6A
	for <savannah@tim-mann.org>; Thu, 17 Mar 2005 07:56:51 -0800 (PST)
Received: from ascotti by server2.gmbhosting.com with local (Exim 4.44)
	id 1DBxMg-0001en-5u
	for savannah@tim-mann.org; Thu, 17 Mar 2005 10:56:50 -0500
From: "Alessandro Scotti" <ascotti@ascotti.org>
To: savannah@tim-mann.org
Subject: Some development on Winboard
X-Mailer: NeoMail 1.26
X-IPAddress: 127.0.0.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Message-Id: <E1DBxMg-0001en-5u@server2.gmbhosting.com>
Date: Thu, 17 Mar 2005 10:56:50 -0500
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server2.gmbhosting.com
X-AntiAbuse: Original Domain - tim-mann.org
X-AntiAbuse: Originator/Caller UID/GID - [32019 504] / [47 12]
X-AntiAbuse: Sender Address Domain - ascotti.org
X-Source: /bin/bash
X-Source-Args: sh -c /usr/sbin/sendmail -oem -oi -F '"Alessandro Scotti"' -f 'ascotti@ascotti.org' -t 1>&2 
X-Source-Dir: :/base
X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on giga.mumblefrotz.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=1.8 tests=BAYES_00 autolearn=ham version=3.0.0

Hi Tim,
in the last week I have worked a little on Winboard, starting from the
public 4.2.7 sources. The reason is that Winboard does most of the
things I need, but not all. Also, it's starting to look a bit outdated
with respect to more recent GUIs.
For now I have added the following features:
- can convert engine scores from "absolute" to "relative";
- can save score and depth for each move in PGN games;
- can hide the engine PV when playing against human, yet save it in the
log file;
- fixed (I hope) a thread initialization problem and some buffer overflows;
- can paste from the clipboard with Ctrl-V either a FEN or a PGN;
- can render board squares using textures;
- can render chess pieces using fonts.
There is a screenshot here:
http://www.ascotti.org/programming/chess/zip/xboard4.jpg 
and all modified sources as well as a compiled version here:
http://www.ascotti.org/programming/chess/zip/winboard_x.zip
If you have time and interest, I could definitely use a code review. I
tried to be cautious and to code "defensively", which means code could
be slightly less clean at times but hopefully less bug prone, as after
all I could only get a limited understanding of the program in so little
time.
I have still some items on my todo list, e.g. separate time controls for
the two players, and I'll probably try to explore adding a "setoptions"
command to the protocol, as that seem to be very useful for the
non-technical user that has to configure an engine.
I posted some reports on this development here:
http://volker-pittlik.name/wbforum/viewtopic.php?t=1949
and so far haven't received bugs.
It would be great to hear what you think and whether you consider it
interesting to merge those changes in the "main" version. Thanks for a
great program anyway!
Best regards,

Alessandro Scotti

