summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Don't die on unreadable files (refs #3)Chris Wilson2007-01-14
|
* - Make sure timer is stopped before removing signal handler, otherwiseChris Wilson2007-01-14
| | | | | SIGALRM will kill us.
* Support building from an unofficial tarball (from svn) by changingChris Wilson2007-01-13
| | | | | | | | | %{distribution_dir} at the top (automatically in distributions made by infrastructure/makedistribution.pl) Write our RPM version number into VERSION.txt and hence compile it in (refs #3)
* Rename makedistribution.pl to makedistribution.pl.in.Chris Wilson2007-01-13
| | | | | | | | Auto-generate makedistribution.pl in configure, to replace @PERL@ in shebang line. Process spec files as text files, to allow removing private parts. (refs #3)
* Ignore symlink permissions on Darwin, where they can't be set properlyChris Wilson2007-01-13
| | | | | after symlink creation (refs #3)
* Fix spelling (refs #3)Chris Wilson2007-01-13
|
* Convert Daemon class to new logging framework (refs #3)Chris Wilson2007-01-12
|
* Cosmetic spacing fixes (refs #3)Chris Wilson2007-01-12
|
* Always start by logging everything to syslog, even when running on the Chris Wilson2007-01-12
| | | | | | | console. Don't closelog() here, let Logging do that for us. (refs #3)
* Added logging of directory scans and excluded files. (refs #3)Chris Wilson2007-01-11
|
* Added a new config option, LogAllFileAccess, which will log access to every Chris Wilson2007-01-11
| | | | | | file and scanning every directory. The current implementation is taken straight from the Boxi branch. To be extended shortly. (refs #3)
* Visual Studio 2005 compile fixes, thanks to Gary.Chris Wilson2006-12-29
| | | | | Enable (and require) PCRE when building with Visual Studio 2005.
* Belay that order, XO (partially revert patch [1229])Chris Wilson2006-12-29
|
* Compile fix for platforms without intercept capability (refs #3)Chris Wilson2006-12-29
|
* Don't redefine the built-in operators new and delete unnecessarily (refs #3)Chris Wilson2006-12-29
|
* Add missing include of <string> header (refs #3)Chris Wilson2006-12-29
|
* Change all logging to use the logging framework, as an example. (refs #3)Chris Wilson2006-12-16
|
* * Rename Loggers class to Logging, which looks nicer.Chris Wilson2006-12-16
| | | | | | | | | | * Fix type of "line" argument to loggers to int rather than std::string to match __LINE__ * Define necessary static objects * Remove global condition on logging for now (refs #3)
* Initial implementation of the logging framework.Chris Wilson2006-12-16
|
* Added implementation of getopt from BSD (refs #3) (check license!)Chris Wilson2006-12-16
|
* Improved debugging when a path to a location doesn't exist or can't beChris Wilson2006-12-16
| | | | | opened. (refs #3)
* Disable standard library memory leak debugging, as it causes hangs on FC2Chris Wilson2006-12-15
|
* Added missing Makefile.extra to link against bbackupd objects, so that Chris Wilson2006-12-14
| | | | | our internal daemon test code will compile.
* Fix more deadlocks by minimising the amount of stuff that the signalChris Wilson2006-12-13
| | | | | handler does. (refs #3, refs #9)
* Compile fix: include std::string definition (refs #3)Chris Wilson2006-12-12
|
* Compile fix: include MemLeakFinder.h even on release builds (refs #3)Chris Wilson2006-12-12
|
* Fixed a race condition caused by rescheduling in signal handler (refs Chris Wilson2006-12-03
| | | | | #3, refs #9)
* Make the timer test reliable by using nanosleep() instead of sleep(), Chris Wilson2006-12-03
| | | | | | since sleep() may use signals and interfere with SIGALRM, and also cannot be resumed if interrupted by a signal. (refs #3, refs #9).
* Send keepalives when needed while scanning large directories (refs #3, Chris Wilson2006-12-03
| | | | | refs #9)
* Moved KeepAlive timer to BackupClientContext object.Chris Wilson2006-12-03
| | | | | | | | Made timeout initialisation non-static, and a property of the context object. (perhaps should be in rParams, I know). (refs #3, refs #9)
* Added tests for keepalives while scanning large directories. (refs #3, Chris Wilson2006-12-03
| | | | | refs #9)
* Log failure to rename ID map files. (refs #3)Chris Wilson2006-12-03
|
* Document that restore -d can be used to restore deleted files in any Chris Wilson2006-12-03
| | | | | directory, deleted or not. (refs #3)
* Added a header file for including in test/bbackupd/testbbackupd.cpp and Chris Wilson2006-12-03
| | | | | | | | | other modules which might need intercepts in future. Added opendir/readdir and lstat hook capability. (refs #3, refs #9)
* Pass any command-line parameters from t-gdb to gdb (refs #3)Chris Wilson2006-12-03
|
* Search for dlfcn.h and dlsym() (needed for new intercept code) (refs #3, Chris Wilson2006-12-03
| | | | | refs #9)
* Replace old-style setitimers for KeepAliveTime and MaximumDiffingTime Chris Wilson2006-11-28
| | | | | with new Timer objects. (refs #3, refs #9)
* Added ability for delay intercepts to fire multiple times.Chris Wilson2006-11-28
| | | | | Added test for repeat keepalives to test/bbackupd.
* Added debug tracing code for timers.Chris Wilson2006-11-28
|
* Added a test for diff termination if MaximumDiffingTime is exceeded Chris Wilson2006-11-27
| | | | | (refs #3, refs #9)
* * Fix timer expiry calculation when timers expire in the pastChris Wilson2006-11-26
| | | | | * Fix handling of timers which never expire (zero deadline) (refs #9)
* Added test for keepalives being sent (refs #9)Chris Wilson2006-11-26
|
* Catch any exceptions while handling a connection and report to user Chris Wilson2006-11-26
| | | | | | rather than terminating. Useful for non-forking servers like bbstored on Windows. (refs #3)
* * Try to kill any daemons left over from previous tests before running Chris Wilson2006-11-26
| | | | | | new tests. * Try to kill any remaining daemons at the end of the test (refs #3)
* Moved intercept code to a library module to allow it to be used by Chris Wilson2006-11-26
| | | | | test/bbackupd as well (refs #3)
* Separate ReadPidFile() out from LaunchServer() in test code (refs #9)Chris Wilson2006-11-26
|
* Add missing newlines to protocol logging to a file (refs #9)Chris Wilson2006-11-26
|
* * Allow Daemons to be created more than once per processChris Wilson2006-11-26
| | | | | | | * Don't initialise signal handler until after fork, in case the parent is actually a unit test or another complex application * Don't exit(0) in the parent, for the same reason (refs #9)
* Use gettimeofday() to increase accuracy of GetCurrentBoxTime() on Chris Wilson2006-11-23
| | | | | | | platforms which support it. Fixes busy waits for 1 second in backup client when time for next backup is not on a 1 second boundary (which it never is). (refs #3)
* Add ExtendedLogFile option to bbackupd config (refs #9)Chris Wilson2006-11-14
|