aboutsummaryrefslogtreecommitdiff
path: root/src/qt
AgeCommit message (Collapse)Author
2013-03-17Bitcoin-Qt: massive header and cpp cleanupPhilip Kaufmann
- try to enforce the same style to all Qt related files - remove unneeded includes from the files - add missing Q_OBJECT, QT_BEGIN_NAMESPACE / QT_END_NAMESPACE - prepares for a pull-req to include Qt5 compatibility
2013-02-23Merge pull request #2299 from gavinandresen/localsocketuriWladimir J. van der Laan
Reimplement click-to-pay. Support OSX.
2013-02-22Merge pull request #2310 from sipa/progressbarGavin Andresen
Progressbar based on time-based estimation of transactions.
2013-02-18Merge pull request #2315 from sipa/loaderrorGavin Andresen
Improve block database load error reporting
2013-02-17Improve block database load error reportingPieter Wuille
2013-02-16Merge pull request #2283 from Diapolo/translationsWladimir J. van der Laan
translations update (bitcoinstrings.cpp + bitcoin_en.ts)
2013-02-16Transactions-based verification progressPieter Wuille
2013-02-16Change progress bar from block-based to time-basedWladimir J. van der Laan
This is less confusing to most people, and doesn't rely on estimates of the total number of blocks received from other nodes.
2013-02-12Reimplement click-to-pay links. Add OSX support.Gavin Andresen
Switch to using Qt's QLocalServer/QLocalSocket to handle bitcoin payment links (bitcoin:... URIs) Reason for switch: the boost::interprocess mechanism seemed flaky, and doesn't mesh as well with "The Qt Way" qtipcserver.cpp/h is replaced by paymentserver.cpp/h Click-to-pay now also works on OSX, with a custom Info.plist that registers Bitcoin-Qt as a handler for bitcoin: URLs and an event listener on the main QApplication that handles QFileOpenEvents (Qt translates 'url clicked' AppleEvents into QFileOpenEvents automagically).
2013-02-09Use QImage.bits instead of QImage.constBits to ease backportingPetter Reinholdtsen
Image.constBits was introduced in Qt 4.7. Should be ok here to use QImage.bits which allows linking against the Qt in Squeeze.
2013-02-07translations update (bitcoinstrings.cpp + bitcoin_en.ts)Philip Kaufmann
2013-02-01translations update (bitcoinstrings.cpp and bitcoin_en.ts)Philip Kaufmann
2013-02-01Bitcoin-Qt: better copyright year handling in AboutDialogPhilip Kaufmann
- this change allows us to keep the translation without the need to re-translate any string, when we update the copyright year - copyright symbol is changed to HTML to ensure we get no encoding issues and it's removed from the translation string so translators don't break it by mistake
2013-01-30Prevent Qt crash at startup with an empty data directoryGavin Andresen
2013-01-26full translations updatePhilip Kaufmann
- fetch current translations from Transifex - update bitcoinstrings.cpp and bitcoin_en.ts
2013-01-23Bitcoin-Qt: cleanup / optimise addressbookpagePhilip Kaufmann
- don't show QR Code context menu, when USE_QRCODE=1 was not specified when compiling the client - re-work on_showQRCode_clicked() for better readability and remove an unneeded duplicate check - re-work on_signMessage_clicked() and on_verifyMessage_clicked() to match foreach in on_showQRCode_clicked(), which seems more robust / cleaner - re-order context menu stuff to match real context menu layout - add comments for all private slots in the class
2013-01-21Bitcoin-Qt: extend parseBitcoinURI() pre-checkPhilip Kaufmann
- add check to verify if an URI is valid
2013-01-19Merge pull request #2157 from Diapolo/Qt_addrlistWladimir J. van der Laan
Bitcoin-Qt: fix known addressbook bugs
2013-01-19Merge pull request #2171 from Diapolo/initWladimir J. van der Laan
add InitMessage() to noui and use debug.log for GUI
2013-01-14update bitcoinstrings.cpp and bitcoin_en.ts (2013-01-14)Philip Kaufmann
2013-01-14Merge pull request #2159 from petertodd/display-nlocktime-correctlyGavin Andresen
Display tx nLockTime correctly when set to block #
2013-01-11add InitMessage() to noui and use debug.log for GUIPhilip Kaufmann
- this pull adds an InitMessage() function to noui.cpp, which outputs init messages to debug.log (this allows to remove some printf() calls from init.cpp) - change InitMessage() in bitcoin.cpp to also write init messages to debug.log to ensure nothting is missing in the log because of the removal of printf() calls in init.cpp
2013-01-10Bitcoin-Qt: use reference in setAddress_SM() and setAddress_VM()Philip Kaufmann
2013-01-09Bitcoin-Qt: fix known addressbook bugsPhilip Kaufmann
- add qSort() for cachedAddressTable, as qLowerBound() and qUpperBound() require the list to be in ascending order (see http://harmattan-dev.nokia.com/docs/library/html/qt4/qtalgorithms.html#qLowerBound) - add a new check in AddressTableModel::setData() to just return, when no changes were made to a label or an address (prevents entry duplication issue) - remove "rec->label = value.toString();" from AddressTableModel::setData() as the label gets updated by AddressTablePriv::updateEntry() anyway (seems @sipa added this line via https://github.com/bitcoin/bitcoin/commit/1025440184ef100a22d07c7bb543ee45cf169d64#L6R225) - add another new check in AddressTableModel::setData() to just return, if a duplicate address was found (prevents address overwrite) - add a new check to EditAddressDialog::setModel() to prevent setting an invalid model - re-work the switch-case statement in AddressTableModel::accept() to always break (as return get's called anyway) and order the list to match the enum definition - make accept() in editaddressdialog.h a public slot, which it should be - misc small coding style changes
2013-01-09Display tx nLockTime correctly when set to block #Peter Todd
Previously when a transaction was set to lock at a specific block the calculation was reversed, returning a negative number. This broke the UI and caused it to display %n in place of the actual number. In addition the previous calculation would display "Open for 0 blocks" when the block height was such that the next block created would finalize the transaction. Inserted the word "more" and changed the calculation so that the last message would be "Open for 1 more block" to better match user expectations.
2013-01-06Merge pull request #2153 from Diapolo/overviewpageWladimir J. van der Laan
Bitcoin-Qt: fix small stylesheet glitch in overviewpage.ui
2013-01-06Merge pull request #2151 from Diapolo/signmessageWladimir J. van der Laan
Bitcoin-Qt: add a Signature label on sign message page
2013-01-06Bitcoin-Qt: fix small stylesheet glitch in overviewpage.uiPhilip Kaufmann
2013-01-06Bitcoin-Qt: add a Signature label on sign message pagePhilip Kaufmann
2013-01-06Bitcoin-Qt: give testnet a unique IPC message queue namePhilip Kaufmann
- this prevents an interference with the IPC message queue (which is used for URI processing) when running a testnet and mainnet instance in parallel - to check for testnet, I had to raise the ParseParameters() call in main() to the topmost position
2013-01-05Merge pull request #2110 from Diapolo/addrbookWladimir J. van der Laan
Bitcoin-Qt: comment out unused parameter in addressbookpage
2013-01-05Merge pull request #2148 from Diapolo/est_block_countWladimir J. van der Laan
Bitcoin-Qt: never display own block count > estimated block count
2013-01-05Merge pull request #1685 from Diapolo/Qt_add_options_resetWladimir J. van der Laan
Bitcoin-Qt: add a Reset button to the options dialog
2013-01-05translations update (bitcoinstrings.cpp + bitcoin_en.ts)Philip Kaufmann
2013-01-05Bitcoin-Qt: add a Reset button to the options dialogPhilip Kaufmann
- a click on "Reset Options" sets all options to the default values by removing all stored settings (QSettings), loading the defaults and saving them as the new settings - before the reset is executed the user is presented a confirmation dialog - special casing was needed for StartAtStartup
2013-01-04Bitcoin-Qt: never display own block count > estimated block countPhilip Kaufmann
- some users reported it as weird, that the estimated block count could be lower than our own nodes block number (which is indeed true and not good) - this pull adds a new default behaviour, which displays our own block number as estimated block number, if own >= est. block count - the pull raises space for nodes block counts in cPeerBlockCounts to 8 to be more accurate - also removes a reduntant setNumBlocks() call in RPCConsole and moves initialisation of numBlocksAtStartup in ClientModel, where it belongs
2013-01-01Merge pull request #2032 from burger2/fix_shortcutWladimir J. van der Laan
Fix duplicate shortcut usage in sign/verify message dialog.
2012-12-15Bitcoin-Qt: comment out unused parameter in addressbookpagePhilip Kaufmann
2012-12-12Merge pull request #2045 from Diapolo/use_messageWladimir J. van der Laan
use new message() function in BitcoinGUI
2012-12-12OptionsModel now has MapPortUPnP=false if UPNP is not supportedAndrey Alekseenko
2012-12-04rework ThreadSafeAskFee() / askFee() functionsPhilip Kaufmann
- remove unused parameter from ThreadSafeAskFee(), which also results in the removal of an orphan translation-string
2012-12-04remove unneeded flag from MSG_INFORMATION and fix an indentationPhilip Kaufmann
2012-12-03use new message() function in BitcoinGUIPhilip Kaufmann
- use it for displaying URI parsing warnings - use it for displaying error and information in backup wallet function (the information display is new and the error was a warning before) - cleanup BitcoinGUI::incomingTransaction() -- use message() + the information icon from message -- comment out an unused parameter in the function definition and declaration -- move all pre-checks at the beginning of the function
2012-12-03Bitcoin-Qt: remove obsolete modal flag from GUI APIsPhilip Kaufmann
- as we (can) supply the CClientUIInterface::MODAL flag via the style parameter, we don't need a separate bool for checking the modality
2012-11-27split of createTrayIconMenu() from createTrayIcon() in BitcoinGUIPhilip Kaufmann
- this allows to setup the trayicon before we have and want a trayicon menu - should be of great use, when we remove that splash screen - fixes a small bug with the toggleHideAction icon, which is not only used with trayicon but also with the Mac dock
2012-11-26update CClientUIInterface and remove orphan Wx stuffPhilip Kaufmann
- fix ThreadSafeMessageBox always displays error icon - allow to specify MSG_ERROR / MSG_WARNING or MSG_INFORMATION without a custom caption / title - allow to specify CClientUIInterface::ICON_ERROR / ICON_WARNING and ICON_INFORMATION (which is default) as message box icon - remove CClientUIInterface::OK from ThreadSafeMessageBox-calls, as the OK button will be set as default, if none is specified - prepend "Bitcoin - " to used captions - rename BitcoinGUI::error() -> BitcoinGUI::message() and add function documentation - change all style parameters and enum flags to unsigned - update code to use that new API - update Client- and WalletModel to use new BitcoinGUI::message() and rename the classes error() method into message() - include the possibility to supply the wanted icon for messages from Client- and WalletModel via "style" parameter
2012-11-22Fix duplicate shortcut usage in sign/verify message dialog.burger2
2012-11-16update bitcoinstrings.cpp and bitcoin_en.tsPhilip Kaufmann
2012-11-15Merge pull request #1767 from Diapolo/RPCCon_clear_historyWladimir J. van der Laan
clear history when using clear button in RPC console
2012-11-10Fix status text after reindexPieter Wuille