Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix memory leak tracking of calloc() allocations | Chris Wilson | 2015-08-08 |
| | |||
* | Allow moving a CollectInBufferStream's contents to another one | Chris Wilson | 2015-08-07 |
| | |||
* | Allow releasing a MemoryBlockGuard | Chris Wilson | 2015-08-07 |
| | |||
* | Whitespace cleanup | Chris Wilson | 2015-08-07 |
| | |||
* | Add S3Store account creation. | Chris Wilson | 2015-07-31 |
| | |||
* | Move InvalidConfiguration exception to CommonException. | Chris Wilson | 2015-07-31 |
| | | | | Allows it to be used by S3Store, or in fact anything that uses Configuration. | ||
* | Move load_config_file to Test.cpp to allow reuse. | Chris Wilson | 2015-07-25 |
| | |||
* | Refactor BackupStoreInfo to allow loading from any IOStream. | Chris Wilson | 2015-07-19 |
| | |||
* | Major test refactor to support test suites. | Chris Wilson | 2015-07-01 |
| | | | | | | | Refactor all common code from testbbackupd and testbackupstore to allow other test suites to contain multiple tests and execute selected tests more easily. Report all test results within a suite in a standard, easy to read summary. | ||
* | Allow MemoryBlockGuard to guard a block passed in (already malloced). | Chris Wilson | 2015-06-10 |
| | |||
* | Add support for optional items in Archives. | Chris Wilson | 2015-06-10 |
| | | | | | If the item is not present (the end of the Archive is reached instead) then a default value is returned instead of throwing an exception. | ||
* | Add missing timeouts to Archive Read() calls. | Chris Wilson | 2015-06-10 |
| | |||
* | Fix logging of NamedLock acquisition for O_EXLOCK method. | Chris Wilson | 2015-06-10 |
| | |||
* | Add usage example for -L option, showing how module names were compiled in | Chris Wilson | 2015-06-10 |
| | |||
* | Fix NamedLock release on Windows. | Chris Wilson | 2015-05-16 |
| | | | | | | On Windows we can't delete the file while it's open, and we don't need to, because we opened it for exclusive use, so another process can't lock it between us unlocking and deleting it. | ||
* | Fix lock race condition by unlinking before closing the file handle. | Chris Wilson | 2015-05-04 |
| | |||
* | Add extra logging for acquiring and releasing NamedLocks. | Chris Wilson | 2015-05-04 |
| | |||
* | Add command-line option to limit log messages to certain file(s). | Chris Wilson | 2015-05-04 |
| | | | | | E.g. you can run with -L NamedLock.cpp to only show messages logged in that file. You can also repeat it to only show messages from certain files. | ||
* | Define BOX_SOCKET_ERROR_MESSAGE, replace more BOX_LOG_SOCKET_ERROR calls ↵ | Chris Wilson | 2015-04-15 |
| | | | | with it. | ||
* | Add ability to run commands in context with TEST_CHECK_THROWS_AND_OR. | Chris Wilson | 2015-04-15 |
| | | | | | Allows the exception message to be captured before it goes out of scope. | ||
* | Add a static GetMessage() to get exception message for a known subtype code. | Chris Wilson | 2015-04-15 |
| | |||
* | Fix file locking on Windows. | Chris Wilson | 2015-04-13 |
| | | | | | NamedLock simply didn't work before. This may cause test failures, but the tests are already failing on Windows, and must be fixed. | ||
* | Improve error logging in win32 emu library. | Chris Wilson | 2015-04-06 |
| | | | | | | Consistently capture the last Windows error code in the global variable winerrno. Add logging macros that report the Windows error message for this error code. | ||
* | Catch setitimer() failure, throw exceptions with descriptive messages in ↵ | Chris Wilson | 2015-04-06 |
| | | | | Timer.cpp. | ||
* | Whitespace and semicolon-after-macro fixes. | Chris Wilson | 2015-04-06 |
| | |||
* | Add missing timeouts to Archive reads. | Chris Wilson | 2015-04-06 |
| | | | | Allows Archive to be used safely on network streams. | ||
* | Fix BOX_SYSLOG macro to provide a category. | Chris Wilson | 2015-02-25 |
| | |||
* | Reduce verbosity of testcommon by hiding some log messages. | Chris Wilson | 2015-02-25 |
| | |||
* | Reduce test output noise by hiding some error messages in tests. | Chris Wilson | 2015-02-25 |
| | | | | | Should make the Travis logs shorter and more readable. | ||
* | Don't redirect logging to stderr any more. | Chris Wilson | 2015-01-04 |
| | | | | | | We have more fine-grained control over logging now, including ability to log to a file in bbackupquery and all daemons, and users can't redirect stderr on Windows. https://www.boxbackup.org/ticket/50 | ||
* | Add missing include file for PATH_MAX. | Chris Wilson | 2015-01-02 |
| | |||
* | Fix error logging when file open fails on Windows. | Chris Wilson | 2015-01-02 |
| | | | | | | We need to use the saved Windows error code from GetLastError(), rather than calling it again, because another system call has run in the mean time and GetLastError() will now return 0. | ||
* | Write memory leak report files to current working directory saved at startup. | Chris Wilson | 2015-01-02 |
| | | | | | | Fixes tests broken by changing current directory, for example in bbackupquery, which meant that the report file was written in the wrong place and couldn't be found by the test, causing a failure. | ||
* | Fix more compile errors on MinGW | Chris Wilson | 2014-12-26 |
| | |||
* | Make memleakfinder_setup_exit_report() take a std::string, for C++ style. | Chris Wilson | 2014-12-22 |
| | |||
* | Replace Write(const char *) with Write(const std::string&). | Chris Wilson | 2014-12-22 |
| | | | | | This is better for C++ style and potential missing null termination. | ||
* | Add a TEST_LINE_OR macro to compare strings and execute a command if no equal. | Chris Wilson | 2014-12-21 |
| | |||
* | Fix computation of fractional second part of ShortSleep(). | Chris Wilson | 2014-12-21 |
| | | | | | | | Reduce precision in log messages from microseconds to milliseconds. Log the amount of time actually slept in ShortSleep(). | ||
* | Reduce detail on logging box_time_ts from microseconds to milliseconds. | Chris Wilson | 2014-12-21 |
| | | | | | | There's not much point logging with higher precision when no normal platform will deliver it. | ||
* | Add logging for functions that trigger bbackupd using bbackupctl. | Chris Wilson | 2014-12-21 |
| | |||
* | Remove unused files. | Chris Wilson | 2014-12-15 |
| | |||
* | Fix compile on platforms without execinfo.h | Chris Wilson | 2014-12-06 |
| | |||
* | Add option to truncate log file at start of every backup. | Chris Wilson | 2014-11-16 |
| | | | | Prevents backup log files from becoming too large. | ||
* | Fix inability to access locations starting with a slash. | Chris Wilson | 2014-09-18 |
| | | | | | | Thanks to Jean-Yves Moulin for reporting this issue. When bbackupd is configured to create locations whose names contain a slash, it was impossible to escape it, and thus to enter the directory in bbackupquery to inspect or restore it. | ||
* | Fix formatting of subsecond timestamps in log messages | Chris Wilson | 2014-09-18 |
| | |||
* | Add check for tracking the same memory block twice | Chris Wilson | 2014-09-18 |
| | |||
* | Increase built-in backtrace length from 10 to 20. | Chris Wilson | 2014-09-04 |
| | | | | Helps track down missing network operation timeouts. | ||
* | Add missing timeouts in StreamableMemBlock::Set and testbbackupd. | Chris Wilson | 2014-09-04 |
| | | | | | Reduces warnings about network operations with no timeout. May prevent some hangs that might have occurred waiting forever for network data in the past. | ||
* | Add a std::string GetLine() to IOStreamGetLine. | Chris Wilson | 2014-09-04 |
| | | | | This is needed by the refactored bbackupd tests. | ||
* | Fix error in BufferedStream::StreamDataLeft. | Chris Wilson | 2014-09-04 |
| | | | | | | | | StreamDataLeft() incorrectly returned false when there was still data buffered, which made IOStream::CopyStreamTo stop copying early, resulting in incomplete files when copying data out of a BufferedStream. This meant that tests involving a local protocol, where a BufferedStream was copied directly to a RaidFile, resulted in corrupted files that would not verify. |