Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Trivial][GUI] Cleanup UI compile warnings #10

Closed
wants to merge 1,048 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1048 commits
Select commit Hold shift + click to select a range
47feba4
dashboard inherit from correct abstract class now + uri dialog fix in…
furszy Apr 25, 2019
819b7f5
Style changes, in coincontrol, tables, topbar, icon transactions inac…
Neoperol Apr 25, 2019
257cbcc
style tree widget list changed
Neoperol Apr 27, 2019
8d6ec49
coin control focus and alternate color removed.
furszy Apr 28, 2019
692c733
topbar icons connected to the backend.
furszy Apr 28, 2019
efd5f75
style and elements tree widget added
Neoperol Apr 28, 2019
d813593
coin control tree widget root decoration
furszy Apr 28, 2019
21b41df
style options button changed
Neoperol Apr 28, 2019
7457aab
dashboard unconfirmed row icon
furszy Apr 29, 2019
029ea99
pixelated pixmap icons fixed.
furszy Apr 29, 2019
ea52739
Layout fixes in send, settings display and resources warning fixes
Neoperol Apr 29, 2019
d8f808c
tooltip menu generalization.
furszy Apr 30, 2019
96bccf4
status warninng sync dashboard added, warning layouts removed
Neoperol Apr 30, 2019
1e7794a
send multi outputs, tooltip menu + delete row connected.
furszy May 1, 2019
21a119f
send screen, contacts dropdown position on multi output fix
furszy May 1, 2019
f47e46d
Layout changes, in main window, address and privacy view
Neoperol May 1, 2019
f4642ea
Layout warning changed
Neoperol May 3, 2019
c3d22c3
dashboard warning icon.
furszy May 3, 2019
4089eb9
Progress sync added
Neoperol May 4, 2019
7433378
topbar progress bar connected to sync widget.
furszy May 5, 2019
d73d4eb
loading dialog created.
furszy May 6, 2019
eca1f71
topbar generalized to pwidget.
furszy May 6, 2019
f22aca3
loading dialog + runnable tasks object
furszy May 7, 2019
292ef69
move encrypt wallet to background task.
furszy May 7, 2019
01d79d9
change theme, dark mode initial connection.
furszy May 7, 2019
f1a8d2c
css style dark.
furszy May 7, 2019
2c0b886
button show password
Neoperol May 7, 2019
5b4234f
privacy image added
Neoperol May 7, 2019
acae5a0
style dark mode changed
Neoperol May 7, 2019
ef290a9
coincontrol dark mode fixed
Neoperol May 7, 2019
5a9e331
dark mode improvements all over the UI.
furszy May 7, 2019
90567ec
wallet sync signal connected to dashboard warning, askkpassphrasedial…
furszy May 8, 2019
5aa9e13
Style dark changes
Neoperol May 8, 2019
afa541b
Icons console changed
Neoperol May 8, 2019
e28a96d
Icons darkmode added
Neoperol May 8, 2019
0e079d1
signal changeTheme name changed to not override parent slot
furszy May 8, 2019
46cc6c1
background loading crash fixed.
furszy May 9, 2019
6f81e62
qtcharts lib integrated.
furszy May 9, 2019
a423d4c
console update theme
furszy May 9, 2019
2fa0476
tx row, use tx model flow instead of direct access.
furszy May 9, 2019
aa2ee56
dashboard stakes chart connected (main logic left)
furszy May 9, 2019
f5351d0
wallet sync warning visible/invisible + minor UI modifications.
furszy May 10, 2019
3f122cc
passphrase dialog edit line echo mode on click change fixed + dashboa…
furszy May 10, 2019
002d80d
transaction size calculation method created + connected to the tx rec…
furszy May 11, 2019
e2e5ec3
create/update contact from the send multi screen fully functional.
furszy May 11, 2019
673dd14
send screen, tooltip menu width and remove one by one entry fix
furszy May 11, 2019
920be66
backup screen, texts changed.
furszy May 11, 2019
80f31a4
update send screen balance on every entry.
furszy May 13, 2019
e2184ff
amount entry max range.
furszy May 13, 2019
37b8f1c
tx detail, show inputs connected.
furszy May 16, 2019
7bf3e22
null chart change theme fix
furszy May 16, 2019
0e9bae1
Loading resources added
Neoperol May 16, 2019
d4e5d41
[GUI] tx detail dialog outputs connected.
furszy May 16, 2019
069c3fc
[GUI] coincontrol dialog ok button style.
furszy May 17, 2019
068dde8
layout send changed
Neoperol May 17, 2019
b3153dd
Layout confirmation changed, copy button added
Neoperol May 17, 2019
4593e15
Icon copy changed
Neoperol May 18, 2019
2390940
[GUI] txdetail dialog inputs organized in grid layout.
furszy May 18, 2019
26f4c86
[GUI] snackbar generalized + txDetailDialog copy id event connected.
furszy May 19, 2019
99e28c0
[GUI] dashboard stakes PIV chart color.
furszy May 20, 2019
95ae21e
[GUI] settings sign message connected.
furszy May 20, 2019
4722ccd
Sign layout changed
Neoperol May 20, 2019
fcf70fb
[GUI] settings sign screen addresses dropdown connected.
furszy May 20, 2019
41500a0
[GUI] QLineEdit selection color and background changed.
furszy May 20, 2019
b95c3a3
Send layout changed
Neoperol May 20, 2019
a41b01e
[GUI] welcome tutorial go back between screens fixed
furszy May 20, 2019
a15ee78
[GUI] bip38 encrypt screen connected.
furszy May 22, 2019
43d60e8
[GUI] hide dialog on loading action.
furszy May 22, 2019
2ee391d
[GUI] loading text animation.
furszy May 22, 2019
5817340
[GUI] information and warning standard qt dialog in askpassphrasedial…
furszy May 22, 2019
51904f1
Layout coincontrol changed
Neoperol May 22, 2019
98d335f
zPiv coincontrol layout changed
Neoperol May 22, 2019
e1d1bfa
[Model] isWalletUnlocked method created.
furszy May 23, 2019
9978e10
[GUI] check if the wallet is unlocked to perform certain actions + UI…
furszy May 23, 2019
d7f4a2f
[GUI] Address table model update amount of send/receive address.
furszy May 23, 2019
3681a5b
[GUI] welcome tutorial texts changed.
furszy May 23, 2019
ed6cbe4
Send layout changed
Neoperol May 23, 2019
f870b8c
Layout space changes
Neoperol May 23, 2019
ddf0ac3
layout request changed
Neoperol May 23, 2019
eeb504c
Style and layout changes
Neoperol May 24, 2019
7475e5e
[GUI] request dialog layout organization + send layout change
furszy May 25, 2019
f45f5bc
[GUI] dashboard txes sort fixed.
furszy May 27, 2019
ae7cd99
[GUI] send confirmation dialog, not show outputs when there is only one.
furszy May 27, 2019
d12e7f7
[GUI] styles fixed from a bad rebase.
furszy May 27, 2019
d1328b4
[GUI] Store size of zc txes.
furszy May 27, 2019
d08b6cf
[GUI] empty view when no zc txes.
furszy May 27, 2019
af7ab91
[GUI] request dialog address not updated fix + layout reorg.
furszy May 28, 2019
94413d4
[GUI] privacy widget cleanup + no coin inputs notifications.
furszy May 28, 2019
5f186ec
[GUI] comma char replaced thin space on html formatted balance.
furszy May 28, 2019
3f8c5fc
[GUI] win stake tx amount color fix.
furszy May 28, 2019
fef6d40
[GUI] dashboard chart re organization.
furszy May 29, 2019
03ff79f
[GUI] dashboard, staking chart improved.
furszy May 29, 2019
6e11e55
style changes
Neoperol May 30, 2019
ecb7651
[GUI] dashboard chart, days in months connected.
furszy May 30, 2019
fc8dab7
Combobox arrow style and
Neoperol May 31, 2019
9d2ed65
[GUI] openuridialog buttons style, code cleanup + encryptionStatus ev…
furszy May 31, 2019
83470b7
Style combobox settings changed
Neoperol May 31, 2019
bb56bb3
[GUI] hide multi outputs for zPIV spend + dashboard refresh chart on …
furszy May 31, 2019
0fcf988
[Deployment] fix bad link order.
furszy Jun 1, 2019
71240bf
[GUI] contacts dropdown change theme.
furszy Jun 1, 2019
3ee6375
[Model] block zpiv mints from the ui.
furszy Jun 1, 2019
a70826b
[WalletModel] wallet first key creation time method implemented.
furszy Jun 1, 2019
f8151aa
[GUI] dashboard staking chart, year and month filters + chart logic.
furszy Jun 1, 2019
32855f7
Style chart added
Neoperol Jun 1, 2019
16e3ff0
style combobox chart changed
Neoperol Jun 1, 2019
799a823
[GUI] chart combobox rounded borders.
furszy Jun 2, 2019
d352164
style combo-secundary added, group title added
Neoperol Jun 2, 2019
37575ff
[GUI] chart sort and filter controls style improved.
furszy Jun 2, 2019
21c8f59
[GUI] dashboard, staking chart style margin fix.
furszy Jun 2, 2019
5b3b675
[GUI] dashboard staking chart, move chart position flow.
furszy Jun 3, 2019
0832e5d
[Tx Model] tx arrive signal, tx hash added.
furszy Jun 3, 2019
ebcf555
[WalletModel] isCoinStake method added.
furszy Jun 3, 2019
e32a311
[GUI] dashboard, only update chart when stakes arrive.
furszy Jun 3, 2019
200cb0d
Chart buttons style changed
Neoperol Jun 3, 2019
500b791
[GUI] dashboard hasStakes method.
furszy Jun 3, 2019
410212b
layout chart, and style buttons changed
Neoperol Jun 3, 2019
70d8c8a
[GUI] chart sort by buttons expanded.
furszy Jun 3, 2019
d3d3cc6
Arrow back chart added
Neoperol Jun 4, 2019
d32e42b
[GUI] dark theme invalid icons name fix.
furszy Jun 4, 2019
9aefa4f
[GUI] layout reorg, duplicate arrow on comboBox fix.
furszy Jun 4, 2019
a2825ea
[GUI] dashboard chart arrow style.
furszy Jun 4, 2019
d5b34b6
style dark mode style settings fixed
Neoperol Jun 4, 2019
5cb88c6
[GUI] FAQ resizable.
furszy Jun 5, 2019
f456b08
Receive error fixed
Neoperol Jun 5, 2019
dda381f
[GUI] MN screens ui coded (not connected) + pwidget constructor cleanup.
furszy Jun 5, 2019
8168b3d
[GUI] tooltip texts generalized.
furszy Jun 10, 2019
d1a29ad
[GUI] master nodes model + new screen implemented.
furszy Jun 10, 2019
edd282f
[GUI] Delete single master node implemented.
furszy Jun 10, 2019
d4af02e
[GUI] master nodes screen, subtitle and MN info.
furszy Jun 11, 2019
dd2a4b0
[GUI] topbar lock btn open non perfect opening fixed.
furszy Jun 12, 2019
0c19480
[GUI] receive address screen, change address label dialog text correc…
furszy Jun 13, 2019
13deec3
[GUI] navmenu code better abstracted.
furszy Jun 13, 2019
76d8226
[GUI] verifyWalletUnlocked method implemented.
furszy Jun 13, 2019
07b8a80
[GUI] UI corrections.
furszy Jun 13, 2019
200f48f
[GUI] dashboard change theme, staking graph fix.
furszy Jun 13, 2019
5911758
[Model] no swiftTx by default.
furszy Jun 13, 2019
ec10b49
[GUI] master nodes model and creation wizard.
furszy Jun 13, 2019
2841db1
[REBASE] rebase issues solved.
furszy Jun 18, 2019
ac9ea02
[GUI] FAQ, MN description added.
furszy Jun 19, 2019
4a44224
[GUI] openFaq method created.
furszy Jun 19, 2019
ecc0a5c
[GUI] minor style corrections.
furszy Jun 19, 2019
5e96600
[GUI] UI cleanup.
furszy Jun 19, 2019
731cd8c
[GUI] MN model, update list + get master node internal data.
furszy Jun 19, 2019
f7def73
[GUI] Master nodes flow, MN info dialog created and connected.
furszy Jun 19, 2019
e5d9e49
[GUI] Master node list update timer.
furszy Jun 19, 2019
ba6e4d2
[GUI] minor snackbar dialog delete.
furszy Jun 19, 2019
d8d97c5
FAQ icon added
Neoperol Jun 19, 2019
5451bf0
[GUI] dashboard staking chart, change theme y axis color.
furszy Jun 19, 2019
0510d1c
[GUI] payment request dialog open fix + copy URI connected.
furszy Jun 20, 2019
01323a1
[GUI] send screen, parse URI.
furszy Jun 20, 2019
b0d7d61
[Cleanup] not used zpiv coin control dialog removed.
furszy Jun 20, 2019
1814e5a
[GUI] Send, add new entry validation.
furszy Jun 20, 2019
9d82751
[GUI] send screen, multi outputs validations
furszy Jun 20, 2019
29c46e4
[GUI] Sign/Verify flow fully connected.
furszy Jun 20, 2019
e4e4737
[GUI] settings widget layout improvements.
furszy Jun 20, 2019
91a688a
[GUI] MN wizard mode texts included.
furszy Jun 20, 2019
0011656
[GUI] settings tools, bip38 layout and encription.
furszy Jun 21, 2019
bf6952d
[GUI] settings wallet, multiSend layout organization improved.
furszy Jun 21, 2019
d76b912
[GUI] settings tools sign/verify completed.
furszy Jun 21, 2019
b87df93
[GUI] Send screen, open URI from file connected.
furszy Jun 21, 2019
e50cfa5
[GUI] faq + multisend layout minor reorg
furszy Jun 21, 2019
ad967dc
[GUI] askpassphrase dialog wrap title.
furszy Jun 21, 2019
4111427
[GUI] settings widget, only one option checked at time.
furszy Jun 22, 2019
d74a0cf
[GUI] settings options, re organization + code cleanup.
furszy Jun 23, 2019
4e5a537
[GUI] settings duplicate option name changed.
furszy Jun 23, 2019
7afb269
[GUI] tx detail, title correction.
furszy Jun 23, 2019
e4df953
[GUI] About and commands dialog connected.
furszy Jun 25, 2019
bbab5ce
[GUI] settings options re organization.
furszy Jun 25, 2019
1b205ef
Layout settings main changed, texto style added
Neoperol Jun 25, 2019
bf7f339
[GUI] Default dialog visible when the screen is not visible.
furszy Jun 26, 2019
ccd67ec
[GUI] dashboard, update chart only with own stakes + cleanup.
furszy Jul 5, 2019
e7f5020
[WalletModel] set wallet default fee method created.
furszy Jul 6, 2019
60b800a
[GUI] Custom fee option connected on send screen.
furszy Jul 6, 2019
c5d3ca6
[GUI] Minor layout corrections in custom fee dialog and tools sign me…
furszy Jul 6, 2019
039822a
[Cleanup] Continuing with the final cleanup, setProperty methods move…
furszy Jul 8, 2019
6148807
[GUI] Contacts screen, add contact -> notify about an already existen…
furszy Jul 8, 2019
40c038c
Layout intro app changed
Neoperol Jul 8, 2019
badf230
Background and layout changed
Neoperol Jul 9, 2019
5c78884
[GUI] Intro dialog new style finished.
furszy Jul 9, 2019
1a7f236
[GUI] Intro dialog minor corrections.
furszy Jul 9, 2019
46dca9b
[GUI] send row hover style minor fix and smart fee update connected.
furszy Jul 10, 2019
380eecf
[GUI] enabled/disabled editable status added.
furszy Jul 10, 2019
b74875b
[GUI] Master nodes wizard creation, only controller flow.
furszy Jul 11, 2019
f2ff5c4
[GUI] Master nodes wizard input validations + code cleanup.
furszy Jul 11, 2019
ce267b4
[GUI] settings/tools bip38 decrypt connected.
furszy Jul 12, 2019
00f68cf
[GUI][Model] MultiSend functionality fully revamped and connected.
furszy Jul 13, 2019
30d4d5b
[GUI] receive address padding overlapping text fix.
furszy Jul 15, 2019
fd66217
[GUI] topbar lock, not perform any action if the wallet is already on…
furszy Jul 15, 2019
05d4495
[REBASE] rebase fixes.
furszy Jul 15, 2019
cdc1778
[GUI] payment request dropdown style fix.
furszy Jul 16, 2019
bcbd4c3
[GUI] styling improvements, css class property set cleanup.
furszy Jul 16, 2019
9d62d98
[Build] build system QT fixes + duplicated moc object fix.
furszy Jul 17, 2019
88d4d23
[Trivial] white spaces cleanup.
furszy Jul 18, 2019
c01be42
[Build] travis new wallet dependencies added.
furszy Jul 18, 2019
8df3480
[Build] qt missing-img-files, fixing rebase inserted issues.
furszy Jul 18, 2019
c673a8a
[Model] Invalid iterator position crash fix.
furszy Jul 19, 2019
5c5076b
[UI] series removal not cleaning the charts pointer fix.
furszy Jul 19, 2019
957b85f
[Trivial] PIVX license header.
furszy Jul 19, 2019
bc4b421
[Doc] New dependencies for ubuntu QT build added.
furszy Jul 19, 2019
3d78ee3
[Trivial] Ignore qt creator project files.
furszy Jul 20, 2019
df3c2ec
[Trivial] FAQ texts corrections.
furszy Jul 20, 2019
bb1b697
[Build] gitian-qt
furszy Jul 21, 2019
32f0e94
[GUI] Request dialog storing address label + description text layout …
furszy Jul 21, 2019
5a44783
[Wallet][Model] GetKeyCreationTime moved from walletModel into the wa…
furszy Jul 21, 2019
05e3b33
[GUI] My address row set date if exists.
furszy Jul 21, 2019
7a5f6ed
[GUI] Settings information minor layout fix + code reorg and refactor…
furszy Jul 21, 2019
e1207d1
[Model] Only look for the creation time for internal addresses
furszy Jul 21, 2019
15c50cd
[GUI] Show dialog correct title + MN show/hide screen checkbox removed.
furszy Jul 21, 2019
f4ad0a5
[Trivial] Further small wording tweaks
CaveSpectre11 Jul 20, 2019
c091281
[Trivial] Textual mistakes and FAQ rework
CaveSpectre11 Jul 20, 2019
f11b6bf
[Trivial] Add space between label and address on transaction tooltip
CaveSpectre11 Jul 20, 2019
6627bac
[GUI] stake spin box range + settings console not returning values fi…
furszy Jul 22, 2019
80ab74a
[GUI] settings display options show display unit fix, settings inform…
furszy Jul 22, 2019
d6071a6
[GUI] Master nodes screen, open FAQ opening the MN section.
furszy Jul 22, 2019
c65fcca
[GUI] Master nodes screen, FAQ opening MN section.
furszy Jul 23, 2019
7193ff6
Merge branch 'new_gui_rebased_final' of github.com:furszy/PIVX into n…
CaveSpectre11 Jul 23, 2019
0d36337
[GUI] open/close option button arrow icon connected.
furszy Jul 23, 2019
5901105
Merge branch 'new_gui_rebased_final' of github.com:furszy/PIVX into n…
CaveSpectre11 Jul 23, 2019
64e5d92
[GUI][Model] Settings options reset.
furszy Jul 24, 2019
1eb5ceb
Merge branch 'new_gui_rebased_final' of github.com:furszy/PIVX into n…
CaveSpectre11 Jul 24, 2019
e8acb5a
[Model] isTestnet method created, abstracting the UI from backend dep…
furszy Jul 24, 2019
eb4d7cb
[GUI] FAQ rounded btns.
furszy Jul 24, 2019
34924e3
[Model][MasterNodes] Master node MISSING status added, only happens w…
furszy Jul 24, 2019
b88c5e8
Merge branch 'new_gui_rebased_final' of github.com:furszy/PIVX into n…
CaveSpectre11 Jul 24, 2019
5ddff92
[GUI] Master node screen improvements:
furszy Jul 25, 2019
c3ad357
[GUI] Contacts screen, update list view and empty screen when contact…
furszy Jul 25, 2019
cee45d8
[GUI][Model] Settings options, mechanism to discard options that were…
furszy Jul 25, 2019
c8eed9a
Merge branch 'new_gui_rebased_final' of github.com:furszy/PIVX into n…
CaveSpectre11 Jul 25, 2019
b81a86d
[Wallet][Model] Badly nStakeSplitThreshold set in optionsModel fixed …
furszy Jul 25, 2019
a76350f
[GUI] dashboard staking chart, prevent series added twice.
furszy Jul 26, 2019
bcc5824
[GUI] Send screen, total remaining label modified to show the coin co…
furszy Jul 26, 2019
9fac68a
Merge branch 'new_gui_rebased_final' of github.com:furszy/PIVX into n…
CaveSpectre11 Jul 26, 2019
b748ba1
[Model] isCoinStakeMine method validating against the tx input instea…
furszy Jul 26, 2019
84b0fbe
[GUI] Dashboard screen:
furszy Jul 27, 2019
90fe0fc
[GUI][Model] Masternodes screen, export Masternode data for remote se…
furszy Jul 28, 2019
753884a
[GUI][Model] Masternodes screen:
furszy Jul 30, 2019
d006041
[GUI] tx detail dialog closing delay solved + cleanup.
furszy Jul 30, 2019
9c69b55
Merge branch 'new_gui_rebased_final' of github.com:furszy/PIVX into n…
CaveSpectre11 Jul 30, 2019
6031212
[GUI] Dashboard screen, hide tx filters when the wallet doesn't have …
furszy Jul 30, 2019
3ba59a4
[GUI][Model] Masternodes screen, verify if masternode collateral tx w…
furszy Jul 30, 2019
05c6197
[GUI] AskPassphraseDialog, missing opaque background on dialog popup …
furszy Jul 30, 2019
8f57d60
Merge branch 'new_gui_rebased_final' of github.com:furszy/PIVX into n…
CaveSpectre11 Jul 31, 2019
11fa48d
[GUI] notify user when the system doesn't have a predetermined text e…
furszy Jul 31, 2019
86b30ee
Merge branch 'new_gui_rebased_final' of github.com:furszy/PIVX into n…
CaveSpectre11 Aug 1, 2019
38968a9
[GUI] Hack to re paint the chart view for linux. The chart was not up…
furszy Aug 1, 2019
8a862bc
[GUI] Update coin control style when the theme changes.
furszy Aug 2, 2019
3ee8db9
[GUI] Linux QComboBox listView items internal invalid focus square re…
furszy Aug 2, 2019
a71faa0
[GUI] Settings multisend, list missing container style.
furszy Aug 2, 2019
04b13c5
Merge branch 'new_gui_rebased_final' of github.com:furszy/PIVX into n…
CaveSpectre11 Aug 3, 2019
c45d75d
[Trivial] Cleanup UI compile warnings
CaveSpectre11 Aug 4, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 12 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ src/qt/test/moc*.cpp
Makefile
pivx-qt
PIVX-Qt.app
background.tiff*

