OSDN Git Service

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