1
0
Commit Graph

15075 Commits

Author SHA1 Message Date
Sander van Grieken
f9156912a3 qml: move balancesummary to controls/ 2022-10-04 10:42:26 +02:00
Sander van Grieken
b4d13ffb41 qml: show balance summary on top 2022-10-04 10:42:26 +02:00
ThomasV
ff5ba7cca4 rbf: fix issues with bump_frr_through_decreasing_change
- break from loop if target is reached
- recompute delta if there is no next iteration.
2022-10-04 10:23:58 +02:00
Sander van Grieken
54b69348f4 qml: scroll-drag in history, fix a few more assumptions w.r.t positioning of listview and size of indicator 2022-10-03 17:36:38 +02:00
Sander van Grieken
ce068eb8fc qml: no need for an active wallet to access server/proxy settings 2022-10-03 11:40:43 +02:00
Sander van Grieken
5a64d62b24 qml: lnurl comment only when allowed by server 2022-09-30 14:48:24 +02:00
Sander van Grieken
8538bfe49b qml: add lnurl-pay comment feature 2022-09-30 14:40:35 +02:00
Sander van Grieken
68b630a2e9 qml: unify dialog headers 2022-09-30 14:37:14 +02:00
Sander van Grieken
e73993dba5 lnurl: add support for comments (LNURL12) 2022-09-30 14:01:18 +02:00
Sander van Grieken
fd791f4fb1 qml: make request types clickable, some fixes 2022-09-30 09:27:55 +02:00
Sander van Grieken
ae15c0527b qml: expose bolt11_fallback in preferences 2022-09-29 13:18:13 +02:00
ThomasV
552300dc89 follow-up previous commit 2022-09-29 12:13:22 +02:00
ThomasV
4366055ada Remove old trampoline compatibility bits from invoices
bits 50/51 are now used on the network (as option_zeroconf)
2022-09-29 12:06:49 +02:00
Sander van Grieken
95b2f6fd63 qml: use Lightning, URI and Address for type names in ReceiveDialog 2022-09-29 11:57:34 +02:00
Sander van Grieken
8437e13666 add initial lnurl-pay 2022-09-28 18:21:07 +02:00
Sander van Grieken
2778a1bc20 fix dialog stack handling when closing from outside 2022-09-28 18:21:07 +02:00
Sander van Grieken
d65a7e7efc change address-only handling: create amount=0 onchain invoice
invoicedialog auto enables edit mode when amount is 0
2022-09-28 18:21:07 +02:00
Sander van Grieken
fb68931a8d allow zero amount invoices, add edit amount option for invoices 2022-09-28 18:21:07 +02:00
Sander van Grieken
5f9068d7b0 add default request expiry to preferences/config 2022-09-28 18:21:07 +02:00
Sander van Grieken
dd58328534 ui, fix payment failed 2022-09-28 18:21:07 +02:00
Sander van Grieken
d50d83e186 icons, buttons, receivedialog lifecycle 2022-09-28 18:21:07 +02:00
Sander van Grieken
10a1f11a53 re-add copy and share buttons 2022-09-28 18:21:07 +02:00
Sander van Grieken
b963c48238 remove old Send and Receive pages 2022-09-28 18:21:07 +02:00
Sander van Grieken
58e3e0c235 add manual input option 2022-09-28 18:21:07 +02:00
Sander van Grieken
cabf8e0644 support stacking dialogs 2022-09-28 18:21:07 +02:00
Sander van Grieken
d4df633f22 move request details into separate dialog 2022-09-28 18:21:07 +02:00
Sander van Grieken
15c76114c6 replace swipeview, send & receive now dialogs
send mostly working, though no user entered payment yet
2022-09-28 18:21:07 +02:00
ThomasV
dc78ba3c04 android: pass keystore password as argument to make_apk.
export does not work because it runs in a container.

also, check password using keytool
4.3.2
2022-09-28 09:32:01 +02:00
SomberNight
b5900eae98 contrib: reformat most shell scripts
Mostly just indentations.
For consistency, to conform to .editorconfig.
2022-09-27 14:55:22 +00:00
SomberNight
1cecd2c6e8 contrib: rename some shell scripts to have ".sh" extension
The extension gives formatting hints to some editors. (especially if they support .editorconfig)
2022-09-27 13:34:03 +00:00
SomberNight
f174b9164c build scripts: minor formatting clean-up
follow-up f8f77c14a2
2022-09-27 13:25:11 +00:00
ThomasV
ef89a695db fix typo 2022-09-27 14:57:09 +02:00
ThomasV
f8f77c14a2 release.sh: store signing password 2022-09-27 14:48:12 +02:00
ghost43
b73b35705d Merge pull request #7992 from SomberNight/202209_win_iconv
Revert "wine build: build win-iconv-mingw, instead of using debian sid"
2022-09-27 12:47:00 +00:00
SomberNight
042a323602 update locale 2022-09-27 12:42:20 +00:00
SomberNight
52b03e1f78 win build: use of debian unstable snapshots needs check-valid-until=no
see https://snapshot.debian.org/
>  To access snapshots of suites using Valid-Until that are older than a dozen days, it is necessary to ignore the Valid-Until header within Release files, in order to prevent apt from disregarding snapshot entries ("Release file expired"). Use aptitude -o Acquire::Check-Valid-Until=false update or apt-get -o Acquire::Check-Valid-Until=false update for this purpose.

