OSDN Git Service

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