Commit Graph

5367 Commits

Author SHA1 Message Date
Neil Booth 49797c3094 Create a Plugins class
Encapsulates plugin logic and removes global variable ugliness.
2015-09-03 12:02:03 +09:00
Neil Booth 2c67de8f64 Fix a couple of bugs. 2015-09-03 10:42:42 +09:00
ThomasV 9d76bf6828 temporary fix wallet constructors 2015-09-02 14:37:40 +02:00
Neil Booth 7a55d02654 Fix 992c70a688
This works for ordinary wallets at least; cannot test hardware.
But after staring for ages I think it's right.
2015-09-02 21:27:12 +09:00
Neil Booth f2fb856f1c Exchange rate plugin fixes for multiple windows
This should be enough to keep everything working that was working
before.  The plugin itself needs a lot more work to fix existing
bugs and be sane.
2015-09-02 20:40:55 +09:00
ThomasV 992c70a688 detect available hardware wallets before listing them in wizard 2015-09-02 13:08:06 +02:00
ThomasV 280b5c79d2 minor fix 2015-09-02 12:11:52 +02:00
ThomasV cdc698a28e Merge branch 'master' of git://github.com/spesmilo/electrum 2015-09-02 12:05:46 +02:00
ThomasV bdb4d3ecb8 move methods calling installwizard to main gui class 2015-09-02 12:05:33 +02:00
Neil Booth 5be16ad5ca Clean up exchange handling in FX plugin 2015-09-02 18:53:23 +09:00
ThomasV 4e458b5639 minor fix 2015-09-02 10:09:48 +02:00
ThomasV 0cb8c21130 use wallet path instead of config 2015-09-02 10:06:45 +02:00
Neil Booth 3ac99af7c6 Remove unused variable 2015-09-02 17:00:33 +09:00
ThomasV 93c468504e use the parent config instance when daemon starts a window 2015-09-02 09:55:45 +02:00
ThomasV 3e4d332a4c strip spaces from txid dialog output 2015-09-02 09:15:34 +02:00
Neil Booth 6c69849be9 Fix uninitialized var from select merge 2015-09-02 13:50:25 +09:00
Neil Booth 90316d0459 Clean up imports, 2nd attempt 2015-09-02 12:06:11 +09:00
Neil Booth cdcd4d7215 Fix 'tuple' object has no attribute 'copy'
Occurred when switching interfaces and there were unanswered
requests that need resending.  This bug isn't new; it's been
there since at least 3rd June.
2015-09-02 11:56:53 +09:00
Neil Booth 0fa48b926c Fix system tray icon for multiple wallets
QT doesn't permit dynamic menus for QSystemTrayIcon for some reason
so we need to rebuild it each time the window set changes.
Add a close and hide/show submenu for each wallet.
Double click hides / shows all the wallets.
2015-09-02 11:48:03 +09:00
ThomasV c3fb7fdb1d Merge pull request #1436 from keepkey/master
fixed attempt to access account derivation before it is created
2015-09-01 18:10:41 +02:00
Darin Stanchfield c918ec2cdf fixed attempt to access account derivation before it is created 2015-09-01 08:55:39 -07:00
ThomasV c33b223cbe Merge branch 'master' of git://github.com/spesmilo/electrum 2015-09-01 12:16:16 +02:00
ThomasV ce06d92100 open each wallet in a separate window 2015-09-01 12:16:07 +02:00
Neil Booth 2b7a555f0f Unminimize and raise an existing window
if its wallet is requested.
2015-09-01 19:14:25 +09:00
Neil Booth 119aa5bf2e Move message so it doesn't repeat when connecting 2015-09-01 17:30:22 +09:00
ThomasV ba2570b8aa check that GUI has new_window method 2015-09-01 10:25:20 +02:00
ThomasV 0e2db1e0ca don't try to open window if started in daemon mode 2015-09-01 10:17:55 +02:00
Neil Booth 0fa38074de Fix menu editing 2015-09-01 17:08:12 +09:00
ThomasV 127f5f8804 Merge pull request #1434 from keepkey/master
made sure to check if x_pubkey is valid xpub before parsing it
2015-09-01 09:43:36 +02:00
ThomasV 6704844f31 Merge branch 'master' of git://github.com/spesmilo/electrum 2015-09-01 09:35:47 +02:00
ThomasV bbe64621ca close wallet when window is closed 2015-09-01 09:35:32 +02:00
Darin Stanchfield 24af832fbd made sure to check if x_pubkey is valid xpub before parsing it 2015-09-01 00:22:42 -07:00
ThomasV f84d873f62 rm unneeded import 2015-09-01 09:01:02 +02:00
Neil Booth 72f429c353 Remove unused callback 2015-09-01 14:41:06 +09:00
ThomasV d4bba181c2 fix: show tabs in load_wallet 2015-09-01 01:18:02 +02:00
ThomasV c6b5a70362 Merge pull request #1432 from romanz/remove-mmap
transaction: remove unused mmap-related code
2015-08-31 22:39:08 +02:00
ThomasV cd734002f2 Merge pull request #1433 from romanz/master
test_transaction: fix test_sweep case
2015-08-31 22:38:57 +02:00
Roman Zeyde a097c47b0b test_transaction: fix test_sweep case 2015-08-31 17:03:59 +03:00
Roman Zeyde aadbcca6f0 transaction: remove unused mmap-related code 2015-08-31 16:46:51 +03:00
Neil Booth 809b4fa99f First attempt at 2.5 release notes. 2015-08-31 21:18:50 +09:00
Neil Booth a5e0265010 Make exchange rate plugin a network thread job
This fixes a lot of thread error noise when closing down electrum.
2015-08-31 20:33:39 +09:00
Neil Booth f5a8da43e9 Have fields update as exchange rates do
Currently the exchange rates plugin shows the converted
rate at the time of last user input.  If the fx rate
changes the send and receive tabs do not update.

This makes them update.  It also means that when enabling
the plugin, if the user had input a BTC amount in the send
or receive, the other fields will refresh.  This didn't
used to happen - they stayed blank.
2015-08-31 20:14:44 +09:00
Neil Booth cd83b93e98 Return the result not the full dictionary 2015-08-31 18:26:14 +09:00
Neil Booth f11e46e479 Remove unused import 2015-08-31 18:14:07 +09:00
Neil Booth be7cb011a3 Simply verifier now network is in-process 2015-08-31 18:12:02 +09:00
Neil Booth be8a87c322 Remove redundant line 2015-08-31 17:48:03 +09:00
Neil Booth 2a1b717a21 Fix scripts/peers
Needed an almost complete rewrite now we use select.
2015-08-31 17:44:50 +09:00
Neil Booth 748662dede Add a debugging traceback. 2015-08-31 14:38:19 +09:00
Neil Booth 2ee506ac03 Fix typo. 2015-08-31 14:05:38 +09:00
Neil Booth 768adfb337 Fix "restore" further by accepting --mpk 2015-08-31 13:52:18 +09:00