summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
...
* Fix demangled logging of backtraces on OSX by using dladdr to get functionChris Wilson2010-08-31
| | | | | names rather than trying to parse the results of backtrace_strings().
* Log the invalid log level.Chris Wilson2010-08-31
|
* Fix compile error on OpenSolaris 10/Sun Studio 12. (merges [2720])Chris Wilson2010-08-28
|
* It's not an error to be interrupted by a signal while waiting for an Chris Wilson2010-08-27
| | | | | | incoming connection. This is the normal way to shut down or reload bbackupd.
* Reformat TEST_CHECK_THROWS macro for readability.Chris Wilson2010-08-27
|
* Reformat comments for readability.Chris Wilson2010-08-27
|
* Count the root directory when creating a new account.Chris Wilson2010-08-27
|
* Change the store info file format to include an account name and the Chris Wilson2010-08-27
| | | | | | | | number of blocks in current (not old or deleted) files, an often-requested feature since this number is difficult to calculate otherwise, because files may be both old and deleted, thus counted twice.
* Count the number of files and directories in the account during account Chris Wilson2010-08-27
| | | | | | | | | check. Move directory entry checking code into its own method for readability. Reformat long lines for readability.
* Add inline helpers to check whether a directory entry is a file, Chris Wilson2010-08-27
| | | | | directory, old or deleted.
* Add support for account numbers greater than 0x7fffffff without wrapping.Chris Wilson2010-06-06
|
* Compile fix for [2694].Chris Wilson2010-06-06
|
* Replace BOX_FILE_BBACKUPD_DEFAULT_CONFIG with Chris Wilson2010-06-06
| | | | | BOX_GET_DEFAULT_BBACKUPD_CONFIG_FILE.
* Add header with macros for QDBM error logging.Chris Wilson2010-03-18
|
* Add new exception codes for database errors.Chris Wilson2010-03-18
|
* Make TestGetFileSize take a std::string instead of a char * for C++ Chris Wilson2010-03-18
| | | | | style.
* Add a new exception macro for throwing exceptions that are related to a Chris Wilson2010-03-18
| | | | | file but not system errors.
* fix typo properlyChris Wilson2010-03-02
|
* UndoChris Wilson2010-03-02
|
* typoChris Wilson2010-03-02
|
* Workaround for problem with nanosleep() return values on OSX causing testChris Wilson2010-02-28
| | | | | to hang.
* Add option to display attribute modification times from additional Chris Wilson2010-02-24
| | | | | attributes if available in bbackupquery.
* Add method to get updated modification time of Chris Wilson2010-02-24
| | | | | | | | BackupClientFileAttributes. Add listing of attribute modification time to bbackupquery "list -t" command.
* Add notification about uploading new file attributes.Chris Wilson2010-02-24
| | | | | | Add check for changing file creation times on Windows, to cause the attributes to be uploaded again.
* Add some exceptions for use by database handling classes.Chris Wilson2010-02-22
|
* Rename LOG_AND_THROW_ERROR macro to THROW_SYS_ERROR for consistency and Chris Wilson2010-02-22
| | | | | brevity. Add THROW_SYS_FILE_ERROR which adds a filename to the message.
* 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.