OSDN Git Service

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