xboard.git
15 years agorelease of version 4.4.1 v4.4.1
Arun Persaud [Sat, 31 Oct 2009 17:25:37 +0000]
release of version 4.4.1

15 years agocleaned up ChangeLog and NEWS
H.G. Muller [Sat, 31 Oct 2009 02:59:23 +0000]
cleaned up ChangeLog and NEWS

15 years agouse xtell instead of tell in wchat
H.G. Muller [Sat, 31 Oct 2009 03:02:40 +0000]
use xtell instead of tell in wchat

15 years agoupdated files for a new release, added a shortlog and a diffstat
Arun Persaud [Thu, 29 Oct 2009 05:02:01 +0000]
updated files for a new release, added a shortlog and a diffstat

15 years agoprevent buffer overflow
H.G. Muller [Thu, 29 Oct 2009 03:35:06 +0000]
prevent buffer overflow

This is a buffer-size adjustments to prevent the JAWS version from
crashing when it has to read out loud very long comments.

15 years agoFurther copy/paste fixes
Tim Mann [Wed, 28 Oct 2009 09:17:16 +0000]
Further copy/paste fixes

We needed to implement the XA_TARGETS target in order for more
sophisticated apps to really believe we put anything on the clipboard
they can use.

15 years agoMake copy/paste position and game use clipboard, bug #27810
Tim Mann [Wed, 28 Oct 2009 06:57:25 +0000]
Make copy/paste position and game use clipboard, bug #27810

Copy actually sets both the clipboard and the selection for
convenience and compatibility with the old way of doing things.  Paste
pastes from the clipboard by default, but the new -pasteSelection
option lets you get back the old behavior of pasting from the
selection.

15 years agoswitch focus to the board after loading a game
H.G. Muller [Tue, 27 Oct 2009 22:44:28 +0000]
switch focus to the board after loading a game

15 years agofix for bug #27826: fixed autoDisplayComment
H.G. Muller [Tue, 27 Oct 2009 22:32:07 +0000]
fix for bug #27826: fixed autoDisplayComment

apparently the -autoDisplayComment option was not working,
not even in WinBoard. This patch should fix it,both for WB and XB.
(Unfortunately xboard.c and winboard.c were using a different name
for the same front-end variable I needed, so I had to change one of them.)

15 years agofix for bug #27826: ported two options to xboard
H.G. Muller [Tue, 27 Oct 2009 19:24:56 +0000]
fix for bug #27826: ported two options to xboard

also updated the documentation

15 years agofixed jaws version
H.G. Muller [Tue, 27 Oct 2009 19:22:36 +0000]
fixed jaws version

turns out the new mouse handler broke the JAWS patch, as I discarded
the function IsPromotion. I adapted it to call HasPromotionChoice instead.
Also fixed two arnings by removing a no-longer needed debug print.

15 years agoreformated html to be correctly validated
Arun Persaud [Tue, 27 Oct 2009 19:03:02 +0000]
reformated html to be correctly validated

15 years agoquick fix for "White Mates" in parser.l
H.G. Muller [Tue, 27 Oct 2009 17:33:42 +0000]
quick fix for "White Mates" in parser.l

15 years agofixed a regression
Arun Persaud [Tue, 27 Oct 2009 17:32:24 +0000]
fixed a regression

15 years agochanged stderr to debug output, since stderr is closed in winboard
H.G. Muller [Tue, 27 Oct 2009 03:45:15 +0000]
changed stderr to debug output, since stderr is closed in winboard

15 years agoremoving empty lines from ICS play
H.G. Muller [Tue, 27 Oct 2009 03:42:24 +0000]
removing empty lines from ICS play

this patch causes removal of spurious prompts during ICS play also if the prompt is preceeded by a number of empty lines (as the board for the opponent move is on FICS).

15 years agoanother bug in VriantSwitch: an unitialized board was printed.
H.G. Muller [Tue, 27 Oct 2009 03:40:00 +0000]
another bug in VriantSwitch: an unitialized board was printed.

