OSDN Git Service

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