aboutsummaryrefslogtreecommitdiff
path: root/src/ui_interface.h
Commit message (Collapse)AuthorAgeFilesLines
* scripted-diff: Move ui_interface to the node libMarcoFalke2020-06-271-121/+0
| | | | | | | | | | | | | | | | | -BEGIN VERIFY SCRIPT- # Move files git mv src/ui_interface.h src/node/ui_interface.h git mv src/ui_interface.cpp src/node/ui_interface.cpp sed -i -e 's/BITCOIN_UI_INTERFACE_H/BITCOIN_NODE_UI_INTERFACE_H/g' src/node/ui_interface.h # Adjust includes and makefile sed -i -e 's|ui_interface|node/ui_interface|g' $(git grep -l ui_interface) # Sort includes git diff -U0 | clang-format-diff -p1 -i -v -END VERIFY SCRIPT-
* wallet: Do not include server symbolsMarcoFalke2020-06-271-8/+0
| | | | | ui_interface is in libbitcoin_server and can not be included in the wallet because the wallet does not link with server symbols.
* Revert "Fix link error with --enable-debug"MarcoFalke2020-06-271-1/+1
| | | | This reverts commit b83cc0fc94df99f0334430e63e8c9fa6ae3790e1.
* Fix link error with --enable-debugHennadii Stepanov2020-06-171-1/+1
|
* refactor: Use AbortError in FatalErrorMarcoFalke2020-06-161-0/+1
| | | | This is needed for consistency with AbortNode
* Drop MSG_NOPREFIX flagHennadii Stepanov2020-06-041-3/+0
| | | | | Since bilingual_str type is fully supported, the MSG_NOPREFIX flag is no longer needed.
* refactor: Pass SynchronizationState enum to GUIHennadii Stepanov2020-05-191-2/+3
| | | | Co-authored-by: Russell Yanofsky <[email protected]>
* gui: Do not translate InitWarning messages in debug.logHennadii Stepanov2020-05-101-2/+1
|
* Make InitError bilingualHennadii Stepanov2020-05-051-1/+2
|
* Make ThreadSafe{MessageBox|Question} bilingualHennadii Stepanov2020-05-051-2/+4
|
* scripted-diff: Bump copyright of files changed in 2020MarcoFalke2020-01-151-1/+1
| | | | | | -BEGIN VERIFY SCRIPT- ./contrib/devtools/copyright_header.py update ./ -END VERIFY SCRIPT-
* Merge #16963: wallet: Fix unique_ptr usage in boost::signals2Wladimir J. van der Laan2020-01-081-7/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6d6a7a8403ae923f189812edebdd95761de0e7f2 gui: Fix duplicate wallet showing up (João Barbosa) 81ea66c30e2953dee24d5b127c28daa0d9452a28 Drop signal CClientUIInterface::LoadWallet (Russell Yanofsky) Pull request description: This PR includes 2 fixes: - prevent GUI LoadWallet handlers from crashing on startup when multiple handlers are attached, because the first handler takes ownership of the wallet unique pointer. Now every handler will receive its own unique pointer; - prevent showing a wallet twice in the GUI on startup due to a race with `loadwallet`. Fixes #16937 ACKs for top commit: fjahr: code review ACK 6d6a7a8403ae923f189812edebdd95761de0e7f2 ryanofsky: Code review ACK 6d6a7a8403ae923f189812edebdd95761de0e7f2. No changes since last ACK other than rebase due to #17070 kallewoof: Code review ACK 6d6a7a8403ae923f189812edebdd95761de0e7f2 Tree-SHA512: 7f0658c9011f81dfa176a094c2263448ee1d14fda7dc94e8b55ee9c8b81538bd2d1e4bf8a8dbfcd029ebfc9feb6d3cda9dee3f911122df0a4b1e0ca75f653ba4
| * Drop signal CClientUIInterface::LoadWalletRussell Yanofsky2019-10-261-7/+0
| |
* | scripted-diff: Bump copyright of files changed in 2019MarcoFalke2019-12-301-1/+1
|/ | | | | | -BEGIN VERIFY SCRIPT- ./contrib/devtools/copyright_header.py update ./ -END VERIFY SCRIPT-
* Remove unused includespracticalswift2019-10-151-1/+0
|
* Add MSG_NOPREFIX flag for user messagesHennadii Stepanov2019-06-191-0/+3
| | | | It forces do not prepend error/warning prefix.
* Merge #15699: Remove no-op CClientUIInterface::[signal_name]_disconnect. ↵MarcoFalke2019-04-231-2/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disconnect BlockNotifyGenesisWait and RPCNotifyBlockChange properly. 6dd469a3be Disconnect BlockNotifyGenesisWait and RPCNotifyBlockChange properly. Remove no-op CClientUIInterface::[signal_name]_disconnect. (practicalswift) Pull request description: Resolves #15698. Changes: * Remove no-op `CClientUIInterface::[signal_name]_disconnect`. * Disconnect `BlockNotifyGenesisWait` and `RPCNotifyBlockChange` properly. ACKs for commit 6dd469: MarcoFalke: utACK 6dd469a3bea60d8857ec0be625c2ef8a7716c148 Tree-SHA512: 0b50d658fa72261332bc57ddea379fd08f4bc1de392c10c628e20142d6fd244b606c39fd0665d6bc39324c1aa8c8814ac942b4659106279e33b90206aaf37411
| * Disconnect BlockNotifyGenesisWait and RPCNotifyBlockChange properly. Remove ↵practicalswift2019-03-291-2/+1
| | | | | | | | no-op CClientUIInterface::[signal_name]_disconnect.
* | [build] Add several util unitsJohn Newbery2019-04-091-4/+0
|/ | | | | | | | | | | | Adds the following util units and adds them to libbitcoin_util: - `util/url.cpp` takes `urlDecode` from `httpserver.cpp` - `util/error.cpp` takes `TransactionErrorString` from `node/transaction.cpp` and `AmountHighWarn` and `AmountErrMsg` from `ui_interface.cpp` - `util/fees.cpp` takes `StringForFeeReason` and `FeeModeFromString` from `policy/fees.cpp` - `util/rbf.cpp` takes `SignalsOptInRBF` from `policy/rbf.cpp` - 'util/validation.cpp` takes `FormatStateMessage` and `strMessageMagic` from 'validation.cpp`
* Remove use of uiInterface.LoadWallet in wallet codeRussell Yanofsky2019-02-221-2/+5
| | | | | | | | | This also changes the uiInterface.LoadWallet signal argument type from shared_ptr<CWallet> to unique_ptr<interfaces::Wallet> because CWallet is an internal wallet class that shouldn't be used in non-wallet code (and also can't be passed across process boundaries). This commit does not change behavior.
* Make macro compatible with MSVCChun Kuan Lee2018-08-141-3/+3
|
* Merge #13634: ui: Compile boost::signals2 only onceMarcoFalke2018-08-131-14/+23
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fa5ce27385 ui: Compile boost:signals2 only once (MarcoFalke) Pull request description: ui is one of the modules that poison other modules with `boost/signals2` headers. This moves the include to the cpp file and uses a forward declaration in the header. Locally this speeds up the incremental build (building everything that uses the ui module) with gcc by ~5% for me. Gcc uses ~5% less memory. Would be nice if someone could verify the numbers roughly. I presume the improvements will be more pronounced if the other models would stop exposing the boost header as well. Tree-SHA512: 078360eba330ddbca4268bd8552927eae242a239e18dfded25ec20be72650a68cd83af7ac160690249b943d33ae35d15df1313f1f60a0c28b9526853aa7d1e40
| * ui: Compile boost:signals2 only onceMarcoFalke2018-08-071-14/+23
| |
* | Update copyright headers to 2018DrahtBot2018-07-271-1/+1
|/
* wallet: Use shared pointer to retain wallet instanceJoão Barbosa2018-05-221-1/+2
|
* Increment MIT Licence copyright header year on files modified in 2017Akira Takizawa2018-01-031-1/+1
|
* Drop upgrade-cancel callback registration for a generic "resumeable"Matt Corallo2017-08-201-5/+5
| | | | | | | Instead of passing a StartShutdown reference all the way up from txdb, give ShowProgress a "resumeable" boolean, which is used to inform the user if the action will be resumed, but cancel is always allowed by just calling StartShutdown().
* [Qt] allow to execute a callback during splashscreen progressJonas Schnelli2017-06-291-0/+3
|
* Remove unnecessary forward class declarations in header filespracticalswift2017-06-121-2/+0
|
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Merge #8996: Network activity toggleJonas Schnelli2016-11-111-0/+3
|\ | | | | | | | | | | | | | | | | 19f46f1 Qt: New network_disabled icon (Luke Dashjr) 54cf997 RPC/Net: Use boolean consistently for networkactive, and remove from getinfo (Luke Dashjr) b2b33d9 Overhaul network activity toggle (Jonas Schnelli) 32efa79 Qt: Add GUI feedback and control of network activity state. (Jon Lund Steffensen) e38993b RPC: Add "togglenetwork" method to toggle network activity temporarily (Jon Lund Steffensen) 7c9a98a Allow network activity to be temporarily suspended. (Jon Lund Steffensen)
| * Qt: Add GUI feedback and control of network activity state.Jon Lund Steffensen2016-10-241-0/+3
| | | | | | | | | | | | | | Add getNetworkActive()/setNetworkActive() method to client model. Send network active status through NotifyNetworkActiveChanged. Indicate in tool tip of gui status bar network indicator whether network activity is disabled. Indicate in debug window whether network activity is disabled and add button to allow user to toggle network activity state.
* | [wallet] Add high transaction fee warningsMarcoFalke2016-09-261-0/+2
|/
* Do not ask a UI question from bitcoindPieter Wuille2016-06-241-0/+3
|
* Report reindexing progress in GUIPieter Wuille2016-05-171-0/+3
|
* [ui] Move InitError, InitWarning, AmountErrMsgMarcoFalke2016-04-021-0/+8
|
* Update alert notification and GUIBtcDrak2016-03-181-3/+2
|
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* NotifyBlockTip signal: switch from hash (uint256) to CBlockIndex*Jonas Schnelli2015-11-301-1/+2
| | | | | - also adds a boolean for indication if the tip update was happening during initial sync - emit notification also during initial sync
* [Qt] add ui signal for banlist changesJonas Schnelli2015-09-161-0/+3
|
* Separate CTranslationInterface from CClientUIInterfaceJorge Timón2015-04-161-13/+0
|
* Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* Remove references to X11 licenceMichael Ford2014-12-161-1/+1
|
* Add a SECURE style flag for ThreadSafeMessageBox, which indicates that the ↵Mark Friedenbach2014-10-171-0/+3
| | | | message contains sensitive information. This keeps the message from being output to the debug log by bitcoind. Fixes a possible security risk when starting bitcoind in server mode without the 'rpcpassword' option configured, resulting in the "suggested" password being output to the debug log.
* Merge pull request #4779Wladimir J. van der Laan2014-09-011-1/+1
|\ | | | | | | 093303a add missing header end comments (Philip Kaufmann)
| * add missing header end commentsPhilip Kaufmann2014-08-281-1/+1
| | | | | | | | | | | | - ensures a consistent usage in header files - also add a blank line after the copyright header where missing - also remove orphan new-lines at the end of some files
* | Create new signal for notification of new blocks. Use w/ -blocknotifyJeff Garzik2014-08-141-0/+3
| |
* | ui_interface: remove unused NotifyBlocksChanged signalJeff Garzik2014-08-141-3/+0
|/
* Revert "UI to alert of respend attempt affecting wallet."Wladimir J. van der Laan2014-07-211-2/+1
| | | | | | | | This reverts commit ada5a067c75f19a724cc054286ecf2254e5dbe8f. Conflicts: src/qt/guiconstants.h src/wallet.h
* qt: Ignore showNormalIfMinimized in initialization or shutdownWladimir J. van der Laan2014-07-141-2/+0
| | | | | | | Also get rid of ui_interface flag NOSHOWGUI. It's up to the GUI to decide this. Fixes #4360.