summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Our timer code only supports ITIMER_REAL (refs #3)Chris Wilson2007-03-10
|
* Always include process.h, as we don't know whether it was detected or notChris Wilson2007-03-10
| | | | | (we don't have access to lib/common/BoxConfig.h in lib/win32) (refs #3)
* Catch exceptions thrown by closing the WinNamedPipeStream during shutdownChris Wilson2007-03-10
| | | | | and suppress them. (refs #3, merges [1284])
* Code formatting (cosmetic) (refs #3, merges [1345])Chris Wilson2007-03-10
|
* Win32 compile fixes (no gettimeofday(), no signal()) (refs #3)Chris Wilson2007-03-10
|
* Throw an assertion error if a NULL timer is added (refs #3, merges [1367])Chris Wilson2007-03-10
|
* Report file and line of memory leak test failures (refs #3, merges [714])Chris Wilson2007-03-10
|
* Moved SendCommands(), HUPServer(), KillServer() to lib/server/ServerCommands.h.Chris Wilson2007-03-10
| | | | | | | | | | | | | | | | | All of these use lib/server/WinNamedPipeStream on Win32, so they don't belong in lib/common. Made LaunchServer() work on Win32. Added constants for paths to executables, for use in tests, removing the need for #ifdefs and clumsy DIRECTORY_SEPARATORs in paths. Added terminate_bbackupd() and wait_for_operation() functions. Update unit tests to #include "ServerControl.h" if they need it. (refs #3)
* Check for return code 3 (unreadable files) instead of return code 2Chris Wilson2007-03-10
| | | | | (refs #3, depends on [1378])
* Record the file and line of first test failure (refs #3, merges [593])Chris Wilson2007-03-08
|
* Check for d_ino member in struct dirent (refs #3, merges [1351])Chris Wilson2007-03-08
|
* Run housekeeping in idle time on Win32 (refs #3)Chris Wilson2007-03-08
|
* Report number of files and directories which could not be compared Chris Wilson2007-03-08
| | | | | | separately from compare failures, and report the appropriate return code (refs #3, merges [651])
* Report an appropriate error if the target path of the restore operationChris Wilson2007-03-08
| | | | | is not found (refs #3, merges [514])
* Catch exceptions during restore and report them, rather than abortingChris Wilson2007-03-08
| | | | | bbackupquery (refs #3)
* Count a difference when a local directory does not exist, but it doesChris Wilson2007-03-08
| | | | | exist on the server (refs #3)
* 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 make error when optional file doesn't exist (refs #3, merges [1098])Chris Wilson2007-03-04
|
* #include Test.h to fix compile (needed for TEST_THAT)Chris Wilson2007-03-04
| | | | | | | | | Improved error message Improved comments (refs #3, merges parts of [712], [1289] and [1337])
* Update build instructions for Cygwin/Win32 (refs #3)Chris Wilson2007-03-04
|
* Simplify check for PERLChris Wilson2007-03-04
| | | | | | | | | Define substitution TARGET_PERL and preprocessor PERL_EXECUTABLE to a native Perl (not Cygwin) on Win32, since Cygwin perl will not run inside bbackupd for unit tests (e.g. SyncAllowScript). (refs #3)
* Typo fixChris Wilson2007-03-04
|
* 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
|
* Stop locations from being deleted from the store just because their localChris Wilson2007-01-25
| | | | | directory can't be found, as suggested by Gary (refs #3)
* Improve error message when server fails to start (refs #3)Chris Wilson2007-01-21
|
* Buffer store file integrity checks (refs #3)Chris Wilson2007-01-17
|
* Buffer directory reads (refs #3)Chris Wilson2007-01-17
|
* When comparing, don't recurse into excluded directories, as their contentsChris Wilson2007-01-17
| | | | | | | | will not be on the store. Fix display of filenames during compare when backing up the root directory (double slash) (refs #3)
* Moved MakeFullPath into its own library file so that we can share itChris Wilson2007-01-17
| | | | | (BackupQueries needs it too) (refs #3)
* Use BufferedStream to speed up housekeeping by about ten times. (refs #3)Chris Wilson2007-01-17
|
* 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)
* Allow suppressing warnings about unsupported file types by excluding thoseChris Wilson2007-01-16
| | | | | files by name, using ExcludeFile (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
|
* Cosmetic whitespace fix (refs #3)Chris Wilson2007-01-16
|
* Log AccessDenied errors in a more concise form than general exceptions Chris Wilson2007-01-16
| | | | | (refs #3)