Must have been there a long time, but this time it crashed WinBoard.

15 years agomore work on variant switch
H.G. Muller [Tue, 27 Oct 2009 03:38:37 +0000]
more work on variant switch

the previous solution to the cosmetic problem of displaying a wrong shuffle
in an ICS game that was observed from the very start unfortunately turned
out to cause a real error in diplaying a stored game through the smoves
command, for variants not using the FIDE setup as standard.

This patch displays the position from before setting up the start position
of the new variant, but does setup boards[0] to the initial position of that
variant. (If this is a wrong shuffle, it is thus ot displayed, and a new board
will immediately be sent from the ICS to correct the shuffle.)

15 years agoforce full redraw in winboard
H.G. Muller [Tue, 27 Oct 2009 03:34:04 +0000]
force full redraw in winboard

Full redraw is now always forced when highlightMovesWithArrow is on,
rather than only when highlight info is available. (As in drop moves the
latter is invalid, but we must still erase the arrow from the previous move.)

15 years agofix for bug #27790 and 277772.
H.G. Muller [Tue, 27 Oct 2009 03:25:55 +0000]
fix for bug #27790 and 277772.

Suppressing the display of a wrong shuffle when observing shuffle games from the first move(#27790 bis), and the sounding of the FICS bell on crazyhouse captures (#27772 bis).

15 years agofixed bug related to unsigned char in convert.c
H.G. Muller [Tue, 27 Oct 2009 03:22:13 +0000]
fixed bug related to unsigned char in convert.c

I also fixed the unsigned-char bug in the convert.c for bitmaps that caused the
129x129 XBoard bitmaps to be defective, and a bug that required fixup with sed
afterwards (so I could use it to create a new m33s.bm)

15 years agounguarded debug printf. added the appropiate if statement
Arun Persaud [Mon, 26 Oct 2009 06:37:48 +0000]
unguarded debug printf. added the appropiate if statement

15 years agofix for two compiler warnings
H.G. Muller [Mon, 26 Oct 2009 06:31:13 +0000]
fix for two compiler warnings

15 years agofix for bug #27799: fix for nested-nested-nested variations
H.G. Muller [Mon, 26 Oct 2009 06:29:43 +0000]
fix for bug #27799: fix for nested-nested-nested variations

15 years agoThe book-probe code forgot to close the book file after opening it.
H.G. Muller [Mon, 26 Oct 2009 06:21:07 +0000]
The book-probe code forgot to close the book file after opening it.

fixed by adding an fclose at two points.

15 years agoremoved unused v54?.bm bitmaps from resource file
H.G. Muller [Mon, 26 Oct 2009 06:18:18 +0000]
removed unused v54?.bm bitmaps from resource file

it seems the v54?.bmp bitmaps were actually included in the WinBoard build
(in the resource file), although they were never actually used. So I have
removed their inclusion in the resource file now.

15 years agoreplaced defective bitmaps with copies from 4.2.7
H.G. Muller [Mon, 26 Oct 2009 06:05:30 +0000]
replaced defective bitmaps with copies from 4.2.7

15 years agoremoved bitmaps files that are not needed any more
H.G. Muller [Mon, 26 Oct 2009 06:02:08 +0000]
removed bitmaps files that are not needed any more

15 years agofixed some bitmaps
H.G. Muller [Mon, 26 Oct 2009 05:58:34 +0000]
fixed some bitmaps

15 years agoMerge branch 'master' of git://git.sv.gnu.org/xboard
Arun Persaud [Mon, 26 Oct 2009 05:53:38 +0000]
Merge branch 'master' of git://git.sv.gnu.org/xboard

15 years agoDrop an obsolete script that was only used to update my personal web site
Tim Mann [Sat, 24 Oct 2009 16:41:39 +0000]
Drop an obsolete script that was only used to update my personal web site

15 years agoSilence warnings when compiling 64-bit xboard
Tim Mann [Sat, 24 Oct 2009 08:23:29 +0000]
Silence warnings when compiling 64-bit xboard

Some harmless warnings were caused by 64-bit mode having 32-bit
int but 64-bit long and pointer.  Add casts (etc.) to silence them.
This might require adding a definition of intptr_t (a signed int
type that is the same width as a pointer) on old systems that don't
have it.

15 years agoFix up man page some more
Tim Mann [Sat, 24 Oct 2009 07:56:37 +0000]
Fix up man page some more

Sigh, the project history was still partly in reverse chronological
order and partly in forward order.  Swapped the order of some
sentences to help straighten it out.  I don't really care about this,
so other project members should feel free to do what they like here,
but the messed-up order was bugging me.

15 years agoFix some issues in the XBoard man page
Tim Mann [Sat, 24 Oct 2009 07:46:20 +0000]
Fix some issues in the XBoard man page

Correct places where the XBoard man page was calling XBoard
"WinBoard".  Change references to "WinBoard engines" and "WinBoard
protocol" to "XBoard/WinBoard ...".  Update bug reporting guidelines.
Reorganize project history to something more like chronological order
-- it had gotten pretty randomly ordered.

15 years agonew pre-release version; updated version numbers v4.4.1.20091022
Arun Persaud [Fri, 23 Oct 2009 04:45:32 +0000]
new pre-release version; updated version numbers

15 years agoThis patch adds <Enter> to the characters that cause an automatic switch to the ICS...
H.G. Muller [Fri, 23 Oct 2009 04:33:07 +0000]
This patch adds <Enter> to the characters that cause an automatic switch to the ICS console when typed to the board window.

15 years agofix to the minor graphics issue contained some typos, as was remarked in the bugs...
H.G. Muller [Fri, 23 Oct 2009 04:31:16 +0000]
fix to the minor graphics issue contained some typos, as was remarked in the bugs reports

15 years agoimproved mouse handler
H.G. Muller [Fri, 23 Oct 2009 04:30:08 +0000]
improved mouse handler

The improved mouse handler still needed an extra call to DrawPosition to
work in XBoard.

15 years agoNPS plays and pondering
H.G. Muller [Fri, 23 Oct 2009 04:28:38 +0000]
NPS plays and pondering

Clock updating did not work correctly in node-based time controls when the
engine was pondering. (It was not really meant for use with pondering. Oh well...)
This patch checks if the engine reporting the node count is indeed thinking
(as opposed to pondering).

15 years agoholdings update and regression fix
H.G. Muller [Fri, 23 Oct 2009 04:25:36 +0000]
holdings update and regression fix

The holdings-update patch was not yet satisfactory, because FICS seems to send
holdings both before and after the board! And those received before did overwrite
the holdings received after the previous board. I know tried to fix that in a kludgey
way, by hiding a flag in the board that tells if the holdings have already been written
by the ICS or not, and ignore new holdings when they are. (Except in bughouse,
where holdings updates cannot be tied to a particular board and multiple updates
between boards are normal. (I hope?).)

I also undid a regression in my previous fix for the minor graphics problem,
and solved it in a slightly different way to prevent flicker.

15 years agoimproved mouse handler
H.G. Muller [Fri, 23 Oct 2009 04:23:39 +0000]
improved mouse handler

I improved the mouse handler in a way which will preclude disappearence of pieces
on off-board or ambiguous (in-between squares) drag & drop moves. (As was reported
in the "premove bug?" thread. Also the command-line premove problem reported there
is now fixed, by removing the prefixing.

15 years agofix for bug #8847: moving backward while examining on FICS not reported to engine
H.G. Muller [Fri, 23 Oct 2009 04:18:05 +0000]
fix for bug #8847: moving backward while examining on FICS not reported to engine

I moved Daniel's code that backs up the engine when a bord with a lower number is received to a place where it is always done in zippy mode, rather than only when the engine is analyzing.

Apart from taking back moves, there was also the case where the
user moves forward by more than one move (usually immediately to
end-of-game). In this case a new movelist is fetched from the ICS
to recover the moves that were skipped. But this assumes that the
engine is at the start of the game and feeds all these moves to the
engine. So the engine had to be reset in this case to stay in sync.

15 years agobetter init for random number generator
H.G. Muller [Fri, 23 Oct 2009 04:16:56 +0000]
better init for random number generator

15 years agofix for bug #27772: holdings not updated
H.G. Muller [Thu, 22 Oct 2009 06:01:09 +0000]
fix for bug #27772: holdings not updated

holdings lines from the ICS nor update the holdings of boards[forwardMostMove] in stead of boards[currentMove].

15 years agoallowe parsing / disambiguation of SAN moves like Xe4 in certain situations
H.G. Muller [Thu, 22 Oct 2009 04:32:14 +0000]
allowe parsing / disambiguation of SAN moves like Xe4 in certain situations

This patch allows parsing / disambiguation of SAN moves like Xe4, if there
is only one wild-card piece X on the board. Moves with wild-card pieces
are now considered illegal if they leave the King in check by a piece of
known gait.

15 years agofixed bug when switching to variantsuper
H.G. Muller [Wed, 21 Oct 2009 02:09:46 +0000]
fixed bug when switching to variantsuper

15 years agofix for bug #27715: 2 (minor) graphic issues
H.G. Muller [Wed, 21 Oct 2009 02:06:43 +0000]
fix for bug #27715: 2 (minor) graphic issues

I forced a total redraw when Reset is called from the ICS code in case a
new game is encountered, in the hope it will make the reported
(irreproducible) problem go away. As game switches are not frequent, I
guess there is hardly any downside to this.

15 years agofix for bug #27667: PV line missing in analysis window, part 3
H.G. Muller [Wed, 21 Oct 2009 01:57:17 +0000]
fix for bug #27667: PV line missing in analysis window, part 3

"3. Wish for Engine state string (right to the icon): Can you add the actual search depth in analyzing mode? A change like "

I also added the requested display of depth of the analysis move in the
EngineOutput window. I guess a similar change could be made to wengineo.c (as this is in the
code they share in common), but no one ever requested that in the 5 years
since Alessandro wrote it. So for now I leave it alone.

15 years agofix for bug #27760: debug printf in backend.c and additional check for variant
H.G. Muller [Wed, 21 Oct 2009 01:52:14 +0000]
fix for bug #27760: debug printf in backend.c and additional check for variant

15 years agofix for bug #10990: cmail does not seem to support .cmailgames or .cmailaliases
Arun Persaud [Tue, 20 Oct 2009 06:17:46 +0000]
fix for bug #10990: cmail does not seem to support .cmailgames or .cmailaliases

this is correct, deleted the text out of the documentation that claims we support it

15 years agonew alpha version; first one with new naming scheme v4.4.1.20091019
Arun Persaud [Tue, 20 Oct 2009 01:40:40 +0000]
new alpha version; first one with new naming scheme

15 years agosmarter analysis of the boards that XBoard receives from an ICS
H.G. Muller [Tue, 20 Oct 2009 01:07:21 +0000]
smarter analysis of the boards that XBoard receives from an ICS

I added smarter analysis of the boards that XBoard receves from an ICS,
based on board size and piece types in the position, to recognize cases
where the board does not match the current variant, and switch to an
appropriate variant.

15 years agofix for bug #27667: window should be reference to toplevel
H.G. Muller [Tue, 20 Oct 2009 01:04:08 +0000]
fix for bug #27667: window should be reference to toplevel

The remaining objections of #27667 should be fixed by bringing the
EngineOutput window under control of the TOPLEVEL compile-time switch.

15 years agopartly fix for bug #27715: scaling of menu bar
H.G. Muller [Tue, 20 Oct 2009 01:02:42 +0000]
partly fix for bug #27715: scaling of menu bar

the menu bar to the left edge of the window.

15 years agofixed bug reported in WB forum: second game of a match would not start when using...
H.G. Muller [Tue, 20 Oct 2009 00:59:43 +0000]
fixed bug reported in WB forum: second game of a match would not start when using the GUI book

15 years agofix for bug #27751: negative holding counts displayed
H.G. Muller [Tue, 20 Oct 2009 00:57:14 +0000]
fix for bug #27751: negative holding counts displayed

I put code in the back-end to prevent holdings counts from becoming negative
when a drop move is made from empty holdings. (This can happen when
re-loading ICS bughouse games, as the smoves command fails to fill the holdings.)

15 years agoUpdated compiling instructions.
Eric Mullins [Mon, 19 Oct 2009 02:54:53 +0000]
Updated compiling instructions.

15 years agoChanges to allow fonts with any charset (such as terminal)
Eric Mullins [Sun, 18 Oct 2009 17:32:55 +0000]
Changes to allow fonts with any charset (such as terminal)

Affects winboard only.

15 years agoMoved SIGWINCH signal so it can be used...
Eric Mullins [Sat, 17 Oct 2009 05:02:41 +0000]
Moved SIGWINCH signal so it can be used...

I goofed putting this in StartChildProcess() originally.

15 years agoAdded internal wrapping ability.
Eric Mullins [Sat, 17 Oct 2009 04:54:12 +0000]
Added internal wrapping ability.

New options:
  -wrapContinuationSequence "foo"  (default: "\\   "
  -useInternalWrap (Winboard default: false, XBoard default: true)

Note: -keepLineBreaksICS if set, prevents wrapping, usurping the
   useInternalWrap setting.  The idea is if you want to keep ICS line
   breaks, then you don't want internal wrapping.  Because of this,
   the new default for keepLineBreaksICS is now false for XBoard.

15 years agofixed segfaul in convert.c used to convert pixmaps
H.G. Muller [Sat, 17 Oct 2009 02:14:34 +0000]
fixed segfaul in convert.c used to convert pixmaps

15 years agonew mousehandler to correct for premove and promotion popup
H.G. Muller [Fri, 16 Oct 2009 02:46:07 +0000]
new mousehandler to correct for premove and promotion popup

this is the new mouse handler for XBoard, which should fully implement
premove, including promotion popup, and yet suppress the promotion popup
on illegal moves that are not premoves. It is almost completely moved to
the back-end now, so that WinBoard will be able to use it as well. I just
must hook it up to winboard.c, in particular harmonize the call-backs of
the mouse driver into the front-end for grabbing and releasing pieces for
dragging, to make sure they have the same names and arguments.

15 years agoupdated black fairy pieces
H.G. Muller [Fri, 16 Oct 2009 02:32:55 +0000]
updated black fairy pieces

here is a set of black fairy pieces with opaque white details, so they have
the same style as the orthodox XBoard pieces.

15 years agoAdjustment to joining to work around server not always including space.
Eric Mullins [Thu, 15 Oct 2009 22:54:51 +0000]
Adjustment to joining to work around server not always including space.

This patch implements commit 98aa02bda540f17f1f50be00e494efafe439b004
into the updated joining routine.  This issue seems not to be server
variance, but instead the server electing to omit the space between
words when it occurs at exactly your width setting (-1 actually).

This patch makes the joiner add back the space just like the referenced
commit.  Note: this is just a workaround to a server issue-- the joiner
actually joins correctly before this patch.

15 years agoFixed joiner detection, allowing it to work with timeseal
Eric Mullins [Thu, 15 Oct 2009 13:18:42 +0000]
Fixed joiner detection, allowing it to work with timeseal

When timeseal's buffer fills in the middle of the continuation
sequence, detection fails, and the lines aren't joined.

As a result of this fix, measures intended to bypass joining are
no longer needed, so I removed them.  These utilize server vars
when available to prevent splitting.

15 years agofixed engingeoutput routine
H.G. Muller [Wed, 14 Oct 2009 21:42:37 +0000]
fixed engingeoutput routine

removed outdated code regarding analysis window

15 years agomoved bitmap to correct location
H.G. Muller [Wed, 14 Oct 2009 21:39:06 +0000]
moved bitmap to correct location

was misplaced in a previous commit

15 years agofixed wrong number of arguments for EngineOutputPopUp
H.G. Muller [Wed, 14 Oct 2009 21:26:09 +0000]
fixed wrong number of arguments for EngineOutputPopUp

15 years agonew bitmap converter (including fill option) and new pixmaps
H.G. Muller [Wed, 14 Oct 2009 04:00:27 +0000]
new bitmap converter (including fill option) and new pixmaps

15 years agoforgot to add these two lines to the last commit
Arun Persaud [Wed, 14 Oct 2009 03:52:40 +0000]
forgot to add these two lines to the last commit

15 years agoremoved AnalysisPopUp. Use EngineOutputPopUp instead
Arun Persaud [Wed, 14 Oct 2009 03:51:17 +0000]
removed AnalysisPopUp. Use EngineOutputPopUp instead

this was already in Winboard, copied it to xboard and removed unused code.

15 years agoProper board and holdings size when switching to variants gothic, capablanca, great...
H.G. Muller [Wed, 14 Oct 2009 03:32:32 +0000]
Proper board and holdings size when switching to variants gothic, capablanca, great and super within an ICS game.

15 years agocleaned up an old #ifdef in zippy
Arun Persaud [Wed, 14 Oct 2009 03:25:13 +0000]
cleaned up an old #ifdef in zippy

15 years agoneglected this for the auto-width updating in xboard
Eric Mullins [Tue, 13 Oct 2009 01:25:17 +0000]
neglected this for the auto-width updating in xboard

15 years agoAdded server width adjustment based on client width changes
Eric Mullins [Tue, 13 Oct 2009 01:19:59 +0000]
Added server width adjustment based on client width changes

15 years agosilence some compiler warnings
Eric Mullins [Tue, 13 Oct 2009 01:14:53 +0000]
silence some compiler warnings

15 years agoMaintainence to support all compilers.
Eric Mullins [Mon, 12 Oct 2009 00:39:24 +0000]
Maintainence to support all compilers.

15 years agoAdjusted alternative joining method to obey keepLineBreaksICS
Eric Mullins [Sun, 11 Oct 2009 23:07:27 +0000]
Adjusted alternative joining method to obey keepLineBreaksICS

15 years agofix for bug #27668: e.p. field still not passed to engine
H.G. Muller [Sun, 11 Oct 2009 21:48:55 +0000]
fix for bug #27668: e.p. field still not passed to engine

PositionToFEN now takes the e.p. rights from epStatus[moveNr], rather than
calculating it on the spot from moveList[moveNr-1] (which failed on the first move).

15 years agofix for bug #27666: naming of variants
H.G. Muller [Sun, 11 Oct 2009 21:46:14 +0000]
fix for bug #27666: naming of variants

Variant names "misc/xxx" are recognized as "normal", rather than "xxx"
to not get confused by the board "misc shogi" run by FICS.

15 years agochanged enable menus
H.G. Muller [Sun, 11 Oct 2009 17:14:09 +0000]
changed enable menus

Put the "Open Chat Window", "Machine Both", and "Engine #N Settings" menu items
in the appropriate enable lists for graying them out wen not applicable.

15 years agoAdded a command-line option -keepLineBreaksICS true/false to control line joining.
H.G. Muller [Sun, 11 Oct 2009 17:13:14 +0000]
Added a command-line option -keepLineBreaksICS true/false to control line joining.

15 years agoAdded code to prevent unnecessary width updates.
Eric Mullins [Sun, 11 Oct 2009 01:30:23 +0000]
Added code to prevent unnecessary width updates.

15 years agoTurned off wrap when possible on ICS servers.
Eric Mullins [Sun, 11 Oct 2009 00:34:37 +0000]
Turned off wrap when possible on ICS servers.

Turning off line wrap prevents splitting lines up using the
continuation sequence "\\   ".  This is desirable when using
timeseal because timeseal's buffer is sometimes too small,
causing it to break lines itself.  These lines can't be joined.

15 years agovsnprintf() must be _vsnprintf() for MSVC
Eric Mullins [Sat, 10 Oct 2009 22:30:56 +0000]
vsnprintf() must be _vsnprintf() for MSVC

15 years agoadded code to handle initial width update
Eric Mullins [Sat, 10 Oct 2009 22:16:45 +0000]
added code to handle initial width update

15 years agoAdded width updates to ICS client on font and window size changes
Eric Mullins [Sat, 10 Oct 2009 20:21:12 +0000]
Added width updates to ICS client on font and window size changes

What still needs to be done is placing an update call after login
to initialize with the correct width.  I didn't see where to put
that.

15 years agoadded ics_printf() and ics_update_width() and utility functions
Eric Mullins [Sat, 10 Oct 2009 20:19:30 +0000]
added ics_printf() and ics_update_width() and utility functions

15 years agoCleaned up ConsoleWndProc (not complete, see below)
Eric Mullins [Sat, 10 Oct 2009 17:15:50 +0000]
Cleaned up ConsoleWndProc  (not complete, see below)

Using static variables this way is not appropriate.  I only addressed
hInput and hText in this commit though.  But imagine the WndProc being
used by multiple windows instead of just one, and you can see why
using static variables in this way is wrong.

15 years agoRestructured URL code so it fits better with how winboard is set up.
Eric Mullins [Sat, 10 Oct 2009 17:12:10 +0000]
Restructured URL code so it fits better with how winboard is set up.

15 years agocleanup: removed "#if 1" statements
Arun Persaud [Sat, 10 Oct 2009 15:57:39 +0000]
cleanup: removed "#if 1" statements

15 years agocleanup: removed "#if 0" from source
Arun Persaud [Sat, 10 Oct 2009 15:55:21 +0000]
cleanup: removed "#if 0" from source

a bit of cleanup of the source code

15 years agofix joining of lines split by ICS
H.G. Muller [Sat, 10 Oct 2009 15:34:10 +0000]
fix joining of lines split by ICS

This patch fixes the joining of lines that were split by an ICS, so that adding
a space at the break point is done only when there was not a space already.
(Some ICS leave a space at the end of the broken line, others do not.)
An extra space would interefere with board12 in Gothic Chess, which is so
long that the ICS breaks it, and the WB parser could not handle a double
space within the board.

15 years agofix for bug #27642: Clock jumps strangely in engine mode
H.G. Muller [Sat, 10 Oct 2009 15:27:55 +0000]
fix for bug #27642: Clock jumps strangely in engine mode

This moves SwitchClocks() back to after incrementing forwardMostMove,
so that it knows again who has the move (which was broken by the "bare" patch),
and will take the appropriate tick length.

15 years agoremoved test for premove
H.G. Muller [Sat, 10 Oct 2009 15:26:13 +0000]
removed test for premove

this was added while looking for the premove bug, but is not needed

15 years agoadded URL detection and provided hotlinks in the ICS client
Eric Mullins [Sat, 10 Oct 2009 08:03:45 +0000]
added URL detection and provided hotlinks in the ICS client

15 years agoreverted winboard.c beofre URL commit to correct whitespace conversion
Eric Mullins [Sat, 10 Oct 2009 08:00:52 +0000]
reverted winboard.c beofre URL commit to correct whitespace conversion

15 years agoAdded URL detection into the console text window for ICS.
Eric Mullins [Fri, 9 Oct 2009 08:14:22 +0000]
Added URL detection into the console text window for ICS.

15 years agoadded some comments and formated code
Arun Persaud [Fri, 9 Oct 2009 06:51:06 +0000]
added some comments and formated code

15 years agofix printing out help message (list of command line options) (tiny change)
Chris Rorvick [Fri, 9 Oct 2009 06:46:52 +0000]
fix printing out help message (list of command line options) (tiny change)

The postfix increment always resulted in an attempt to print out an
option on the right side regardless of one actually existing. Use
prefix increment to prevent a crash when printing an odd number of
options.