aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoin.cpp
AgeCommit message (Collapse)Author
2012-06-01move class HelpMessageBox to guiutil.cpp/.h / add button to show Bitcoin ↵Philip Kaufmann
command-line options (in RPC Console -> Information) / resize Debug window a little to allow for a non-breaking display of the welcome message with non-english translation
2012-05-20Merge pull request #1363 from Diapolo/remove_strncasecmpPieter Wuille
remove strncasecmp() + strnicmp() calls use boost::algorithm::istarts_with()
2012-05-20Make testcases build, prevent windows symbol collisionWladimir J. van der Laan
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-20remove strncasecmp() + strnicmp() calls and replace that code via ↵Philip Kaufmann
boost::algorithm::istarts_with() / do not call ipcInit() on Mac and Windows as this is unneeded currently
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-17use _strnicmp (ISO C++) instead of deprecated strnicmp (POSIX) and add ↵Philip Kaufmann
missing "#define strncasecmp _strnicmp" in init.cpp
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-16Add missing Q_OBJECT in bitcoin.cppWladimir J. van der Laan
Fixes translating HelpMessageBox strings.
2012-05-13Move help message out of AppInit2Wladimir J. van der Laan
- Solves #1278, attempts to address #1049 - Removes \t's from help message that are removed afterwards anyway - Moves UI-specific command-line options help to UI code - Moves "-detachdb" out of #ifdef USE_UPNP
2012-05-13Move GetStartOnSystemStartup and SetStartOnSystemStartup to GUI codeWladimir J. van der Laan
2012-05-10Merge pull request #1090 from laanwj/2012_04_wraptooltipsWladimir J. van der Laan
Allow Qt to wrap long tooltips (fixes #1063)
2012-05-06Hide UI immediately after leaving the main loop.Wladimir J. van der Laan
Prevents it from seeming to hang during shutdown if shutdown is triggered while the window is open.
2012-05-05Allow Qt to wrap long tooltips (fixes #1063)Wladimir J. van der Laan
Implemented without having to touch any translation: by listening for QEvent::ToolTipChange events, then rewriting the tooltips to prefix `<qt/>` if it is not yet rich text.
2012-05-01small translation-file handling / loading changes and re-work comments to be ↵Philip Kaufmann
clearer
2012-04-22Make GetDataDir return absolute pathsPieter Wuille
2012-04-17Further reduce header dependenciesPieter Wuille
This commit removes the dependency of serialize.h on PROTOCOL_VERSION, and makes this parameter required instead of implicit. This is much saner, as it makes the places where changing a version number can have an influence obvious.
2012-04-17Remove headers.hPieter Wuille
2012-04-14Show a message box when runaway exception happensWladimir J. van der Laan
This is more clear to users than when the program simply disappears (usually during initialization). It still logs the message to the console and debug log as well.
2012-04-06Bugfix: Replace "URL" with "URI" where we aren't actually working with URLsLuke Dashjr
2012-04-04qtui.h/noui.h interface cleanupWladimir J. van der Laan
- rename wxMessageBox, remove redundant arguments to noui/qtui calls - also, add flag to force blocking, modal dialog box for disk space warning etc - clarify function naming - no more special MessageBox needed from AppInit2, as window object is created before calling AppInit2
2012-04-04support RPC stop and encryptwallet with UIWladimir J. van der Laan
2012-04-04remove unused CalledSetStatusBar and UIThreadCall notificationsWladimir J. van der Laan
2012-04-04Update UI through async calls MainFrameRepaint and AddressBookRepaint ↵Wladimir J. van der Laan
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
2012-04-04Code deduplication: make function in GUIUtil to get connection type to call ↵Wladimir J. van der Laan
object slot in GUI thread with invokeMethod.
2012-04-04move QT_PLUGINS stuff to qt main file, where it belongsWladimir J. van der Laan
2012-04-03VC2010 compile fixesWladimir J. van der Laan
2012-03-26Disable bitcoin: URI handling on Windows for the 0.6 releaseGavin Andresen
2012-03-21Correct dateMichael
2012-02-26Reworked QT settingsGavin Andresen
2012-02-24Add option "-splash" so we can disable the splash screen.Chris Moore
Don't show splash screen when -min is specified on the command line.
2012-02-20Merge pull request #857 from laanwj/2012_02_fixhelpwindowWladimir J. van der Laan
On windows, show message box with help, as there is no stderr (fixes #702)
2012-02-17Allow setting UI language from commandline (implements #678)Wladimir J. van der Laan
2012-02-17On windows, show message box with help, as there is no stderr (fixes #702)Wladimir J. van der Laan
2012-02-10Add Bitcoin-Qt test suite with some bitcoin: URL Tests to start.Matt Corallo
2012-02-07Update all copyrights to 2012Gavin Andresen
2012-01-05Add support for opening bitcoin: URIs directly.Matt Corallo
2011-12-23Comments updateWladimir J. van der Laan
2011-12-21Revert "Use standard C99 (and Qt) types for 64-bit integers"Wladimir J. van der Laan
This reverts commit 21d9f36781604e4ca9fc35dc65265593423b73e9.
2011-12-20Use standard C99 (and Qt) types for 64-bit integersLuke Dashjr
2011-12-19Merge pull request #690 from runeksvendsen/qt-cmdline-options-parsingGavin Andresen
When using Qt GUI, move parameter-parsing to start of qt/bitcoin.cpp:main()
2011-12-13Fix status bar not displaying Alerts.Matt Corallo
2011-12-09When using Qt GUI, move parameter-parsing to start of qt/bitcoin.cpp:main()Rune K Svendsen
2011-12-04Implement -min option to start minimizedWladimir J. van der Laan
2011-11-03Merge git://github.com/p2k/bitcoin-qtGavin Andresen
2011-11-02Mac Deployment Scriptp2k
See notes.txt in contrib/macdeploy. Also added a dash to the application name in src/qt/bitcoin.cpp
2011-10-23Translation lookup logic improvementsWladimir J. van der Laan
- use wildcard for TRANSLATIONS in bitcoin-qt.pro to automatically build all translations present in src/qt/locale (thanks @tcatm) - first load translations/<language>.qm, then translations/<language>_<TERRITORY>.qm, so that territory-specific translations take precedence, but the fallback is on the base language if no territory-specific translation exists.
2011-10-09Improved Mac experience; QDoubleSpinBox for BitcoinAmountFieldp2k
Now it can't be told if this is was a Windows App before. All Mac design principles are fulfilled and some cosmetics have been applied to suit the native look and feel. The biggest change there is the proper use of the Dock icon which takes the role of the Tray icon on Mac. The QDoubleSpinBox improves entering of Bitcoin amounts, no two separate fields are required anymore. All functionality and validation effects have been retained; pressing the comma key will be internally translated to a period to keep it consistent throughout the application and eases entering in countries which use the comma as decimal separator. Additionally, Notificator now supports Growl, Mac's native notification system. This is provided via Apple Script in order to avoid linking to Growl on compile time. Other changes involve encapsulation of Toolbar and Menubar creation, loading of Qt's own translation and some clean up.
2011-10-01only install translator when not emptyWladimir J. van der Laan