Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | 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]) | |||
* | Update copyright to 2007. (refs #3, merges [1670]) | Chris Wilson | 2007-07-26 | |
| | ||||
* | Define DEBUG_NEW in the same file whether or not BOX_MEMORY_LEAK_TESTING | Chris Wilson | 2007-07-26 | |
| | | | | | is defined, thanks Gary. (refs #3, merges [1668]) | |||
* | We now have pcreposix.h instead of regex.h, at least if you follow the | Chris Wilson | 2007-07-26 | |
| | | | | | MSVC build instructions. (refs #3, merges [1665]) | |||
* | Don't #include sys/time.h unless our platform has it, thanks Gary. | Chris Wilson | 2007-07-26 | |
| | | | | | (refs #3, merges [1664]) | |||
* | Fix restoring to top-level directories (e.g. c:\test) (refs #3, | Chris Wilson | 2007-07-26 | |
| | | | | | merges [1661]) | |||
* | Experimental fix for restore problem reported by Mikael Syska: | Chris Wilson | 2007-07-26 | |
| | | | | | | | | | | | | query > restore Admin "c:\admin\" Failed to read file information: The parameter is incorrect. (87) Failed to get file information for 'c:' Failed to check existence for c:: Common OSFileError (Error accessing a file. Check permissions.) ERROR: Unknown restore result. (refs #3, merges [1659]) | |||
* | 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. |