OSDN Git Service

shogi-server/shogi-server.git
5 years agoFixed issues on usiToCsa.rb. 201312-usiToCsa
Daigo Moriwaki [Tue, 17 Dec 2013 13:46:22 +0000 (22:46 +0900)]
Fixed issues on usiToCsa.rb.

- Corrected type of TORYO
- Corrected keep alive packet

5 years ago* [usiToCsa] - Added a new program, which is a bridge for a USI engine to connect...
Daigo Moriwaki [Sat, 14 Dec 2013 12:31:08 +0000 (21:31 +0900)]
* [usiToCsa] - Added a new program, which is a bridge for a USI engine to connect to the Shogi-server.

5 years ago[shogi-server] - Implemented conversion of move representation between CSA format...
Daigo Moriwaki [Fri, 13 Dec 2013 06:09:35 +0000 (15:09 +0900)]
[shogi-server] - Implemented conversion of move representation between CSA format and USI one.

5 years ago* mk_rate-from-grep, mk_rate-grep: - Removed files that are no longer used.
Daigo Moriwaki [Sun, 24 Nov 2013 11:03:00 +0000 (20:03 +0900)]
* mk_rate-from-grep, mk_rate-grep: - Removed files that are no longer used.

5 years ago* [shogi-server] - shogi-server: any bind addresses, ruby attempts to listen on both...
Daigo Moriwaki [Sun, 24 Nov 2013 09:20:10 +0000 (18:20 +0900)]
* [shogi-server] - shogi-server: any bind addresses, ruby attempts to listen on both "0.0.0.0" and "::".

Specifying "::" on Linux leads to listen on both IPv4 and IPv6, which
results in a warning message saying "Address already in use - bind(2)".

5 years ago* [shogi-server] - shogi-server: Previously, reloading in daemon mode failed on ruby...
Daigo Moriwaki [Sun, 24 Nov 2013 09:07:10 +0000 (18:07 +0900)]
* [shogi-server] - shogi-server: Previously, reloading in daemon mode failed on ruby 1.9.3p194. This issue has been fixed.

5 years ago* [mk_game_results] - Fixed for reading Japanese comments under ruby1.9.3p194.
Daigo Moriwaki [Sun, 24 Nov 2013 03:48:34 +0000 (12:48 +0900)]
* [mk_game_results] - Fixed for reading Japanese comments under ruby1.9.3p194.

5 years ago* [shogi-server] - shogi_server/league/floodgate.rb: Improved robustness against...
Daigo Moriwaki [Sun, 24 Nov 2013 03:05:52 +0000 (12:05 +0900)]
* [shogi-server] - shogi_server/league/floodgate.rb: Improved robustness against empty file under ruby 1.9.3p194

5 years ago* [mk_rate] Now duplicated inputs are checked and skipped.
Daigo Moriwaki [Sat, 23 Nov 2013 13:48:34 +0000 (22:48 +0900)]
* [mk_rate] Now duplicated inputs are checked and skipped.

5 years ago test/TC_floodgate.rb Improved randomness check so that it works on Ruby 2.0.0 as...
Daigo Moriwaki [Sat, 23 Nov 2013 12:00:15 +0000 (21:00 +0900)]
 test/TC_floodgate.rb Improved randomness check so that it works on Ruby 2.0.0 as well

5 years ago[mk_rate] gsl library may be provided as a gem
Daigo Moriwaki [Sat, 23 Nov 2013 11:59:34 +0000 (20:59 +0900)]
[mk_rate] gsl library may be provided as a gem

5 years agoMerge remote-tracking branch 'origin/wdoor-stable'
Daigo Moriwaki [Fri, 22 Nov 2013 12:47:59 +0000 (21:47 +0900)]
Merge remote-tracking branch 'origin/wdoor-stable'

Conflicts:
changelog

6 years agoRleased: Revision "20131104" 20131104
Daigo Moriwaki [Mon, 4 Nov 2013 09:49:32 +0000 (18:49 +0900)]
Rleased: Revision "20131104"

