summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Remove old hard-coded MSVC and MinGW configs.Chris Wilson2016-09-10
| | | | Should be replaced by CMake now.
* Configure line-ending behaviour for Git.Chris Wilson2016-09-10
| | | | This will probably require a re-checkout on all Windows boxes.
* Ignore some more files generated by CMake builds.Chris Wilson2016-09-10
|
* Set test timeouts for CMake tests.Chris Wilson2016-09-10
| | | | | | Should avoid infinite test hangs, especially on Appveyor, where a bad compile (mixed runtimes) or an abort can popup an error message at runtime which hangs the test forever.
* Optimisation: for CMake builds, replace generated files only if changed.Chris Wilson2016-09-10
| | | | | Speeds up local development by avoiding unnecessary rebuilds when files have not changed.
* Replace most of Appveyor Windows build script with a CMakefile.Chris Wilson2016-09-09
| | | | | Should make it easier for Windows developers to get started by automating almost everything.
* Add clean and realclean targets to each module's mini Makefile.Chris Wilson2016-09-09
| | | | Remove unnecessary extra printing while configuring modules.
* Fix Unix compilation using CMake.Chris Wilson2016-09-09
| | | | | | | | | | Add platform detection that's compatible with the old buildsystem and its m4 autoconfigury. Make Travis build and test using CMake as a separate target. Remove unused function BoxGetTemporaryDirectoryName() to fixes compile using CMake on Unix.
* Break dependency on Cygwin commands in Windows tests.Chris Wilson2016-09-03
| | | | | | Define WIN32 properly when building with CMake, and in this case, use native commands such as attrib.exe instead of Cygwin chmod, so that users don't have to install Cygwin or msys-git.
* Update platform feature detection to work with CMake.Chris Wilson2016-09-03
| | | | | | | Rewrite some macros in forms that can be parsed by our parser written in CMake language (fake m4 with regexps). Fix incorrect conditional includes and incorrect #if/#ifdef assumptions.
* Skip building the parts of QDBM that we don't need with CMake.Chris Wilson2016-08-28
| | | | | Avoids spurious compiler warnings about redefinitions of symbols in files that we don't need to link with anyway.
* Use builtin TO_NATIVE_PATH in CMake instead of rolling our own.Chris Wilson2016-08-28
|
* Use ccache if available in CMake builds.Chris Wilson2016-08-28
|
* Get AppVeyor to build the INSTALL target.Chris Wilson2016-08-28
| | | | | To ensure that all binaries needed by tests are installed in the correct places.
* Update test runner to support CMake better.Chris Wilson2016-08-28
| | | | | | | | | | | Add support for: * Out-of-tree builds (by passing executable name from CMake to runtest.pl) * AppVeyor test status * Cross-platform cmake (using cmake -E instead of platform-specific commands) Get CMake to install binaries needed by tests, in correct locations, with correct names.
* Fix case of filenames of "text" files used to generate protocols and docs.Chris Wilson2016-08-28
|
* Add MSVC user settings files to version control.Chris Wilson2016-08-28
|
* Standardise dependent library location for CMake.Chris Wilson2016-08-28
| | | | Add a CMake module to find readline libraries for us.
* Merge makebuildenv.pl and makeparcels.pl, write monolithic Makefiles.Chris Wilson2016-08-28
| | | | | | | | | | | | | | | | | | | | | | This is necessary to fix compilation on machines with large numbers of cores (e.g. Travis build workers) because the build system automatically attempts maximum parallelism, and the old one is broken and tries to build multiple libraries simultaneously. The new buildsystem almost entirely avoids recursive Make: only trivial Makefiles in target directories (which invoke the top-level Makefile to build the appropriate output file) and the old docs makefile are not part of the new master Makefile. Due to higher parallelism and better dependency checking, Make should be much faster now. Not all old targets are supported though. I've removed implicit dependencies hard-coded in the build system, and expressed all dependencies in modules.txt, since the implicit dependencies were confusing, obscure and unnecessary, and it was hard to express their own dependencies on each other. Test both the default target and explicitly "parcels" for release builds on Travis.
* Appveyor: don't list directories that may not exist during build.Chris Wilson2016-08-28
|
* Replace Travis build instructions with a script.Chris Wilson2016-08-28
| | | | Easier to run locally to help reproduce issues with Travis builds.
* Make getversion.pl executable.Chris Wilson2016-05-16
|
* List contents of some more directories during buildChris Wilson2016-04-16
|
* Cache downloaded OpenSSL, and only download them if not already cached.Chris Wilson2016-04-10
|
* Make PCRE version a variable, and cache the downloaded file, trying to avoid ↵Chris Wilson2016-04-06
| | | | timeouts
* Add Appveyor build status badge, using master branch.Chris Wilson2016-04-06
|
* Disable RDP access to Appveyor virtual machinesChris Wilson2016-04-06
|
* Switch from FTP to HTTP in the hope of avoiding network timeoutsChris Wilson2016-04-06
|
* Merge pull request #14 from boxbackup/appveyorChris Wilson2016-04-05
|\ | | | | Add support for Appveyor CI to build Boxbackup and run tests on Windows.
| * Update paths to match new cmake-generated project files location.Chris Wilson2016-02-14
| |
| * Move user properties files into build folder.Chris Wilson2016-02-13
| | | | | | | | | | | | | | These are the only version-controlled files that should be in the build folder for CMake. Ideally even these would not be here, to make it easier to delete the folder completely, but Visual Studio expects them to be in the same directory as the (generated) project files.
| * Create CMake configurations in a subdirectory of infrastructure/cmake.Chris Wilson2016-02-13
| | | | | | | | Makes it easier to cache and remove artifacts without affecting version-controlled files.
| * Make 7za overwrite existing files, to avoid hanging when build output is cached.Chris Wilson2016-02-13
| |
| * Upgrade to OpenSSL 1.0.2fChris Wilson2016-02-13
| |
| * Switch cache directories to relative paths, comment out wildcard item.Chris Wilson2016-02-13
| |
| * OK, try single-quoting then.Chris Wilson2015-12-27
| |
| * Unquote cache directories to try to fix AppVeyor caching error:Chris Wilson2015-12-27
| | | | | | | | "The filename, directory name, or volume label syntax is incorrect"
| * Try listing files to help debug random failures of test_multiple_uploads().Chris Wilson2015-12-27
| |
| * Check that DoHousekeeping() actually returns true.Chris Wilson2015-12-27
| |
| * Whitespace cleanup.Chris Wilson2015-12-27
| |
| * Fix passing of "release" argument to runtest.pl in release mode.Chris Wilson2015-12-27
| |
| * Exclude one more symlink from untarring on Windows with 7za.Chris Wilson2015-12-26
| |
| * Fix keepalive test on Windows, which depends on number of files present.Chris Wilson2015-12-26
| | | | | | | | | | On Windows there are no symlinks, so there should be 3 fewer files in the directory, and thus 6 fewer keepalives sent.
| * Replace Unix-specific paths used by test/bbackupd with native paths.Chris Wilson2015-12-26
| | | | | | | | | | Should fix some problems with running the perl scripts, causing test failures on Windows.
| * Fix test/backupstorefix random failures caused by file upload order.Chris Wilson2015-12-26
| | | | | | | | | | | | | | | | Previously, files were uploaded using bbackupd, which did it in the order that it read the directories, which was OS-dependent. So destroying certain fixed RaidFiles would have an unpredictable effect on the store. Now, we write a manifest when creating the test files, and upload them in exactly that order, so that the ID of each file will always be the same.
| * Fix deletion of test fixture directories with unicode names on Windows.Chris Wilson2015-12-25
| | | | | | | | | | | | | | | | We need to use CreateProcessW() instead of system() to pass these filenames to the rd command. Fixes every test that runs after test_unicode_filenames_can_be_backed_up in test/bbackupd.
| * Fix deletion of fixtures between tests in test/backupstore.Chris Wilson2015-12-25
| |
| * Fix recursive directory deletion on Windows.Chris Wilson2015-12-24
| |
| * Replace shell implementation of test/bbackupd kill_running_daemons() with ↵Chris Wilson2015-12-24
| | | | | | | | | | | | pure C++. Allows it to work with Visual Studio and no Cygwin/MSYS shell.
| * Use 7za to extract tgz files on Windows, as there's no (reliable) tar command.Chris Wilson2015-12-24
| |