remoteglot
22 months agoUpgrade Chess.js to a version that supports Chess960 castling.
Steinar H. Gunderson [Sun, 14 Jan 2018 10:38:04 +0000 (11:38 +0100)]
Upgrade Chess.js to a version that supports Chess960 castling.

22 months agoFix non-Chess960 castling.
Steinar H. Gunderson [Sat, 13 Jan 2018 13:29:21 +0000 (14:29 +0100)]
Fix non-Chess960 castling.

22 months agoAnother castling fix.
Steinar H. Gunderson [Sun, 7 Jan 2018 00:43:20 +0000 (01:43 +0100)]
Another castling fix.

22 months agoFix various Chess960 castling bugs.
Steinar H. Gunderson [Sat, 6 Jan 2018 21:56:18 +0000 (22:56 +0100)]
Fix various Chess960 castling bugs.

22 months agoCosmetic improvement for Chess960 games.
Steinar H. Gunderson [Sat, 6 Jan 2018 19:23:39 +0000 (20:23 +0100)]
Cosmetic improvement for Chess960 games.

22 months agoFix UCI syntax error.
Steinar H. Gunderson [Sat, 6 Jan 2018 18:52:55 +0000 (19:52 +0100)]
Fix UCI syntax error.

22 months agoImplement Chess960 castling rules on the backend.
Steinar H. Gunderson [Sat, 6 Jan 2018 17:31:37 +0000 (18:31 +0100)]
Implement Chess960 castling rules on the backend.

22 months agoRemove an obsolete comment.
Steinar H. Gunderson [Sat, 6 Jan 2018 16:45:50 +0000 (17:45 +0100)]
Remove an obsolete comment.

22 months agoMake the Chess960 storage/test a bit more efficient.
Steinar H. Gunderson [Sat, 6 Jan 2018 15:45:30 +0000 (16:45 +0100)]
Make the Chess960 storage/test a bit more efficient.

22 months agoUpdate copyright year.
Steinar H. Gunderson [Sat, 6 Jan 2018 12:39:05 +0000 (13:39 +0100)]
Update copyright year.

22 months agoInform the engine if we have a Chess960 game.
Steinar H. Gunderson [Sat, 6 Jan 2018 12:38:13 +0000 (13:38 +0100)]
Inform the engine if we have a Chess960 game.

22 months agoSupport starting from a nonstandard position.
Steinar H. Gunderson [Sat, 6 Jan 2018 12:00:26 +0000 (13:00 +0100)]
Support starting from a nonstandard position.