# Unit-tests
Makefile.test
Expand Down Expand Up @@ -113,18 +114,28 @@ coverage_percent.txt
linux-coverage-build
linux-build
win32-build
test/config.ini
test/cache/*
qa/pull-tester/run-bitcoind-for-test.sh
qa/pull-tester/tests-config.sh
qa/pull-tester/cache/*
qa/pull-tester/test.*/*
cache/*

!src/leveldb*/Makefile

.cproject
.project
/doc/doxygen/
/nbproject/

libbitcoinconsensus.pc
.idea
CMakeLists.txt
cmake-build-debug

moc_*
*.tmp
ui_*
build*
pivxd.*
pivxd-new-gui.*
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.5.6
244 changes: 180 additions & 64 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,93 +1,209 @@
sudo: required
dist: trusty
# The test build matrix (stage: test) is constructed to test a wide range of
# configurations, rather than a single pass/fail. This helps to catch build
# failures and logic errors that present on platforms other than the ones the
# author has tested.
#
# Some builders use the dependency-generator in `./depends`, rather than using
# apt-get to install build dependencies. This guarantees that the tester is
# using the same versions as Gitian, so the build results are nearly identical
# to what would be found in a final release.
#
# In order to avoid rebuilding all dependencies for each build, the binaries
# are cached and re-used when possible. Changes in the dependency-generator
# will trigger cache-invalidation and rebuilds as necessary.
#
# These caches can be manually removed if necessary. This is one of the very
# few manual operations that is possible with Travis, and it can be done by a
# PIVX GitHub member via the Travis web interface [0].
#
# Travis CI uploads the cache after the script phase of the build [1].
# However, the build is terminated without saving the chache if it takes over
# 50 minutes [2]. Thus, if we spent too much time in early build stages, fail
# with an error and save the cache.
#
# [0] https://travis-ci.org/pivx-project/pivx/caches
# [1] https://docs.travis-ci.com/user/caching/#build-phases
# [2] https://docs.travis-ci.com/user/customizing-the-build#build-timeouts

