]> git.sesse.net Git - remoteglot/log
remoteglot
9 years agoSupport defaulting to a PGN for fetching.
Steinar H. Gunderson [Fri, 14 Nov 2014 23:03:05 +0000 (00:03 +0100)]
Support defaulting to a PGN for fetching.

9 years agoStop supporting Chrome Frame. It is dead already.
Steinar H. Gunderson [Fri, 14 Nov 2014 22:52:11 +0000 (23:52 +0100)]
Stop supporting Chrome Frame. It is dead already.

9 years agoFix (null) in <title>.
Steinar H. Gunderson [Fri, 14 Nov 2014 18:15:53 +0000 (19:15 +0100)]
Fix (null) in <title>.

9 years agoFix a typo in mate sorting.
Steinar H. Gunderson [Fri, 14 Nov 2014 18:15:36 +0000 (19:15 +0100)]
Fix a typo in mate sorting.

9 years agoSome small status footer updates.
Steinar H. Gunderson [Fri, 14 Nov 2014 00:41:24 +0000 (01:41 +0100)]
Some small status footer updates.

9 years agoTiny error message cleanup.
Steinar H. Gunderson [Fri, 14 Nov 2014 00:41:08 +0000 (01:41 +0100)]
Tiny error message cleanup.

9 years agoAdd some JavaScript changes that seemingly were not committed earlier.
Steinar H. Gunderson [Fri, 14 Nov 2014 00:40:03 +0000 (01:40 +0100)]
Add some JavaScript changes that seemingly were not committed earlier.

9 years agoAdd a CSS class for some small news at the bottom.
Steinar H. Gunderson [Fri, 14 Nov 2014 00:39:29 +0000 (01:39 +0100)]
Add a CSS class for some small news at the bottom.

9 years agoFormat the short score (for the page title) properly from the backend instead of...
Steinar H. Gunderson [Fri, 14 Nov 2014 00:01:32 +0000 (01:01 +0100)]
Format the short score (for the page title) properly from the backend instead of using JS hacks.

9 years ago Add support for looking up into the Lomonosov tablebase set. Requires a valid licens...
Steinar H. Gunderson [Thu, 13 Nov 2014 23:55:47 +0000 (00:55 +0100)]
 Add support for looking up into the Lomonosov tablebase set. Requires a valid license key.

9 years agoHandle slightly unstandard PGN promotion syntax.
Steinar H. Gunderson [Thu, 13 Nov 2014 23:55:17 +0000 (00:55 +0100)]
Handle slightly unstandard PGN promotion syntax.

9 years agoMake the JSON output filename configurable.
Steinar H. Gunderson [Thu, 13 Nov 2014 21:56:06 +0000 (22:56 +0100)]
Make the JSON output filename configurable.

9 years agoHopefully fix sorting in the cases where the side to move is getting mated.
Steinar H. Gunderson [Thu, 13 Nov 2014 00:14:17 +0000 (01:14 +0100)]
Hopefully fix sorting in the cases where the side to move is getting mated.

9 years agoCompletely ignore fail-high/fail-low. This got lost at some point, unfortunately.
Steinar H. Gunderson [Wed, 12 Nov 2014 22:12:02 +0000 (23:12 +0100)]
Completely ignore fail-high/fail-low. This got lost at some point, unfortunately.

9 years agoCount viewers fewer times when doing mass-sending, as it seems to be a bit expensive...
Steinar H. Gunderson [Wed, 12 Nov 2014 19:20:01 +0000 (20:20 +0100)]
Count viewers fewer times when doing mass-sending, as it seems to be a bit expensive CPU-wise.

9 years agoAdd the short score to the document title.
Steinar H. Gunderson [Wed, 12 Nov 2014 19:19:38 +0000 (20:19 +0100)]
Add the short score to the document title.

9 years agoFix a typo.
Steinar H. Gunderson [Wed, 12 Nov 2014 11:01:44 +0000 (12:01 +0100)]
Fix a typo.

9 years agoMake the unique token persistent, to avoid refreshes inflating the numbers.
Steinar H. Gunderson [Tue, 11 Nov 2014 20:18:27 +0000 (21:18 +0100)]
Make the unique token persistent, to avoid refreshes inflating the numbers.

9 years agoRemove a client from the sleeping list immediately if it closes its socket prematurely.
Steinar H. Gunderson [Tue, 11 Nov 2014 20:08:32 +0000 (21:08 +0100)]
Remove a client from the sleeping list immediately if it closes its socket prematurely.

