ファイル情報

Rev. 2d5cda5e9dde331e37d58133b688a8b2c6295345
サイズ 52,591 バイト
日時 2017-09-03 14:40:39
作者 Daigo Moriwaki
ログメッセージ

Merge remote-tracking branch 'origin/master' into wdoor-stable

内容

  1. 2017-09-03 Daigo Moriwaki <daigo at debian dot org>
  2. * [shogi-server] Write game results in categorical files
  3. The shogi-server now writes down game results in the following
  4. files, depending on a game class:
  5. - 00LIST: all games
  6. - 00LIST.floodgate: floodgate games
  7. - 00LIST.others: non-floodgate games
  8. (Closes #37492)
  9. 2017-09-02 Daigo Moriwaki <daigo at debian dot org>
  10. * [shogi-server] Write more game results in record files
  11. As the CSA Record Format standard states, "%TIME_UP" and
  12. "%SENNICHITE" are now recorded in CSA files when a game ends for
  13. timed up or sennichite respectively.
  14. (Closes #37490)
  15. * [shogi-server, mk_game_results, mk_rate] Change schema to add number of
  16. moves The format of an internal game result summary file, '00LIST',
  17. has been changed to add number of moves of a game, which would be of
  18. help for a script calculating rating scores.
  19. (Closes #37491)
  20. * Update Revision to 20170902
  21. 2017-02-26 Daigo Moriwaki <daigo at debian dot org>
  22. * utils/csa-filter.rb: Allow csa-filter.rb to filter games by a winner or loser
  23. New command lines, --winner <player> or --loser <player>, are now
  24. supported to supply extra filtering conditions. Note that each
  25. filter is combined as AND condition.
  26. E.g.
  27. - % ./csa-filter.rb ~/Downloads/20160314 --white gpsfish_xeon --loser gpsfish_xeon
  28. - % ./csa-filter.rb ~/Downloads/20160314 --white gpsfish_xeon --winner gpsfish_xeon
  29. (Closes #37023)
  30. 2016-12-11 Daigo Moriwaki <daigo at debian dot org>
  31. * Update Revision to 20161211.
  32. * Fix Dockerfile.
  33. 2016-12-09 Daigo Moriwaki <daigo at debian dot org>
  34. * Allow util/statistics.rb to set a filtering condition of found files
  35. Regarding util/statistics.rb, add a new command line option,
  36. --filter regexp, to process files that are matched with a regexp.
  37. It would make it easier to calculate statistics of certain games.
  38. (Closes #36855)
  39. 2016-11-26 Daigo Moriwaki <daigo at debian dot org>
  40. * [shogi-server] Allow to customize maximum lenght of a login indentifier
  41. (Closes #36821)
  42. - The current maximum length of a login identifier is 32. Some
  43. private uses require longer player names to distinguish each other
  44. by specifying randomly generated tokens. It would of help to add a
  45. new command line option --max-identifier to overwrite the default
  46. maximum length.
  47. * Build a Docker image for Shogi-server
  48. (Closes #36822)
  49. - Build a Docker image
  50. % make image-build
  51. - Running a local shogi-server would look like
  52. % docker pull shogiserver/shogiserver
  53. % docker run -p 4081:4081 -v `pwd`/logs:/logs shogiserver/shogiserver
  54. * [shogi-server] shogi_server/game.rb:
  55. - Remove a debug message
  56. 2016-04-09 Daigo Moriwaki <daigo at debian dot org>
  57. * utils/eval_graph.rb
  58. - Support Fischer time control.
  59. * [shogi-server] Bump up the revision to 20160409.
  60. 2016-04-02 Daigo Moriwaki <daigo at debian dot org>
  61. * [shogi-server] Support Fischer Time Control
  62. (Closes #36230)
  63. - Fischer time control means that:
  64. Before a player has made their move, a specified time increment is
  65. added to their clock. Time can be accumulated, so if the player
  66. moves within the delay period, their remaining time actually
  67. increases.
  68. (https://en.wikipedia.org/wiki/Chess_clock)
  69. - New syntax of game names:
  70. An 'F' suffix denotes a Fisher time in seconds. For example,
  71. "floodgate-600-10F" specifies
  72. + A floodgate game
  73. + Total allotted time is 600 seconds for each player
  74. + 10-second increment before a player's move in a Fischer way
  75. - The server now proposes game conditions upon a game start with
  76. - "Protocol_Version 1.2"
  77. - "Increment:<n>" for Fischer Time Control
  78. - Kifu files can include the following comment for Fischer Time
  79. Control:
  80. - "'Increment:<n>"
  81. * [shogi-server] Fix some lint warnings.
  82. 2015-12-13 Daigo Moriwaki <daigo at debian dot org>
  83. * [shogi-server] Enhance capability of Floodgate configuration file
  84. - New parameter: Max_Moves, defined in the CSA protocol
  85. ex. set Max_Moves 256
  86. - New parameter: Least_Time_Per_Move, defined in the CSA protocol
  87. ex. set Least_Time_Per_Move 0
  88. - Proposed messages distributed to each player upon starting a new
  89. game will include Max_Moves as well as Least_Time_Per_Move.
  90. - CSA files produced by the server will include settings of
  91. Max_Moves and Least_Time_Per_Move in comment lines as follows:
  92. 'Max_Moves:256
  93. 'Least_Time_Per_Move:0
  94. - The official Shogi-server on wdoor.c.u-tokyo.ac.jp will
  95. be running with different parameters, depending on game names.
  96. a) Max_Moves will be 256 for floodgate-600-10 games;
  97. otherwise, 0.
  98. b) Least_Time_Per_Move will be 0 for floodgate-600-10 games;
  99. otherwise 1.
  100. (Closes: #35839)
  101. * [shogi-server] shogi_server/pairing.rb:
  102. - LeastDiff attempts more trials, depending of a number of players
  103. to be matched, top achieve more optimized matching combinations.
  104. 2015-11-27 Daigo Moriwaki <daigo at debian dot org>
  105. * [shogi-server] shogi_server/time_clock.rb:
  106. - A time consumed could be -1.
  107. * The start time of a move is captured after sending a move to a
  108. player of the next turn at the end of the giant lock
  109. * The end time of the move is captured at the exact time when the
  110. server receives it before the giant lock
  111. Therefore, end_time < start_time is possible when a player returns a
  112. move instantly.
  113. Thanks to Tomoyuki Kaneko for reporting this issue.
  114. (Closes: #35795)
  115. 2015-02-14 Daigo Moriwaki <daigo at debian dot org>
  116. * util/statistics.rb:
  117. - Updated to investigate floodgate-600-10 games.
  118. Consult the result at
  119. http://www.sgtpepper.net/hyspro/diary/20150214.html.
  120. - Added a companion R script: histogram.R
  121. 2015-02-01 Daigo Moriwaki <daigo at debian dot org>
  122. * [shogi-server]
  123. - shogi_server/login.rb: When players are logged in, log their
  124. player_id if they have it.
  125. 2015-01-20 Daigo Moriwaki <daigo at debian dot org>
  126. * [mk_rate]
  127. - Getting an absolute path of this file was wrong if it was a
  128. symbolic link. This issue has been addressed.
  129. * [mk_html]
  130. - Links to details pages for players now use a relative path so
  131. that it works on a testing site.
  132. 2015-01-17 Daigo Moriwaki <daigo at debian dot org>
  133. * [shogi-server]
  134. - shogi-server, shogi_server/{command,game_result,player}.rb:
  135. The change at 2014-10-13 was not worked as expected. Reworked.
  136. A player, attempting to login with the current live player
  137. stalling for more than a day, can forcibly override the current
  138. player.
  139. 2015-01-12 Daigo Moriwaki <daigo at debian dot org>
  140. * [shogi-server]
  141. - shogi_server.rb: Follow an API change in a upstream class:
  142. LogDevice.previous_period_end
  143. 2014-12-27 Daigo Moriwaki <daigo at debian dot org>
  144. * [shogi-server]
  145. - When a non-rated player participates in Floodgate, the following exception
  146. was thrown and a Floodgate game would not start:
  147. undefined method `[]' for nil:NilClass
  148. ["/home/shogi-server/www/x/shogi_server/pairing.rb:499:in `block
  149. in calculate_diff_with_penalty'"
  150. This issue has been resolved. Only players who have player ID
  151. (i.e. those who log in with valid password) are now allowed to
  152. participate in Floodgate as the spec web page
  153. [http://shogi-server.sourceforge.jp/rating.html] describes.
  154. 2014-12-23 Daigo Moriwaki <daigo at debian dot org>
  155. * [shogi-server]
  156. - Addressed Ruby incompatibility on ShogiServer::Usi::alphabetToDan.
  157. It (and usiToCsa.rb) did not work with Ruby 1.9.3. This issue
  158. has now been fixed.
  159. Thanks to Hiraoka-san for debugging.
  160. 2014-12-18 Daigo Moriwaki <daigo at debian dot org>
  161. * utils/eval_graph.rb:
  162. - Gnuplot 4.6.6 drew evaluation-value lines with a dashed style.
  163. This issue has now been addressed so that solid lines are used.
  164. 2014-11-30 Daigo Moriwaki <daigo at debian dot org>
  165. * [mk_html]
  166. - Corrected a url.
  167. 2014-11-24 Daigo Moriwaki <daigo at debian dot org>
  168. * Ruby 2.0:
  169. - Ruby 2.0.0 or later is recommended to use with shogi-server
  170. since Ruby 1.8 reached its End-of-Life on the end of July, 2014.
  171. * [shogi-server]
  172. - Addressed a warning of duplicated range in a regular expression.
  173. 2014-10-13 Daigo Moriwaki <daigo at debian dot org>
  174. * [shogi-server]
  175. - A player, attempting to login with the current live player
  176. stalling for more than a day, can forcibly override the current
  177. player.
  178. - Kifu record files now includes rating scores of players at the
  179. time when games start. Previously, for rating games, a record
  180. file includes player IDs of both players with a line starting with
  181. "'rating". Now it also shows rating scores for players who have
  182. valid scores. The formats for black and white players are as
  183. follows:
  184. 'black_rate:<player_id>:<score>
  185. 'white_rate:<player_id>:<score>
  186. A sample output:
  187. 'rating:Test_sente+275876e34cf609db118f3d84b799a790:Test_gote+275876e34cf609db118f3d84b799a790
  188. 'black_rate:Test_sente+275876e34cf609db118f3d84b799a790:2763.0
  189. 'white_rate:Test_gote+275876e34cf609db118f3d84b799a790:2345.0
  190. 2014-10-12 Daigo Moriwaki <daigo at debian dot org>
  191. * [shogi_server]
  192. - New feature: max moves
  193. - New command line option: --max-moves n
  194. When a game with the n-th move played does not end, make the
  195. game a draw (default 256 in compliance with CSA Protocol V1.2
  196. or later). Setting 0 disables this feature for
  197. CSA Protocol V1.1.2 or before.
  198. - Players will receive a new message, "#MAX_MOVES", upon an end
  199. of such a game:
  200. #MAX_MOVES
  201. #CENSORED
  202. - A new log summary type, "max_moves", has been assigned for games
  203. drawing with max moves.
  204. 'summary:max_moves:name_sente draw:name_gote draw
  205. - Least time per move:
  206. - New command line option: --least-time-per-move n
  207. This option specifies a least time in second per move, which
  208. is 0 second by default, meaning that a decimal
  209. fraction of time for a move will be truncated in compliance
  210. with CSA Protocol V1.2 or later.
  211. Set 1 for CSA Protocol V1.1.2 or before.
  212. 2014-07-19 Daigo Moriwaki <daigo at debian dot org>
  213. * [mk_rate]
  214. - Added a new option, --abnormal-threshold n:
  215. Games that end with the 'abnormal' status are counted in
  216. win/lost games for the rating calculation if a game plays more
  217. than n plies. Otherwise (or if n is zero), abnormal games are
  218. counted out of rating games.
  219. 2014-01-07 Daigo Moriwaki <daigo at debian dot org>
  220. * [shogi-server]
  221. - Released: Revision "20140107"
  222. 2013-12-29 Daigo Moriwaki <daigo at debian dot org>
  223. * [shogi-server]
  224. - Previously, parameters in Floodgate time configuration file were
  225. not applied to actual instances. This issue has been fixed.
  226. 2013-12-21 Daigo Moriwaki <daigo at debian dot org>
  227. * [shogi-server]
  228. - shogi_server/pairing.rb: Impose penalty on matches between
  229. likely kin players.
  230. 2013-12-15 Daigo Moriwaki <daigo at debian dot org>
  231. * [webserver]
  232. - Listen on only IPv4 explicitly. Under ruby 1.9.3p194, without
  233. any bind addresses, ruby attempts to listen on both "0.0.0.0"
  234. and "::". Specifying "::" on Linux leads to listen on both IPv4
  235. and IPv6, which results in a warning message saying "Address
  236. already in use - bind(2)".
  237. * [shogi-server]
  238. - Released: Revision "20131215"
  239. 2013-12-14 Daigo Moriwaki <daigo at debian dot org>
  240. * [usiToCsa]
  241. - Added a new program, bin/usiToCsa.rb, which is a bridge for a
  242. USI engine to connect to the Shogi-server.
  243. - bin/usiToCsa is a sample wrapper script.
  244. 2013-12-13 Daigo Moriwaki <daigo at debian dot org>
  245. * [shogi-server]
  246. - shogi_server/league/floodgate_thread.rb:
  247. - Added a log message.
  248. 2013-12-08 Daigo Moriwaki <daigo at debian dot org>
  249. * [shogi-server]
  250. - shogi-server/shogi_server/pairing.rb:
  251. - Modified comment for LeastDiff match.
  252. - Changed log messages and levels.
  253. 2013-12-07 Daigo Moriwaki <daigo at debian dot org>
  254. * [shogi-server]
  255. - shogi_server/pairing.rb, player.rb:
  256. Simplify estimated rate of unrated players (less memory).
  257. - Enhanced syntax of Floodgate time configuration file.
  258. Now it supports "set sacrifice <player_id>"; it sets a
  259. sacrificed player for a specific Floodgate game.
  260. ex. set sacrifice gps500+e293220e3f8a3e59f79f6b0efffaa931
  261. 2013-12-05 Daigo Moriwaki <daigo at debian dot org>
  262. * [shogi-server]
  263. - Added a new pairing method, ShogiServer::ExcludeUnratedPlayers,
  264. which filters out unrated players.
  265. - Enhanced syntax of Floodgate time configuration file.
  266. Now it supports "set pairing_factory <function_name>"; it sets a
  267. factory function name generating a pairing method which will be
  268. used in a specific Floodgate game.
  269. ex. set pairing_factory floodgate_zyunisen
  270. - Implemented conversion of move representation between CSA format
  271. and USI one.
  272. 2013-11-24 Daigo Moriwaki <daigo at debian dot org>
  273. * [shogi-server]
  274. - shogi_server/league/floodgate.rb: Improved robustness against
  275. empty file under ruby 1.9.3p194
  276. - shogi-server:
  277. - Previously, reloading in daemon mode failed on
  278. ruby 1.9.3p194. This issue has been fixed.
  279. - Listen on only IPv4 explicitly. Under ruby 1.9.3p194, without
  280. any bind addresses, ruby attempts to listen on both "0.0.0.0"
  281. and "::". Specifying "::" on Linux leads to listen on both IPv4
  282. and IPv6, which results in a warning message saying "Address
  283. already in use - bind(2)".
  284. * [mk_game_results]
  285. - Fixed for reading Japanese comments under ruby1.9.3p194.
  286. * mk_rate-from-grep, mk_rate-grep:
  287. - Removed files that are no longer used.
  288. 2013-11-23 Daigo Moriwaki <daigo at debian dot org>
  289. * [mk_rate]
  290. - gsl library may be provided as a gem
  291. - Now duplicated inputs are checked and skipped.
  292. * test/TC_floodgate.rb
  293. - Improved randomness check so that it works on Ruby 2.0.0 as well
  294. 2013-11-04 Daigo Moriwaki <daigo at debian dot org>
  295. * [mk_rate]
  296. - Added a new option, --ignore, which is imported from
  297. mk_rate-from-grep.
  298. * [mk_game_results]
  299. - Flush after each output line.
  300. * Rleased: Revision "20131104"
  301. 2013-09-08 Daigo Moriwaki <daigo at debian dot org>
  302. * [shogi-server]
  303. - shogi_server/{game,time_clock}.rb:
  304. When StopWatchClock is used, "Time_Unit:" of starting messages
  305. in CSA protocol supplies "1min".
  306. 2013-04-07 Daigo Moriwaki <daigo at debian dot org>
  307. * [shogi-server]
  308. - shogi_server/{game,time_clock}.rb:
  309. Adds variations of thinking time calculation: ChessClock
  310. (current) and StopWatchClock (new).
  311. StopWatchClock, which is usually used at official games of human
  312. professional players, is a clock where thiking time less than a
  313. miniute is regarded as zero.
  314. To select StopWatchClock, use a special game name with "060"
  315. byoyomi time. ex. "gamename_1500_060".
  316. 2013-03-31 Daigo Moriwaki <daigo at debian dot org>
  317. * [shogi-server]
  318. - %%FORK command: %%FORK <source_game> [<new_buoy_game>] [<nth-move>]
  319. The new_buoy_game parameter is now optional. If it is not
  320. supplied, Shogi-server generates a new buoy game name from
  321. source_game.
  322. - command.rb: More elaborate error messages for the %%GAME command.
  323. 2013-03-20 Daigo Moriwaki <daigo at debian dot org>
  324. * [shogi-server]
  325. - New pairing algorithm: ShogiServer::Pairing::LeastDiff
  326. This pairing algorithm aims to minimize the total differences of
  327. matching players' rates. It also includes penalyties when a match
  328. is same as the previous one or a match is between human players.
  329. It is based on a discussion with Yamashita-san on
  330. http://www.sgtpepper.net/kaneko/diary/20120511.html.
  331. 2013-02-23 Daigo Moriwaki <daigo at debian dot org>
  332. * [shogi-server]
  333. - New command: %%FORK <source_game> <new_buoy_game> [<nth-move>]
  334. Fork a new game from the posistion where the n-th (starting from
  335. one) move of a source game is played. The new game should be a
  336. valid buoy game name. The default value of n is the position
  337. where the previous position of the last one.
  338. - The objective of this command: The shogi-server may be used as
  339. the back end server of computer-human match where a human player
  340. plays with a real board and someone, or a proxy, inputs moves to
  341. the shogi-server. If the proxy happens to enter a wrong move,
  342. with this command you can restart a new buoy game from the
  343. previous stable position.
  344. ex. %%FORK server-denou-14400-60+p1+p2+20130223185013 buoy_denou-14400-60
  345. 2012-12-30 Daigo Moriwaki <daigo at debian dot org>
  346. * [shogi-server]
  347. - Backported a5c94012656902e73e00f46e7a4c7004b24d4578:
  348. test/TC_logger.rb depeneded on a specific directory where it was
  349. running on. This issues has been fixed.
  350. - Backported 87d145bd1f1a14a33f5f6fbc78b63a1952f1ca90 and
  351. 2df8c798aeb7f0e77735e893fd1370c2c6f15c4d:
  352. shogi_server/floodgate.rb: Generating next time around the new
  353. year day by reading configuration files did not work correctly.
  354. This issue has been fixed.
  355. 2012-12-28 Daigo Moriwaki <daigo at debian dot org>
  356. * [shogi-server]
  357. - shogi_server/pairing.rb:
  358. + There was a bug in the logic avoiding human-human match.
  359. This issue has been fixed.
  360. + Improved the logic avoiding human-human match. Human-human
  361. matches will less likely happen.
  362. 2012-01-07 Daigo Moriwaki <daigo at debian dot org>
  363. * [shogi-server]
  364. - Added shogi_server/compatible.rb, which implements compatible
  365. methods and allows Ruby 1.8.7 to run the server.
  366. - test/TC_floodgate.rb failed with Ruby 1.8.7. This issue has
  367. been fixed.
  368. - test/TC_uchifuzume.rb did not run with Ruby 1.8.7. This issue
  369. has been fixed.
  370. - test/TC_league.rb failed with Ruby 1.8.7. This issue has been
  371. fixed.
  372. * csa-file-filter,mk_game_results,mk_html,mk_rate:
  373. - Updated documents in the command files.
  374. Both Ruby 1.9.3 and 1.8.7 are supported.
  375. - Make their shebang consistent (/usr/bin/ruby1.9.1)
  376. * README:
  377. - Both Ruby 1.9.3 and 1.8.7 are supported.
  378. * Renewed year of copyright notice in each file.
  379. 2012-01-06 Daigo Moriwaki <daigo at debian dot org>
  380. * [shogi-server]
  381. - test/TC_logger.rb depeneded on a specific directory where it was
  382. running on. This issues has been fixed.
  383. 2012-01-01 Daigo Moriwaki <daigo at debian dot org>
  384. * [shogi-server]
  385. - shogi_server/floodgate.rb: Generating next time around the new
  386. year day by reading configuration files did not work correctly.
  387. This issue has been fixed.
  388. 2011-12-18 Daigo Moriwaki <daigo at debian dot org>
  389. * [shogi-server]
  390. - shogi_server/board.rb, piece.rb: Refactoring to cache OU pieces,
  391. which was inspired by 81SquareShogi-server's change
  392. (74b24b88c843f1dd767412475b117481d1d5e8eb).
  393. - Added shogi-server-profile to take profile of shogi-server.
  394. * [mk_rate] [mk_game_results]
  395. - Supports Ruby 1.9.3.
  396. 2011-12-12 Daigo Moriwaki <daigo at debian dot org>
  397. * [shogi-server]
  398. - Support Ruby 1.9.3.
  399. - Result of test/benchmark.rb
  400. - Environment:
  401. - CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
  402. - RAM: 4GB
  403. - OS: Debian Squeeze
  404. - ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
  405. - ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
  406. - Server: ruby1.8 (or ruby1.9.1) ./shogi-server hoge 4000
  407. - Clients: ruby1.8 (or ruby1.9.1) -d ./benchmark.rb
  408. csa/wdoor+floodgate-900-0+gps_normal+gps_l+20100507120007.csa 20
  409. - Scores in seconds: (the smaller, the better)
  410. clients
  411. 1.8.7 1.9.3
  412. server 1.8.7 20 sec 21 sec
  413. 1.9.3 26 sec 27 sec
  414. 2010-10-06 Daigo Moriwaki <daigo at debian dot org>
  415. * [shogi-server]
  416. - mk_rate: the usage was not updated.
  417. Thanks to Hoki-san to report this issue. (Closes: #23358)
  418. 2010-09-18 Daigo Moriwaki <daigo at debian dot org>
  419. * [shogi-server]
  420. - shogi_server/board.rb, game.rb: For hadicapped games, wrong
  421. initial positions were delivered to players and monitors. This
  422. issue has been fixed. (Closes: #23245)
  423. Thanks to HIDETCHI for reporting the issue.
  424. 2010-09-05 Daigo Moriwaki <daigo at debian dot org>
  425. * [shogi-server]
  426. - shogi_server/login.rb: Enhanced the CSA Login mode.
  427. Logging in the server with the CSA mode, users are now allowed to
  428. specify a turn preference in an enhanced gamename string which
  429. looks like <gamename>-<time>-<time>-<turn>. The first three
  430. parts are a regular game definition. The last "-<turn>"
  431. part is optional.
  432. + Without -<turn> (i.e. same as the previous behavior), there
  433. is no turn preference. A user's turn will be defined randomly.
  434. + <turn> is either "B" for black or "W" for white.
  435. 2010-09-04 Daigo Moriwaki <daigo at debian dot org>
  436. * [shogi-server]
  437. - shogi_server/{board,command,game,league,player}.rb
  438. The Buoy behavior is changed.
  439. + Starting a buoy game, players are notified a starting game
  440. position with the initial position and moves, instead of a
  441. targeting position.
  442. + Players are allowed to start buoy games with specific turns.
  443. ex. %%GAME buoy_foo-1500-0 +
  444. 2010-08-05 Daigo Moriwaki <daigo at debian dot org>
  445. * [shogi-server]
  446. - shogi_server/command.rb: Prevent a possible password from be
  447. logged in a log file when players send invalid LOGIN-like commands.
  448. Thanks to Tomoyuki Kaneko for this idea.
  449. 2010-08-03 Daigo Moriwaki <daigo at debian dot org>
  450. * [shogi-server]
  451. - sample/{check_file.rb,check_time.rb,check_time2.rb,test_time.rb}:
  452. Added new files to test an issue where mtime of log files was
  453. earlier than system time.
  454. - shogi_server/league/floodgate_thread.rb: SetupFloodgate#start
  455. now returns an instance correctly.
  456. - ../shogi_server.rb, ../shogi_server/util.rb: Refactored
  457. mkdir_for to Mkdir.mkdir_for.
  458. - ../shogi_server/game.rb: mkdir_p will be performed in a global
  459. mutex of ShogiServer::Mkdir.
  460. 2010-07-25 Daigo Moriwaki <daigo at debian dot org>
  461. * [shogi-server]
  462. - shogi_server/command.rb:
  463. + For an unknown error command log, an empty line is no longer logged.
  464. + Commands specific to 81Dojo, starting with '%%%', are just
  465. ignored instead of unknown command errors.
  466. - shogi_server.rb:
  467. + Refactoring. Added test/TC_logger.rb to test
  468. ShogiServer::Logger class.
  469. + Fixed race condition: creating a new directory to archive
  470. logs may have caused race condition, which ended up with
  471. making the server unavailable. This issue has been fixed.
  472. - shogi-server:
  473. + Improved fault tolerance of the server.
  474. 2010-07-23 Daigo Moriwaki <daigo at debian dot org>
  475. * [shogi-server]
  476. - shogi_server/league/floodgate_thread.rb: When the server run
  477. with DEBUG mode, it ended up with an undefined variable error.
  478. This issue has been fixed.
  479. 2010-07-17 Daigo Moriwaki <daigo at debian dot org>
  480. * [shogi-server]
  481. - shogi_server.rb, shogi_server/board.rb, shogi_server/move.rb
  482. - Refactoring: Board can now move_to() and move_back() a move
  483. instead of deep_copy().
  484. 2010-07-11 Daigo Moriwaki <daigo at debian dot org>
  485. * [shogi-server]
  486. - shogi_server/player.rb: Set initial values to BasicPlayer's
  487. instance variables.
  488. - shogi_server/league.rb: Improved performance of
  489. Persistant#get_players. It took about 20 seconds for a large
  490. size of players (5,300 lines in players.yaml). Now it completes in an
  491. instance.
  492. 2010-06-22 Daigo Moriwaki <daigo at debian dot org>
  493. * [shogi-server]
  494. - A new command line option:
  495. --floodgate-names GameStringA[,GameStringB[,...]]
  496. where a game string should be a valid game name such as
  497. floodgate-900-0.
  498. .
  499. Note: Without this option, no floodgate games are started. If
  500. you want floodgate-900-0 to run, which was default enabled in
  501. previous versions, you need to specify the game name in this new
  502. option.
  503. - Floodgate time configuration file:
  504. You need to set starting times of floodgate groups in
  505. configuration files under the top directory. Each floodgate
  506. group requires a corresponding configuration file named
  507. "<game_name>.conf". The file will be re-read once just after a
  508. game starts.
  509. .
  510. For example, a floodgate-3600-30 game group requires
  511. floodgate-3600-30.conf. However, for floodgate-900-0 and
  512. floodgate-3600-0, which were default enabled in previous
  513. versions, configuration files are optional if you are happy with
  514. default time settings.
  515. File format is:
  516. Line format:
  517. # This is a comment line
  518. DoW Time
  519. ...
  520. where
  521. DoW := "Sun" | "Mon" | "Tue" | "Wed" | "Thu" | "Fri" | "Sat" |
  522. "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" |
  523. "Friday" | "Saturday"
  524. Time := HH:MM
  525. For example,
  526. Sat 13:00
  527. Sat 22:00
  528. Sun 13:00
  529. 2010-06-01 Daigo Moriwaki <daigo at debian dot org>
  530. * [shogi-server]
  531. - shogi_server/command.rb: Fixed an issue that MONITOR2OFF did not
  532. work. Thanks to HIDECHI and koudayu.
  533. 2010-05-10 Daigo Moriwaki <daigo at debian dot org>
  534. * [shogi-server]
  535. - test/*.rb: Improved performance and stability of tests
  536. - shogi_server/player.rb: Help the write_thread to terminate
  537. 2010-05-06 Daigo Moriwaki <daigo at debian dot org>
  538. * [mk_rate]
  539. - Previously mk_rate did not count in draw games. Now a draw game
  540. is considered to weight 0.5 win and 0.5 loss. Respect
  541. Inaniwa-shogi which strategically aims to draw.
  542. - a new command line option, --skip-draw-games. In this mode, draw
  543. games are just ignored as mk_rate previously did.
  544. 2010-04-25 Daigo Moriwaki <daigo at debian dot org>
  545. * [shogi-server]
  546. - shogi_server/player.rb:
  547. Log a warning message in a case that a player closes a
  548. connection suddenly.
  549. 2010-04-13 Daigo Moriwaki <daigo at debian dot org>
  550. * [shogi-server]
  551. - shogi_server/command.rb:
  552. Equality of MonitorHandler class was wrong. %%MONITOROFF and
  553. %%MONITOR2OFF may cause unexpected behavior. This issue has been
  554. fixed. Thanks to Kota Fujiwara for reporting.
  555. 2010-03-07 Daigo Moriwaki <daigo at debian dot org>
  556. * [shogi-server]
  557. - If two sequential moves from a player are identical, the last
  558. one will be ignored and a game is in play. This situation might
  559. happen with human players, especially on slow network,
  560. impatiently sending a move twice.
  561. 2010-02-27 Daigo Moriwaki <daigo at debian dot org>
  562. * [shogi-server]
  563. - The server now provides more accurate time control. Previously,
  564. a player's thinking time included a time waiting to get the giant
  565. lock. This may have caused games to time up, especially, during
  566. byo-yomi etc.
  567. 2010-01-22 Daigo Moriwaki <daigo at debian dot org>
  568. * [shogi-server]
  569. - Experimental feature: support handicapped games.
  570. Game names that have the following prefixes are recognized as
  571. handicapped games. Turn symbols "+" and "-" mean Uwate (expert)
  572. and Shitate (beginner) respectively (i.e. Uwate players first).
  573. "*" is not available.
  574. - hclance_
  575. - hcbishop_
  576. - hcrook_
  577. - hcrooklance_
  578. - hc2p_
  579. - hc4p_
  580. - hc6p_
  581. - hc10p_
  582. 2010-01-16 Daigo Moriwaki <daigo at debian dot org>
  583. * [shogi-server]
  584. - shogi_server/command.rb, test/TC_command.rb
  585. Proposal implementation of a new command called MONITOR2{ON,OFF}.
  586. When the MONITOR2ON command is issued by a player, the server
  587. immediately sends the player the entire contents of a record
  588. file of the game, i.e. history of moves and so on, at that time.
  589. Then, the server will forward subsequent moves like they are
  590. appended to the record file.
  591. - Behavior changed: A player monitoring a game with MONITORON will
  592. not receive Game#show again when a gaming player resigns (:toryo).
  593. 2010-01-10 Daigo Moriwaki <daigo at debian dot org>
  594. * Converted the repository from Subversion to Git.
  595. 2009-12-26 Daigo Moriwaki <daigo at debian dot org>
  596. * [shogi-server]
  597. - The server can now provide multiple floodgate modes such as
  598. floodgate-900-0 and floodgate-3600-0.
  599. 2009-12-25 Daigo Moriwaki <daigo at debian dot org>
  600. * [shogi-server]
  601. - shogi-server: The command line option --floodgate-history has
  602. been deprecated. The server will decide history file names such
  603. as 'floodgate_history_900_0.yaml' and
  604. 'floodgate_history_3600_0.yaml', and then put them in the top
  605. directory.
  606. 2009-12-20 Daigo Moriwaki <daigo at debian dot org>
  607. * [shogi-server]
  608. - shogi_server/player.rb: Added new methods: is_human? and
  609. is_computer?.
  610. A human player is recommended to use a name ending with '_human'.
  611. ex. 'hoge_human', 'hoge_human@p1'
  612. - shogi_server/pairing.rb: Added a new class:
  613. StartGameWithoutHumans, which tries to make pairs trying to
  614. avoid a human-human match. This is now enabled instead of the
  615. previous class: StartGame.
  616. - shogi-server, shogi_server/league/floodgate.rb:
  617. Changed the argument of Floodgate.new.
  618. 2009-12-04 Daigo Moriwaki <daigo at debian dot org>
  619. * [shogi-server]
  620. - The HUP signal is not supported by Ruby on Windows.
  621. 2009-11-11 Daigo Moriwaki <daigo at debian dot org>
  622. * [mk_rate]
  623. - Added a new command line option: --base-date. You can specify a
  624. base date to calculate rating scores. Games in the `future' are
  625. ignored for the calculation.
  626. 2009-11-10 Daigo Moriwaki <daigo at debian dot org>
  627. * [shogi-server]
  628. - The server logs a result of each game to a file named '00LIST',
  629. which will be used to generate players.yaml. If the file does
  630. not exist, the server will create one automatically.
  631. Instruction to use the game result list file:
  632. 1. Make a list of game results from existing CSA files with
  633. mk_game_results
  634. % ./mk_game_results dir_of_csa_files > 00LIST
  635. 2. Run the server. It appends a result of each game to
  636. '00LIST' when the game finishes.
  637. 3. From the list of game results, calculate rating scores of
  638. players.
  639. % ./mk_rate 00LIST > players.yaml
  640. 2009-11-08 Daigo Moriwaki <daigo at debian dot org>
  641. * [mk_rate]
  642. - Split a pre-process collecting game results from csa files into
  643. a new command, mk_game_results. Now, Generating players.yaml
  644. requires two steps as follows:
  645. % ./mk_game_results dir_of_csa_files > 00LIST
  646. % ./mk_rate 00LIST > players.yaml
  647. or
  648. % ./mk_game_results dir_of_csa_files | ./mk_rate > players.yaml
  649. (Closes: #19454)
  650. 2009-08-06 Daigo Moriwaki <daigo at debian dot org>
  651. * [shogi-server]
  652. - A experimental new feature, codenamed Buoy: it allows players to
  653. play a game starting with a specified position. First, a player
  654. sets a buoy game with moves to a specific position. Then, two
  655. players can play a new game with the game name.
  656. New commands:
  657. + %%SETBUOY <game_name> <moves> [count]
  658. Set a new buoy game.
  659. ex. %%SETBUOY buoy_foo-900-0 +7776FU 10
  660. ex. %%SETBUOY buoy_foo-1500-0 +7776FU-3334FU
  661. - game_name is a valid game name with a prefix "buoy_".
  662. ex. buoy_foo-900-0
  663. - moves are initial moves from the Hirate position to a
  664. specific position that you want to start with.
  665. ex. +7776FU-3334FU+8786FU
  666. - count is an optional attribute to tell how many times the
  667. game can be played (default 1). The count is decremented
  668. when the game finishes. If the count reaches zero, the buoy
  669. game is removed automatically by the server.
  670. ex. 10
  671. + %%DELETEBUOY <game_name>
  672. Delete a buoy game. The only owner who set up the game is
  673. allowed to delete it.
  674. ex. %%DELETEBUOY buoy_foo-900-0
  675. - game_name is the buoy game name that was created.
  676. + %%GETBUOYCOUNT <game_name>
  677. Show a current count of the buoy game or -1 for non-existing
  678. games.
  679. 2009-07-11 Daigo Moriwaki <daigo at debian dot org>
  680. * [shogi-server]
  681. - shogi_server/command.rb: refactored commands out of player.rb.
  682. 2009-06-18 Daigo Moriwaki <daigo at debian dot org>
  683. * [shogi-server]
  684. - An empty floodgate_history.yaml caused a server error. This
  685. issue has been fixed.
  686. (Closes: #15124)
  687. 2009-06-17 Daigo Moriwaki <daigo at debian dot org>
  688. * [shogi-server]
  689. - If a new game matched between two players is not started within
  690. a certain time (default 120 seconds) (i.e. the agree_waiting or
  691. start_waiting state lasts too long), the Server REJECTs the game.
  692. (Closes: #14425)
  693. 2009-06-15 Daigo Moriwaki <daigo at debian dot org>
  694. * [shogi-server]
  695. - When a Gote player AGREEd a new game and then a Sente player
  696. logged out (LOGOUT), the Gote incorrectly received a LOGOUT message
  697. from the server. Since Gote's state was not AGREEd or STARTed yet,
  698. the Gote should be REJECTed. This issue has been fixed.
  699. (Closes: #17335)
  700. 2009-06-14 Daigo Moriwaki <daigo at debian dot org>
  701. * [shogi-server]
  702. - The Board could not recognize a certain pattern of
  703. Oute-Sennichite. This issue has been fixed.
  704. (Closes: #13966)
  705. 2009-03-22 Daigo Moriwaki <daigo at debian dot org>
  706. * [utils/correct-bug14635.rb]
  707. - Added a new file. This program corrects illegal lines introduced
  708. by the #14635 bug.
  709. 2009-03-07 Daigo Moriwaki <daigo at debian dot org>
  710. * [csa-file-filter]
  711. - Improved performance.
  712. 2009-02-15 Daigo Moriwaki <daigo at debian dot org>
  713. * [shogi-server]
  714. - A duplicated comment that is the one of the previous (or older)
  715. move might be erroneously recorded in a csa file. This issue has
  716. been fixed. (Closes: #15080)
  717. 2009-02-11 Daigo Moriwaki <daigo at debian dot org>
  718. * [utils/csa-filter.rb]
  719. - Added a new file. This program filters CSA files.
  720. 2009-02-01 Daigo Moriwaki <daigo at debian dot org>
  721. * [shogi-server]
  722. - The shogi-server records csa files of games in an illegal
  723. format. This issue has been fixed. (Closes: #14635)
  724. - A ##[MONITOR] command for showing a game result such as %TORYO
  725. was not correct. This issue has been fixed.
  726. 2009-01-13 Daigo Moriwaki <daigo at debian dot org>
  727. * [shogi-server]
  728. - It failed to proccess a game result, OuteKaihiMoreWin where a
  729. checked king does not escape. This issue has been fixed.
  730. 2009-01-02 Daigo Moriwaki <daigo at debian dot org>
  731. * [shogi-server]
  732. - shogi_server/timeout_queue.rb: the timeout parameter of the
  733. constructor was not respected erroneously. This issue
  734. has been fixed.
  735. - shogi_server/players.rb: When a player was finishing with its
  736. write socket broken, there was a chance that the thread of the
  737. player in the giant lock had to wait for a long time (about 20
  738. seconds), which might cause threads of other players stop and
  739. time out. (Closes: #14469)
  740. 2008-12-30 Daigo Moriwaki <daigo at debian dot org>
  741. * [mk_html]
  742. - Added a new option: --footer filename, which inserts contents of
  743. the filename at the bottom of a generated page. A text specific to
  744. wdoor should be written by using this option.
  745. (Closes: #14470)
  746. - It does no more depend on RDoc. RDoc::usage does not work well
  747. (due to RDoc).
  748. 2008-12-28 Daigo Moriwaki <daigo at debian dot org>
  749. * [mk_rate]
  750. - Check kifu files more carefully so that files that contain
  751. incomplete records are skipped.
  752. - mk_rate might have failed to alloc due to out of memory. Now it
  753. consumes less memory (about 200MB instead of 2GB).
  754. - File names can be put into STDIN instead of specifying directory
  755. names in command line arguments.
  756. * [csa-file-filter]
  757. - New file. It filters kifu files and is of use for a pre-filter
  758. of mk_rate.
  759. 2008-12-13 Daigo Moriwaki <daigo at debian dot org>
  760. * [shogi-server]
  761. - Improved an existance check and etc. of directories specified
  762. by command line options, especially in case of the daemon mode.
  763. (Closes: #14244)
  764. - A rotated log file is moved to $topdir/YYYY/MM/DD.
  765. (Closes: #14245)
  766. 2008-11-27 Daigo Moriwaki <daigo at debian dot org>
  767. * [shogi-server]
  768. - Added sample/*.sh for command line samples.
  769. 2008-11-24 Daigo Moriwaki <daigo at debian dot org>
  770. * [shogi-server]
  771. - Added a new option --floodgate-history, which allows users to
  772. specify a file name that stores the records of games. The
  773. records are taken care of when games are matched.
  774. 2008-10-18 Daigo Moriwaki <daigo at debian dot org>
  775. * [utils/eval_graph.rb]
  776. - Display time control graphs as well.
  777. Thanks to Nishimura-san for this idea.
  778. (Closes: #13678)
  779. 2008-10-08 Daigo Moriwaki <daigo at debian dot org>
  780. * [shogi-server]
  781. - Ruby 1.8.7 (or later) must be used. Ruby 1.8.6 is not supported.
  782. - Daemon mode is available.
  783. - shogi_server/piece_ky.rb is again merged with
  784. shogi_server/piece.rb, then has been removed.
  785. - Added a test case, TC_usi.rb.
  786. 2008-06-30 Daigo Moriwaki <daigo at debian dot org>
  787. * [shogi-server]
  788. - Added a new option --player-log-dir, which allows users to log
  789. messages that are received or sent to the wire.
  790. 2008-06-28 Daigo Moriwaki <daigo at debian dot org>
  791. * [shogi-server]
  792. - A rating comment line is now written before the first move in a
  793. record file instead of after the last move, which allows other
  794. applications watching a game to recognize players in the middle
  795. of the game. (Closes #12821)
  796. - If a player, including a monitor, stuck at the time of sending
  797. messages to the wire, which means that the giant lock was locked,
  798. it might have prevented other players from processing until
  799. timeout occurred. This issue has been fixed. (Closes #12555)
  800. 2008-06-27 Daigo Moriwaki <daigo at debian dot org>
  801. * [shogi-server]
  802. - Pairing players might not have shuffled players because of
  803. poor shuffling algorithm. This issue has been fixed.
  804. (Closes: #12661)
  805. 2008-06-25 Daigo Moriwaki <daigo at debian dot org>
  806. * [players_graph.rb]
  807. - Check invalid arguments. (Closes: #12856)
  808. 2008-06-23 Daigo Moriwaki <daigo at debian dot org>
  809. * [mk_rate]
  810. - Added a new option: --fixed-rate and --fixed-rate-player
  811. whose rate always results in that rate. (Closes: #12800)
  812. 2008-06-06 Daigo Moriwaki <daigo at debian dot org>
  813. * [shogi-server]
  814. - The source has been splited to multiple sub files.
  815. - The program now depends on rubygems and activesupport.
  816. - The program can reload the source files on the flight, by
  817. sending a HUP signal to the server.
  818. - The server log will be rotated daily.
  819. 2008-05-18 Daigo Moriwaki <daigo at debian dot org>
  820. * [shogi-server]
  821. - Last game results (win or lose) of x1 players were not
  822. available on the next game. This issue has been fixed.
  823. Thanks to Tomoyuki Kaneko for debugging.
  824. - For draw games, "'rating" line in a .csa file was
  825. wrong (meaningless). This issue has been fixed.
  826. 2008-05-16 Daigo Moriwaki <daigo at debian dot org>
  827. * [news]
  828. - The repository has been converted from CVS to Subversion.
  829. 2008-05-13 Daigo Moriwaki <daigo at debian dot org>
  830. * [shogi-server]
  831. - Floodgate's thread could cause an error when players.yaml was
  832. cleared by another program (mk_rate). This issue has been
  833. fixed.
  834. - Give default values to BasicPlayer, which fixed undefined
  835. method error in Pairing.
  836. 2008-05-10 Daigo Moriwaki <daigo at debian dot org>
  837. * [shogi-server]
  838. - The server could not recognize uchifuzume as an illegal move.
  839. This bug has been fixed.
  840. - The server crashed by an undefined method error.
  841. This issue has been fixed.
  842. 2008-05-05 Daigo Moriwaki <daigo at debian dot org>
  843. * [shogi-server]
  844. - .csa files will be located in a sub directory such as
  845. "2008/05/05/*.csa". These days, we have many games in a day.
  846. This change will help users browse a file list.
  847. 2008-05-03 Daigo Moriwaki <daigo at debian dot org>
  848. * [mk_html]
  849. - Show players who have accessed in the last 30 minutes with
  850. different colors.
  851. 2008-04-22 Daigo Moriwaki <daigo at debian dot org>
  852. * [mk_html]
  853. - When YSS was not rated on the wdoor mode, wrong rate24 scores
  854. were displayed. This issue has been fixed. Now YSS absence
  855. results in "N/A".
  856. 2008-04-21 Daigo Moriwaki <daigo at debian dot org>
  857. * [mk_rate]
  858. - The half-life period is now configurable.
  859. ex $ ./mk_rate --half-life 14 --half-life-ignore 7 <records>
  860. 2008-04-12 Daigo Moriwaki <daigo at debian dot org>
  861. * [shogi-server]
  862. - Renamed variables (@id) since they caused Ruby's warning.
  863. 2008-04-11 Daigo Moriwaki <daigo at debian dot org>
  864. * [shogi-server]
  865. - Improved a way to handle diferred moves (2008-03-24's change),
  866. based on Tomoyuki Kaneko's patch.
  867. 2008-04-01 Daigo Moriwaki <daigo at debian dot org>
  868. * [shogi-server]
  869. - An incorrect LOGIN crashed the server. This issue has been
  870. fixed.
  871. 2008-03-24 Daigo Moriwaki <daigo at debian dot org>
  872. * [shogi-server]
  873. - Converting characters for comments in moves caused an error. This
  874. issue has been fixed.
  875. - If a player moves in the opponent's turn, it is illegal. But the
  876. current CSA protocol does not clearly define a way to tell so to
  877. the players. This shogi-server internally keeps such a move in a
  878. buffer and replay it when the player of the move gets his/her
  879. turn.
  880. 2008-03-16 Daigo Moriwaki <daigo at debian dot org>
  881. * [shogi-server]
  882. - Erroneously, Board#to_s's current player was always Black.
  883. It caused wrong determination of sennichite since it did not
  884. care about the current player of a state. This has been fixed.
  885. Thanks Takada-san for reporting this bug.
  886. 2008-03-10 Daigo Moriwaki <daigo at debian dot org>
  887. * [util/players-graph.rb]
  888. - Applied Kaneko-san's patch, which also shows expected-rate24
  889. rates.
  890. - Small PNG gets smaller.
  891. 2008-03-08 Daigo Moriwaki <daigo at debian dot org>
  892. * [mk_html]
  893. - Added an option --wdoor. In this mode, a rate expected at Shogi
  894. Club 24 is calculated from YSS's rating (he is 2400 now).
  895. 2008-03-04 Daigo Moriwaki <daigo at debian dot org>
  896. * [mk_rate]
  897. - If the computed ratings do not stabilize, then mk_rate aborts.
  898. $ ./mk_rate dir && ./mk_rate dir > players.yaml
  899. can avoid rewriting the invalid ratings to the file.
  900. 2008-02-23 Daigo Moriwaki <daigo at debian dot org>
  901. * [shogi-server]
  902. - A comment is converted to EUC-JP and then written in a log.
  903. Note that this conversion guesses the input encoding. Clients
  904. are recommended to send EUC-JP compatible strings to the
  905. server.
  906. 2008-02-21 Daigo Moriwaki <daigo at debian dot org>
  907. * [util/players-graph.rb]
  908. - Released. Draw a chart for a player's rating score.
  909. 2008-02-17 Daigo Moriwaki <daigo at debian dot org>
  910. * [shogi-server]
  911. - An illegal teban specified for Floodgate login could crash the
  912. server. This issue has been fixed.
  913. 2008-02-16 Daigo Moriwaki <daigo at debian dot org>
  914. * [shogi-server]
  915. - Thread.abort_on_exception is now false, meaning that
  916. a thread's abort does not affect the others.
  917. - The uchifuzume check did not generate promoting moves, which
  918. could crash the server with illegal moves. This issue has
  919. been fixed.
  920. 2008-02-14 Daigo Moriwaki <daigo at debian dot org>
  921. * [shogi-server]
  922. - Added a new pairing variation, Swiss-like style. Winners at the
  923. previous games (his/her point of view, not the server's) are
  924. paired first, and then the others are matched. This is the
  925. default option now.
  926. - Pairing classes are located in a separate source file,
  927. pairing.rb. The file is 'load'ed each time to be used,
  928. meaning that modifying the code will be applied to a running
  929. server.
  930. - You can specify a single player who will be out of pairing
  931. when there are odd players waiting for Floodgate.
  932. 2008-02-13 Daigo Moriwaki <daigo at debian dot org>
  933. * [shogi-server]
  934. - When there are odd players wating for Floodgate, the random
  935. pairing deletes the player who has ever played the most games.
  936. 2008-02-08 Daigo Moriwaki <daigo at debian dot org>
  937. * [ml_html]
  938. - For the Not-Yet-Rated group, those who have not connected
  939. recently are not listed.
  940. * [shogi-server]
  941. - Floodgate's thread checks the current time each 10 secs.
  942. 2008-02-05 Daigo Moriwaki <daigo at debian dot org>
  943. * [mk_rate] [mk_html]
  944. - Display not-yet-rated players as well.
  945. * [mk_html]
  946. - Use Yahoo! UI Library.
  947. 2008-02-04 Daigo Moriwaki <daigo at debian dot org>
  948. * [shogi-server] [webserver]
  949. - In the daemon mode, if the specified directory was a relative
  950. path, the server could fail to start with a permission denied
  951. error. This issue has been fixed. The path is interpreted as
  952. an absolute path before switching to daemon.
  953. - In the daemon mode, a wrong process id was written in
  954. '--pid-file'. This issue has been fixed. Also, the pid file
  955. will be removed when the server shuts down.
  956. 2008-02-03 Daigo Moriwaki <daigo at debian dot org>
  957. * [shogi-server]
  958. - Game names that are recognized as the floodgate mode are now
  959. /^floodgate-\d+-\d+$/.
  960. - Floodgate could not schedule the next time when it was the next
  961. day. This issue has been fixed.
  962. 2008-02-02 Daigo Moriwaki <daigo at debian dot org>
  963. * [shogi-server]
  964. - Implemented a new feature, Floodgate mode, for covenience with
  965. public rating games. Now there is a special game "wdoor-900-0".
  966. Matching players for that game is scheduled each 30 minitues.
  967. 2007-11-03 Daigo Moriwaki <daigo at debian dot org>
  968. * [mk_rate]
  969. - Support Ruby 1.8.6 patch level 111 (or higher) and GSL 1.10 (or higher).
  970. It may not work with lower verions.
  971. 2007-09-06 Daigo Moriwaki <daigo at debian dot org>
  972. * [shogi-server]
  973. - The logic to detect Oute-Sennichite was not complete. Both players
  974. (checking side and escaping side) may cause Oute-Sennichite. The old
  975. logic only cared for the checking player. This issue has been fixed.
  976. 2007-06-16 Daigo Moriwaki <daigo at debian dot org>
  977. * [webserver]
  978. - Initial version. This web server is an interface between HTTP and
  979. shogi-server. Shogi-server commands will be available over HTTP. As
  980. of now %%LIST and %%WHO commands are supported.
  981. * [mk_rate]
  982. - Bumped up GAME_LIMIT (from 10) to 15 because the calculation of
  983. rates sometimes went wrong (infinite values).
  984. 2007-04-21 Daigo Moriwaki <daigo at debian dot org>
  985. * [shogi-server]
  986. - Implemented `CHALLENGE' command, and the server will respond with
  987. `CHALLENGE ACCEPTED'. Note that this command is dummy for this server
  988. because it is only available for CSA's official testing server and does
  989. not belong to the CSA standard protocol. Therefor, when clients receive
  990. `CHALLENGE ACCEPTED' from this server, they must ignore it.
  991. - Show revision in a start up message.
  992. 2007-04-01 Daigo Moriwaki <daigo at debian dot org>
  993. * [shogi-server]
  994. - Implemented one of the keepalive protocol in CSA protocol; If clients
  995. send LF, the server sends back LF.
  996. - More care for socket errors.
  997. 2007-03-27 Daigo Moriwaki <daigo at debian dot org>
  998. * [mk_rate] When there were too few games to rate players (i.e. no
  999. player to rate), mk_rate caused an error. Now it no longer shows
  1000. the error.
  1001. 2007-03-10 Daigo Moriwaki <daigo at debian dot org>
  1002. * [mk_html] Popup shows additional information.
  1003. 2007-03-02 Daigo Moriwaki <daigo at debian dot org>
  1004. * [shogi-server]
  1005. - Use WEBrick for server framework.
  1006. - Daemon mode is available.
  1007. 2007-02-26 Daigo Moriwaki <daigo at debian dot org>
  1008. * [shogi-server]
  1009. - Failed to show usage. This issue has been fixed.
  1010. - Initial start of the server failed beacause of empty players.yaml.
  1011. This issues has been fixed.
  1012. 2007-02-18 Daigo Moriwaki <daigo at debian dot org>
  1013. * [mk_html]
  1014. - Show groups in the order specified in players.html.
  1015. - Players who gamed recently have a background color.
  1016. * [mk_rate]
  1017. - Implemented half-life effect. Numbers of win/lose decrease by this effect.
  1018. 2006-11-26 Daigo Moriwaki <daigo at debian dot org>
  1019. * [shogi-server] Sente (gote) was able to move gote's (sente's) hand.
  1020. That move should be illegal. This issue has been fixed.
  1021. 2006-11-01 Daigo Moriwaki <daigo at debian dot org>
  1022. * [mk_rate] Skip "abnormal" games, which were finished because of
  1023. network failure or communication error. Recently some programs seem
  1024. to have a lot of tries to connect to the Shogi Server at wdoor for
  1025. debugging. We should ignore such games for a while to get a meaningful
  1026. ratings.
  1027. 2006-10-30 Daigo Moriwaki <daigo at debian dot org>
  1028. * [mk_rate][mk_html]
  1029. - Put players into "connected" groups in order to
  1030. show a correct, meaningful rating. In the group, each player has at
  1031. least a game with other players.
  1032. - The format of players.yaml was updated.
  1033. * [shogi-server] Followed the new format of players.yaml.
  1034. 2006-10-08 Daigo Moriwaki <daigo at debian dot org>
  1035. * [mk_rate] Corrected making win_loss_matrix.
  1036. 2006-10-02 Daigo Moriwaki <daigo at debian dot org>
  1037. * [mk_rate] players who never win or lose are not rated in order
  1038. the calculation to complete.
  1039. 2006-09-30 Daigo Moriwaki <daigo at debian dot org>
  1040. * [shogi-server] The CSA mode supports the trip in a password.
  1041. 2006-09-22 Daigo Moriwaki <daigo at debian dot org>
  1042. * [shogi-server] Refactored the login procedures.
  1043. 2006-09-21 Daigo Moriwaki <daigo at debian dot org>
  1044. * [mk_rate] It failed parse draw games. Now this bug has been fixed.
  1045. * [mk_html] Add CSS to look better.
  1046. 2006-09-15 Daigo Moriwaki <daigo at debian dot org>
  1047. * [shogi-server]
  1048. - Remove the trip in a password. Now the password is hashed.
  1049. * [mk_rate]
  1050. - Support @NORATE syntax in a name, which avoids the player is
  1051. rated.
  1052. 2006-09-09 Daigo Moriwaki <daigo at debian dot org>
  1053. * [shogi-server]
  1054. - Support a new command, %%VERSION. It shows the server's revision#.
  1055. 2006-09-07 Daigo Moriwaki <daigo at debian dot org>
  1056. * [shogi-server]
  1057. - Re-design: trip is now a suffix of the password, not name.
  1058. - Simplified the output of %%RATING.
  1059. * [mk_rate]
  1060. - Support "@" indentificaton in a name; players with same
  1061. before-@-names are mapped to one.
  1062. 2006-09-05 Daigo Moriwaki <daigo at debian dot org>
  1063. * [mk_rate] Fix a bug. It solves the correct rate.
  1064. 2006-08-18 Daigo Moriwaki <daigo at debian dot org>
  1065. * [mk_rate] Re-design.
  1066. - Correct the equations.
  1067. - Apply deaccelerated Newton method.
  1068. 2006-08-16 Daigo Moriwaki <daigo at debian dot org>
  1069. * [mk_rate]
  1070. - Fix a bug. Now it can see black/white players in a csa file.
  1071. * [shogi-server]
  1072. - Add a space in the output of %%RATING.
  1073. 2006-08-14 Daigo Moriwaki <daigo at debian dot org>
  1074. * [mk_rate] Record numbers of win/loss games.
  1075. * Add mk_html, which generates html from players.yaml
  1076. * Fix test/test_board.rb. Now it works.
  1077. * Add test/TC_ALL.rb to run all test cases.
  1078. * [shogi-server] Fix a bug. Now it can show %%RATING even if it has no
  1079. rated player.
  1080. 2006-08-11 Daigo Moriwaki <daigo at debian dot org>
  1081. * Add mk_rate, which calculate rating scores.
  1082. 2006-08-10 Daigo Moriwaki <daigo at debian dot org>
  1083. * Change the style of a comment line on the rated game.
  1084. 2006-08-07 Daigo Moriwaki <daigo at debian dot org>
  1085. * Change the player id, which is now <name>+<hash_of_the_trip>.
  1086. * Fix the max length of the login name with a trip.
  1087. * Add a comment line about the rated game status in the CSA file.
  1088. * Remove the rating system, which will be calculated by another
  1089. program.
  1090. 2006-08-01 Daigo Moriwaki <daigo at debian dot org>
  1091. * Add a command, %%RATING, to show a ranking sorted by rates.
  1092. 2006-07-31 Daigo Moriwaki <daigo at debian dot org>
  1093. * Add a simple rating system.
  1094. 2006-07-30 Daigo Moriwaki <daigo at debian dot org>
  1095. * Add a @move_counter in Board class, which is used by Shogi Viewer
  1096. CGI.
  1097. 2006-04-28 Daigo Moriwaki <daigo at debian dot org>
  1098. * Jishogi kachi declaration did not work. This bug has been fixed.
  1099. Add debug lines to show a jishogi state.
  1100. 2006-04-08 Daigo Moriwaki <daigo at debian dot org>
  1101. * Support CSA Protocol Version 1.1.
  1102. * Change the declaration of Jishogi 1.1.
  1103. 2006-03-10 Daigo Moriwaki <daigo at debian dot org>
  1104. * Kifu logs are always written in separate files.
  1105. * Add a test case, test/TC_functional.rb
  1106. * Some refactorings.
旧リポジトリブラウザで表示