dist: xenial
os: linux
language: minimal
cache:
ccache: true
directories:
- depends/built
- depends/sdk-sources
- $HOME/.ccache
- $TRAVIS_BUILD_DIR/depends/built
- $TRAVIS_BUILD_DIR/depends/sdk-sources
- $HOME/.ccache
stages:
- lint
- test
env:
global:
- MAKEJOBS=-j3
- RUN_TESTS=false
- RUN_UNIT_TESTS=true
- RUN_FUNCTIONAL_TESTS=false # Not Yet Implemented
- RUN_BENCH=false # Set to true for any one job that has debug enabled, to quickly check bench is not crashing or hitting assertions
- DOCKER_NAME_TAG=ubuntu:18.04
- BOOST_TEST_RANDOM=1$TRAVIS_BUILD_ID
- CCACHE_SIZE=100M
- CCACHE_TEMPDIR=/tmp/.ccache-temp
- CCACHE_COMPRESS=1
- CCACHE_DIR=$HOME/.ccache
- BASE_OUTDIR=$TRAVIS_BUILD_DIR/out
- SDK_URL=https://bitcoincore.org/depends-sources/sdks
- WINEDEBUG=fixme-all
matrix:
# ARM
- HOST=arm-linux-gnueabihf PACKAGES="g++-arm-linux-gnueabihf" GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports"
# Win32
- HOST=i686-w64-mingw32 DPKG_ADD_ARCH="i386" DEP_OPTS="NO_QT=1" PACKAGES="python3 nsis g++-mingw-w64-i686 wine1.6 bc" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-reduce-exports"
# 32-bit + dash
- HOST=i686-pc-linux-gnu PACKAGES="g++-multilib bc python3-zmq" DEP_OPTS="NO_QT=1" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-zmq --enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++" USE_SHELL="/bin/dash" PYZMQ=true
# Win64
- HOST=x86_64-w64-mingw32 DPKG_ADD_ARCH="i386" DEP_OPTS="NO_QT=1" PACKAGES="python3 nsis g++-mingw-w64-x86-64 wine1.6 bc" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-reduce-exports"
# pivxd
- HOST=x86_64-unknown-linux-gnu PACKAGES="bc python3-zmq" DEP_OPTS="NO_QT=1 NO_UPNP=1 DEBUG=1" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-zmq --enable-glibc-back-compat --enable-reduce-exports CPPFLAGS=-DDEBUG_LOCKORDER" PYZMQ=true
# No wallet
# - HOST=x86_64-unknown-linux-gnu PACKAGES="python3" DEP_OPTS="NO_WALLET=1" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports"
# Cross-Mac
- HOST=x86_64-apple-darwin11 PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python-dev" BITCOIN_CONFIG="--enable-gui --enable-reduce-exports" OSX_SDK=10.11 GOAL="deploy"

