SomberNight
c1dbcab9bb
qt: new qrreader using QtMultimedia; drop CalinsQRReader(mac)
...
This commit ports the work of EchterAgo and cculianu from Electron-Cash,
to implement a new toolchain to scan qr codes.
Previously, on Linux and Win, we have been using zbar to access the camera
and read qrcodes; and on macOS we used CalinsQRReader (an objective-C
project by cculianu).
The new toolchain added here can use QtMultimedia to access the camera,
and then feed that image into zbar. When used this way, zbar needs
fewer dependencies and is easier to compile, in particular it can be
compiled for macOS.
The new toolchain works on all three platforms, with some caveats
(see code comments in related commits) -- so we also keep the end-to-end
zbar toolchain; but at least we can drop CalinsQRReader.
The related changes in Electron-Cash are spread over 50+ commits (several PRs and direct
pushes to master), but see in particular:
https://github.com/Electron-Cash/Electron-Cash/pull/1376
some other interesting links:
https://github.com/Electron-Cash/Electron-Cash/commit/b2b737001c8cc41a38fa580ea252a6d24e08f5d5
https://github.com/Electron-Cash/Electron-Cash/commit/163224cf1fad3af63f2d3cbe68a34fb8ff279af6
https://github.com/Electron-Cash/Electron-Cash/commit/3b31e0fcb13f67646228ff42c0dd39d2a0912291
https://github.com/Electron-Cash/Electron-Cash/commit/eda015908e9d6ea9a0adfbda9db55b929c0926ba
https://github.com/Electron-Cash/Electron-Cash/pull/1545
https://github.com/Electron-Cash/Electron-Cash/commit/052aa06c23b939adcea07c701f70ae28ebcf9e0a
2021-06-25 16:51:58 +02:00
SomberNight
129d5ba417
qt: (fix) make ScanQRTextEdit inherit Logger
...
the error handling in `qr_input()`, around line 81,
references `self.logger`, which would raise
2021-06-25 16:50:52 +02:00
SomberNight
bc5ec96387
kivy: scan_qr_non_android: handle user closing window
...
handle user closing window without scanning a qr code
(i.e. cancelling scan)
2021-06-25 16:44:39 +02:00
SomberNight
f1e77b6e43
build: update zbar to fix build issue with autoconf 2.70
...
see https://github.com/Electron-Cash/Electron-Cash/pull/2143
see https://github.com/mchehab/zbar/issues/132
2021-06-25 16:44:35 +02:00
ThomasV
4380f68564
contrib/osx/package.sh: fix paths, add link to issue regarding GCC 10.1
2021-06-24 11:45:29 +02:00
ThomasV
a99e0d9e17
build tools: set ZERO_AR_DATE to have deterministic timestamps on macOS
2021-06-23 15:46:45 +02:00
ghost43
b828627dc6
Merge pull request #6917 from andrewkozlik/slip39
...
SLIP-0039 wallet recovery
2021-06-22 19:44:02 +02:00
SomberNight
60e0cd65cf
slip39: follow-ups
...
- fix kivy wizard restore-from-seed
- qt seed dialog: disable "next share" if current share is invalid
- fix tests: file paths should not depend on $PWD (working dir)
2021-06-22 19:24:16 +02:00
SomberNight
57e52da77f
lnaddr: clean-up SEGWIT_HRP vs BOLT11_HRP confusion
...
With signet, SEGWIT_HRP != BOLT11_HRP, so the previous "currency" string
became a flawed concept. Instead we pass around net objects now.
2021-06-22 16:16:21 +02:00
ghost43
5dff461aaa
Merge pull request #7282 from wakiyamap/add_signet
...
add signet support
2021-06-22 16:15:38 +02:00
SomberNight
e54e6e4e09
build: extend release.sh so that all builders can use it
2021-06-21 19:29:56 +02:00
SomberNight
0e2d147afd
windows build: fix build.sh "cp" cmd
...
was exiting with non-zero error code due to trying to copy directory
```
9cf9cdda331b565dd95b105d3fe987beefa113ac2c594d83783998017ad52d70 dist/electrum-4.1.4-16-g648fac709-portable.exe
020ceacb3a6fc5986d3ec271985c22c8646d2bb534536b8e2ab774924b21d58f dist/electrum-4.1.4-16-g648fac709-setup.exe
e65dbbe24fe01e8635d4def088667e65d4e9763e2ab74cbc1aec616b3f2834bc dist/electrum-4.1.4-16-g648fac709.exe
💬 INFO: Done.
cp: -r not specified; omitting directory '/home/user/wspace/electrum/contrib/build-wine/../../contrib/build-wine/fresh_clone/electrum/contrib/build-wine/dist/electrum'
```
2021-06-21 19:29:52 +02:00
tiagotrs
f9734f5611
rephrasing, removal of revealer website links ( #7359 )
...
* rephrasing, removal of website links
* don't open pdf automatically
2021-06-21 17:26:52 +00:00
SomberNight
c3e7516dd5
gitignore: exclude appimage fresh_clone
2021-06-21 17:41:31 +02:00
ThomasV
d520471c8a
Merge pull request #7354 from SomberNight/202106_readme
...
readme: add a "contributing" section, mentioning new irc
2021-06-21 10:26:55 +02:00
ghost43
2aee7721ff
Merge pull request #5823 from Chris-777/master
...
Qt address list: add "funded or unused" filter option
2021-06-19 14:25:15 +00:00
SomberNight
ba8af9310f
kivy addresses list: add "funded or unused" filter option
...
note: "Funded or Unused" shortened to "Funded|Unused" to save horizontal space
2021-06-19 16:19:24 +02:00
Chris
3ff537465b
qt addresses list: add "funded or unused" filter option
2021-06-19 15:50:08 +02:00
SomberNight
90579ccfea
kivy: fix paying bip70 invoices
...
this is a regression from #7234
2021-06-19 14:57:15 +02:00
ghost43
086c1397af
Merge pull request #7355 from SomberNight/202106_build
...
build: clean up build scripts, consolidate instructions, reduce code dupe
2021-06-18 15:44:50 +00:00
SomberNight
9d46fe775a
build: try to consolidate instructions and decr codedupe in release.sh
2021-06-18 17:10:15 +02:00
SomberNight
91c913dc0b
build/release.sh: add some comments
2021-06-18 16:29:13 +02:00
SomberNight
47ebc49c4c
(trivial) build/release.sh: convert indents to spaces
...
was mixed tabs/spaces
2021-06-18 16:29:08 +02:00
SomberNight
3df1c3bbf7
build: rename some scripts
...
also, merge sdist/build.sh and sdist/make_tgz into sdist/make_sdist.sh
2021-06-18 16:29:03 +02:00
SomberNight
0842f4977b
build: fresh_clone: turns out we can just clone from a local dir :P
...
this saves us some network requests, and reduces trust in github
2021-06-18 16:28:58 +02:00
SomberNight
5ae167d67d
android build: place binaries in ./dist/ instead of ./bin/
...
Let's try to consolidate and have all build scripts put binaries into ./dist/
2021-06-18 16:28:52 +02:00
SomberNight
015b966afd
readme: add a "contributing" section, mentioning new irc
2021-06-18 15:42:46 +02:00
ThomasV
9625798a63
release script: follow-up prev commit
2021-06-17 15:02:07 +02:00
SomberNight
2c8f376d3d
prepare release 4.1.4
2021-06-17 14:03:06 +02:00
SomberNight
66f68d6b1f
commands: fix "close_wallet" cmd, which was deadlocking
...
fixes #7348
2021-06-17 12:35:31 +02:00
ThomasV
66628c0bad
contrib/upload: use abbrev=0
2021-06-17 12:18:47 +02:00
ThomasV
9c1a8d7f65
release.sh: fix path for android builds
2021-06-17 12:15:09 +02:00
SomberNight
d3276ee950
build-wine/unsign.sh: allow using before files are uploaded publicly
2021-06-17 12:12:11 +02:00
SomberNight
52fc2f5adb
release.sh: make sure correct commit is checked out
2021-06-17 12:05:40 +02:00
SomberNight
c49d6995d2
kivy: fixes regression where non-LN wallet cannot open settings...
...
fixes https://github.com/spesmilo/electrum/issues/6262#issuecomment-863087368
2021-06-17 11:48:58 +02:00
SomberNight
81a71ec09b
update locale; again :P
...
c2c845a82d accidentally undid the previous update
2021-06-16 20:28:00 +02:00
ThomasV
c2c845a82d
follow-up 8ff49fa9bb
2021-06-16 17:14:06 +02:00
SomberNight
60debf9116
update locale
2021-06-16 16:59:44 +02:00
ThomasV
8ff49fa9bb
Remove signature verification from make_download. Signatures are verified by the website, before deployment.
2021-06-16 16:54:02 +02:00
SomberNight
b1ea3d07ef
pubkeys: add new gpg key I will use to sign releases from now on
...
Also update existing key with some signatures.
Now both keys have ThomasV's sig,
and they cross-sign each other.
I will use sombernight_releasekey to sign releases, and keep using the
older key to sign commits and other day to day stuff. As I use a separate
key to sign commits, the release key can be made hard to get to.
2021-06-16 16:20:49 +02:00
SomberNight
d55fce4edd
prepare release 4.1.3
2021-06-16 14:50:39 +02:00
SomberNight
fbd8c5f7b0
imported wallets: respect "use_change" option; default off
...
Imported wallets used to send change back to the "from address".
We keep this behaviour as default.
There has already been an option "Use change addresses" (exposed in GUI),
ignored so far by imported wallets (was only used by HD wallets).
With this change, imported wallets no longer ignore that option, and if set,
they will send change to a random unused imported address, instead of back to "from address".
If all addresses are used, it falls back to sending change back to the "from address".
see: https://github.com/spesmilo/electrum/pull/7330
see: https://github.com/spesmilo/electrum/issues/5353
2021-06-11 20:12:43 +02:00
SomberNight
8941ba90bd
(trivial) wallet: rename parameter of a method
...
Re get_change_addresses_for_new_transaction,
"allow_reuse" is a confusing parameter name:
it means whether we allow reusing already used change addresses to send new change to.
However, if the method returns [], we will instead reuse the "from address" and send change there.
So it quite unclear without thinking it through what "allow_reuse" means as it could be either
of the two (and they are ~opposite scenarios).
The new name is long but at least it is clear.
2021-06-11 18:23:25 +02:00
SomberNight
3adb309d49
kivy settings: more intuitive "recoverable channels" toggle
...
Previously if the wallet did not have a deterministic node id,
the wallet info dialog could say "lightning enabled, non-recoverable channels", but
the "recoverable channels" setting could be toggled and might even say "yes".
2021-06-11 15:00:06 +02:00
SomberNight
325cd950a4
kivy: settings dialog: call update() from __init__
...
this is a clearer/easier-to-understand API
2021-06-11 14:51:09 +02:00
ThomasV
ad06398e4e
lnworker: rm unused import
2021-06-11 12:27:05 +00:00
ghost43
8abbcbff5a
Merge pull request #7292 from bitromortac/2105-inflight-htlcs
...
lnrouter: add inflight htlcs to liquidity hints
2021-06-10 16:54:48 +00:00
SomberNight
7ee4a2e299
follow-up prev
2021-06-10 18:52:12 +02:00
SomberNight
f52c0fd571
lnchannel: rm HTLC value upper limit of ~42 mBTC
...
closes #7328
closes #7100
see https://github.com/lightningnetwork/lightning-rfc/pull/877#issuecomment-857577075
2021-06-10 17:26:04 +02:00
SomberNight
dab25e3b24
android build: add exec permission to apkdiff.py, and print hashes
2021-06-10 16:41:37 +02:00