Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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. | ||
* | Improve some exception messages in lib/raidfile. | Chris Wilson | 2014-12-26 |
| | | | | | Use the new macros to ensure that exceptions contain a message and filename, following the new standard format. | ||
* | Fix test failures caused by using plain stat() instead of emu_stat(). | Chris Wilson | 2014-12-26 |
| | | | | | | | On Windows, plain stat() no longer handles slashes in filenames correctly (since upgrading MinGW? Or switching to 64-bit Windows?). We need to use POSIX fstat() for now in RaidFile, but we can still use the emu_stat, and in fact we should, to fix path translation. | ||
* | Fix more compile errors on MinGW | Chris Wilson | 2014-12-26 |
| | |||
* | Handle raidfile versioning better on low time accuracy systems. | Chris Wilson | 2014-09-04 |
| | | | | | | | | | We simulate a 1 second accuracy clock in DEBUG mode on all systems, to help catch corner cases in tests. This now applies to both RAID and non-RAID files. We always add file size to the version number to help detect changes, especially in such cases. In RELEASE builds, we use as much accuracy from the clock as we can get, as well as file size. | ||
* | Simplify code with macros, update comments and fix whitespace. | Chris Wilson | 2014-09-04 |
| | | | | | | Hopefully all of these changes are inconsequential. Merged back changes from the test refactor branch to reduce diffs. | ||
* | Fix deadlock waiting for read or write on closed connection. | Chris Wilson | 2014-08-15 |
| | | | | | | | | If the system is suspended then it may not realise that a TCP connection has been closed, while waiting for data to arrive on it. We didn't used to apply a timeout to this read operation. Now we use the connection's default timeout on all read and write operations. Network operations that don't pass a timeout will be logged with a backtrace, so that they can be fixed. | ||
* | Add a ToString method to IOStream and some subclasses. | Chris Wilson | 2014-04-29 |
| | | | | | Useful to help debug problems such as invalid file headers when the source of the stream might not be too obvious. | ||
* | Fix double parentheses, which llvm complains about. | Chris Wilson | 2014-02-11 |
| | |||
* | Repair damaged Box RAID objects and non-transformed .rfw files. | Chris Wilson | 2013-09-20 |
| | |||
* | Add a comment about removing one RaidFileWrite constructor. | Chris Wilson | 2013-09-20 |
| | |||
* | Fix misleading exception thrown. | Chris Wilson | 2013-09-19 |
| | |||
* | Log the number of the disc set that didn't exist, and the number actually ↵ | Chris Wilson | 2012-10-22 |
| | | | | configured. | ||
* | Fix double fault causing housekeeping to terminate, thanks to Dave Bamford. | Chris Wilson | 2012-06-11 |
| | |||
* | Improve RaidFile error logging. | Chris Wilson | 2011-03-27 |
| | |||
* | Detect whether we have sys/file.h and don't include it if not, fixes MSVC ↵ | Chris Wilson | 2011-03-27 |
| | | | | compile issue. | ||
* | Work around lack of unistd.h on MSVC. | Chris Wilson | 2011-03-27 |
| | |||
* | Improve error messages on failure to open a RaidFile for reading. | Chris Wilson | 2011-01-12 |
| | |||
* | Implement write buffering on directories. | Chris Wilson | 2010-09-13 |
| | |||
* | Run Perl scripts quietly during make. | Chris Wilson | 2010-01-24 |
| | |||
* | Allow RaidFileWrite to test that the reference count of an object is | Chris Wilson | 2009-07-05 |
| | | | | | correct before overwriting or deleting it. | ||
* | Improve RaidFileWrite error logging. | Chris Wilson | 2009-06-27 |
| | |||
* | Fixes for gcc 4.4. | Martin Ebourne | 2009-04-23 |
| | |||
* | 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. | ||
* | 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 | ||
* | Switch to C++ include file names. | Chris Wilson | 2009-03-24 |
| | |||
* | Fix tests (hopefully) on Win32 for struct stat ino_t change from 16 to | Chris Wilson | 2009-03-21 |
| | | | | | 64 bits. | ||
* | 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. | ||
* | Allow reinitialising the RaidFileController by removing any existing | Chris Wilson | 2008-12-26 |
| | | | | | disc sets before adding new ones. | ||
* | Fix typo in variable name. | Chris Wilson | 2008-11-15 |
| | |||
* | Log error when rename over RaidFile fails on Windows. | Chris Wilson | 2008-08-03 |
| | |||
* | Additional #includes, thanks to the T2 Project | Chris Wilson | 2008-04-18 |
| | | | | | (http://www.t2-project.org/packages/boxbackup.html) | ||
* | Add an error message giving the file name when an expected raidfile | Chris Wilson | 2008-04-09 |
| | | | | | does not exist, to help server operators to figure out what's wrong. | ||
* | Undo mangling by tailor | Chris Wilson | 2008-04-04 |
| | |||
* | Tailorization | Chris Wilson | 2008-04-04 |
| | | | | | | | | | | | Import of the upstream sources from Repository: http://localhost:8000/ Kind: hg Revision: 7807b7768163f1c2537756abe5416063989cebb1 Original author: tailor@rocio.int.aidworld.org Date: 2008-03-16 19:44:36+00:00 | ||
* | Replace all remaining use of TRACEx() macros with logging framework. | Chris Wilson | 2008-03-29 |
| | | | | | Remove the old TRACEx macros to catch any remaining uses. | ||
* | Allow configuration of the server port that the client will connect to | Chris Wilson | 2008-03-28 |
| | | | | | | | | | | | | | (bbackupd and bbackupquery). Redesign ConfigurationVerify to use classes instead of structs. Use port 22011 instead of 2201 during tests, to reduce the chances of conflicting with a running bbstored or other process. Ignore autogen_* in svn:ignore everywhere instead of individual per-file ignores. | ||
* | Always add file size to timestamp in release mode, to help caching work | Chris Wilson | 2008-01-31 |
| | | | | | | | | | | better on machines which claim to support high-res timestamps but actually don't (e.g. Linux, MacOS X). Never do so in debug mode, to help catch problems with the tests failing to sleep long enough between operations on different connections that can break caching subtly and randomly. | ||
* | Use @sysconfdir_expanded@ for default config file location. | Chris Wilson | 2008-01-28 |
| | | | | | | | Add some missing semicolons (optional but nicer). Reformat usage message for readability. | ||
* | Convert most printf() and fprintf() calls to use logging framework | Chris Wilson | 2007-08-02 |
| | | | | | instead. (refs #3) | ||
* | Replace almost all calls to syslog() with logging framework. (refs #3) | Chris Wilson | 2007-07-31 |
| | |||
* | Make RaidFileController::Initialise take a std::string instead of a | Chris Wilson | 2007-07-26 |
| | | | | | char array, in C++ style. (refs #3, merges [1683]) | ||
* | Fix erroneous line break. | Chris Wilson | 2007-04-20 |
| | |||
* | Added commentary to RaidFileDoesntExist exception. | Chris Wilson | 2007-04-20 |
| | |||
* | Code formatting (cosmetic) (refs #3, merges [1345]) | Chris Wilson | 2007-03-10 |
| | |||
* | Fix memory leak false alarms caused by static allocations. | Chris Wilson | 2006-11-13 |
| | |||
* | Undefine fstat() so that we get the Win32 POSIX version, instead of our | Chris Wilson | 2006-10-16 |
| | | | | | | | emulated version. Small code cleanup. (refs #3) | ||
* | (refs #3) | Chris Wilson | 2006-08-31 |
| | | | | | | | | | | | Open files in binary mode (Win32) Disable the lock failure block when we don't have any locking mechanism Close and delete files before renaming over them on Win32. This breaks Ben's desired recovery semantics, so it's not done on other platforms, but Win32 requires it. | ||
* | Revert to trunk | Chris Wilson | 2006-08-31 |
| | |||
* | (refs #3) | Chris Wilson | 2006-08-31 |
| | | | | | | | Don't include headers that we don't have Open RAID files in binary mode |