OSDN Git Service

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