summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* Spelling fix.Chris Wilson2008-08-21
|
* Take a const std::string& for the filename rather than a const char *, Chris Wilson2008-08-21
| | | | | for C++ style.
* Pass a RunStatusProvider and a ReadLoggingStream::Logger from Chris Wilson2008-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | BackupDaemon through BackupClientDirectoryRecord, BackupStoreFile and BackupStoreFileEncodeStream to ReadLoggingStream, to allow progress callbacks during file upload and cancelling upload part-way. Implement ReadLoggingStream::Logger in BackupClientDirectoryRecord::SyncParams, which thunks the notifications back to the ProgressNotifier. Add the SysadminNotifier interface from Boxi. Add NotifyIDMapsSetup() to ProgressNotifier. Change BackupClientDirectoryRecord::SyncParams to store references to the individual callback interfaces rather than BackupDaemon. Initialise all members in BackupDaemon. Add ability for BackupDaemon user to override the ProgressNotifier, LocationResolver, SysadminNotifier and RunStatusProvider that will be used during the backup. Make BackupDaemon::Location class public and provide access to the configured locations for Boxi (dangerous, they could be modified without BackupDaemon knowing it).
* Run status provider interface, needed to connect Box Backup to Boxi and Chris Wilson2008-08-21
| | | | | potentially other frontends and allow stopping a backup in progress.
* Change FileStream constructor to take a const std::string& instead of a Chris Wilson2008-08-21
| | | | | char array pointer, for C++ style.
* Make test failures more obvious, and log them through logging framework.Chris Wilson2008-08-11
|
* Convert console logging output to console encoding on Windows.Chris Wilson2008-08-09
|
* Map ERROR_SHARING_VIOLATION to EBUSY in openfile().Chris Wilson2008-08-09
|
* Win32 compile fix for WaitForServerStartup.Chris Wilson2008-08-08
|
* Replace manual pointer management with std::auto_ptr.Chris Wilson2008-08-08
|
* Separate LaunchServer and WaitForServerStartup.Chris Wilson2008-08-07
|
* Allow waiting for a process while killing it, will be needed for testsChris Wilson2008-08-07
| | | | | that fork() to avoid zombies and for ServerIsAlive to work.
* Allow externally controllic whether a daemon will run in the foregroundChris Wilson2008-08-07
| | | | | or not, will need this for running tests with internal bbstored.
* Add machine-readable output mode (with -m option) to bbstoreaccounts info.Chris Wilson2008-08-07
|
* When dumping stack traces, allow libc to allocate its own memory, ratherChris Wilson2008-08-06
| | | | | | than trying to manage a buffer ourselves, and free it with std::free without memory leak tracing.
* Formatting fix.Chris Wilson2008-08-06
|
* Allow passing C strings into TEST_FAIL_WITH_MESSAGE, not just string constants.Chris Wilson2008-08-06
|
* Log a warning with the file that couldn't be opened and the error code,Chris Wilson2008-08-06
| | | | | to help debus issues Pete Jalajas is having with Amazon S3 and fuse.
* Really enable PID logging on Windows.Chris Wilson2008-08-03
|
* Enable logging of PID on Windows.Chris Wilson2008-08-03
| | | | | Enable both -k and -K options on all platforms.
* Log error when rename over RaidFile fails on Windows.Chris Wilson2008-08-03
|
* Remove Windows limitation on Logging that showing PID was not possible.Chris Wilson2008-08-03
|
* Add getpid() emulation.Chris Wilson2008-08-03
|
* New timer implementation using TimerQueue on Windows to avoid the needChris Wilson2008-07-27
| | | | | to create and manage a separate thread ourselves.
* On Windows XP, you can open a process even after it's terminated, toChris Wilson2008-07-27
| | | | | | retrieve the exit code, so the check for process liveness has to be modified to make the basicserver test pass.
* Use the new time function when generating console log messages.Chris Wilson2008-07-27
|
* Add a function to format a BoxTime as a human-readable time onlyChris Wilson2008-07-27
| | | | | (for use in logging).
* Fix includes to get getpid() on Solaris and to make them easier to read.Chris Wilson2008-07-06
|
* Remove comma from last item in enum, to silence warnings from solaris cc.Chris Wilson2008-07-06
|
* Compile fix for strerror() on RedHat 9, thanks to Alex Howansky.Chris Wilson2008-06-30
|
* Larger buffer size for extended attributes, and better debugging.Chris Wilson2008-06-19
|
* Fix strerror include. Needed for gcc 4.3Martin Ebourne2008-05-29
|
* Fix possible memory corruption while dumping stack trace due to Chris Wilson2008-05-28
| | | | | mismatching new []/delete.
* Check that Box.h has been included early enough.Chris Wilson2008-05-28
|
* Include "Box.h" in the right place.Chris Wilson2008-05-28
|
* Add stat() intercept and stat() and lstat() post call hooks.Chris Wilson2008-05-28
|
* Demangle C++ names in backtrace on GCC using C++ ABI routines.Chris Wilson2008-05-28
|
* Move loading configuration into a separate method.Chris Wilson2008-05-28
| | | | | Add -W<level> option to set warning level explicitly.
* Add static Logging::GetNamedLevel() method to return a log level Chris Wilson2008-05-28
| | | | | specified by name as a string.
* Separate checks for file existing and file not empty.Chris Wilson2008-05-28
|
* Reformat for readability.Chris Wilson2008-05-28
|
* Add a GetMessage() method to Protocol objects to return a stringified Chris Wilson2008-05-28
| | | | | | | message as a string. Fix a typo in a comment.
* Move ServerControl functions out of line and into their own source file.Chris Wilson2008-05-28
|
* Initialise the exists variable and fix its type.Chris Wilson2008-05-28
|
* Add backtrace on exception in release builds.Chris Wilson2008-05-28
|
* Remove obsolete BackupStoreCheck::InsertObjectIntoDirectory class,Chris Wilson2008-05-06
| | | | | replaced with BackupStoreDirectoryFixer.
* Fix O(n^2) algorithm to insert lost objects into a directory, which wouldChris Wilson2008-05-06
| | | | | | become very slow with large directories (e.g. 100,000 files unattached) due to repeated reading and writing of the directory.
* Add restore -f option to force restore to continue after an error.Chris Wilson2008-05-05
|
* Fix typos in comments.Chris Wilson2008-05-04
|
* Fix typo.Chris Wilson2008-04-30
|