OSDN Git Service

Merge branch '201410-maxmoves'
authorDaigo Moriwaki <daigo@debian.org>
Sat, 17 Jan 2015 01:47:58 +0000 (10:47 +0900)
committerDaigo Moriwaki <daigo@debian.org>
Sat, 17 Jan 2015 01:47:58 +0000 (10:47 +0900)
Conflicts:
changelog
shogi_server.rb

1  2 
changelog
shogi-server
shogi_server/game.rb

diff --cc changelog
+++ b/changelog
@@@ -1,56 -1,33 +1,86 @@@
+ 2015-01-12  Daigo Moriwaki <daigo at debian dot org>
+       * [shogi-server]
+         - shogi_server.rb: Follow an API change in a upstream class:
+           LogDevice.previous_period_end
 +2014-12-27  Daigo Moriwaki <daigo at debian dot org>
 +
 +      * [shogi-server]
 +        - When a non-rated player participates in Floodgate, the following exception
 +          was thrown and a Floodgate game would not start:
 +            undefined method `[]' for nil:NilClass
 +            ["/home/shogi-server/www/x/shogi_server/pairing.rb:499:in `block
 +            in calculate_diff_with_penalty'"
 +          This issue has been resolved. Only players who have player ID
 +          (i.e. those who log in with valid password) are now allowed to
 +          participate in Floodgate as the spec web page
 +          [http://shogi-server.sourceforge.jp/rating.html] describes.
 +
 +2014-12-23  Daigo Moriwaki <daigo at debian dot org>
 +
 +      * [shogi-server]
 +        - Addressed Ruby incompatibility on ShogiServer::Usi::alphabetToDan.
 +          It (and usiToCsa.rb) did not work with Ruby 1.9.3. This issue
 +          has now been fixed.
 +          Thanks to Hiraoka-san for debugging.
 +
 +2014-11-30  Daigo Moriwaki <daigo at debian dot org>
 +
 +      * [mk_html]
 +        - Corrected a url.
 +
 +2014-11-24  Daigo Moriwaki <daigo at debian dot org>
 +
 +      * Ruby 2.0:
 +        - Ruby 2.0.0 or later is recommended to use with shogi-server
 +          since Ruby 1.8 reached its End-of-Life on the end of July, 2014.
 +      * [shogi-server]
 +        - Addressed a warning of duplicated range in a regular expression.
 +
 +2014-10-13  Daigo Moriwaki <daigo at debian dot org>
 +
 +      * [shogi-server]
 +        - A player, attempting to login with the current live player
 +          stalling for more than a day, can forcibly override the current
 +          player.
 +        - Kifu record files now includes rating scores of players at the
 +          time when games start.  Previously, for rating games, a record
 +          file includes player IDs of both players with a line starting with
 +          "'rating".  Now it also shows rating scores for players who have
 +          valid scores.  The formats for black and white players are as
 +          follows:
 +            'black_rate:<player_id>:<score>
 +            'white_rate:<player_id>:<score>
 +          A sample output:
 +            'rating:Test_sente+275876e34cf609db118f3d84b799a790:Test_gote+275876e34cf609db118f3d84b799a790
 +            'black_rate:Test_sente+275876e34cf609db118f3d84b799a790:2763.0
 +            'white_rate:Test_gote+275876e34cf609db118f3d84b799a790:2345.0
 +
+ 2014-10-12  Daigo Moriwaki <daigo at debian dot org>
+       * [shogi_server]
+         - New feature: max moves
+           - New command line option: --max-moves n
+             When a game with the n-th move played does not end, make the
+             game a draw (default 256 in compliance with CSA Protocol V1.2
+             or later).  Setting 0 disables this feature for
+             CSA Protocol V1.1.2 or before.
+           - Players will receive a new message, "#MAX_MOVES", upon an end
+             of such a game:
+               #MAX_MOVES
+               #CENSORED
+           - A new log summary type, "max_moves", has been assigned for games
+             drawing with max moves.
+             'summary:max_moves:name_sente draw:name_gote draw
+         - Least time per move:
+           - New command line option: --least-time-per-move n
+             This option specifies a least time in second per move, which
+             is 0 second by default, meaning that a decimal
+             fraction of time for a move will be truncated in compliance
+             with CSA Protocol V1.2 or later.
+             Set 1 for CSA Protocol V1.1.2 or before.
  2014-07-19  Daigo Moriwaki <daigo at debian dot org>
  
        * [mk_rate]
diff --cc shogi-server
Simple merge
Simple merge