22 months agoRemove bitpacked_fen, which is only really in use for the book (which is forked off...
Steinar H. Gunderson [Sat, 6 Jan 2018 11:18:09 +0000 (12:18 +0100)]
Remove bitpacked_fen, which is only really in use for the book (which is forked off for now).

22 months agoRemove the option to sort by name; fewer options is good, and few people probably...
Steinar H. Gunderson [Thu, 28 Dec 2017 14:32:04 +0000 (15:32 +0100)]
Remove the option to sort by name; fewer options is good, and few people probably used this.

22 months agoIgnore old clock positions from the database.
Steinar H. Gunderson [Wed, 27 Dec 2017 10:45:46 +0000 (11:45 +0100)]
Ignore old clock positions from the database.

22 months agoRevert "Reject more invalid moves."
Steinar H. Gunderson [Tue, 26 Dec 2017 18:36:01 +0000 (19:36 +0100)]
Revert "Reject more invalid moves."

This reverts commit 72de1da79baf2dddf6b37374aeb27bd3576af596.

I honestly don't remember why this revert is anymore.

22 months agoUpdate TB7 API URL.
Steinar H. Gunderson [Tue, 26 Dec 2017 18:35:31 +0000 (19:35 +0100)]
Update TB7 API URL.

22 months agoRevert "Reintroduce JSON-delta v2.0, but now explicitly with non-minimal diffs (the...
Steinar H. Gunderson [Tue, 26 Dec 2017 18:34:25 +0000 (19:34 +0100)]
Revert "Reintroduce JSON-delta v2.0, but now explicitly with non-minimal diffs (the minimal ones are default, and too slow)."

This reverts commit 05513b8ab69d30778131b5d70e84a828dafe21e6.

22 months agoMerge commit '83d2eb4'
Steinar H. Gunderson [Tue, 26 Dec 2017 18:34:06 +0000 (19:34 +0100)]
Merge commit '83d2eb4'

2 years agoPut the limit for showing seconds at 20 minutes instead of 10.
Steinar H. Gunderson [Sun, 6 Aug 2017 20:11:15 +0000 (22:11 +0200)]
Put the limit for showing seconds at 20 minutes instead of 10.

2 years agoHandle clocks that enter the PGN after the move do.
Steinar H. Gunderson [Sun, 6 Aug 2017 20:10:45 +0000 (22:10 +0200)]
Handle clocks that enter the PGN after the move do.

2 years agoReintroduce JSON-delta v2.0, but now explicitly with non-minimal diffs (the minimal...
Steinar H. Gunderson [Sat, 26 Nov 2016 11:56:11 +0000 (12:56 +0100)]
Reintroduce JSON-delta v2.0, but now explicitly with non-minimal diffs (the minimal ones are default, and too slow).

2 years agoAllow navigating by clicking the sparkline.
Steinar H. Gunderson [Fri, 25 Nov 2016 21:07:46 +0000 (22:07 +0100)]
Allow navigating by clicking the sparkline.

Patch from Chris Carlmar.

2 years agoRevert "Upgrade JSON-delta to v2.0, to hopefully fix some diffing bugs."
Steinar H. Gunderson [Fri, 25 Nov 2016 21:04:02 +0000 (22:04 +0100)]
Revert "Upgrade JSON-delta to v2.0, to hopefully fix some diffing bugs."

This reverts commit ac9db84904ea04e52f5abd631611aa452239e421.

2 years agoRevert "Ask for minimal diffs."
Steinar H. Gunderson [Fri, 25 Nov 2016 21:04:00 +0000 (22:04 +0100)]
Revert "Ask for minimal diffs."

This reverts commit 38b3144868385f5573f8f98d7568f48c17d9e93b.

2 years agoAsk for minimal diffs.
Steinar H. Gunderson [Thu, 24 Nov 2016 08:42:31 +0000 (09:42 +0100)]
Ask for minimal diffs.

2 years agoUpgrade JSON-delta to v2.0, to hopefully fix some diffing bugs.
Steinar H. Gunderson [Thu, 24 Nov 2016 08:42:05 +0000 (09:42 +0100)]
Upgrade JSON-delta to v2.0, to hopefully fix some diffing bugs.

2 years agoFix an issue where we would error out if we called fathom in a position that was...
Steinar H. Gunderson [Tue, 22 Nov 2016 00:10:21 +0000 (01:10 +0100)]
Fix an issue where we would error out if we called fathom in a position that was already mate.

3 years agoFix a client crash when the server was not sending it correct multi-PVs.
Steinar H. Gunderson [Wed, 16 Nov 2016 19:03:28 +0000 (20:03 +0100)]
Fix a client crash when the server was not sending it correct multi-PVs.

3 years agoFix another off-by-one bug that was introduced while fixing the others.
Steinar H. Gunderson [Wed, 16 Nov 2016 19:03:08 +0000 (20:03 +0100)]
Fix another off-by-one bug that was introduced while fixing the others.

3 years agoDeal with a world where there are no more non-pretty moves in the protobufs.
Steinar H. Gunderson [Sun, 20 Nov 2016 22:05:19 +0000 (23:05 +0100)]
Deal with a world where there are no more non-pretty moves in the protobufs.

3 years agoUse the prettyprinted files from the protobuf. Leave the old code in place in case...
Steinar H. Gunderson [Sun, 20 Nov 2016 21:34:35 +0000 (22:34 +0100)]
Use the prettyprinted files from the protobuf. Leave the old code in place in case we need to switch back to it quickly.

3 years agoUse the non-minified chess.js; it is easier to profile.
Steinar H. Gunderson [Sun, 20 Nov 2016 21:33:47 +0000 (22:33 +0100)]
Use the non-minified chess.js; it is easier to profile.

3 years agoActually remove the internal information from the JSON we send out.
Steinar H. Gunderson [Sun, 20 Nov 2016 17:10:44 +0000 (18:10 +0100)]
Actually remove the internal information from the JSON we send out.

3 years agoRewrite the buffering on position change.
Steinar H. Gunderson [Wed, 16 Nov 2016 19:23:02 +0000 (20:23 +0100)]
Rewrite the buffering on position change.

There was seemingly a small window where we could get evaluations
on the previous position and attribute them to the current one,
without actually noticing. Try rewriting this for the Nth time
and hope it doesn't mess up anything.

3 years agoReduce the number of Postgres transactions we start.
Steinar H. Gunderson [Wed, 16 Nov 2016 17:39:11 +0000 (18:39 +0100)]
Reduce the number of Postgres transactions we start.

3 years agoFix various off-by-ones, especially in the sparkline.
Steinar H. Gunderson [Wed, 16 Nov 2016 17:38:51 +0000 (18:38 +0100)]
Fix various off-by-ones, especially in the sparkline.

3 years agoRevert "Fix a null pointer exception in the frontend."
Steinar H. Gunderson [Wed, 16 Nov 2016 17:05:18 +0000 (18:05 +0100)]
Revert "Fix a null pointer exception in the frontend."

Seemingly this caused the multi-PV lines not to show up at all for some people.

This reverts commit 94f448c82ea3da610c8aca0030f977d1f54741d6.

3 years agoFix a null pointer exception in the frontend.
Steinar H. Gunderson [Tue, 15 Nov 2016 22:03:38 +0000 (23:03 +0100)]
Fix a null pointer exception in the frontend.

3 years agoFix umask; it messed up the history.
Steinar H. Gunderson [Tue, 15 Nov 2016 18:11:18 +0000 (19:11 +0100)]
Fix umask; it messed up the history.

3 years agoWhen getting an invalid update, hard-reload instead of trying to wait (which messes...
Steinar H. Gunderson [Tue, 15 Nov 2016 18:10:47 +0000 (19:10 +0100)]
When getting an invalid update, hard-reload instead of trying to wait (which messes up diff handling).

3 years agoReject more invalid moves.
Steinar H. Gunderson [Tue, 15 Nov 2016 18:10:20 +0000 (19:10 +0100)]
Reject more invalid moves.

3 years agoFix the PV check.
Steinar H. Gunderson [Mon, 14 Nov 2016 18:52:08 +0000 (19:52 +0100)]
Fix the PV check.

3 years agoFix a syntax error.
Steinar H. Gunderson [Mon, 14 Nov 2016 18:14:18 +0000 (19:14 +0100)]
Fix a syntax error.

3 years agoMerge branch 'master' of /home/magne/remoteglot
Steinar H. Gunderson [Sun, 13 Nov 2016 18:14:06 +0000 (19:14 +0100)]
Merge branch 'master' of /home/magne/remoteglot

3 years agoSend gRPC backends from the Perl code to the Node.js.
Steinar H. Gunderson [Fri, 2 Sep 2016 16:24:50 +0000 (18:24 +0200)]
Send gRPC backends from the Perl code to the Node.js.

Makes it easier to keep all the config for one machine in one place.

3 years agoAdd an option not to connect to FICS at all.
Steinar H. Gunderson [Fri, 2 Sep 2016 16:03:51 +0000 (18:03 +0200)]
Add an option not to connect to FICS at all.

3 years agoSupport pulling PGNs from HTTPS.
Steinar H. Gunderson [Sun, 13 Nov 2016 18:12:12 +0000 (19:12 +0100)]
Support pulling PGNs from HTTPS.

3 years agoMake the frontend more resistant to bogus PVs.
Steinar H. Gunderson [Sun, 13 Nov 2016 18:10:39 +0000 (19:10 +0100)]
Make the frontend more resistant to bogus PVs.

3 years agoFix a problem where invalid PVs would not be detected, leading to client crashes.
Steinar H. Gunderson [Sun, 13 Nov 2016 17:59:42 +0000 (18:59 +0100)]
Fix a problem where invalid PVs would not be detected, leading to client crashes.

3 years agoFix a deadlock in the JSON loading code in serve-analysis.js.
Steinar H. Gunderson [Mon, 13 Jun 2016 13:38:53 +0000 (15:38 +0200)]
Fix a deadlock in the JSON loading code in serve-analysis.js.

3 years agoFix an issue where the cp score would not be an int, and thus not sort correctly.
Steinar H. Gunderson [Mon, 13 Jun 2016 13:37:46 +0000 (15:37 +0200)]
Fix an issue where the cp score would not be an int, and thus not sort correctly.

3 years agoProtect the node.js against empty fen.
Steinar H. Gunderson [Sun, 24 Apr 2016 13:26:33 +0000 (15:26 +0200)]
Protect the node.js against empty fen.

3 years agoRevert "Un-opensource due to possible licensing issues."
Steinar H. Gunderson [Thu, 14 Apr 2016 09:58:57 +0000 (11:58 +0200)]
Revert "Un-opensource due to possible licensing issues."

This reverts commit a521198929b7f28447ebe65185b83656f4791075.
Licensing situation has been cleared up.

3 years agoUn-opensource due to possible licensing issues.
Steinar H. Gunderson [Wed, 30 Mar 2016 10:39:59 +0000 (12:39 +0200)]
Un-opensource due to possible licensing issues.

3 years agoFix an issue where the URL hash would override the game choice the user just made...
Steinar H. Gunderson [Wed, 23 Mar 2016 19:36:14 +0000 (20:36 +0100)]
Fix an issue where the URL hash would override the game choice the user just made with the keyboard.

3 years agoMake the tbprobe cache global.
Steinar H. Gunderson [Wed, 23 Mar 2016 19:29:59 +0000 (20:29 +0100)]
Make the tbprobe cache global.

3 years agoEnable the tbprobe cache.
Steinar H. Gunderson [Wed, 23 Mar 2016 19:27:55 +0000 (20:27 +0100)]
Enable the tbprobe cache.

3 years agoFix a bug where fathom would cause all winning multi-PV lines to be the same.
Steinar H. Gunderson [Wed, 23 Mar 2016 19:25:42 +0000 (20:25 +0100)]
Fix a bug where fathom would cause all winning multi-PV lines to be the same.

3 years agoFix a bug where an invisible PV could be selected when making a move on the board.
Steinar H. Gunderson [Wed, 23 Mar 2016 19:25:26 +0000 (20:25 +0100)]
Fix a bug where an invisible PV could be selected when making a move on the board.

3 years agoTurn off the depth secondary key sorting for the purpose of arrows.
Steinar H. Gunderson [Wed, 23 Mar 2016 11:11:04 +0000 (12:11 +0100)]
Turn off the depth secondary key sorting for the purpose of arrows.

3 years agoAnother deprettification.
Steinar H. Gunderson [Wed, 23 Mar 2016 10:53:50 +0000 (11:53 +0100)]
Another deprettification.

3 years agoFix some JS compiler warnings.
Steinar H. Gunderson [Tue, 22 Mar 2016 23:33:31 +0000 (00:33 +0100)]
Fix some JS compiler warnings.

3 years agoMore deprettification. Not pretty_move and pretty_history, just move and history.
Steinar H. Gunderson [Tue, 22 Mar 2016 22:51:48 +0000 (23:51 +0100)]
More deprettification. Not pretty_move and pretty_history, just move and history.

3 years agoGet rid of some cruft (pv_uci and sort_key), and rename pv_pretty/pretty_pv to just pv.
Steinar H. Gunderson [Tue, 22 Mar 2016 22:48:32 +0000 (23:48 +0100)]
Get rid of some cruft (pv_uci and sort_key), and rename pv_pretty/pretty_pv to just pv.

3 years agoVersion bump.
Steinar H. Gunderson [Tue, 22 Mar 2016 21:47:53 +0000 (22:47 +0100)]
Version bump.

3 years agoFix some “???” displaying for unscored lines.
Steinar H. Gunderson [Tue, 22 Mar 2016 21:46:09 +0000 (22:46 +0100)]
Fix some “???” displaying for unscored lines.

3 years agoIf the PV is hidden by exploration stuff, it should not be possible to inadvertedly...
Steinar H. Gunderson [Tue, 22 Mar 2016 21:29:59 +0000 (22:29 +0100)]
If the PV is hidden by exploration stuff, it should not be possible to inadvertedly select as a line later.

3 years agoAdd a last-ditch resort for format_long_score(), if anything goes wrong.
Steinar H. Gunderson [Tue, 22 Mar 2016 21:29:35 +0000 (22:29 +0100)]
Add a last-ditch resort for format_long_score(), if anything goes wrong.

3 years agoFix (?) an issue where going from a display line all the back the root would hit...
Steinar H. Gunderson [Tue, 22 Mar 2016 21:29:21 +0000 (22:29 +0100)]
Fix (?) an issue where going from a display line all the back the root would hit a null.

3 years agoMake the piece-was-moved detection more robust, so that it works correctly with drag...
Steinar H. Gunderson [Tue, 22 Mar 2016 21:28:57 +0000 (22:28 +0100)]
Make the piece-was-moved detection more robust, so that it works correctly with drag and drop.

3 years agoFix some issues with things crashing when we had no position.
Steinar H. Gunderson [Tue, 22 Mar 2016 21:28:27 +0000 (22:28 +0100)]
Fix some issues with things crashing when we had no position.

3 years agoReintroduce the concept of depth as a secondary sort key.
Steinar H. Gunderson [Tue, 22 Mar 2016 20:28:01 +0000 (21:28 +0100)]
Reintroduce the concept of depth as a secondary sort key.

3 years agoFix behavior of displayed score when we are in a sub-line and go back before the...
Steinar H. Gunderson [Tue, 22 Mar 2016 20:05:13 +0000 (21:05 +0100)]
Fix behavior of displayed score when we are in a sub-line and go back before the branching point.

3 years agoMake sure the title bar for the current game is always current.
Steinar H. Gunderson [Tue, 22 Mar 2016 19:03:31 +0000 (20:03 +0100)]
Make sure the title bar for the current game is always current.

3 years agoFix “no score for this move” message when viewing history.
Steinar H. Gunderson [Tue, 22 Mar 2016 18:54:05 +0000 (19:54 +0100)]
Fix “no score for this move” message when viewing history.

3 years agoAdd some keyboard shortcuts for switching games.
Steinar H. Gunderson [Tue, 22 Mar 2016 18:52:05 +0000 (19:52 +0100)]
Add some keyboard shortcuts for switching games.

3 years agoUpdate copyright.
Steinar H. Gunderson [Tue, 22 Mar 2016 17:48:06 +0000 (18:48 +0100)]
Update copyright.

3 years agoShow result for finished games in title, and in the list of other games.
Steinar H. Gunderson [Tue, 22 Mar 2016 17:43:50 +0000 (18:43 +0100)]
Show result for finished games in title, and in the list of other games.

3 years agoRemove the score padding; it made sense when a terminal was our primary output, but...
Steinar H. Gunderson [Tue, 22 Mar 2016 17:26:29 +0000 (18:26 +0100)]
Remove the score padding; it made sense when a terminal was our primary output, but not for HTML.

3 years agoPrioritize the current display line in move selection.
Steinar H. Gunderson [Tue, 22 Mar 2016 17:20:32 +0000 (18:20 +0100)]
Prioritize the current display line in move selection.

3 years agoUnbreak history uncollapsing.
Steinar H. Gunderson [Tue, 22 Mar 2016 17:17:01 +0000 (18:17 +0100)]
Unbreak history uncollapsing.

3 years agoInclude the score when showing other games.
Steinar H. Gunderson [Tue, 22 Mar 2016 17:13:14 +0000 (18:13 +0100)]
Include the score when showing other games.

3 years agoRemove first names from PGNs.
Steinar H. Gunderson [Tue, 22 Mar 2016 17:05:10 +0000 (18:05 +0100)]
Remove first names from PGNs.

3 years agoMake it possible for the hash probes to reconcile multiple sources.
Steinar H. Gunderson [Tue, 22 Mar 2016 09:49:36 +0000 (10:49 +0100)]
Make it possible for the hash probes to reconcile multiple sources.

3 years agoAdd support for switching /hash backends when switching regular backends at the same...
Steinar H. Gunderson [Tue, 22 Mar 2016 09:49:20 +0000 (10:49 +0100)]
Add support for switching /hash backends when switching regular backends at the same time.

3 years agoMove the Node.js stuff out of the public www directory.
Steinar H. Gunderson [Tue, 22 Mar 2016 00:12:40 +0000 (01:12 +0100)]
Move the Node.js stuff out of the public www directory.

3 years agoDeal with negative depths.
Steinar H. Gunderson [Mon, 21 Mar 2016 23:26:25 +0000 (00:26 +0100)]
Deal with negative depths.

3 years agoDeal with lines that have no search, just static eval.
Steinar H. Gunderson [Mon, 21 Mar 2016 23:25:20 +0000 (00:25 +0100)]
Deal with lines that have no search, just static eval.

3 years agoFix a typo.
Steinar H. Gunderson [Mon, 21 Mar 2016 23:19:33 +0000 (00:19 +0100)]
Fix a typo.

3 years agoAdd a SCORE_NONE, and fix a typo.
Steinar H. Gunderson [Mon, 21 Mar 2016 23:13:21 +0000 (00:13 +0100)]
Add a SCORE_NONE, and fix a typo.

3 years agoAdd a temporary safeguard.
Steinar H. Gunderson [Mon, 21 Mar 2016 22:52:32 +0000 (23:52 +0100)]
Add a temporary safeguard.

3 years agoFix PV walking by click.
Steinar H. Gunderson [Mon, 21 Mar 2016 22:52:23 +0000 (23:52 +0100)]
Fix PV walking by click.

3 years agoWhen showing a non-PV line, switch the big score display to showing the score evaluat...
Steinar H. Gunderson [Mon, 21 Mar 2016 22:44:08 +0000 (23:44 +0100)]
When showing a non-PV line, switch the big score display to showing the score evaluated at the start of the line.

3 years agoMake score computation happen on the client instead of the server.
Steinar H. Gunderson [Mon, 21 Mar 2016 22:37:19 +0000 (23:37 +0100)]
Make score computation happen on the client instead of the server.

3 years agoA little function split.
Steinar H. Gunderson [Mon, 21 Mar 2016 19:00:05 +0000 (20:00 +0100)]
A little function split.

3 years agoBlank out the multi-PV lines while probing hash.
Steinar H. Gunderson [Mon, 21 Mar 2016 18:16:04 +0000 (19:16 +0100)]
Blank out the multi-PV lines while probing hash.

3 years agoFix JS serving crash with promotions in the hash PV.
Steinar H. Gunderson [Mon, 21 Mar 2016 18:01:56 +0000 (19:01 +0100)]
Fix JS serving crash with promotions in the hash PV.

3 years agoMake the JavaScript validate the FENs before sending them off to the server, which...
Steinar H. Gunderson [Sun, 20 Mar 2016 23:01:43 +0000 (00:01 +0100)]
Make the JavaScript validate the FENs before sending them off to the server, which is not hardened.

3 years agoUpdate how-to-move description.
Steinar H. Gunderson [Sun, 20 Mar 2016 22:52:18 +0000 (23:52 +0100)]
Update how-to-move description.