aboutsummaryrefslogtreecommitdiff
path: root/src/qt
AgeCommit message (Collapse)Author
2013-08-23Bitcoin-Qt: extend some checks for valid model pointersPhilip Kaufmann
2013-08-23Bitcoin-Qt: tweak Qt walletXXX.cpp/h codePhilip Kaufmann
WalletView: - add new signal showNormalIfMinimized() - emit the new signal in handleURI() to fix a bug, preventing the main window to show up when using bitcoin: URIs WalletStack: - connect the showNormalIfMinimized() signal from WalletView with the showNormalIfMinimized() slot in BitcoinGUI - rework setCurrentWallet() to return a bool - add check for valid walletModel in addWallet() - add missing gui attribute initialisation in constructor WalletFrame: - remove unused or unneded class attributes gui and clientModel - add a check for valid clientModel in setClientModel() General: - small code formatting changes
2013-08-22Merge pull request #2539 from gavinandresen/paymentrequestGavin Andresen
Payment Protocol Work
2013-08-22Payment Protocol: X509-validated payment requestsGavin Andresen
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.
2013-08-22Route qDebug() messages to debug.logGavin Andresen
2013-08-22Rework when payment server is startedGavin Andresen
2013-08-22update SelectParamsFromCommandLine() handling/orderPhilip Kaufmann
- 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
2013-08-22Refactor: CAddressBookData for mapAddressBookGavin Andresen
Straight refactor, so mapAddressBook stores a CAddressBookData (which just contains a std::string) instead of a std::string. Preparation for payment protocol work, which will add the notion of refund addresses to the address book.
2013-08-22Reject dust amounts during validationGavin Andresen
Replaces the validation check for "amount == 0" with an isDust check, so very small output amounts are caught before the wallet is unlocked, a transaction is created, etc.
2013-08-21translations update for 0.8.4Philip Kaufmann
- update translation master files - include current translations from Transifex - add several new languages - fix a bug in bitcoin.qrc, which prevents some languages from beeing used (wrong file extension .ts instead of .qm was used)
2013-08-06remove a newline from a string in init.cppPhilip Kaufmann
- to match all other translatable strings in init.cpp and to simplify translations via Transifex
2013-08-05translations update for Transifex 2013-08-05Philip Kaufmann
2013-08-05Merge pull request #2827 from Diapolo/rpccon_winposGavin Andresen
Bitcoin-Qt: save and restore position of debug window
2013-08-05Merge pull request #2865 from Diapolo/fix_intro_translationGavin Andresen
fix string in intro.cpp, which is untranslatable on Transifex
2013-07-31Merge pull request #2850 from Diapolo/fix_introWladimir J. van der Laan
fix possible infinite loop in intro.cpp thread
2013-07-31Remove #define loop from util.hGavin Andresen
Replace the loop macro with while (true). The #define caused problems for Qt.
2013-07-29fix string in intro.cpp, which is untranslatable on TransifexPhilip Kaufmann
- seems the code tags in the original string cause errors, when using the Transifex site for translation
2013-07-29Bitcoin-Qt: save and restore position of debug windowPhilip Kaufmann
- move the code for saving and restoring window positions from BitcoinGUI to GUIUtil, make it more generic and also use it for saving/restoring debug window positions
2013-07-26fix possible infinite loop in intro.cpp threadPhilip Kaufmann
- 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()
2013-07-25Merge pull request #2847 from Diapolo/fix_QApplication_includeWladimir J. van der Laan
Bitcoin-Qt: fix QApplication includes to match our include defaults
2013-07-25Merge pull request #2848 from Diapolo/translationsWladimir J. van der Laan
update bitcoin_en.ts to current master (2013-07-23)
2013-07-24Merge pull request #1889 from tcatm/multi-walletGavin Andresen
let user select wallet file with -wallet=foo.dat
2013-07-23update bitcoin_en.ts to current master (2013-07-23)Philip Kaufmann
2013-07-23Bitcoin-Qt: fix QApplication includes to match our include defaultsPhilip Kaufmann
- move all QApplication includes to top of included Qt headers - undef our loop macro where it would cause compilation errors otherwise
2013-07-18Merge pull request #2670 from laanwj/2013_05_datadirWladimir J. van der Laan
qt: allow user to choose data directory
2013-07-04let user select wallet file with -wallet=foo.datNils Schneider
use std::string instead of psz for WalletFile only allow wallets within $DATADIR Use strWalletFile in salvage/recover fix: remove unused variable pszWalletFile move strWalletFile to init.h/init.cpp avoid conversion of strWalletfile to c-string
2013-06-26Merge pull request #2793 from Diapolo/translationsPieter Wuille
translation update 2013-06-25
2013-06-25Merge pull request #2679 from vhf/patch-1Gavin Andresen
Too many bitcoins allowed as amount. (Issue #2401)
2013-06-25translation update 2013-06-25Philip Kaufmann
- updates bitcoinstrings.cpp and bitcoin_en.ts so new translations can be made on Transifex
2013-06-19Introduce a CChainParameters singleton class and regtest mode.Mike Hearn
The new class is accessed via the Params() method and holds most things that vary between main, test and regtest networks. The regtest mode has two purposes, one is to run the bitcoind/bitcoinj comparison tool which compares two separate implementations of the Bitcoin protocol looking for divergence. The other is that when run, you get a local node which can mine a single block instantly, which is highly convenient for testing apps during development as there's no need to wait 10 minutes for a block on the testnet.
2013-06-16qt: allow user to choose data directoryWladimir J. van der Laan
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.
2013-06-10allow txindex to be removed and add a reindex dialogPhilip Kaufmann
- adds a reindex dialog for Bitcoin-Qt to change -txindex without the need to supply -reindex - now also does a -reindex, when removing the -txindex switch
2013-06-10Merge pull request #2154 from CodeShark/dependencycleanupJeff Garzik
Clean up code dependencies
2013-06-07qt: Add total balance in overview pageWladimir J. van der Laan
2013-06-05Removed AcceptToMemoryPool method from CTransaction. This method belongs to ↵Eric Lombrozo
the mempool instance. Removed AreInputsStandard from CTransaction, made it a regular function in main. Moved CTransaction::GetOutputFor to CCoinsViewCache. Moved GetLegacySigOpCount and GetP2SHSigOpCount out of CTransaction into regular functions in main. Moved GetValueIn and HaveInputs from CTransaction into CCoinsViewCache. Moved AllowFree, ClientCheckInputs, CheckInputs, UpdateCoins, and CheckTransaction out of CTransaction and into main. Moved IsStandard and IsFinal out of CTransaction and put them in main as IsStandardTx and IsFinalTx. Moved GetValueOut out of CTransaction into main. Moved CTxIn, CTxOut, and CTransaction into core. Added minimum fee parameter to CTxOut::IsDust() temporarily until CTransaction is moved to core.h so that CTxOut needn't know about CTransaction.
2013-06-05Merge pull request #2700 from theuni/gui-splitJeff Garzik
autotools: Gui split
2013-06-05Merge pull request #2731 from Diapolo/rpcconsoleWladimir J. van der Laan
Bitcoin-Qt: harmonize 2 setClientModel() functions
2013-06-04osx: fix bitcoin-qt startup crash when clicking dock iconCory Fields
Crash probably introduced by 4d17a1b0. Inialize the window to NULL and verify it before use.
2013-06-04build: add global var for whether or not the gui is enabledCory Fields
2013-06-03Merge branch 'master' of git://github.com/bitcoin/bitcoin into prefsFixJonas Schnelli
Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch> Conflicts: bitcoin-qt.pro
2013-06-03Bitcoin-Qt: harmonize 2 setClientModel() functionsPhilip Kaufmann
- harmonize BitcoinGUI::setClientModel() and RPCConsole::setClientModel() - now RPCConsole::setClientModel() also includes a direct call to setNumBlocks()
2013-06-03MaxOSX: settings fixes (#2371)Jonas Schnelli
- Launch-At-Startup implementation for mac - Remove "Window" tab in settings Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>
2013-06-02Bitcoin-Qt: setup testnet GUI directlyPhilip Kaufmann
- 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
2013-06-02Too many bitcoins allowed in amount. (#2401)vhf / victor felder
Using magic number doesn't seem right. Could we factor this out, together with https://github.com/bitcoin/bitcoin/blob/master/src/bitcoinrpc.cpp#L96 ? And what about BitcoinUnits::parse() as well ?
2013-06-02Merge pull request #2588 from Diapolo/GetBoolArgWladimir J. van der Laan
remove GetBoolArg() fDefault parameter defaulting to false
2013-06-01remove GetBoolArg() fDefault parameter defaulting to falsePhilip Kaufmann
- 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
2013-06-01Qt5 compatibilityWladimir J. van der Laan
This commit squashes all the changes in the Qt5 branch relative to master. Backward compatibility with Qt4 is retained. Original authors: - Philip Kaufmann <phil.kaufmann@t-online.de> - Jonas Schnelli <jonas.schnelli@include7.ch>
2013-05-30Merge pull request #2615 from jonasschnelli/mac10_8_not_centerWladimir J. van der Laan
osx: make use of the 10.8+ user notification center to display growl lik...
2013-05-30CSecret/CKey -> CKey/CPubKey split/refactorPieter Wuille
2013-05-24osx: make use of the 10.8+ user notification center to display growl like ↵Jonas Schnelli
notifications - if 10.8, use user notification center, if <10.8, use growl Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>