aboutsummaryrefslogtreecommitdiff
path: root/src/qt
AgeCommit message (Collapse)Author
2015-02-26qt: Don't save geometry for options and about/help windowWladimir J. van der Laan
These dialogs will be something that people occasionally open, not keep open during their session, so just popping it up in a sensible place is good enough. Remembering only creates potential issues, like spawning it outside the current screen area. On Ubuntu this causes the dialogs to be positioned in the middle of the main dialog, so I didn't add code for that. YMMV. Inspired by github pull #5777 by @L-Cranston-Shadow
2015-02-15openssl: abstract out OPENSSL_cleanseCory Fields
This makes it easier for us to replace it if desired, since it's now only in one spot. Also, it avoids the openssl include from allocators.h, which essentially forced openssl to be included from every compilation unit.
2015-02-09Merge #5629: [Qt] prevent amount overflow problem with payment requestsWladimir J. van der Laan
a651668 [Qt] prevent amount overflow problem with payment requests (Philip Kaufmann)
2015-02-04[Qt] add bitcoin logo to about screenJonas Schnelli
2015-02-04[Qt] prevent amount overflow problem with payment requestsPhilip Kaufmann
Bitcoin amounts are stored as uint64 in the protobuf messages (see paymentrequest.proto), but CAmount is defined as int64_t. Because of that we need to verify that single and accumulated amounts are in a valid range and no variable overflow has happened. - fixes #5624 (#5622) Thanks @SergioDemianLerner for reporting that issue and also supplying us with a possible solution. - add static verifyAmount() function to PaymentServer and move the logging on error into the function - also add a unit test to paymentservertests.cpp
2015-02-03Merge pull request #5732Wladimir J. van der Laan
1371e6f Change "insane" to "absurd" (referring to high fees) in text strings and identifiers. (Daira Hopwood)
2015-02-03Merge pull request #5729Wladimir J. van der Laan
fdf80ea [Qt] allow unit changes for read-only BitcoinAmountField (Philip Kaufmann)
2015-01-31Change "insane" to "absurd" (referring to high fees) in text strings and ↵Daira Hopwood
identifiers. Note that this will also require translation changes in Transifex for the key "A fee higher than %1 is considered an insanely high fee." which is now "A fee higher than %1 is considered an absurdly high fee." Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-01-31Remove whitespaces before double colon in errors and logsPavel Janík
2015-01-31[Qt] allow unit changes for read-only BitcoinAmountFieldPhilip Kaufmann
- fixes #5725
2015-01-29Merge pull request #5477Wladimir J. van der Laan
6bbca99 LSSharedFileListItemResolve() was deprecated in Mac OS X 10.10, use LSSharedFileListItemCopyResolvedURL() instead (Cory Fields)
2015-01-29Merge pull request #5620Wladimir J. van der Laan
6715efb [Qt] Payment request expiration bug fix (re-done) (Philip Kaufmann)
2015-01-29Change Coin Control first column labelfsb4000
2015-01-26Merge pull request #5626Wladimir J. van der Laan
652eb90 [Qt] change transaction table column width (Jonas Schnelli) af95b17 [Qt] resize oversized icons (Jonas Schnelli)
2015-01-26Merge pull request #5628Wladimir J. van der Laan
785bb81 [Qt] remove size grip to get rid of the right margin (Jonas Schnelli)
2015-01-23fix crash: CoinControl "space" bugfsb4000
Just like https://github.com/novacoin-project/novacoin/commit/baf80c26a2e7f1ba6061d63d174eff0a09111e6f
2015-01-21LSSharedFileListItemResolve() was deprecated in Mac OS X 10.10, use ↵Cory Fields
LSSharedFileListItemCopyResolvedURL() instead
2015-01-20Merge pull request #5651Wladimir J. van der Laan
1d84aea Coin Control: Use U+2248 "ALMOST EQUAL TO" rather than a simple tilde (which may be mistaken for a negative sign) (Luke Dashjr)
2015-01-17qt: avoid hard-coding font namesCory Fields
They may not contain all necessary characters for a language
2015-01-17qt: fix broken unicode chars on osx 10.10Cory Fields
The default font changed again. The real fix is to compile qt against a >= 10.8 sdk, but this is simple enough to backport to 0.10 to avoid having to do that there. Note: NSAppKitVersionNumber is a double and there's no official value for NSAppKitVersionNumber10_10. Since == isn't reliable for doubles, use Apple's guidelines for testing versions here: https://developer.apple.com/library/mac/releasenotes/AppKit/RN-AppKit/ Chinese and Japanese fonts have been hard-coded as well, otherwise they fail to show up at all.
2015-01-16qt: fonts: allow SubstituteFonts to filter based on user's languageCory Fields
SubstituteFonts() has been moved to after app identification so that QSettings are accessible.
2015-01-16Merge pull request #5632Wladimir J. van der Laan
98c222b [Qt] optimize helpmessage dialog (Jonas Schnelli)
2015-01-16[Qt] change transaction table column widthJonas Schnelli
make enought space for the new icons
2015-01-16[Qt] resize oversized iconsJonas Schnelli
2015-01-16Merge pull request #5636Wladimir J. van der Laan
851296a [Qt] add option to allow self signed root certs (for testing) (Philip Kaufmann)
2015-01-15[Qt] add debug logging for -rootcertificates optionPhilip Kaufmann
- now logs if -rootcertificates="" was used to disable payment request authentication via X.509 certificates - also logs which file is used as trusted root cert, if -rootcertificates is set
2015-01-15[Qt] Payment request expiration bug fix (re-done)Philip Kaufmann
- this is based on #4122 (which can be closed) Currently a payment request is only checked for expiration upon receipt. It should be checked again immediately before sending coins to prevent the user from paying to an expired invoice which would then require a customer service interaction. - add static verifyExpired() function to PaymentServer to be able to use the same validation code in GUI and unit-testing code - extend unit tests to use that function and also add an unit test which overflows, because payment requests allow expires as uint64, whereas we use int64_t for verification of expired payment requests
2015-01-14Merge pull request #5649Wladimir J. van der Laan
301cd2a Use text-color icons for system tray Send/Receive menu entries (Luke Dashjr)
2015-01-14Use text-color icons for system tray Send/Receive menu entriesLuke Dashjr
2015-01-14Merge pull request #5489Wladimir J. van der Laan
905711f contrib: improve optimize-pngs.py (Wladimir J. van der Laan) 42f6a0c [Qt] optimize PNG files (Jonas Schnelli)
2015-01-14[Qt] optimize PNG filesJonas Schnelli
- provide a python script - add optimized png files
2015-01-14Merge pull request #5637Wladimir J. van der Laan
80dd50c [Qt] group variables below initial if-clauses in AmountSpinBox::stepEnabled (Philip Kaufmann) 0fd9e2b [Qt] don't allow amount changes when AmountSpinBox is read-only (Philip Kaufmann)
2015-01-14[Qt] add payment request unit test for non matching networksPhilip Kaufmann
- verify that payment request network matches client network - add static verifyNetwork() function to PaymentServer to be able to use the same validation code in GUI and unit-testing code
2015-01-13[Qt] prepare paymentservertests for new unit testsPhilip Kaufmann
- add a second PaymentRequest Test CA certificate to paymentrequestdata.h (serial number f0:da:97:e4:38:d7:64:16) as caCert2_BASE64 - rename existing Test CA certificate to caCert1_BASE64 - rename existing payment request data to know they belong to caCert1_BASE64 - update comments to reflect the changes and add a missing comment to one of the payment requests
2015-01-13[Qt] group variables below initial if-clauses in AmountSpinBox::stepEnabledPhilip Kaufmann
2015-01-13Merge pull request #5144Wladimir J. van der Laan
b468e81 Qt: Clarify sign/verify dialog text to specifically state that these messages only prove one receives with the address in question, and makes no claim to sender of transactions (Luke Dashjr)
2015-01-13[Qt] remove size grip to get rid of the right marginJonas Schnelli
IMO nobody needs a size grip and it looks bad
2015-01-12Coin Control: Use U+2248 "ALMOST EQUAL TO" rather than a simple tilde (which ↵Luke Dashjr
may be mistaken for a negative sign)
2015-01-11[Qt] add option to allow self signed root certs (for testing)Philip Kaufmann
- it is helpful to be able to test and verify payment request processing by allowing self signed root certificates (e.g. generated by Gavins "certificate authority in a box") - This option is just shown in the UI options, if -help-debug is enabled.
2015-01-10[Qt] don't allow amount changes when AmountSpinBox is read-onlyPhilip Kaufmann
- before it was possible to use the steps to change e.g. amouns of authenticated or unauthenticated payment requests (AmountSpinBox is already set to read-only here) - this is now fixed - also move the reimplemented stepEnabled() function to the protected section of our class, where it belongs (see Qt doc)
2015-01-09[Qt] optimize helpmessage dialogJonas Schnelli
- enlarge standard size - remove fixed 10px font - remove left mood image - ensure that table has no ugly line-breaks on OSX, Linux
2015-01-08Merge pull request #5559Wladimir J. van der Laan
e179eb3 Make the command-line-args dialog better (Thomas Zander)
2015-01-06Merge pull request #5513Wladimir J. van der Laan
856e862 namespace: drop most boost namespaces and a few header cleanups (Cory Fields) 9b1ab86 namespace: drop boost::assign altogether here (Cory Fields) a324199 namespace: remove boost namespace pollution (Cory Fields)
2015-01-05Make the command-line-args dialog betterThomas Zander
Instead of using a fixed-width font in a label, which virtually guarentees a horizontal scrollbar, use a proper text-document that can re-layout based on user input.
2015-01-05String conversions uint256 -> uint256SWladimir J. van der Laan
If uint256() constructor takes a string, uint256(0) will become dangerous when uint256 does not take integers anymore (it will go through std::string(const char*) making a NULL string, and the explicit keyword is no help).
2015-01-03Remove dead BitcoinUnits::id code and update assets-attribution for ↵Luke Dashjr
non-image unit selector
2015-01-02namespace: remove boost namespace pollutionCory Fields
2015-01-02Merge pull request #5476Wladimir J. van der Laan
73caf47 Display time offset in the debug window's Peers tab (Pavel Janík) 26a6bae Add time offset to getpeerinfo output (Pavel Janík)
2015-01-02Merge pull request #5583Wladimir J. van der Laan
643415a [Qt] update a translation string and argument counts (Philip Kaufmann)
2015-01-02Merge pull request #5551Wladimir J. van der Laan
dd3f697 Use real text rather than image-rendered text for unit selector (Luke Dashjr)