aboutsummaryrefslogtreecommitdiff
path: root/src/qt/intro.cpp
Commit message (Collapse)AuthorAgeFilesLines
* qt: translate more user-exposed stringschromatic2021-08-141-1/+1
|
* Update src/qt/intro.cppAnthony Chen2021-02-061-1/+1
| | | Co-authored-by: Ross Nicoll <[email protected]>
* fix minimum required space for data directoryAnthony Chen2021-02-051-1/+1
|
* Merge #9718: Qt/Intro: Various fixesWladimir J. van der Laan2017-02-091-3/+8
|\ | | | | | | | | | | a9baa6d Bugfix: Qt/Intro: Pruned nodes never require *more* space (Luke Dashjr) 93ffba7 Bugfix: Qt/Intro: Chain state needs to be stored even with the full blockchain (Luke Dashjr) c8cee26 Qt/Intro: Update block chain size (Luke Dashjr)
| * Bugfix: Qt/Intro: Pruned nodes never require *more* spaceLuke Dashjr2017-02-081-1/+4
| |
| * Bugfix: Qt/Intro: Chain state needs to be stored even with the full blockchainLuke Dashjr2017-02-081-2/+4
| |
| * Qt/Intro: Update block chain sizeLuke Dashjr2017-02-081-1/+1
| |
* | Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | | | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* | Do not shadow in src/qtPavel Janík2016-09-231-2/+2
| |
* | Merge #8487: Persist the datadir after option resetJonas Schnelli2016-08-251-1/+2
|\ \ | | | | | | | | | | | | 57acb82 Load choose datadir dialog after options reset (Andrew Chow) 15df3c1 Persist the datadir after option reset (Andrew Chow)
| * | Load choose datadir dialog after options resetAndrew Chow2016-08-241-1/+2
| |/
* / qt: Fix random segfault when closing "Choose data directory" dialogWladimir J. van der Laan2016-08-181-3/+4
|/ | | | | | | | | | | | | | 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.
* Merge branch 'master' into single_prodnameLuke Dashjr2016-02-031-7/+17
|\
| * Merge pull request #7298Jonas Schnelli2016-01-071-5/+15
| |\ | | | | | | | | | faf3299 [qt] Intro: Display required space (MarcoFalke)
| | * [qt] Intro: Display required spaceMarcoFalke2016-01-051-5/+15
| | | | | | | | | | | | | | | | | | Required space depends on the user's choice: -prune=0 -prune=<n>
| * | Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
| |/
| * Constrain constant values to a single location in codeLuke Dashjr2015-11-281-1/+1
| |
* | Unify package name to as few places as possible without major changesLuke Dashjr2015-12-141-2/+8
|/
* qt: Introduce PlatformStyleWladimir J. van der Laan2015-07-311-2/+1
| | | | | | | | | | | | | | 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.
* qt: define QT_NO_KEYWORDSWladimir J. van der Laan2015-07-151-5/+5
| | | | | | | | 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.
* Adopt style colour for button iconsLuke Dashjr2014-12-271-1/+2
|
* 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-2/+2
|/ | | | | | | - 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: small English language updates from translatorsWladimir J. van der Laan2014-10-211-2/+2
| | | | More friendly language, use placeholders where possible
* more Bitcoin -> Bitcoin Core string changesPhilip Kaufmann2014-08-041-1/+1
|
* qt: Update some messages after suggestions by translatorsWladimir J. van der Laan2014-07-311-1/+1
| | | | | - *cannot* is more common, thus preferred to *can not* - Use *Watch-only* instead of *Watchonly* as one word
* Wrap create_directory calls in try...catch blocks.Brandon Dahler2014-03-311-1/+1
| | | | | | Ignores any exceptions thrown if directory exists, otherwise re-throws exception. Rebased-By: Wladimir J. van der Laan <[email protected]>
* qt: Only override -datadir if different from the defaultWladimir J. van der Laan2014-03-251-1/+6
| | | | Fixes #3905.
* qt: Do proper boost::path conversionWladimir J. van der Laan2014-03-251-5/+8
| | | | | | | Convert from QString unicode from/to the OS-dependent locale as used by boost::filesystem::path as needed. Solves #3916.
* qt: Make it possible again to specify -testnet in config fileWladimir J. van der Laan2014-03-111-5/+2
| | | | | | | | | | | | | | | | | 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.
* qt: Adjust BLOCK_CHAIN_SIZE to 20GBWladimir J. van der Laan2014-03-101-1/+1
| | | | | | This increases the space requirement for selecting a data directory in the UI. As suggested by @bardiharborow, fixes #3830.
* 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] display native dir separators in select dadatir dialogPhilip Kaufmann2014-01-101-1/+1
| | | | - fixes display on Windows now \ instead of / before
* ui: Fix GUI initialization orderWladimir J. van der Laan2014-01-051-1/+1
| | | | | | | | | | | | | | | | | | | Fixes at least #3478. Splits and documents the phases: 1. Parse command-line options. These take precedence over anything else. 2. Basic Qt initialization (not dependent on parameters or configuration) 3. Application identification 4. Initialization of translations 5. Now that settings and translations are available, ask user for data directory 6. Determine availability of data directory and parse bitcoin.conf 7. URI IPC sending 8. Main GUI initialization Splits command line parsing logic from ipcSendCommandLine into ipcParseCommandLine, as isTestNet() can only be overridden in the early stages before choosing a data directory. Sending however needs to happen after choosing a data directory.
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-5/+5
| | | | | | | | | 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.
* [Qt] use tr() instead of QObject::tr() in intro.cppPhilip Kaufmann2013-11-051-2/+2
|
* qt: add license header to source filesWladimir J. van der Laan2013-11-041-0/+4
| | | | Closes #839
* Bitcoin-Qt: add testnet check and icon to intro dialogPhilip Kaufmann2013-08-241-1/+6
|
* Merge pull request #2865 from Diapolo/fix_intro_translationGavin Andresen2013-08-051-2/+2
|\ | | | | fix string in intro.cpp, which is untranslatable on Transifex
| * fix string in intro.cpp, which is untranslatable on TransifexPhilip Kaufmann2013-07-291-2/+2
| | | | | | | | | | - seems the code tags in the original string cause errors, when using the Transifex site for translation
* | fix possible infinite loop in intro.cpp threadPhilip Kaufmann2013-07-261-1/+9
|/ | | | | | | | - it was possible to trigger an infinite loop in FreespaceChecker::check() by simply removing the drive letter on Windows (which leads to an infinite loop in the FreespaceChecker thread) - this was caused by not checking if we make progress with parentDir.parent_path()
* qt: allow user to choose data directoryWladimir J. van der Laan2013-06-161-0/+270
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.