- DOCKER_PACKAGES="build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git ca-certificates ccache"
- CACHE_ERR_MSG="Error! Initial build successful, but not enough time remains to run later build stages and tests. Please manually re-run this job by using the travis restart button or asking a bitcoin maintainer to restart. The next run should not time out because the build cache has been saved."
before_install:
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
- set -o errexit; source .travis/test_03_before_install.sh
install:
- if [ "$PYZMQ" = "true" ]; then pip install pyzmq --user ; fi
- 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
- set -o errexit; source .travis/test_04_install.sh
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
- make $MAKEJOBS -C depends HOST=$HOST $DEP_OPTS
- set -o errexit; source .travis/test_05_before_script.sh
script:
- export TRAVIS_COMMIT_LOG=`git log --format=fuller -1`
- if [ -n "$USE_SHELL" ]; then export CONFIG_SHELL="$USE_SHELL"; fi
- OUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST
- BITCOIN_CONFIG_ALL="--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib"
- depends/$HOST/native/bin/ccache --max-size=$CCACHE_SIZE
- test -n "$USE_SHELL" && eval '"$USE_SHELL" -c "./autogen.sh"' || ./autogen.sh
- ./configure --cache-file=config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)
- make distdir PACKAGE=bitcoin VERSION=$HOST
- cd bitcoin-$HOST
- ./configure --cache-file=../config.cache $BITCOIN_CONFIG_ALL $BITCOIN_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 [ "$RUN_TESTS" = "true" ]; then travis_wait 30 make $MAKEJOBS check VERBOSE=1; fi
#- if [ "$RUN_TESTS" = "true" ]; then qa/pull-tester/rpc-tests.py --coverage; fi
- export CONTINUE=1
- if [ $SECONDS -gt 1200 ]; then export CONTINUE=0; fi # Likely the depends build took very long
- if [ $CONTINUE = "1" ]; then set -o errexit; source .travis/test_06_script_a.sh; else set +o errexit; echo "$CACHE_ERR_MSG"; false; fi
- if [ $SECONDS -gt 1500 ]; then export CONTINUE=0; fi # Likely the build took very long; The tests take about 1000s, so we should abort if we have less than 50*60-1000=2000s left
- if [ $CONTINUE = "1" ]; then set -o errexit; source .travis/test_06_script_b.sh; else set +o errexit; echo "$CACHE_ERR_MSG"; false; fi
after_script:
- echo $TRAVIS_COMMIT_RANGE
- echo $TRAVIS_COMMIT_LOG

