summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* * bin/bbackupd/BackupDaemon.cppChris Wilson2006-08-20
| | | | | | | - Removed redundant exception handler (BoxException extends std::exception) - Changed error to warning if an exception is caught while trying to clean up from another exception on the command socket
* * bin/bbackupd/BackupDaemon.cppChris Wilson2006-08-20
| | | | | | | - Cleaned up SyncAllowScript cleanup code - Fixed catching std::exception while handling command socket to do the same as catching (...)
* * bin/bbackupquery/BackupQueries.cppChris Wilson2006-08-20
| | | | | - Renamed cmd_info_t to QueryCommandSpecification as requested by Ben
* * bin/bbackupquery/BackupQueries.cppChris Wilson2006-08-20
| | | | | - Removed options without code to handle them
* * bin/bbackupd/BackupDaemon.cppChris Wilson2006-08-20
| | | | | | | | | | - Restored initialisation of this->mReceivedCommandConn to false in handler thread. - Changed handling of all catch(...) blocks, which don't have an obvious outer exception handler, to catch std::exception first and report it with e.what(), as suggested by Martin. - Fixed some catch blocks to match coding standards.
* * bin/bbackupquery/BackupQueries.cppChris Wilson2006-08-09
| | | | | - Use a nicer data structure for commands and their options.
* * bbackupquery/BackupQueries.cppChris Wilson2006-08-09
| | | | | - Don't call geteuid() on Windows, since it lies to us anyway
* * bin/bbackupquery/BackupQueries.cppChris Wilson2006-08-09
| | | | | - Revert to trunk
* * lib/win32/WinNamedPipeStream.hChris Wilson2006-08-09
| | | | | | | | | * lib/win32/WinNamedPipeStream.cpp * lib/server/WinNamedPipeStream.h * lib/server/WinNamedPipeStream.cpp - Moved WinNamedPipeStream class from lib/win32 to lib/server, to resolve circular dependency between lib/common and lib/win32.
* * bin/bbackupd/BackupDaemon.cppChris Wilson2006-08-09
| | | | | | | | - Made the code more readable by defining a reference rSocket to mpCommandSocketInfo->mListeningSocket which is used several times. - Terminate the listening thread if it fails to bind a command socket. - Log any unrecognised commands received over the command socket.
* * bbackupd/BackupDaemon.cppChris Wilson2006-08-09
| | | | | - Cosmetic spelling and formatting fixes
* * bin/bbackupd/BackupDaemon.cppChris Wilson2006-08-09
| | | | | | - Use the result of SerializeStoreObjectInfo, if we failed to serialise (when no file existed) then no need to delete the file on the next run.
* * bbackupd/BackupDaemon.hChris Wilson2006-08-09
| | | | | | | * bbackupd/BackupDaemon.cpp - Made SerializeStoreObjectInfo() return a boolean, true if it successfully saved the store object info file, false otherwise.
* * bin/bbackupd/BackupDaemon.hChris Wilson2006-08-09
| | | | | - Revert to trunk
* * bin/bbackupd/BackupDaemon.cppChris Wilson2006-08-09
| | | | | - Reverted to trunk
* * bin/bbackupd/Win32BackupService.cppChris Wilson2006-08-09
| | | | | | | | | - Made RunService() pass the configuration file name to Win32BackupService::WinService() - Made WinService() calculate the default configuration file name more sanely and safely - Made WinService() not return before MAINHELPER_END
* * bbackupd/Win32BackupService.cppChris Wilson2006-08-09
| | | | | - Revert to trunk
* * bin/bbackupd/Win32ServiceFunctions.cppChris Wilson2006-08-09
| | | | | | | | - Improved diagnostic output if InstallService() fails - Ensure that InstallService() cleans up all resources - Check that the requested configuration file is accessible - Include the configuration file in the service parameters
* * bbackupd.cppChris Wilson2006-08-09
| | | | | | - Return the status code from InstallService() and RemoveService() as exit code (0 on success, 1 on failure)
* * bin/bbackupd/Win32ServiceFunctions.hChris Wilson2006-08-09
| | | | | | | | | | | | | | * bin/bbackupd/Win32ServiceFunctions.cpp - InstallService() and OurService() take the config file name as a parameter - InstallService() returns an integer status code like RemoveService() - OurService() sets the global static config file name to pass into the main thread later * bin/bbackupd/bbackupd.cpp - Call InstallService() and OurService() with the config file name as a parameter
* * Win32ServiceFunctions.hChris Wilson2006-08-09
| | | | | - Header update
* * bbackupd.cppChris Wilson2006-08-09
| | | | | | * Win32ServiceFunctions.h - Revert to trunk
* * Win32ServiceFunctions.cppChris Wilson2006-08-09
| | | | | | - RemoveService() returns a status code, 0 for success, 1 for error - RemoveService() outputs better diagnostic messages on failure
* * bin/bbackupd/Win32ServiceFunctions.cppChris Wilson2006-08-09
| | | | | | | | - Keep a static char pointer to hold onto the config file name to pass it to ServiceMain (over whose parameters we have no control). - ServiceMain passes the config file name as the parameter of the thread it creates.
* * bin/bbackupd/Win32ServiceFunctions.cppChris Wilson2006-08-09
| | | | | - More cosmetic spacing fixes
* * Win32ServiceFunctions.cppChris Wilson2006-08-09
| | | | | - Reindent ServiceMain function to match coding standards and rest of file
* * Win32ServiceFunctions.cppChris Wilson2006-08-09
| | | | | - Revert to trunk
* * bbackupctl.cppChris Wilson2006-08-08
| | | | | - Grammar fix in comments (cosmetic)
* * bin/bbackupctl/bbackupctl.cppChris Wilson2006-08-07
| | | | | | - Changed code structure to be more readable and robust, following Martin's advice.
* * bbackupctl.cppChris Wilson2006-08-07
| | | | | - Revert all changes back to trunk state
* * BoxPlatform.pm.inChris Wilson2006-08-07
| | | | | - Removed $build_cpu and `uname -p` entirely, as they are not used anywhere
* * 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).
* * http://bbdev.fluffy.co.uk/svn/box/chris/mergeChris Wilson2006-07-27
| | | | | | - Created a new branch as a public buffer for the process of merging general win32 into trunk
* Apply patch from Stuart Hickinbottom <stuarth@hickinbottom.demon.co.uk> to ↵Ben Summers2006-06-19
| | | | fix complication problems with gcc 4.1.1 where configure didn't detect LLONG_MAX properly. Fix by removing configure check completely, and using STL interface.
* * BackupQueries.cppChris Wilson2006-05-10
| | | | | - Check for d_type not working on this platform, and abort compare
* * bin/bbackupquery/BackupQueries.cppChris Wilson2006-05-10
| | | | | - Win32 compile fixes
* * BackupQueries.cppChris Wilson2006-05-04
| | | | | | | | | | | - Fixed wrong path displayed during compare failure (duplicate local variable names) - Renamed some variables to make their purpose clearer, making the code easier to read - Fixed some cases where untranslated names would be shown on Win32, probably with encoding errors if they contained intl characters - Fixed a couple of minor spelling mistakes in compare output
* Minor edit in bbstoreaccounts.xmlPer Reedtz Thomsen2006-04-26
|
* Added raidfile-config, bbstored-certs and bbstored-config.Per Reedtz Thomsen2006-04-26
| | | | | Also, hacked makefile to do the right thing.
* Fixed typo in 'clean' target. dockit tarball will now be deleted.Per Reedtz Thomsen2006-04-15
|
* Added bbstoreaccounts man page.Per Reedtz Thomsen2006-04-15
| | | | | | | | | | | | | | | Added man-page specific XSL stylesheets. Rearranged the layout of the output directories. There are now 2 output directories: - box-hmtl, which gets tarred up into the dockit tarball for installation on a web server. - man-pages, which contains all the .1.gz files for installation somewhere in $MANPATH (/usr/share/man/manX?)
* Added man-page for bbackupctl.Per Reedtz Thomsen2006-04-10
| | | | | Makefile changes, to accommodate unlimited number of man-pages
* Changed the 'Bugs' section, to include a description of how to file a bug.Per Reedtz Thomsen2006-04-06
|
* Added man page for bbackupquery, and updated Makefile to be able to build ↵Per Reedtz Thomsen2006-04-06
| | | | the man pages.
* generate_except_xml.pl: closing the files at the end of the script.Per Reedtz Thomsen2006-03-31
| | | | | Makefile: changing to use a macro everywhere for bb-book.xsl
* CSS file and images for the HTML pages.Per Reedtz Thomsen2006-03-30
|
* Changed bb-book.xsl to point to the correct places in the directory structure.Per Reedtz Thomsen2006-03-30
| | | | | | | | | | Admin Guide now contains all exception codes. See below. generate_except_xml.pl generates a DocBook Appendix with all exceptions from ExceptionCodes.txt. That is then included in the Admin Guide. Makefile updated to generate ExceptionCodes.xml, and the dockit.
* Added XSL customization layer, and Makefile.Per Reedtz Thomsen2006-03-29
| | | | | | The Makefile is pretty simple, and doesn't integrate into the full build. At least not at this time.
* Prevent runaway behaviour when the StoreObjectInfo file doesn't exist when ↵Ben Summers2006-03-19
| | | | it's expected to exist. Not a fix to the underlying problem.
* Renamed instguide.sgml -> instguide.xml, to make XXE editing a little easier.Per Reedtz Thomsen2006-03-14
| | | | | First cut of the admin guide. There are several TODO items there now.