Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Log more detailed info about backup comparison failures, for debugging. | Chris Wilson | 2010-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 Wilson | 2010-02-07 |
| | | | | | THROW_EXCEPTION_MESSAGE, fixes compile error. | ||
* | Run Perl scripts quietly during make. | Chris Wilson | 2010-01-24 |
| | |||
* | Add methods to read and write exact 32-bit and 64-bit types. | Chris Wilson | 2009-11-11 |
| | |||
* | Make the version of Box Backup available for use in Boxi. | Chris Wilson | 2009-08-25 |
| | |||
* | Add a static variable to store the exceptions suppressed flag. | Chris Wilson | 2009-07-05 |
| | |||
* | Suppress exception warnings when they are expected during a test. | Chris Wilson | 2009-07-05 |
| | |||
* | Allow std::ostringstream formatting on the "line" part of | Chris Wilson | 2009-06-28 |
| | | | | | | TEST_EQUAL_LINE, so that it can be used to report object IDs for example. | ||
* | Add a #define for the Box Backup test port, 22011. | Chris Wilson | 2009-06-28 |
| | |||
* | Make NamedLock take a std::string instead of a char pointer for C++ | Chris Wilson | 2009-06-28 |
| | | | | | style. | ||
* | Second part of FileExists change. | Chris Wilson | 2009-06-27 |
| | |||
* | Make FileExists take a std::string instead of a const char * for C++ | Chris Wilson | 2009-06-27 |
| | | | | | style. | ||
* | Log the file name that could not be opened, even for access denied errors. | Chris Wilson | 2009-05-22 |
| | |||
* | Improve debugging when opening temp file fails, by calling the | Chris Wilson | 2009-05-22 |
| | | | | | filename constructor of FileStream. | ||
* | Fix test failure due to operator precedence problem with recently | Chris Wilson | 2009-04-27 |
| | | | | | checked in system exit code comparison. | ||
* | Move definition of INVALID_HANDLE_VALUE and tOSFileHandle to | Chris Wilson | 2009-04-26 |
| | | | | | BoxPlatform.h, to make them available in other files. | ||
* | Show expected and actual return codes from shell commands in tests. | Chris Wilson | 2009-04-26 |
| | |||
* | Fixes for gcc 4.4. | Martin Ebourne | 2009-04-23 |
| | |||
* | Log unexpected test results using logging framework rather than printf. | Chris Wilson | 2009-04-13 |
| | |||
* | Change default location for config files from /etc/box to | Chris Wilson | 2009-04-09 |
| | | | | | /etc/boxbackup, thanks to Reinhard Tartler and the Debian Project. | ||
* | Show reasons for waiting during bbackupd and backupstorepatch tests, | Chris Wilson | 2009-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 Debian | Chris Wilson | 2009-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 | ||
* | Add date to file logger, as requested by Kenny Millington. | Chris Wilson | 2009-03-29 |
| | |||
* | Add ability to specify a named log facility for syslog loggins, | Chris Wilson | 2009-03-24 |
| | | | | | requested by Kenny Millington. | ||
* | Switch to C++ include file names. | Chris Wilson | 2009-03-24 |
| | |||
* | Include emu.h on all platforms to support EMU_*_STAT. | Chris Wilson | 2009-03-21 |
| | |||
* | Fix tests (hopefully) on Win32 for struct stat ino_t change from 16 to | Chris Wilson | 2009-03-21 |
| | | | | | 64 bits. | ||
* | Remove definitions of unwanted copy constructor and assignment operator, | Chris Wilson | 2009-01-05 |
| | | | | | to avoid accidentally calling them. | ||
* | Move IOStream::Write(char *) out of line for debugging. | Chris Wilson | 2009-01-04 |
| | |||
* | Move stream comparison code out of BackupQueries::Compare to | Chris Wilson | 2009-01-04 |
| | | | | | FileStream class. | ||
* | Move TEST_EQUAL macro into lib/common/Test.h, rename to TEST_EQUAL_LINE, | Chris Wilson | 2009-01-03 |
| | | | | | provide TEST_EQUAL that only takes two arguments for simplicity. | ||
* | Add a method to write a C style string directly to an IOStream. | Chris Wilson | 2009-01-03 |
| | |||
* | Add a function to return a native error message as a string. | Chris Wilson | 2008-12-30 |
| | |||
* | Rename NDEBUG flag to BOX_RELEASE_BUILD, as other projects use NDEBUG as | Chris Wilson | 2008-12-30 |
| | | | | | | well (e.g. wxWidgets) and it causes conflicts which are difficult to resolve. | ||
* | Include <string> header in all exception classes, as it's required by | Chris Wilson | 2008-12-08 |
| | | | | | exceptions that can have a message assigned in their constructors. | ||
* | Add BOX_LOG_NATIVE_ERROR and BOX_LOG_NATIVE_WARNING macros, which call | Chris Wilson | 2008-12-05 |
| | | | | | | | | | BOX_LOG_SYS_* or BOX_LOG_WIN_* depending on platform, as this is a common reason for #ifdefs elsewhere in the code. Add BOX_LOG_SOCKET_ERROR macro to log socket errors with the type, name and port of the socket that suffered the error. | ||
* | Allow exceptions to contain a message string. | Chris Wilson | 2008-12-05 |
| | |||
* | Reformat ASSERT macro for readability. | Chris Wilson | 2008-12-05 |
| | | | | | | | | Reformat THROW_EXCEPTION macro to avoid overlong lines. Add THROW_EXCEPTION_MESSAGE macro to allow throwing an exception with a message, such as the file name that caused the exception. | ||
* | Fix the use of an unreasonably short type as the temporary storage | Chris Wilson | 2008-12-01 |
| | | | | | | | | for inode numbers on Windows, resulting in all inode numbers being coerced into 2^16 space and many duplicates on systems with large numbers of files being backed up, possibly resulting in store corruption due to unwanted file rename operations. | ||
* | Compile fix and log the error number recorded by winerrno, not | Chris Wilson | 2008-11-30 |
| | | | | | the "last" error, whatever that was. | ||
* | Log the Windows error code if openfile() fails on Windows, as | Chris Wilson | 2008-11-30 |
| | | | | | | the default strerror() seems borked and reports EBUSY (file in use) as"Resource device". | ||
* | Silence warnings from openbsd gcc by using strncpy instead of strcpy. | Chris Wilson | 2008-10-26 |
| | |||
* | Check whether HAVE_UCRED_H is defined, not whether its value is 1. | Chris Wilson | 2008-10-24 |
| | |||
* | Fix compile errors on Debian Lenny, reported by Torsten. | Chris Wilson | 2008-10-17 |
| | |||
* | Use getpeerucred() to identify connecting socket clients on Solaris, | Chris Wilson | 2008-10-11 |
| | | | | | | | | and silence warnings that the peer cannot be identified on this platform. Remove another use of uname -o which doesn't work on Solaris. | ||
* | Fix spurious memory leak warnings on Solaris when using Sun Studio | Chris Wilson | 2008-10-11 |
| | | | | | compiler. | ||
* | Remove #ifdef WIN32 as we now define O_BINARY to 0 on Unixes, so | Chris Wilson | 2008-09-26 |
| | | | | | the same code can be used for both. | ||
* | Log reason for failing to write to a file. | Chris Wilson | 2008-09-26 |
| | |||
* | Add file logger class. | Chris Wilson | 2008-09-26 |
| | |||
* | Replace timer name when assigning from another timer. | Chris Wilson | 2008-09-26 |
| |