]>
git.sesse.net Git - remoteglot/log
Steinar H. Gunderson [Thu, 11 Feb 2021 22:16:55 +0000 (23:16 +0100)]
Fix display of splice points and tablebase wins after the last changes.
Steinar H. Gunderson [Mon, 8 Feb 2021 23:05:18 +0000 (00:05 +0100)]
Fix some corner cases around in-TB positions.
Steinar H. Gunderson [Sat, 2 Jan 2021 13:26:58 +0000 (14:26 +0100)]
Small tweaks to TB-win messaging.
Steinar H. Gunderson [Tue, 29 Dec 2020 20:16:00 +0000 (21:16 +0100)]
Mark TB-extended lines as such.
We now distinguish between “wins in M moves” (ie., reaches a tablebase
position and has a displayed mate line, but the mate is not necessarily
optimal, due to the horizon effect and DTZ making funny mates) and
“mates in M moves”. We also mark the breakoff point in the PV.
Steinar H. Gunderson [Tue, 29 Dec 2020 17:05:13 +0000 (18:05 +0100)]
Respect $fathom_cmdline.
Steinar H. Gunderson [Tue, 29 Dec 2020 16:53:28 +0000 (17:53 +0100)]
Remove obsolete book support.
Steinar H. Gunderson [Tue, 29 Dec 2020 11:16:15 +0000 (12:16 +0100)]
Force faster updates if our last output was without a PV.
This fixes an issue with the last commit, where we could end up having
a situation like:
0.000: New move arrives, engine is busy stopping
0.200: Engine still hasn't responded, we force display (with no PV)
0.201: Engine finally comes back with a PV
1.200: Display the PV
In this case, we'd be showing no PV and score for almost a second.
Fix it by starting a new 200ms timer after the PV starts coming on,
so we'd show something at 0.401 in this case (and then 1.401 etc.).
(We don't display immediately, since it's likely to be at depth 2 or so.)
Steinar H. Gunderson [Tue, 29 Dec 2020 10:38:36 +0000 (11:38 +0100)]
Small cleanup.
Steinar H. Gunderson [Mon, 28 Dec 2020 00:08:25 +0000 (01:08 +0100)]
Add some special early output when the position changes.
Steinar H. Gunderson [Sat, 28 Nov 2020 18:58:05 +0000 (19:58 +0100)]
Add a 50-move counter.
Steinar H. Gunderson [Mon, 3 Aug 2020 22:23:43 +0000 (00:23 +0200)]
Revert "Fix move highlights when collapsing/uncollapsing history."
This clears current_display_line.pv, breaking the entire concept of
following hash moves. Investigate later if we care.
This reverts commit
2ce508cfa3a480b13350e713900543e23de48c4b .
Steinar H. Gunderson [Mon, 3 Aug 2020 22:15:27 +0000 (00:15 +0200)]
Update copyright year.
Steinar H. Gunderson [Sun, 2 Aug 2020 14:56:45 +0000 (16:56 +0200)]
Fix extremely slow sparkline clicks.
Steinar H. Gunderson [Sun, 2 Aug 2020 14:56:36 +0000 (16:56 +0200)]
Fix move highlights when collapsing/uncollapsing history.
Steinar H. Gunderson [Fri, 12 Jun 2020 07:59:16 +0000 (09:59 +0200)]
Add some dark mode CSS, for the latest fads.
Steinar H. Gunderson [Tue, 28 Jan 2020 16:32:54 +0000 (17:32 +0100)]
Verify that JSON_delta does not have any strangeness.
Steinar H. Gunderson [Tue, 29 Oct 2019 08:15:44 +0000 (09:15 +0100)]
Fix an issue where Chess960 castling rights would get truncated.
Steinar H. Gunderson [Mon, 28 Oct 2019 20:20:04 +0000 (21:20 +0100)]
Fix some deep recursion.
Steinar H. Gunderson [Thu, 5 Sep 2019 20:23:12 +0000 (22:23 +0200)]
Fix a castling edge case in Chess960 positions where the kings start on the e-file and the rooks on c- or g-files.
Steinar H. Gunderson [Thu, 5 Sep 2019 19:36:07 +0000 (21:36 +0200)]
Fix a crash bug when looking at old moves with no analysis.
Steinar H. Gunderson [Thu, 5 Sep 2019 19:26:52 +0000 (21:26 +0200)]
Fix another Chess960 Chess.js issue.
Steinar H. Gunderson [Tue, 3 Sep 2019 21:06:28 +0000 (23:06 +0200)]
When something goes wrong, actually wait five seconds instead of DoSing the backend.
Steinar H. Gunderson [Tue, 3 Sep 2019 21:05:51 +0000 (23:05 +0200)]
Get jQuery over TLS.
Steinar H. Gunderson [Tue, 13 Aug 2019 20:07:45 +0000 (22:07 +0200)]
Fix a crash on short multi-PVs.
Steinar H. Gunderson [Fri, 10 May 2019 21:02:31 +0000 (23:02 +0200)]
Add support for 7-piece Fathom.
Steinar H. Gunderson [Sun, 31 Mar 2019 15:49:19 +0000 (17:49 +0200)]
Fix an incompatibility with newer Node.js.
Steinar H. Gunderson [Thu, 27 Dec 2018 18:06:08 +0000 (19:06 +0100)]
Set Threads before the other options, so that setting up the hash is faster.
Steinar H. Gunderson [Mon, 26 Nov 2018 22:50:53 +0000 (23:50 +0100)]
Fix an issue where we would lose the history after Chess960-style castling, since we wrongly had it reset the 50-move rule.
Steinar H. Gunderson [Sat, 24 Nov 2018 10:21:38 +0000 (11:21 +0100)]
Make sure analysis contempt is off; Stockfish > 9 enables it, and it gives rollercoaster scores.
Steinar H. Gunderson [Mon, 19 Nov 2018 20:22:23 +0000 (21:22 +0100)]
Fix an issue where we would sort the wrong way when browsing history.
Steinar H. Gunderson [Mon, 19 Nov 2018 19:19:51 +0000 (20:19 +0100)]
Support getting PGNs from local files.
Steinar H. Gunderson [Fri, 16 Nov 2018 11:46:53 +0000 (12:46 +0100)]
Add pickup of games from old history.
Steinar H. Gunderson [Wed, 6 Jun 2018 17:04:05 +0000 (19:04 +0200)]
Support flipped boards (no UI, you have to activate it through JS).
Steinar H. Gunderson [Wed, 6 Jun 2018 17:03:42 +0000 (19:03 +0200)]
Unbreak move chaining.
Steinar H. Gunderson [Sat, 10 Feb 2018 17:08:09 +0000 (18:08 +0100)]
Yet more Chess960 castling fixes.
Steinar H. Gunderson [Fri, 9 Feb 2018 21:00:44 +0000 (22:00 +0100)]
Yet more Chess960 castling fixes.
Steinar H. Gunderson [Fri, 9 Feb 2018 19:16:46 +0000 (20:16 +0100)]
Fix Chess960 bug when castling does not move the rook.
Steinar H. Gunderson [Fri, 9 Feb 2018 18:12:43 +0000 (19:12 +0100)]
Fix visualization of Chess960 moves where the king does not move.
Steinar H. Gunderson [Fri, 9 Feb 2018 18:12:20 +0000 (19:12 +0100)]
Fix a Chess.js issue when the king started on the c- or g-files.
Steinar H. Gunderson [Sun, 4 Feb 2018 21:23:07 +0000 (22:23 +0100)]
Yet more Chess960 fixes.
Steinar H. Gunderson [Sun, 14 Jan 2018 11:20:15 +0000 (12:20 +0100)]
Backport a JSON_delta fix that would cause deletions to go in the wrong order, causing corrupted diffs.
Steinar H. Gunderson [Sun, 14 Jan 2018 10:38:04 +0000 (11:38 +0100)]
Upgrade Chess.js to a version that supports Chess960 castling.
Steinar H. Gunderson [Sat, 13 Jan 2018 13:29:21 +0000 (14:29 +0100)]
Fix non-Chess960 castling.
Steinar H. Gunderson [Sun, 7 Jan 2018 00:43:20 +0000 (01:43 +0100)]
Another castling fix.
Steinar H. Gunderson [Sat, 6 Jan 2018 21:56:18 +0000 (22:56 +0100)]
Fix various Chess960 castling bugs.
Steinar H. Gunderson [Sat, 6 Jan 2018 19:23:39 +0000 (20:23 +0100)]
Cosmetic improvement for Chess960 games.
Steinar H. Gunderson [Sat, 6 Jan 2018 18:52:55 +0000 (19:52 +0100)]
Fix UCI syntax error.
Steinar H. Gunderson [Sat, 6 Jan 2018 17:31:37 +0000 (18:31 +0100)]
Implement Chess960 castling rules on the backend.
Steinar H. Gunderson [Sat, 6 Jan 2018 16:45:50 +0000 (17:45 +0100)]
Remove an obsolete comment.
Steinar H. Gunderson [Sat, 6 Jan 2018 15:45:30 +0000 (16:45 +0100)]
Make the Chess960 storage/test a bit more efficient.
Steinar H. Gunderson [Sat, 6 Jan 2018 12:39:05 +0000 (13:39 +0100)]
Update copyright year.
Steinar H. Gunderson [Sat, 6 Jan 2018 12:38:13 +0000 (13:38 +0100)]
Inform the engine if we have a Chess960 game.
Steinar H. Gunderson [Sat, 6 Jan 2018 12:00:26 +0000 (13:00 +0100)]
Support starting from a nonstandard position.
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).
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.
Steinar H. Gunderson [Wed, 27 Dec 2017 10:45:46 +0000 (11:45 +0100)]
Ignore old clock positions from the database.
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.
Steinar H. Gunderson [Tue, 26 Dec 2017 18:35:31 +0000 (19:35 +0100)]
Update TB7 API URL.
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 .
Steinar H. Gunderson [Tue, 26 Dec 2017 18:34:06 +0000 (19:34 +0100)]
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.
Steinar H. Gunderson [Sun, 6 Aug 2017 20:10:45 +0000 (22:10 +0200)]
Handle clocks that enter the PGN after the move do.
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).
Steinar H. Gunderson [Fri, 25 Nov 2016 21:07:46 +0000 (22:07 +0100)]
Allow navigating by clicking the sparkline.
Patch from Chris Carlmar.
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 .
Steinar H. Gunderson [Fri, 25 Nov 2016 21:04:00 +0000 (22:04 +0100)]
Revert "Ask for minimal diffs."
This reverts commit
38b3144868385f5573f8f98d7568f48c17d9e93b .
Steinar H. Gunderson [Thu, 24 Nov 2016 08:42:31 +0000 (09:42 +0100)]
Ask for minimal diffs.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Steinar H. Gunderson [Wed, 16 Nov 2016 17:39:11 +0000 (18:39 +0100)]
Reduce the number of Postgres transactions we start.
Steinar H. Gunderson [Wed, 16 Nov 2016 17:38:51 +0000 (18:38 +0100)]
Fix various off-by-ones, especially in the sparkline.
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 .
Steinar H. Gunderson [Tue, 15 Nov 2016 22:03:38 +0000 (23:03 +0100)]
Fix a null pointer exception in the frontend.
Steinar H. Gunderson [Tue, 15 Nov 2016 18:11:18 +0000 (19:11 +0100)]
Fix umask; it messed up the history.
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).
Steinar H. Gunderson [Tue, 15 Nov 2016 18:10:20 +0000 (19:10 +0100)]
Reject more invalid moves.
Steinar H. Gunderson [Mon, 14 Nov 2016 18:52:08 +0000 (19:52 +0100)]
Fix the PV check.
Steinar H. Gunderson [Mon, 14 Nov 2016 18:14:18 +0000 (19:14 +0100)]
Fix a syntax error.
Steinar H. Gunderson [Sun, 13 Nov 2016 18:14:06 +0000 (19:14 +0100)]
Merge branch 'master' of /home/magne/remoteglot
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.
Steinar H. Gunderson [Fri, 2 Sep 2016 16:03:51 +0000 (18:03 +0200)]
Add an option not to connect to FICS at all.
Steinar H. Gunderson [Sun, 13 Nov 2016 18:12:12 +0000 (19:12 +0100)]
Support pulling PGNs from HTTPS.
Steinar H. Gunderson [Sun, 13 Nov 2016 18:10:39 +0000 (19:10 +0100)]
Make the frontend more resistant to bogus PVs.
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.
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.
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.
Steinar H. Gunderson [Sun, 24 Apr 2016 13:26:33 +0000 (15:26 +0200)]
Protect the node.js against empty fen.
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.
Steinar H. Gunderson [Wed, 30 Mar 2016 10:39:59 +0000 (12:39 +0200)]
Un-opensource due to possible licensing issues.
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.
Steinar H. Gunderson [Wed, 23 Mar 2016 19:29:59 +0000 (20:29 +0100)]
Make the tbprobe cache global.
Steinar H. Gunderson [Wed, 23 Mar 2016 19:27:55 +0000 (20:27 +0100)]
Enable the tbprobe cache.
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.