9 years agoCount connected viewers a bit more precisely; in particular, rely more on sleeping...
Steinar H. Gunderson [Tue, 11 Nov 2014 19:56:34 +0000 (20:56 +0100)]
Count connected viewers a bit more precisely; in particular, rely more on sleeping connections.

9 years agoOnly truncate history if needed.
Steinar H. Gunderson [Tue, 11 Nov 2014 19:36:47 +0000 (20:36 +0100)]
Only truncate history if needed.

9 years agoUnbreak promotion again.
Steinar H. Gunderson [Tue, 11 Nov 2014 12:53:40 +0000 (13:53 +0100)]
Unbreak promotion again.

9 years agoFix history display at the start of the game.
Steinar H. Gunderson [Tue, 11 Nov 2014 09:27:13 +0000 (10:27 +0100)]
Fix history display at the start of the game.

9 years agoFix handling of en passant; reported by Phil Miller.
Steinar H. Gunderson [Tue, 11 Nov 2014 09:10:56 +0000 (10:10 +0100)]
Fix handling of en passant; reported by Phil Miller.

9 years agoFix an issue where the Previous link would wrongly reappear.
Steinar H. Gunderson [Mon, 10 Nov 2014 23:57:32 +0000 (00:57 +0100)]
Fix an issue where the Previous link would wrongly reappear.

9 years agoSupport promotion when displaying lines.
Steinar H. Gunderson [Mon, 10 Nov 2014 20:20:55 +0000 (21:20 +0100)]
Support promotion when displaying lines.

9 years agoUppercase promotion choices correctly.
Steinar H. Gunderson [Mon, 10 Nov 2014 20:10:51 +0000 (21:10 +0100)]
Uppercase promotion choices correctly.

9 years agoFix wrong substr() usage, that would break in case of promo moves.
Steinar H. Gunderson [Mon, 10 Nov 2014 20:09:17 +0000 (21:09 +0100)]
Fix wrong substr() usage, that would break in case of promo moves.

9 years agoVarious fixes related to history and showing moves. Also highlight the shown one.
Steinar H. Gunderson [Mon, 10 Nov 2014 19:04:04 +0000 (20:04 +0100)]
Various fixes related to history and showing moves. Also highlight the shown one.

9 years agoAdd support for expanding and truncating the history.
Steinar H. Gunderson [Sun, 9 Nov 2014 22:11:02 +0000 (23:11 +0100)]
Add support for expanding and truncating the history.

9 years agoSupport showing the history of the game.
Steinar H. Gunderson [Sun, 9 Nov 2014 20:48:32 +0000 (21:48 +0100)]
Support showing the history of the game.

9 years agoFix issue where the arrow keys could cause us to go out of bounds.
Steinar H. Gunderson [Sun, 9 Nov 2014 20:33:15 +0000 (21:33 +0100)]
Fix issue where the arrow keys could cause us to go out of bounds.

9 years agoDo not send the prettyprint cache in the JSON; it only wastes space.
Steinar H. Gunderson [Sun, 9 Nov 2014 18:09:37 +0000 (19:09 +0100)]
Do not send the prettyprint cache in the JSON; it only wastes space.

9 years agoMove most configuration into a separate file.
Steinar H. Gunderson [Sun, 9 Nov 2014 17:58:33 +0000 (18:58 +0100)]
Move most configuration into a separate file.

9 years agoStrip trailing whitespace from engine ids (needed for Komodo).
Steinar H. Gunderson [Sun, 9 Nov 2014 16:43:14 +0000 (17:43 +0100)]
Strip trailing whitespace from engine ids (needed for Komodo).

9 years agoShow the engine ID in the footer.
Steinar H. Gunderson [Sun, 9 Nov 2014 16:33:08 +0000 (17:33 +0100)]
Show the engine ID in the footer.

9 years agoUpdated hardware in index.html a bit.
Steinar H. Gunderson [Sun, 9 Nov 2014 16:31:05 +0000 (17:31 +0100)]
Updated hardware in index.html a bit.

9 years agoAdd support for gzip in serve-analysis.js.
Steinar H. Gunderson [Sat, 8 Nov 2014 14:27:51 +0000 (15:27 +0100)]
Add support for gzip in serve-analysis.js.

9 years agoSort lines by score by default.
Steinar H. Gunderson [Sat, 8 Nov 2014 13:53:24 +0000 (14:53 +0100)]
Sort lines by score by default.

