aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-05-20Convert UI interface to boost::signals2.Wladimir J. van der Laan
- 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.
2012-05-20Fine-grained UI updatesWladimir J. van der Laan
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-20Merge pull request #1323 from Diapolo/string_fixesWladimir J. van der Laan
translation updates / string updates
2012-05-20Merge pull request #1353 from Diapolo/RPC_OpenDebugLog_IconWladimir J. van der Laan
GUI: add an icon for Debug logfile -> Open in the RPC console
2012-05-20Merge pull request #1302 from laanwj/2012_05_utilstringsWladimir J. van der Laan
Get rid of snprintf (except one) with fixed buffers, shorten code
2012-05-19Merge pull request #1360 from jgarzik/datasyncJeff Garzik
Default to DB_TXN_WRITE_NOSYNC for all transactional operations
2012-05-19Merge pull request #1358 from luke-jr/shared_lockchkPieter Wuille
Shared code for wallet lock help and check
2012-05-19Merge pull request #1296 from Diapolo/CheckDiskSpaceGavin Andresen
make CheckDiskSpace() use 50 * 1024 * 1024 Bytes
2012-05-19Merge pull request #1289 from Diapolo/Bitcoin_as_nounGavin Andresen
change strings to Bitcoin (uppercase), where it is used as a noun and up...
2012-05-19Merge pull request #1362 from laanwj/2012_05_debugwindowicon2Wladimir J. van der Laan
Replace debug window icon with LGPL-licensed one (fixes #1348)
2012-05-19Replace debug window icon with LGPL-licensed one (fixes #1348)Wladimir J. van der Laan
2012-05-19Default to DB_TXN_WRITE_NOSYNC for all transactional operationsJeff Garzik
* This is safer than DB_TXN_NOSYNC, and does not appear to impact performance. * Applying this to the dbenv is necessary to avoid many fdatasync(2) calls on db 5.x * We carefully and thoroughly flush databases upon shutdown and other important events already.
2012-05-18Shared code for wallet lock help and checkLuke Dashjr
2012-05-18change strings to Bitcoin (uppercase), where it is used as a noun and update ↵Philip Kaufmann
strings to use "Qt" (and not qt or QT) / update initialisation of notificator to use qApp->applicationName() instead of a static string
2012-05-18Merge pull request #1350 from jgarzik/del-deprecatedJeff Garzik
JSON-RPC: remove 'getblocknumber' deprecated RPC
2012-05-18Use boost::thread locking instead of interprocessPieter Wuille
2012-05-18add an icon for Debug logfile -> Open in the RPC console / add a missing ↵Philip Kaufmann
comment in rpcconsole.h
2012-05-18Merge pull request #1346 from laanwj/2012_05_overviewpage_restoreWladimir J. van der Laan
Restore overview page (put transactions back within frame)
2012-05-18Restore overviewpage (put transactions back within frame)Wladimir J. van der Laan
- Also, change "(out of sync)" to only red, instead of red and bold, which a bit more subtle - Move label stylesheets to xml
2012-05-17JSON-RPC: remove 'getblocknumber' deprecated RPCJeff Garzik
RPC 'getblockcount' should be used instead.
2012-05-17Make orphan logging more verbose, displaying mapOrphanTransactions.size()Jeff Garzik
Old log message: storing orphan tx df2244f6bc New log message: storing orphan tx df2244f6bc (mapsz 51) Also, trim a few trailing whitespace in main.cpp.
2012-05-17Merge pull request #1340 from rebroad/DBFlushDurationReportJeff Garzik
Report how long DBFlush took.
2012-05-17Revert "use _strnicmp (ISO C++) instead of deprecated strnicmp (POSIX) and ↵Jeff Garzik
add missing "#define strncasecmp _strnicmp" in init.cpp" This reverts commit f4ac41806af5766199a7d526a7becbcb8a0f5ab3. Reason: breaks build.
2012-05-17Merge pull request #1345 from Diapolo/strnicmp_Win32Jeff Garzik
Win32: use _strnicmp (ISO C++) instead of deprecated strnicmp (POSIX)
2012-05-17Report how long DBFlush took.R E Broadley
2012-05-17use _strnicmp (ISO C++) instead of deprecated strnicmp (POSIX) and add ↵Philip Kaufmann
missing "#define strncasecmp _strnicmp" in init.cpp
2012-05-17Merge pull request #1314 from Diapolo/Wallet_Transaction_state_OverviewpageWladimir J. van der Laan
GUI: add 2 labels to the overviewpage that display Wallet and Transaction status
2012-05-17add 2 labels to the overviewpage that display Wallet and Transaction status ↵Philip Kaufmann
(obsolete or current) / cleanup overviewpage XML ui-file
2012-05-17Merge pull request #1336 from laanwj/2012_05_consoleiconWladimir J. van der Laan
Add icon for debug window
2012-05-17Add icon for debug windowWladimir J. van der Laan
2012-05-17Merge pull request #1334 from rebroad/Exiting2ExitedJeff Garzik
Corrected grammar. As per Principle Of Least Surprise.
2012-05-17Corrected grammar. As per Principle Of Least Surprise.R E Broadley
2012-05-17Add /bin/sh to bitcoin-qt.pro - as some filesystems don't have the execute flag.R E Broadley
2012-05-17fix RenameOver() and FileCommit() functions, to not generate compilation errorsPhilip Kaufmann
2012-05-17Merge pull request #1295 from jgarzik/txn-retvalJeff Garzik
[FIX] Always check return values of TxnBegin() and TxnCommit()
2012-05-17Merge pull request #1316 from jgarzik/dead-codeJeff Garzik
Remove dead code: CTxDB::EraseBlockIndex(), CBlockIndex::EraseBlockFromDisk()
2012-05-17allow translation of "options" used in the --help message / split ↵Philip Kaufmann
translation of RPC console welcome message and remove the need to take care of "<br>" / remove some spaces in strings and misc other stuff related to translations
2012-05-16CAddrDB: Replace BDB-managed addr.dat with internally managed peers.datJeff Garzik
2012-05-16Add new utility functions FileCommit(), RenameOver()Jeff Garzik
2012-05-16Merge pull request #1319 from Diapolo/add_new_languagesWladimir J. van der Laan
add 4 new translations bg, el_GR, fr and pt_PT (based on transifex fetch from today)
2012-05-16Add missing Q_OBJECT in bitcoin.cppWladimir J. van der Laan
Fixes translating HelpMessageBox strings.
2012-05-15Merge pull request #1321 from laanwj/2012_05_updatemaintransWladimir J. van der Laan
Update bitcoinstrings.cpp and bitcoin_en.ts
2012-05-16Update bitcoinstrings.cpp and bitcoin_en.tsWladimir J. van der Laan
2012-05-15add 4 new translations bg, el_GR, fr and pt_PT (based on transifex fetch ↵Philip Kaufmann
from today)
2012-05-15Remove dead code: CTxDB::EraseBlockIndex(), CBlockIndex::EraseBlockFromDisk()Jeff Garzik
2012-05-15Hopefully final fix for the stuck blockchain issuePieter Wuille
Immediately issue a "getblocks", instead of a "getdata" (which will trigger the relevant "inv" to be sent anyway), and only do so when the previous set of invs led us into a known and attached part of the block tree.
2012-05-15adapt user-experience from messagepage / move placeholderTexts from XML to ↵Philip Kaufmann
source to avoid a problem with Qt < 4.7 / add eventFilter for address field to select text when clicking in / add Clear All button / rework strings
2012-05-14Merge pull request #1307 from Diapolo/fix_OpenLogFileWladimir J. van der Laan
GUI fix: DebugLog file opens twice after clicking "Open" in RPC Console Information tab
2012-05-14Merge pull request #1262 from Diapolo/no_double_timestampsGregory Maxwell
no more double timestamps in debug.log
2012-05-14fix DebugLog file opens twice after clicking "Open" in RPC Console ↵Philip Kaufmann
Information tab