1
0
Commit Graph

14964 Commits

Author SHA1 Message Date
TadeuBAS
39c3d0585d build scripts: add quotes around some paths (#7949)
* Update make_libsecp256k1.sh

Avoid error when parent folder has spaces `./make_libsecp256k1.sh: line 31: cd: too many arguments`

* Avoid error when parent folder has spaces, fix for make_libsecp256k1.sh, make_zbar.sh and make_libusb.sh

Co-authored-by: ghost43 <somber.night@protonmail.com>
2022-08-24 14:18:39 +00:00
Sander van Grieken
3295671e5b qml: show when PIN is wrong 2022-08-24 16:16:50 +02:00
SomberNight
8cbf49fec9 Qt balance dialog: use monospace font for btc amounts 2022-08-24 14:05:35 +00:00
Sander van Grieken
9a72f98855 qml: add server and proxy config dialogs 2022-08-24 16:01:50 +02:00
SomberNight
757ec53ea2 AddressSynchronizer: set diagnostic_name for better logs
fixes regression from 121d8732f1

in particular, this is needed for Synchronizer.diagnostic_name and SPV.diagnostic_name
2022-08-24 11:05:01 +00:00
Sander van Grieken
dea30f96a1 qml: small fixes, cleanup 2022-08-24 12:38:25 +02:00
Sander van Grieken
c37e202e44 qml: implement scrollbar drag in history listview 2022-08-24 12:25:51 +02:00
Sander van Grieken
b0cfc2ab14 qml: add channel backup option to channel details page 2022-08-24 10:15:44 +02:00
Sander van Grieken
bb8af0cd08 qml: add help_text to GenericShareDialog 2022-08-24 10:15:03 +02:00
Sander van Grieken
1e375ae9e1 qml: allow separate data for clipboard/share and QR code in GenericShareDialog 2022-08-23 20:21:18 +02:00
Sander van Grieken
65b3c1abb3 qml: fix derivation prefix not available for watch-ony wallets 2022-08-23 22:04:08 +02:00
Sander van Grieken
f05ff0c9b8 qml: add QERequestDetails component.
Auto binds to wallet request status update signal so qml doesn't have to.
implements timer to update status string when near expiry.
2022-08-23 17:13:22 +02:00
SomberNight
4f574afe5a Merge remote-tracking branch 'remotes/spesmilo/appimage-debian-base'
Change Docker base images from Ubuntu to Debian, and use `snapshot.debian.org` as apt source list.
Ubuntu occasionally removes version-pinned packages from apt (see #7484), which
- breaks historical reproducible builds
- introduces maintenance burden as we have to update the version pins
Hopefully this change fixes both issues.

merges https://github.com/spesmilo/electrum/pull/7926
closes https://github.com/spesmilo/electrum/issues/7484
2022-08-22 13:10:25 +00:00
SomberNight
0ac49ea8c4 cirrus CI build: fix docker context to make COPY instructions work
see https://cirrus-ci.org/guide/writing-tasks/#environment-variables :
> CIRRUS_DOCKER_CONTEXT: Docker build's context directory to use for Dockerfile as a CI environment. Defaults to project's root directory.
2022-08-22 12:47:38 +00:00
SomberNight
65fda1f41d android build: fix Dockerfile "COPY" instructions
The build context is $PROJECT_ROOT
2022-08-22 12:47:35 +00:00
SomberNight
b8240bec3e wine build: build win-iconv-mingw-w64-dev, instead of using debian sid
without this, when using a ~week old debian sid snapshot, I got:
```
E: Release file for https://snapshot.debian.org/archive/debian/20220811T031049Z/dists/sid/InRelease is expired (invalid since 1d 11h 56min 39s). Updates for this repository will not be applied.
```
2022-08-22 12:47:31 +00:00
Sander van Grieken
46d76f0504 android: adapt Dockerfile to use debian bullseye base 2022-08-22 12:47:26 +00:00
SomberNight
83cc2d4bc0 build: osx readme: note cli xcode needs to be deleted before install
upgrading an existing directory does not seem to work well
2022-08-19 14:32:39 +00:00
SomberNight
8b6b85d385 contrib/make_download: add "source-only" tarball 2022-08-18 15:33:33 +00:00
SomberNight
c4c8a7f424 contrib/add_cosigner: add "source-only" tarball 2022-08-18 12:10:41 +00:00
SomberNight
de8745f69f contrib/add_cosigner: replace old-style format strings with f-strings 2022-08-18 12:08:29 +00:00
SomberNight
4c5e680425 RELEASE-NOTES: rm reverted change 2022-08-17 17:12:40 +00:00
SomberNight
019d213325 Revert "mac build: force using source dist for most of our python dependencies"
This reverts commit 0c2a885c66.

Reverting for now due to reproducibility issues:
```
error: /Users/vagrant/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate: can't open file: /tmp/electrum_compare_dmg/signed_app/Electrum.app/Contents/MacOS/libffi.8.dylib (No such file or directory)
```
`Electrum.app/Contents/MacOS/libffi.8.dylib` is included when building on one machine, but missing on the other...
Will have to investigate later.

related https://github.com/spesmilo/electrum/pull/7918
4.3.1
2022-08-17 17:07:22 +00:00
SomberNight
f13a257805 prepare release 4.3.1 2022-08-17 12:53:16 +00:00
ThomasV
3c5465fc5c update locale 2022-08-17 14:52:26 +02:00
SomberNight
4f1969dc6c update block header checkpoints 2022-08-17 11:29:04 +00:00
Sander van Grieken
c278d5befc qml: OpenWalletDialog rework 2022-08-17 11:49:57 +02:00
Sander van Grieken
d76726836d qml: fixes 2022-08-17 11:49:41 +02:00
ThomasV
60c493dc15 adb: trigger adb_added_tx event only if the transaction is new 2022-08-17 10:40:43 +02:00
SomberNight
c2b5e3ec15 build: use build-locale.sh in all build scripts 2022-08-16 19:06:47 +00:00
SomberNight
d0de44a794 build: also build a "source-only" linux-packager-friendly tarball
We now distribute two tarballs, a "normal" one (the default, recommended for users),
and a new strictly source-only one (for Linux distro packagers).
The normal tarball, in addition to including everything from
the source-only one, also includes:
- compiled (`.mo`) locale files (in addition to source `.po` locale files)
- compiled (`_pb2.py`) protobuf files (in addition to source `.proto` files)
- the `packages/` folder containing source-only pure-python runtime dependencies

merges https://github.com/spesmilo/electrum/pull/7594
with follow-ups
2022-08-16 17:28:41 +00:00
SomberNight
7d36f2ba3a build: follow-up source-only tarballs 2022-08-16 17:23:08 +00:00
ThomasV
4dee6e53b9 Merge pull request #7942 from SomberNight/202208_wallet_nosetlabel
wallet: rm `maybe_set_tx_label_based_on_invoices`, just use `get_default_label`
2022-08-16 18:23:34 +02:00
SomberNight
abef454237 qt: better handle unparseable URIs
fixes https://github.com/spesmilo/electrum/issues/7941
2022-08-16 15:27:13 +00:00
Sander van Grieken
d52cd2f2e6 qml: don't auto-pop Scan
TODO: handle cancel by signal too
2022-08-16 16:35:46 +02:00
Sander van Grieken
742012aee3 qml: add initial sign and broadcast feature to TxDetails/qetxdetails 2022-08-16 16:09:09 +02:00
Sander van Grieken
1c29ef12b5 qml: cosmetic changes 2022-08-16 16:09:05 +02:00
Sander van Grieken
fad9f87303 qml: accept raw tx from send page paste/qrscan and show TxDetails 2022-08-16 16:09:00 +02:00
SomberNight
d1c15fe5e9 wallet: (perf) avoid iterating over all invoices in add_transaction 2022-08-16 12:14:44 +00:00
ThomasV
24145f1f52 detect paid invoices in on_event_adb_added_tx 2022-08-16 10:14:47 +02:00
Sander van Grieken
0f227b177c qml: use QEAmount setters also in qetxdetails 2022-08-16 10:04:50 +02:00
Sander van Grieken
153a9f3a53 qml: use only genericsharedialog component defined in main 2022-08-16 10:04:44 +02:00
Sander van Grieken
46641e7874 qml: handle unsigned, local tx in history 2022-08-16 10:04:39 +02:00
Sander van Grieken
3dffd3e0b5 qml: don't implicitly send_onchain from ConfirmTxDialog, externalize 2022-08-16 10:04:33 +02:00
Sander van Grieken
46d3aa4515 qml: enable send for watch-only wallets, show raw tx dialog after finalizing
also use QEAMount setters in qetxfinalizer instead of re-instantiating
2022-08-16 10:04:28 +02:00
Sander van Grieken
6190498dfc qml: add setters to QEAmount to allow updating values, as replacing QEAmount instances
makes Qt unhappy in a few cases when it still holds references to the old instance, which
happened occasionally in e.g. qetxfinalizer
2022-08-16 10:04:22 +02:00
Sander van Grieken
2ee6683dd0 qml: qetxdetails was missing this in 9eb7ee74e1 2022-08-16 10:03:51 +02:00
ThomasV
ff3c999fcb rm method is_static_remotekey_enabled for channel backups 2022-08-16 08:58:34 +02:00
ThomasV
a64aa45e85 get default label for txid based on invoices 2022-08-16 08:50:46 +02:00
ThomasV
2c53af1664 wallet: load lnworker earlier 2022-08-16 08:50:46 +02:00