OSDN Git Service

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