9 years agoMinor optimization (5% or so) by moving the most common case in can_reach first.
Steinar H. Gunderson [Sat, 20 Sep 2014 20:16:28 +0000 (22:16 +0200)]
Minor optimization (5% or so) by moving the most common case in can_reach first.

9 years agoSmall microoptimization in in_check; do not go through a row unless it has attacking...
Steinar H. Gunderson [Sat, 20 Sep 2014 17:04:50 +0000 (19:04 +0200)]
Small microoptimization in in_check; do not go through a row unless it has attacking pieces.

9 years agoOnly test check status for one side; speeds up almost 25%.
Steinar H. Gunderson [Sat, 20 Sep 2014 16:58:53 +0000 (18:58 +0200)]
Only test check status for one side; speeds up almost 25%.

9 years agoTiny optimization in _find_kings.
Steinar H. Gunderson [Sat, 20 Sep 2014 16:44:17 +0000 (18:44 +0200)]
Tiny optimization in _find_kings.

9 years agoCall in_check() fewer times. Actually 60% or so faster.
Steinar H. Gunderson [Sat, 20 Sep 2014 16:42:14 +0000 (18:42 +0200)]
Call in_check() fewer times. Actually 60% or so faster.

9 years agoAdd a benchmark script to test the slowness of prettyprint_pv.
Steinar H. Gunderson [Sat, 20 Sep 2014 16:14:45 +0000 (18:14 +0200)]
Add a benchmark script to test the slowness of prettyprint_pv.

9 years agoSmall microoptimization in Board::clone.
Steinar H. Gunderson [Sat, 20 Sep 2014 12:09:22 +0000 (14:09 +0200)]
Small microoptimization in Board::clone.

9 years agoMake parse_info a bit less regex-happy; speeds it up somewhat.
Steinar H. Gunderson [Sat, 20 Sep 2014 12:00:07 +0000 (14:00 +0200)]
Make parse_info a bit less regex-happy; speeds it up somewhat.

9 years agoAdd a cache around prettyprint_pv, since it is consuming a lot of CPU.
Steinar H. Gunderson [Sat, 20 Sep 2014 11:44:11 +0000 (13:44 +0200)]
Add a cache around prettyprint_pv, since it is consuming a lot of CPU.

9 years agoAdd a quit ocmmand, for easier profiling.
Steinar H. Gunderson [Sat, 20 Sep 2014 11:42:12 +0000 (13:42 +0200)]
Add a quit ocmmand, for easier profiling.

9 years agoFix several crash issues all related to initial file loading.
Steinar H. Gunderson [Sun, 7 Sep 2014 18:16:36 +0000 (20:16 +0200)]
Fix several crash issues all related to initial file loading.

9 years agoFix an issue in the node.js sender where it would not catch the renames from remotegl...
Steinar H. Gunderson [Sat, 6 Sep 2014 04:20:23 +0000 (06:20 +0200)]
Fix an issue in the node.js sender where it would not catch the renames from remoteglot.pl.

9 years agoFix last_move_uci for PGN loads.
Steinar H. Gunderson [Fri, 5 Sep 2014 05:12:17 +0000 (07:12 +0200)]
Fix last_move_uci for PGN loads.

9 years agoFix some outdated documentation.
Steinar H. Gunderson [Fri, 5 Sep 2014 05:12:01 +0000 (07:12 +0200)]
Fix some outdated documentation.

9 years agoAdd some keyboard shortcuts.
Steinar H. Gunderson [Fri, 5 Sep 2014 05:11:38 +0000 (07:11 +0200)]
Add some keyboard shortcuts.

9 years agoAdd a node.js version of analysis.pl.
Steinar H. Gunderson [Fri, 5 Sep 2014 05:10:55 +0000 (07:10 +0200)]
Add a node.js version of analysis.pl.

9 years agoHandle PGN names with spaces in them.
Steinar H. Gunderson [Wed, 6 Aug 2014 21:53:01 +0000 (23:53 +0200)]
Handle PGN names with spaces in them.

9 years agoAdd a command to stop the polling.
Steinar H. Gunderson [Wed, 6 Aug 2014 21:44:42 +0000 (23:44 +0200)]
Add a command to stop the polling.

9 years agoAdd support for fetching games as PGN over HTTP instead of via FICS.
Steinar H. Gunderson [Wed, 6 Aug 2014 21:42:48 +0000 (23:42 +0200)]
Add support for fetching games as PGN over HTTP instead of via FICS.

