aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* only update cached values in ClientModel::updateTimer() when they are changedPhilip Kaufmann2012-08-011-3/+5
|
* Add a timer to check for changes in immature or unconfirmed balances,Scott Ellis2012-07-061-1/+1
| | | | when these are non-zero. Fixed a minor mem leak.
* add client startup time as an entry to debug.log (note: logged time in ↵Philip Kaufmann2012-05-231-2/+2
| | | | debug.log differs by a few seconds from the one displayed in the Debug window) / make ClientModel::formatClientStartupTime() return a QString
* Convert UI interface to boost::signals2.Wladimir J. van der Laan2012-05-201-0/+45
| | | | | | | | - Signals now go directly from the core to WalletModel/ClientModel. - WalletModel subscribes to signals on CWallet: Prepares for multi-wallet support, by no longer assuming an implicit global wallet. - Gets rid of noui.cpp, the few lines that were left are merged into init.cpp - Rename wxXXX message flags to MF_XXX, to make them UI indifferent. - ThreadSafeMessageBox no longer returns the value `4` which was never used, converted to void.
* Fine-grained UI updatesWladimir J. van der Laan2012-05-201-17/+40
| | | | | | | | | | | | | | | | | | | Gets rid of `MainFrameRepaint` in favor of specific update functions that tell the UI exactly what changed. This improves the efficiency of various handlers. Also fixes problems with mined transactions not showing up until restart. The following notifications were added: - `NotifyBlocksChanged`: Block chain changed - `NotifyKeyStoreStatusChanged`: Wallet status (encrypted, locked) changed. - `NotifyAddressBookChanged`: Address book entry changed. - `NotifyTransactionChanged`: Wallet transaction added, removed or updated. - `NotifyNumConnectionsChanged`: Number of connections changed. - `NotifyAlertChanged`: New, updated or cancelled alert. As this finally makes it possible for the UI to know when a new alert arrived, it can be shown as OS notification. These notifications could also be useful for RPC clients. However, currently, they are ignored in bitcoind (in noui.cpp). Also brings back polling with timer for numBlocks in ClientModel. This value updates so frequently during initial download that the number of signals clogs the UI thread and causes heavy CPU usage. And after initial block download, the value changes so rarely that a delay of half a second until the UI updates is unnoticable.
* add the client startup time to the debug window / rename Version label to ↵Philip Kaufmann2012-05-121-0/+6
| | | | Client, which is better suiting now / add IBeamCursor for selectable text on the information page / make ">" sign on RPC page untranslatable / re-order XML-file tags to match real GUI element order
* Add UI RPC console / debug windowWladimir J. van der Laan2012-05-051-0/+5
|
* Remove headers.hPieter Wuille2012-04-171-1/+1
|
* Build identification stringsPieter Wuille2012-04-101-0/+5
| | | | | | | | | | | | | | | | | | All client version information is moved to version.cpp, which optionally (-DHAVE_BUILD_INFO) includes build.h. build.h is automatically generated on supporting platforms via contrib/genbuild.sh, using git describe. The git export-subst attribute is used to put the commit id statically in version.cpp inside generated archives, and this value is used if no build.h is present. The gitian descriptors are modified to use git archive instead of a copy, to create the src/ directory in the output. This way, src/src/version.cpp will contain the static commit id. To prevent gitian builds from getting the "-dirty" marker in their git-describe generated identifiers, no touching of files or running sed on the makefile is performed anymore. This does not seem to influence determinism.
* Update UI through async calls MainFrameRepaint and AddressBookRepaint ↵Wladimir J. van der Laan2012-04-041-8/+10
| | | | | | | | instead of a timer. - Overall, this is better design - This fixes problems with the address book UI not updating when the address book is changed through RPC - Move Statusbar change detection responsibility to ClientModel
* Fix status bar not displaying Alerts.Matt Corallo2011-12-131-0/+5
|
* clarify function signature (GetNumBlocksOfPeers) and use number of 'frozen' ↵Wladimir J. van der Laan2011-09-111-2/+2
| | | | blocks as initial value for number of peer blocks
* The synchronization progress bar now compares the amount of total blocks to ↵Janne Pulkkinen2011-09-111-0/+8
| | | | amount of blocks downloaded at application start-up. Could be probably implemented better.
* update to work with new lock system, add protocol.* to build systemWladimir J. van der Laan2011-09-021-1/+1
|
* Full support for other units, add configuration option for default unit ↵Wladimir J. van der Laan2011-07-291-4/+2
| | | | (used when displaying amounts)
* make initial block download reporting somewhat better by tracking version ↵Wladimir J. van der Laan2011-07-171-6/+12
| | | | responses
* Display a "freshness" indicator instead of nr of blocksWladimir J. van der Laan2011-07-081-0/+6
|
* General cleanupsWladimir J. van der Laan2011-07-011-0/+4
|
* Make it very clear when on testnet (green icon, add [testnet] to title)Wladimir J. van der Laan2011-06-301-0/+5
|
* Split off WalletModel from ClientModel, to be able to support multi-wallets ↵Wladimir J. van der Laan2011-06-301-92/+1
| | | | in future
* update core to d0d80170a2ca73004e08fb85007fe055cbf4e411 (CWallet class)Wladimir J. van der Laan2011-06-261-13/+16
|
* allow adding address to address book in send dialogWladimir J. van der Laan2011-06-251-3/+4
|
* Allow changing default address (fixes issue #6)Wladimir J. van der Laan2011-06-211-25/+3
|
* On initial block chain download, show a progress barWladimir J. van der Laan2011-06-181-0/+6
|
* Prevent notification balloon-spam on initial block download, ↵Wladimir J. van der Laan2011-06-181-5/+10
| | | | const-correctness in client model
* remove commented code, use // for one-line comments and comments inside ↵Wladimir J. van der Laan2011-06-181-6/+4
| | | | functions
* move back to original directory structureWladimir J. van der Laan2011-06-111-0/+156