- echo $TRAVIS_COMMIT_RANGE
- echo $TRAVIS_COMMIT_LOG
jobs:
include:

- stage: lint
sudo: false
name: 'lint'
env:
cache: false
addons:
apt:
packages:
- python3-pip
- shellcheck
language: python
python: '3.5' # Oldest supported version according to doc/dependencies.md
install:
- travis_retry pip3 install flake8 --user
- set -o errexit; source .travis/lint_04_install.sh
before_script:
- git fetch --unshallow
- set -o errexit; source .travis/lint_05_before_script.sh
script:
- contrib/devtools/git-subtree-check.sh src/univalue
# Remove this comment and the `#` from the following two lines when we merge proper subtree implementations for secp256k1 and leveldb
#- contrib/devtools/git-subtree-check.sh src/secp256k1
#- contrib/devtools/git-subtree-check.sh src/leveldb
- contrib/devtools/check-doc.py
- contrib/devtools/logprint-scanner.py
- if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then contrib/devtools/lint-whitespace.sh; fi
- set -o errexit; source .travis/lint_06_script.sh

- stage: test
name: 'ARM 32-bit [GOAL: install] [no unit or functional tests]'
env: >-
HOST=arm-linux-gnueabihf
PACKAGES="python3 g++-arm-linux-gnueabihf"
RUN_UNIT_TESTS=false
RUN_FUNCTIONAL_TESTS=false
GOAL="install"
# -Wno-psabi is to disable ABI warnings: "note: parameter passing for argument of type ... changed in GCC 7.1"
# This could be removed once the ABI change warning does not show up by default
BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports CXXFLAGS=-Wno-psabi"

