OSDN Git Service

Added a comment for --floodgate-history
[shogi-server/shogi-server.git] / changelog
1 2008-11-24 Daigo Moriwaki <daigo at debian dot org>
2
3         * [shogi-server]
4           - Added a new option --floodgate-history, which allows users to
5             specify a file name that stores the records of games. The
6             records are taken care of when games are matched.
7
8 2008-10-18 Daigo Moriwaki <daigo at debian dot org>
9
10         * [utils/eval_graph.rb]
11           - Display time control graphs as well.
12             Thanks to Nishimura-san for this idea.
13             (Closes: #13678)
14
15 2008-10-08 Daigo Moriwaki <daigo at debian dot org>
16
17         * [shogi-server]
18           - Ruby 1.8.7 (or later) must be used. Ruby 1.8.6 is not supported.
19           - Daemon mode is available.
20           - shogi_server/piece_ky.rb is again merged with
21             shogi_server/piece.rb, then has been removed.  
22           - Added a test case, TC_usi.rb.
23
24 2008-06-30 Daigo Moriwaki <daigo at debian dot org>
25
26         * [shogi-server]
27           - Added a new option --player-log-dir, which allows users to log
28             messages that are received or sent to the wire.
29
30 2008-06-28 Daigo Moriwaki <daigo at debian dot org>
31
32         * [shogi-server]
33           - A rating comment line is now written before the first move in a
34             record file instead of after the last move, which allows other
35             applications watching a game to recognize players in the middle 
36             of the game. (Closes #12821)
37           - If a player, including a monitor, stuck at the time of sending
38             messages to the wire, which means that the giant lock was locked,
39             it might have prevented other players from processing until
40             timeout occurred. This issue has been fixed. (Closes #12555)
41
42 2008-06-27 Daigo Moriwaki <daigo at debian dot org>
43
44         * [shogi-server]
45           -  Pairing players might not have shuffled players because of
46              poor shuffling algorithm. This issue has been fixed.
47              (Closes: #12661)
48
49 2008-06-25 Daigo Moriwaki <daigo at debian dot org>
50
51         * [players_graph.rb]
52           - Check invalid arguments. (Closes: #12856)
53
54 2008-06-23 Daigo Moriwaki <daigo at debian dot org>
55
56         * [mk_rate]
57           - Added a new option: --fixed-rate and --fixed-rate-player
58             whose rate always results in that rate. (Closes: #12800)
59
60 2008-06-06 Daigo Moriwaki <daigo at debian dot org>
61
62         * [shogi-server]
63           - The source has been splited to multiple sub files.
64           - The program now depends on rubygems and activesupport.
65           - The program can reload the source files on the flight, by
66             sending a HUP signal to the server.
67           - The server log will be rotated daily.
68
69 2008-05-18 Daigo Moriwaki <daigo at debian dot org>
70
71         * [shogi-server]
72           - Last game results (win or lose) of x1 players were not
73             available on the next game. This issue has been fixed.
74             Thanks to Tomoyuki Kaneko for debugging.
75           - For draw games, "'rating" line in a .csa file was 
76             wrong (meaningless). This issue has been fixed.
77
78 2008-05-16 Daigo Moriwaki <daigo at debian dot org>
79
80         * [news]
81           - The repository has been converted from CVS to Subversion.
82
83 2008-05-13 Daigo Moriwaki <daigo at debian dot org>
84
85         * [shogi-server]
86           - Floodgate's thread could cause an error when players.yaml was
87             cleared by another program (mk_rate). This issue has been 
88             fixed.
89           - Give default values to BasicPlayer, which fixed undefined 
90             method error in Pairing.
91
92 2008-05-10 Daigo Moriwaki <daigo at debian dot org>
93
94         * [shogi-server]
95           - The server could not recognize uchifuzume as an illegal move.
96             This bug has been fixed.
97           - The server crashed by an undefined method error.
98             This issue has been fixed.
99
100 2008-05-05 Daigo Moriwaki <daigo at debian dot org>
101
102         * [shogi-server]
103           - .csa files will be located in a sub directory such as
104             "2008/05/05/*.csa". Thease days, we have many games in a day. 
105             This change will help users browse a file list.
106
107 2008-05-03 Daigo Moriwaki <daigo at debian dot org>
108
109         * [mk_html]
110           - Show players who have accessed in the last 30 minutes with 
111             different colors.
112
113 2008-04-22 Daigo Moriwaki <daigo at debian dot org>
114
115         * [mk_html]
116           - When YSS was not rated on the wdoor mode, wrong rate24 scores
117             were displayed. This issue has been fixed. Now YSS absence 
118             results in "N/A".
119
120 2008-04-21 Daigo Moriwaki <daigo at debian dot org>
121
122         * [mk_rate]
123           - The half-life period is now configurable.
124             ex $ ./mk_rate --half-life 14 --half-life-ignore 7 <records>
125
126 2008-04-12 Daigo Moriwaki <daigo at debian dot org>
127
128         * [shogi-server]
129           - Renamed variables (@id) since they caused Ruby's warning.
130
131 2008-04-11 Daigo Moriwaki <daigo at debian dot org>
132
133         * [shogi-server]
134           - Improved a way to handle diferred moves (2008-03-24's change),
135             based on Tomoyuki Kaneko's patch.
136
137 2008-04-01 Daigo Moriwaki <daigo at debian dot org>
138
139         * [shogi-server]
140           - An incorrect LOGIN crashed the server. This issue has been
141             fixed.
142
143 2008-03-24 Daigo Moriwaki <daigo at debian dot org>
144
145         * [shogi-server]
146           - Converting characters for comments in moves caused an error. This 
147             issue has been fixed.
148           - If a player moves in the opponent's turn, it is illegal. But the
149             current CSA protocol does not clearly define a way to tell so to 
150             the players. This shogi-server internally keeps such a move in a
151             buffer and replay it when the player of the move gets his/her 
152             turn.
153
154 2008-03-16 Daigo Moriwaki <daigo at debian dot org>
155
156         * [shogi-server]
157           - Erroneously, Board#to_s's current player was always Black.
158             It caused wrong determination of sennichite since it did not
159             care about the current player of a state. This has been fixed.
160             Thanks Takada-san for reporting this bug.
161
162 2008-03-10 Daigo Moriwaki <daigo at debian dot org>
163
164         * [util/players-graph.rb]
165           - Applied Kaneko-san's patch, which also shows expected-rate24
166             rates.
167           - Small PNG gets smaller.
168
169 2008-03-08 Daigo Moriwaki <daigo at debian dot org>
170
171         * [mk_html]
172         - Added an option --wdoor. In this mode, a rate expected at Shogi
173           Club 24 is calculated from YSS's rating (he is 2400 now). 
174
175 2008-03-04 Daigo Moriwaki <daigo at debian dot org>
176
177         * [mk_rate]
178           - If the computed ratings do not stabilize, then mk_rate aborts.
179               $ ./mk_rate dir && ./mk_rate dir > players.yaml 
180             can avoid rewriting the invalid ratings to the file.
181
182 2008-02-23 Daigo Moriwaki <daigo at debian dot org>
183
184         * [shogi-server]
185           - A comment is converted to EUC-JP and then written in a log.
186             Note that this conversion guesses the input encoding. Clients
187             are recommended to send EUC-JP compatible strings to the
188             server.
189
190 2008-02-21 Daigo Moriwaki <daigo at debian dot org>
191
192         * [util/players-graph.rb]
193           - Released. Draw a chart for a player's rating score.
194
195 2008-02-17 Daigo Moriwaki <daigo at debian dot org>
196
197         * [shogi-server]
198           - An illegal teban specified for Floodgate login could crash the
199             server. This issue has been fixed.
200
201 2008-02-16 Daigo Moriwaki <daigo at debian dot org>
202
203         * [shogi-server]
204           - Thread.abort_on_exception is now false, meaning that 
205             a thread's abort does not affect the others. 
206           - The uchifuzume check did not generate promoting moves, which
207             could crash the server with illegal moves. This issue has
208             been fixed.
209
210 2008-02-14 Daigo Moriwaki <daigo at debian dot org>
211
212         * [shogi-server]
213           - Added a new pairing variation, Swiss-like style. Winners at the
214             previous games (his/her point of view, not the server's) are 
215             paired first, and then the others are matched. This is the 
216             default option now.
217           - Pairing classes are located in a separate source file,
218             pairing.rb. The file is 'load'ed each time to be used,
219             meaning that modifying the code will be applied to a running
220             server.
221           - You can specify a single player who will be out of pairing
222             when there are odd players waiting for Floodgate.
223
224 2008-02-13 Daigo Moriwaki <daigo at debian dot org>
225
226         * [shogi-server]
227           - When there are odd players wating for Floodgate, the random
228             pairing deletes the player who has ever played the most games.
229
230 2008-02-08 Daigo Moriwaki <daigo at debian dot org>
231
232         * [ml_html]
233           - For the Not-Yet-Rated group, those who have not connected
234             recently are not listed.
235         * [shogi-server]
236           - Floodgate's thread checks the current time each 10 secs.
237
238 2008-02-05 Daigo Moriwaki <daigo at debian dot org>
239
240         * [mk_rate] [mk_html]
241           - Display not-yet-rated players as well.
242         * [mk_html]
243           - Use Yahoo! UI Library.
244
245 2008-02-04 Daigo Moriwaki <daigo at debian dot org>
246
247         * [shogi-server] [webserver]
248           - In the daemon mode, if the specified directory was a relative
249             path, the server could fail to start with a permission denied
250             error. This issue has been fixed. The path is interpreted as 
251             an absolute path before switching to daemon. 
252           - In the daemon mode, a wrong process id was written in 
253             '--pid-file'. This issue has been fixed. Also, the pid file
254             will be removed when the server shuts down.
255
256 2008-02-03 Daigo Moriwaki <daigo at debian dot org>
257
258         * [shogi-server]
259           - Game names that are recognized as the floodgate mode are now 
260             /^floodgate-\d+-\d+$/.
261           - Floodgate could not schedule the next time when it was the next
262             day. This issue has been fixed.
263
264 2008-02-02 Daigo Moriwaki <daigo at debian dot org>
265
266         * [shogi-server]
267           - Implemented a new feature, Floodgate mode, for covenience with
268             public rating games. Now there is a special game "wdoor-900-0".
269             Matching players for that game is scheduled each 30 minitues.
270
271 2007-11-03 Daigo Moriwaki <daigo at debian dot org>
272
273         * [mk_rate]
274          - Support Ruby 1.8.6 patch level 111 (or higher) and GSL 1.10 (or higher).
275            It may not work with lower verions. 
276
277 2007-09-06 Daigo Moriwaki <daigo at debian dot org>
278
279         * [shogi-server]
280           - The logic to detect Oute-Sennichite was not complete. Both players
281             (checking side and escaping side) may cause Oute-Sennichite. The old
282             logic only cared for the checking player. This issue has been fixed.
283
284 2007-06-16  Daigo Moriwaki <daigo at debian dot org>
285
286         * [webserver]
287           - Initial version. This web server is an interface between HTTP and
288             shogi-server. Shogi-server commands will be available over HTTP. As
289             of now %%LIST and %%WHO commands are supported.
290         * [mk_rate]
291           - Bumped up GAME_LIMIT (from 10) to 15 because the calculation of
292             rates sometimes went wrong (infinite values).
293
294 2007-04-21  Daigo Moriwaki <daigo at debian dot org>
295
296         * [shogi-server]
297           - Implemented `CHALLENGE' command, and the server will respond with
298             `CHALLENGE ACCEPTED'. Note that this command is dummy for this server
299             because it is only available for CSA's official testing server and does
300             not belong to the CSA standard protocol.  Therefor, when clients receive
301             `CHALLENGE ACCEPTED' from this server, they must ignore it.
302           - Show revision in a start up message.
303
304 2007-04-01  Daigo Moriwaki <daigo at debian dot org>
305
306         * [shogi-server]
307           - Implemented one of the keepalive protocol in CSA protocol; If clients
308             send LF, the server sends back LF.
309           - More care for socket errors.
310
311 2007-03-27  Daigo Moriwaki <daigo at debian dot org>
312
313         * [mk_rate] When there were too few games to rate players (i.e. no
314           player to rate), mk_rate caused an error. Now it no longer shows
315           the error.
316
317 2007-03-10  Daigo Moriwaki <daigo at debian dot org>
318
319         * [mk_html] Popup shows additional information.
320
321 2007-03-02  Daigo Moriwaki <daigo at debian dot org>
322
323         * [shogi-server]
324           - Use WEBrick for server framework.
325           - Daemon mode is available.
326
327 2007-02-26  Daigo Moriwaki <daigo at debian dot org>
328
329         * [shogi-server]
330           - Failed to show usage. This issue has been fixed. 
331           - Initial start of the server failed beacause of empty players.yaml.
332             This issues has been fixed.
333
334 2007-02-18  Daigo Moriwaki <daigo at debian dot org>
335
336         * [mk_html]
337           - Show groups in the order specified in players.html.
338           - Players who gamed recently have a background color.
339         * [mk_rate]
340           - Implemented half-life effect. Numbers of win/lose decrease by this effect.
341
342 2006-11-26  Daigo Moriwaki <daigo at debian dot org>
343
344         * [shogi-server] Sente (gote) was able to move gote's (sente's) hand.
345           That move should be illegal. This issue has been fixed.
346
347 2006-11-01  Daigo Moriwaki <daigo at debian dot org>
348
349         * [mk_rate] Skip "abnormal" games, which were finished because of
350           network failure or communication error.  Recently some programs seem
351           to have a lot of tries to connect to the Shogi Server at wdoor for
352           debugging. We should ignore such games for a while to get a meaningful
353           ratings.
354
355 2006-10-30  Daigo Moriwaki <daigo at debian dot org>
356
357         * [mk_rate][mk_html]
358           - Put players into "connected" groups in order to
359             show a correct, meaningful rating. In the group, each player has at
360             least a game with other players.
361           - The format of players.yaml was updated.
362         * [shogi-server] Followed the new format of players.yaml.
363
364 2006-10-08  Daigo Moriwaki <daigo at debian dot org>
365
366         * [mk_rate] Corrected making win_loss_matrix.
367
368 2006-10-02  Daigo Moriwaki <daigo at debian dot org>
369
370         * [mk_rate] players who never win or lose are not rated in order
371           the calculation to complete.
372
373 2006-09-30  Daigo Moriwaki <daigo at debian dot org>
374
375         * [shogi-server] The CSA mode supports the trip in a password.
376
377 2006-09-22  Daigo Moriwaki <daigo at debian dot org>
378
379         * [shogi-server] Refactored the login procedures.
380
381 2006-09-21  Daigo Moriwaki <daigo at debian dot org>
382
383         * [mk_rate] It failed parse draw games. Now this bug has been fixed.
384         * [mk_html] Add CSS to look better.
385
386 2006-09-15  Daigo Moriwaki <daigo at debian dot org>
387
388         * [shogi-server]
389           - Remove the trip in a password. Now the password is hashed.
390         * [mk_rate]
391           - Support @NORATE syntax in a name, which avoids the player is
392             rated.
393
394 2006-09-09  Daigo Moriwaki <daigo at debian dot org>
395
396         * [shogi-server]
397           - Support a new command, %%VERSION. It shows the server's revision#.
398
399 2006-09-07  Daigo Moriwaki <daigo at debian dot org>
400
401         * [shogi-server]
402           - Re-design: trip is now a suffix of the password, not name.
403           - Simplified the output of %%RATING.
404         * [mk_rate]
405           - Support "@" indentificaton in a name; players with same
406             before-@-names are mapped to one.
407
408 2006-09-05  Daigo Moriwaki <daigo at debian dot org>
409
410         * [mk_rate] Fix a bug. It solves the correct rate.
411
412 2006-08-18  Daigo Moriwaki <daigo at debian dot org>
413
414         * [mk_rate] Re-design. 
415           - Correct the equations.
416           - Apply deaccelerated Newton method.
417
418 2006-08-16  Daigo Moriwaki <daigo at debian dot org>
419
420         * [mk_rate]
421           - Fix a bug. Now it can see black/white players in a csa file.
422         * [shogi-server]
423           - Add a space in the output of %%RATING.
424
425 2006-08-14  Daigo Moriwaki <daigo at debian dot org>
426
427         * [mk_rate] Record numbers of win/loss games.
428         * Add mk_html, which generates html from players.yaml
429         * Fix test/test_board.rb. Now it works. 
430         * Add test/TC_ALL.rb to run all test cases.
431         * [shogi-server] Fix a bug. Now it can show %%RATING even if it has no
432           rated player.
433
434 2006-08-11  Daigo Moriwaki <daigo at debian dot org>
435         
436         * Add mk_rate, which calculate rating scores.
437
438 2006-08-10  Daigo Moriwaki <daigo at debian dot org>
439
440         * Change the style of a comment line on the rated game.
441
442 2006-08-07  Daigo Moriwaki <daigo at debian dot org>
443
444         * Change the player id, which is now <name>+<hash_of_the_trip>.
445         * Fix the max length of the login name with a trip.
446         * Add a comment line about the rated game status in the CSA file.
447         * Remove the rating system, which will be calculated by another
448           program.
449
450 2006-08-01  Daigo Moriwaki <daigo at debian dot org>
451
452         * Add a command, %%RATING, to show a ranking sorted by rates.
453
454 2006-07-31  Daigo Moriwaki <daigo at debian dot org>
455
456         * Add a simple rating system.
457
458 2006-07-30  Daigo Moriwaki <daigo at debian dot org>
459
460         * Add a @move_counter in Board class, which is used by Shogi Viewer
461           CGI.
462
463 2006-04-28  Daigo Moriwaki <daigo at debian dot org>
464
465         * Jishogi kachi declaration did not work. This bug has been fixed.
466           Add debug lines to show a jishogi state.
467
468 2006-04-08  Daigo Moriwaki <daigo at debian dot org>
469
470         * Support CSA Protocol Version 1.1.
471         * Change the declaration of Jishogi 1.1.
472
473 2006-03-10  Daigo Moriwaki <daigo at debian dot org>
474
475         * Kifu logs are always written in separate files.
476         * Add a test case, test/TC_functional.rb
477         * Some refactorings.
478