| Commit message (Collapse) | Author | Age |
... | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | |/ /
| | | |
| | | |
| | | | |
Thanks to Dean Hamstead (@djzort on GitHub) for the bug report and the patch!
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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)
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Otherwise the unibuild fails at the end for non-administrator users when
it tries to write to C:\Program Files\BoxBackup.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
(cherry picked from commit 793d5f57f5f99f50bffadea674f58be79f9cb6ff)
|
| | | |
| | | |
| | | |
| | | | |
(cherry picked from commit 4876a5573a8bcd3312e9804c27fe9f30f3369747)
|
| | | |
| | | |
| | | |
| | | | |
(cherry picked from commit ea4f1728b529aff1dfc912d8f51567f8cd58ea77)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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)
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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)
|
| | |\
| | | |
| | | | |
Fix build on ARM64 with unsigned char
|
| | |/
| | |
| | |
| | | |
Thanks to Reinhard Tartler for pointing out the problem and suggesting the fix!
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Should hopefully reduce random failures of timing-dependent tests which
rely on subsecond precision for accuracy.
(cherry picked from commit c845b2e39fffeb560983a301d810616a6495469d)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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)
|
| | | |
|
| | |
| | |
| | |
| | | |
Disable pointless deprecation warnings for std::auto_ptr.
|
| | |
| | |
| | |
| | |
| | | |
Although recommended, "text" mode causes constant and unfixable conficts
that I give up fighting with.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Also increase test verbosity to help debug the test if it fails again.
(cherry picked from commit 00c2127e9832591c248fa6eea05dfaf785b8380d)
|
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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 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.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Thanks to Billy for reporting the issue on the mailing list.
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | | |
|
| | | |\ |
|
| | | | | |
|
| | | |/
| | | |
| | | |
| | | | |
Fixes compilation on CentOS 5.
|
| | | |
| | | |
| | | |
| | | | |
Hopefully this will fix intermittent test failures on AppVeyor.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The longer timeout should not be necessary as it runs in 35 seconds on my
VM.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Should be replaced by CMake now.
|
| | | |
| | | |
| | | |
| | | | |
This will probably require a re-checkout on all Windows boxes.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Speeds up local development by avoiding unnecessary rebuilds when files have
not changed.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Should make it easier for Windows developers to get started by automating
almost everything.
|
| | | |
| | | |
| | | |
| | | | |
Remove unnecessary extra printing while configuring modules.
|