Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
260 commits
Select commit Hold shift + click to select a range
af23804
CSS margin for pages, sendcoins relocated structure, code cleaning
Ciip1996 Jan 23, 2019
bc4f0c6
CSS sendcoins dialog form modified and bug fixed with purging overview
Ciip1996 Jan 23, 2019
34d2e43
Bug fixed
Ciip1996 Jan 23, 2019
6f7f9ed
Removing unused code
BeatKebit Jan 23, 2019
7018a00
Merge remote-tracking branch 'origin/reskin_sockets' into reskin_sockets
BeatKebit Jan 23, 2019
ed6c78c
Loading arrows and Fix for earlier versions of QT
BeatKebit Jan 23, 2019
dc7356a
CSS sendcoins dialog and entry modified
Ciip1996 Jan 23, 2019
844c9b9
CSS sendcoinsdialog, sendcoinsentry, receivecoins and QDialog styles
Ciip1996 Jan 24, 2019
1f335b2
Styles changed for overview and statubar
BeatKebit Jan 24, 2019
0b82635
Private view layout and some style
BeatKebit Jan 24, 2019
047e30a
Header section for socket message ui, testing
Ciip1996 Jan 24, 2019
da64fb7
Info icon on Private and Overview
BeatKebit Jan 24, 2019
32eca95
Combo box style
BeatKebit Jan 24, 2019
9815a90
Styles of combo box and gitignore updated
BeatKebit Jan 24, 2019
151dd6e
Header bar for socket message and testing ui for button
Ciip1996 Jan 24, 2019
d9a1afb
CSS header profile picture, still testing
Ciip1996 Jan 24, 2019
375c186
SpinBox style and Table style
BeatKebit Jan 24, 2019
62c70c8
CSS recent transactions and dynamic text colors depending on theme
Ciip1996 Jan 24, 2019
0786831
Merge remote-tracking branch 'origin/reskin_sockets' into reskin_sockets
BeatKebit Jan 24, 2019
9f8cd88
Transaction bar at top of the tables
BeatKebit Jan 24, 2019
0f1b162
Personalized fonts and CSS
Ciip1996 Jan 24, 2019
fa81c36
Private (background, button style), Send coins page (alignment).
BeatKebit Jan 24, 2019
f57d864
CSS receivecoinsdialog positions and styles modified
Ciip1996 Jan 24, 2019
60ffdd3
Merge remote-tracking branch 'origin/reskin_sockets' into reskin_sockets
BeatKebit Jan 24, 2019
34d833b
Send Coins page layout 90%
BeatKebit Jan 24, 2019
6cdfa44
New customized fonts
Ciip1996 Jan 24, 2019
8c866d7
Bug fixed: Mistake writing qrc fixed
Ciip1996 Jan 24, 2019
4633c99
Send coins choose transaction fee moved and added a scroll area
BeatKebit Jan 24, 2019
f1b4214
Typography implemented on the code
Ciip1996 Jan 24, 2019
a597668
Default typography changed and new header bar
Ciip1996 Jan 24, 2019
6b6185c
Layout alignment
BeatKebit Jan 24, 2019
f32f19c
UI modifications
BeatKebit Jan 24, 2019
7a0adab
Receive Page background
BeatKebit Jan 25, 2019
d75a3fe
Layout for bigger screens, checkbox added
BeatKebit Jan 25, 2019
afc206b
Toolbar and headerbar Size modifed, CSS
Ciip1996 Jan 25, 2019
a215c41
Proposal table layouts, private button and layout
BeatKebit Jan 25, 2019
26cb6d8
Merge remote-tracking branch 'origin/reskin_sockets' into reskin_sockets
BeatKebit Jan 25, 2019
4ca33f8
custom ScrollBar implemented
Ciip1996 Jan 28, 2019
69a26fa
Spinbox arrows layout, controls colors.
BeatKebit Jan 28, 2019
c0e6c92
Merge remote-tracking branch 'origin/reskin_sockets' into reskin_sockets
BeatKebit Jan 28, 2019
80a0998
Global Button style fixed
Ciip1996 Jan 28, 2019
3a46cc3
Merge remote-tracking branch 'origin/reskin_sockets' into reskin_sockets
BeatKebit Jan 28, 2019
939a5df
Private colors and shadow, send margin
BeatKebit Jan 28, 2019
1cb2c88
Receive coins
Ciip1996 Jan 28, 2019
15ae0a7
Background of dialog when closing app
Ciip1996 Jan 28, 2019
0841f66
Merge remote-tracking branch 'origin/reskin_sockets' into GUIReskin
Ciip1996 Jan 28, 2019
8046ade
Private_Overview functionality fix
BeatKebit Jan 28, 2019
46545a3
Merge remote-tracking branch 'origin/reskin_sockets' into reskin_sockets
BeatKebit Jan 28, 2019
73f6b2d
Adding commas to make more easy to read large numbers
Ciip1996 Jan 29, 2019
0be85eb
Re sorting buttons of tool bar menu and fixing disabled push button
Ciip1996 Jan 29, 2019
921b5b7
Progress, unfinished components
Ciip1996 Jan 29, 2019
cc151fe
remove border of Disabled link buttons
Ciip1996 Jan 29, 2019
c7ecf40
Private (info button, and sizes), SendPage (balance working)
BeatKebit Jan 29, 2019
cae1dba
Merge remote-tracking branch 'origin/reskin_sockets' into reskin_sockets
BeatKebit Jan 29, 2019
5e2d7a3
Commas instead of spaces on bitcoinunits fixed bug
Ciip1996 Jan 29, 2019
eceb365
AddressBookPage and EditAddressDialog styles
Ciip1996 Jan 29, 2019
fb6b3cf
Receive layout and tables headers color
BeatKebit Jan 29, 2019
f69a700
Merge remote-tracking branch 'origin/reskin_sockets' into reskin_sockets
BeatKebit Jan 29, 2019
a6c50a9
Masternodes and other css style
Ciip1996 Jan 29, 2019
402c3a4
Table separations and overview layout test
BeatKebit Jan 30, 2019
bd1b27c
Merge remote-tracking branch 'origin/reskin_sockets' into reskin_sockets
BeatKebit Jan 30, 2019
252aad4
No longer posible to set old theme "light" with GUI
Ciip1996 Jan 30, 2019
2187971
Merge remote-tracking branch 'origin/reskin_sockets' into GUIReskin
Ciip1996 Jan 30, 2019
dde63a4
Overview icon spacing, masternode lineedit style
BeatKebit Jan 30, 2019
796d909
new typography implemented gotham and Volte rounded
Ciip1996 Jan 30, 2019
98718b3
Merge remote-tracking branch 'origin/reskin_sockets' into GUIReskin
Ciip1996 Jan 30, 2019
626e674
merge
Ciip1996 Jan 30, 2019
e9ce2ef
style fixed with Gotham Medium typography
Ciip1996 Jan 30, 2019
9ccdac8
clocks and eyes icons
BeatKebit Jan 30, 2019
0e03dc1
Merge remote-tracking branch 'origin/reskin_sockets' into reskin_sockets
BeatKebit Jan 30, 2019
b68c40b
Overview info button
BeatKebit Jan 30, 2019
d2dd934
Checkbox and Radio button disable icon
BeatKebit Jan 30, 2019
5e83a50
Backend for the balance on the receive page
BeatKebit Jan 30, 2019
93fa9b6
fix toolbar button height
Ciip1996 Jan 31, 2019
e558ae7
Receive coins re-formulated
Ciip1996 Jan 31, 2019
0ca977d
Image Picker beta 1
Ciip1996 Jan 31, 2019
31884cd
Merge remote-tracking branch 'origin/reskin_sockets' into reskin_sockets
BeatKebit Jan 31, 2019
78fd9db
Receive page front end balance, and responsive layout
BeatKebit Jan 31, 2019
cb2a461
Combobox fix, overlay style, possible fix on receive send page
BeatKebit Jan 31, 2019
4027cc3
Merging headers on bitcoingui
Ciip1996 Jan 31, 2019
f225401
Image picker now storage the image inside Paccoincore folder
Ciip1996 Jan 31, 2019
e999406
Bug fixed: img picker when cancelling button clicked
Ciip1996 Jan 31, 2019
d04dd37
Fix to the Private and overview displays
BeatKebit Jan 31, 2019
7883054
Merge remote-tracking branch 'origin/reskin_sockets' into reskin_sockets
BeatKebit Jan 31, 2019
41737cb
Amount on receive and send rearrange
BeatKebit Jan 31, 2019
212066a
New background, fix to info doubleclicked
BeatKebit Feb 1, 2019
0364b0d
Bug Fixed: AccentButton lost shape with small screens
Ciip1996 Feb 1, 2019
ca9008e
Icons replaced
Ciip1996 Feb 1, 2019
9c66d14
CSS Code optimization and combobox color fixed
Ciip1996 Feb 1, 2019
a9e30d1
Merge remote-tracking branch 'origin/reskin_sockets' into GUIReskin
Ciip1996 Feb 1, 2019
eec29bb
Socket news connected only the half
BeatKebit Feb 5, 2019
abf5166
Socket news working
BeatKebit Feb 5, 2019
4fed509
Replaced icon editpaste
Ciip1996 Feb 7, 2019
f4ea519
css header table
Ciip1996 Feb 7, 2019
b6d58f1
Getting the PAC USD value
BeatKebit Feb 8, 2019
c4f8914
Merge remote-tracking branch 'origin/reskin_sockets' into reskin_sockets
BeatKebit Feb 8, 2019
d2353d6
QRC header file fix
Ciip1996 Feb 11, 2019
108e7cc
Overview message info and PAC value send to the wallet frame
BeatKebit Feb 11, 2019
7cd0cfa
PAC value send to walletview
BeatKebit Feb 11, 2019
4d8b197
UI Fixes for small screens (send and receive page)
BeatKebit Feb 11, 2019
36d27f8
Unused code
BeatKebit Feb 11, 2019
91e437c
PAC value using QSettings
BeatKebit Feb 11, 2019
925bdc9
Merge remote-tracking branch 'origin/reskin_sockets' into reskin_sockets
BeatKebit Feb 11, 2019
6326b21
QRCode implementation and restyle
Ciip1996 Feb 11, 2019
ead6d70
Merge remote-tracking branch 'origin/reskin_sockets' into GUIReskin
Ciip1996 Feb 11, 2019
a1cd34c
Code mistake fixed
Ciip1996 Feb 11, 2019
46c11b6
QRCode on receivecoins size fixed
Ciip1996 Feb 11, 2019
16a5466
Show the USD value of your PACs
BeatKebit Feb 12, 2019
27f7d77
Merge remote-tracking branch 'origin/reskin_sockets' into reskin_sockets
BeatKebit Feb 12, 2019
cb05026
Overview message updated
BeatKebit Feb 12, 2019
a2d6cc4
USD PAC conversion validated
BeatKebit Feb 12, 2019
8971966
UI receive page minor fix for small screens
BeatKebit Feb 12, 2019
12b2e2e
Wallet without sockets
BeatKebit Feb 18, 2019
9e46dee
QRC fix
BeatKebit Feb 18, 2019
58f02b2
make include FIX
BeatKebit Feb 18, 2019
41b1a0f
Bitcoin amount field FIX
BeatKebit Feb 18, 2019
0121fd4
update-deps
alejandromgk Feb 18, 2019
d0855b2
add patches
alejandromgk Feb 18, 2019
c73639a
PACtoUSD removal
BeatKebit Feb 18, 2019
4615dcc
BugFixed with BitcoinAmountField comma
Ciip1996 Feb 18, 2019
d4f8006
Amperson removed from ui
Ciip1996 Feb 18, 2019
5ae384c
RCC was not finding the icons and assets
Ciip1996 Feb 18, 2019
c0701cf
completion
alejandromgk Feb 18, 2019
ffbd1df
Add dmg background
alejandromgk Feb 18, 2019
e1c2830
macdeploy missing files
alejandromgk Feb 18, 2019
cda7487
Change tar.gz name
alejandromgk Feb 18, 2019
e58e03d
update-deps
alejandromgk Feb 18, 2019
b9616f2
add patches
alejandromgk Feb 18, 2019
3e218fd
completion
alejandromgk Feb 18, 2019
eb33272
Add dmg background
alejandromgk Feb 18, 2019
b0f929c
macdeploy missing files
alejandromgk Feb 18, 2019
c4f84d7
Change tar.gz name
alejandromgk Feb 18, 2019
e504b43
Merge branch 'socket-del-update-deps' of https://github.com/CryptoMx/…
alejandromgk Feb 18, 2019
af8c215
Migrate macdeploy to python3
alejandromgk Feb 18, 2019
4d44c89
Change tar.gz name on gitian descriptors.
alejandromgk Feb 19, 2019
f44ab03
Auto stash before merge of "socket_semoval" and "origin/socket_semoval"
BeatKebit Feb 19, 2019
1c59894
Change windows setup filename
alejandromgk Feb 19, 2019
eb00b58
asset correction
Ciip1996 Feb 19, 2019
141d8c2
UI BugFixed
Ciip1996 Feb 19, 2019
48ee9b7
jpg to png background fix
Ciip1996 Feb 19, 2019
a1c73ce
profile img removed from make.qt.include
Ciip1996 Feb 19, 2019
bc9408a
Auto stash before merge of "socket_semoval" and "origin/socket_semoval"
BeatKebit Feb 19, 2019
a205ba9
asset correction
Ciip1996 Feb 19, 2019
42117d6
UI BugFixed
Ciip1996 Feb 19, 2019
362f661
jpg to png background fix
Ciip1996 Feb 19, 2019
1dccc39
profile img removed from make.qt.include
Ciip1996 Feb 19, 2019
5836c9a
Merge branch 'socket_semoval' of https://github.com/CryptoMx/PAC into…
alejandromgk Feb 19, 2019
c28a1ff
News message deleted
BeatKebit Feb 19, 2019
b49f36c
Icons on Windows deleted
BeatKebit Feb 19, 2019
a3e3384
Scrollbar horizontal ui fixed
Ciip1996 Feb 19, 2019
4718321
BugFixed
Ciip1996 Feb 19, 2019
199bf4d
restoring cross platform functionality of icons on buttons
Ciip1996 Feb 19, 2019
8d1de67
Overview info updated and dialog URI background changed
BeatKebit Feb 19, 2019
487188c
MyMasternodes table style fix
BeatKebit Feb 19, 2019
be5bb21
GCC-7 and glibc-2.27 compat code
ken2812221 May 5, 2018
53089b5
Add stdin, stdout, stderr to ignored export list
ken2812221 Jun 2, 2018
eae1493
Backport move to Ubuntu Bionic and GCC7 in Gitian builds (#2225)
codablock Aug 13, 2018
167880e
BugFixed: Table borders on windows and linux now transparent
Ciip1996 Feb 20, 2019
2fe0139
Private page tool tip fix
BeatKebit Feb 20, 2019
b20385c
BugFixed UI send and receive coins
Ciip1996 Feb 21, 2019
3c498dc
Sign/Verify message, base for news with an API
BeatKebit Feb 22, 2019
12e86b1
CSS Qtooltip custom style
Ciip1996 Feb 22, 2019
11b55e5
CSS QProgressBar and QuickButton class
Ciip1996 Feb 22, 2019
1f188e2
Receive coins Address
Ciip1996 Feb 22, 2019
95930ee
Merge remote-tracking branch 'origin/new-ui_v1.2' into new-ui_v1.2
Ciip1996 Feb 22, 2019
6d94487
BugFixed: Toolbar can't be hide now
Ciip1996 Feb 25, 2019
afc01fa
proposal table> Fixing width of the tables
Ciip1996 Feb 26, 2019
da08040
BugFixed: href color changed to easy read
Ciip1996 Feb 26, 2019
ceab828
Animated QRCode and Address UX
Ciip1996 Feb 26, 2019
b96201a
Syncing with master branch (#1)
alejandromgk Feb 26, 2019
900ddd0
CSS UI BugFixed
Ciip1996 Feb 27, 2019
69b68ff
UI send and receive coins
Ciip1996 Feb 27, 2019
c017db0
Fixes and News/pac-usd
BeatKebit Feb 27, 2019
1412def
Merge remote-tracking branch 'origin/new-ui_v1.2' into new-ui_v1.2
BeatKebit Feb 27, 2019
dc89711
UI fixed
Ciip1996 Feb 27, 2019
887e203
Update send and receive labels for USD
BeatKebit Feb 28, 2019
45a9cb7
Options dialog label warning fixed size
Ciip1996 Feb 28, 2019
0b69cf2
html <a> href style from blue to yellow
Ciip1996 Feb 28, 2019
6cbbcf4
News pointing to the right API
BeatKebit Mar 1, 2019
e22636b
Tooltips for copy and refresh news
BeatKebit Mar 1, 2019
220a02b
Background and selection bar colors
BeatKebit Mar 4, 2019
2e81bb0
General backgrounds and text inputs colors changed
BeatKebit Mar 4, 2019
827491d
CSS send coins, progressbar, check and radiobutton merging
Ciip1996 Mar 4, 2019
dbec8d3
Top bar color darker
BeatKebit Mar 5, 2019
521c9cc
Qslider customized and sendcoinsdialog
Ciip1996 Mar 5, 2019
f2b542e
Merge remote-tracking branch 'origin/new-ui_v1.3' into new-ui_v1.3
Ciip1996 Mar 5, 2019
e2bd4d8
Fix typo
BeatKebit Mar 5, 2019
c37d779
"Pay to" recipient separator
BeatKebit Mar 5, 2019
15941fd
new mined icon
Ciip1996 Mar 5, 2019
732f1e0
Tables have more colors to make it prettier
BeatKebit Mar 5, 2019
6b2ee09
Qslider css, recent transactions font size, pac to usd width
Ciip1996 Mar 5, 2019
079da78
Merge remote-tracking branch 'origin/new-ui_v1.3' into new-ui_v1.3
BeatKebit Mar 5, 2019
6649441
Optimizing CSS, layouts fixed
Ciip1996 Mar 5, 2019
feb74bc
Unnecessary code
BeatKebit Mar 6, 2019
810b37a
Masternode table white text
BeatKebit Mar 6, 2019
ca1fd32
Master nodes Table not enabled text to red
BeatKebit Mar 6, 2019
42b6296
Pixel Size font
Ciip1996 Mar 6, 2019
741e269
CSS and layout fixing
Ciip1996 Mar 6, 2019
0e28d34
Button to copy the conversion of USD-PAC
BeatKebit Mar 7, 2019
5c3b57b
AddressBookPage table fix text color
BeatKebit Mar 8, 2019
f665cbb
Private page advance mode ui fixes
BeatKebit Mar 8, 2019
e4692be
Masternodes Page tabs color and size change
BeatKebit Mar 8, 2019
56f9e80
Coin control dialog UI fixes
BeatKebit Mar 8, 2019
8789aee
Translations fix German and Spanish
Ciip1996 Mar 8, 2019
9bd85f3
SendCoins CoinControl scrollbar and better displaying
Ciip1996 Mar 8, 2019
2e49e7b
Possible fix for windows
BeatKebit Mar 8, 2019
925cbff
Merge remote-tracking branch 'origin/new-ui_v1.4' into new-ui_v1.4
BeatKebit Mar 8, 2019
b9dfd81
User can now select typography
Ciip1996 Mar 8, 2019
5363682
Custom Font Typo
Ciip1996 Mar 12, 2019
cbf5068
News feed can show a longer text
BeatKebit Mar 13, 2019
81185ee
Radio button color change
BeatKebit Mar 13, 2019
995341e
Some documentation for the code
BeatKebit Mar 13, 2019
71fc1e1
Code reorganization and comments
BeatKebit Mar 13, 2019
c29fdba
Merge, QFont, QRCode
Ciip1996 Mar 13, 2019
0886f6c
QRCode BugFixed
Ciip1996 Mar 13, 2019
9c36736
QRCode resized fixed
Ciip1996 Mar 14, 2019
ab80133
Light theme start of typo and backgrounds.
BeatKebit Mar 14, 2019
4a7cd5d
CSS and UI Bug fixed
Ciip1996 Mar 19, 2019
af9b542
Test
BeatKebit Mar 20, 2019
b7c58c3
Private Page message corrupting the view on small devices.
BeatKebit Mar 20, 2019
9348599
Modal Overlay UI modification
Ciip1996 Mar 20, 2019
228dda6
Merge remote-tracking branch 'origin/new-ui_v1.4' into new-ui_v1.4
Ciip1996 Mar 20, 2019
1db2063
margin on private page label
Ciip1996 Mar 20, 2019
749e3d2
profile img button
Ciip1996 Mar 21, 2019
09c2acc
Merge remote-tracking branch 'PAC/develop' into new-ui_v1.4
alejandromgk Mar 21, 2019
a0e3479
Tab bar and color palette changed
BeatKebit Mar 22, 2019
674afa8
Trying to fix Font problems
Ciip1996 Mar 22, 2019
09ffc31
Font size now medium
Ciip1996 Mar 22, 2019
5bee459
Tooltip Send Page for instant and private
BeatKebit Mar 22, 2019
e9291db
Fix of my failed merge
BeatKebit Mar 22, 2019
53dfa84
trying to fix font default
Ciip1996 Mar 22, 2019
845e736
Merge remote-tracking branch 'origin/new-ui_v1.4' into new-ui_v1.4
Ciip1996 Mar 22, 2019
7deb80a
Custom Font Bug Fixed
Ciip1996 Mar 25, 2019
625dfbd
Using alias and CSS Black and grey
BeatKebit Mar 25, 2019
0102e21
Bug Fixed> The checkboxes on receive coins page were squeezing
Ciip1996 Mar 26, 2019
f2f192f
Fixing contrast of ui elements
Ciip1996 Mar 26, 2019
53c65c3
SendCoins page "Fee" fix decimals
BeatKebit Mar 26, 2019
f35aeb5
Merge remote-tracking branch 'origin/new-ui_v1.4' into new-ui_v1.4
BeatKebit Mar 26, 2019
011f8c7
Micro sign on Overview fix
BeatKebit Mar 26, 2019
5feeacd
Micro sign on Private Page fix
BeatKebit Mar 26, 2019
ed57215
bitcoinamount field changed
Ciip1996 Mar 27, 2019
b9b2428
separator implemented
Ciip1996 Mar 27, 2019
6b85ca6
ui fixed
Ciip1996 Mar 27, 2019
82d139c
Typography fixing
Ciip1996 Mar 27, 2019
cfefebb
Fig compilation error
Ciip1996 Mar 28, 2019
7efc02c
New icon colors, images added on css now and table colors change
BeatKebit Mar 28, 2019
0fa91a0
UI enhancement
BeatKebit Mar 29, 2019
0706d47
CSS Light theme changes
Ciip1996 Mar 29, 2019
2e2c5de
Merge branch 'new-ui_v1.5white' into new-ui_v1.4
Ciip1996 Mar 29, 2019
486a6eb
Revert "Merge branch 'new-ui_v1.5white' into new-ui_v1.4"
Ciip1996 Mar 29, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,18 @@ paccoin-cli
paccoind
paccoin-qt
make

#Custom build
generate-mac-wallet.sh
kill_PAC.sh
paccoin-qt.config
paccoin-qt.creator
paccoin-qt.creator.user
paccoin-qt.files
paccoin-qt.includes
contrib/dash-qt.pro.user
src/qt/paccoin-qt.config
src/qt/paccoin-qt.file
src/qt/paccoin-qt.includes
src/qt/paccoin-qt.creator
src/qt/paccoin-qt.creator.user
83 changes: 83 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# This CMakeLists.txt is not meant to actually work!
# It only serves as a dummy project to make CLion work properly when it comes to symbol resolution and all the nice
# features dependent on that. Building must still be done on the command line using the automake build chain
# If you load this project in CLion and would like to run/debug executables, make sure to remove the "Build" entry from
# the run/debug configuration as otherwise CLion will try to build this project with cmake, failing horribly.
# You'll also have to manually change the executable in the configuration to the correct path of the already built executable

cmake_minimum_required(VERSION 3.7)
project(paccoin)

set(CMAKE_CXX_STANDARD 14)

include_directories(
src
src/qt/forms
src/leveldb/include
src/univalue/include
)

if(UNIX AND NOT APPLE)
set(DEPENDS_PREFIX depends/x86_64-pc-linux-gnu)
elseif(APPLE)
set(DEPENDS_PREFIX depends/x86_64-apple-darwin11)
elseif(WIN32)
set(DEPENDS_PREFIX depends/x86_64-w64-mingw32)
endif()

message(STATUS "DEPENDS_PREFIX: ${DEPENDS_PREFIX}")

if(DEFINED DEPENDS_PREFIX)
include_directories(${DEPENDS_PREFIX}/include)
include_directories(${DEPENDS_PREFIX}/include/QtWidgets)
endif()

add_definitions(
-DENABLE_WALLET=1
)

file(GLOB SOURCE_FILES
src/bench/*.cpp
src/bench/*.h
src/compat/*.cpp
src/compat/*.h
src/consensus/*.h
src/consensus/*.cpp
src/crypto/*.c
src/crypto/*.h
src/crypto/*.cpp
src/leveldb/db/*.cc
src/leveldb/db/*.h
src/leveldb/include/*.h
src/policy/*.cpp
src/policy/*.h
src/primitives/*.cpp
src/primitives/*.h
src/qt/test/*.cpp
src/qt/test/*.h
src/qt/*.cpp
src/qt/*.h
src/script/*.cpp
src/script/*.h
src/secp256k1/include/*.h
src/test/*.cpp
src/test/*.h
src/univalue/include/*.h
src/univalue/lib/*.cpp
src/univalue/lib/*.h
src/wallet/test/*.cpp
src/wallet/*.cpp
src/wallet/*.h
src/zmq/*.cpp
src/zmq/*.h
src/*.cpp
src/*.h
src/evo/*.h
src/evo/*.cpp
src/llmq/*.h
src/llmq/*.cpp
src/rpc/*.cpp
src/rpc/*.h
)

add_executable(paccoin ${SOURCE_FILES})
119 changes: 64 additions & 55 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,30 +1,50 @@
# Copyright (c) 2013-2016 The Bitcoin Core developers
# Copyright (c) 2014-2018 The Paccoin Core developers
# Copyright (c) 2018-2019 The Paccoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

ACLOCAL_AMFLAGS = -I build-aux/m4
SUBDIRS = src
if ENABLE_MAN
SUBDIRS += doc/man
endif
.PHONY: deploy FORCE

GZIP_ENV="-9n"
export PYTHONPATH

if BUILD_BITCOIN_LIBS
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libpaccoinconsensus.pc
endif

BITCOIND_BIN=$(top_builddir)/src/paccoind$(EXEEXT)
BITCOIN_QT_BIN=$(top_builddir)/src/qt/paccoin-qt$(EXEEXT)
BITCOIN_CLI_BIN=$(top_builddir)/src/paccoin-cli$(EXEEXT)
BITCOIND_BIN=$(top_builddir)/src/$(BITCOIN_DAEMON_NAME)$(EXEEXT)
BITCOIN_QT_BIN=$(top_builddir)/src/qt/$(BITCOIN_GUI_NAME)$(EXEEXT)
BITCOIN_CLI_BIN=$(top_builddir)/src/$(BITCOIN_CLI_NAME)$(EXEEXT)
BITCOIN_WIN_INSTALLER=$(PACKAGE)-$(PACKAGE_VERSION)-win$(WINDOWS_BITS)-setup$(EXEEXT)

empty :=
space := $(empty) $(empty)

OSX_APP=Paccoin-Qt.app
OSX_DMG=Paccoin-Core.dmg
OSX_VOLNAME = $(subst $(space),-,$(PACKAGE_NAME))
OSX_DMG = $(OSX_VOLNAME).dmg
OSX_BACKGROUND_SVG=background.svg
OSX_BACKGROUND_IMAGE=background.tiff
OSX_BACKGROUND_IMAGE_DPIS=36 72
OSX_DSSTORE_GEN=$(top_srcdir)/contrib/macdeploy/custom_dsstore.py
OSX_DEPLOY_SCRIPT=$(top_srcdir)/contrib/macdeploy/macdeployqtplus
OSX_FANCY_PLIST=$(top_srcdir)/contrib/macdeploy/fancy.plist
OSX_BASE_LPROJ_DIR=$(top_srcdir)/contrib/macdeploy/Base.lproj/InfoPlist.strings
OSX_INSTALLER_ICONS=$(top_srcdir)/src/qt/res/icons/bitcoin.icns
OSX_PLIST=$(top_srcdir)/share/qt/Info.plist #not installed
OSX_PLIST=$(top_builddir)/share/qt/Info.plist #not installed
OSX_QT_TRANSLATIONS = da,de,es,hu,ru,uk,zh_CN,zh_TW

DIST_DOCS = $(wildcard doc/*.md) $(wildcard doc/release-notes/*.md)
DIST_CONTRIB = $(top_srcdir)/contrib/paccoin-cli.bash-completion \
$(top_srcdir)/contrib/paccoin-tx.bash-completion \
$(top_srcdir)/contrib/paccoind.bash-completion \
$(top_srcdir)/contrib/init

BIN_CHECKS=$(top_srcdir)/contrib/devtools/symbol-check.py \
$(top_srcdir)/contrib/devtools/security-check.py
Expand All @@ -34,30 +54,20 @@ WINDOWS_PACKAGING = $(top_srcdir)/share/pixmaps/bitcoin.ico \
$(top_srcdir)/share/pixmaps/nsis-wizard.bmp \
$(top_srcdir)/doc/README_windows.txt

OSX_PACKAGING = $(OSX_DEPLOY_SCRIPT) $(OSX_FANCY_PLIST) $(OSX_INSTALLER_ICONS) $(OSX_BASE_LPROJ_DIR) \
$(top_srcdir)/contrib/macdeploy/$(OSX_BACKGROUND_IMAGE) \
$(top_srcdir)/contrib/macdeploy/DS_Store \
OSX_PACKAGING = $(OSX_DEPLOY_SCRIPT) $(OSX_FANCY_PLIST) $(OSX_INSTALLER_ICONS) \
$(top_srcdir)/contrib/macdeploy/$(OSX_BACKGROUND_SVG) \
$(OSX_DSSTORE_GEN) \
$(top_srcdir)/contrib/macdeploy/detached-sig-apply.sh \
$(top_srcdir)/contrib/macdeploy/detached-sig-create.sh

COVERAGE_INFO = baseline_filtered_combined.info baseline.info block_test.info \
COVERAGE_INFO = baseline_filtered_combined.info baseline.info \
leveldb_baseline.info test_paccoin_filtered.info total_coverage.info \
baseline_filtered.info block_test_filtered.info rpc_test.info rpc_test_filtered.info \
baseline_filtered.info rpc_test.info rpc_test_filtered.info \
leveldb_baseline_filtered.info test_paccoin_coverage.info test_paccoin.info

dist-hook:
-$(MAKE) -C $(top_distdir)/src/leveldb clean
-$(MAKE) -C $(top_distdir)/src/secp256k1 distclean
-$(GIT) archive --format=tar HEAD -- src/clientversion.cpp | $(AMTAR) -C $(top_distdir) -xf -

distcheck-hook:
$(MKDIR_P) $(top_distdir)/_build/src/leveldb
cp -rf $(top_srcdir)/src/leveldb/* $(top_distdir)/_build/src/leveldb/
-$(MAKE) -C $(top_distdir)/_build/src/leveldb clean

distcleancheck:
@:

$(BITCOIN_WIN_INSTALLER): all-recursive
$(MKDIR_P) $(top_builddir)/release
STRIPPROG="$(STRIP)" $(INSTALL_STRIP_PROGRAM) $(BITCOIND_BIN) $(top_builddir)/release
Expand All @@ -67,9 +77,6 @@ $(BITCOIN_WIN_INSTALLER): all-recursive
echo error: could not build $@
@echo built $@

$(if $(findstring src/,$(MAKECMDGOALS)),$(MAKECMDGOALS), none): FORCE
$(MAKE) -C src $(patsubst src/%,%,$@)

$(OSX_APP)/Contents/PkgInfo:
$(MKDIR_P) $(@D)
@echo "APPL????" > $@
Expand All @@ -90,17 +97,27 @@ $(OSX_APP)/Contents/MacOS/Paccoin-Qt: $(BITCOIN_QT_BIN)
$(MKDIR_P) $(@D)
STRIPPROG="$(STRIP)" $(INSTALL_STRIP_PROGRAM) $< $@

$(OSX_APP)/Contents/Resources/Base.lproj/InfoPlist.strings: $(OSX_BASE_LPROJ_DIR)
$(OSX_APP)/Contents/Resources/Base.lproj/InfoPlist.strings:
$(MKDIR_P) $(@D)
$(INSTALL_DATA) $< $@
echo '{ CFBundleDisplayName = "$(PACKAGE_NAME)"; CFBundleName = "$(PACKAGE_NAME)"; }' > $@

OSX_APP_BUILT=$(OSX_APP)/Contents/PkgInfo $(OSX_APP)/Contents/Resources/empty.lproj \
$(OSX_APP)/Contents/Resources/bitcoin.icns $(OSX_APP)/Contents/Info.plist \
$(OSX_APP)/Contents/MacOS/Paccoin-Qt $(OSX_APP)/Contents/Resources/Base.lproj/InfoPlist.strings

osx_volname:
echo $(OSX_VOLNAME) >$@

if BUILD_DARWIN
$(OSX_DMG): $(OSX_APP_BUILT) $(OSX_PACKAGING)
$(OSX_DEPLOY_SCRIPT) $(OSX_APP) -add-qt-tr $(OSX_QT_TRANSLATIONS) -translations-dir=$(QT_TRANSLATION_DIR) -dmg -fancy $(OSX_FANCY_PLIST) -verbose 2
$(OSX_DMG): $(OSX_APP_BUILT) $(OSX_PACKAGING) $(OSX_BACKGROUND_IMAGE)
$(PYTHON) $(OSX_DEPLOY_SCRIPT) $(OSX_APP) -add-qt-tr $(OSX_QT_TRANSLATIONS) -translations-dir=$(QT_TRANSLATION_DIR) -dmg -fancy $(OSX_FANCY_PLIST) -verbose 2 -volname $(OSX_VOLNAME)

$(OSX_BACKGROUND_IMAGE).png: contrib/macdeploy/$(OSX_BACKGROUND_SVG)
sed 's/PACKAGE_NAME/$(PACKAGE_NAME)/' < "$<" | $(RSVG_CONVERT) -f png -d 36 -p 36 -o $@
$(OSX_BACKGROUND_IMAGE)@2x.png: contrib/macdeploy/$(OSX_BACKGROUND_SVG)
sed 's/PACKAGE_NAME/$(PACKAGE_NAME)/' < "$<" | $(RSVG_CONVERT) -f png -d 72 -p 72 -o $@
$(OSX_BACKGROUND_IMAGE): $(OSX_BACKGROUND_IMAGE).png $(OSX_BACKGROUND_IMAGE)@2x.png
tiffutil -cathidpicheck $^ -out $@

deploydir: $(OSX_DMG)
else
Expand All @@ -114,16 +131,20 @@ $(APP_DIST_DIR)/Applications:
$(APP_DIST_EXTRAS): $(APP_DIST_DIR)/$(OSX_APP)/Contents/MacOS/Paccoin-Qt

$(OSX_DMG): $(APP_DIST_EXTRAS)
$(GENISOIMAGE) -no-cache-inodes -D -l -probe -V "Paccoin-Core" -no-pad -r -dir-mode 0755 -apple -o $@ dist
$(GENISOIMAGE) -no-cache-inodes -D -l -probe -V "$(OSX_VOLNAME)" -no-pad -r -dir-mode 0755 -apple -o $@ dist

$(APP_DIST_DIR)/.background/$(OSX_BACKGROUND_IMAGE): contrib/macdeploy/$(OSX_BACKGROUND_IMAGE)
dpi%.$(OSX_BACKGROUND_IMAGE): contrib/macdeploy/$(OSX_BACKGROUND_SVG)
sed 's/PACKAGE_NAME/$(PACKAGE_NAME)/' < "$<" | $(RSVG_CONVERT) -f png -d $* -p $* | $(IMAGEMAGICK_CONVERT) - $@
OSX_BACKGROUND_IMAGE_DPIFILES := $(foreach dpi,$(OSX_BACKGROUND_IMAGE_DPIS),dpi$(dpi).$(OSX_BACKGROUND_IMAGE))
$(APP_DIST_DIR)/.background/$(OSX_BACKGROUND_IMAGE): $(OSX_BACKGROUND_IMAGE_DPIFILES)
$(MKDIR_P) $(@D)
$(INSTALL) $< $@
$(APP_DIST_DIR)/.DS_Store: contrib/macdeploy/DS_Store
$(INSTALL) $< $@
$(TIFFCP) -c none $(OSX_BACKGROUND_IMAGE_DPIFILES) $@

$(APP_DIST_DIR)/.DS_Store: $(OSX_DSSTORE_GEN)
$(PYTHON) $< "$@" "$(OSX_VOLNAME)"

$(APP_DIST_DIR)/$(OSX_APP)/Contents/MacOS/Paccoin-Qt: $(OSX_APP_BUILT) $(OSX_PACKAGING)
INSTALLNAMETOOL=$(INSTALLNAMETOOL) OTOOL=$(OTOOL) STRIP=$(STRIP) $(OSX_DEPLOY_SCRIPT) $(OSX_APP) -translations-dir=$(QT_TRANSLATION_DIR) -add-qt-tr $(OSX_QT_TRANSLATIONS) -verbose 2
INSTALLNAMETOOL=$(INSTALLNAMETOOL) OTOOL=$(OTOOL) STRIP=$(STRIP) $(PYTHON) $(OSX_DEPLOY_SCRIPT) $(OSX_APP) -translations-dir=$(QT_TRANSLATION_DIR) -add-qt-tr $(OSX_QT_TRANSLATIONS) -verbose 2

deploydir: $(APP_DIST_EXTRAS)
endif
Expand Down Expand Up @@ -171,16 +192,6 @@ test_paccoin.info: baseline_filtered_combined.info
test_paccoin_filtered.info: test_paccoin.info
$(LCOV) -r $< "/usr/include/*" -o $@

block_test.info: test_paccoin_filtered.info
$(MKDIR_P) qa/tmp
-@TIMEOUT=15 qa/pull-tester/run-bitcoind-for-test.sh $(JAVA) -jar $(JAVA_COMPARISON_TOOL) qa/tmp/compTool $(COMPARISON_TOOL_REORG_TESTS)
$(LCOV) -c -d $(abs_builddir)/src --t BitcoinJBlockTest -o $@
$(LCOV) -z -d $(abs_builddir)/src
$(LCOV) -z -d $(abs_builddir)/src/leveldb

block_test_filtered.info: block_test.info
$(LCOV) -r $< "/usr/include/*" -o $@

rpc_test.info: test_paccoin_filtered.info
-@TIMEOUT=15 python qa/pull-tester/rpc-tests.py $(EXTENDED_RPC_TESTS)
$(LCOV) -c -d $(abs_builddir)/src --t rpc-tests -o $@
Expand All @@ -193,8 +204,8 @@ rpc_test_filtered.info: rpc_test.info
test_paccoin_coverage.info: baseline_filtered_combined.info test_paccoin_filtered.info
$(LCOV) -a baseline_filtered.info -a leveldb_baseline_filtered.info -a test_paccoin_filtered.info -o $@

total_coverage.info: baseline_filtered_combined.info test_paccoin_filtered.info block_test_filtered.info rpc_test_filtered.info
$(LCOV) -a baseline_filtered.info -a leveldb_baseline_filtered.info -a test_paccoin_filtered.info -a block_test_filtered.info -a rpc_test_filtered.info -o $@ | $(GREP) "\%" | $(AWK) '{ print substr($$3,2,50) "/" $$5 }' > coverage_percent.txt
total_coverage.info: baseline_filtered_combined.info test_paccoin_filtered.info rpc_test_filtered.info
$(LCOV) -a baseline_filtered.info -a leveldb_baseline_filtered.info -a test_paccoin_filtered.info -a rpc_test_filtered.info -o $@ | $(GREP) "\%" | $(AWK) '{ print substr($$3,2,50) "/" $$5 }' > coverage_percent.txt

test_paccoin.coverage/.dirstamp: test_paccoin_coverage.info
$(GENHTML) -s $< -o $(@D)
Expand All @@ -208,21 +219,19 @@ cov: test_paccoin.coverage/.dirstamp total.coverage/.dirstamp

endif

# Paccoin: disable the test until upstream switches from convoluted comparison tool
# Ref https://github.com/bitcoin/bitcoin/issues/4545
if USE_COMPARISON_TOOL
check-local:
## $(MKDIR_P) qa/tmp
## @qa/pull-tester/run-bitcoind-for-test.sh $(JAVA) -jar $(JAVA_COMPARISON_TOOL) qa/tmp/compTool $(COMPARISON_TOOL_REORG_TESTS) 2>&1
endif

dist_noinst_SCRIPTS = autogen.sh

EXTRA_DIST = $(top_srcdir)/share/genbuild.sh qa/pull-tester/rpc-tests.py qa/rpc-tests $(DIST_DOCS) $(WINDOWS_PACKAGING) $(OSX_PACKAGING) $(BIN_CHECKS)
EXTRA_DIST = $(top_srcdir)/share/genbuild.sh qa/pull-tester/rpc-tests.py qa/rpc-tests $(DIST_CONTRIB) $(DIST_DOCS) $(WINDOWS_PACKAGING) $(OSX_PACKAGING) $(BIN_CHECKS)

CLEANFILES = $(OSX_DMG) $(BITCOIN_WIN_INSTALLER)

# This file is problematic for out-of-tree builds if it exists.
DISTCLEANFILES = qa/pull-tester/tests_config.pyc

.INTERMEDIATE: $(COVERAGE_INFO)

DISTCHECK_CONFIGURE_FLAGS = --enable-man

clean-local:
rm -rf coverage_percent.txt test_paccoin.coverage/ total.coverage/ qa/tmp/ cache/ $(OSX_APP)
rm -rf qa/pull-tester/__pycache__
6 changes: 6 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
#!/bin/sh
# Copyright (c) 2013-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

set -e
srcdir="$(dirname $0)"
cd "$srcdir"
if [ -z ${LIBTOOLIZE} ] && GLIBTOOLIZE="`which glibtoolize 2>/dev/null`"; then
LIBTOOLIZE="${GLIBTOOLIZE}"
export LIBTOOLIZE
fi
which autoreconf >/dev/null || \
(echo "configuration failed, please install autoconf first" && exit 1)
autoreconf --install --force --warnings=all
18 changes: 14 additions & 4 deletions build-aux/m4/ax_boost_base.m4
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.

#serial 23
#serial 27

AC_DEFUN([AX_BOOST_BASE],
[
Expand Down Expand Up @@ -95,7 +95,7 @@ if test "x$want_boost" = "xyes"; then
x86_64)
libsubdirs="lib64 libx32 lib lib64"
;;
ppc64|s390x|sparc64|aarch64)
ppc64|s390x|sparc64|aarch64|ppc64le)
libsubdirs="lib64 lib lib64"
;;
esac
Expand Down Expand Up @@ -170,7 +170,7 @@ if test "x$want_boost" = "xyes"; then
AC_MSG_RESULT(yes)
succeeded=yes
found_system=yes
],[:
],[
])
AC_LANG_POP([C++])

Expand All @@ -179,6 +179,10 @@ if test "x$want_boost" = "xyes"; then
dnl if we found no boost with system layout we search for boost libraries
dnl built and installed without the --layout=system option or for a staged(not installed) version
if test "x$succeeded" != "xyes"; then
CPPFLAGS="$CPPFLAGS_SAVED"
LDFLAGS="$LDFLAGS_SAVED"
BOOST_CPPFLAGS=
BOOST_LDFLAGS=
_version=0
if test "$ac_boost_path" != ""; then
if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
Expand All @@ -191,6 +195,12 @@ if test "x$want_boost" = "xyes"; then
VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE"
done
dnl if nothing found search for layout used in Windows distributions
if test -z "$BOOST_CPPFLAGS"; then
if test -d "$ac_boost_path/boost" && test -r "$ac_boost_path/boost"; then
BOOST_CPPFLAGS="-I$ac_boost_path"
fi
fi
fi
else
if test "$cross_compiling" != yes; then
Expand Down Expand Up @@ -253,7 +263,7 @@ if test "x$want_boost" = "xyes"; then
AC_MSG_RESULT(yes)
succeeded=yes
found_system=yes
],[:
],[
])
AC_LANG_POP([C++])
fi
Expand Down
Loading