Split back-endish part off drawing code and move to board.c
[xboard.git] / ChangeLog
index 53ec186..6bc9002 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,415 @@ ChangeLog for XBoard/WinBoard
 
 (latest entries created by git log --no-merges --pretty="%ai %an <%ae>:%n%s%n%n%b" vlast.. )
 
+2012-02-26 18:55:10 -0800 Arun Persaud <arun@nubati.net>:
+add information about our webpage and were to report bugs into the help menu
+
+
+2012-02-26 18:40:27 -0800 Arun Persaud <arun@nubati.net>:
+fixed "make install-pdf": missing target for recursive make in po directory
+
+
+2012-02-26 23:06:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Suppress recent-engines menu items in ICS mode
+
+
+2012-02-26 22:45:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Fix 50-move counter in ICS mode
+
+Marking irreversible moves in the EP_STATUS did not work in ICS mode,
+as ApplyMove,which did that is never executed there. Only the boards
+sent by ICS are displayed,especially in observing mode. Now the status is
+derived from the ICS mov strings (x in the SAN move, or P in the long move.
+
+2012-02-26 17:18:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Fix two 64-bit warnings
+
+Passing the engine number in a pointer variable to the callback needed
+a two-step cast.
+
+2012-02-26 16:53:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Fix piece symbols on switch back to variant normal
+
+Variant switches were not properly detected, meaning the variable pieces
+could keep a form belonging to a previous variant. (E.g. Queen remained
+a Lance image after switching from shogi to normal.)
+
+2012-02-26 14:07:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Keep XBoard windows attached on resize
+
+Windows attached to bottom or right are displaced with the size increase.
+Their perpendicular dimension is also scaled, to keep their edges at the same
+fraction of the main window, unless they stick out. In the latter case the
+fraction is clipped to 1, so that edge moves with the full size increase.
+
+2012-02-25 22:40:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Implement -stickyWindows in XBoard
+
+This makes the auxiliary windows  move with the main window when they were
+touching, as in WinBoard. A control is added in the General Options dialog.
+
+2012-02-25 21:14:03 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Use more reliable X-call for getting window position
+
+XtGetValues on XtNx, XtNy is unreliable. XGetWindowAttributes seems
+to give more reliable results, and automatically accounts for the width
+of window dressing. The -frameX/Y options are no longer needed bcause
+of this, and were removed.
+
+2012-02-25 11:55:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Make frame width configurable in XB
+
+New persistent options -frameX, -frameY now can be used to specify
+the amount by which Xt lies about the window coordinates.
+
+2012-02-23 20:01:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Use combobox line for recent engines when available
+
+The entry made in the -recentEngineList for the startup engine was
+derived from the -fcp value, but this would ignore a possible nickname.
+In WinBoard we now use the full combobox line to derive the entry.
+
+2012-02-23 09:29:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Fix translation of EngineOutputTitle WB
+
+
+2012-02-23 01:34:12 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
+Updated Danish translation
+
+
+2012-02-23 00:59:36 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
+One missed translation of cps->which
+
+
+2012-02-22 19:58:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Undo translation of cps->which = first/second
+
+The string in cps->which should not be translated, because it goes into
+the debug file to label engine I/O, and many tools for processing
+debug files (broadcasters, PGN extractors) rely on this being "first" or
+"second". In all contexts where "first" and "second" need to be translated,
+cps->which itself is already enclosed in _().
+
+2012-02-22 18:27:40 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Implement -serverFile option
+
+This writs an extra debug file with only engine communiation on it,
+for the benifit of programs like TLCS.
+
+2012-02-22 17:46:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Implement -autoCopyPV
+
+This option causes automatic copying of the last position of a PV walk
+to the clipboard.
+
+2012-02-16 14:58:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Delete some load-game debug printing
+
+The debug printing in Disambiguate was no longer needed. The printing
+of the started process in XBoard that went to stderr is now diverted
+to debugFP, so it ends up in the debug file.
+
+2012-02-16 14:41:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Move change of debug file to before game load
+
+Loading a game from -lgf is done before TwoMachinesEvent is called,
+but logically belongs to the game. So the code to switch to the new
+debug file for the game is moved to NextMatchGame now.
+
+2012-02-16 14:09:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Fix button grab for sweep selection
+
+The piece-menu initialization limited the grab of button events to those
+occurring inside the board window (presumably intended to limit them to
+the piece menu, but that does not pop up in sweep-selection mode).
+This is now suppressed when -pieceMenu is off, so that selection continues
+outside the the board. (Which is very convenient for pieces pu close to the
+edge.)
+
+2012-02-16 13:16:13 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Don't leave piece selected after piece menu
+
+PieceMenuEvent left the just introduced piece selected, which is almost
+never what one wants, as it makes it jump to the next square when selects.
+Which is especially annoying if it captures the piece you wanted to grab...
+
+2012-02-16 12:57:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Fix use of middle button for position setup
+
+With sweep selection the actual drop is made on releasing the button,
+and this event was not caught for button 2. Button-2 motion events were
+also not caught by the sweep-selection handler.
+
+2012-02-16 23:53:08 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
+Fix one more typo in the translator comments explaning "first" and "second"
+
+
+2012-02-16 23:39:32 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
+Fix typo in translator comments explaning "first" and "second"
+
+
+2012-02-16 23:23:20 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
+Add args.h to POTFILES.in and change the interface to ExitArgError() so msg is c format string
+
+Having msg as a format string will ease translations because then
+badArg doesn't have to come last.
+
+2012-02-16 22:51:44 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
+Mark the strings "first" and "sencond" for translation.
+
+... and assign the translated strings to cps->which in function InitEngine()
+
+2012-02-16 18:42:10 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
+Use ngettext() instead of gettext() for a string to allow better translation.
+
+
+2012-02-16 00:19:59 -0800 Arun Persaud <arun@nubati.net>:
+translation: updated uk.po
+
+
+2012-02-15 20:59:09 -0800 Arun Persaud <arun@nubati.net>:
+modified configure and makefile for handling mimedb update
+
+the default configure will install them using the xdg commands (if they exist on the system)
+
+2012-02-13 22:29:48 -0800 Arun Persaud <arun@nubati.net>:
+add configure test for xdg-programs to install mime types; can be disabled for building of e.g. rpms
+
+in case the target system doesn't have the xdg-programs available, we test for them.
+Distributions often have their own macros to install these, so we add an enable option to configure
+
+2012-02-13 22:05:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Remove a debug printf
+
+The parsePV debug printf becomes extremely verbose with -fSAN, -sSAN,
+so it was deleted.
+
+2012-02-12 22:18:24 -0800 Arun Persaud <arun@nubati.net>:
+new developer release
+
+
+2012-02-12 22:19:37 -0800 Arun Persaud <arun@nubati.net>:
+updated po/pot files
+
+
+2012-02-12 22:17:03 -0800 Arun Persaud <arun@nubati.net>:
+updated Changelog, NEWS, etc.
+
+
+2012-02-12 07:52:54 -0800 Arun Persaud <arun@nubati.net>:
+translation: updated uk.po
+
+
+2012-02-12 11:38:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Leave height of row that only contains buttons free
+
+All elements of the GenericPopUp are still scaled to the text height,
+including buttons appended behind them (browse or color buttons).
+But we now make an exception for a row that only contains buttons,
+as there is no harm in it being a little higher (and the buttons look
+prettier that way).
+
+2012-02-12 00:01:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Fix OK button of error popup
+
+The error dialog popped up as a child of the board window, even when
+DisplayError was called from a dialog. Now it checks if a transient
+dialog is up, and if so, it pops up as a child of that, grabs focus,
+and suppresses the system popdown of the transient dialog through a flag
+dialogError until it is popped down itself.
+
+2012-02-11 20:07:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Update texi file
+
+
+2012-02-11 10:18:02 -0800 Arun Persaud <arun@nubati.net>:
+added some comments for translators
+
+
+2012-02-11 10:08:46 -0800 Arun Persaud <arun@nubati.net>:
+fixed comments for translators: comments starting with TRANSLATORS: are now copied to the po file
+
+
+2012-02-11 19:01:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Also configure sweep selection
+
+To make sure this feature is tested, we set -pieceMenu false in the
+master settings file.
+
+2012-02-11 18:26:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Fix date in copyright notice about-box
+
+
+2012-02-11 17:15:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Fix switching animation masks on variant switch
+
+The masks for variant-dependent piees (E,H in Seirawan, promoted Golds
+in Shogi, the Gothic Chancellor) were no longer updated in InitDrawingSizes
+because of the patch to reduce X-server calls.
+
+2012-02-11 16:46:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Configure wider game list
+
+The game list was by default too small, so that there was no room for the
+filter field. Now a width of 500 is specified, whcih works at -size 49
+as well as 72.
+
+2012-02-11 16:29:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Fix button chaining and combo/textbox label height
+
+Previous patches forgot to specify the height for the text labels on
+-combo and -text options, so they were still too high. Buttons that go
+on the same line as the previous element should be chained right, not rubber.
+
+2012-02-11 15:52:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Make -pgnNumberTag option setable from menu
+
+The Save Options dialog now containes a checkbox for this.
+
+2012-02-11 15:48:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Configure some new features switched on
+
+The master settings file switches -showTargetSquares, -sweepPromotions
+and -seekGraph on, so that they will get more testing.
+
+2012-02-11 14:43:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Fix heigth of multi-line labels
+
+The previous height patch overlooked that some labels are multi-line,
+and need more height.
+
+2012-02-11 14:10:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Fix popdown seekgraph on forward-event XB
+
+Only the grid was drawn when the > or >> button were operated, because
+a full redraw was not forced by ForwardInner. The recent patch to take
+the seek graph down on such events did not account for that. (BackwardInner
+always seems to do full redraw, however?)
+
+2012-02-11 12:59:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Put front-end support for -recentEngines in XBoard
+
+The engines are added to the menu. Problem is still that in XBoard
+startup engines are given by command, rather than selected by combobox,
+so the command rather than the nickname ends up in the menu. If this is
+then selected, it cannot be found in the list. To limit the damage,
+Fairy-Max is now pre-installed without nickname. -recentEngines is now
+configured to 4.
+
+2012-02-11 11:53:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Better solution to button-height problem
+
+In stead of adapting the height of text widgets to that of buttons,
+(as represented by the message widget), we now do the opposite, and
+adapt the button & label heights. This is made safe by obtaining textHeight
+from the fontSet's max_logical_extent, though an XExtendsFontSet() call.
+Turns out the default height of text widgets is not exactly that, but
+4 pixels larger for borders and margin.
+  The parameter XtNvertDistance is now used to align the checkboxes with
+the following text widget, and their size is derived from textHeight as
+well.
+  The XtNvertDistance is set to -1 for the lower spin button, so that it
+its border coincides with that of the upper spin button. Their height is
+set to textHeight/2. This makes their combined height just 1 pixel more
+than that of the preceeding text widget. (Uh? 2 x tw/2 -1 > tw?), so for
+other buttons we use that too (i.e. textHeight = font_extent + 5).
+
+2012-02-10 22:39:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Fix warning
+
+Deleting debug printing had made a variable unused.
+
+2012-02-10 22:26:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Fix sleeping bug
+
+The text-edit-height patch introduced a bug that did not have any consquences
+(yet), as the extra arg erroneously included leftover from a previous
+SetValues call happened to be the same as one of the intended args.
+
+2012-02-10 20:51:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Fix unloading of first engine on tourney start
+
+Because NextTourneyGame was loading a new engine before ReserveGame was
+called to unload it with dummy game nr = -1), the first engine proc kept
+hanging.
+
+2012-02-10 18:39:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Remove some of the most verbose debug output
+
+
+2012-02-10 17:46:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Delete some unused WinBoard bitmaps
+
+There waere up-side-down knight icons that apparently hid by mistake
+in the bitmaps directory: they were not part of WinBoard
+
+2012-02-10 17:39:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Cosmetic: change 4.5 to 4.6 in xboard.conf comment
+
+
+2012-02-10 17:35:22 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Fix crash on empty combobox menu XB
+
+XBoard crashed when a combobox without items was opened, as could easily
+happen in the Load Engine dialogs when -firstChessProgramNames contained
+no items, as it would without configuring. Now the creation of the popup
+menu is suppressed in that case.
+
+2012-02-10 17:13:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Fix position of checkbox XB
+
+With the large height the widget get in internationalization, the
+checkboxes are position way too high above the text. To shift them down
+a dummy borderless label widget is drawn above them (when needed).
+
+2012-02-10 15:07:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Fix heights in Engine Output window XB
+
+The icons did not fit in the space above the memos anymore, so the height
+of this area is now left free.
+
+2012-02-10 14:55:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Derive height of text-edits in dialogs from message widget
+
+With internationalization the default height of buttons has inexpliquably
+inreased compared to that of text-edits, messing up the layout of the
+GenericPopUp. The message widget is now used as a emasure of how high
+the widgets should be.
+
+2012-02-10 14:21:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Configure XBoard engines and textures
+
+The new -useBoardTexture option is needed in xboard.conf, as we want to
+distribute with the texture on, while the compiled-in default is off.
+A list of 4 engines has been configured (fairymax, fruit, crafty, gnuchess),
+as the Load Engine and Match Options checkboxes crash XBoard when the list
+is empty. The -recentEngines option is set to 0 to make sure the code
+associated with it is never executed: the code is still experimental,
+and the required front-end support is only present in WinBoard anyway.
+
+2012-02-10 13:30:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Update Dutch WinBoard translation
+
+
+2012-02-10 13:18:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Create room in some WB dialogs for translations
+
+
+2012-02-10 13:17:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
+Add 5 missing strings to WinBoard translation template
+
+
+2012-02-09 23:03:58 -0800 Arun Persaud <arun@nubati.net>:
+new developer release
+
+
+2012-02-09 23:04:46 -0800 Arun Persaud <arun@nubati.net>:
+updated po-filies
+
+
+2012-02-09 22:59:05 -0800 Arun Persaud <arun@nubati.net>:
+updated Changelog, NEWS, etc.
+
 2012-02-09 22:44:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
 Fix non-bug in WinBoard