Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Use Windows Crypto API to seed the random number generator, and remove | Chris Wilson | 2008-10-08 |
| | | | | | warning that it hasn't been seeded on Windows. | ||
* | Remove Win32 command socket thread, as it has caused too much trouble. | Chris Wilson | 2008-10-03 |
| | | | | | | | | | | | Handle command socket on Win32 the same as all other platforms, removing #ifdefs from BackupDaemon. Will replace this thread with regular but not excessive command socket polling using timers in future. Change error messages when command socket comms fail to make them clearer. | ||
* | Remove -K option which now does nothing on Windows. | Chris Wilson | 2008-10-03 |
| | | | | | Add -Q option which disables all logging instead. | ||
* | Utility classes to be used by new Windows named pipe framework. | Chris Wilson | 2008-10-03 |
| | |||
* | Spacing and additional stream header byte logging. | Chris Wilson | 2008-10-03 |
| | |||
* | More debugging, log type of stream received and fix logging of header byte. | Chris Wilson | 2008-10-03 |
| | |||
* | Additional debugging for protocol stream deadlock reported by | Chris Wilson | 2008-09-30 |
| | | | | | Matt Brown. | ||
* | Log reason for any waitpid() failure. | Chris Wilson | 2008-09-26 |
| | |||
* | Set console and syslog logging levels rather than global logging level, | Chris Wilson | 2008-09-26 |
| | | | | | as we may want to do something different when logging to a file. | ||
* | Unify program name and console logging tags. | Chris Wilson | 2008-09-13 |
| | | | | | | Add a new class, Logging::Tagger, which can be used to temporarily add information to the program name, such as the client ID in bbstored. | ||
* | Call virtual NotifyListenerIsReady() method when listening socket is | Chris Wilson | 2008-08-21 |
| | | | | | ready, for Boxi thread synchronisation. | ||
* | Use ForkToHandleRequests in ServerStream template call to avoid compiler | Chris Wilson | 2008-08-21 |
| | | | | | errors. | ||
* | Make Open() take a const std::string& for the socket name instead of a | Chris Wilson | 2008-08-21 |
| | | | | | const char *, for C++ style. | ||
* | Only set spDaemon in Daemon::Main, to allow Boxi to have a BackupDaemon | Chris Wilson | 2008-08-21 |
| | | | | | | | | | | | | and a BackupStoreDaemon in the same process in separate threads. Separate out Configure(filename) and Configure(Configuration) for Boxi. Use a std::auto_ptr to hold the Configuration so that we don't have to worry about releasing it ourselves. Remove some #ifdef WIN32. | ||
* | Allow waiting for a process while killing it, will be needed for tests | Chris Wilson | 2008-08-07 |
| | | | | | that fork() to avoid zombies and for ServerIsAlive to work. | ||
* | Allow externally controllic whether a daemon will run in the foreground | Chris Wilson | 2008-08-07 |
| | | | | | or not, will need this for running tests with internal bbstored. | ||
* | Really enable PID logging on Windows. | Chris Wilson | 2008-08-03 |
| | |||
* | Enable logging of PID on Windows. | Chris Wilson | 2008-08-03 |
| | | | | | Enable both -k and -K options on all platforms. | ||
* | Move loading configuration into a separate method. | Chris Wilson | 2008-05-28 |
| | | | | | Add -W<level> option to set warning level explicitly. | ||
* | Add a GetMessage() method to Protocol objects to return a stringified | Chris Wilson | 2008-05-28 |
| | | | | | | | message as a string. Fix a typo in a comment. | ||
* | Move ServerControl functions out of line and into their own source file. | Chris Wilson | 2008-05-28 |
| | |||
* | Command-line option fix from [1975] | Chris Wilson | 2008-04-05 |
| | |||
* | Undo mangling by tailor | Chris Wilson | 2008-04-04 |
| | |||
* | Tailorization | Chris Wilson | 2008-04-04 |
| | | | | | | | | | | | Import of the upstream sources from Repository: http://localhost:8000/ Kind: hg Revision: 7807b7768163f1c2537756abe5416063989cebb1 Original author: tailor@rocio.int.aidworld.org Date: 2008-03-16 19:44:36+00:00 | ||
* | Replace all remaining use of TRACEx() macros with logging framework. | Chris Wilson | 2008-03-29 |
| | | | | | Remove the old TRACEx macros to catch any remaining uses. | ||
* | No need to save errno any more. | Chris Wilson | 2008-03-29 |
| | |||
* | Close after logging socket error, so that we don't lose errno. | Chris Wilson | 2008-03-29 |
| | |||
* | Allow configuration of the server port that the client will connect to | Chris Wilson | 2008-03-28 |
| | | | | | | | | | | | | | (bbackupd and bbackupquery). Redesign ConfigurationVerify to use classes instead of structs. Use port 22011 instead of 2201 during tests, to reduce the chances of conflicting with a running bbstored or other process. Ignore autogen_* in svn:ignore everywhere instead of individual per-file ignores. | ||
* | Improve logging with macros that consistently output strerror(errno) and | Chris Wilson | 2008-03-28 |
| | | | | | | | | | | | | | | | errno, replacing almost all use of strerror() in the main code. Log a more detailed error message before throwing an exception for some more system call failures. Make FileStream store its filename on all platforms, not just Windows. Wrap some long lines at less than 80 characters to improve readability. Fix some minor violations of coding standard (white space) and a typo in a comment. | ||
* | Reduce log level of message from server child from WARNING to NOTICE, as | Chris Wilson | 2008-03-28 |
| | | | | | it's just the IP and port of the remote side of the connection. | ||
* | Add the -K option to Daemons on Windows to keep them quiet even though | Chris Wilson | 2008-03-13 |
| | | | | | | | | they don't fork by themselves. This is because the tests are able to run them in the background, and if they keep the console open then they will continue to spew to it. This option is normally only useful when running the daemon in a test. | ||
* | Fix compile error. | Chris Wilson | 2008-03-13 |
| | |||
* | Ignore ERR_NO_DATA while writing to control socket on Windows, as it | Chris Wilson | 2008-03-13 |
| | | | | | just means that the Pope is being closed. | ||
* | Only log daemon banner to syslog, not to console, as this is probably | Chris Wilson | 2008-03-01 |
| | | | | | | what users expect (and they have no way to control verbosity on the console this early). | ||
* | Workaround for (buggy?) gcc not finding inherited Main method on | Chris Wilson | 2008-03-01 |
| | | | | | Windows. | ||
* | Disable -P option and showing PID in Logging on Windows. | Chris Wilson | 2008-02-22 |
| | |||
* | Improve error messages when loading SSL key files fails. | Chris Wilson | 2008-02-07 |
| | |||
* | Use logging framework for streaming messages. | Chris Wilson | 2008-01-31 |
| | | | | | | | | | Fix double logging of protocol commands on the server side. Log protocol errors at WARNING level. Fix typos in comments and variable names. | ||
* | Add support for microsecond timestamps and PID logging on console log | Chris Wilson | 2008-01-31 |
| | | | | | for daemons. | ||
* | Print the path of the current/default configuration file in usage. | Chris Wilson | 2008-01-05 |
| | |||
* | Report reason why killing a process failed. | Chris Wilson | 2007-12-15 |
| | |||
* | Make ExtendedLogging use the logging framework so that we can view | Chris Wilson | 2007-12-04 |
| | | | | | the logs on the console along with other debug output. | ||
* | Slightly improve output from waiting methods. | Chris Wilson | 2007-12-02 |
| | |||
* | Fix getopt reset for solaris and maybe other platforms. See | Chris Wilson | 2007-11-07 |
| | | | | | http://lists.debian.org/debian-glibc/2004/10/msg00070.html. | ||
* | Receiving a connection is not an error. | Chris Wilson | 2007-11-04 |
| | |||
* | Compile fix for MSVC (Gary) (merges [1861]) | Chris Wilson | 2007-10-17 |
| | |||
* | Add "-h" and "/?" options to display usage in Daemon. | Chris Wilson | 2007-10-17 |
| | | | | | | | | | Extend usage info with service commands in BackupDaemon. Disable useless -D, -V and -k options on Windows. (merges 1855]) | ||
* | Make Main(), GetOptionString() and ProcessOption virtual so that they | Chris Wilson | 2007-10-17 |
| | | | | | can actually be overridden. (merges [1852]) | ||
* | Report more useful error messages on connect() failure on Windows. | Chris Wilson | 2007-10-17 |
| | | | | | (merges [1851]) | ||
* | Compile fix. (merges [1850]) | Chris Wilson | 2007-10-17 |
| |