Commit Graph

133 Commits

Author SHA1 Message Date
skellers 2faea7b5bd Bitcoin to ZClassic 2019-03-16 19:05:28 +00:00
James 27b1373595 zcl-ify 2019-02-28 22:26:15 +01:00
zebra-lucky 4df22e559c add gui/qt changes from electrum 3.1.3
- Add electrum 3.1.3 changes to gui/qt.
- Get new electrum 3.1.3 gui/qt/completion_text_edit.py.
- Get new electrum 3.1.3 gui/qt/exception_window.py.
2018-06-28 18:09:34 +03:00
zebra-lucky e77f58d815 Zcash changes to gui/(qt|stdio|text), app icon, icons.qrc 2018-03-11 14:06:26 +02:00
SomberNight a6e59499db fix #3217: make sure qt quits 2018-01-06 22:43:56 +01:00
Justin Turner Arthur 857eb4ac1d Remove unused imports. Explicitly import a few deep imports. 2017-11-13 02:28:00 -06:00
SomberNight 115ef54c0c fix: wallet storage upgrade happening silently even when using QT GUI 2017-11-02 12:11:36 +01:00
ThomasV 76da6916f3 Merge pull request #3010 from SomberNight/qt_wiz_catch_exc
fix: [QT wallet wizard] catch exceptions: UserCancelled, GoBack
2017-10-19 16:03:01 +02:00
Andrew Chow 9dc3eceea9 Modify tray context menu instead of creating a new one
Instead of creating a new context menu and setting it with setContextMenu,
simply clear and modify the existing context menu.
2017-10-12 12:26:42 -04:00
SomberNight d48ecc990a fix: [QT wallet wizard] catch exceptions: UserCancelled, GoBack 2017-10-09 02:16:04 +02:00
Johann Bauer 5c2beb4ab5 Adjust colors if dark color scheme is used 2017-10-04 15:17:20 +02:00
SomberNight 4ac162f18b migration to PyQt5. initial commit. 2017-09-23 05:54:38 +02:00
ThomasV 9fc8d94d96 try..except block around load_wallet 2017-09-15 11:51:11 +02:00
ThomasV 51718501fd add server list to setup.py 2017-09-14 10:25:04 +02:00
Marko Bencun 5800a24559 fix Qt threading issue
Issue: #2209

Fixes this error when signing with a HW wallet:

 ./electrum
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
python3: xcb_io.c:259: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Aborted (core dumped)

The cause is likely with the `show_message()` calls. The proper fix
would be to hunt down where QT Gui elements are touched from a wrong
thread.

The workaround is to call XInitThreads(), as the error message suggests.
2017-08-30 00:24:50 +02:00
ThomasV dc9a25b83c fix qt package name 2017-08-27 07:18:33 +02:00
ThomasV ab15ff3a00 updates for python3 2017-08-26 08:28:24 +02:00
Johann Bauer 8e54d5c4d4 Make proxies work 2017-08-26 08:28:24 +02:00
Dmitry Sorokin 5be78950ca py3 2017-08-26 08:27:47 +02:00
ThomasV bfcfb1f240 wizard: make sure terminate is always called 2017-07-24 18:35:33 +02:00
ThomasV 92b392a56b minor fixes 2017-07-10 20:54:24 +02:00
ThomasV c8e4b7a42e update network dialog when raised 2017-07-08 17:02:05 +02:00
ThomasV dd50259f68 network_dialog: do not use parent for signalling 2017-07-08 15:35:48 +02:00
ThomasV 5ae5c81c48 use a unique and non-modal network dialog window 2017-07-08 15:23:00 +02:00
ThomasV 5b38ce20ea follow up previous commit 2017-03-08 11:58:25 +01:00
ThomasV 0f8387dbab fix #2257 2017-03-08 11:56:01 +01:00
ThomasV dcffea150e store contacts and invoices in wallet file. fix #1482 2017-03-06 17:12:27 +01:00
ThomasV 411832c4ce cleanup storage and fix tracvis test 2017-03-06 08:33:35 +01:00
ThomasV 45f25586ef add file selector and password dialog to wizard (fix #1730) 2017-03-05 13:30:57 +01:00
ThomasV 6581cd93bb load_wallet: return from loop if the error is not invalid password 2017-03-01 20:10:47 +01:00
ThomasV fcc92c1ebd Wallet file encryption:
- a keypair is derived from the wallet password
 - only the public key is retained in memory
 - wallets must opened and closed explicitly with the daemon
2017-03-01 13:58:04 +01:00
ThomasV b69cb21333 Qt: catch exception raised by load_wallet 2017-01-07 08:57:25 +01:00
ThomasV 8249f5ab67 init_headers in daemon thread, and fix #1996 2016-10-24 14:57:02 +02:00
ThomasV 7ea91dde2e do not expose network to wizard. update message in issue #1972 2016-10-14 14:05:24 +02:00
ThomasV e9f315ac6d fix #1609 2016-10-10 10:57:12 +02:00
ThomasV 1159f85e05 Major refactoring
- separation between Wallet and key management (Keystore)
 - simplification of wallet classes
 - remove support for multiple accounts in the same wallet
 - add support for OP_RETURN to Trezor plugin
 - split multi-accounts wallets for backward compatibility
2016-08-12 11:02:28 +02:00
ThomasV e7d25faf02 Finish wizard unification 2016-06-24 23:02:54 +02:00
ThomasV 8680eae86f detect dangling links 2016-05-30 10:53:52 +02:00
ThomasV 80b1b2716c kivy: open last wallet 2016-03-08 11:10:04 +01:00
ThomasV 305843999e Relicensing 2016-02-24 10:20:30 +01:00
Neil Booth 58d5215e2e No need to pass daemon and network together
The daemon has the network
2016-01-29 22:25:59 +09:00
ThomasV 08e5aecee2 Revert "Plugins: remove init_qt hook; clean up"
This reverts commit e20369bf94.
2016-01-28 14:57:59 +01:00
Neil Booth e20369bf94 Plugins: remove init_qt hook; clean up
Fixes #1644
2016-01-24 20:14:08 +09:00
ThomasV 632905dfbe instantiate wizard only if needed 2016-01-13 11:27:17 +01:00
Neil Booth f7b39f4952 A different approach to d5aa646
Only clean up the MainWindow once.
2016-01-12 20:19:21 +09:00
Neil Booth d5aa6466c9 Be careful removing windows from the list
I've occasionally had Python throw saying the window
isn't in the list.
2016-01-11 22:32:19 +09:00
Neil Booth 83cc5e2001 Fix top level window issue on Mac
Better, more generic fix superseding prior two patches.
2016-01-10 12:56:12 +09:00
ThomasV 62868ab29a Register loaded wallets in daemon, to prevent a wallet from being opened twice.
Simplify the wizard logic.
2016-01-06 00:58:43 +01:00
Neil Booth 11d135b32d Better install wizard
Break out the workflow logic of the install wizard
into a base class.  This means reimplementing with
full support in a new GUI is now easy; you just provide
ways to request passwords, show messages etc.  The API
is fully documented in the base class.

There are a couple of minor outstanding issues, including that
the old messages shown when recovering a wallet are missing.
I will come back to that.  Ledger wallet might be broken.

Other improvements:

The install wizard code is now easy to follow and understand.
Hardware wallets can now be restored without any need for their
accompanying libraries.
Various bits of trustedcoin were broken and have been fixed.
Many plugin hooks can be removed.  I have only started on this.
2016-01-01 16:48:18 +09:00
Neil Booth 441b695815 Break out logic into a function 2015-12-31 12:16:32 +09:00