summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Compile fix to [1448] (refs #3)Chris Wilson2007-03-24
|
* Reformat long lines for readability. (refs #3, merges remainder of [1459])Chris Wilson2007-03-24
|
* Better handle a case where a force-sync command comes in immediatelyChris Wilson2007-03-24
| | | | | | | after (or during) a sync, i.e. less than MinimumFileAge seconds after the last one. In this case, just move back the syncPeriodStart by 1 second. (refs #3, merges part if [1459])
* iUse our new ClientException codes for clock skew and archive problems.Chris Wilson2007-03-24
| | | | | (refs #3, merges part of [1459])
* Improve logging of pipe errors by including the error message. (refs #3,Chris Wilson2007-03-24
| | | | | merges part of [1458])
* Add autogen_ClientException.o to testbbackupd extra objects, because itChris Wilson2007-03-24
| | | | | links against bbackupd objects which need this. (refs #3, merges [1456])
* Add new exception codes for use in bbackupd, and possibly other clients.Chris Wilson2007-03-24
| | | | | (refs #3, merges [1455])
* Initialise logging framework and set sensible default verbosity levelsChris Wilson2007-03-24
| | | | | in bbackupquery (refs #3, merges [1449])
* Remove newlines from syslog() messages. (refs #3, merges [1447])Chris Wilson2007-03-24
|
* Fix header include order. (refs #3, merges [1446])Chris Wilson2007-03-24
|
* Use logging framework to remove timer noise for those who don't want it.Chris Wilson2007-03-24
| | | | | (refs #3, merges [1445])
* Trivial code simplification. (refs #3, merges [1444])Chris Wilson2007-03-24
|
* Reduce default logging level in debug builds from TRACE back down to INFO,Chris Wilson2007-03-24
| | | | | to reduce noise in tests. (refs #3, merges [1441])
* Use logging framework to reduce noise for those who don't want itChris Wilson2007-03-24
| | | | | (refs #3, merges [1439] [1440] [1443])
* Initialise logging framework and set our program name to Box Backup (bbstored)Chris Wilson2007-03-24
| | | | | (refs #3, merges [1462])
* Add emulated rename() with path conversion. (refs #3, merges [1436] andChris Wilson2007-03-24
| | | | | [1438])
* Change named pipe from message to byte mode. Thanks to Charles LeckliderChris Wilson2007-03-24
| | | | | for pointing this out.
* Use memmove() for overlapping source and destination buffer. Thanks toChris Wilson2007-03-24
| | | | | Charles Lecklider for pointing this out. (refs #3, merges [1442])
* Reinitialise the OVERLAPPED structure each time we start a new overlappedChris Wilson2007-03-24
| | | | | | read. Thanks to Charles Lecklider for pointing this out. (refs #3, merges part of [1458])
* Fix compilation error reported by Torsten Boob (refs #3)Chris Wilson2007-03-24
|
* Move lib/common/ServerControl.h to lib/server where it belongs, sinceChris Wilson2007-03-22
| | | | | it uses server functions (WinNamedPipeStream on win32) (refs #3)
* Trace reasons for uploading (or not) each fileChris Wilson2007-03-22
|
* Log at trace level by default in debug builds (refs #3)Chris Wilson2007-03-22
|
* Add a new notification constant, NotifyEvent_BackupError, for use whenChris Wilson2007-03-22
| | | | | | | | | | | | | an exception occurs during the backup. Make bbackupd notify sysadmin when an exception occurs during the backup, using this error code, and the notification string "backup-error". Change NotifyEvent__MAX to be one greater than the highest notification constant, makes code more maintainable. (refs #3)
* Flush stdout when writing to it (refs #3)Chris Wilson2007-03-22
|
* Test that bbackupd reports an error when the backup failed due to anChris Wilson2007-03-22
| | | | | exception (refs #3)
* Use unique name for compare log (refs #3)Chris Wilson2007-03-22
|
* Flush stdout after writing to it (refs #3)Chris Wilson2007-03-22
|
* Test expected behaviour for modifying a file without changing its modtime,Chris Wilson2007-03-22
| | | | | both tracked and untracked (refs #3)
* Improve output messages when waiting for daemon to start (refs #3)Chris Wilson2007-03-22
|
* Simplify wait code (refs #3)Chris Wilson2007-03-22
|
* Fixes for cross-compiling from Ubuntu Breezy (refs #3, merges [573])Chris Wilson2007-03-10
|
* Remove #ifdefs, no longer required (refs #3, merges [1418])Chris Wilson2007-03-10
|
* Group remaining set*id() and get*id() functions. Improve comments aboutChris Wilson2007-03-10
| | | | | why they are being retained. (refs #3, related to [634])
* Add new syslog level emulations (refs #3, merges remainder of [1299])Chris Wilson2007-03-10
|
* Reorder for clarityChris Wilson2007-03-10
| | | | | | | | | Expose GetErrorMessage() Improve comments (refs #3, merges [1365])
* Remove #define BOX_VERSION since we now get it from BoxVersion.h viaChris Wilson2007-03-10
| | | | | | BoxPlatform.h when building with MSVC, and from the Makefiles when building with MinGW. (refs #3, merges part of [634])
* Use #defines to replace POSIX functions with emulated ones on MinGW,Chris Wilson2007-03-10
| | | | | | | | | | | | | like we do on MSVC. This allows us to #undef them when we really need to use the original platform function (if available). Disable emulated fstat() in raidfile (and use the platform one) by undefining fstat, since it doesn't use the other emulated file handling functions, or need Unicode support, and it can't take a filehandle returned by open() (only openfile()). (refs #3, merges [1045])
* Compile fix for [1397] (refs #3)Chris Wilson2007-03-10
|
* Added d_type member to struct dirent, initialise with S_IFDIR or S_IFREGChris Wilson2007-03-10
| | | | | | | MinGW compile fix (refs #3, merges [775])
* First attempt to achieve a more logical order in this chaos:Chris Wilson2007-03-10
| | | | | | reordered all typedefs to be clearer and more readable (refs #3, merges [766])
* Fix two memory leaks and one buffer overflow in codepage conversion code.Chris Wilson2007-03-10
| | | | | (refs #3, merges [1340])
* Typo fix (refs #3)Chris Wilson2007-03-10
|
* We don't have access to DIRECTORY_SEPARATOR_ASCHAR in lib/win32Chris Wilson2007-03-10
| | | | | (refs #3, merges [1362])
* Fix handling of O_EXCL to behave just like Unix, not abused to lock files.Chris Wilson2007-03-10
| | | | | | | Add a new constant which specifies that files are to be locked open. (refs #3, merges [1288])
* Improve GetErrorMessage() by including the error number/code in the messageChris Wilson2007-03-10
| | | | | | (helps debugging on foreign langauge versions of Windows) (refs #3, merges [1364])
* Print localised error messages rather than error codes for all errorsChris Wilson2007-03-10
| | | | | (refs #3, merges [1046])
* Expanded character set conversion API to allow arbitrary conversionsChris Wilson2007-03-10
| | | | | | (needed to handle command lines with international encodings) (refs #3, merges [1038])
* We can't use lib/common here, so we don't have ASSERT() (refs #3)Chris Wilson2007-03-10
|
* Our timer code only supports ITIMER_REAL (refs #3)Chris Wilson2007-03-10
|