- stage: test
name: 'ARM 64-bit [GOAL:install] [no unit or functional tests]'
env: >-
HOST=aarch64-linux-gnu
PACKAGES="python3 g++-aarch64-linux-gnu"
RUN_UNIT_TESTS=false
RUN_FUNCTIONAL_TESTS=false
GOAL="install"
BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports"

- stage: test
name: 'Win32 [GOAL: deploy] [no functional tests]'
env: >-
HOST=i686-w64-mingw32
DPKG_ADD_ARCH="i386"
PACKAGES="python3 nsis g++-mingw-w64-i686 wine-binfmt wine32"
RUN_FUNCTIONAL_TESTS=false
GOAL="deploy"
BITCOIN_CONFIG="--enable-reduce-exports"

- stage: test
name: 'Win64 [GOAL: deploy] [no functional tests]'
env: >-
HOST=x86_64-w64-mingw32
PACKAGES="python3 nsis g++-mingw-w64-x86-64 wine-binfmt wine64"
RUN_FUNCTIONAL_TESTS=false
GOAL="deploy"
BITCOIN_CONFIG="--enable-reduce-exports"

- stage: test
name: '32-bit + dash [GOAL: install] [no gui]'
env: >-
HOST=i686-pc-linux-gnu
PACKAGES="g++-multilib python3-zmq"
GOAL="install"
BITCOIN_CONFIG="--enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++"
CONFIG_SHELL="/bin/dash"