6 years ago[mk_game_results] Flush after each output line.
Daigo Moriwaki [Mon, 4 Nov 2013 09:47:58 +0000 (18:47 +0900)]
[mk_game_results] Flush after each output line.

6 years agoMerge branch '201303-yamashita_matching' into wdoor-stable
Daigo Moriwaki [Mon, 4 Nov 2013 06:05:57 +0000 (15:05 +0900)]
Merge branch '201303-yamashita_matching' into wdoor-stable

Conflicts:
changelog

6 years ago* [mk_rate] - Added a new option, --ignore, which is imported from mk_rate-from-grep.
Daigo Moriwaki [Mon, 4 Nov 2013 04:35:02 +0000 (13:35 +0900)]
* [mk_rate] - Added a new option, --ignore, which is imported from mk_rate-from-grep.

6 years ago[shogi-server] - shogi_server/{game,time_clock}.rb:
Daigo Moriwaki [Sun, 8 Sep 2013 02:02:41 +0000 (11:02 +0900)]
[shogi-server] - shogi_server/{game,time_clock}.rb:
  When StopWatchClock is used, "Time_Unit:" of starting messages
  in CSA protocol supplies "1min".

6 years agoMerge branch 'wdoor-stable-fork' into wdoor-stable
Daigo Moriwaki [Sat, 7 Sep 2013 07:52:57 +0000 (16:52 +0900)]
Merge branch 'wdoor-stable-fork' into wdoor-stable

6 years agoshogi_server/{game,time_clock}.rb: Adds variations of thinking time calculation:...
Daigo Moriwaki [Sun, 7 Apr 2013 15:39:32 +0000 (00:39 +0900)]
shogi_server/{game,time_clock}.rb: Adds variations of thinking time calculation: ChessClock
(current) and StopWatchClock (new).

StopWatchClock, which is usually used at official games of human
professional players, is a clock where thiking time less than a
miniute is regarded as zero.
To select StopWatchClock, use a special game name with "060"
byoyomi time. ex. "gamename_1500_060".

6 years agoFollowed the change of the error message format.
Daigo Moriwaki [Sun, 31 Mar 2013 05:25:15 +0000 (14:25 +0900)]
Followed the change of the error message format.

6 years ago command.rb: More elaborate error messages for the %%GAME command.
Daigo Moriwaki [Sun, 31 Mar 2013 05:15:47 +0000 (14:15 +0900)]
 command.rb: More elaborate error messages for the %%GAME command.

6 years agoImproted %%FORK command.
Daigo Moriwaki [Sun, 31 Mar 2013 04:44:13 +0000 (13:44 +0900)]
Improted %%FORK command.

%%FORK command: %%FORK <source_game> [<new_buoy_game>] [<nth-move>]
The new_buoy_game parameter is now optional. If it is not
supplied, Shogi-server generates a new buoy game name from
source_game.

6 years agoFixed a bug which was found in a long test.
Daigo Moriwaki [Sun, 24 Mar 2013 13:01:51 +0000 (22:01 +0900)]
Fixed a bug which was found in a long test.

6 years ago[shogi-server] New pairing algorithm: ShogiServer::Pairing::LeastDiff
Daigo Moriwaki [Wed, 20 Mar 2013 08:23:36 +0000 (17:23 +0900)]
[shogi-server] New pairing algorithm: ShogiServer::Pairing::LeastDiff

This pairing algorithm aims to minimize the total differences of
matching players' rates. It also includes penalyties when a match
is same as the previous one or a match is between human players.

It is based on a discussion with Yamashita-san on
http://www.sgtpepper.net/kaneko/diary/20120511.html.

6 years agoImproved %%FORK command. Thinking times of each move are also provided.
Daigo Moriwaki [Sun, 17 Mar 2013 05:49:40 +0000 (14:49 +0900)]
Improved %%FORK command. Thinking times of each move are also provided.

6 years agoImplemented a new command: %%FORK copy
Daigo Moriwaki [Sun, 24 Feb 2013 07:32:57 +0000 (16:32 +0900)]
Implemented a new command: %%FORK

