Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | Restructure intercept_errornow() for clarity. | Chris Wilson | 2007-12-13 | |
| | | | | | | | | | | | | | Move delay code out of macro and into intercept_errornow() to simplify macro. Clear hook functions in intercept_clear_setup(). Check that intercept_filename is not NULL before comparing it with anything. Change some TRACEx macros to BOX_TRACE. | |||
* | Use new logging framework for tracing diffs. | Chris Wilson | 2007-12-06 | |
| | | | | | Log each block found and each false match at DEBUG level. | |||
* | Enable TRACE logging in release builds, but make it really cheap | Chris Wilson | 2007-12-04 | |
| | | | | | when disabled. | |||
* | 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 | |
| | ||||
* | Don't crash when trying to cleanup timers a second time (or if never | Chris Wilson | 2007-12-02 | |
| | | | | | initialised) in release mode. | |||
* | 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. | |||
* | Use lstat() instead of stat() to check whether a file exists. Thanks to | Chris Wilson | 2007-11-05 | |
| | | | | | | | | Hans-Joachim Baader for reporting this problem. (http://lists.warhead.org.uk/pipermail/boxbackup/2007-November/003958.html) Add a test that symlinks are not followed during restore. | |||
* | Really fix unlink() during restore, fixes [1919]. | Chris Wilson | 2007-11-04 | |
| | ||||
* | Allow ObjectExists() to take a std::string instead of just char *. | Chris Wilson | 2007-11-04 | |
| | ||||
* | unlink returns 0 on success, not on error. | Chris Wilson | 2007-11-04 | |
| | ||||
* | Make sync_and_wait() do what it's supposed to, not just force a sync. | Chris Wilson | 2007-11-04 | |
| | ||||
* | Log an error if we fail to open the lockfile. | Chris Wilson | 2007-11-04 | |
| | ||||
* | Ignore time differences less than 1 second when comparing attributes, | Chris Wilson | 2007-11-04 | |
| | | | | | as not all filesystems can store times that accurately (e.g. OSX). | |||
* | Receiving a connection is not an error. | Chris Wilson | 2007-11-04 | |
| | ||||
* | Move sync helper functions from test/bbackupd to Test.h to share with | Chris Wilson | 2007-11-04 | |
| | | | | | other tests, particularly test/backupstorefix. | |||
* | sigemptyset() is a macro on OSX 10.3, so don't prepend :: | Chris Wilson | 2007-11-03 | |
| | ||||
* | Bite the bullet and use sigaction() instead, since [1803] shows that | Chris Wilson | 2007-10-22 | |
| | | | | | | signal() works badly on SuckOS, and James reports that BSD doesn't have sigset(). | |||
* | Compile fix for MSVC (Gary) (merges [1861]) | Chris Wilson | 2007-10-17 | |
| | ||||
* | Make detailed timer debugging work on Windows as well. | Chris Wilson | 2007-10-17 | |
| | | | | | | | Add a couple of macros to clean up the code. (merges [1857]) | |||
* | 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 | |
| | ||||
* | Refactor out command-line option processing, so that it can be extended | Chris Wilson | 2007-10-17 | |
| | | | | | by subclasses. (merges [1849]) | |||
* | Fix compilation on MinGW. Not yet actually used on MinGW due to the | Chris Wilson | 2007-10-17 | |
| | | | | | | file extension, but it might be soon, if the default implementation doesn't do what I want. (merges [1848]) | |||
* | Added function to set the named pipe name, for use by any test which | Chris Wilson | 2007-10-17 | |
| | | | | | calls HUPServer() or SendCommands(). (merges [1836]) | |||
* | Remove default pipe name to prevent applications from using it. (merges | Chris Wilson | 2007-10-17 | |
| | | | | | [1835]) | |||
* | Don't disable logging on Win32 console. (merges [1834]) | Chris Wilson | 2007-10-17 | |
| | ||||
* | Prepend the system-required prefix to the named pipe name from the | Chris Wilson | 2007-10-17 | |
| | | | | | configuration file. (merges [1833]) | |||
* | Fix double backslashes | Chris Wilson | 2007-10-08 | |
| | ||||
* | Revert to decimal properly, and also after logging an Object ID. | Chris Wilson | 2007-10-08 | |
| | ||||
* | Fix wrong comments, thanks to Nestor Arocha Rodriguez. | Chris Wilson | 2007-10-08 | |
| | ||||
* | Log the name of missing configuration keys before throwing exception. | Chris Wilson | 2007-10-08 | |
| | ||||
* | Revert from hex to decimal default format after logging an account number. | Chris Wilson | 2007-10-08 | |
| | ||||
* | Allow configuration of the time to delete redundant store locations. | Chris Wilson | 2007-10-08 | |
| | ||||
* | Compile fix. | Chris Wilson | 2007-09-23 | |
| | ||||
* | Fix compiler warning. (merges [1820], [1821]) | Chris Wilson | 2007-09-07 | |
| | ||||
* | No need to print syslog() messages any more, now that we have a logging | Chris Wilson | 2007-09-07 | |
| | | | | | framework. (merges [1814]) | |||
* | Win32 compile fix (logging framework abuse). (merges [1810]) | Chris Wilson | 2007-09-07 | |
| | ||||
* | Format account number properly (8 hex digits). | Chris Wilson | 2007-09-01 | |
| | ||||
* | Use sigset() instead of signal() to ensure that SysV systems (like Solaris) | Chris Wilson | 2007-09-01 | |
| | | | | | will not clear our signal handler after firing it. | |||
* | Convert most printf() and fprintf() calls to use logging framework | Chris Wilson | 2007-08-02 | |
| | | | | | instead. (refs #3) | |||
* | Undo removal of syslog() header, still needed in this file. | Chris Wilson | 2007-08-02 | |
| | ||||
* | Replace almost all calls to syslog() with logging framework. (refs #3) | Chris Wilson | 2007-07-31 | |
| | ||||
* | Make Configuration take a std::string filename instead of a char array, | Chris Wilson | 2007-07-26 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in C++ style. Add a function to get default config file paths at runtime, dependent on the location of the executable being run. Pass the config file name directly to Daemon::Main, instead of faking argv. No default raid file path at compile time on Windows, depends on executable location when run. Determine RaidFile path at runtime if not supplied in config file on Windows. Don't define default locations for config files at compile time on Windows, provide macros to determine them at runtime instead. Make FileHandleGuard take a std::string instead of a char array, C++ style. Determine config file location at runtime instead of hard-coding on Windows. Thanks to Paul MacKenzie, Per Thomsen, Pete Jalajas, Stuart Sanders, Dave Bamford and Gary for pushing me to do this. (fixes #12) Determine config file path at runtime. Call Daemon::Main with config file name instead of building fake argv. (refs #3, merges [1684] [1685] [1686] [1687] [1688] [1689] [1690] [1691] [1692]) | |||
* | Make Configuration take a std::string filename instead of a char array, | Chris Wilson | 2007-07-26 | |
| | | | | | in C++ style. (refs #3, merges [1684]) | |||
* | Make RaidFileController::Initialise take a std::string instead of a | Chris Wilson | 2007-07-26 | |
| | | | | | char array, in C++ style. (refs #3, merges [1683]) | |||
* | Work around the fact that we may have regex support without having | Chris Wilson | 2007-07-26 | |
| | | | | | | | regex.h (e.g. from pcreposix.h/libpcreposix) and disabuse HAVE_REGEX_H, define and use HAVE_REGEX_SUPPORT instead, thanks Gary! (refs #3, merges [1677] [1678] [1679]) | |||
* | Disable some warnings under MSVC to reduce build noise, thanks Gary! | Chris Wilson | 2007-07-26 | |
| | | | | | (refs #3, merges [1676]) |