9 years agoUse EV instead of AnyEvent::Loop, since the latter appears to be buggy.
Steinar H. Gunderson [Wed, 6 Aug 2014 21:42:04 +0000 (23:42 +0200)]
Use EV instead of AnyEvent::Loop, since the latter appears to be buggy.

9 years agoFix the move prettyprinting on make_move().
Steinar H. Gunderson [Wed, 6 Aug 2014 21:14:52 +0000 (23:14 +0200)]
Fix the move prettyprinting on make_move().

9 years agoChange main loop to using AnyEvent.
Steinar H. Gunderson [Wed, 6 Aug 2014 19:49:41 +0000 (21:49 +0200)]
Change main loop to using AnyEvent.

9 years agoSmall refactoring.
Steinar H. Gunderson [Wed, 6 Aug 2014 19:08:30 +0000 (21:08 +0200)]
Small refactoring.

9 years agoAdd some more utility functions.
Steinar H. Gunderson [Wed, 6 Aug 2014 17:28:19 +0000 (19:28 +0200)]
Add some more utility functions.

9 years agoSmall refactoring.
Steinar H. Gunderson [Sun, 15 Jun 2014 22:37:14 +0000 (00:37 +0200)]
Small refactoring.

9 years agoFix some promotion bugs.
Steinar H. Gunderson [Sun, 15 Jun 2014 17:53:45 +0000 (19:53 +0200)]
Fix some promotion bugs.

9 years agoImprove the support for en passant somewhat.
Steinar H. Gunderson [Sun, 15 Jun 2014 17:27:48 +0000 (19:27 +0200)]
Improve the support for en passant somewhat.

9 years agoAdd a missing import to Engine.pm.
Steinar H. Gunderson [Sun, 15 Jun 2014 17:11:40 +0000 (19:11 +0200)]
Add a missing import to Engine.pm.

9 years agoWhen parsing moves, use illegal moves to disambiguate.
Steinar H. Gunderson [Sun, 15 Jun 2014 17:09:46 +0000 (19:09 +0200)]
When parsing moves, use illegal moves to disambiguate.

9 years agoAdd some routines that are useful to parse PGNs.
Steinar H. Gunderson [Sun, 15 Jun 2014 14:29:59 +0000 (16:29 +0200)]
Add some routines that are useful to parse PGNs.

9 years agoSplit some UCI stuff into a separate module.
Steinar H. Gunderson [Sun, 15 Jun 2014 14:29:04 +0000 (16:29 +0200)]
Split some UCI stuff into a separate module.

9 years agoSome minor style12 parsing fixups.
Steinar H. Gunderson [Sun, 15 Jun 2014 10:38:34 +0000 (12:38 +0200)]
Some minor style12 parsing fixups.

9 years agoMinor fixes in Position.
Steinar H. Gunderson [Sun, 15 Jun 2014 09:59:21 +0000 (11:59 +0200)]
Minor fixes in Position.

9 years agoMove move prettyprinting into Board.
Steinar H. Gunderson [Sun, 15 Jun 2014 00:56:31 +0000 (02:56 +0200)]
Move move prettyprinting into Board.

Also, untangling the logic here also exposed a bug where castling
moves giving check or mate were not marked as such.

9 years agoRemove the tell code; it is never used in practice.
Steinar H. Gunderson [Sun, 15 Jun 2014 00:28:53 +0000 (02:28 +0200)]
Remove the tell code; it is never used in practice.

9 years agoMove most of the chess position/board handling into its own classes.
Steinar H. Gunderson [Sun, 15 Jun 2014 00:16:04 +0000 (02:16 +0200)]
Move most of the chess position/board handling into its own classes.

9 years agoFix castling display when looking down PVs.
Steinar H. Gunderson [Mon, 9 Jun 2014 22:54:46 +0000 (00:54 +0200)]
Fix castling display when looking down PVs.

9 years agoUpdate copyright year.
Steinar H. Gunderson [Mon, 9 Jun 2014 22:45:58 +0000 (00:45 +0200)]
Update copyright year.

9 years agoPrint the name of the players.
Steinar H. Gunderson [Mon, 9 Jun 2014 22:45:41 +0000 (00:45 +0200)]
Print the name of the players.

9 years agoReplace Nalimov with Syzygy everywhere.
Steinar H. Gunderson [Mon, 9 Jun 2014 15:04:37 +0000 (17:04 +0200)]
Replace Nalimov with Syzygy everywhere.