- stage: test
name: 'x86_64 Linux [GOAL: install] [bionic] [uses qt5 dev package instead of depends Qt to speed up build and avoid timeout]'
env: >-
HOST=x86_64-unknown-linux-gnu
PACKAGES="python3-zmq qtbase5-dev qttools5-dev-tools libqt5svg5-dev libqt5charts5-dev protobuf-compiler libdbus-1-dev libharfbuzz-dev libprotobuf-dev"
DEP_OPTS="NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1"
RUN_FUNCTIONAL_TESTS=true
#TEST_RUNNER_EXTRA="--coverage --extended" # Run extended tests so that coverage does not fail, but exclude the very slow dbcrash
GOAL="install"
BITCOIN_CONFIG="--enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports"

- stage: test
name: 'x86_64 Linux [GOAL: install] [trusty] [no functional tests, no depends, only system libs]'
env: >-
HOST=x86_64-unknown-linux-gnu
DOCKER_NAME_TAG=ubuntu:14.04
PACKAGES="python3-zmq qtbase5-dev qttools5-dev-tools libqt5svg5-dev libqt5charts5-dev libicu-dev libpng-dev 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 libzmq3-dev libprotobuf-dev protobuf-compiler libqrencode-dev libgmp-dev"
NO_DEPENDS=1
RUN_FUNCTIONAL_TESTS=false
GOAL="install"
BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --with-gui=no"

