OSDN Git Service

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