9 years agoFix a bug where “next move” would not work.
Steinar H. Gunderson [Sun, 8 Jun 2014 13:05:33 +0000 (15:05 +0200)]
Fix a bug where “next move” would not work.

10 years agoFix the arrow head color.
Steinar H. Gunderson [Sat, 23 Nov 2013 21:24:13 +0000 (22:24 +0100)]
Fix the arrow head color.

10 years agoVarious not-so-pretty type annotations.
Steinar H. Gunderson [Sat, 23 Nov 2013 21:18:12 +0000 (22:18 +0100)]
Various not-so-pretty type annotations.

10 years agoStop sending board around all the time.
Steinar H. Gunderson [Sat, 23 Nov 2013 20:22:40 +0000 (21:22 +0100)]
Stop sending board around all the time.

10 years agoMake the second engine optional.
Steinar H. Gunderson [Sat, 23 Nov 2013 19:28:55 +0000 (20:28 +0100)]
Make the second engine optional.

10 years agoFix another issue with the Closure compiler.
Steinar H. Gunderson [Sat, 23 Nov 2013 00:14:38 +0000 (01:14 +0100)]
Fix another issue with the Closure compiler.

10 years agoActually remove jsPlumb.
Steinar H. Gunderson [Sat, 23 Nov 2013 00:07:21 +0000 (01:07 +0100)]
Actually remove jsPlumb.

10 years agoMake the JavaScript (more) compatible with the Google Closure compiler.
Steinar H. Gunderson [Sat, 23 Nov 2013 00:07:09 +0000 (01:07 +0100)]
Make the JavaScript (more) compatible with the Google Closure compiler.

10 years agoWhitespace fixes.
Steinar H. Gunderson [Fri, 22 Nov 2013 23:22:59 +0000 (00:22 +0100)]
Whitespace fixes.

10 years agoReplace jsPlumb by writing some SVG arrows ourselves.
Steinar H. Gunderson [Fri, 22 Nov 2013 23:22:49 +0000 (00:22 +0100)]
Replace jsPlumb by writing some SVG arrows ourselves.

10 years agoFix a missing var declaration.
Steinar H. Gunderson [Fri, 22 Nov 2013 01:00:16 +0000 (02:00 +0100)]
Fix a missing var declaration.

10 years agoRemove some trailing commas, since they are bad for IE.
Steinar H. Gunderson [Fri, 22 Nov 2013 00:33:29 +0000 (01:33 +0100)]
Remove some trailing commas, since they are bad for IE.

10 years agoFix the zero-score long display again.
Steinar H. Gunderson [Thu, 21 Nov 2013 22:49:25 +0000 (23:49 +0100)]
Fix the zero-score long display again.

10 years agoFix some move number display issues. Argh.
Steinar H. Gunderson [Thu, 21 Nov 2013 22:27:58 +0000 (23:27 +0100)]
Fix some move number display issues. Argh.

10 years agoFix double inversion in score sorting.
Steinar H. Gunderson [Thu, 21 Nov 2013 22:21:48 +0000 (23:21 +0100)]
Fix double inversion in score sorting.

10 years agoFix a crash that happens if we were looking at a PV line while new information came in.
Steinar H. Gunderson [Thu, 21 Nov 2013 22:18:18 +0000 (23:18 +0100)]
Fix a crash that happens if we were looking at a PV line while new information came in.

10 years agoUnbreak find_nonstupid_moves.
Steinar H. Gunderson [Thu, 21 Nov 2013 22:13:45 +0000 (23:13 +0100)]
Unbreak find_nonstupid_moves.

10 years agoClean up display_lines[] as needed.
Steinar H. Gunderson [Thu, 21 Nov 2013 21:58:10 +0000 (22:58 +0100)]
Clean up display_lines[] as needed.

10 years agoSupport navigating in the PVs.
Steinar H. Gunderson [Thu, 21 Nov 2013 21:54:39 +0000 (22:54 +0100)]
Support navigating in the PVs.

10 years agoAllow sorting refutation lines by score instead of move.
Steinar H. Gunderson [Thu, 21 Nov 2013 19:08:19 +0000 (20:08 +0100)]
Allow sorting refutation lines by score instead of move.

10 years agoFinally fix the -0.00 bug.
Steinar H. Gunderson [Thu, 21 Nov 2013 19:05:58 +0000 (20:05 +0100)]
Finally fix the -0.00 bug.