summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* Record the file and line of first test failure (refs #3, merges [593])Chris Wilson2007-03-08
|
* Win32 compile fixChris Wilson2007-03-05
| | | | | (refs #3, merges [1306])
* Add logging in remaining places where Common OSFileOpenError can be thrown.Chris Wilson2007-03-05
| | | | | (refs #3, merges part of [1099], and [1370])
* Add logging in remaining places where Common OSFileOpenError can be thrown.Chris Wilson2007-03-05
| | | | | | | Fix compile warning (signed vs unsigned comparison) (refs #3, merges part of [1099], and [1368])
* Update to match new recommended installation of pcreposix.h as regex.h.Chris Wilson2007-03-04
| | | | | (refs #3, merges [1281], reverting [1233])
* Add logging in remaining places where Common OSFileOpenError can be thrown.Chris Wilson2007-03-04
| | | | | (refs #3, merges part of [1099] and [1359])
* Watch out for our leak tracking data being destroyed and don't crash whenChris Wilson2007-03-04
| | | | | subsequent objects are destroyed. (refs #3, merges [1341])
* Declare that we have O_BINARY but not <sys/types.h> for MSVCChris Wilson2007-03-04
| | | | | (refs #3, merges [760] and [763])
* Fix compile warningChris Wilson2007-02-09
|
* Log failure to delete files and directories (refs #3)Chris Wilson2007-02-09
|
* Catch exceptions while writing files, attributes, resume info and checkingChris Wilson2007-02-09
| | | | | file existence (refs #3)
* Don't throw an exception if we fail to delete a file in the way of restore,Chris Wilson2007-02-09
| | | | | just log the error and return an error code (refs #3)
* Spelling fix (refs #3)Chris Wilson2007-02-09
|
* Make BackupClientRestoreDir return a result code compatible withChris Wilson2007-02-09
| | | | | BackupClientRestore (refs #3)
* Check whether the restore target parent directory exists before tryingChris Wilson2007-02-09
| | | | | to create the target directory or save restore info in the parent (refs #3)
* Catch errors during restore (refs #3)Chris Wilson2007-02-09
|
* Improve error message when server fails to start (refs #3)Chris Wilson2007-01-21
|
* Moved MakeFullPath into its own library file so that we can share itChris Wilson2007-01-17
| | | | | (BackupQueries needs it too) (refs #3)
* Added a BufferedStream class that can be wrapped around an IOStream to Chris Wilson2007-01-17
| | | | | | improve read performance when many small reads will be performed, e.g. while reading directories and during housekeeping. (refs #3)
* Automatically initialise logging at startup, with a static object, to logChris Wilson2007-01-16
| | | | | | | | to console and syslog. All logging objects automatically register themselves with the global logging system. (refs #3)
* Check for exclude entries that end in a path separator, and log a warningChris Wilson2007-01-16
| | | | | (refs #3)
* Compile fix for RHEL4 ([NICK]) (refs #3)Chris Wilson2007-01-16
|
* Add option parsing with getopt()Chris Wilson2007-01-15
| | | | | | | | | | | Add "-D" flag as SINGLEPROCESS equivalent Add "-q" and "-v" options to control master logging level Log fatal errors as FATAL rather than ERROR Log daemon start and stop as NOTICE rather than INFO (refs #3)
* Throw CommonException AccessDenied if we didn't get access to the file,Chris Wilson2007-01-15
| | | | | for better error description (refs #3)
* Add a new logging level, NOTICE, between INFO and WARNING (justification:Chris Wilson2007-01-15
| | | | | | | | | | we need two levels of output for LogAllFileAccess, neither of which are warnings, one is very verbose, but must not be compiled out like TRACE). Make Loggers default to logging everything. Make the global log level filter work. (refs #3)
* Detect reparse points and change the device number (refs #3)Chris Wilson2007-01-15
|
* Spacing (refs #3)Chris Wilson2007-01-14
|
* Don't do things with essential side effects inside ASSERT() macros Chris Wilson2007-01-14
| | | | | (refs #3, refs #9)
* - Make sure timer is stopped before removing signal handler, otherwiseChris Wilson2007-01-14
| | | | | SIGALRM will kill us.
* 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
|
* 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
|
* * 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
|
* Disable standard library memory leak debugging, as it causes hangs on FC2Chris Wilson2006-12-15
|
* Fix more deadlocks by minimising the amount of stuff that the signalChris Wilson2006-12-13
| | | | | handler does. (refs #3, refs #9)
* 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)
* 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 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)
* 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.