OSDN Git Service

[shogi-server] New pairing algorithm: ShogiServer::Pairing::LeastDiff
[shogi-server/shogi-server.git] / changelog
index 6bc7d5e..8388526 100644 (file)
--- a/changelog
+++ b/changelog
@@ -1,3 +1,108 @@
+2013-03-20  Daigo Moriwaki <daigo at debian dot org>
+
+       * [shogi-server]
+         - New pairing algorithm: ShogiServer::Pairing::LeastDiff
+           This pairing algorithm aims to minimize the total differences of
+           matching players' rates. It also includes penalyties when a match
+           is same as the previous one or a match is between human players.
+           It is based on a discussion with Yamashita-san on
+           http://www.sgtpepper.net/kaneko/diary/20120511.html.
+
+2012-12-30  Daigo Moriwaki <daigo at debian dot org>
+
+       * [shogi-server]
+         - Backported a5c94012656902e73e00f46e7a4c7004b24d4578:
+           test/TC_logger.rb depeneded on a specific directory where it was
+           running on. This issues has been fixed.
+         - Backported 87d145bd1f1a14a33f5f6fbc78b63a1952f1ca90 and
+           2df8c798aeb7f0e77735e893fd1370c2c6f15c4d:
+           shogi_server/floodgate.rb: Generating next time around the new
+           year day by reading configuration files did not work correctly.
+           This issue has been fixed.
+
+2012-12-28  Daigo Moriwaki <daigo at debian dot org>
+
+       * [shogi-server]
+         - shogi_server/pairing.rb:
+           + There was a bug in the logic avoiding human-human match.
+             This issue has been fixed.
+           + Improved the logic avoiding human-human match. Human-human
+             matches will less likely happen.
+
+2010-10-06  Daigo Moriwaki <daigo at debian dot org>
+
+       * [shogi-server]
+         - mk_rate: the usage was not updated.
+           Thanks to Hoki-san to report this issue.  (Closes: #23358)
+
+2010-09-18  Daigo Moriwaki <daigo at debian dot org>
+
+       * [shogi-server]
+         - shogi_server/board.rb, game.rb: For hadicapped games, wrong
+           initial positions were delivered to players and monitors.  This
+           issue has been fixed. (Closes: #23245) 
+           Thanks to HIDETCHI for reporting the issue.
+
+2010-09-05  Daigo Moriwaki <daigo at debian dot org>
+
+       * [shogi-server]
+         - shogi_server/login.rb: Enhanced the CSA Login mode.
+           Logging in the server with the CSA mode, users are now allowed to
+           specify a turn preference in an enhanced gamename string which
+           looks like <gamename>-<time>-<time>-<turn>. The first three 
+           parts are a regular game definition. The last "-<turn>"
+           part is optional. 
+           + Without -<turn> (i.e. same as the previous behavior), there
+           is no turn preference. A user's turn will be defined randomly. 
+           + <turn> is either "B" for black or "W" for white.
+
+2010-09-04  Daigo Moriwaki <daigo at debian dot org>
+
+       * [shogi-server]
+         - shogi_server/{board,command,game,league,player}.rb
+           The Buoy behaivor is changed.
+           + Starting a buoy game, players are notified a starting game
+             position with the initial position and moves, instread of a
+             targeting position.
+           + Players are allowed to start buoy games with specific turns.
+             ex. %%GAME buoy_foo-1500-0 +
+
+2010-08-05  Daigo Moriwaki <daigo at debian dot org>
+
+       * [shogi-server]
+         - shogi_server/command.rb: Prevent a possible password from be
+           logged in a log file when players send invalid LOGIN-like commands.
+           Thanks to Tomoyuki Kaneko for this idea.
+
+2010-08-03  Daigo Moriwaki <daigo at debian dot org>
+
+       * [shogi-server]
+         - sample/{check_file.rb,check_time.rb,check_time2.rb,test_time.rb}:
+           Added new files to test an issue where mtime of log files was
+           earlier than system time.
+         - shogi_server/league/floodgate_thread.rb: SetupFloodgate#start
+           now returns an instance correctly.
+         - ../shogi_server.rb, ../shogi_server/util.rb: Refactored
+           mkdir_for to Mkdir.mkdir_for.
+         - ../shogi_server/game.rb: mkdir_p will be performed in a global
+           mutex of ShogiServer::Mkdir.
+
+2010-07-25  Daigo Moriwaki <daigo at debian dot org>
+
+       * [shogi-server]
+         - shogi_server/command.rb: 
+           + For an unknown error command log, an empty line is no longer logged.
+           + Commands specific to 81Dojo, starting with '%%%', are just
+             ignored instead of unknown command errors.
+         - shogi_server.rb: 
+           + Refactoring. Added test/TC_logger.rb to test
+             ShogiServer::Logger class.
+           + Fixed race condition: creating a new directory to archive
+             logs may have caused race condition, which ended up with
+             making the server unavailable. This issue has been fixed. 
+         - shogi-server:
+           + Improved fault tolerance of the server.
+
 2010-07-23  Daigo Moriwaki <daigo at debian dot org>
 
        * [shogi-server]
            New commands:
            + %%SETBUOY <game_name> <moves> [count]
              Set a new buoy game.
-             ex. %%SETBUOYGAME buoy_foo-900-0 +7776FU 10
-             ex. %%SETBUOYGAME buoy_foo-1500-0 +7776FU-3334FU
+             ex. %%SETBUOY buoy_foo-900-0 +7776FU 10
+             ex. %%SETBUOY buoy_foo-1500-0 +7776FU-3334FU
              - game_name is a valid game name with a prefix "buoy_".
              ex. buoy_foo-900-0
              - moves are initial moves from the Hirate position to a