Commit graph

7406 commits

Author SHA1 Message Date
ThomasV
3d42193223 kivy: simplify bind 2016-02-04 20:14:11 +01:00
ThomasV
45a0c3b53b kivy: i18n needs garbage collection 2016-02-04 20:02:45 +01:00
ThomasV
49fb099bdc fix i18n for context menus 2016-02-04 18:17:02 +01:00
ThomasV
a388b59bc2 kivy i18n: test if label is already bound 2016-02-04 13:48:40 +01:00
ThomasV
802261c869 update app.fil with kivy strings 2016-02-04 11:49:48 +01:00
ThomasV
6faac2ca36 My Requests -> Requests 2016-02-04 11:49:12 +01:00
ThomasV
43a40cef57 kivy: Button inherits from Label. reordering 2016-02-04 11:05:40 +01:00
ThomasV
731f05746e kivy: update i18n imports 2016-02-04 10:57:09 +01:00
ThomasV
2ffafbf634 kivy: change language without restarting the app 2016-02-04 10:49:51 +01:00
ThomasV
0beb7e88d7 kivy: comment out openalias setting (not ready to launch) 2016-02-03 12:03:25 +01:00
ThomasV
fab001833f rm print debug statement 2016-02-03 11:02:17 +01:00
ThomasV
8b68a742d1 follow up to 2a507b91c1 2016-02-03 11:01:36 +01:00
ThomasV
8392fa9504 fix: missing import 2016-02-03 10:40:37 +01:00
ThomasV
2a507b91c1 fix #1666 2016-02-03 10:29:31 +01:00
ThomasV
3ee61c4c6e define wallet.dummy_address method 2016-02-02 19:56:34 +01:00
ThomasV
57af8d1d39 trustedcoin: fix 'send max' shortcut 2016-02-02 19:50:41 +01:00
ThomasV
a43b0395d4 trustedcoin: do not call make_unsigned_transaction twice 2016-02-02 17:43:04 +01:00
ThomasV
5aa0a87d7a trustedcoin: restore the display of fees 2016-02-02 16:26:47 +01:00
ThomasV
eb36884c66 move estimate_fee back to wallet 2016-02-02 12:26:28 +01:00
ThomasV
0b54ed0243 follow up 0d52911561 2016-02-02 07:18:18 +01:00
ThomasV
9efbb57766 init plugins only if needed 2016-02-01 22:09:55 +01:00
ThomasV
ddc1869551 disambiguate types returned by get_fd_or_server 2016-02-01 13:10:01 +01:00
ThomasV
690c862923 move static methods away from daemon class; restore initial logic 2016-02-01 10:20:22 +01:00
ThomasV
3b00f62d46 remove another unnecessary static method 2016-02-01 09:25:57 +01:00
ThomasV
1c83c3e060 do not declare pointless static methods 2016-02-01 09:12:53 +01:00
ThomasV
56c7d4139e fix: Daemon.get_server 2016-02-01 09:02:57 +01:00
Neil Booth
274d91fd6e watching_only: warn after showing main window 2016-02-01 07:45:16 +09:00
Neil Booth
ab488b566b warn_if_watching_only: don't call twice 2016-02-01 07:42:53 +09:00
Neil Booth
e61fffab55 Trezor/KeepKey: force watching only improvements
Only warn about watching only once given a chance to pair.
Failure to pair makes watching-only and warns.
In error message to user, distinguish between failure to connect
and failure to pair.
2016-01-31 19:36:21 +09:00
Neil Booth
abaf1bc6dc daemon: remove two unneeded member vars 2016-01-31 18:03:50 +09:00
Neil Booth
a90c935758 Remove unreachable code 2016-01-31 14:53:25 +09:00
Neil
2980b580a7 Merge pull request #1663 from nomnombtc/installer_fix_missing1
Installer fix missing hw_wallet plugin
2016-01-31 14:50:37 +09:00
Neil Booth
788ab520ea Remove dead code from prior 2016-01-31 14:48:57 +09:00
Neil Booth
e6020975a5 daemon: prevent races by opening with O_EXCL
Rework the way the daemon and server are created.  If we might
want to create a daemon, try to grab the lockfile with O_EXCL.
If we got it, create a server and daemon, otherwise try and
connect to the server.  If connecting to the server fails (including
after sleeping a little in case the server was recently created),
remove the lockfile and start over.

Other fix: shut down network gracefully on daemon exit.

Fixes #1638
2016-01-31 14:46:03 +09:00
Neil Booth
69da96feb4 The daemon stops the wallet threads now 2016-01-31 14:38:16 +09:00
Neil Booth
f91f03b3d4 daemon: fix long-standing bug in status request
Gracefully handle a status request when self.network is None
2016-01-31 11:50:44 +09:00
Neil Booth
ec24087b5a Move some logic from electrum to daemon
Ultimate goal is to try and stop the daemon race at startup.
Need to isolate logic of checking for server and creating one.
2016-01-31 11:43:11 +09:00
Neil Booth
f6f7113978 daemon: create network inside constructor 2016-01-31 10:58:27 +09:00
nomnombtc
9fc6c55382 change tab to whitespaces 2016-01-31 02:49:02 +01:00
nomnombtc
17b6e835c9 add hw_wallet plugin to setup.py 2016-01-31 02:47:16 +01:00
ThomasV
7c7722439b Merge pull request #1631 from pdroalves/master
Added new exchangers to Exchange rates plugin
2016-01-30 16:27:06 +01:00
ThomasV
44ee221c78 kivy: halign 2016-01-30 16:05:36 +01:00
ThomasV
2a908d3e8b hw_wallet: do not mix qt and non-qt imports 2016-01-30 13:48:52 +01:00
ThomasV
0f184db534 kivy: improve amount dialog 2016-01-30 13:24:54 +01:00
ThomasV
28b0ff85f2 fx plugin fix 2016-01-30 12:57:23 +01:00
ThomasV
c0ef60aa50 Partially restore e20369bf94, but keep init_qt hook 2016-01-30 12:08:14 +01:00
ThomasV
ed401761f1 sorry, confused
This reverts commit 5e6a55edd5.
2016-01-30 11:24:53 +01:00
ThomasV
5e6a55edd5 Revert "Revert "Daemon network cleanup""
This reverts commit 2c7b10a776.
2016-01-30 11:13:11 +01:00
Neil Booth
012f500976 hw_wallet: Create HW_PluginBase and use it 2016-01-30 18:33:54 +09:00
Neil Booth
2717c80a91 ledger: remove unused imports 2016-01-30 18:00:51 +09:00