OSDN Git Service

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