6 years agoBackported 87d145bd1f1a14a33f5f6fbc78b63a1952f1ca90 and 2df8c798aeb7f0e77735e893fd137... 20121229
Daigo Moriwaki [Sun, 30 Dec 2012 08:24:33 +0000 (17:24 +0900)]
Backported 87d145bd1f1a14a33f5f6fbc78b63a1952f1ca90 and 2df8c798aeb7f0e77735e893fd1370c2c6f15c4d:

  shogi_server/floodgate.rb: Generating next time around the new
  year day by reading configuration files did not work correctly.
  This issue has been fixed.

6 years agoBackported a5c94012656902e73e00f46e7a4c7004b24d4578: test/TC_logger.rb depeneded...
Daigo Moriwaki [Sun, 30 Dec 2012 08:18:15 +0000 (17:18 +0900)]
Backported a5c94012656902e73e00f46e7a4c7004b24d4578: test/TC_logger.rb depeneded on a specific directory where it was running on. This issues has been fixed.

6 years agoApplied a patch from the wdoor-stable branch: Improved the logic avoiding human-human...
Daigo Moriwaki [Fri, 28 Dec 2012 08:44:29 +0000 (17:44 +0900)]
Applied a patch from the wdoor-stable branch: Improved the logic avoiding human-human match.

> commit 81d6582813f9af7f2c23c0f056ee6960b3299e05
> Author: Daigo Moriwaki <beatles@users.sourceforge.jp>
> Date:   Fri Dec 28 15:23:45 2012 +0900
>
>     - shogi_server/pairing.rb:
>       + There was a bug in the logic avoiding human-human match.
>         This issue has been fixed.
>       + Improved the logic avoiding human-human match. Human-human
>         matches will less likely happen.

6 years agoMerge branch 'human_vs_human' into wdoor-stable
Daigo Moriwaki [Fri, 28 Dec 2012 08:21:44 +0000 (17:21 +0900)]
Merge branch 'human_vs_human' into wdoor-stable

6 years ago- shogi_server/pairing.rb:
Daigo Moriwaki [Fri, 28 Dec 2012 06:23:45 +0000 (15:23 +0900)]
- shogi_server/pairing.rb:
  + There was a bug in the logic avoiding human-human match.
    This issue has been fixed.
  + Improved the logic avoiding human-human match. Human-human
    matches will less likely happen.

7 years agoadd derivatives of mk_rate, currently used @wdoor.
tkaneko [Tue, 17 Jul 2012 04:35:58 +0000 (13:35 +0900)]
add derivatives of mk_rate, currently used @wdoor.

7 years agoRenewed year of copyright notice in each file.
Daigo Moriwaki [Sat, 7 Jan 2012 09:25:11 +0000 (18:25 +0900)]
Renewed year of copyright notice in each file.

7 years agoCorrected typos in changelog.
Daigo Moriwaki [Sat, 7 Jan 2012 08:58:44 +0000 (17:58 +0900)]
Corrected typos in changelog.

7 years ago- Updated documents in the command files.
Daigo Moriwaki [Sat, 7 Jan 2012 08:47:20 +0000 (17:47 +0900)]
- Updated documents in the command files.
- Make their shebang consistant (/usr/bin/ruby1.9.1), although they work with both Ruby 1.9.3 and 1.8.7.

7 years agoBoth Ruby 1.9.3 and 1.8.7 are supported.
Daigo Moriwaki [Sat, 7 Jan 2012 08:34:31 +0000 (17:34 +0900)]
Both Ruby 1.9.3 and 1.8.7 are supported.

7 years agoAdded a new test file for shogi_server/compatible.rb
Daigo Moriwaki [Sat, 7 Jan 2012 08:14:39 +0000 (17:14 +0900)]
Added a new test file for shogi_server/compatible.rb

7 years agotest/TC_league.rb failed with Ruby 1.8.7. This issue has been fixed.
Daigo Moriwaki [Sat, 7 Jan 2012 08:08:42 +0000 (17:08 +0900)]
test/TC_league.rb failed with Ruby 1.8.7. This issue has been fixed.

