OSDN Git Service

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