- stage: test
name: 'x86_64 Linux [GOAL: install] [xenial] [no depends, only system libs]'
env: >-
HOST=x86_64-unknown-linux-gnu
DOCKER_NAME_TAG=ubuntu:16.04
PACKAGES="python3-zmq qtbase5-dev qttools5-dev-tools libqt5svg5-dev libqt5charts5-dev 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.3++-dev libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler libqrencode-dev libgmp-dev"
NO_DEPENDS=1
GOAL="install"
BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER --disable-hardening --disable-asm"

- stage: test
name: 'x86_64 Linux [GOAL: install] [bionic] [no depends, only system libs]'
env: >-
HOST=x86_64-unknown-linux-gnu
PACKAGES="python3-zmq qtbase5-dev qttools5-dev-tools libqt5svg5-dev libqt5charts5-dev libssl1.0-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler libqrencode-dev libgmp-dev"
NO_DEPENDS=1
GOAL="install"
BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER"

# - stage: test
# name: 'x86_64 Linux [GOAL: install] [bionic] [no depends, only system libs, sanitizers: fuzzer,address]'
# env: >-
# HOST=x86_64-unknown-linux-gnu
# PACKAGES="clang python3-zmq qtbase5-dev qttools5-dev-tools libqt5svg5-dev libqt5charts5-dev libssl1.0-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler libqrencode-dev libgmp-dev"
# NO_DEPENDS=1
# RUN_UNIT_TESTS=false
# RUN_FUNCTIONAL_TESTS=false
# RUN_BENCH=true
# GOAL="install"
# BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --enable-glibc-back-compat --enable-reduce-exports --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER --with-sanitizers=undefined CC=clang CXX=clang++"

# - stage: test
# name: 'x86_64 Linux [GOAL: install] [bionic] [no wallet]'
# env: >-
# HOST=x86_64-unknown-linux-gnu
# PACKAGES="python3-zmq"
# DEP_OPTS="NO_WALLET=1"
# GOAL="install"
# BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports"

- stage: test
name: 'macOS 10.10 [GOAL: deploy] [no functional tests]'
env: >-
HOST=x86_64-apple-darwin14
PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python3-dev python3-setuptools"
OSX_SDK=10.11
RUN_UNIT_TESTS=false
RUN_FUNCTIONAL_TESTS=false
GOAL="deploy"
BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --enable-werror"
8 changes: 8 additions & 0 deletions .travis/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## travis build scripts

The `.travis` directory contains scripts for each build step in each build stage.
Currently the travis build defines two stages `lint` and `test`. Each stage has
it's own [lifecycle](https://docs.travis-ci.com/user/customizing-the-build/#the-build-lifecycle).
Every script in here is named and numbered according to which stage and lifecycle
step it belongs to.

15 changes: 15 additions & 0 deletions .travis/lint_04_install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
#
# Copyright (c) 2018 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

export LC_ALL=C

travis_retry pip install codespell==1.13.0
travis_retry pip install flake8==3.5.0
travis_retry pip install vulture==0.29

SHELLCHECK_VERSION=v0.6.0
curl -s "https://storage.googleapis.com/shellcheck/shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar.xz" | tar --xz -xf - --directory /tmp/
export PATH="/tmp/shellcheck-${SHELLCHECK_VERSION}:${PATH}"
9 changes: 9 additions & 0 deletions .travis/lint_05_before_script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
#
# Copyright (c) 2018 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

export LC_ALL=C

git fetch --unshallow
18 changes: 18 additions & 0 deletions .travis/lint_06_script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env bash
#
# Copyright (c) 2018 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

export LC_ALL=C


contrib/devtools/git-subtree-check.sh src/secp256k1
contrib/devtools/git-subtree-check.sh src/univalue
contrib/devtools/git-subtree-check.sh src/leveldb
contrib/devtools/check-doc.py
contrib/devtools/logprint-scanner.py

if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then
contrib/devtools/lint-whitespace.sh
fi
27 changes: 27 additions & 0 deletions .travis/test_03_before_install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/usr/bin/env bash
#
# Copyright (c) 2018 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

export LC_ALL=C.UTF-8

PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
# Add llvm-symbolizer directory to PATH. Needed to get symbolized stack traces from the sanitizers.
PATH=$PATH:/usr/lib/llvm-6.0/bin/
export PATH

BEGIN_FOLD () {
echo ""
CURRENT_FOLD_NAME=$1
echo "travis_fold:start:${CURRENT_FOLD_NAME}"
}

END_FOLD () {
RET=$?
echo "travis_fold:end:${CURRENT_FOLD_NAME}"
if [ $RET != 0 ]; then
echo "${CURRENT_FOLD_NAME} failed with status code ${RET}"
fi
}

Loading