aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-01-10qt5: Use QT_SELECT for debian-based distros.Cory Fields
At least Debian/Ubuntu use 'qtchooser' for switching between qt4/qt5 binaries. It is a wrapper for all qt tools, and calls the named tool of the default version unless overridden by the -qt= option or QT_SELECT environment variable. QT_SELECT is set by configure once the qt version has been chosen. Take for example, moc. $ which moc /usr/bin/moc $ ls -go /usr/bin/moc lrwxrwxrwx 1 9 Jul 3 21:33 /usr/bin/moc -> qtchooser $ qtchooser -print-env QT_SELECT="default" QTTOOLDIR="/usr/lib/x86_64-linux-gnu/qt4/bin" QTLIBDIR="/usr/lib/x86_64-linux-gnu" $ QT_SELECT=qt5 qtchooser -print-env QT_SELECT="qt5" QTTOOLDIR="/usr/lib/x86_64-linux-gnu/qt5/bin" QTLIBDIR="/usr/lib/x86_64-linux-gnu" $ moc -v Qt Meta Object Compiler version 63 (Qt 4.8.4) $ QT_SELECT=qt5 moc -v Qt Meta Object Compiler version 67 (Qt 5.0.1) This should be harmless elsewhere.
2014-01-10qt5: Use the info gleaned from configure for plugin importingCory Fields
2014-01-10qt5: split out qt config and add qt5 supportCory Fields
Qt5 detection is a big ugly mess, but at least we can fence it off.
2014-01-10qt5: fix a build issue with osx and qtdbusCory Fields
See comment in notificator.cpp for details.
2014-01-10qt5: Ensure correct link orderCory Fields
If optional libs don't appear in QT_LIBS, they need to be listed first for proper static linking.
2014-01-10Merge pull request #3347Wladimir J. van der Laan
7e195e8 [Qt] massive options/settings rework (no core changes) (Philip Kaufmann)
2014-01-10[Qt] display native dir separators in select dadatir dialogPhilip Kaufmann
- fixes display on Windows now \ instead of / before
2014-01-10Merge pull request #3488Wladimir J. van der Laan
2102ab9 ui: Fix GUI initialization order (Wladimir J. van der Laan)
2014-01-10Merge pull request #3432Wladimir J. van der Laan
b960fcb [Qt] update bitcoin-qt.pro and assets-attribution.md (Philip Kaufmann)
2014-01-09Add test for GetTime()Wladimir J. van der Laan
Test for mingw/wine issue #3494, where the upper word of time(NULL) return value gets clobbered.
2014-01-09Merge pull request #3491Wladimir J. van der Laan
04f58ff qt: Better status text for mined transactions (Wladimir J. van der Laan)
2014-01-09[Qt] update bitcoin-qt.pro and assets-attribution.mdPhilip Kaufmann
- remove unused and unmentioned file notsynced.png (we use an animation for this) - add missing coincontroldialog.ui to bitcoin-qt.pro - also unify formating in assets-attribution.md
2014-01-08qt: Update translationsWladimir J. van der Laan
Update current translations, and add new languages: - es_MX: Spanish (Mexico) - pam: Kapampangan Also update translation process for autoconf-based build system.
2014-01-08Merge pull request #3449Wladimir J. van der Laan
8b9adca Allow `-noserver` with bitcoind (Wladimir J. van der Laan)
2014-01-07build: Correctly put boost at end of LDADDWladimir J. van der Laan
This fixes linking issues when statically linking (thanks @imwuzhh).
2014-01-06qt: Better status text for mined transactionsWladimir J. van der Laan
Fixes ancient issue #614.
2014-01-06[Qt] massive options/settings rework (no core changes)Philip Kaufmann
- add new options for database cache and script verification threads - add label which displays options that are overridden by command-line parameters - proxy settings are not applied on-the-fly anymore and require a client restart (ApplyProxySettings() was removed and was not working very well anyway) - re-work options reset and require a client shutdown (as it is much easier to do it this way without having to mess with what can be changed on-the-fly and what needs a restart anyway) - options reset now writes default values for every single option - when changing an option which requires a client restart display a 10 second warning message in statusLabel (via a QTimer) - when applying the changes via ok change that to a persistent message, which is displayed even after closing optionsdialog and re-open it, when no client restart was made - remove dialog boxes used when changing language or proxy settings - add setRestartRequired() and isRestartRequired() to OptionsModel and use the set function when updating options to signal OptionsDialog when a restart is needed - resize optionsdialog a little and add some min sizes for certain GUI elements - remove apply button from optionsdialog - save and restore optionsdialog window position - update nTransactionFee in QSettings with a set -paytxfee value when opening optionsdialog (I'm not sure about this yet, perhaps revert to not updating QSettings and just display current -paytxfee value in optionsdialog.)
2014-01-06qt: Remove unused method OptionsModel::getTransactionFeeWladimir J. van der Laan
2014-01-06qt: Add missing lock in WalletModel::listCoinsWladimir J. van der Laan
Another problem detected by cs_wallet lock detection (#3401).
2014-01-06qt: protect SetAddressBook with cs_wallet lock everywhereWladimir J. van der Laan
2014-01-06qt: Add missing LOCKs for locked coin functionsWladimir J. van der Laan
These don't aquire the wallet lock internally, so the caller has to do it.
2014-01-06qt: add missing cs_wallet lock in AddressTableModel::setDataWladimir J. van der Laan
duplicate check in AddressTableModel::setData accesses wallet data structure as well as SetAddressBook without proper LOCK, fix this.
2014-01-06Merge pull request #3401Wladimir J. van der Laan
012ca1c LoadWallet: acquire cs_wallet mutex before clearing setKeyPool (Wladimir J. van der Laan) 9569168 Document cs_wallet lock and add AssertLockHeld (Wladimir J. van der Laan) 19a5676 Use mutex pointer instead of name for AssertLockHeld (Wladimir J. van der Laan)
2014-01-06Merge pull request #3422Wladimir J. van der Laan
daa6b20 Unittests for uint256.h (Thomas Holenstein) e85e19b Changed Get64(.) to GetLow64() (Thomas Holenstein)
2014-01-05ui: Fix GUI initialization orderWladimir J. van der Laan
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.
2014-01-05Merge pull request #3474Wladimir J. van der Laan
aec55a0 "getnetworkhashps" with defaults was yielding "0", the hashrate is not 0. (Gregory Maxwell)
2014-01-04Merge pull request #3480Wladimir J. van der Laan
340bff3 ui: Better tab order in send coins entry (Wladimir J. van der Laan)
2014-01-03Added new DNS seed from bitcoinstats.com.Christian Decker
2014-01-02ui: Better tab order in send coins entryWladimir J. van der Laan
Pressing <tab> after entering a label now brings the focus to the address entry, instead of the row of buttons. In my experience this is more useful, as I usually want to paste an address after entering the label. The buttons are mostly useless anyway: - Choosing a previously used address should be discouraged - When I'm already using the keyboard the 'paste address' button is useless - just use the Ctrl-V. Maybe it would be an idea to remove it completely - I usually don't want to remove the entry I'm typing now! So makes sense to have it at the end of the tab chain.
2013-12-29"getnetworkhashps" with defaults was yielding "0", the hashrate is not 0.Gregory Maxwell
This was broken in 4c6d41b8b653ef90639b1a32f6aab0bb1cef90c5.
2013-12-25Unittests for uint256.hThomas Holenstein
Unit tests for uint256.h. The file uint160_tests.cpp is no longer needed. The ad-hoc tests which were in uint256.h are also no longer needed. The new tests achieve 100% coverage.
2013-12-25Changed Get64(.) to GetLow64()Thomas Holenstein
The function Get64(.) has a bug in case the width is not divisible by 64. Since it is only ever used as Get64(0) this simply changes it to this special case. Additionally, an assert is added, and a cast to prevent a compiler error.
2013-12-24Merge pull request #3453Wladimir J. van der Laan
96e5f61 extend std::exception logging in txdb.cpp (Philip Kaufmann)
2013-12-24Merge pull request #3457Wladimir J. van der Laan
d78f35a Explicitly ensure that wallet is unlocked in `importprivkey` (Wladimir J. van der Laan)
2013-12-23Merge pull request #3427Wladimir J. van der Laan
1ad2636 qt: Prevent non-functional GUI from popping up during Init (Wladimir J. van der Laan)
2013-12-23Explicitly ensure that wallet is unlocked in `importprivkey`Wladimir J. van der Laan
This makes for a more useful error reply (fixes #957).
2013-12-20extend std::exception logging in txdb.cppPhilip Kaufmann
2013-12-20Merge pull request #3391Wladimir J. van der Laan
3380713 [Qt] coin control change address handling update (Philip Kaufmann)
2013-12-20Allow `-noserver` with bitcoindWladimir J. van der Laan
Allow running bitcoind without server. - Default to -server mode (of course) for bitcoind with SoftSetBoolArg - Remove fForceServer argument from AppInit2 - Move fDaemon to a static variable in bitcoind
2013-12-20[Qt] coin control change address handling updatePhilip Kaufmann
- re-work change address handling so that default is CNoDestination(), until a verified and known change address was entered (easier code flow) - add a missing NULL pointer check for adresstablemodel - add a missing text when opening coin control address selection for priority and ensure the label is black - add a missing . at the end of a sentence
2013-12-20init: add better formating for some command-line optionsPhilip Kaufmann
2013-12-20Merge pull request #3416Wladimir J. van der Laan
9e9056c Remove -logtodebugger (Wladimir J. van der Laan)
2013-12-20Merge pull request #3369Wladimir J. van der Laan
6027b46 Add rpc command 'getunconfirmedbalance' to obtain total unconfirmed balance (Michael Bauer)
2013-12-20Merge pull request #3437Wladimir J. van der Laan
2ea980a qt: Treat regtest as testnet (Wladimir J. van der Laan)
2013-12-20qt: Treat regtest as testnetWladimir J. van der Laan
No need to do anything special in the GUI for regtest mode, but do treat it at testnet not mainnet to prevent confusion.
2013-12-20qt: Make sure overviewpage button is pressed at startupWladimir J. van der Laan
Due to walletframe changes, the overview page button is no longer automatically selected at startup even though the overview page is shown.
2013-12-19Make bitcoin compile without wallet if "db_cxx.h" is not presentThomas Holenstein
Moved includes of "db.h" into #ifdef ENABLE_WALLET blocks or remove them.
2013-12-19Merge pull request #3412Wladimir J. van der Laan
c3a7f51 Move `verifymessage` from rpcwallet to rpcmisc (Wladimir J. van der Laan) 723a03d Move `createmultisig` from rpcwallet to rpcmisc (Wladimir J. van der Laan) 452955f Move `validateaddress` from rpcwallet to rpcmisc (Wladimir J. van der Laan) cd7fa8b Move `nTransactionFee` from main.cpp to wallet.cpp (Wladimir J. van der Laan) a943bde Move `settxfee` from rpcblockchain to rpcwallet (Wladimir J. van der Laan) 16bc9aa Move `getinfo` from rpcnet to rpcmisc (Wladimir J. van der Laan) 652e156 add new RPC implementation file `rpcmisc.cpp` (Wladimir J. van der Laan)
2013-12-19LoadWallet: acquire cs_wallet mutex before clearing setKeyPoolWladimir J. van der Laan
Make the function mutex-aware, to prevent having to lock cs_wallet at the call site in Init.
2013-12-19Document cs_wallet lock and add AssertLockHeldWladimir J. van der Laan
Add locking assertions to wallet to all methods that access internal fields and do not aquire the cs_wallet mutex.