OSDN Git Service

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