Commit graph

117 commits

Author SHA1 Message Date
ThomasV
3cc7c1454b move back URI rewriting to main electrum script 2015-09-03 11:18:35 +02:00
Neil Booth
87cff8e380 Check URI in "electrum" because of ambiguity 2015-09-03 18:07:15 +09:00
Neil Booth
27917af2bf Get URIs working properly for multiple windows 2015-09-03 17:52:41 +09:00
Neil Booth
14cc260092 Remove redundant config argument.
Also don't default path for clarity.
2015-09-03 16:40:48 +09:00
ThomasV
5df03951e5 move window initialization hook inside class 2015-09-03 08:24:05 +02:00
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
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
bdb4d3ecb8 move methods calling installwizard to main gui class 2015-09-02 12:05:33 +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
Neil Booth
90316d0459 Clean up imports, 2nd attempt 2015-09-02 12:06:11 +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
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
ThomasV
bbe64621ca close wallet when window is closed 2015-09-01 09:35:32 +02:00
ThomasV
92e0744470 Refactoring of daemon:
* gui and daemon are in the same process
 * commands that require network are sent to the daemon
 * open only one gui window per wallet
2015-08-30 11:31:51 +02:00
ThomasV
aedfbd3855 start wizard from main_window. fixes #1250 2015-08-22 13:43:10 +02:00
ThomasV
e77f0c98e7 extend bitcoin: URI with signature data, instead of serialized format 2015-07-21 11:40:55 +02:00
ThomasV
060e3aa23e plugins: call load_wallet in install wizard 2015-06-10 12:40:08 +02:00
ThomasV
f70a996619 fix trezor initialiation hook (pass window in load_wallet) 2015-06-09 09:58:40 +02:00
ThomasV
d5f6651237 follow up e20dfcd3eb 2015-05-25 08:47:25 +02:00
ThomasV
c2a4252065 do not pass config to storage. request height from network_proxy if connected 2015-05-08 10:58:54 +02:00
Neil Booth
1bafa42fbd Remove two redundant refreshes of history tab during startup.
The call to update_wallet() is redundant with earlier call to load_wallet().
Set the need_update boolean so the timer will refresh rather than
unconditionally refreshing.  This typically results in it merging with
the first network "updated" event resulting in one less refresh.

For me in online mode this results in history being calculated and shown
only twice during startup rather than four times.
2015-04-30 14:21:58 +09:00
ThomasV
7a7ad7fe2d call go_lite after load_wallet 2015-04-23 17:18:38 +02:00
ThomasV
8251c5b6d9 fix #1057 2015-04-20 10:33:32 +02:00
ThomasV
21b2fcbe85 always_hook. fix trezor handler. fixes #1146 2015-04-18 14:59:46 +02:00
ThomasV
7e6bd2eb8c give user the option to remove incomplete wallet 2015-04-03 13:10:43 +02:00
ThomasV
c00b1f649a do not save gui_last_wallet if -w parameter was passed 2015-03-31 17:56:18 +02:00
ThomasV
cc48663d0e set window.app in constructor 2015-03-19 11:12:29 +01:00
ThomasV
8644bbf734 uri fix 2015-03-09 10:04:32 +01:00
ThomasV
c56fe45ad7 show wizard before running it 2015-03-05 15:56:18 +01:00
ThomasV
20fc2da9b5 do not attemps last_wallet if file does not exist 2015-02-28 05:54:27 +01:00
ThomasV
77d010bcec store gui last wallet separately, to fix command line 2015-02-27 10:37:13 +01:00
ThomasV
9f9bab6cf0 fix issue #968 2014-12-31 19:21:54 +01:00
ThomasV
5adb10e4d2 simplification 2014-11-15 14:43:48 +01:00
ThomasV
6d8eebe2db raise exception when seed version does not match 2014-11-15 14:42:35 +01:00
ThomasV
b1eb6ebc91 qt gui: handle exceptions raised when opening wallet 2014-11-14 11:23:21 +01:00
Tafelpoot
d9c5250a6f removed trailing whitespace and fixed indentation in history widget 2014-10-21 19:05:51 +02:00
ThomasV
5b84cbe9fb close_wallet 2014-09-12 19:58:59 +02:00
ThomasV
bcb18bbde4 call set_language before QApplication. fixes #400 2014-09-08 11:02:55 +02:00
ThomasV
79588eb4da init plugins before gui. register wallet types in plugin constructor 2014-08-31 15:33:20 +02:00
ThomasV
44566054a2 qt: quit on SIGINT 2014-08-06 13:15:53 +02:00
ThomasV
e702b3312b proper return from install wizard 2014-07-29 11:57:23 +02:00
ThomasV
fb0574c5a0 fix callbacks 2014-07-28 07:53:02 +02:00
ThomasV
f5a76f7dcf fix: payment_request 2014-06-13 17:51:11 +02:00
ThomasV
6f3c9e6a44 unify util.parse_URI 2014-06-13 16:02:30 +02:00
ThomasV
bf969c14ff option to start hidden. fixes #720 2014-06-11 19:21:01 +02:00
ThomasV
440f972fd3 show payment request details 2014-06-07 19:53:54 +02:00