summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* Fix includes to get getpid() on Solaris and to make them easier to read.Chris Wilson2008-07-06
|
* Remove comma from last item in enum, to silence warnings from solaris cc.Chris Wilson2008-07-06
|
* Compile fix for strerror() on RedHat 9, thanks to Alex Howansky.Chris Wilson2008-06-30
|
* Larger buffer size for extended attributes, and better debugging.Chris Wilson2008-06-19
|
* Fix strerror include. Needed for gcc 4.3Martin Ebourne2008-05-29
|
* Fix possible memory corruption while dumping stack trace due to Chris Wilson2008-05-28
| | | | | mismatching new []/delete.
* Check that Box.h has been included early enough.Chris Wilson2008-05-28
|
* Include "Box.h" in the right place.Chris Wilson2008-05-28
|
* Add stat() intercept and stat() and lstat() post call hooks.Chris Wilson2008-05-28
|
* Demangle C++ names in backtrace on GCC using C++ ABI routines.Chris Wilson2008-05-28
|
* Move loading configuration into a separate method.Chris Wilson2008-05-28
| | | | | Add -W<level> option to set warning level explicitly.
* Add static Logging::GetNamedLevel() method to return a log level Chris Wilson2008-05-28
| | | | | specified by name as a string.
* Separate checks for file existing and file not empty.Chris Wilson2008-05-28
|
* Reformat for readability.Chris Wilson2008-05-28
|
* Add a GetMessage() method to Protocol objects to return a stringified Chris Wilson2008-05-28
| | | | | | | message as a string. Fix a typo in a comment.
* Move ServerControl functions out of line and into their own source file.Chris Wilson2008-05-28
|
* Initialise the exists variable and fix its type.Chris Wilson2008-05-28
|
* Add backtrace on exception in release builds.Chris Wilson2008-05-28
|
* 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.
* Add restore -f option to force restore to continue after an error.Chris Wilson2008-05-05
|
* Fix typos in comments.Chris Wilson2008-05-04
|
* Fix typo.Chris Wilson2008-04-30
|
* Additional #includes, thanks to the T2 ProjectChris Wilson2008-04-18
| | | | | (http://www.t2-project.org/packages/boxbackup.html)
* Add an error message giving the file name when an expected raidfileChris Wilson2008-04-09
| | | | | does not exist, to help server operators to figure out what's wrong.
* Reformat long line in CipherContext.cpp and fix a typo in comment.Chris Wilson2008-04-09
|
* Reformat long lines in BackupClientRestore.cpp for readability.Chris Wilson2008-04-09
|
* Move test helper functions out-of-line to aid debugging by allowingChris Wilson2008-04-09
| | | | | breakpoints to be set on them.
* Fix memory leak in [2133] (merges [1944])Chris Wilson2008-04-05
|
* Convert UTF-8 to Unicode for logging in Windows Event Log, so thatChris Wilson2008-04-05
| | | | | | international paths and filenames are displayed correctly. (merges [1942])
* Close process token in EnableBackupRights(), thanks Charles!Chris Wilson2008-04-05
| | | | | | | | | | | Improve error messages in EnableBackupRights() when failing to enable the backup privilege. Use file size returned by GetFileInformationByHandle in emu_fstat instead of calling GetFileSizeEx(), thanks Charles! Merges [1939].
* Command-line option fix from [1975]Chris Wilson2008-04-05
|
* Comment wrapping fix from [1958]Chris Wilson2008-04-05
|
* 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
* Make usage output (from bbstoreaccounts info and bbackupquery usage)Chris Wilson2008-04-03
| | | | | | consistent and easier to read, with blocks, B/kB/MB/GB, % and an ASCII bar graph.
* Fix a bug where trying to log a variable called "line" would log the addressChris Wilson2008-03-30
| | | | | of the std::ostringstream instead (duh, I hate macros).
* Replace all remaining use of TRACEx() macros with logging framework.Chris Wilson2008-03-29
| | | | | Remove the old TRACEx macros to catch any remaining uses.
* No need to save errno any more.Chris Wilson2008-03-29
|
* Close after logging socket error, so that we don't lose errno.Chris Wilson2008-03-29
|
* 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.
* Improve logging with macros that consistently output strerror(errno) andChris Wilson2008-03-28
| | | | | | | | | | | | | | | errno, replacing almost all use of strerror() in the main code. Log a more detailed error message before throwing an exception for some more system call failures. Make FileStream store its filename on all platforms, not just Windows. Wrap some long lines at less than 80 characters to improve readability. Fix some minor violations of coding standard (white space) and a typo in a comment.
* Reduce log level of message from server child from WARNING to NOTICE, asChris Wilson2008-03-28
| | | | | it's just the IP and port of the remote side of the connection.
* Add the -K option to Daemons on Windows to keep them quiet even though Chris Wilson2008-03-13
| | | | | | | | they don't fork by themselves. This is because the tests are able to run them in the background, and if they keep the console open then they will continue to spew to it. This option is normally only useful when running the daemon in a test.
* Fix compile error.Chris Wilson2008-03-13
|
* Ignore ERR_NO_DATA while writing to control socket on Windows, as it Chris Wilson2008-03-13
| | | | | just means that the Pope is being closed.
* Only log daemon banner to syslog, not to console, as this is probably Chris Wilson2008-03-01
| | | | | | what users expect (and they have no way to control verbosity on the console this early).
* Add support for logging just to syslog (not console) at a given Chris Wilson2008-03-01
| | | | | priority.
* Workaround for (buggy?) gcc not finding inherited Main method on Chris Wilson2008-03-01
| | | | | Windows.
* Don't try to define our own dirfd() macro on platforms where interceptionChris Wilson2008-02-25
| | | | | is impossible (such as win32) because it's not needed and fails on win32.