Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | Don't try to kill daemons if not running, avoid error messages. | Chris Wilson | 2008-09-06 | |
| | ||||
* | Shorten long line | Chris Wilson | 2008-09-06 | |
| | ||||
* | Remove LICENSE.txt from being installed into the binary location. This is ↵ | James O'Gorman | 2008-09-05 | |
| | | | | | | | | definitely not the right place for it. The license needs to be in the distribution tarball but should not be installed. | |||
* | Fix GNUism in use of xargs (xargs -r is a GNU extension) - just get find to ↵ | James O'Gorman | 2008-09-05 | |
| | | | | perform the delete using -exec. | |||
* | Include signal.h if it exists. | Chris Wilson | 2008-09-03 | |
| | ||||
* | Add favicon images to version control. | Chris Wilson | 2008-08-25 | |
| | ||||
* | Make statistics back into a NOTICE level log again, as they're pretty | Chris Wilson | 2008-08-22 | |
| | | | | | important and useful. | |||
* | Make BackupQueries::CompareParams public so that Boxi can use it. | Chris Wilson | 2008-08-21 | |
| | ||||
* | Run housekeeping synchronously on all platforms if daemon is run in | Chris Wilson | 2008-08-21 | |
| | | | | | | | single process mode (-D), not just on Windows. Add a housekeeping interface to allow Boxi to run housekeeping. | |||
* | Report when directory modification time is later than last sync time as | Chris Wilson | 2008-08-21 | |
| | | | | | a possible cause of compare failure, just as we do with files. | |||
* | Use SelfFlushingStream to ensure that protocol streams are always | Chris Wilson | 2008-08-21 | |
| | | | | | | flushed, fixes a problem where local file is not readable during compare, and stream was not flushed, breaking the rest of the compare. | |||
* | Reformat for readability. | Chris Wilson | 2008-08-21 | |
| | ||||
* | Don't use private direct access to Configuration.mSubConfigurations. | Chris Wilson | 2008-08-21 | |
| | ||||
* | Better handle the case where __MSVCRT_VERSION__ is already defined (e.g. | Chris Wilson | 2008-08-21 | |
| | | | | | | | | | by wxWidgets) before including Box.h, as long as the defined version is high enough, to avoid mutual incompatibility with wxWidgets (needed for Boxi). Define O_BINARY if it's not already defined rather than using configury. | |||
* | Call virtual NotifyListenerIsReady() method when listening socket is | Chris Wilson | 2008-08-21 | |
| | | | | | ready, for Boxi thread synchronisation. | |||
* | Use ForkToHandleRequests in ServerStream template call to avoid compiler | Chris Wilson | 2008-08-21 | |
| | | | | | errors. | |||
* | Add a Flush() method to IOStream to read and discard all remaining data, | Chris Wilson | 2008-08-21 | |
| | | | | | | and a SelfFlushingStream class which can be used to ensure that protocol streams are always flushed, to avoid breaking protocol. | |||
* | Make Open() take a const std::string& for the socket name instead of a | Chris Wilson | 2008-08-21 | |
| | | | | | const char *, for C++ style. | |||
* | Only set spDaemon in Daemon::Main, to allow Boxi to have a BackupDaemon | Chris Wilson | 2008-08-21 | |
| | | | | | | | | | | | | and a BackupStoreDaemon in the same process in separate threads. Separate out Configure(filename) and Configure(Configuration) for Boxi. Use a std::auto_ptr to hold the Configuration so that we don't have to worry about releasing it ourselves. Remove some #ifdef WIN32. | |||
* | Allow constructing Configuration objects from scratch (for Boxi). | Chris Wilson | 2008-08-21 | |
| | | | | | Add a separate Verify() method. | |||
* | Spelling fix. | Chris Wilson | 2008-08-21 | |
| | ||||
* | Take a const std::string& for the filename rather than a const char *, | Chris Wilson | 2008-08-21 | |
| | | | | | for C++ style. | |||
* | Handle sysadmin notifications and calculate next sync time in | Chris Wilson | 2008-08-21 | |
| | | | | | | | BackupDaemon::RunSyncNow, moved from RunSyncNowWithExceptionHandling, which just does the exception handling. We want to replace the exception handling in Boxi, but not the other stuff. | |||
* | Propagate BackupStoreException::SignalReceived up to BackupDaemon to | Chris Wilson | 2008-08-21 | |
| | | | | | | abort the run, rather than treating it as a failure to upload a single file. | |||
* | More use of new interfaces, compile fix for [2245]. | Chris Wilson | 2008-08-21 | |
| | ||||
* | Pass a RunStatusProvider and a ReadLoggingStream::Logger from | Chris Wilson | 2008-08-21 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | BackupDaemon through BackupClientDirectoryRecord, BackupStoreFile and BackupStoreFileEncodeStream to ReadLoggingStream, to allow progress callbacks during file upload and cancelling upload part-way. Implement ReadLoggingStream::Logger in BackupClientDirectoryRecord::SyncParams, which thunks the notifications back to the ProgressNotifier. Add the SysadminNotifier interface from Boxi. Add NotifyIDMapsSetup() to ProgressNotifier. Change BackupClientDirectoryRecord::SyncParams to store references to the individual callback interfaces rather than BackupDaemon. Initialise all members in BackupDaemon. Add ability for BackupDaemon user to override the ProgressNotifier, LocationResolver, SysadminNotifier and RunStatusProvider that will be used during the backup. Make BackupDaemon::Location class public and provide access to the configured locations for Boxi (dangerous, they could be modified without BackupDaemon knowing it). | |||
* | Run status provider interface, needed to connect Box Backup to Boxi and | Chris Wilson | 2008-08-21 | |
| | | | | | potentially other frontends and allow stopping a backup in progress. | |||
* | Change FileStream constructor to take a const std::string& instead of a | Chris Wilson | 2008-08-21 | |
| | | | | | char array pointer, for C++ style. | |||
* | Understand Boxi SVN URLs and build an appropriate version string for Box | Chris Wilson | 2008-08-21 | |
| | | | | | Backup from them. | |||
* | Remove built binaries and libraries in clean target, so that it behaves | Chris Wilson | 2008-08-21 | |
| | | | | | | | | | | | | | | in a more conventional way, making way for a complete rebuild. Add proper parcel dependencies in GNU make to allow rebuilding just those parcels whose contents have changed. "make" now does what "make clean" would have done before, i.e. rebuild just those files which have changed, and their corresponding parcels. Use cp -p to copy files into parcel directory, so that files which have not changed will not cause the parcel tarball containing them to be rebuilt (-p is specified by POSIX 2004). | |||
* | Build lib/win32.a (even if empty) on all platforms, to help Boxi | Chris Wilson | 2008-08-21 | |
| | | | | | | | | | | | | linking. Allow overriding CXXFLAGS from Configure (was broken before). Use make -q to test whether module dependencies should be rebuilt, more quietly than before. Reformat for readability. | |||
* | Add handling of backup-error events to NotifySysAdmin.vbs. | Chris Wilson | 2008-08-11 | |
| | | | | | Fix spelling errors. | |||
* | Make test failures more obvious, and log them through logging framework. | Chris Wilson | 2008-08-11 | |
| | ||||
* | Test that store-full error is not wrongly generated on aborted connections. | Chris Wilson | 2008-08-10 | |
| | ||||
* | Move the code that runs a backup with exception handling into its own | Chris Wilson | 2008-08-10 | |
| | | | | | method, to allow testbbackupd to call it. | |||
* | Reformat comments for readability. | Chris Wilson | 2008-08-10 | |
| | ||||
* | Check for waitpid() function in configure. | Chris Wilson | 2008-08-10 | |
| | ||||
* | Link bbackupd test with objects from bin/bbstored. | Chris Wilson | 2008-08-10 | |
| | ||||
* | Handle multiple-line dependencies in Makefile.extra | Chris Wilson | 2008-08-10 | |
| | ||||
* | Convert console logging output to console encoding on Windows. | Chris Wilson | 2008-08-09 | |
| | ||||
* | Map ERROR_SHARING_VIOLATION to EBUSY in openfile(). | Chris Wilson | 2008-08-09 | |
| | ||||
* | Win32 compile fix for WaitForServerStartup. | Chris Wilson | 2008-08-08 | |
| | ||||
* | Replace manual pointer management with std::auto_ptr. | Chris Wilson | 2008-08-08 | |
| | ||||
* | Fix redundant logging of command socket messages. | Chris Wilson | 2008-08-08 | |
| | | | | | Reformat for readability. | |||
* | Rename BackupContext to BackupStoreContext. | Chris Wilson | 2008-08-07 | |
| | | | | | Add a TestHook to help test weird server behaviour such as crashes. | |||
* | Separate LaunchServer and WaitForServerStartup. | Chris Wilson | 2008-08-07 | |
| | ||||
* | Allow waiting for a process while killing it, will be needed for tests | Chris Wilson | 2008-08-07 | |
| | | | | | that fork() to avoid zombies and for ServerIsAlive to work. | |||
* | Allow externally controllic whether a daemon will run in the foreground | Chris Wilson | 2008-08-07 | |
| | | | | | or not, will need this for running tests with internal bbstored. | |||
* | Add machine-readable output mode (with -m option) to bbstoreaccounts info. | Chris Wilson | 2008-08-07 | |
| | ||||
* | When dumping stack traces, allow libc to allocate its own memory, rather | Chris Wilson | 2008-08-06 | |
| | | | | | | than trying to manage a buffer ourselves, and free it with std::free without memory leak tracing. |