OSDN Git Service

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