7 years agotest/TC_uchifuzume.rb did not run with Ruby 1.8.7. This issue has been fixed.
Daigo Moriwaki [Sat, 7 Jan 2012 04:11:28 +0000 (13:11 +0900)]
test/TC_uchifuzume.rb did not run with Ruby 1.8.7. This issue has been fixed.

7 years ago[shogi-server] Added shogi_server/compatible.rb, which implements compatible
Daigo Moriwaki [Sat, 7 Jan 2012 03:52:17 +0000 (12:52 +0900)]
[shogi-server] Added shogi_server/compatible.rb, which implements compatible
  methods and allows Ruby 1.8.7 to run the server.

- test/TC_floodgate.rb failed with Ruby 1.8.7. This issue has been fixed.

7 years agoMerge branch 'master' of git.sourceforge.jp:/gitroot/shogi-server/shogi-server
Daigo Moriwaki [Sat, 7 Jan 2012 03:41:42 +0000 (12:41 +0900)]
Merge branch 'master' of git.sourceforge.jp:/gitroot/shogi-server/shogi-server

Conflicts:
changelog

7 years ago[shogi-server] test/TC_logger.rb depeneded on a specific directory where it was runni...
Daigo Moriwaki [Fri, 6 Jan 2012 12:41:21 +0000 (21:41 +0900)]
[shogi-server] test/TC_logger.rb depeneded on a specific directory where it was running on. This issues has been fixed.

7 years agoshogi_server/floodgate.rb: Generating next time around the new year day by reading...
Daigo Moriwaki [Sun, 1 Jan 2012 07:07:07 +0000 (16:07 +0900)]
shogi_server/floodgate.rb: Generating next time around the new year day by reading configuration files did not work correctly.  This issue has been fixed.

7 years agoAdded more test cases for new year.
Daigo Moriwaki [Sun, 1 Jan 2012 05:23:49 +0000 (14:23 +0900)]
Added more test cases for new year.

7 years agoAdded shogi-server-profile to take profile of shogi-server.
Daigo Moriwaki [Sun, 18 Dec 2011 14:26:18 +0000 (23:26 +0900)]
Added shogi-server-profile to take profile of shogi-server.

7 years ago[mk_rate] [mk_game_results] Supports Ruby 1.9.3.
Daigo Moriwaki [Sun, 18 Dec 2011 14:18:05 +0000 (23:18 +0900)]
[mk_rate] [mk_game_results] Supports Ruby 1.9.3.

7 years agoshogi_server/board.rb, piece.rb: Refactoring to cache OU pieces, which was inspired...
Daigo Moriwaki [Sun, 18 Dec 2011 13:37:41 +0000 (22:37 +0900)]
shogi_server/board.rb, piece.rb: Refactoring to cache OU pieces, which was inspired by 81SquareShogi-server's change
(74b24b88c843f1dd767412475b117481d1d5e8eb).

7 years agoSupport Ruby 1.9.3.
Daigo Moriwaki [Mon, 12 Dec 2011 13:11:04 +0000 (22:11 +0900)]
Support Ruby 1.9.3.

7 years agoImproved robustness of test/benchmark.rb.
Daigo Moriwaki [Mon, 12 Dec 2011 13:10:09 +0000 (22:10 +0900)]
Improved robustness of test/benchmark.rb.

7 years agoFixed test cases in TC_floodgate_next_time_generator.rb
Daigo Moriwaki [Sun, 4 Dec 2011 09:51:49 +0000 (18:51 +0900)]
Fixed test cases in TC_floodgate_next_time_generator.rb

7 years agoFixed test cases for TC_floodgate_history.rb
Daigo Moriwaki [Sun, 4 Dec 2011 06:06:10 +0000 (15:06 +0900)]
Fixed test cases for TC_floodgate_history.rb

7 years agoLog an error for an inappropriate return value of commands.
Daigo Moriwaki [Sun, 4 Dec 2011 05:59:48 +0000 (14:59 +0900)]
Log an error for an inappropriate return value of commands.

