aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* really s/Doge/Dis/g this timeTomo Ueda2021-09-021-1/+1
|
* qt: translate more user-exposed stringschromatic2021-08-141-1/+1
|
* Re-add paperwallet printer (#1467)Max K2019-03-251-0/+2
| | | | | | | | | | | | | | * Add paper wallet generator to QT wallet * Replace print icon with Typeicons equivalent * Re-add printer support to Qt * depends: fix fontconfig with newer glibc See comment for more detail * Set fixed size for paper wallet dialog
* Update QT client messages and translations to Doge equivalents (#1429)Ross Nicoll2019-03-251-1/+1
| | | | Update QT client messages and translations to Doge equivalents.
* Merge #9408: Allow shutdown during LoadMempool, dump only when necessaryPieter Wuille2017-01-061-0/+2
|\ | | | | | | | | 325e400 [Qt] Do proper shutdown (Jonas Schnelli) 9479f8d Allow shutdown during LoadMempool, dump only when necessary (Jonas Schnelli)
| * [Qt] Do proper shutdownJonas Schnelli2017-01-051-0/+2
| |
* | Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | | | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* | Un-expose mapArgs from utils.hMatt Corallo2016-12-241-1/+1
| |
* | Introduce (and use) an IsArgSet accessor methodMatt Corallo2016-12-231-3/+3
| |
* | Remove arguments to ParseConfigFileMatt Corallo2016-12-231-1/+1
|/
* Move GetWarnings() into its own file.Gregory Maxwell2016-12-031-0/+1
|
* Make QT runawayException call GetWarnings instead of directly access ↵Gregory Maxwell2016-12-031-3/+3
| | | | | | | | strMiscWarning. This is a first step in avoiding racy accesses to strMiscWarning. The change required moving GetWarnings and related globals to util.
* Merge #9010: Split up AppInit2 into multiple phases, daemonize after datadir ↵Pieter Wuille2016-11-301-1/+16
|\ | | | | | | | | | | | | | | lock errors deec83f init: Get rid of fServer flag (Wladimir J. van der Laan) 16ca0bf init: Try to aquire datadir lock before and after daemonization (Wladimir J. van der Laan) 0cc8b6b init: Split up AppInit2 into multiple phases (Wladimir J. van der Laan)
| * init: Split up AppInit2 into multiple phasesWladimir J. van der Laan2016-11-291-1/+16
| | | | | | | | | | This allows doing some of the steps before e.g. daemonization and some fater.
* | qt: Avoid shutdownwindow-related memory leakWladimir J. van der Laan2016-11-231-1/+2
| | | | | | | | | | Store a reference to the shutdown window on BitcoinApplication, so that it will be deleted when exiting the main loop.
* | qt: Avoid splash-screen related memory leakWladimir J. van der Laan2016-11-231-3/+2
| | | | | | | | | | | | Make splash screen queue its own deletion when it receives the finished command, instead of relying on WA_DeleteOnClose which doesn't work under these circumstances.
* | qt: Prevent thread/memory leak on exiting RPCConsoleWladimir J. van der Laan2016-11-231-3/+5
| | | | | | | | | | | | | | Make ownership of the QThread object clear, so that the RPCConsole can wait for the executor thread to quit before shutdown is called. This increases overall thread safety, and prevents some objects from leaking on exit.
* | Every main()/exit() should return/use one of EXIT_ codes instead of magic ↵UdjinM62016-11-071-7/+7
| | | | | | | | numbers
* | Fix exit codes:UdjinM62016-11-041-2/+2
|/ | | | | | | - `--help`, `--version` etc should exit with `0` i.e. no error ("not enough args" case should still trigger an error) - error reading config file should exit with `1` Slightly refactor AppInitRPC/AppInitRawTx to return standard exit codes (EXIT_FAILURE/EXIT_SUCCESS) or CONTINUE_EXECUTION (-1)
* Globals: Decouple GetConfigFile and ReadConfigFile from global mapArgsJorge Timón2016-10-011-1/+1
|
* qt: Fix random segfault when closing "Choose data directory" dialogWladimir J. van der Laan2016-08-181-1/+2
| | | | | | | | | | | | | | The `pickDataDirectory()` function was calling `exit(0)` to quit the application when the user closes the dialog without choosing a data directory. This is a bad idea because a background thread is created (to check free space on the drive of the currently selected datadir). The thread is not stopped and unwound properly, resulting in a potential race condition somewhere deep in Qt. So replace the `exit()` by a boolean return value, and let the stack unwind normally.
* Only pass -lQt5PlatformSupport if >=Qt5.6Jonas Schnelli2016-06-201-0/+3
|
* [Qt][OSX] Fix Cmd-Q / Menu Quit shutdown on OSXJonas Schnelli2016-05-121-0/+1
|
* Merge branch 'master' into single_prodnameLuke Dashjr2016-02-031-11/+15
|\
| * move rpc* to rpc/Daniel Cousens2016-01-211-1/+1
| |
| * Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
| |
| * Bugfix: Default -uiplatform is not actually the platform this build was ↵Luke Dashjr2015-11-281-8/+2
| | | | | | | | compiled on
| * Constrain constant values to a single location in codeLuke Dashjr2015-11-281-1/+1
| |
| * Initialize logging before we do parameter interactionJonas Schnelli2015-11-271-0/+1
| |
| * [QT] Call inits parameter interaction before we create the options modelJonas Schnelli2015-11-271-0/+9
| |
* | Unify package name to as few places as possible without major changesLuke Dashjr2015-12-141-4/+4
|/
* [Qt] add startup option to reset Qt settingsJonas Schnelli2015-11-131-4/+4
|
* Merge pull request #6846Wladimir J. van der Laan2015-10-221-1/+1
|\ | | | | | | 3cb56f3 *: alias -h for --help (Daniel Cousens)
| * *: alias -h for --helpDaniel Cousens2015-10-221-1/+1
| |
* | Merge pull request #6235Wladimir J. van der Laan2015-10-201-2/+4
|\ \ | |/ |/| | | | | 55a8975 Chainparams: Translations: DRY: options and error strings (Jorge Timón) f3525e2 Chainparams: Replace CBaseChainParams::Network enum with string constants (suggested by Wladimir) (Jorge Timón)
| * Chainparams: Translations: DRY: options and error stringsJorge Timón2015-10-201-2/+4
| | | | | | | | Also remove SelectBaseParamsFromCommandLine and SelectParamsFromCommandLine
* | evhttpd implementationWladimir J. van der Laan2015-09-031-8/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - *Replace usage of boost::asio with [libevent2](http://libevent.org/)*. boost::asio is not part of C++11, so unlike other boost there is no forwards-compatibility reason to stick with it. Together with #4738 (convert json_spirit to UniValue), this rids Bitcoin Core of the worst offenders with regard to compile-time slowness. - *Replace spit-and-duct-tape http server with evhttp*. Front-end http handling is handled by libevent, a work queue (with configurable depth and parallelism) is used to handle application requests. - *Wrap HTTP request in C++ class*; this makes the application code mostly HTTP-server-neutral - *Refactor RPC to move all http-specific code to a separate file*. Theoreticaly this can allow building without HTTP server but with another RPC backend, e.g. Qt's debug console (currently not implemented) or future RPC mechanisms people may want to use. - *HTTP dispatch mechanism*; services (e.g., RPC, REST) register which URL paths they want to handle. By using a proven, high-performance asynchronous networking library (also used by Tor) and HTTP server, problems such as #5674, #5655, #344 should be avoided. What works? bitcoind, bitcoin-cli, bitcoin-qt. Unit tests and RPC/REST tests pass. The aim for now is everything but SSL support. Configuration options: - `-rpcthreads`: repurposed as "number of work handler threads". Still defaults to 4. - `-rpcworkqueue`: maximum depth of work queue. When this is reached, new requests will return a 500 Internal Error. - `-rpctimeout`: inactivity time, in seconds, after which to disconnect a client. - `-debug=http`: low-level http activity logging
* qt: Introduce PlatformStyleWladimir J. van der Laan2015-07-311-2/+24
| | | | | | | | | | | | | | Introduce a PlatformStyle to handle platform-specific customization of the UI. This replaces 'scicon', as well as #ifdefs to determine whether to place icons on buttons. The selected PlatformStyle defaults to the platform that the application was compiled on, but can be overridden from the command line with `-uiplatform=<x>`. Also fixes the warning from #6328.
* Merge pull request #5697Wladimir J. van der Laan2015-07-271-1/+1
|\ | | | | | | | | 60c8bac Includes: Cleanup around net main and wallet (Jorge Timón) 9dd793f TRIVIAL: Missing includes (Jorge Timón)
| * Includes: Cleanup around net main and walletJorge Timón2015-07-231-1/+0
| | | | | | | | | | | | -Move from .h to .cpp: in main, net and wallet -Remove unnecessary #include "main.h" -Cleanup some wallet files includes
| * TRIVIAL: Missing includesJorge Timón2015-07-231-0/+1
| |
* | build: fix building against qt5.4/5.5Cory Fields2015-07-231-0/+2
|/
* qt: define QT_NO_KEYWORDSWladimir J. van der Laan2015-07-151-11/+11
| | | | | | | | QT_NO_KEYWORDS prevents Qt from defining the `foreach`, `signals`, `slots` and `emit` macros. Avoid overlap between Qt macros and boost - for example #undef hackiness in #6421.
* qt: Force TLS1.0+ for SSL connectionsWladimir J. van der Laan2015-07-061-0/+8
|
* Create a scheduler thread for lightweight tasksGavin Andresen2015-05-141-1/+3
|
* Merge pull request #6022Wladimir J. van der Laan2015-04-301-1/+1
|\ | | | | | | b74dcb3 Separate CTranslationInterface from CClientUIInterface (Jorge Timón)
| * Separate CTranslationInterface from CClientUIInterfaceJorge Timón2015-04-161-1/+1
| |
* | [Qt] header group cleanupPhilip Kaufmann2015-04-201-1/+0
|/ | | | | - seperate core from GUI headers where this was missing - remove an unneeded new-line
* [Move Only] Move wallet related things to src/wallet/Jonas Schnelli2015-03-121-1/+1
| | | | could once be renamed from /src/wallet to /src/legacywallet.
* qt: fonts: allow SubstituteFonts to filter based on user's languageCory Fields2015-01-161-10/+17
| | | | | SubstituteFonts() has been moved to after app identification so that QSettings are accessible.