Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Typo compile fix. | Chris Wilson | 2007-07-26 |
| | |||
* | Add more debugging checks and messages for location setup error | Chris Wilson | 2007-07-26 |
| | | | | | | reported by Pete Jalajas (http://lists.warhead.org.uk/pipermail/boxbackup/2007-July/003668.html) | ||
* | Warn if an exception is thrown, with line number, as this shouldn't be | Chris Wilson | 2007-07-26 |
| | | | | | happening on production systems anyway. | ||
* | Use a signed int instead of char for getopt, thanks Martin. (refs #3) | Chris Wilson | 2007-07-05 |
| | |||
* | Make char signed to fix getopt usage on ARM and PowerPC, thanks to TBP and | Chris Wilson | 2007-07-04 |
| | | | | | | Reinhard Tartler (refs #3, see http://lists.warhead.org.uk/pipermail/boxbackup/2007-July/003614.html) | ||
* | More debugging. | Chris Wilson | 2007-07-03 |
| | |||
* | Hopefully work around buggy getopt implementation noted by TBP in | Chris Wilson | 2007-07-03 |
| | | | | | | http://lists.warhead.org.uk/pipermail/boxbackup/2007-July/003614.html (refs #3) | ||
* | Add extra debugging to help find out why getopt is behaving weirdly | Chris Wilson | 2007-06-30 |
| | | | | | | on debian etch (http://lists.warhead.org.uk/pipermail/boxbackup/2007-June/003603.html) | ||
* | Log reasons for failure to connect to a socket. | Chris Wilson | 2007-06-28 |
| | |||
* | Add a new -F option for daemons, which runs in the foreground but still | Chris Wilson | 2007-06-28 |
| | | | | | accepts multiple connections, unlike -D or SINGLEPROCESS. | ||
* | Get it right this time. | Chris Wilson | 2007-06-04 |
| | |||
* | Hopefully reset getopt in a way that's compatible with BSD and GLIBC, | Chris Wilson | 2007-06-04 |
| | | | | | thanks to Tobias Balle-Petersen for pointing out this bug. | ||
* | Add missing #include <errno.h>, thanks Tobias. | Chris Wilson | 2007-06-03 |
| | |||
* | Fix emulated chdir to work with relative paths and with bbackupquery's | Chris Wilson | 2007-05-09 |
| | | | | | | | | | "sh" command (which doesn't like UNC paths). Fix error messages by removing surplus newline kindly added by Windows. (refs #3, merges [1514] and [1569]) | ||
* | Add missing #include <errno.h>, thanks to Matt Brown (refs #3) | Chris Wilson | 2007-05-02 |
| | |||
* | Compile fix, thanks to Matt Brown (refs #3) | Chris Wilson | 2007-05-02 |
| | |||
* | Remove assertion that we are at the end of the stream when decoding | Chris Wilson | 2007-04-29 |
| | | | | | finishes. This is not true when decoding raw files on disk. (refs #3) | ||
* | Remove unwanted blank line. (refs #3) | Chris Wilson | 2007-04-29 |
| | |||
* | Make directories user-writable while restoring them, so that restoring | Chris Wilson | 2007-04-29 |
| | | | | | | read-only directories as a non-root user doesn't crash. Restore the correct permissions after restoring the directory's contents. (refs #3) | ||
* | Make directories user-writable while restoring them, so that restoring | Chris Wilson | 2007-04-29 |
| | | | | | | read-only directories as a non-root user doesn't crash. Restore the correct permissions after restoring the directory's contents. (refs #3) | ||
* | Initialise mSingleProcess flag to false (oops!) (refs #3) | Chris Wilson | 2007-04-29 |
| | |||
* | Fix rare memory leak. (refs #3, merges part of [1514]) | Chris Wilson | 2007-04-28 |
| | |||
* | Remove newline from end of banner text, since logging framework will add | Chris Wilson | 2007-04-28 |
| | | | | | it for us where necessary. (refs #3) | ||
* | Fix bbackupd choosing an invalid (too large) block size for large files | Chris Wilson | 2007-04-28 |
| | | | | | | | (over 2GB) which will cause compare to fail: when rBlockSizeOut == BACKUP_FILE_MAX_BLOCK_SIZE we would have proceeded around the loop one more time and doubled the block size again. (refs #2, refs #3) | ||
* | Fix getting files with uncertain size (over 2GB) from the store. Failure | Chris Wilson | 2007-04-28 |
| | | | | | | to drain the stream will leave the EOF byte in it, which breaks further communications with the store over the same connection. (refs #2, refs #3) | ||
* | Don't fork to handle requests when running as a single process (very | Chris Wilson | 2007-04-28 |
| | | | | | useful for debugging). (refs #3) | ||
* | Remove comments accidentally left in [1591]. (refs #3) | Chris Wilson | 2007-04-28 |
| | |||
* | Make Daemon remember whether we're supposed to run in a single process, | Chris Wilson | 2007-04-28 |
| | | | | | or not. (refs #3) | ||
* | Use ReadLoggingStream to log progress of file uploads. (refs #3) | Chris Wilson | 2007-04-28 |
| | |||
* | Add a stream which logs progress of reading data from another (child) | Chris Wilson | 2007-04-28 |
| | | | | | | stream, and estimated time of completion, useful for upload progress monitoring. (refs #3) | ||
* | Keep a copy of the program name, in case the original goes away, which | Chris Wilson | 2007-04-28 |
| | | | | | causes syslog() to write nonsense for the program name. (refs #3) | ||
* | Fix inability to handle streams over 2GB properly. (refs #3) | Chris Wilson | 2007-04-28 |
| | |||
* | Add a stream which provides a source of zero bytes of arbitrary size, | Chris Wilson | 2007-04-28 |
| | | | | | useful for testing support for files over 2GB. (refs #3) | ||
* | Ignore attempts to listen on a Unix socket on Win32, so that we can share | Chris Wilson | 2007-04-22 |
| | | | | | config files for the unit tests (refs #3) | ||
* | Merge [1566] from chris/general: | Chris Wilson | 2007-04-22 |
| | | | | | | | | | Use Sleep() instead of nanosleep again on win32 (lost in merge [1562]). Fix reference to pCommandLine which no longer exists after [1562]. Fix signed/unsigned comparison warning. (refs #3) | ||
* | Compile fix for Win32, where no localtime_r is available and localtime | Chris Wilson | 2007-04-22 |
| | | | | | is thread safe. (refs #3) | ||
* | Display file and line where memory leak test failed. (refs #3) | Chris Wilson | 2007-04-22 |
| | |||
* | Add -V option, which sets maximum verbosity in one go. | Chris Wilson | 2007-04-22 |
| | | | | | | | | | | | Add -T option, which adds timestamps to console logs. Add -t option, which enabled and sets the tag used on console logs. Add -k option, which keeps console open after forking. (refs #3) | ||
* | Add options to log timestamps, and a custom tag, with each message to | Chris Wilson | 2007-04-22 |
| | | | | | | | | | the console, e.g.: 14:53:17 [bbackupd] Finished scan of local files (refs #3) | ||
* | Use logging framework to log stack traces from exceptions. (refs #3) | Chris Wilson | 2007-04-22 |
| | |||
* | Use logging framework to log exceptions. (refs #3) | Chris Wilson | 2007-04-22 |
| | |||
* | Declare global std::string variables that hold extra arguments for | Chris Wilson | 2007-04-22 |
| | | | | | | | | | | | | | executables run in tests, to be implemented in a follow-up patch. ConvertPaths, LaunchServer and RunCommand all take std::string references instead of char*. Move safe_sleep from test/common to lib/server/Test.h so that all tests can use it. (refs #3) | ||
* | Compile fix, always include Test.h (refs #3) | Chris Wilson | 2007-04-21 |
| | |||
* | Don't log errors or throw exceptions when we get ERROR_NO_DATA, which just | Chris Wilson | 2007-04-20 |
| | | | | | | | | | | | | | | | means that the pipe is being closed. Treat it as a normal remote close (EOF) instead. Don't log an error if DisconnectNamedPipe tells us that the remote end already closed the pipe (ERROR_PIPE_NOT_CONNECTED). Treat ERR_PIPE_NOT_CONNECTED during pipe reads as EOF as well. Improve logging of pipe errors by including the error message. (refs #3, merges [1458] and [1463]) | ||
* | Fix erroneous line break. | Chris Wilson | 2007-04-20 |
| | |||
* | Added commentary to RaidFileDoesntExist exception. | Chris Wilson | 2007-04-20 |
| | |||
* | Allow '/' as a path separator on all platforms, even Win32 (refs #3, | Chris Wilson | 2007-03-25 |
| | | | | | merges [1496]) | ||
* | Fix unix path to bbstored (refs #3) | Chris Wilson | 2007-03-25 |
| | |||
* | Added precompiled output from message compiler, for those who don't | Chris Wilson | 2007-03-24 |
| | | | | | have it, e.g. using MinGW instead of MSVC. (refs #3, merges [526]) | ||
* | Indent cleanup (refs #3) | Chris Wilson | 2007-03-24 |
| |