7 years agoGetBuoyCountCommand did not return expecpted values.
Daigo Moriwaki [Sun, 4 Dec 2011 05:58:49 +0000 (14:58 +0900)]
GetBuoyCountCommand did not return expecpted values.
This issue has been fixed.

7 years agoFixed assertions.
Daigo Moriwaki [Sun, 4 Dec 2011 05:57:14 +0000 (14:57 +0900)]
Fixed assertions.
Fixed 'require' path for Ruby 1.9.3.
Added rate property for MoclPlayer.

7 years agoFixed 'require' path for Ruby 1.9.3.
Daigo Moriwaki [Sun, 4 Dec 2011 05:43:31 +0000 (14:43 +0900)]
Fixed 'require' path for Ruby 1.9.3.

7 years agoCorrected timing issue.
Daigo Moriwaki [Sun, 4 Dec 2011 05:42:05 +0000 (14:42 +0900)]
Corrected timing issue.

7 years agoExplicit file encoding.
Daigo Moriwaki [Sun, 4 Dec 2011 05:30:05 +0000 (14:30 +0900)]
Explicit file encoding.

7 years agoassertion messages should be String for Ruby 1.9.3
Daigo Moriwaki [Sun, 4 Dec 2011 05:22:20 +0000 (14:22 +0900)]
assertion messages should be String for Ruby 1.9.3

7 years agoCorrected the test case: test_instance_game_name
Daigo Moriwaki [Sun, 4 Dec 2011 05:19:16 +0000 (14:19 +0900)]
Corrected the test case: test_instance_game_name

7 years agoArray#choice has been changed to Array#sample in Ruby 1.9.3
Daigo Moriwaki [Sun, 4 Dec 2011 05:18:11 +0000 (14:18 +0900)]
Array#choice has been changed to Array#sample in Ruby 1.9.3

7 years agoCorrected to be able to test TC_oute_sennichite.rb alone.
Daigo Moriwaki [Sat, 3 Dec 2011 12:34:42 +0000 (21:34 +0900)]
Corrected to be able to test TC_oute_sennichite.rb alone.

7 years agoCorrected to be able to test TC_not_sennichite.rb alone.
Daigo Moriwaki [Sat, 3 Dec 2011 12:32:59 +0000 (21:32 +0900)]
Corrected to be able to test TC_not_sennichite.rb alone.

7 years agoCorrected to be able to test TC_jishogi_kachi.rb alone.
Daigo Moriwaki [Sat, 3 Dec 2011 12:19:38 +0000 (21:19 +0900)]
Corrected to be able to test TC_jishogi_kachi.rb alone.

7 years agoCorrected to be able to test TC_functional.rb alone.
Daigo Moriwaki [Sat, 3 Dec 2011 12:18:31 +0000 (21:18 +0900)]
Corrected to be able to test TC_functional.rb alone.

7 years agoAdded a new method, Player#wait_write_thread_finish, to have a writer thread finish...
Daigo Moriwaki [Sat, 3 Dec 2011 12:10:16 +0000 (21:10 +0900)]
Added a new method, Player#wait_write_thread_finish, to have a writer thread finish milder.

7 years agoFixed timestamp format for Ruby 1.9.3.
Daigo Moriwaki [Sat, 3 Dec 2011 06:51:57 +0000 (15:51 +0900)]
Fixed timestamp format for Ruby 1.9.3.

7 years agoCorrected the library name change for Ruby 1.9.3.
Daigo Moriwaki [Sat, 3 Dec 2011 06:40:49 +0000 (15:40 +0900)]
Corrected the library name change for Ruby 1.9.3.

7 years agoAdded magic comment of this file encoding for Ruby 1.9.3.
Daigo Moriwaki [Sat, 3 Dec 2011 06:40:12 +0000 (15:40 +0900)]
Added magic comment of this file encoding for Ruby 1.9.3.

7 years agoUpdated shebang for Ruby 1.9.3.
Daigo Moriwaki [Sat, 3 Dec 2011 06:38:01 +0000 (15:38 +0900)]
Updated shebang for Ruby 1.9.3.
In Debian the lastest /usr/bin/ruby1.9.1 comes from Ruby 1.9.3.

