Commit Graph

9870 Commits

Author SHA1 Message Date
SomberNight 78f5afff74 use certifi directly instead of requests 2018-12-13 23:11:59 +01:00
SomberNight c09ac41b27 ssl: use certifi explicitly for aiohttp and electrum-server connections
fixes ssl issues on Android
2018-12-13 22:54:53 +01:00
ThomasV 7a4270f5a4 Qt: camera icon 2018-12-13 17:21:56 +01:00
SomberNight 67b2aebed6 android build: use rebased p4a fork
https://github.com/SomberNight/python-for-android/commit/86eeec7c19679a5886d5e095ce0a43f1da138f87
2018-12-13 16:23:58 +01:00
Calin Culianu 14363f8f2f [Qt] Got rid of qt.util.Timer class and instead replaced the functionality with the more efficient QTimer. Also added disconnection from the timer on window close.
(cherry picked from https://github.com/Electron-Cash/Electron-Cash/commit/19a21eb08d4c3bb665d4a3b50daf38d51b6589b3)
2018-12-13 16:00:44 +01:00
ThomasV 3184d6f369 simplify previous commit 2018-12-13 12:10:36 +01:00
SomberNight ef94af950c wallet: try detecting internal address corruption 2018-12-12 20:50:53 +01:00
SomberNight 9bbfd610be qt: don't flash QWidgets on startup before main window is visible
Consider wallet without password set. Using Qt GUI.
When starting the app, before the main window appears, small artefacts
("minimised" windows?) would appear very briefly and then disappear.
2018-12-12 19:58:13 +01:00
SomberNight 363dd12a2a qt: try even harder not to crash whole app on first start 2018-12-11 21:29:23 +01:00
ThomasV dd848304e6 Merge pull request #4880 from spesmilo/2fa_segwit
2fa segwit (from ghost43's PR)
2018-12-11 18:33:41 +01:00
ThomasV 4681ac8c23 CLI deserialize: always force full parse 2018-12-11 13:58:05 +01:00
ThomasV 502a4819b6 trustedcoin: do not set wallet.plugin in constructor 2018-12-11 13:08:10 +01:00
ThomasV 467e40b555 trustedcoin: serialize using PARTIAL_TXN_HEADER_MAGIC 2018-12-11 11:46:31 +01:00
ThomasV 040b5b3f88 trustedcoin: fix get_xkeys 2018-12-11 09:59:39 +01:00
SomberNight 84519752c3 trustedcoin: fix prev. remove temp xpubs. 2018-12-11 09:28:35 +01:00
ThomasV 852f2a0d65 trustedcoin: do not require wallet file upgrade 2018-12-11 09:28:35 +01:00
SomberNight 7b90d69443 trustedcoin: p2wpkh billing addresses 2018-12-11 09:28:35 +01:00
SomberNight eeea4fcb31 rename 2fa non-segwit type to "legacy 2fa" and make segwit the default 2018-12-11 09:28:35 +01:00
ThomasV df59a43300 fix test 2018-12-11 09:28:35 +01:00
ThomasV 5a93bf054e 2fa segwit (from ghost43's PR) 2018-12-11 09:28:35 +01:00
SomberNight 0ec7005f90 qt history: data() should return QVariant
the docs says so,
and also HistoryList.create_menu() was crashing sometimes re "Copy {}"
2018-12-10 19:42:31 +01:00
SomberNight 4e7b2f3ea3 qt history: use IntEnum for column indices 2018-12-10 19:25:38 +01:00
ghost43 53b64a6367 Merge pull request #4915 from spesmilo/qabstractitemmodel
use QAbstractItemModel in History tab
2018-12-10 18:10:00 +01:00
SomberNight 0ddccd56c7 interface: fix only-genesis regtest case 2018-12-10 17:46:37 +01:00
SomberNight 4791c7f424 qt history: fix toggling fiat capital gains 2018-12-10 16:53:46 +01:00
SomberNight b0631f90f8 qt history: fix slowness
arghhhhh finalllllllllllly figured it out...
2018-12-10 16:48:55 +01:00
ThomasV e35ed17200 remove call to undefined method refresh_headers 2018-12-10 13:07:03 +01:00
ThomasV 059fb51893 reintroduce profiler 2018-12-10 10:18:24 +01:00
SomberNight ca1043ffda qt history list: hide columns sooner
while wallet was starting up "hidden columns" were visible
2018-12-10 09:31:53 +01:00
SomberNight 5be6966462 qt history list: allow filtering by (partial) txid 2018-12-10 09:31:52 +01:00
SomberNight 0d755b86ab qt address dialog: HistoryModel needs reference to correct HistoryList
refresh() was hiding/showing the headers of the main HistoryList
2018-12-10 09:31:52 +01:00
SomberNight a99b92f613 qt history list: optimise fee histogram induced refresh 2018-12-10 09:31:51 +01:00
SomberNight 696db310a5 qt history list: optimise update_item (tx mined status) 2018-12-10 09:31:50 +01:00
SomberNight b1e15751d6 qt history list: "status"-based sort should also tie-break on height 2018-12-10 09:31:50 +01:00
SomberNight 65e8eef87f qt history list: use OrderedDictWithIndex for txns 2018-12-10 09:31:49 +01:00
SomberNight 8bb930dd04 fix OrderedDictWithIndex
setitem() would modify the dict of the class. oops.
2018-12-10 09:31:49 +01:00
SomberNight 3c3fac7ca4 qt history list: fix shortcut in refresh() 2018-12-10 09:31:48 +01:00
SomberNight 5e61ad09c1 qt addresses list: fix filtering 2018-12-10 09:31:48 +01:00
SomberNight 48e119b59e qt history: minor clean-up and sanity checking 2018-12-10 09:31:47 +01:00
SomberNight e023d8abdd qt history list: sorting of first column now considers txpos
same block txns were in unnatural order, maybe sort is not stable?
2018-12-10 09:31:47 +01:00
SomberNight 1c0c21159b qt history list: performance optimisations 2018-12-10 09:31:46 +01:00
Janus d2ddb255ef QAbstractItemModel: Release Notes and Address List fiat bug fix 2018-12-10 09:31:46 +01:00
Janus 3960070a50 QAbstractItemModel: fix sorting, QAbstractItemDelegate usage, QVariant usage 2018-12-10 09:31:45 +01:00
Janus 4eb4b341db QAbstractItemModel: initial version, filter not done 2018-12-10 09:31:39 +01:00
SomberNight 5b9b6a931d qt network dialog: fix NodesListWidget if there is fork
undo part of 5473320ce4
2018-12-10 08:04:54 +01:00
SomberNight 9607854b67 network: fix switching interface (restart old one)
follow-up b3ff173b45
connection_down was killing the already restarted old interface
2018-12-10 08:03:42 +01:00
SomberNight 62e352a2a8 network: don't let _maintain_sessions die from CancelledError
as then the network would get paralysed and no one can fix it
2018-12-09 20:04:42 +01:00
SomberNight b3ff173b45 interface: change close() implementation
was getting on lightning branch in some circumstances
RecursionError: maximum recursion depth exceeded while calling a Python object
2018-12-09 20:02:00 +01:00
SomberNight 762082e13d wine build: dedupe PYTHON_VERSION 2018-12-09 07:17:37 +01:00
ghost43 f59a4f85db win/mac build: strip parts of pyqt5 from binaries to reduce size (#4901)
When bumping pyinstaller to 3.4, binary sizes had increased drastically.
The main reason seems to be that pyinstaller is pulling in "all" of qt.

based on Electron-Cash/Electron-Cash@4b09969594
2018-12-09 05:09:28 +01:00