lbrycrd/src
Wladimir J. van der Laan fe4a655042 Fine-grained UI updates
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.
2012-05-20 10:41:54 +02:00
..
json Back out spacing changes to json spirit code 2012-01-19 14:32:45 -05:00
obj Bump version numbers for 0.6.1rc1 2012-04-27 10:14:33 -04:00
obj-test Rename src/obj/test to src/obj-test to workaround bug in older GNU Make 2012-01-23 14:27:08 -05:00
qt Fine-grained UI updates 2012-05-20 10:41:54 +02:00
test change strings to Bitcoin (uppercase), where it is used as a noun and update strings to use "Qt" (and not qt or QT) / update initialisation of notificator to use qApp->applicationName() instead of a static string 2012-05-18 23:13:58 +02:00
addrman.cpp Clean up warnings 2012-05-09 03:48:30 +02:00
addrman.h Split synchronization mechanisms from util.{h,cpp} 2012-05-11 18:13:51 +02:00
allocators.h Add missing includes. (Fix bulding under GCC 4.7) 2012-04-20 12:50:57 +02:00
base58.h change strings to Bitcoin (uppercase), where it is used as a noun and update strings to use "Qt" (and not qt or QT) / update initialisation of notificator to use qApp->applicationName() instead of a static string 2012-05-18 23:13:58 +02:00
bignum.h Add casts for unavoidable signed/unsigned comparisons 2012-04-23 14:14:36 -04:00
bitcoinrpc.cpp Merge pull request #1358 from luke-jr/shared_lockchk 2012-05-19 08:34:27 -07:00
bitcoinrpc.h Support multi-threaded JSON-RPC 2012-05-08 20:11:17 -04:00
checkpoints.cpp Remove headers.h 2012-04-17 20:00:55 +02:00
checkpoints.h Remove headers.h 2012-04-17 20:00:55 +02:00
compat.h We should include netinet/in.h to use sockaddr_in (POSIX.1-2001) 2012-04-25 14:07:24 +02:00
crypter.cpp Further reduce header dependencies 2012-04-17 20:03:42 +02:00
crypter.h Further reduce header dependencies 2012-04-17 20:03:42 +02:00
db.cpp Default to DB_TXN_WRITE_NOSYNC for all transactional operations 2012-05-19 01:25:06 -04:00
db.h Default to DB_TXN_WRITE_NOSYNC for all transactional operations 2012-05-19 01:25:06 -04:00
init.cpp Merge pull request #1323 from Diapolo/string_fixes 2012-05-20 01:34:06 -07:00
init.h Move help message out of AppInit2 2012-05-13 18:41:19 +02:00
irc.cpp Corrected grammar. As per Principle Of Least Surprise. 2012-05-17 18:52:38 +01:00
irc.h Support for multiple local addresses 2012-05-04 16:12:23 +02:00
key.cpp Update all copyrights to 2012 2012-02-07 11:28:30 -05:00
key.h Fix tests after recent refactors 2012-04-17 20:37:47 +02:00
keystore.cpp Fine-grained UI updates 2012-05-20 10:41:54 +02:00
keystore.h Fine-grained UI updates 2012-05-20 10:41:54 +02:00
main.cpp Fine-grained UI updates 2012-05-20 10:41:54 +02:00
main.h Fine-grained UI updates 2012-05-20 10:41:54 +02:00
makefile.linux-mingw Add /bin/sh to bitcoin-qt.pro - as some filesystems don't have the execute flag. 2012-05-17 18:48:09 +01:00
makefile.mingw Merge pull request #1021 from sipa/ipv6 2012-05-11 18:23:56 -07:00
makefile.osx Add /bin/sh to bitcoin-qt.pro - as some filesystems don't have the execute flag. 2012-05-17 18:48:09 +01:00
makefile.unix Add /bin/sh to bitcoin-qt.pro - as some filesystems don't have the execute flag. 2012-05-17 18:48:09 +01:00
mruset.h Begin doxygen-compatible comments 2012-03-26 16:48:23 +02:00
net.cpp Fine-grained UI updates 2012-05-20 10:41:54 +02:00
net.h CAddrDB: Replace BDB-managed addr.dat with internally managed peers.dat 2012-05-16 22:11:19 -04:00
netbase.cpp Use getnameinfo() to get canonical IPv6 addresses 2012-05-14 01:41:15 +02:00
netbase.h Separate listening sockets, -bind=<addr> 2012-05-11 15:29:20 +02:00
noui.cpp Fine-grained UI updates 2012-05-20 10:41:54 +02:00
protocol.cpp Add casts for unavoidable signed/unsigned comparisons 2012-04-23 14:14:36 -04:00
protocol.h Move proto version to version.h. Reduce header deps a bit more. 2012-04-17 20:02:38 +02:00
rpcdump.cpp Fine-grained UI updates 2012-05-20 10:41:54 +02:00
script.cpp EvalScript(): cast to avoid signed/unsigned warning 2012-05-01 17:57:12 -04:00
script.h Add casts for unavoidable signed/unsigned comparisons 2012-04-23 14:14:36 -04:00
serialize.h remove unused typedef in serialize.h 2012-05-01 01:56:47 +02:00
strlcpy.h Remove headers.h 2012-04-17 20:00:55 +02:00
sync.cpp Use boost::thread locking instead of interprocess 2012-05-18 16:56:12 +02:00
sync.h Use boost::thread locking instead of interprocess 2012-05-18 16:56:12 +02:00
ui_interface.h Fine-grained UI updates 2012-05-20 10:41:54 +02:00
uint256.h Merge pull request #1126 from drizztbsd/master 2012-04-21 15:13:29 -07:00
util.cpp Merge pull request #1302 from laanwj/2012_05_utilstrings 2012-05-20 01:30:18 -07:00
util.h Merge pull request #1302 from laanwj/2012_05_utilstrings 2012-05-20 01:30:18 -07:00
version.cpp version.h: separate client, net sections. Move more constants to this file. 2012-04-12 12:23:58 -04:00
version.h Fix version numbers of archive builds 2012-05-11 11:44:53 +02:00
wallet.cpp Fine-grained UI updates 2012-05-20 10:41:54 +02:00
wallet.h Fine-grained UI updates 2012-05-20 10:41:54 +02:00
walletdb.cpp ensure that no double timestamps show up in the debug.log, by removing manual timestamps from the source (now only -logtimestamps parameter adds timestamps to debug.log) 2012-05-13 14:36:35 +02:00
walletdb.h Move CWalletDB code to new walletdb module. 2012-04-17 20:00:55 +02:00