7 years agoFixed case... when... syntax for Ruby 1.9.3.
Daigo Moriwaki [Sat, 3 Dec 2011 06:36:46 +0000 (15:36 +0900)]
Fixed case... when... syntax for Ruby 1.9.3.

9 years ago- Added a new debug message. 20101030
daigo [Sat, 30 Oct 2010 11:11:39 +0000 (20:11 +0900)]
- Added a new debug message.
- Added a testing line that is default commened out.

9 years agoCorrected namespace of GSL::Vector. This line is not reached, though.
daigo [Sat, 30 Oct 2010 11:10:19 +0000 (20:10 +0900)]
Corrected namespace of GSL::Vector. This line is not reached, though.

9 years ago- mk_rate: the usage was not updated. (Closes: #23358)
daigo [Wed, 6 Oct 2010 13:39:22 +0000 (22:39 +0900)]
- mk_rate: the usage was not updated. (Closes: #23358)

Thanks to Hoki-san to report this issue.

9 years agoFixed a bug #23245.
daigo [Sat, 18 Sep 2010 02:45:54 +0000 (11:45 +0900)]
Fixed a bug #23245.

For hadicapped games, wrong initial positions were delivered to players and
monitors. This issue has been fixed. (Closes: #23245)

9 years agoRefactoring: Changed the name of a constant.
daigo [Sat, 18 Sep 2010 02:18:38 +0000 (11:18 +0900)]
Refactoring: Changed the name of a constant.

9 years agoAdded a test-time-run target which runs a test for day changes
daigo [Sat, 18 Sep 2010 02:04:26 +0000 (11:04 +0900)]
Added a test-time-run target which runs a test for day changes

9 years agoEnhanced the CSA Login mode to accept a turn preference.
daigo [Sun, 5 Sep 2010 14:27:23 +0000 (23:27 +0900)]
Enhanced the CSA Login mode to accept a turn preference.

Logging in the server with the CSA mode, users are now allowed to
specify a turn preference in an enhanced gamename string which
looks like <gamename>-<time>-<time>-<turn>. The first three
parts are a regular game definition. The last "-<turn>"
part is optional.
+ Without -<turn> (i.e. same as the previous behavior), there
  is no turn preference. A user's turn will be defined randomly.
+ <turn> is either "B" for black or "W" for white.

9 years agoAdded some test cases.
daigo [Sun, 5 Sep 2010 13:27:55 +0000 (22:27 +0900)]
Added some test cases.

9 years agoUpdate changelog
daigo [Sun, 5 Sep 2010 07:59:33 +0000 (16:59 +0900)]
Update changelog

9 years agoEnhanced the Buoy feature: Players are allowed to start buoy games with specific...
daigo [Sun, 5 Sep 2010 06:13:44 +0000 (15:13 +0900)]
Enhanced the Buoy feature: Players are allowed to start buoy games with specific turns.

ex. %%GAME buoy_foo-1500-0 +

9 years agoRefactored Player#set_sente_from_str().
daigo [Sat, 4 Sep 2010 08:18:47 +0000 (17:18 +0900)]
Refactored Player#set_sente_from_str().

9 years agoRefactored methods: League#find_rival and Game::decide_turns.
daigo [Sat, 4 Sep 2010 07:10:35 +0000 (16:10 +0900)]
Refactored methods: League#find_rival and Game::decide_turns.

9 years agoThe Buoy behaivor is changed.
daigo [Sat, 4 Sep 2010 06:06:48 +0000 (15:06 +0900)]
The Buoy behaivor is changed.

Starting a buoy game, players are notified a starting game
position with the initial position and moves, instread of a
targeting position.

9 years agoshogi_server/command.rb: Prevent a possible password from be logged in a log file...
daigo [Thu, 5 Aug 2010 14:06:22 +0000 (23:06 +0900)]
shogi_server/command.rb: Prevent a possible password from be logged in a log file when players send invalid LOGIN-like commands.

Thanks to Tomoyuki Kaneko for this idea.

9 years ago../shogi_server/game.rb: mkdir_p will be performed in a global mutex of ShogiServer...
daigo [Tue, 3 Aug 2010 13:21:09 +0000 (22:21 +0900)]
../shogi_server/game.rb: mkdir_p will be performed in a global mutex of ShogiServer::Mkdir.

9 years ago../shogi_server.rb, ../shogi_server/util.rb: Refactored mkdir_for to Mkdir.mkdir_for.
daigo [Tue, 3 Aug 2010 13:12:36 +0000 (22:12 +0900)]
../shogi_server.rb, ../shogi_server/util.rb: Refactored mkdir_for to Mkdir.mkdir_for.

9 years agoshogi_server/league/floodgate_thread.rb: SetupFloodgate#start now returns an instance...
daigo [Tue, 3 Aug 2010 12:44:26 +0000 (21:44 +0900)]
shogi_server/league/floodgate_thread.rb: SetupFloodgate#start now returns an instance correctly.

9 years agoAdded building blocks to test an issue where mtime of log files is earlier that syste...
daigo [Tue, 3 Aug 2010 12:31:52 +0000 (21:31 +0900)]
Added building blocks to test an issue where mtime of log files is earlier that system time.

9 years agoSupport multiple clients to test.
daigo [Tue, 3 Aug 2010 12:27:38 +0000 (21:27 +0900)]
Support multiple clients to test.

9 years agoAdded test cases.
daigo [Tue, 3 Aug 2010 12:26:34 +0000 (21:26 +0900)]
Added test cases.

9 years agoConvert syntax: Time::now to Time.now
daigo [Tue, 3 Aug 2010 12:25:25 +0000 (21:25 +0900)]
Convert syntax: Time::now to Time.now

9 years agoProvided a test case for Logger.logdev.mkdir_for()
daigo [Sun, 25 Jul 2010 12:39:49 +0000 (21:39 +0900)]
Provided a test case for Logger.logdev.mkdir_for()

9 years ago- shogi-server: Improved fault tolerance of the server.
daigo [Sun, 25 Jul 2010 08:43:31 +0000 (17:43 +0900)]
- shogi-server: Improved fault tolerance of the server.

9 years agoshogi_server.rb: Fixed a race condition in a case of switching log files
daigo [Sun, 25 Jul 2010 08:38:49 +0000 (17:38 +0900)]
shogi_server.rb: Fixed a race condition in a case of switching log files

Creating a new directory to archive logs may have caused race condition,
which ended up with making the server unavailable. This issue has
been fixed.

9 years agoMerge branch 'logger'
daigo [Sun, 25 Jul 2010 06:17:43 +0000 (15:17 +0900)]
Merge branch 'logger'

Conflicts:
changelog

9 years ago- shogi_server/command.rb: Commands specific to 81Dojo, startig with '%%%', are just...
daigo [Sun, 25 Jul 2010 06:15:23 +0000 (15:15 +0900)]
- shogi_server/command.rb: Commands specific to 81Dojo, startig with '%%%', are just ignored instead of causing unknown command errors.

9 years ago- shogi_server.rb: Refactoring. Added test/TC_logger.rb to test ShogiServer::Logger...
daigo [Sun, 25 Jul 2010 05:40:57 +0000 (14:40 +0900)]
- shogi_server.rb: Refactoring. Added test/TC_logger.rb to test ShogiServer::Logger class.

9 years ago- shogi_server/command.rb: For an unknown error command log, an empty line is no...
daigo [Sun, 25 Jul 2010 05:46:19 +0000 (14:46 +0900)]
- shogi_server/command.rb: For an unknown error command log, an empty line is no longer logged.

9 years agoAdded new targets to test the server: test-run-daemon and stop-daemon
daigo [Sun, 25 Jul 2010 03:41:32 +0000 (12:41 +0900)]
Added new targets to test the server: test-run-daemon and stop-daemon

9 years agoResolved merge conflict
daigo [Sat, 24 Jul 2010 03:54:36 +0000 (12:54 +0900)]
Resolved merge conflict