Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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 |
| | |||
* | Compile fix to [1448] (refs #3) | Chris Wilson | 2007-03-24 |
| | |||
* | Improve logging of pipe errors by including the error message. (refs #3, | Chris Wilson | 2007-03-24 |
| | | | | | merges part of [1458]) | ||
* | Fix header include order. (refs #3, merges [1446]) | Chris Wilson | 2007-03-24 |
| | |||
* | Use logging framework to remove timer noise for those who don't want it. | Chris Wilson | 2007-03-24 |
| | | | | | (refs #3, merges [1445]) | ||
* | Trivial code simplification. (refs #3, merges [1444]) | Chris Wilson | 2007-03-24 |
| | |||
* | Reduce default logging level in debug builds from TRACE back down to INFO, | Chris Wilson | 2007-03-24 |
| | | | | | to reduce noise in tests. (refs #3, merges [1441]) | ||
* | Use logging framework to reduce noise for those who don't want it | Chris Wilson | 2007-03-24 |
| | | | | | (refs #3, merges [1439] [1440] [1443]) | ||
* | Initialise logging framework and set our program name to Box Backup (bbstored) | Chris Wilson | 2007-03-24 |
| | | | | | (refs #3, merges [1462]) | ||
* | Add emulated rename() with path conversion. (refs #3, merges [1436] and | Chris Wilson | 2007-03-24 |
| | | | | | [1438]) | ||
* | Change named pipe from message to byte mode. Thanks to Charles Lecklider | Chris Wilson | 2007-03-24 |
| | | | | | for pointing this out. |