OSDN Git Service

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