summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
...
* Hopefully fix TcpNice setsockopt/struct tcp_info compile errors on Windows.Chris Wilson2012-03-16
|
* 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
|
* 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.
* 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
|
* 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.
* 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.
* 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
|
* Improve error message on bbackupd command socket bind failure, thanks to ↵Chris Wilson2011-10-31
| | | | Christophe.
* Avoid recompiling everything on MSVC when BoxVersion.h changes.Chris Wilson2011-10-25
|
* 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!
* Fix illegal use of Logging::Add and Logging::Remove while iterating over loggersChris Wilson2011-10-11
|
* Log fatal exceptions in main helper using BOX_FATAL instead of printf, toChris Wilson2011-10-09
| | | | | ensure they get logged in all the right places.
* Split Win32 defines out of emu.h to enable Boxi to include them beforeChris Wilson2011-10-09
| | | | | | wx/wx.h (to set UNICODE properly) without also #including winnt.h before UNICODE is set properly.
* Recent Cygwin versions of MinGW now define O_BINARY as well, also inChris Wilson2011-10-08
| | | | | | fcntl.h, so include it if we can find it, and only define O_BINARY if it turns out to be missing.
* Recent Cygwin versions of MinGW now define O_BINARY as well, also inChris Wilson2011-10-08
| | | | | | fcntl.h, so include it if we can find it, and only define O_BINARY if it turns out to be missing.
* Silence warnings from new MinGW headers that expect __MINGW_FEATURES__Chris Wilson2011-10-08
| | | | | | | | to be defined. Check for fcntl.h and include it if we have it, not just on MSVC, now that MinGW also defines O_BINARY in newer versions.
* Flush stream after restore fails, thanks to Sune Molgaard for reporting.Chris Wilson2011-09-29
|
* Use "more standard" Windows API functions FindFirstFileW and FindNextFileWChris Wilson2011-08-28
| | | | | | | | | | for directory enumeration instead of _wfindfirst and _wfindnext. Ignore reparse points when enumerating directories to avoid infinite loops. Convert VSS paths back to real paths when notifying users about backup progress.
* Fix potential conflict between WINVERs in Timers.Chris Wilson2011-08-28
|
* Output the names of protocol files being written.Chris Wilson2011-08-28
|
* Add missing include of backup protocol.Chris Wilson2011-08-28
|
* Finish renaming auto-generated classes to fix compilation errors.Chris Wilson2011-08-28
|
* Log failure to convert log string to console encoding on Windows.Chris Wilson2011-08-27
|
* Combine client and server protocols to make way for an offline/local protocol.Chris Wilson2011-08-27
| | | | | Rename ProtocolObject to Message.
* Hopefully fix off-by-4 read of old-style BackupStoreInfo header, thanks to ↵Chris Wilson2011-06-30
| | | | Sune Mølgaard for reporting.
* Fix type aliasing that's strictly speaking incompatible and may actually be ↵Chris Wilson2011-06-22
| | | | | | | skipped by the compiler (according to http://blog.worldofcoding.com/2010/02/solving-gcc-44-strict-aliasing-problems.html).
* Improve error logging for store info and refcount database errors.Chris Wilson2011-06-16
|
* Fix line endings.Chris Wilson2011-05-24
|
* Move remaining parts of BackupStoreFile into lib/backupstore, and fix moduleChris Wilson2011-05-24
| | | | | | dependencies to fail if anything else required by bbstored is still in lib/backupclient instead of lib/backupstore.
* Blind fix for displaying error message as well as code when emu unicode ↵Chris Wilson2011-05-24
| | | | conversion fails.
* Another virtual destructor, this time for IOStreamGetLine.Chris Wilson2011-05-04
|