(thanks to Axel Gembe for pointing this out)
2022-09-27 11:56:43 +00:00
SomberNight
846c073ee8 Revert "wine build: build win-iconv-mingw-w64-dev, instead of using debian sid"
This reverts commit b8240bec3e.

Looks like the win-iconv build is not deterministic...
Reverting this for now, will have to debug later.
2022-09-27 11:46:58 +00:00
Sander van Grieken
0f02c54c77 qml: fix qerequestdetails.py signal, remove qr scan loop logging 2022-09-27 10:01:20 +02:00
SomberNight
d94c934e47 qt main_window: _coroutines_scheduled needs locking
window.run_coroutine_from_thread starts a coroutine on the asyncio loop,
which, when finishing, pops from the dict.
The for loop in clean_up is running on the Qt thread.

fixes https://github.com/spesmilo/electrum/issues/7983
2022-09-26 20:10:44 +00:00
SomberNight
10a2a846ef build: update pinned protobuf (partial rerun freeze_packages)
closes https://github.com/spesmilo/electrum/pull/7990
2022-09-26 18:21:30 +00:00
ThomasV
e138b02bac prepare release 4.3.2 2022-09-26 20:13:45 +02:00
ghost43
2ac9c3c856 Merge pull request #7960 from SomberNight/202208_build_tighten3
mac build: `pip install --no-binary :all:` in more places (take 2)
2022-09-26 18:03:45 +00:00
SomberNight
77c2d4ec06 mac build: note in README: pyinstaller picks up extraneous brew pkgs
ThomasV had libffi installed via brew, and this side-effected the built electrum dmg.
`('libffi.8.dylib', '/usr/local/opt/libffi/lib/libffi.8.dylib', 'BINARY')`

this was the cause of 019d213325
2022-09-26 17:58:58 +00:00
ThomasV
60e2ad4316 follow-up 444dc7fb7f 2022-09-26 18:28:02 +02:00
Arian Ventura Rodríguez
7de1c604c6 Add yadio.io api to exchange rate 2022-09-26 17:11:08 +02:00
ThomasV
444dc7fb7f wallet: fix race condition that inhibits proper call of set_up_to_date 2022-09-26 17:02:30 +02:00
SomberNight
0abecffe6d mac build: force using source dist for most of our python dependencies
We compile from tar.gz, instead of using pre-built binary wheels from PyPI.
(or if the dep is pure-python, use tar.gz instead of "source-only" wheel)

-----
Some unorganised things below for future reference.

```
$ dsymutil -dump-debug-map dist1/hid.cpython-39-darwin.so
warning: (x86_64) /private/var/folders/1n/zc14m3td0rg4nt0ftklmm7z00000gn/T/pip-install-bm88zvc1/hidapi_cd307bc31ab34252b77d11d6d7212fc5/build/temp.macosx-10.9-x86_64-3.9/hid.o unable to open object file: No such file or directory
warning: (x86_64) /private/var/folders/1n/zc14m3td0rg4nt0ftklmm7z00000gn/T/pip-install-bm88zvc1/hidapi_cd307bc31ab34252b77d11d6d7212fc5/build/temp.macosx-10.9-x86_64-3.9/hidapi/mac/hid.o unable to open object file: No such file or directory
---
triple:          'x86_64-apple-darwin'
binary-path:     'dist1/hid.cpython-39-darwin.so'
...
```

```
$ nm -pa dist1/hid.cpython-39-darwin.so
```

- https://stackoverflow.com/questions/10044697/where-how-does-apples-gcc-store-dwarf-inside-an-executable
- https://github.com/pypa/pip/issues/6505
- https://github.com/pypa/pip/issues/7808#issuecomment-770275723
- https://github.com/NixOS/nixpkgs/pull/91272
- https://github.com/cython/cython/pull/1576
- 9d2ba1611b/Cython/Compiler/ModuleNode.py (L913)
2022-09-26 12:16:02 +00:00
SomberNight
1478d9d878 Qt CompletionTextEdit: cast KeyboardModifiers to int
closes https://github.com/spesmilo/electrum/issues/7979
2022-09-23 17:08:16 +00:00
SomberNight
9ed5b092e4 coinchooser: (trivial) add some type hints 2022-09-23 16:37:35 +00:00
SomberNight
c43e0000ce Qt ConfirmTxDialog: disconnect timer when closing dialog
fixes https://github.com/spesmilo/electrum/issues/6791
2022-09-23 16:36:17 +00:00