OSDN Git Service

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