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

5 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.

5 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.

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

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

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

5 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.

5 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.

5 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.

5 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.

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

5 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.

5 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.

5 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.

5 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.

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

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

5 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).

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

5 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%.

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

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

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

5 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.

5 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.

5 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.

5 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.

5 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.

5 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().

5 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.

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

5 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.

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

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

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

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

5 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.

5 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.

5 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.

5 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.

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

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

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

5 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.

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

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

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

5 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.

5 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.

5 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.

5 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.

5 years agoAnother sign inversion...
Steinar H. Gunderson [Thu, 21 Nov 2013 19:03:21 +0000 (20:03 +0100)]
Another sign inversion...

6 years agoHandle server errors better than just stopping.
Steinar H. Gunderson [Wed, 20 Nov 2013 21:39:07 +0000 (22:39 +0100)]
Handle server errors better than just stopping.