ThomasV
4bce96526b
follow up to c07e956127
2015-05-05 14:59:56 +02:00
ThomasV
8eaa156595
Merge pull request #1194 from kyuupichan/if-cleanup5
...
Send requests only from the interface thread.
2015-05-05 14:54:51 +02:00
Neil Booth
c64e0c0e64
Send requests only from the interface thread.
...
Currently requests are sent from the requestor's thread. The lock is
not properly held where necessary so this is not thread-safe. For example
it can race with the thread stopping and closing the socket the
requestor is trying to use to send with.
Resolve such races by having send_request() simply queue the requests,
which are asynchronously sent from the interface thread itself.
2015-05-05 21:36:34 +09:00
ThomasV
583d36a763
Merge pull request #1193 from kyuupichan/if-cleanup4
...
Move ping functionality into its own function.
2015-05-05 14:35:03 +02:00
Neil Booth
6920747a5d
Move ping functionality into its own function.
...
First step in cleaning up the run() function.
Calls stop() rather than setting is_connected to False on
case of timeout, which cleanly closes the socket.
2015-05-05 20:46:34 +09:00
ThomasV
3b357b6a6d
Merge pull request #1192 from kyuupichan/if-cleanup3
...
Pass the response_queue to the constructor, not start().
2015-05-05 13:44:42 +02:00
Neil Booth
c07e956127
Pass the response_queue to the constructor, not start().
...
Removes an unnecessary Thread base-class override. The python
documentation also strongly discourages overriding anything other
than run().
2015-05-05 20:37:25 +09:00
ThomasV
d6b2cdd595
Merge pull request #1191 from kyuupichan/if-cleanup2
...
Make is_connected into a member function. No change in logic.
2015-05-05 13:33:35 +02:00
Neil Booth
9cf2eff16b
Make is_connected into a member function. No change in logic.
2015-05-05 20:00:10 +09:00
ThomasV
5e2e82d516
Merge pull request #1189 from kyuupichan/if-cleanup
...
First of several incremental patches tightening up interface.py.
2015-05-05 12:45:42 +02:00
ThomasV
1fcd8de290
Merge pull request #1190 from kyuupichan/icons
...
Fix two icons.
2015-05-05 12:39:35 +02:00
Neil Booth
1492610429
Fix two icons.
...
Solves the following warning every time electrm is run:
libpng warning: iCCP: known incorrect sRGB profile
There is lots of information about this on the internet, see e.g.
https://wiki.archlinux.org/index.php/Libpng_errors
2015-05-05 14:54:02 +09:00
Neil Booth
4d55cb9528
First of several incremental patches tightening up interface.py.
...
Remove some unneeded imports, a constant and a line of dead code.
Document the current external API interface.py provides.
2015-05-05 14:02:51 +09:00
Maran
327c1bafd9
Use TLS for LabelSync
2015-05-04 12:20:52 +02:00
ThomasV
0a1c8f5546
underline help label
2015-05-03 07:06:54 +02:00
ThomasV
25c6a78ae0
fix missing immport
2015-05-02 16:29:41 +02:00
ThomasV
475a48091f
Merge pull request #1183 from kyuupichan/get_history2
...
Make it 3-step instead of four. Avoid quadratic insertions.
2015-05-02 16:28:18 +02:00
ThomasV
e4038dcdba
move create_csr to gui
2015-05-02 16:26:27 +02:00
Neil Booth
2fc38332e7
Make it 3-step instead of four. Avoid quadratic insertions.
...
This is preparation to hopefully fix #1163
2015-05-02 23:17:50 +09:00
ThomasV
6527eae32b
handle adds is None in tx dialog
2015-05-02 16:17:50 +02:00
ThomasV
bbaacef960
fix format_satoshis for None values
2015-05-02 15:12:00 +02:00
ThomasV
51b62c2983
strip transaction text before parsing
2015-05-02 14:40:47 +02:00
ThomasV
9f4a914526
change mouse cursor over clickable labels
2015-05-02 13:36:10 +02:00
ThomasV
617fb36b06
minor fix: index
2015-05-02 11:21:19 +02:00
ThomasV
afa814a444
small fix exchange_rates
2015-05-02 11:08:35 +02:00
ThomasV
75ddc066bb
fix #1181
2015-05-02 11:05:38 +02:00
ThomasV
df73b8017a
Merge pull request #1180 from pooler/exchange-tx-value
...
Fix variable reference in Exchange Rates plugin
2015-04-30 20:49:36 +02:00
pooler
bc95b0b4db
Fix variable reference in Exchange Rates plugin
2015-04-30 19:41:33 +02:00
ThomasV
30b189f68a
fix #1179
2015-04-30 18:04:27 +02:00
ThomasV
8ba70c941b
add function to create CSR
2015-04-30 17:51:51 +02:00
ThomasV
c35cdf1fd8
rename ssl config variables
2015-04-30 17:33:29 +02:00
ThomasV
1b6abf6e02
Merge pull request #1177 from kyuupichan/reduce_redraws
...
Remove two redundant refreshes of history tab during startup.
2015-04-30 11:51:55 +02:00
ThomasV
b9dbabc117
Merge pull request #1178 from kyuupichan/editable_cols
...
Make stretch column editable again.
2015-04-30 11:49:04 +02:00
Neil Booth
b71d35f027
Make stretch column editable again.
2015-04-30 16:39:32 +09: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
8f84a90ab5
Merge pull request #1170 from kyuupichan/tray_tip_wallet
...
Tray tip wallet
2015-04-30 07:01:35 +02:00
ThomasV
15826e18b8
Merge pull request #1173 from kyuupichan/is_local
...
Determine is_local not based on cwd but on existence of setup-release.py
2015-04-30 06:58:57 +02:00
ThomasV
102feb1dfd
Merge pull request #1175 from kyuupichan/dead_import
...
Remove apparenlty dead import and __builtin__ assignment.
2015-04-30 06:57:14 +02:00
ThomasV
baa178509a
Merge pull request #1176 from kyuupichan/no_ugly_flash
...
Avoid ugly flash of small window during startup.
2015-04-30 06:56:36 +02:00
Neil Booth
db2517b901
Shrink size of changes; functionality unchanged.
2015-04-30 13:32:01 +09:00
Neil Booth
506ed8ee74
Merge branch 'master' into tray_tip_wallet
2015-04-30 13:28:13 +09:00
Neil Booth
737a0ce9d8
Avoid ugly flash of small window during startup.
...
Electrum 2.x flashes a small window during startup before the main window appears.
This turns out to be the fee edit box being enabled in create_send_tab().
Setting it to visible when the grid containing it is unparented causes QT to actually
display a window with just the edit box widget for some reason. So defer the
call to set its visibility until the grid is parented.
2015-04-30 11:34:06 +09:00
Neil Booth
13341dd4b5
Remove apparenlty dead import and __builtin__ assignment.
...
Googling reveals this code is likely a remnant of prior code
and no longer needed. It appears to have no effect on my system.
2015-04-30 10:31:37 +09:00
Neil Booth
d27d80eb28
Should have been setup-release.py
2015-04-30 08:29:15 +09:00
Neil Booth
f732365821
Determine is_local not based on cwd but on existence of setup-release.py
...
The goal is to be able to run local instances from arbitrary directories.
It seems that the chances of having a setup-release.py in the same directory
as an installed electrum are extremely remote: not only is the name unusual,
but the file isn't installed anyway.
2015-04-30 08:23:57 +09:00
ThomasV
8dbb5e2a87
Merge pull request #1172 from kyuupichan/num_wdth
...
Expand default BTC / fiat amount widget width.
2015-04-29 15:20:13 +02:00
Neil Booth
ec953c7f30
Expand default BTC / fiat amount width. Seems to suffice for expected usage.
2015-04-29 21:41:27 +09:00
ThomasV
6646b7a43f
Merge branch 'kyuupichan-commas'
2015-04-29 09:26:48 +02:00
ThomasV
953674aac7
resize columns to content by default
2015-04-29 09:26:22 +02:00
Neil Booth
4f45e0a083
Prior lost minus sign for fractional negative numbers
2015-04-29 15:09:55 +09:00