summaryrefslogtreecommitdiff
path: root/lib/raidfile
Commit message (Collapse)AuthorAge
* Replace all remaining use of TRACEx() macros with logging framework.Chris Wilson2008-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 Wilson2008-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 workChris Wilson2008-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 Wilson2008-01-28
| | | | | | | Add some missing semicolons (optional but nicer). Reformat usage message for readability.
* Convert most printf() and fprintf() calls to use logging frameworkChris Wilson2007-08-02
| | | | | instead. (refs #3)
* Replace almost all calls to syslog() with logging framework. (refs #3)Chris Wilson2007-07-31
|
* Make RaidFileController::Initialise take a std::string instead of aChris Wilson2007-07-26
| | | | | char array, in C++ style. (refs #3, merges [1683])
* Fix erroneous line break.Chris Wilson2007-04-20
|
* Added commentary to RaidFileDoesntExist exception.Chris Wilson2007-04-20
|
* Code formatting (cosmetic) (refs #3, merges [1345])Chris Wilson2007-03-10
|
* Fix memory leak false alarms caused by static allocations.Chris Wilson2006-11-13
|
* Undefine fstat() so that we get the Win32 POSIX version, instead of ourChris Wilson2006-10-16
| | | | | | | emulated version. Small code cleanup. (refs #3)
* (refs #3)Chris Wilson2006-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 trunkChris Wilson2006-08-31
|
* (refs #3)Chris Wilson2006-08-31
| | | | | | | Don't include headers that we don't have Open RAID files in binary mode
* Revert to trunkChris Wilson2006-08-31
|
* * mergeChris Wilson2006-07-27
| | | | | | | - This is my current patch queue. I think that all of these are safe to apply. This is just under half of the pending changes in chris/general (the easy half).
* This is part 2 of a patch from James O'Gorman.Martin Ebourne2006-03-04
| | | | | This just renames all of the files that configure now substitutes - no changes to any of the files.
* This is part 1 of a patch from James O'Gorman.Martin Ebourne2006-03-04
| | | | | configure now detects perl executable location and updates all scripts to use the correct path; also adds PERL_EXECUTABLE define to BoxConfig.h. makebuildenv.pl adds PERL define to all makefiles.
* Change "PPC workaround" to use union instead of memcpy(). All tests now pass.Jonathan Morton2006-02-12
|
* This ppc problem is clearly a common big-endian platform issue.Martin Ebourne2006-02-12
| | | | | | Remove ppc hack and configure option. Replace dubious casts with clearer use of memcpy to make this work on all platforms all of the time. Note that there isn't really a call to memcpy, the compiler inlines it as 2 int copies which is an insignificant overhead (even true with -O0).
* Added workaround option for GCC on the PPC platform. This is a manually ↵Martin Ebourne2006-02-11
| | | | | | invoked option because I do not know under what circumstances (eg. versions etc) the problem occurs. If the raidfile test fails in release mode but passes in debug mode then try this option and see if it fixes it.
* Fixing up svn:executable properties.Martin Ebourne2005-12-12
| | | | You may need a new checkout to see this.
* Merged martin/autoconf at r35 to trunkMartin Ebourne2005-12-07
|
* Merged martin/solaris at r9 to trunkMartin Ebourne2005-11-30
|
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14