summaryrefslogtreecommitdiff
path: root/lib/backupstore
Commit message (Collapse)AuthorAge
* Improve messages on failure to load store info.Chris Wilson2011-01-12
|
* Count the root directory when creating a new account.Chris Wilson2010-08-27
|
* Change the store info file format to include an account name and the Chris Wilson2010-08-27
| | | | | | | | number of blocks in current (not old or deleted) files, an often-requested feature since this number is difficult to calculate otherwise, because files may be both old and deleted, thus counted twice.
* Count the number of files and directories in the account during account Chris Wilson2010-08-27
| | | | | | | | | check. Move directory entry checking code into its own method for readability. Reformat long lines for readability.
* Compile fix for [2694].Chris Wilson2010-06-06
|
* Fix compile failure reported by Achim.Chris Wilson2009-08-01
|
* Comment the return value of Chris Wilson2009-07-05
| | | | | BackupStoreRefCountDatabase::RemoveReference.
* Make GetRefCount return a refcount_t rather than an int32_t.Chris Wilson2009-06-28
| | | | | Make refcount_t unsigned and make its definition public.
* Add code for BackupStoreRefCountDatabase.Chris Wilson2009-06-27
| | | | | | | Create a refcount database when creating a new account. Add an easier way to get the account root directory.
* Make BackupStoreAccountDatabase::AddEntry and Chris Wilson2009-06-27
| | | | | BackupStoreAccountDatabase::GetEntry return a copy of the new entry.
* Change type of BackupStoreFilename not to derive from std::string, soChris Wilson2009-03-29
| | | | | | | | it can't accidentally be used as one. Fix use of encrypted filename in deleted file message, thanks to Kenny Millington for reporting.
* Fix tests (hopefully) on Win32 for struct stat ino_t change from 16 toChris Wilson2009-03-21
| | | | | 64 bits.
* Rename NDEBUG flag to BOX_RELEASE_BUILD, as other projects use NDEBUG as Chris Wilson2008-12-30
| | | | | | well (e.g. wxWidgets) and it causes conflicts which are difficult to resolve.
* Formatting fix.Chris Wilson2008-08-06
|
* Remove obsolete BackupStoreCheck::InsertObjectIntoDirectory class,Chris Wilson2008-05-06
| | | | | replaced with BackupStoreDirectoryFixer.
* Fix O(n^2) algorithm to insert lost objects into a directory, which wouldChris Wilson2008-05-06
| | | | | | become very slow with large directories (e.g. 100,000 files unattached) due to repeated reading and writing of the directory.
* Fix typos in comments.Chris Wilson2008-05-04
|
* Undo mangling by tailorChris Wilson2008-04-04
|
* TailorizationChris Wilson2008-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 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.
* Fix wrong comments, thanks to Nestor Arocha Rodriguez.Chris Wilson2007-10-08
|
* Convert most printf() and fprintf() calls to use logging frameworkChris Wilson2007-08-02
| | | | | instead. (refs #3)
* Make Configuration take a std::string filename instead of a char array,Chris Wilson2007-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in C++ style. Add a function to get default config file paths at runtime, dependent on the location of the executable being run. Pass the config file name directly to Daemon::Main, instead of faking argv. No default raid file path at compile time on Windows, depends on executable location when run. Determine RaidFile path at runtime if not supplied in config file on Windows. Don't define default locations for config files at compile time on Windows, provide macros to determine them at runtime instead. Make FileHandleGuard take a std::string instead of a char array, C++ style. Determine config file location at runtime instead of hard-coding on Windows. Thanks to Paul MacKenzie, Per Thomsen, Pete Jalajas, Stuart Sanders, Dave Bamford and Gary for pushing me to do this. (fixes #12) Determine config file path at runtime. Call Daemon::Main with config file name instead of building fake argv. (refs #3, merges [1684] [1685] [1686] [1687] [1688] [1689] [1690] [1691] [1692])
* Allow '/' as a path separator on all platforms, even Win32 (refs #3,Chris Wilson2007-03-25
| | | | | merges [1496])
* Fixed typo.Chris Wilson2006-11-13
|
* Use DIRECTORY_SEPARATOR instead of assuming that it's a forward slashChris Wilson2006-08-31
| | | | | (refs #3)
* Revert to trunkChris Wilson2006-08-31
|
* Use DIRECTORY_SEPARATOR instead of assuming that it's a forward slashChris Wilson2006-08-31
|
* * lib/backupstore/BackupStoreAccounts.cppChris Wilson2006-08-31
| | | | | - Revert to trunk
* * 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).
* 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
|
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14