aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoin.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* [Qt] small notificator and style changesPhilip Kaufmann2013-12-031-3/+3
| | | | | | - remove default arguments for notificator - re-order some calls to use same ordering in Qt files - style police changes (spaces, comments and such)
* qt: GUI support for -disablewallet modeWladimir J. van der Laan2013-11-131-5/+14
|
* Merge pull request #3187 from Diapolo/netManagerWladimir J. van der Laan2013-11-111-1/+0
|\ | | | | [Qt] paymentserver: start netManager in uiReady()
| * [Qt] paymentserver: start netManager in uiReady()Philip Kaufmann2013-11-111-1/+0
| | | | | | | | | | | | | | | | | | | | - remove explicit init of netManager as this is done in the constructor anyway - move initNetManager() call to uiReady(), which removes an assert() and allows us to use message() in initNetManager() (currently unused but could be necessary because of proxy related messages) - make initNetManager() private - update paymentservertests.cpp
* | qt: add Open URI dialogWladimir J. van der Laan2013-11-111-0/+2
|/
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-13/+20
| | | | | | | | | Use misc methods of avoiding unnecesary header includes. Replace int typedefs with int##_t from stdint.h. Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h. Normalize QT_VERSION ifs where possible. Resolve some indirect dependencies as direct ones. Remove extern declarations from .cpp files.
* Merge pull request #3196 from laanwj/2013_11_nohaveguiWladimir J. van der Laan2013-11-051-3/+1
|\ | | | | No more fHaveGUI
| * No more fHaveGUIWladimir J. van der Laan2013-11-041-3/+1
| | | | | | | | | | | | No more specific handling of GUI in bitcoin core. Replace the last usage of fHaveGUI with a fForceServer parameter on AppInit2.
* | qt: add license header to source filesWladimir J. van der Laan2013-11-041-3/+3
|/ | | | Closes #839
* Qt: move paymentACK handling to paymentserverPhilip Kaufmann2013-10-241-2/+0
| | | | | | | | | - add new slot handlePaymentACK() to paymentserver, which handles paymentACK messages (currently we just display them) - make paymentACK message a modal information dialog - change some QObject::tr() to just tr() - clarify the processPaymentRequest() error, when IsDust() - small string change to prevent a tripple + usage with QString
* paymentserver: style fixes / cleanupPhilip Kaufmann2013-10-191-2/+2
| | | | | | | | - rename reportError() into message() to be in line with our default message() signal/slot naming (and can be used for all types of messages) - rename some QStrings to not collide with message() function - add a missing message for malformed URIs that IS also used in BitcoinGUI - fix / extend some comments and misc style fixes
* several small Qt-related fixesPhilip Kaufmann2013-09-281-0/+3
| | | | | | | | | - make BitcoinGUI::showPaymentACK() use a reference for msg and use our own GUIUtil::HtmlEscape() function - ensure QTimer usage in clientmodel is the same as in walletmodel - remove an unneeded debug message in walletframe - flag some parameters as unused in DebugMessageHandler() - small code formatting changes
* Replace printf with LogPrintf / LogPrintGavin Andresen2013-09-181-2/+2
|
* Refactor: OutputDebugStringF -> LogPrint(category, ...)Gavin Andresen2013-09-181-2/+2
|
* Bitcoin-Qt: allow to differentiate Qt log entries from corePhilip Kaufmann2013-08-311-9/+8
| | | | | | - prepend "Bitcoin-Qt" in front of debug.log entries, which come from Qt - move DebugMessageHandler installation upwards to the event handler installation, which fits much better
* Bitcoin-Qt: fixes for using display unit from optionsPhilip Kaufmann2013-08-291-1/+2
| | | | | | | - extend PaymentServer with setOptionsModel() and rework initNetManager() to make use of that - fix all other places in the code to use display unit from options and no hard-coded unit
* Bitcoin-Qt: add testnet check and icon to intro dialogPhilip Kaufmann2013-08-241-1/+1
|
* Payment Protocol: X509-validated payment requestsGavin Andresen2013-08-221-3/+13
| | | | | | | | Add support for a Payment Protocol to Bitcoin-Qt. Payment messages are protocol-buffer encoded and communicated over http(s), so this adds a dependency on the Google protocol buffer library, and requires Qt with OpenSSL support.
* Route qDebug() messages to debug.logGavin Andresen2013-08-221-0/+20
|
* Rework when payment server is startedGavin Andresen2013-08-221-6/+10
|
* update SelectParamsFromCommandLine() handling/orderPhilip Kaufmann2013-08-221-12/+27
| | | | | | | | | - move SelectParamsFromCommandLine() from init.cpp to bitcoin.cpp to allow to use TestNet() for Bitcoin-Qt instead of GetBoolArg("-testnet", false) - change order in bitcoind.cpp to match bitcoin.cpp functionality - hamonize error message strings for missing datadir and failing SelectParamsFromCommandLine() in bitcoin.cpp and bitcoind.cpp - use TestNet() call in splashscreen.cpp
* Remove #define loop from util.hGavin Andresen2013-07-311-1/+0
| | | | | Replace the loop macro with while (true). The #define caused problems for Qt.
* Bitcoin-Qt: fix QApplication includes to match our include defaultsPhilip Kaufmann2013-07-231-2/+2
| | | | | - move all QApplication includes to top of included Qt headers - undef our loop macro where it would cause compilation errors otherwise
* qt: allow user to choose data directoryWladimir J. van der Laan2013-06-161-40/+60
| | | | | | | | | | | | | | | | | | This adds an introduction screen that is shown when the client is first started in which the user can choose a data directory. It is also possible to force the intro screen to appear using command line argument `-choosedatadir`. The user is warned that the client will download and store 10Gb of data. The intro screen shows how much space is available on the device that contains the chosen directory and warns if this is less than the 10Gb. To make it possible to translate the introduction dialog, the initialization sequence is changed so that translations are loaded before the data directory. This has the by-effect that it is no longer possible to specify a language in bitcoin.conf inside the data directory.
* build: add global var for whether or not the gui is enabledCory Fields2013-06-041-0/+2
|
* Merge branch 'master' of git://github.com/bitcoin/bitcoin into prefsFixJonas Schnelli2013-06-031-5/+12
|\ | | | | | | | | | | | | Signed-off-by: Jonas Schnelli <[email protected]> Conflicts: bitcoin-qt.pro
| * Bitcoin-Qt: setup testnet GUI directlyPhilip Kaufmann2013-06-021-12/+1
| | | | | | | | | | | | | | - this directly sets up all GUI elements that have testnet special-casing without first setting up main net stuff and changing afterwards (titles, icons etc.) - also fixes 2 wrong icons shown during testnet usage on our toolbar
| * Merge pull request #2588 from Diapolo/GetBoolArgWladimir J. van der Laan2013-06-021-8/+8
| |\ | | | | | | remove GetBoolArg() fDefault parameter defaulting to false
| | * remove GetBoolArg() fDefault parameter defaulting to falsePhilip Kaufmann2013-06-011-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | - explicitly set the default of all GetBoolArg() calls - rework getarg_test.cpp and util_tests.cpp to cover this change - some indentation fixes - move macdockiconhandler.h include in bitcoin.cpp to the "our headers" section
| * | Qt5 compatibilityWladimir J. van der Laan2013-06-011-0/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | This commit squashes all the changes in the Qt5 branch relative to master. Backward compatibility with Qt4 is retained. Original authors: - Philip Kaufmann <[email protected]> - Jonas Schnelli <[email protected]>
| * Merge pull request #2577 from gavinandresen/fee_bandaidGavin Andresen2013-05-041-1/+1
| |\ | | | | | | Treat dust outputs as non-standard, un-hardcode TX_FEE constants
| | * Un-hardcode TX_FEE constantsGavin Andresen2013-05-031-1/+1
| | | | | | | | | | | | | | | | | | | | | Allow setting of MIN_TX_FEE / MIN_RELAY_TX_FEE with -mintxfee / -mintxrelayfee Default values are the same (0.0001 BTC).
| * | Merge pull request #2606 from gavinandresen/threadfixPieter Wuille2013-05-041-0/+3
| |\ \ | | | | | | | | Exit cleanly if AppInit2 returns false
| | * | Exit cleanly if AppInit2 returns falseGavin Andresen2013-05-021-0/+3
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bitcoin-Qt could core dump if application initialization failed in certain ways. I double-fixed this: 1) qt/bitcoin.cpp now shuts down core threads cleanly if AppInit2 returns false 2) init.cpp now exits before StartNode() if strErrors is set (no reason to StartNode if we're just going to exit immediately anyway). Tested by triggering all of the various ways AppInit2 can fail, either by passing bogus command-line arguments or just recompiling tweaked code to simulate failure. This is a partial fix for #2480
| * / osx: show testnet icon in dock as early as possibleJonas Schnelli2013-05-031-0/+11
| |/ | | | | | | | | | | A green testnet splashscreen with a normal, orange dock icon looks strange and can confuse users. Signed-off-by: Jonas Schnelli <[email protected]>
* / MaxOSX: settings fixes (#2371)Jonas Schnelli2013-06-031-0/+3
|/ | | | | | | - Launch-At-Startup implementation for mac - Remove "Window" tab in settings Signed-off-by: Jonas Schnelli <[email protected]>
* Merge pull request #2526 from Diapolo/Qt_miscWladimir J. van der Laan2013-04-231-5/+4
|\ | | | | Bitcoin-Qt: misc small changes
| * bitcoin: use static QApplication:: instead of app.Philip Kaufmann2013-04-141-5/+4
| |
* | Merge pull request #2525 from laanwj/2013_04_metatypeboolWladimir J. van der Laan2013-04-181-0/+6
|\ \ | | | | | | qt: register metatype for bool*
| * | qt: register metatype for bool*Wladimir J. van der Laan2013-04-141-0/+6
| |/ | | | | | | This allows the bool* type to be passed between threads. Should solve issue #2402.
* / new splash screenJonas Schnelli2013-04-171-4/+4
|/ | | | | | | | | | | | | | | | | | | | why: - the current splash-screen has no referring to official images on - https://en.bitcoin.it/wiki/Promotional_graphics - the current splash screen only exists in a low res jpg - current splash screen looks dark and "hackish" - new splash screen should generate positive, "trust-emotions". - new splash screen gives the user infos about the running client. - new splash screen can handle long messages (in a lot of - languages the text is cropped in current release) - new size (x2) 400x312 - contains textual information about the client - textinfos are dynamicly written to the pixmap when -testnet is switch on, the splashscreen will show the bitcoin logo in testnet-color (as well as a text [testnet]) example: https://dl.dropbox.com/u/7383846/new_bitcoin_splash.png
* Have Qt poll for shutdown requested, the QT way.Gavin Andresen2013-04-031-6/+6
|
* Clean up shutdown processGavin Andresen2013-04-031-1/+1
|
* Shutdown cleanup prep-workGavin Andresen2013-04-031-1/+5
| | | | | | | | | | Create a boost::thread_group object at the qt/bitcoind main-loop level that will hold pointers to all the main-loop threads. This will replace the vnThreadsRunning[] array. For testing, ported the BitcoinMiner threads to use its own boost::thread_group.
* Bitcoin-Qt: only use qApp for Q(Core)Application::instance()Philip Kaufmann2013-04-021-2/+2
|
* Minimal architectural changes necessary to support multiple wallets in ↵Eric Lombrozo2013-03-221-2/+3
| | | | | | bitcoin-qt - This commit is a minimal restructuring necessary to support multiple wallets in the UI. Please see multiwallet-qt.txt for details.
* Bitcoin-Qt: massive header and cpp cleanupPhilip Kaufmann2013-03-171-1/+3
| | | | | | | - try to enforce the same style to all Qt related files - remove unneeded includes from the files - add missing Q_OBJECT, QT_BEGIN_NAMESPACE / QT_END_NAMESPACE - prepares for a pull-req to include Qt5 compatibility
* Merge pull request #2299 from gavinandresen/localsocketuriWladimir J. van der Laan2013-02-231-21/+12
|\ | | | | Reimplement click-to-pay. Support OSX.
| * Reimplement click-to-pay links. Add OSX support.Gavin Andresen2013-02-121-21/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch to using Qt's QLocalServer/QLocalSocket to handle bitcoin payment links (bitcoin:... URIs) Reason for switch: the boost::interprocess mechanism seemed flaky, and doesn't mesh as well with "The Qt Way" qtipcserver.cpp/h is replaced by paymentserver.cpp/h Click-to-pay now also works on OSX, with a custom Info.plist that registers Bitcoin-Qt as a handler for bitcoin: URLs and an event listener on the main QApplication that handles QFileOpenEvents (Qt translates 'url clicked' AppleEvents into QFileOpenEvents automagically).
* | Improve block database load error reportingPieter Wuille2013-02-171-2/+6
|/