OSDN Git Service

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