Commit graph

5854 commits

Author SHA1 Message Date
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
Neil Booth
2d05e7d891 Merge the network and network_proxy 2015-08-31 12:00:38 +09:00
Neil Booth
4d6a0f29ee Fix 'restore' command line to take -C. 2015-08-31 11:34:44 +09:00
ThomasV
9e71ef2d68 Merge pull request #1430 from keepkey/master
Added a "Cancel" button to transaction dialog
2015-08-30 19:01:56 +02:00
Darin Stanchfield
c73ea700e1 cleanup on error handling when a transaction is cancelled 2015-08-30 09:36:13 -07:00
Darin Stanchfield
0d4805f6fd added cancel button to transactional dialogs 2015-08-30 09:24:31 -07:00
ThomasV
8b7a8b1337 decode json args after sendind over socket 2015-08-30 17:46:51 +02:00
ThomasV
c7f5e3c2d5 deprecate lite gui (unmaintained) 2015-08-30 12:04:23 +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
Neil Booth
f68c04e251 Only pass user edits to item_edited()
It was picking up changes made when the history tab updates when
a transaction changes confirmation state
2015-08-30 18:19:27 +09:00
Neil Booth
32c1b9cd59 Handle openalias properly in contacts tab
- Filter out of block explorer URLs
- Make them uneditable
2015-08-29 21:55:17 +09:00
Neil Booth
62fe37a863 Permit multiselect in contacts tab
You can select multiple contacts, and still do all the actions
you could do on a single contact.  In particular, paying to them
all and removing them all.

This covers the first two bullet points of #1372.

Finally, make the new contact dialog box have a sensible width
that can display a full address without scrolling
2015-08-29 21:36:42 +09:00
Neil Booth
607664e663 Fix contact editing.
This fixes some bugs in contact editing:

- a changed address is now checked for validity. Shows
  error if invalid and restores prior value
- the changes are saved, before they were dropped
- adding a new contact switches to the contacts tab,
  it used to switch to the address tab

As an enhancement, the contact name, as well as its address,
can be edited and updated.

Finally, the platform edit key can also be used to edit,
in adition to double-clicking.  This is typically the F2 key.
2015-08-29 21:22:08 +09:00
Neil Booth
851db130ea Cleaner column editing in MyTreeWidget
Also enables arbitrary columns to be edited, but nothing
uses that yet.
2015-08-29 20:58:08 +09:00