OSDN Git Service

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