summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Fix spurious/suprious typos.Chris Wilson2007-03-25
| | | | | | | | | | | Use #defined paths for executables to remove win32/unix differences. Don't check for bbstored memory leaks on win32. Wrap long lines for readability. (refs #3)
* Use #defined paths for applications to fix cross unix/win32 compatibility.Chris Wilson2007-03-25
| | | | | | | | | Fix memory leak. Reformat comments. (refs #3)
* Fix unix path to bbstored (refs #3)Chris Wilson2007-03-25
|
* Added precompiled output from message compiler, for those who don'tChris Wilson2007-03-24
| | | | | have it, e.g. using MinGW instead of MSVC. (refs #3, merges [526])
* Indent cleanup (refs #3)Chris Wilson2007-03-24
|
* Merge new m4 from trunk. (refs #3, merges [1453])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 [1448])
* Initialise logging framework and set our program name to Chris Wilson2007-03-24
| | | | | | "Box Backup (bbstored)". (refs #3, merges [1462])
* Add a quiet mode to compare command, to make test output easier to read.Chris Wilson2007-03-24
| | | | | (refs #3, merges [1460])
* Move all command socket communications to the worker thread, to avoidChris Wilson2007-03-24
| | | | | | | | | | deadlocks. Use events, and a message list protected by a critical section, to pass messages between threads. (refs #3)
* 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])