OSDN Git Service

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