summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Treat corrupt filenames (not decryptable) as not existing, so thatChris Wilson2012-04-15
| | | | | | | | | the client will flag them for deletion, and the store will eventually prune them. We could probably recover better by flagging them for immediate deletion (Remove_ASAP) but this is a better-tested code path. Remove unused variable hasMultipleHardLinks.
* Use C++ string instead of converting to C string and back.Chris Wilson2012-04-15
|
* Fix a memory leak when TcpNice is disabled.Chris Wilson2012-04-11
|
* Improve logging when decrypting a filename fails during UpdateItems().Chris Wilson2012-04-11
|
* Hopefully fix TcpNice setsockopt/struct tcp_info compile errors on Windows.Chris Wilson2012-03-16
|
* Really fix compile error this time.Chris Wilson2012-03-16
|
* Add support for SyncAllowScript to set maximum upload bandwidth dynamically.Chris Wilson2012-03-10
|
* Initialise the EWMA rate average to 0, and comment on variables in log message.Chris Wilson2012-02-12
|
* Add experimental "TCP Nice" mode, disabled by default.Chris Wilson2012-02-12
|
* Fix compile error, thanks to James and Buildbot :)Chris Wilson2012-02-02
|
* Force all options to be present to BackupClientRestore(), to fix Chris Wilson2012-02-02
| | | | | | | misinterpretation of char * arguments as bools. Use macros to simplify test code. Test that locations not present when bbackupd started will be detected and backed up if subsequently created.
* If a location was not present (on disk) when bbackupd started, don't forgetChris Wilson2012-02-02
| | | | | about it but start backing it up if it appears subsequently.
* Log which account we're housekeeping, to help debug housekeeping ↵Chris Wilson2012-02-02
| | | | crashes/failures.
* Make box_time_t signed so that we can subtract them without getting silly ↵Chris Wilson2012-02-02
| | | | answers.
* Store more details in protocol exceptions to help with debugging.Chris Wilson2012-02-02
|
* Set console log level as well as global level in tests.Chris Wilson2012-02-02
|
* Add missing space in log message for readability.Chris Wilson2012-02-02
|
* Disable automatic backups in the temploc configuration, and enable theChris Wilson2012-02-01
| | | | | | NotifyScript, so that we can tell what kind of errors bbackupd reported and reproduce them reliably.
* Allow overriding Logging::Guard to dump stack backtraces as well.Chris Wilson2012-01-23
|
* Log exceptions with backtrace even if suppressed when log level is ↵Chris Wilson2012-01-23
| | | | | | | Log::EVERYTHING also for exceptions with messages.
* Add missing typedef to allow use of ReturnCode enum.Chris Wilson2012-01-22
|
* Allow getting the object ID out from a BackupClientDirectoryRecord.Chris Wilson2012-01-22
|
* Print the message of the exception that caused a test to fail.Chris Wilson2012-01-22
|
* Catch trying to send a zero-length stream, which will cause an assertion ↵Chris Wilson2012-01-22
| | | | failure on the other side.
* Rename the BackupStoreDirectory::AddEntry's AttributesModTime parameter to ↵Chris Wilson2012-01-22
| | | | AttributesHash to avoid misleading the reader.
* Allow constructing a BackupClientFileAttributes from a struct EMU_STAT.Chris Wilson2012-01-22
|
* Improve logging of socket errors (create, bind, accept, and poll)Chris Wilson2012-01-22
|
* Log messages on failure to read, write, stat, seek and close files, with the ↵Chris Wilson2012-01-22
| | | | filename.
* Remove unnecessary GetNativeErrorMessage(), add BOX_LOG_SOCKET_ERROR macro.Chris Wilson2012-01-22
|
* File modification time helper functions don't need to modify their ↵Chris Wilson2012-01-22
| | | | arguments, so make them const.
* Allow getting the message out of a BoxException.Chris Wilson2012-01-22
|
* Allow log level "everything" to log exceptions even if suppressed.Chris Wilson2012-01-22
|
* Log disabling of exception logging to help understand test output.Chris Wilson2012-01-22
| | | | | Allow std::ostringstream formatting in expected/actual output comparison.
* Split option processing out of Daemon::Main() to ease use of Daemon class in ↵Chris Wilson2012-01-22
| | | | tests.
* Add remote host and port to post-login login message, requested by Pete Jalajas.Chris Wilson2011-12-13
|
* Log the account name with connections, disconnections and statistics, ↵Chris Wilson2011-12-12
| | | | requested by Pete Jalajas.
* Fix regex case issues on Windows (\S converted to \s for example). Ensure thatChris Wilson2011-12-03
| | | | | filename comparison is always case insensitive on Windows, by convention.
* Test that invalid directory entries (pointers to nonexistent objects) are ↵Chris Wilson2011-11-01
| | | | removed properly.
* Use a macro to verify block count adjustments to reduce duplicate code.Chris Wilson2011-11-01
|
* Fix spelling error in AddUnattachedObject method name.Chris Wilson2011-11-01
|
* Allow getting the number of errors found by a store checker object.Chris Wilson2011-11-01
|
* Remove debugging code.Chris Wilson2011-11-01
|
* Fix double </array> in bbstored plist.Chris Wilson2011-10-31
|
* Improve error message on bbackupd command socket bind failure, thanks to ↵Chris Wilson2011-10-31
| | | | Christophe.
* Delete any incomplete ID map database that we find, so that we can startChris Wilson2011-10-25
| | | | | | afresh with a new one, should solve most corrupt database errors such as the ones reported by Achim.
* Fix logging of real (non-VSS) paths in UploadFile*.Chris Wilson2011-10-25
|
* Avoid recompiling everything on MSVC when BoxVersion.h changes.Chris Wilson2011-10-25
|
* Add debug logging for conversion from VSS to real path.Chris Wilson2011-10-24
|
* Adjust for platforms where sizeof(long) < sizeof(void *), apparentlyChris Wilson2011-10-23
| | | | | | including Visual Studio 64-bit where sizeof(long) == 4. I don't fully understand the code, so I hope this adjustment is correct!
* Patch to support building on MinGW, thanks to Paolo ToscoChris Wilson2011-10-17
| | | | | (http://open3dalign.org, http://open3dqsar.org)