summaryrefslogtreecommitdiff
path: root/lib/common
Commit message (Collapse)AuthorAge
* Avoid recompiling everything on MSVC when BoxVersion.h changes.Chris Wilson2011-10-25
|
* 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.
* 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.
* Fix potential conflict between WINVERs in Timers.Chris Wilson2011-08-28
|
* Log failure to convert log string to console encoding on Windows.Chris Wilson2011-08-27
|
* Fix line endings.Chris Wilson2011-05-24
|
* Another virtual destructor, this time for IOStreamGetLine.Chris Wilson2011-05-04
|
* Add virtual destructors to GetLine and FdGetLine to silence warnings.Chris Wilson2011-05-04
|
* Allow stream formatting in "line" parameter of TEST_LINE macro.Chris Wilson2011-04-23
|
* Move S3Simulator into its own class, like S3Client, for reuse elsewhere.Chris Wilson2011-04-22
|
* Refactor GetLines to share common code, fix whitespace removal at end of line.Chris Wilson2011-04-22
|
* Include <process.h> to get a definition for getpid() from the Windows CRT,Chris Wilson2011-04-20
| | | | | to replace the emulated one in emu.cpp.
* Add some macros for Windows specific error logging.Chris Wilson2011-03-27
|
* Fix off-by-one errors caught by MSVC.Chris Wilson2011-03-27
|
* Avoid conflicting declarations of O_BINARY on MSVC compiles.Chris Wilson2011-03-26
|
* Hopefully fix divide by zero error on rate limiting stream.Chris Wilson2011-02-26
|
* Move TemporaryDirectory.h into Utils.h and Utils.cpp to avoid duplicateChris Wilson2011-01-21
| | | | | definitions of inline functions.
* Add an implementation of a stream wrapper that limits reading rate, toChris Wilson2011-01-12
| | | | | control bandwidth usage.
* Add some more logging and exception macros. Refactor to reduce nestingChris Wilson2011-01-12
| | | | | depth and increase modularity.
* Move accurate sleep code from Test.cpp to BoxTime, allow requesting timesChris Wilson2011-01-12
| | | | | | | in microseconds with ShortSleep(), make safe_sleep() use it. Rename MILLI_SEC_IN_NANO_SEC to MILLI_SEC_IN_SEC which is what it actually is.
* Add a macro for logging timespec structures. (merges [2744])Chris Wilson2011-01-08
|
* Avoid fatal error caused by recursive logging if we fail to open theChris Wilson2010-11-17
| | | | | file we're supposed to log to.
* Improve accuracy and utility of FileStream::StreamClosed().Chris Wilson2010-11-17
|
* Fix calculation error in buffered writer.Chris Wilson2010-09-13
|
* Implement write buffering on directories.Chris Wilson2010-09-13
|
* 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().
* Reformat TEST_CHECK_THROWS macro for readability.Chris Wilson2010-08-27
|
* Add support for account numbers greater than 0x7fffffff without wrapping.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 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.
* Update banner to say 2003-2010.Chris Wilson2010-02-17
|
* 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.
* 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
|
* 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
|