summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
...
* Log the mismatched timestamps of files during compare in a human-readableChris Wilson2010-02-18
| | | | | | | | format as well as the raw numbers. Use existing helper functions to convert box_time_t to seconds, rather than just arbitrarily dividing by 1000000.
* Update banner to say 2003-2010.Chris Wilson2010-02-17
|
* Convert attributes to host byte order when reporting errors.Chris Wilson2010-02-16
| | | | | | | Convert timestamps to host byte order before dividing from usecs to secs, store in uint64_t variables to avoid truncation, and display in host byte order.
* Add overloaded hton() and ntoh() functions for file attribute comparisonChris Wilson2010-02-16
| | | | | macro.
* Move modification time functions out-of-line to help with debugging Chris Wilson2010-02-16
| | | | | them.
* Reformat for readability.Chris Wilson2010-02-16
|
* Support throwing exception with more complex stringstream-formatted Chris Wilson2010-02-15
| | | | | messages.
* Log more detailed info about backup comparison failures, for debugging.Chris Wilson2010-02-10
| | | | | | Enable -V option in bbackupquery, and document that -q, -v, -V and -W<level> are allowed in the command-line help.
* Allow logging any std::ostringstream expression in Chris Wilson2010-02-07
| | | | | THROW_EXCEPTION_MESSAGE, fixes compile error.
* Run Perl scripts quietly during make.Chris Wilson2010-01-24
|
* Revert the quotes part of [2588] as it breaks the unit tests.Chris Wilson2010-01-24
| | | | | Make LocalProcessStream constructor take a std::string& for C++ style.
* Add debugging for child processes terminating normally or abnormally,Chris Wilson2009-11-24
| | | | | | | as Brendon Baumgartner reported symptoms that sound like a bbstored child process crashing, and nothing in the logs indicates what happened to it.
* Add methods to read and write exact 32-bit and 64-bit types.Chris Wilson2009-11-11
|
* Make the version of Box Backup available for use in Boxi.Chris Wilson2009-08-25
|
* Add handling of relative paths to emu.cpp's openfile(), needed to handleChris Wilson2009-08-02
| | | | | relative paths in test configuration on Windows.
* Fix compile failure reported by Achim.Chris Wilson2009-08-01
|
* Add a static variable to store the exceptions suppressed flag.Chris Wilson2009-07-05
|
* Comment the return value of Chris Wilson2009-07-05
| | | | | BackupStoreRefCountDatabase::RemoveReference.
* Suppress exception warnings when they are expected during a test.Chris Wilson2009-07-05
|
* Allow RaidFileWrite to test that the reference count of an object is Chris Wilson2009-07-05
| | | | | correct before overwriting or deleting it.
* Allow std::ostringstream formatting on the "line" part of Chris Wilson2009-06-28
| | | | | | TEST_EQUAL_LINE, so that it can be used to report object IDs for example.
* Make GetRefCount return a refcount_t rather than an int32_t.Chris Wilson2009-06-28
| | | | | Make refcount_t unsigned and make its definition public.
* Add a #define for the Box Backup test port, 22011.Chris Wilson2009-06-28
|
* Make NamedLock take a std::string instead of a char pointer for C++ Chris Wilson2009-06-28
| | | | | style.
* Add code for BackupStoreRefCountDatabase.Chris Wilson2009-06-27
| | | | | | | Create a refcount database when creating a new account. Add an easier way to get the account root directory.
* Second part of FileExists change.Chris Wilson2009-06-27
|
* Make FileExists take a std::string instead of a const char * for C++ Chris Wilson2009-06-27
| | | | | style.
* Add a new exception type for refcount database errors.Chris Wilson2009-06-27
|
* Make BackupStoreAccountDatabase::AddEntry and Chris Wilson2009-06-27
| | | | | BackupStoreAccountDatabase::GetEntry return a copy of the new entry.
* Improve RaidFileWrite error logging.Chris Wilson2009-06-27
|
* Log the file name that could not be opened, even for access denied errors.Chris Wilson2009-05-22
|
* Improve debugging when opening temp file fails, by calling theChris Wilson2009-05-22
| | | | | filename constructor of FileStream.
* Fix test failure due to operator precedence problem with recentlyChris Wilson2009-04-27
| | | | | checked in system exit code comparison.
* Move definition of INVALID_HANDLE_VALUE and tOSFileHandle toChris Wilson2009-04-26
| | | | | BoxPlatform.h, to make them available in other files.
* Provide a function to close a file handle on Windows, analogous toChris Wilson2009-04-26
| | | | | openfile().
* Show expected and actual return codes from shell commands in tests.Chris Wilson2009-04-26
|
* Fixes for gcc 4.4.Martin Ebourne2009-04-23
|
* Fixes for gcc 4.4.Martin Ebourne2009-04-23
|
* Move S3Simulator into its own class, like S3Client, for reuse elsewhere.Chris Wilson2009-04-13
|
* Log unexpected test results using logging framework rather than printf.Chris Wilson2009-04-13
|
* Include missing Utils.h header, needed for FileExists().Chris Wilson2009-04-09
|
* Change default location for config files from /etc/box to Chris Wilson2009-04-09
| | | | | /etc/boxbackup, thanks to Reinhard Tartler and the Debian Project.
* Show reasons for waiting during bbackupd and backupstorepatch tests,Chris Wilson2009-04-09
| | | | | | | | | | | to help with interpreting test output. When running at Trace level, where extra output from bbackupd etc. is common, log a single line at the start of waiting, instead of progress dots, to help with interpreting output. Show number of seconds waited for on Windows as well as Unixes.
* gcc 4.3 and 4.4 compile fixes, thanks to Reinhard Tartler and the DebianChris Wilson2009-04-03
| | | | | | | | project. See also: http://patch-tracking.debian.net/package/boxbackup/0.11~rc2+r2072-1 http://lists.warhead.org.uk/pipermail/boxbackup/2009-April/005159.html
* Fix missing LOG_* defines on Windows.Chris Wilson2009-04-02
|
* Add date to file logger, as requested by Kenny Millington.Chris Wilson2009-03-29
|
* Change type of BackupStoreFilename not to derive from std::string, soChris Wilson2009-03-29
| | | | | | | | it can't accidentally be used as one. Fix use of encrypted filename in deleted file message, thanks to Kenny Millington for reporting.
* Hopefully fix compile error reported by Mirko on cross-compiler.Chris Wilson2009-03-29
|
* Add ability to specify a named log facility for syslog loggins, Chris Wilson2009-03-24
| | | | | requested by Kenny Millington.
* Switch to C++ include file names.Chris Wilson2009-03-24
|