OSDN Git Service

6bc7d5e929c60cc5050853d943e367b7fbf74bb9
[shogi-server/shogi-server.git] / changelog
1 2010-07-23  Daigo Moriwaki <daigo at debian dot org>
2
3         * [shogi-server]
4           - shogi_server/league/floodgate_thread.rb: When the server run
5             with DEBUG mode, it ended up with an undefined variable error. 
6             This issue has been fixed.
7
8 2010-07-17  Daigo Moriwaki <daigo at debian dot org>
9
10         * [shogi-server]
11           - shogi_server.rb, shogi_server/board.rb, shogi_server/move.rb
12             - Refactoring: Board can now move_to() and move_back() a move
13               instread of deep_copy().
14
15 2010-07-11  Daigo Moriwaki <daigo at debian dot org>
16
17         * [shogi-server]
18           - shogi_server/player.rb: Set initial values to BasicPlayer's
19             instance variables.
20           - shogi_server/league.rb: Improved performance of
21             Persistant#get_players. It took about 20 seconds for a large
22             size of players (5,300 lines in players.yaml). Now it completes in an
23             instance.
24
25 2010-06-22  Daigo Moriwaki <daigo at debian dot org>
26
27         * [shogi-server]
28           - A new command line option: 
29               --floodgate-names GameStringA[,GameStringB[,...]]
30             where a game string should be a valid game name such as
31             floodgate-900-0.  
32             .
33             Note: Without this option, no floodgate games are started. If
34             you want floodgate-900-0 to run, which was default enabled in
35             previous versions, you need to spefify the game name in this new
36             option.
37           - Floodgate time configuration file:
38             You need to set starting times of floodgate groups in
39             configuration files under the top directory. Each floodgat
40             e group requires a correspoding configuration file named
41             "<game_name>.conf". The file will be re-read once just after a
42             game starts. 
43             .
44             For example, a floodgate-3600-30 game group requires
45             floodgate-3600-30.conf.  However, for floodgate-900-0 and
46             floodgate-3600-0, which were default enabled in previous
47             versions, configuration files are optional if you are happy with
48             defualt time settings.
49             File format is:
50               Line format: 
51                 # This is a comment line
52                 DoW Time
53                 ...
54               where
55                 DoW := "Sun" | "Mon" | "Tue" | "Wed" | "Thu" | "Fri" | "Sat" |
56                        "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" |
57                        "Friday" | "Saturday" 
58                 Time := HH:MM
59              
60               For example,
61                 Sat 13:00
62                 Sat 22:00
63                 Sun 13:00
64
65 2010-06-01  Daigo Moriwaki <daigo at debian dot org>
66
67         * [shogi-server]
68           - shogi_server/command.rb: Fixed an issue that MONITOR2OFF did not
69             work. Thanks to HIDECHI and koudayu.
70
71 2010-05-10  Daigo Moriwaki <daigo at debian dot org>
72
73         * [shogi-server]
74           - test/*.rb: Improved performance and stability of tests
75           - shogi_server/player.rb: Help the write_thread to terminate
76
77 2010-05-06  Daigo Moriwaki <daigo at debian dot org>
78
79         * [mk_rate]
80           - Previously mk_rate did not count in draw games. Now a draw game
81             is considered to weight 0.5 win and 0.5 loss. Respect
82             Inaniwa-shogi which strategically aims to draw.
83           - a new command line option, --skip-draw-games. In this mode, draw
84             games are just ignored as mk_rate previously did.
85
86 2010-04-25  Daigo Moriwaki <daigo at debian dot org>
87
88         * [shogi-server]
89           - shogi_server/player.rb:
90             Log a warning message in a case that a player closes a
91             connection suddenly.
92
93 2010-04-13  Daigo Moriwaki <daigo at debian dot org>
94
95         * [shogi-server]
96           - shogi_server/command.rb:
97             Equality of MonitorHandler class was wrong. %%MONITOROFF and
98             %%MONITOR2OFF may cause unexpected behavior. This issue has been
99             fixed. Thanks to Kota Fujiwara for reporting.
100
101 2010-03-07  Daigo Moriwaki <daigo at debian dot org>
102
103         * [shogi-server]
104           - If two sequential moves from a player are identical, the last
105             one will be ignored and a game is in play. This situation might
106             happen with human players, especially on slow network,
107             impatiently sending a move twice. 
108
109 2010-02-27  Daigo Moriwaki <daigo at debian dot org>
110
111         * [shogi-server]
112           - The server now provides more accurate time control. Previouslly,
113             a player's thinking time included a time waiting to get the giant
114             lock. This may have caused games to time up, especially, during
115             byo-yomi etc.
116
117 2010-01-22  Daigo Moriwaki <daigo at debian dot org>
118
119         * [shogi-server]
120           - Experimental feature: support handicapped games.
121             Game names that have the following prefixes are recognized as
122             handicapped games. Turn symbols "+" and "-" mean Uwate (expert)
123             and Shitate (beginner) respectively (i.e. Uwate players first).
124             "*" is not available. 
125             - hclance_
126             - hcbishop_
127             - hcrook_
128             - hcrooklance_
129             - hc2p_
130             - hc4p_
131             - hc6p_
132             - hc10p_
133
134 2010-01-16  Daigo Moriwaki <daigo at debian dot org>
135
136         * [shogi-server]
137           - shogi_server/command.rb, test/TC_command.rb
138             Proposal implementation of a new command called MONITOR2{ON,OFF}.
139             When the MONITOR2ON command is issued by a player, the server
140             immediately sends the player the entire contents of a record
141             file of the game, i.e. history of moves and so on, at that time.
142             Then, the server will forward subsequent moves like they are
143             appended to the record file.
144           - Behavior changed: A player monitoring a game with MONITORON will
145             not receive Game#show again when a gaming player resigns (:toryo).
146
147 2010-01-10  Daigo Moriwaki <daigo at debian dot org>
148
149         * Converted the repository from Subversion to Git.
150
151 2009-12-26 Daigo Moriwaki <daigo at debian dot org> 
152
153         * [shogi-server]
154           - The server can now provide multiple floodgate modes such as
155             floodgate-900-0 and floodgate-3600-0.
156
157 2009-12-25 Daigo Moriwaki <daigo at debian dot org>
158
159         * [shogi-server]
160           - shogi-server: The command line option --floodgate-history has
161             been deprectated. The server will decide history file names such
162             as 'floodgate_history_900_0.yaml' and
163             'floodgate_history_3600_0.yaml', and then put them in the top
164             directory.
165
166 2009-12-20 Daigo Moriwaki <daigo at debian dot org>
167
168         * [shogi-server]
169           - shogi_server/player.rb: Added new methods: is_human? and
170             is_computer?. 
171             A human player is recommened to use a name ending with '_human'.  
172             ex. 'hoge_human', 'hoge_human@p1'
173           - shogi_server/pairing.rb: Added a new class:
174             StartGameWithoutHumans, which tries to make pairs trying to
175             avoid a human-human match. This is now enabled instread of the
176             previous class: StartGame.
177           - shogi-server, shogi_server/league/floodgate.rb:
178             Changed the argument of Floodgate.new.
179
180 2009-12-04 Daigo Moriwaki <daigo at debian dot org>
181
182         * [shogi-server]
183           - The HUP signal is not supported by Ruby on Windows.
184
185 2009-11-11 Daigo Moriwaki <daigo at debian dot org>
186
187         * [mk_rate]
188           - Added a new command line option: --base-date. You can specify a
189             base date to calculate rating scores. Games in the `future' are
190             ignored for the calculation.
191
192 2009-11-10 Daigo Moriwaki <daigo at debian dot org>
193
194         * [shogi-server]
195           - The server logs a result of each game to a file named '00LIST',
196             which will be used to generate players.yaml. If the file does
197             not exist, the server will create one automatically.
198             Instruction to use the game result list file:
199             1. Make a list of game results from exisiting CSA files with
200                mk_game_results
201                % ./mk_game_results dir_of_csa_files > 00LIST
202             2. Run the server. It appends a result of each game to
203                '00LIST' when the game finishes.
204             3. From the list of game results, calculate rating scores of
205                players.
206                % ./mk_rate 00LIST > players.yaml
207
208 2009-11-08 Daigo Moriwaki <daigo at debian dot org>
209
210         * [mk_rate]
211           - Split a pre-process collecting game results from csa files into
212             a new command, mk_game_results. Now, Generating players.yaml
213             requires two steps as follows:
214               % ./mk_game_results dir_of_csa_files > 00LIST
215               % ./mk_rate 00LIST > players.yaml
216               or
217               % ./mk_game_results dir_of_csa_files | ./mk_rate > players.yaml 
218             (Closes: #19454)
219
220 2009-08-06 Daigo Moriwaki <daigo at debian dot org>
221
222         * [shogi-server]
223           - A experimental new feature, codenamed Buoy: it allows players to
224             play a game starting with a specified position. First, a player
225             sets a buoy game with moves to a specific position. Then, two
226             players can play a new game with the game name.
227             New commands:
228             + %%SETBUOY <game_name> <moves> [count]
229               Set a new buoy game.
230               ex. %%SETBUOYGAME buoy_foo-900-0 +7776FU 10
231               ex. %%SETBUOYGAME buoy_foo-1500-0 +7776FU-3334FU
232               - game_name is a valid game name with a prefix "buoy_".
233               ex. buoy_foo-900-0
234               - moves are initial moves from the Hirate position to a
235               spcific position that you want to start with.
236               ex. +7776FU-3334FU+8786FU
237               - count is an optional attribute to tell how many times the
238               game can be played (default 1). The count is decremented
239               when the game finishes. If the count reaches zero, the buoy
240               game is removed automatically by the server.
241               ex. 10
242             + %%DELETEBUOY <game_name>
243               Delete a buoy game. The only owner who set up the game is
244               allowed to delete it.
245               ex. %%DELETEBUOY buoy_foo-900-0
246               - game_name is the buoy game name that was created.
247             + %%GETBUOYCOUNT <game_name>
248               Show a current count of the buoy game or -1 for non-existing
249               games.
250
251
252 2009-07-11 Daigo Moriwaki <daigo at debian dot org>
253
254         * [shogi-server]
255           - shogi_server/command.rb: refactored commands out of player.rb.
256
257 2009-06-18 Daigo Moriwaki <daigo at debian dot org>
258
259         * [shogi-server]
260           - An emtpy floodgate_history.yaml caused a server error. This
261             issue has been fixed. 
262             (Closes: #15124)
263
264 2009-06-17 Daigo Moriwaki <daigo at debian dot org>
265
266         * [shogi-server]
267           - If a new game matched between two players is not started within
268             a certain time (default 120 seconds) (i.e. the agree_waiting or
269             start_waiting state lasts too long), the Server REJECTs the game.
270             (Closes: #14425)
271
272 2009-06-15 Daigo Moriwaki <daigo at debian dot org>
273
274         * [shogi-server]
275           - When a Gote player AGREEd a new game and then a Sente player
276             logged out (LOGOUT), the Gote incorrectly received a LOGOUT message 
277             from the server. Since Gote's state was not AGREEd or STARTed yet,
278             the Gote should be REJECTed. This issue has been fixed. 
279             (Closes: #17335)
280
281 2009-06-14 Daigo Moriwaki <daigo at debian dot org>
282
283         * [shogi-server]
284           - The Board could not recognize a certain pattern of
285             Oute-Sennichite. This issue has been fixed.
286             (Closes: #13966)
287
288 2009-03-22 Daigo Moriwaki <daigo at debian dot org>
289
290         * [utils/correct-bug14635.rb]
291           - Added a new file. This program corrects illegal lines introduced
292             by the #14635 bug.
293
294 2009-03-07 Daigo Moriwaki <daigo at debian dot org>
295
296         * [csa-file-filter]
297           - Improved performance.
298
299 2009-02-15 Daigo Moriwaki <daigo at debian dot org>
300
301         * [shogi-server]
302           - A duplicated comment that is the one of the previous (or older)
303             move might be erroneously recorded in a csa file. This issue has 
304             been fixed. (Closes: #15080)
305
306 2009-02-11 Daigo Moriwaki <daigo at debian dot org>
307
308         * [utils/csa-filter.rb]
309           - Added a new file. This program filters CSA files.
310
311 2009-02-01 Daigo Moriwaki <daigo at debian dot org>
312
313         * [shogi-server]
314           - The shogi-server records csa files of games in an illegal
315             format. This issue has been fixed. (Closes: #14635)
316           - A ##[MONITOR] command for showing a game result such as %TORYO
317             was not correct. This issue has been fixed.  
318
319 2009-01-13 Daigo Moriwaki <daigo at debian dot org>
320
321         * [shogi-server]
322           - It failed to proccess a game result, OuteKaihiMoreWin where a
323             checked king does not escape. This issue has been fixed.
324
325 2009-01-02 Daigo Moriwaki <daigo at debian dot org>
326
327         * [shogi-server]
328           - shogi_server/timeout_queue.rb: the timeout parameter of the
329             constructor was not respected erroneously. This issue
330             has been fixed.
331           - shogi_server/players.rb: When a player was finishing with its
332             write socket broken, there was a chance that the thread of the
333             player in the giant lock had to wait for a long time (about 20
334             seconds), which might cause threads of other players stop and 
335             time out. (Closes: #14469)
336
337 2008-12-30 Daigo Moriwaki <daigo at debian dot org>
338
339         * [mk_html]
340           - Added a new option: --footer filename, which inserts contents of 
341             the filename at the bottom of a genrated page. A text specific to 
342             wdoor should be written by using this option. 
343             (Closes: #14470)
344           - It does no more depend on RDoc. RDoc::usage does not work well
345             (due to RDoc).
346
347 2008-12-28 Daigo Moriwaki <daigo at debian dot org>
348
349         * [mk_rate]
350           - Check kifu files more carefully so that files that contain
351             incomplete records are skipped.
352           - mk_rate might have failed to alloc due to out of memory. Now it
353             consumes less memory (about 200MB instead of 2GB).
354           - File names can be put into STDIN instead of specifying directory
355             names in command line arguments.
356         * [csa-file-filter]
357           - New file. It filters kifu files and is of use for a pre-filter
358             of mk_rate.
359
360 2008-12-13 Daigo Moriwaki <daigo at debian dot org>
361
362         * [shogi-server]
363           - Improved an existance check and etc. of directories specified
364             by command line options, expecially in case of the daemon mode. 
365             (Closes: #14244)
366           - A lotated log file is moved to $topdir/YYYY/MM/DD.
367             (Closes: #14245)
368
369 2008-11-27 Daigo Moriwaki <daigo at debian dot org>
370
371         * [shogi-server]
372           - Added sample/*.sh for command line samples.
373
374 2008-11-24 Daigo Moriwaki <daigo at debian dot org>
375
376         * [shogi-server]
377           - Added a new option --floodgate-history, which allows users to
378             specify a file name that stores the records of games. The
379             records are taken care of when games are matched.
380
381 2008-10-18 Daigo Moriwaki <daigo at debian dot org>
382
383         * [utils/eval_graph.rb]
384           - Display time control graphs as well.
385             Thanks to Nishimura-san for this idea.
386             (Closes: #13678)
387
388 2008-10-08 Daigo Moriwaki <daigo at debian dot org>
389
390         * [shogi-server]
391           - Ruby 1.8.7 (or later) must be used. Ruby 1.8.6 is not supported.
392           - Daemon mode is available.
393           - shogi_server/piece_ky.rb is again merged with
394             shogi_server/piece.rb, then has been removed.  
395           - Added a test case, TC_usi.rb.
396
397 2008-06-30 Daigo Moriwaki <daigo at debian dot org>
398
399         * [shogi-server]
400           - Added a new option --player-log-dir, which allows users to log
401             messages that are received or sent to the wire.
402
403 2008-06-28 Daigo Moriwaki <daigo at debian dot org>
404
405         * [shogi-server]
406           - A rating comment line is now written before the first move in a
407             record file instead of after the last move, which allows other
408             applications watching a game to recognize players in the middle 
409             of the game. (Closes #12821)
410           - If a player, including a monitor, stuck at the time of sending
411             messages to the wire, which means that the giant lock was locked,
412             it might have prevented other players from processing until
413             timeout occurred. This issue has been fixed. (Closes #12555)
414
415 2008-06-27 Daigo Moriwaki <daigo at debian dot org>
416
417         * [shogi-server]
418           -  Pairing players might not have shuffled players because of
419              poor shuffling algorithm. This issue has been fixed.
420              (Closes: #12661)
421
422 2008-06-25 Daigo Moriwaki <daigo at debian dot org>
423
424         * [players_graph.rb]
425           - Check invalid arguments. (Closes: #12856)
426
427 2008-06-23 Daigo Moriwaki <daigo at debian dot org>
428
429         * [mk_rate]
430           - Added a new option: --fixed-rate and --fixed-rate-player
431             whose rate always results in that rate. (Closes: #12800)
432
433 2008-06-06 Daigo Moriwaki <daigo at debian dot org>
434
435         * [shogi-server]
436           - The source has been splited to multiple sub files.
437           - The program now depends on rubygems and activesupport.
438           - The program can reload the source files on the flight, by
439             sending a HUP signal to the server.
440           - The server log will be rotated daily.
441
442 2008-05-18 Daigo Moriwaki <daigo at debian dot org>
443
444         * [shogi-server]
445           - Last game results (win or lose) of x1 players were not
446             available on the next game. This issue has been fixed.
447             Thanks to Tomoyuki Kaneko for debugging.
448           - For draw games, "'rating" line in a .csa file was 
449             wrong (meaningless). This issue has been fixed.
450
451 2008-05-16 Daigo Moriwaki <daigo at debian dot org>
452
453         * [news]
454           - The repository has been converted from CVS to Subversion.
455
456 2008-05-13 Daigo Moriwaki <daigo at debian dot org>
457
458         * [shogi-server]
459           - Floodgate's thread could cause an error when players.yaml was
460             cleared by another program (mk_rate). This issue has been 
461             fixed.
462           - Give default values to BasicPlayer, which fixed undefined 
463             method error in Pairing.
464
465 2008-05-10 Daigo Moriwaki <daigo at debian dot org>
466
467         * [shogi-server]
468           - The server could not recognize uchifuzume as an illegal move.
469             This bug has been fixed.
470           - The server crashed by an undefined method error.
471             This issue has been fixed.
472
473 2008-05-05 Daigo Moriwaki <daigo at debian dot org>
474
475         * [shogi-server]
476           - .csa files will be located in a sub directory such as
477             "2008/05/05/*.csa". Thease days, we have many games in a day. 
478             This change will help users browse a file list.
479
480 2008-05-03 Daigo Moriwaki <daigo at debian dot org>
481
482         * [mk_html]
483           - Show players who have accessed in the last 30 minutes with 
484             different colors.
485
486 2008-04-22 Daigo Moriwaki <daigo at debian dot org>
487
488         * [mk_html]
489           - When YSS was not rated on the wdoor mode, wrong rate24 scores
490             were displayed. This issue has been fixed. Now YSS absence 
491             results in "N/A".
492
493 2008-04-21 Daigo Moriwaki <daigo at debian dot org>
494
495         * [mk_rate]
496           - The half-life period is now configurable.
497             ex $ ./mk_rate --half-life 14 --half-life-ignore 7 <records>
498
499 2008-04-12 Daigo Moriwaki <daigo at debian dot org>
500
501         * [shogi-server]
502           - Renamed variables (@id) since they caused Ruby's warning.
503
504 2008-04-11 Daigo Moriwaki <daigo at debian dot org>
505
506         * [shogi-server]
507           - Improved a way to handle diferred moves (2008-03-24's change),
508             based on Tomoyuki Kaneko's patch.
509
510 2008-04-01 Daigo Moriwaki <daigo at debian dot org>
511
512         * [shogi-server]
513           - An incorrect LOGIN crashed the server. This issue has been
514             fixed.
515
516 2008-03-24 Daigo Moriwaki <daigo at debian dot org>
517
518         * [shogi-server]
519           - Converting characters for comments in moves caused an error. This 
520             issue has been fixed.
521           - If a player moves in the opponent's turn, it is illegal. But the
522             current CSA protocol does not clearly define a way to tell so to 
523             the players. This shogi-server internally keeps such a move in a
524             buffer and replay it when the player of the move gets his/her 
525             turn.
526
527 2008-03-16 Daigo Moriwaki <daigo at debian dot org>
528
529         * [shogi-server]
530           - Erroneously, Board#to_s's current player was always Black.
531             It caused wrong determination of sennichite since it did not
532             care about the current player of a state. This has been fixed.
533             Thanks Takada-san for reporting this bug.
534
535 2008-03-10 Daigo Moriwaki <daigo at debian dot org>
536
537         * [util/players-graph.rb]
538           - Applied Kaneko-san's patch, which also shows expected-rate24
539             rates.
540           - Small PNG gets smaller.
541
542 2008-03-08 Daigo Moriwaki <daigo at debian dot org>
543
544         * [mk_html]
545         - Added an option --wdoor. In this mode, a rate expected at Shogi
546           Club 24 is calculated from YSS's rating (he is 2400 now). 
547
548 2008-03-04 Daigo Moriwaki <daigo at debian dot org>
549
550         * [mk_rate]
551           - If the computed ratings do not stabilize, then mk_rate aborts.
552               $ ./mk_rate dir && ./mk_rate dir > players.yaml 
553             can avoid rewriting the invalid ratings to the file.
554
555 2008-02-23 Daigo Moriwaki <daigo at debian dot org>
556
557         * [shogi-server]
558           - A comment is converted to EUC-JP and then written in a log.
559             Note that this conversion guesses the input encoding. Clients
560             are recommended to send EUC-JP compatible strings to the
561             server.
562
563 2008-02-21 Daigo Moriwaki <daigo at debian dot org>
564
565         * [util/players-graph.rb]
566           - Released. Draw a chart for a player's rating score.
567
568 2008-02-17 Daigo Moriwaki <daigo at debian dot org>
569
570         * [shogi-server]
571           - An illegal teban specified for Floodgate login could crash the
572             server. This issue has been fixed.
573
574 2008-02-16 Daigo Moriwaki <daigo at debian dot org>
575
576         * [shogi-server]
577           - Thread.abort_on_exception is now false, meaning that 
578             a thread's abort does not affect the others. 
579           - The uchifuzume check did not generate promoting moves, which
580             could crash the server with illegal moves. This issue has
581             been fixed.
582
583 2008-02-14 Daigo Moriwaki <daigo at debian dot org>
584
585         * [shogi-server]
586           - Added a new pairing variation, Swiss-like style. Winners at the
587             previous games (his/her point of view, not the server's) are 
588             paired first, and then the others are matched. This is the 
589             default option now.
590           - Pairing classes are located in a separate source file,
591             pairing.rb. The file is 'load'ed each time to be used,
592             meaning that modifying the code will be applied to a running
593             server.
594           - You can specify a single player who will be out of pairing
595             when there are odd players waiting for Floodgate.
596
597 2008-02-13 Daigo Moriwaki <daigo at debian dot org>
598
599         * [shogi-server]
600           - When there are odd players wating for Floodgate, the random
601             pairing deletes the player who has ever played the most games.
602
603 2008-02-08 Daigo Moriwaki <daigo at debian dot org>
604
605         * [ml_html]
606           - For the Not-Yet-Rated group, those who have not connected
607             recently are not listed.
608         * [shogi-server]
609           - Floodgate's thread checks the current time each 10 secs.
610
611 2008-02-05 Daigo Moriwaki <daigo at debian dot org>
612
613         * [mk_rate] [mk_html]
614           - Display not-yet-rated players as well.
615         * [mk_html]
616           - Use Yahoo! UI Library.
617
618 2008-02-04 Daigo Moriwaki <daigo at debian dot org>
619
620         * [shogi-server] [webserver]
621           - In the daemon mode, if the specified directory was a relative
622             path, the server could fail to start with a permission denied
623             error. This issue has been fixed. The path is interpreted as 
624             an absolute path before switching to daemon. 
625           - In the daemon mode, a wrong process id was written in 
626             '--pid-file'. This issue has been fixed. Also, the pid file
627             will be removed when the server shuts down.
628
629 2008-02-03 Daigo Moriwaki <daigo at debian dot org>
630
631         * [shogi-server]
632           - Game names that are recognized as the floodgate mode are now 
633             /^floodgate-\d+-\d+$/.
634           - Floodgate could not schedule the next time when it was the next
635             day. This issue has been fixed.
636
637 2008-02-02 Daigo Moriwaki <daigo at debian dot org>
638
639         * [shogi-server]
640           - Implemented a new feature, Floodgate mode, for covenience with
641             public rating games. Now there is a special game "wdoor-900-0".
642             Matching players for that game is scheduled each 30 minitues.
643
644 2007-11-03 Daigo Moriwaki <daigo at debian dot org>
645
646         * [mk_rate]
647          - Support Ruby 1.8.6 patch level 111 (or higher) and GSL 1.10 (or higher).
648            It may not work with lower verions. 
649
650 2007-09-06 Daigo Moriwaki <daigo at debian dot org>
651
652         * [shogi-server]
653           - The logic to detect Oute-Sennichite was not complete. Both players
654             (checking side and escaping side) may cause Oute-Sennichite. The old
655             logic only cared for the checking player. This issue has been fixed.
656
657 2007-06-16  Daigo Moriwaki <daigo at debian dot org>
658
659         * [webserver]
660           - Initial version. This web server is an interface between HTTP and
661             shogi-server. Shogi-server commands will be available over HTTP. As
662             of now %%LIST and %%WHO commands are supported.
663         * [mk_rate]
664           - Bumped up GAME_LIMIT (from 10) to 15 because the calculation of
665             rates sometimes went wrong (infinite values).
666
667 2007-04-21  Daigo Moriwaki <daigo at debian dot org>
668
669         * [shogi-server]
670           - Implemented `CHALLENGE' command, and the server will respond with
671             `CHALLENGE ACCEPTED'. Note that this command is dummy for this server
672             because it is only available for CSA's official testing server and does
673             not belong to the CSA standard protocol.  Therefor, when clients receive
674             `CHALLENGE ACCEPTED' from this server, they must ignore it.
675           - Show revision in a start up message.
676
677 2007-04-01  Daigo Moriwaki <daigo at debian dot org>
678
679         * [shogi-server]
680           - Implemented one of the keepalive protocol in CSA protocol; If clients
681             send LF, the server sends back LF.
682           - More care for socket errors.
683
684 2007-03-27  Daigo Moriwaki <daigo at debian dot org>
685
686         * [mk_rate] When there were too few games to rate players (i.e. no
687           player to rate), mk_rate caused an error. Now it no longer shows
688           the error.
689
690 2007-03-10  Daigo Moriwaki <daigo at debian dot org>
691
692         * [mk_html] Popup shows additional information.
693
694 2007-03-02  Daigo Moriwaki <daigo at debian dot org>
695
696         * [shogi-server]
697           - Use WEBrick for server framework.
698           - Daemon mode is available.
699
700 2007-02-26  Daigo Moriwaki <daigo at debian dot org>
701
702         * [shogi-server]
703           - Failed to show usage. This issue has been fixed. 
704           - Initial start of the server failed beacause of empty players.yaml.
705             This issues has been fixed.
706
707 2007-02-18  Daigo Moriwaki <daigo at debian dot org>
708
709         * [mk_html]
710           - Show groups in the order specified in players.html.
711           - Players who gamed recently have a background color.
712         * [mk_rate]
713           - Implemented half-life effect. Numbers of win/lose decrease by this effect.
714
715 2006-11-26  Daigo Moriwaki <daigo at debian dot org>
716
717         * [shogi-server] Sente (gote) was able to move gote's (sente's) hand.
718           That move should be illegal. This issue has been fixed.
719
720 2006-11-01  Daigo Moriwaki <daigo at debian dot org>
721
722         * [mk_rate] Skip "abnormal" games, which were finished because of
723           network failure or communication error.  Recently some programs seem
724           to have a lot of tries to connect to the Shogi Server at wdoor for
725           debugging. We should ignore such games for a while to get a meaningful
726           ratings.
727
728 2006-10-30  Daigo Moriwaki <daigo at debian dot org>
729
730         * [mk_rate][mk_html]
731           - Put players into "connected" groups in order to
732             show a correct, meaningful rating. In the group, each player has at
733             least a game with other players.
734           - The format of players.yaml was updated.
735         * [shogi-server] Followed the new format of players.yaml.
736
737 2006-10-08  Daigo Moriwaki <daigo at debian dot org>
738
739         * [mk_rate] Corrected making win_loss_matrix.
740
741 2006-10-02  Daigo Moriwaki <daigo at debian dot org>
742
743         * [mk_rate] players who never win or lose are not rated in order
744           the calculation to complete.
745
746 2006-09-30  Daigo Moriwaki <daigo at debian dot org>
747
748         * [shogi-server] The CSA mode supports the trip in a password.
749
750 2006-09-22  Daigo Moriwaki <daigo at debian dot org>
751
752         * [shogi-server] Refactored the login procedures.
753
754 2006-09-21  Daigo Moriwaki <daigo at debian dot org>
755
756         * [mk_rate] It failed parse draw games. Now this bug has been fixed.
757         * [mk_html] Add CSS to look better.
758
759 2006-09-15  Daigo Moriwaki <daigo at debian dot org>
760
761         * [shogi-server]
762           - Remove the trip in a password. Now the password is hashed.
763         * [mk_rate]
764           - Support @NORATE syntax in a name, which avoids the player is
765             rated.
766
767 2006-09-09  Daigo Moriwaki <daigo at debian dot org>
768
769         * [shogi-server]
770           - Support a new command, %%VERSION. It shows the server's revision#.
771
772 2006-09-07  Daigo Moriwaki <daigo at debian dot org>
773
774         * [shogi-server]
775           - Re-design: trip is now a suffix of the password, not name.
776           - Simplified the output of %%RATING.
777         * [mk_rate]
778           - Support "@" indentificaton in a name; players with same
779             before-@-names are mapped to one.
780
781 2006-09-05  Daigo Moriwaki <daigo at debian dot org>
782
783         * [mk_rate] Fix a bug. It solves the correct rate.
784
785 2006-08-18  Daigo Moriwaki <daigo at debian dot org>
786
787         * [mk_rate] Re-design. 
788           - Correct the equations.
789           - Apply deaccelerated Newton method.
790
791 2006-08-16  Daigo Moriwaki <daigo at debian dot org>
792
793         * [mk_rate]
794           - Fix a bug. Now it can see black/white players in a csa file.
795         * [shogi-server]
796           - Add a space in the output of %%RATING.
797
798 2006-08-14  Daigo Moriwaki <daigo at debian dot org>
799
800         * [mk_rate] Record numbers of win/loss games.
801         * Add mk_html, which generates html from players.yaml
802         * Fix test/test_board.rb. Now it works. 
803         * Add test/TC_ALL.rb to run all test cases.
804         * [shogi-server] Fix a bug. Now it can show %%RATING even if it has no
805           rated player.
806
807 2006-08-11  Daigo Moriwaki <daigo at debian dot org>
808         
809         * Add mk_rate, which calculate rating scores.
810
811 2006-08-10  Daigo Moriwaki <daigo at debian dot org>
812
813         * Change the style of a comment line on the rated game.
814
815 2006-08-07  Daigo Moriwaki <daigo at debian dot org>
816
817         * Change the player id, which is now <name>+<hash_of_the_trip>.
818         * Fix the max length of the login name with a trip.
819         * Add a comment line about the rated game status in the CSA file.
820         * Remove the rating system, which will be calculated by another
821           program.
822
823 2006-08-01  Daigo Moriwaki <daigo at debian dot org>
824
825         * Add a command, %%RATING, to show a ranking sorted by rates.
826
827 2006-07-31  Daigo Moriwaki <daigo at debian dot org>
828
829         * Add a simple rating system.
830
831 2006-07-30  Daigo Moriwaki <daigo at debian dot org>
832
833         * Add a @move_counter in Board class, which is used by Shogi Viewer
834           CGI.
835
836 2006-04-28  Daigo Moriwaki <daigo at debian dot org>
837
838         * Jishogi kachi declaration did not work. This bug has been fixed.
839           Add debug lines to show a jishogi state.
840
841 2006-04-08  Daigo Moriwaki <daigo at debian dot org>
842
843         * Support CSA Protocol Version 1.1.
844         * Change the declaration of Jishogi 1.1.
845
846 2006-03-10  Daigo Moriwaki <daigo at debian dot org>
847
848         * Kifu logs are always written in separate files.
849         * Add a test case, test/TC_functional.rb
850         * Some refactorings.
851