aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoin.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* Merge pull request #5470Wladimir J. van der Laan2014-12-191-1/+1
|\ | | | | | | 78253fc Remove references to X11 licence (Michael Ford)
| * Remove references to X11 licenceMichael Ford2014-12-161-1/+1
| |
* | make all catch() arguments constPhilip Kaufmann2014-12-171-6/+6
|/ | | | | | | - I saw this on http://en.cppreference.com/w/cpp/language/try_catch and thought it would be a good idea - also unify used format to better be able to search for exception uses in our codebase
* [Qt] make PaymentServer::ipcParseCommandLine voidPhilip Kaufmann2014-12-081-2/+2
| | | | | - the function only returned true, so make it void - add a comment about payment request network detection
* qt: add network-specific style objectWladimir J. van der Laan2014-10-101-13/+12
| | | | | | | | Mainly cleanups: Gets rid of isTestNet everywhere, by keeping track of network-specific theming in a central place. Also makes GUI no longer dependent on the network ID enumeration, which alleviates concerns about #4802.
* qt: Register CAmount metatypeWladimir J. van der Laan2014-10-011-0/+4
| | | | | This allows sending the type over queued connections. Also normalize signal/slot names.
* Merge pull request #4852Wladimir J. van der Laan2014-09-221-1/+4
|\ | | | | | | 5e83bc4 [Qt] include and file header cleanup (Philip Kaufmann)
| * [Qt] include and file header cleanupPhilip Kaufmann2014-09-181-1/+4
| | | | | | | | | | - alphabetical ordering - correct ordering own headers before normal headers etc.
* | qt: Make splash and shutdown window ignore close eventsWladimir J. van der Laan2014-09-221-0/+3
| | | | | | | | | | | | | | | | It's strange to be able to close these windows while there is work in progress. Also set Qt::WA_DeleteOnClose on both windows to make sure that they are deleted eventually, no matter what happens.
* | qt: Change splash screen to normal windowWladimir J. van der Laan2014-09-181-4/+3
|/ | | | | Makes it possible to move, minimize, unminimize the window while Bitcoin Core is initializing.
* Merge pull request #4649Wladimir J. van der Laan2014-08-261-2/+2
|\ | | | | | | | | | | b197bf3 [Qt] disable tray interactions when client model set to 0 (Philip Kaufmann) 314fbd9 [Qt] use BitcoinGUI::DEFAULT_WALLET constant in bitcoin.cpp (Philip Kaufmann) 8ca6a16 [Qt] ensure all class attributes are init to 0 (Philip Kaufmann)
| * [Qt] use BitcoinGUI::DEFAULT_WALLET constant in bitcoin.cppPhilip Kaufmann2014-08-081-2/+2
| |
* | Split up util.cpp/hWladimir J. van der Laan2014-08-261-0/+1
|/ | | | | | | | | | | | | | | | Split up util.cpp/h into: - string utilities (hex, base32, base64): no internal dependencies, no dependency on boost (apart from foreach) - money utilities (parsesmoney, formatmoney) - time utilities (gettime*, sleep, format date): - and the rest (logging, argument parsing, config file parsing) The latter is basically the environment and OS handling, and is stripped of all utility functions, so we may want to rename it to something else than util.cpp/h for clarity (Matt suggested osinterface). Breaks dependency of sha256.cpp on all the things pulled in by util.
* qt: fix unicode character display on osx when building with 10.7 sdkCory Fields2014-08-071-0/+3
|
* more Bitcoin -> Bitcoin Core string changesPhilip Kaufmann2014-08-041-3/+3
|
* qt: Move SplashFinished to after ClientModel/WalletModel creationWladimir J. van der Laan2014-07-201-2/+2
| | | | | With a large wallet there was a noticable gap between hiding of the splash and showing the main window.
* build: allow linux and osx to build against static qt5Cory Fields2014-07-171-0/+6
| | | | | | | | | | | | | This is the first part of a huge effort to rework the handling of dependencies. To start, this change allows all supported platforms to build against a static Qt. 5.2.1 and 5.3 have been successfully tested against osx64, win32, win64, linux32, and linux64. It also makes a small change to the windows config, to allow linking against qt builds with or without built-in libjpeg/libpng/libpcre/libz. The actual build processes to take advantage of these changes (for gitian and pull-tester) are coming soon. Until then, this should be a no-op.
* qt: Start core thread only when neededWladimir J. van der Laan2014-07-151-5/+11
| | | | | | | | Start the core thread only when needed for initialization or shutdown. Avoids a bit of overhead, and also avoids spamming two log messages before logging is properly initialized.
* ui: Replace some LogPrintfs with qDebug()Wladimir J. van der Laan2014-07-151-9/+10
| | | | | These are relatively unimportant messages, so don't need to be logged without -debug=ui.
* Fix the Qt5 build after d95ba75Wladimir J. van der Laan2014-07-021-1/+1
| | | | Sorry, my own fault this time.
* qt: Log messages with type>QtDebugMsg as non-debugWladimir J. van der Laan2014-07-011-4/+4
| | | | | More important messages should end up in the log no matter if -debug=qt is set.
* Remove unnecessary dependencies for bitcoin-cliWladimir J. van der Laan2014-06-251-1/+1
| | | | | | | | | This commit removes all the unnecessary dependencies (key, core, netbase, sync, ...) from bitcoin-cli. To do this it shards the chain parameters into BaseParams, which contains just the RPC port and data directory (as used by utils and bitcoin-cli) and Params, with the rest.
* build: fix build weirdness after 54372482.Cory Fields2014-06-231-1/+1
| | | | | | | | | | | | | bitcoin-config.h moved, but the old file is likely to still exist when reconfiguring or switching branches. This would've caused files to not rebuild correctly, and other strange problems. Make the path explicit so that the old one cannot be found. Core libs use config/bitcoin-config.h. Libs (like crypto) which don't want access to bitcoin's headers continue to use -Iconfig and #include bitcoin-config.h.
* Add `-version` option to get just the versionWladimir J. van der Laan2014-06-111-2/+2
| | | | | | | | | Adds a `-version` or `--version` option to print just the version of the program for bitcoind, bitcoin-cli and bitcoin-qt. Also make it that `-help` can be used to display the help (as well as existing `--help`). Up to now, `-help` was the only option that didn't work with either one or two dashes.
* build: qt: split locale resources. Fixes non-deterministic distcheckCory Fields2014-06-101-0/+1
| | | | | | | | | The rcc tool is quirky and only honors files in the same directory as the qrc. When doing an out-of-tree build (as 'make distcheck' does), the generated translation files end up in a different path, so rcc can't find them. Split them up so that rcc is run twice: once for static source files and once for generated files.
* SetupEnvironment() - clean commitStuart Cardall2014-05-131-0/+2
|
* [Qt] fix ugly typo in bitcoin.cppPhilip Kaufmann2014-05-071-1/+1
| | | | | | | Closes #4145. Rebased-By: Wladimir J. van der Laan <[email protected]> Rebased-From: 1e4b083
* [Qt] catch Windows shutdown events while client is runningPhilip Kaufmann2014-04-151-1/+21
| | | | | | | | | - prevents unsafe shutdowns on Windows, which is known to be able to cause problems with wallet.dat - if a users ends a Windows session, this will initiate a client shutdown and show a Windows dialog, that tells the user what is going on (for Windows Vista and higher it will even show a reason for blocking the Windows session end)
* Show error message if ReadConfigFile failsWladimir J. van der Laan2014-04-071-1/+7
| | | | | | | A runaway exception was raised if ReadConfigFile fails (usually due to a parse error in bitcoin.conf). Show an error message instead. Fixes #4013.
* qt: Don't require db_cxx.h when wallet disabledWladimir J. van der Laan2014-03-311-0/+2
| | | | Fix #3978.
* qt: Make it possible again to specify -testnet in config fileWladimir J. van der Laan2014-03-111-26/+38
| | | | | | | | | | | | | | | | | Changes for the datadir chooser have made it impossible to specify the network (testnet/regtest) in the configuration file for the GUI. Reorganize the initialization sequence to make this possible again. - Moves the "datadir" QSetting so that is no longer dependent on the network-specific application name (doing otherwise would create a chicken-and-egg problem). - Re-initialize translations after choosing network. There may be a different language configured in network-specific settings (slim chance, but handle it for sanity). Fixes point 1 of #3840.
* MainNet is the special case for the GUIjtimon2014-03-071-2/+2
|
* Merge pull request #3646Wladimir J. van der Laan2014-02-161-1/+1
|\ | | | | | | 5770254 Copyright header updates s/2013/2014 on files whose last git commit was done in 2014. contrib/devtools/fix-copyright-headers.py script to be able to perform this maintenance task with ease during the rest of the year, every year. Modifications to contrib/devtools/README.md to document what fix-copyright-headers.py does. (gubatron)
| * Copyright header updates s/2013/2014 on files whose last git commit was done ↵gubatron2014-02-091-1/+1
| | | | | | | | | | | | in 2014. contrib/devtools/fix-copyright-headers.py script to be able to perform this maintenance task with ease during the rest of the year, every year. Modifications to contrib/devtools/README.md to document what fix-copyright-headers.py does.
* | [Qt] remove broken OptionsModel::Upgrade()Cozz Lovan2014-02-071-3/+0
|/
* Remove redundant .c_str()sWladimir J. van der Laan2014-01-231-1/+1
| | | | | | | After the tinyformat switch sprintf() family functions support passing actual std::string objects. Remove unnecessary c_str calls (236 of them) in logging and formatting.
* Merge pull request #3553Wladimir J. van der Laan2014-01-231-0/+8
|\ | | | | | | a8db31c qt: allow `walletpassphrase` in debug console without -server (Wladimir J. van der Laan)
| * qt: allow `walletpassphrase` in debug console without -serverWladimir J. van der Laan2014-01-171-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently it is only possible to use `walletpassphrase` to unlock the wallet when bitcoin is started in server mode. Almost everything that manipulates the wallet in the RPC console needs the wallet to be unlocked and is thus unusable without -server. This is pretty unintuitive to me, and I'm sure it's even more confusing to users. Solve this with a very minimal change: by making the GUI start a dummy RPC thread just to handle timeouts.
* | [Qt] add utilitydialog.cpp/h and helpmessage classPhilip Kaufmann2014-01-181-14/+3
|/ | | | | | | - adds a nice and well formated dialog, which displays our -? help message (all options/paramaters) - moves aboutdialog.cpp/h to the new utilitydialog - move GUI shutdown window to utilitydialog
* Merge pull request #3512Wladimir J. van der Laan2014-01-171-6/+0
|\ | | | | | | 04aa828 [Qt] don't regenerate autostart link on every client startup (Philip Kaufmann)
| * [Qt] don't regenerate autostart link on every client startupPhilip Kaufmann2014-01-111-6/+0
| | | | | | | | | | - allows users to add additional paramaters via the autostart link - related to #2197
* | [Qt] 2 minor translation changesPhilip Kaufmann2014-01-141-1/+1
| |
* | [Qt] guard bitcoin-config.h and remove dublicated help message codePhilip Kaufmann2014-01-111-9/+3
|/
* GUI for --disable-wallet compiles and -disablewallet modeWladimir J. van der Laan2014-01-111-8/+33
| | | | | | | | There is not much in the GUI to be done without wallet, though it's possible to change options, watch the sync process, and use the debug console. So embed the debug console in the main window.
* qt: Stop shutdown detection timer during shutdownWladimir J. van der Laan2014-01-111-1/+4
| | | | | | | | | | Stop the shutdown timer from exiting the main loop when shutdown is already in progress. Fixes seeming hanging window after typing 'stop' in debug console. Also hide the debug console during shutdown as it is useless without a core to connect to.
* qt: Remove global references in bitcoin.cppWladimir J. van der Laan2014-01-111-48/+21
| | | | | | Remove the need for global references `guiref` and `splashref` by making the BitcoinGUI and SplashScreen classes register for the UI interface signals themselves.
* qt: Show window while shutting downWladimir J. van der Laan2014-01-111-1/+20
| | | | | Makes it clear to the user that the application is still wrapping up and the computer should not be turned off until it is finished.
* qt: Move initialization/shutdown to a threadWladimir J. van der Laan2014-01-111-113/+298
| | | | | | | | Move AppInit2 and Shutdown to a thread. This allows a more responsive splash screen, prevents 'process does not respond' messages from the window system and will allow for showing a user friendly window while shutting down.
* qt5: Use the info gleaned from configure for plugin importingCory Fields2014-01-101-7/+11
|