summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| | | * | Fix -Wundefined-bool-conversion compile failure of master branchChris Wilson2017-10-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Master build fails with: lib/common/Timer.cpp:171:10: error: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Werror,-Wundefined-bool-conversion]. Cannot get regtests to pass on this feature branch without fixing this. Also remove unused code from Timers.
| | | * | Fix parsing of OpenSSL 1.1 output in bbstored-certsChris Wilson2017-10-16
| | |/ / | | | | | | | | | | | | Thanks to Dean Hamstead (@djzort on GitHub) for the bug report and the patch!
| | | * Remove invalid use of null references (undefined behaviour)Chris Wilson2017-11-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable the relevant compiler warning as an error, if supported (-Werror=undefined-bool-conversion). http://www.gotw.ca/conv/002.htm http://stackoverflow.com/questions/2165078/a-reference-can-not-be-null-or-it-can-be-null (cherry picked from commit f2911acac0c8375a08ecc0a55f853a5a59c4d511) (cherry picked from commit 5a50b98401302a5ba89366e4c0f8cccdd88d8722)
| | | * Install Box Backup in a temporary directory in Windows unibuildsChris Wilson2017-09-18
| | | | | | | | | | | | | | | | | | | | Otherwise the unibuild fails at the end for non-administrator users when it tries to write to C:\Program Files\BoxBackup.
| | | * Change branches for which Windows packages are builtChris Wilson2017-09-16
| | | |
| | | * Disable DEBUG to reduce CMake build verbosity on AppVeyorChris Wilson2017-09-16
| | | | | | | | | | | | | | | | (cherry picked from commit 793d5f57f5f99f50bffadea674f58be79f9cb6ff)
| | | * Reduce AppVeyor build verbosity by passing extra args to sub-CMakeChris Wilson2017-09-16
| | | | | | | | | | | | | | | | (cherry picked from commit 4876a5573a8bcd3312e9804c27fe9f30f3369747)
| | | * Reorder lines in appveyor.yml to match actual execution orderChris Wilson2017-09-16
| | | | | | | | | | | | | | | | (cherry picked from commit ea4f1728b529aff1dfc912d8f51567f8cd58ea77)
| | | * Remove Xamarin to remove 500 lines of junk from build logsChris Wilson2017-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | See http://help.appveyor.com/discussions/problems/4569-the-target-_convertpdbfiles-listed-in-a-beforetargets-attribute-at-c-does-not-exist-in-the-project-and-will-be-ignored for details. (cherry picked from commit 019025deceff49485b03593f7a77a570d960546a)
| | | * Build Win32/64 binary packages automaticallyChris Wilson2017-09-16
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Every AppVeyor build on the specified branches that passes will be packaged into a ZIP file and installer using CPack and uploaded to GitHub Releases. Generate version number entirely in AppVeyor config, and build it into the binary, and use it in the names of the created binary packages, and compile it into the binaries. (cherry picked from commit c5d8173bf03ab9fa93d3b3ffd871b378b0819567)
| | * Merge pull request #17 from boxbackup/fix_arm64_unsigned_charChris Wilson2017-07-02
| | |\ | | | | | | | | Fix build on ARM64 with unsigned char
| | | * Fix build on ARM64 with unsigned charChris Wilson2017-06-26
| | |/ | | | | | | | | | Thanks to Reinhard Tartler for pointing out the problem and suggesting the fix!
| | * Increase precision of timing on Windows.Chris Wilson2017-06-22
| | | | | | | | | | | | | | | | | | | | | Should hopefully reduce random failures of timing-dependent tests which rely on subsecond precision for accuracy. (cherry picked from commit c845b2e39fffeb560983a301d810616a6495469d)
| | * Reduce precision of common timer testChris Wilson2017-06-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ideally timers would be perfectly accurate and we could sleep for 1.0 seconds, but on OSX in particular they could fire 50-100 ms late (I've seen 4 ms in practice) and we don't want the tests to fail because of this, because we don't really need that kind of precision in practice. So we reduce the timer intervals by 100ms to be safe. Increase logging level and add timestamps in testcommon. Should help to debug frequent test failures such as Condition [t2.HasExpired()] on OSX hosts on Travis. Add a SettingsGuard to the Console logger for its specific settings, such as showing times and microseconds. (cherry picked from commit a5e6cff1d435329b0121417ed9509e315ce0edd5) (cherry picked from commit 8d02eebce553ed822e0fcd60d6e319384e15ba4b)
| | * Fix intercept of SYS_open on platforms that only have SYS_openat (e.g. arm64)Chris Wilson2017-06-22
| | |
| | * Use AX_CHECK_COMPILE_FLAG, add more checksChris Wilson2017-06-22
| | | | | | | | | | | | Disable pointless deprecation warnings for std::auto_ptr.
| | * Stop Git from normalising line endingsChris Wilson2017-06-22
| | | | | | | | | | | | | | | Although recommended, "text" mode causes constant and unfixable conficts that I give up fighting with.
| | * Relax timings on test_changing_client_store_marker_pauses_daemonChris Wilson2017-06-18
| | | | | | | | | | | | | | | | | | Also increase test verbosity to help debug the test if it fails again. (cherry picked from commit 00c2127e9832591c248fa6eea05dfaf785b8380d)
| | * Hopefully fix test/raidfile on Solaris.Chris Wilson2017-06-18
| | | | | | | | | | | | | | | 64-bit Solaris has _FILE_OFFSET_BITS defined (to 64), which was wrongly causing the substitute lseek in lib/intercept to enter the 32-bit branch.
| | * Fix build on SmartOS by switching back to GNU MakeChris Wilson2017-06-18
| | | | | | | | | | | | | | | | | | | | | I have no idea where I got the idea that there was a "bmake" command on SmartOS that is BSD make, or why that would be better than gmake (GNU make). I can't find any reference to the existence of such a thing. So I've just switched back to using gmake unconditionally.
| | * Install executables in test tree after building, not during "make install"Chris Wilson2017-06-18
| | | | | | | | | | | | | | | | | | | | | Build buildenv-testmain-template.cpp in-place, instead of copying, modifying and compiling it. Increase timeouts for some tests that sometimes run out of time on AppVeyor.
| | * Add Boost to Travis build environment, and OSX buildsChris Wilson2017-06-18
| | |
| | * Update versions of dependencies for Windows unibuild, add BoostChris Wilson2017-06-18
| | | | | | | | | | | | | | | | | | | | | | | | * Add a variable in appveyor.yml for the CMake out-of-source build tree. * Update the directory name in commands in appveyor.yml to match new CMake unibuild tree structure. * Increase build verbosity slightly. * Disable GUI crash dialogs that cause test hangs. * Disable the AppVeyor cache that we don't use.
| | * Tell Git to ignore some more generated filesChris Wilson2017-05-15
| | |
| | * Tell Git to treat .cpp files as text too.Chris Wilson2017-05-15
| | |
| | * Normalize all the line endingsChris Wilson2017-05-15
| | |
| | * Fix installation of scripts into parcel directory.Chris Wilson2016-11-03
| | | | | | | | | | | | Thanks to Billy for reporting the issue on the mailing list.
| | * Merge rewritten build system.Chris Wilson2016-10-01
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new CMake build system, based on the one used to build for AppVeyor (Windows) and made to work with Linux and fully tested by Travis CI. Rewrite the old autoconf-based Makefile generator build system to solve performance and correctness problems caused by highly parallelised recursive Make, which was causing Travis builds to fail. Now uses a single monolithic generated Makefile instead of recursive Make. Should also be faster, both for initial builds (with parallelism) and for rebuilds. Remove the old outdated Visual Studio project files, since it should now be possible to generate these with CMake. Add a CMake project that builds Box Backup and its dependencies, particularly useful for getting started as a developer on Windows.
| | | * Fix line endings of .vcxproj.user files to CRLF always.Chris Wilson2016-09-29
| | | |
| | | * Merge ssh://mcnally.flexdns.net/home/chris/boxbackup into cmake_mergeChris Wilson2016-09-29
| | | |\
| | | | * Extend timeout in test/basicserver for slow machines.Chris Wilson2016-09-29
| | | | |
| | | * | Detect whether -Werror=return-type is supported by compiler.Chris Wilson2016-09-20
| | | |/ | | | | | | | | | | | | Fixes compilation on CentOS 5.
| | | * Lock account before modifying in backupstorefix.Chris Wilson2016-09-19
| | | | | | | | | | | | | | | | Hopefully this will fix intermittent test failures on AppVeyor.
| | | * Reduce test timeout for testbackupstorefix.Chris Wilson2016-09-19
| | | | | | | | | | | | | | | | | | | | The longer timeout should not be necessary as it runs in 35 seconds on my VM.
| | | * Remove unused #includes.Chris Wilson2016-09-19
| | | |
| | | * Remove deletion of random files in testbackupstorefix.Chris Wilson2016-09-16
| | | | | | | | | | | | | | | | | | | | | | | | Deleting random files tends to cause random test failures. The results are not predictable and depend on the order in which files are uploaded and directories created.
| | | * Speed up testbackupstorepatch on Windows.Chris Wilson2016-09-16
| | | | | | | | | | | | | | | | | | | | Detect when housekeeping has run and account is unlocked, and stop the loop early, so that we don't have to wait for 32 iterations of the loop.
| | | * Improve error messages in test httpserver perl client script.Chris Wilson2016-09-16
| | | |
| | | * Use IPv4 localhost address to access test httpserver.Chris Wilson2016-09-16
| | | | | | | | | | | | | | | | | | | | Fixes test failures on IPv6 enabled hosts where localhost can resolve to an IPv6 address, but the server is only bound to the IPv4 localhost address.
| | | * Simplify AddEventSource usage, avoid strdup().Chris Wilson2016-09-11
| | | |
| | | * Fix infinite loop in RateLimitingStream::Write().Chris Wilson2016-09-11
| | | |
| | | * Throw exception with message, instead of logging then throwing.Chris Wilson2016-09-11
| | | |
| | | * Remove unused member variable.Chris Wilson2016-09-11
| | | |
| | | * 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.