]> git.sesse.net Git - remoteglot/log
remoteglot
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.

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

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

10 years agoPack remoteglot.js into an anonymous function for better scoping.
Steinar H. Gunderson [Wed, 20 Nov 2013 21:36:51 +0000 (22:36 +0100)]
Pack remoteglot.js into an anonymous function for better scoping.

10 years agoRemove obsolete function parameter.
Steinar H. Gunderson [Wed, 20 Nov 2013 21:36:10 +0000 (22:36 +0100)]
Remove obsolete function parameter.

10 years ago Keep track of number of viewers.
Steinar H. Gunderson [Wed, 20 Nov 2013 19:52:55 +0000 (20:52 +0100)]
 Keep track of number of viewers.

10 years agoWe do not use the POSIX module.
Steinar H. Gunderson [Wed, 20 Nov 2013 00:35:13 +0000 (01:35 +0100)]
We do not use the POSIX module.

10 years agoPosition the arrows in relation to the top-left square instead of trying to fudge...
Steinar H. Gunderson [Tue, 19 Nov 2013 23:26:24 +0000 (00:26 +0100)]
Position the arrows in relation to the top-left square instead of trying to fudge the borders etc. ourselves.

10 years agoProperly sort the scores as numbers, not strings. Oops.
Steinar H. Gunderson [Tue, 19 Nov 2013 23:10:24 +0000 (00:10 +0100)]
Properly sort the scores as numbers, not strings. Oops.

10 years agoImplement If-Modified-Since manually, since browser support is so strange.
Steinar H. Gunderson [Tue, 19 Nov 2013 22:05:39 +0000 (23:05 +0100)]
Implement If-Modified-Since manually, since browser support is so strange.

10 years agoMake the score larger.
Steinar H. Gunderson [Tue, 19 Nov 2013 20:57:11 +0000 (21:57 +0100)]
Make the score larger.

10 years agoKeep highlight properly on resize.
Steinar H. Gunderson [Tue, 19 Nov 2013 20:44:45 +0000 (21:44 +0100)]
Keep highlight properly on resize.

10 years agoProperly resize board arrows when the board updates.
Steinar H. Gunderson [Tue, 19 Nov 2013 20:21:40 +0000 (21:21 +0100)]
Properly resize board arrows when the board updates.

10 years agoDo various tweaks to work better on mobile devices.
Steinar H. Gunderson [Tue, 19 Nov 2013 19:31:34 +0000 (20:31 +0100)]
Do various tweaks to work better on mobile devices.

10 years agoUnbreak analysis.pl.
Steinar H. Gunderson [Mon, 18 Nov 2013 23:10:26 +0000 (00:10 +0100)]
Unbreak analysis.pl.

10 years agoDo not show the version number in the <h1>, for now.
Steinar H. Gunderson [Mon, 18 Nov 2013 22:28:34 +0000 (23:28 +0100)]
Do not show the version number in the <h1>, for now.

10 years agoMake the design a tad more responsive, courtesy of Mia.
Steinar H. Gunderson [Mon, 18 Nov 2013 22:27:22 +0000 (23:27 +0100)]
Make the design a tad more responsive, courtesy of Mia.

10 years agoSlight cleanup in analysis.pl.
Steinar H. Gunderson [Mon, 18 Nov 2013 21:22:28 +0000 (22:22 +0100)]
Slight cleanup in analysis.pl.

10 years agoMove the JavaScript into an external file.
Steinar H. Gunderson [Mon, 18 Nov 2013 21:12:47 +0000 (22:12 +0100)]
Move the JavaScript into an external file.

10 years agoMove the CSS into a separate file.
Steinar H. Gunderson [Mon, 18 Nov 2013 21:10:13 +0000 (22:10 +0100)]
Move the CSS into a separate file.

10 years agoHost chessboard.js locally.
Steinar H. Gunderson [Mon, 18 Nov 2013 21:04:37 +0000 (22:04 +0100)]
Host chessboard.js locally.

10 years agoRemove an obsolete parameter.
Steinar H. Gunderson [Mon, 18 Nov 2013 21:02:36 +0000 (22:02 +0100)]
Remove an obsolete parameter.

10 years agoAdd the WWW directory. It is a mess currently, but...
Steinar H. Gunderson [Mon, 18 Nov 2013 20:58:15 +0000 (21:58 +0100)]
Add the WWW directory. It is a mess currently, but...

10 years agoUpdate slightly more often.
Steinar H. Gunderson [Mon, 18 Nov 2013 01:03:10 +0000 (02:03 +0100)]
Update slightly more often.

10 years agoFix another score inversion issue, this time in the secondary engine output.
Steinar H. Gunderson [Mon, 18 Nov 2013 01:02:53 +0000 (02:02 +0100)]
Fix another score inversion issue, this time in the secondary engine output.