-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed - Fixes for displaying on high DPI displays, #517 (@skcin). - Re-enable unit tests, add unit test to Travis, #769, #808 (@TheCharlatan). - Fix empty string in sendalert2 (@tomasbrod). Added - Neural Report RPC command, #1063 (@tomasbrod). - GUI wallet redign with new icons and purple native style (@skcin). Changed - Switch to autotools and Depends from Bitcoin, #487 (@TheCharlatan). - Clean and update docs for new build system, remove outdated, #828 (@TheCharlatan). - Change estimated time to stake calculations to be more accurate, #1084 (@jamescowens). - Move logging to tinyformat, #1009 (@TheCharlatan). - Improve appcache performance, #734 (@denravonska). - Improve block index memory access performance, #679 (@denravonska). - NN fixes: clean logging, explain mag single response, move contract to ndata_nresp (@denravonska) - Updated translations: - Turkish, #771 (@confuest). - Chinese, #1012 (@linnaea). - RPC refactor: Cleaner locks, better error handling, move execute calls to straght rpc calls, #1024 (@Foggyx420). - Change locking primitives from Boost to STL, #1029 (@Foggyx420). Removed - gridcoindiagnostic RPC call (@denravonska). - Galaza, #945 (@barton2526). - Assertion in SignSignature, #998 (@TheCharlatan). - Upgrade menu, #1094 (@jamescowens). - Acid test functions, #871 (@tomasbrod). - Qt4 support, #801 (@denravonska).
- Loading branch information
Showing
806 changed files
with
26,428 additions
and
82,505 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
src/*.exe | ||
src/gridccoinstake | ||
src/gridcoinresearchd | ||
src/test_gridcoin | ||
src/test/test_gridcoin | ||
src/build.h | ||
src/obj | ||
src/qt/forms/*.h | ||
src/qt/moc_*.cpp | ||
src/qt/moc.* | ||
src/qt/*.moc | ||
src/qt/test/moc*.cpp | ||
src/qt/test/test_gridcoin-qt | ||
|
||
contrib/deprecated | ||
contrib/deprecated/bin | ||
release | ||
|
@@ -24,9 +31,12 @@ release | |
*.force | ||
*.suo | ||
*.scc | ||
*.a | ||
gridcoinresearch.zip | ||
.gridcoin | ||
.gridcoinresearch | ||
.deps | ||
.dirstamp | ||
#compilation and Qt preprocessor part | ||
*.qm | ||
Makefile | ||
|
@@ -36,8 +46,54 @@ gridcoinresearch | |
qrc_*.cpp | ||
#qt creator | ||
*.pro.user | ||
*.pro.user.* | ||
#mac specific | ||
.DS_Store | ||
build | ||
background.tiff | ||
background.tiff.png | ||
[email protected] | ||
contrib/devtools/split-debug.sh | ||
dist/ | ||
gridcoinresearch.app/ | ||
gridcoinresearch.dmg | ||
|
||
!src/leveldb/Makefile | ||
!depends/Makefile | ||
!depends/patches/**/* | ||
!depends/packages/* | ||
|
||
# autoreconf | ||
Makefile.in | ||
src/Makefile.in | ||
aclocal.m4 | ||
autom4te.cache/ | ||
build-aux/config.guess | ||
build-aux/config.sub | ||
build-aux/depcomp | ||
build-aux/install-sh | ||
build-aux/ltmain.sh | ||
build-aux/m4/libtool.m4 | ||
build-aux/m4/lt~obsolete.m4 | ||
build-aux/m4/ltoptions.m4 | ||
build-aux/m4/ltsugar.m4 | ||
build-aux/m4/ltversion.m4 | ||
build-aux/missing | ||
build-aux/compile | ||
build-aux/test-driver | ||
config.log | ||
config.status | ||
configure | ||
libtool | ||
src/config/gridcoin-config.h | ||
src/config/gridcoin-config.h.in | ||
src/config/stamp-h1 | ||
share/setup.nsi | ||
share/qt/Info.plist | ||
contrib/devtools/split-debug.sh | ||
|
||
#libtool object files | ||
*.lo | ||
*.la | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,65 @@ | ||
--- | ||
language: cpp | ||
sudo: required | ||
dist: trusty | ||
os: linux | ||
language: minimal | ||
cache: | ||
directories: | ||
- depends/built | ||
- depends/sdk-sources | ||
- $HOME/.ccache | ||
env: | ||
global: | ||
- MAKEJOBS=-j3 | ||
- RUN_TESTS=true | ||
- CHECK_DOC=0 | ||
- BOOST_TEST_RANDOM=1$TRAVIS_BUILD_ID | ||
- CCACHE_SIZE=100M | ||
- CCACHE_TEMPDIR=/tmp/.ccache-temp | ||
- CCACHE_COMPRESS=1 | ||
- BASE_OUTDIR=$TRAVIS_BUILD_DIR/out | ||
- SDK_URL=https://bitcoincore.org/depends-sources/sdks | ||
- PYTHON_DEBUG=1 | ||
- WINEDEBUG=fixme-all | ||
matrix: | ||
# ARM | ||
- HOST=arm-linux-gnueabihf PACKAGES="g++-arm-linux-gnueabihf" DEP_OPTS="NO_QT=1" CHECK_DOC=1 GOAL="install" GRIDCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports RUN_TESTS=false" | ||
# Win32 | ||
- HOST=i686-w64-mingw32 DPKG_ADD_ARCH="i386" DEP_OPTS="NO_QT=1" PACKAGES="python3 nsis g++-mingw-w64-i686 wine1.6" RUN_TESTS=false GOAL="" GRIDCOIN_CONFIG="--enable-reduce-exports" | ||
# Qt5 & system libs | ||
- HOST=x86_64-unknown-linux-gnu PACKAGES="libqt5gui5 libqt5core5a qtbase5-dev libqt5dbus5 qttools5-dev qttools5-dev-tools libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev libdb5.1++-dev libminiupnpc-dev protobuf-compiler libqrencode-dev xvfb" NO_DEPENDS=1 NEED_XVFB=1 RUN_TESTS=true GOAL="install" GRIDCOIN_CONFIG=" --with-incompatible-bdb --enable-reduce-exports --with-gui=qt5" | ||
# 32-bit + dash | ||
- HOST=i686-pc-linux-gnu PACKAGES="g++-multilib" DEP_OPTS="NO_QT=1" RUN_TESTS=false GOAL="install" GRIDCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++" USE_SHELL="/bin/dash" | ||
# Win64 | ||
- HOST=x86_64-w64-mingw32 DPKG_ADD_ARCH="i386" PACKAGES="python3 nsis g++-mingw-w64-x86-64 wine1.6 xvfb" RUN_TESTS=false GOAL="" GRIDCOIN_CONFIG="--enable-reduce-exports" NEED_XVFB=1 | ||
# Cross-Mac - disabled for now, since we cannot compile QtSVG with the SDK | ||
#- HOST=x86_64-apple-darwin11 PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python-dev" GRIDCOIN_CONFIG="--enable-gui --enable-reduce-exports" OSX_SDK=10.11 RUN_TESTS=false GOAL="deploy" | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- libboost-filesystem-dev | ||
- libboost-program-options-dev | ||
- libboost-system-dev | ||
- libboost-thread-dev | ||
- libboost-test-dev | ||
- build-essential | ||
- libssl-dev | ||
- libdb-dev | ||
- libdb++-dev | ||
- libqrencode-dev | ||
- qt5-default | ||
- qt5-qmake | ||
- qttools5-dev-tools | ||
- libminiupnpc-dev | ||
- libzip-dev | ||
|
||
before_install: | ||
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g") | ||
install: | ||
- if [ -n "$DPKG_ADD_ARCH" ]; then sudo dpkg --add-architecture "$DPKG_ADD_ARCH" ; fi | ||
- if [ -n "$PACKAGES" ]; then travis_retry sudo apt-get update; fi | ||
- if [ -n "$PACKAGES" ]; then travis_retry sudo apt-get install --no-install-recommends --no-upgrade -qq $PACKAGES; fi | ||
before_script: | ||
- unset CC; unset CXX | ||
- mkdir -p depends/SDKs depends/sdk-sources | ||
- if [ -n "$OSX_SDK" -a ! -f depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz ]; then curl --location --fail $SDK_URL/MacOSX${OSX_SDK}.sdk.tar.gz -o depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz; fi | ||
- if [ -n "$OSX_SDK" -a -f depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz ]; then tar -C depends/SDKs -xf depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz; fi | ||
- if [ -z "$NO_DEPENDS" ]; then make $MAKEJOBS -C depends HOST=$HOST $DEP_OPTS; fi | ||
# Start xvfb if needed, as documented at https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI | ||
- if [ "$NEED_XVFB" = 1 ]; then export DISPLAY=:99.0; /sbin/start-stop-daemon --start --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac; fi | ||
script: | ||
- mkdir -p src/obj | ||
- chmod 755 src/leveldb/build_detect_platform | ||
- cd src | ||
- make -f makefile.unix DEBUGFLAGS="" USE_UPNP=1 | ||
- cd .. | ||
- qmake "USE_QRCODE=1" "USE_UPNP=1" "NO_UPGRADE=1" | ||
- make | ||
|
||
- if [ -n "$USE_SHELL" ]; then export CONFIG_SHELL="$USE_SHELL"; fi | ||
- OUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST | ||
- GRIDCOIN_CONFIG_ALL="--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib" | ||
- if [ -z "$NO_DEPENDS" ]; then depends/$HOST/native/bin/ccache --max-size=$CCACHE_SIZE; fi | ||
- test -n "$USE_SHELL" && eval '"$USE_SHELL" -c "./autogen.sh"' || ./autogen.sh | ||
- mkdir build && cd build | ||
- ../configure --cache-file=config.cache $GRIDCOIN_CONFIG_ALL $GRIDCOIN_CONFIG || ( cat config.log && false) | ||
- make distdir VERSION=$HOST | ||
- cd gridcoin-$HOST | ||
- ./configure --cache-file=../config.cache $GRIDCOIN_CONFIG_ALL $GRIDCOIN_CONFIG || ( cat config.log && false) | ||
- make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && make $GOAL V=1 ; false ) | ||
- export LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib | ||
- if [ "$HOST" = "x86_64-unknown-linux-gnu" ]; then travis_wait 30 make $MAKEJOBS check VERBOSE=1; fi | ||
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then extended="--extended --exclude pruning,dbcrash"; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.