1690 Commits

Author SHA1 Message Date
edouardparis
610a95bf3b
Merge #1116: Set minimum window size
3bca6faffe6f1802e08471af05548f355804767c set minimum window size (pythcoiner)

Pull request description:

  fixes #506
  i put ~~800x800~~ as default size, feel free to told me if you think something else more appropriate.
  edit: i change to 1000x800 so we can also close #507 (i do not have strong opinion, 1000 looks a bit large to me, but if we decide less than 1000 i think we shouls close #507 also)

ACKs for top commit:
  edouardparis:
    ACK 3bca6faffe6f1802e08471af05548f355804767c

Tree-SHA512: 673e40304c9070777ebcc539975fdc28b14df559330b68dd8f6b23f7ab09dee22364a037967604ab70e1ca9596ecc028930dbb80878faadd085f11e47d3fa491
2024-06-19 15:12:29 +02:00
edouardparis
b36220504f
Merge #1121: fix outdated gui/shell.nix
d919d92cc0b1c90b0ad01bc5a41898c119fef5a1 fix shell.nix (plebhash)

Pull request description:

  fix #1120

ACKs for top commit:
  edouardparis:
    ACK d919d92cc0b1c90b0ad01bc5a41898c119fef5a1

Tree-SHA512: 29d946f4ffab5cf114e01abfc75eeafc925214cff7efe2c6e57cb085dcfd066beca60a31576b672e4ec5258afc2746774cba8c6ddb24fff58c1c13844ab31c5e
2024-06-17 11:11:49 +02:00
plebhash
d919d92cc0
fix shell.nix 2024-06-16 16:02:07 +02:00
pythcoiner
3bca6faffe set minimum window size 2024-06-11 13:04:13 +02:00
edouardparis
dddd62b31e
Merge #1113: Remove ui example
64370af843a6e7442b1c1813fc22c34be68a43d8 remove ui example (pythcoiner)

Pull request description:

  closes #1072

ACKs for top commit:
  jp1ac4:
    ACK 64370af843.

Tree-SHA512: 6efa8d95a16060db5efcfcdc466dfaa41dab583f4faeb5ce7a3f3fd072da11139cbbb9447a6b78813d65f6a48c5b400a0bca1f8cdb4993ad8af560340101bba0
2024-06-10 16:23:59 +02:00
edouardparis
6f0a850278
Merge #1112: Update hw support info
33b67fca980e364d97fca9b2142bdae381960914 update hw support info (pythcoiner)

Pull request description:

  Fixes #1106, taproot support already specified in doc/signing_devices.md

ACKs for top commit:
  jp1ac4:
    ACK 33b67fca98.

Tree-SHA512: c5fcc6ea7bb2af49039ad0649e689e1d4d3c01bb510e9f6b5f3db1622f42c84eefbe1f2205d667d369bcc89dd45cabac4bb3a830484557296667a88d2e598af3
2024-06-10 16:02:46 +02:00
pythcoiner
64370af843 remove ui example 2024-06-10 02:56:46 +02:00
pythcoiner
33b67fca98 update hw support info 2024-06-10 02:48:04 +02:00
edouardparis
93d12b62d1
Merge #1108: Revert "add specter support for tap-miniscript"
8921140f6b5adec85f129b07a2040b78c45a72c1 Revert "add specter support for tap-miniscript" (edouardparis)

Pull request description:

  This reverts commit 876d83af6518a3e4ae45e156ef2952a7e67affc1.

  TAP_KEY_SIG was in fact not implemented by specter version 1.9.0 db3ce3e918

ACKs for top commit:
  jp1ac4:
    ACK 8921140f6b.

Tree-SHA512: abe108775441680139d72b7067dac0679f20f176762fc4d9471fc31061de594840099c7b4f4fc7a3bf75d54026af8cb7256bee9d3c15ef84eb2da1f20b88cbda
2024-06-07 12:52:36 +02:00
edouardparis
8921140f6b Revert "add specter support for tap-miniscript"
This reverts commit 876d83af6518a3e4ae45e156ef2952a7e67affc1.

TAP_KEY_SIG was in fact not implemented by specter version 1.9.0
db3ce3e918
2024-06-07 12:10:58 +02:00
edouardparis
3e853dddb6
Merge #1103: Add specter support for tap-miniscript
876d83af6518a3e4ae45e156ef2952a7e67affc1 add specter support for tap-miniscript (pythcoiner)

Pull request description:

  This pr enable specter support for tap-miniscript.
  tested:
  - descriptor registration
  - spend trough internal key path
  - spent trough taptree path

ACKs for top commit:
  edouardparis:
    utACK 876d83af6518a3e4ae45e156ef2952a7e67affc1

Tree-SHA512: 98d2596fe4c19c05ebcdc4e7d1d4123088ed8869de31c3b0635d652501f2484eecb16dae405d8b2a42321c11a9ea65a9cf91411413a85ab9cc5e86b55dbcef0b
2024-06-06 17:15:50 +02:00
pythcoiner
876d83af65 add specter support for tap-miniscript 2024-06-06 15:51:06 +02:00
edouardparis
8985bb34a7
Merge #1105: fix ui: wrong usage of widget state
a9cfe45c0a010e39cb2fdd0b59926be5c13f2a4e fix ui: wrong usage of widget state (edouardparis)

Pull request description:

  In a previous PR #1096, we made usage
  of the widget state instead of the component state to set the collapsed value when the widget is created. But the widget is reset at each refresh of the interface, instead the component state does not change.

  This commit makes the distinction between the two by having the widget state as an initial state and the component one as a capture of the user clicks.

ACKs for top commit:
  jp1ac4:
    Tested ACK a9cfe45c0a.

Tree-SHA512: abe108775441680139d72b7067dac0679f20f176762fc4d9471fc31061de594840099c7b4f4fc7a3bf75d54026af8cb7256bee9d3c15ef84eb2da1f20b88cbda
2024-06-06 14:49:38 +02:00
edouardparis
a9cfe45c0a fix ui: wrong usage of widget state
In a previous PR #1096, we made usage
of the widget state instead of the component state to
set the collapsed value when the widget is created.
But the widget is reset at each refresh of the interface,
instead the component state does not change.

This commit makes the distinction between the two by
having the widget state as an initial state and the component
one as a capture of the user clicks.
2024-06-06 13:36:03 +02:00
edouardparis
c4c32d2634
Merge #1098: Set network in launcher
c0e7b63809fd60f4fc6f5e9cd5223c138e25cfde fix launcher wording (edouardparis)
977d8fa2dda00b45178b18ee3120082c0780b5ad Create datadir before install to store installer.log (edouardparis)
dee083c6d1b12eff07edef2f888bc1899c57bb72 Add blue banner for testing network (edouardparis)
be343aec37d6a8d6249285cf64759e23673e85e8 Add previous button to installer first page (edouardparis)
9ae33408cb0c0446e5ce729d46aa23dce3eb614d Move all network setup in launcher (edouardparis)

Pull request description:

  This Pull requests introduce three changes:

  1. Network can only be chosen with the launcher panel. A drop down showing what network user can install is shown to the user when clicking on install a new network.
  2. A previous button is added to the first installer page, so user can be redirected to launcher and the network choices if he has chosen the wrong network. close #306
  3. In order to make it clear for the user which network he is actually using or he is currently installing a blue banner is added on top of the window if the network is different than the bitcoin mainnet.

  ![20240529_13h01m15s_grim](https://github.com/wizardsardine/liana/assets/6933020/54ec0cb2-f358-404e-8e6c-27737ecbf2ef)
  ![20240529_13h01m27s_grim](https://github.com/wizardsardine/liana/assets/6933020/39c25b63-83d8-43ef-9b20-70fec8684cee)
  ![20240529_13h01m02s_grim](https://github.com/wizardsardine/liana/assets/6933020/a96a3062-6608-4d87-b4cf-5ccc59b17b59)
  ![20240529_13h00m35s_grim](https://github.com/wizardsardine/liana/assets/6933020/73fdd803-bbe8-4ee0-9855-050306ecbc1c)

ACKs for top commit:
  jp1ac4:
    Tested ACK c0e7b63809.

Tree-SHA512: 9a0673ac785835da06fe313a861d76bdd14438cff56edb37b108b0564fd473e54028a63e209ad253b25aea318b3eb65a062cc190f76117df1baf35a251ce8356
2024-05-30 11:49:42 +02:00
edouardparis
c0e7b63809 fix launcher wording 2024-05-30 10:47:45 +02:00
edouardparis
977d8fa2dd Create datadir before install to store installer.log
Launcher is not skipped anymore if no datadir exists
the code in main.rs line 138 to create the datadir
needs to be duplicated in this case.
2024-05-30 10:30:24 +02:00
edouardparis
dee083c6d1 Add blue banner for testing network 2024-05-30 10:30:24 +02:00
edouardparis
be343aec37 Add previous button to installer first page 2024-05-30 10:30:24 +02:00
edouardparis
9ae33408cb Move all network setup in launcher 2024-05-30 10:30:24 +02:00
edouardparis
be768b1a67
Merge #1097: gui: fix rbf feerate input form
3b604093ce13a6727b5201c59b9af014f28d329f gui: fix rbf feerate input form (jp1ac4)

Pull request description:

  This fixes #860.

  It makes it possible to edit a single-digit feerate, for example, by deleting the existing value and then entering a new one.

ACKs for top commit:
  edouardparis:
    ACK 3b604093ce13a6727b5201c59b9af014f28d329f

Tree-SHA512: 1e9add231590fc42b12cd3153892644cac75c4b4560236f8d892c152a06a63cda583229a78bc78365f050317574b6098c927f9c67e3cd4282e83a50cbd212758
2024-05-28 18:58:32 +02:00
jp1ac4
3b604093ce
gui: fix rbf feerate input form
This will make it possible to edit a single-digit feerate,
for example, by deleting the existing value and then entering
a new one.
2024-05-28 12:29:10 +01:00
edouardparis
a12d7f5788
Merge #1096: Add a warning in installer if mainnet wallet already exists
d770e62e19687a4e6357ac24f899653d922d9293 Collapse advanced settings menu and grey-out `Next` button in installer if mainnet wallet already exists (pythcoiner)

Pull request description:

  this PR fixes #1039, it add a warning in the installer if an wallet already exists on mainnet & grey-out `Next` button if the network  is not valid.

  ![image](https://github.com/wizardsardine/liana/assets/124568858/87b5017d-f44b-47d2-b3bc-77babc0e7cdf)

ACKs for top commit:
  edouardparis:
    ACK d770e62e19687a4e6357ac24f899653d922d9293

Tree-SHA512: c756804fb89aa9cc8bc1009517f88745521580c8d3128ebfdd5b364280fd56dbdbc7490680e0e7208b6c0e1fb55279ce357f46ad2c312311c5cb6e941d27a214
2024-05-27 16:41:20 +02:00
pythcoiner
d770e62e19 Collapse advanced settings menu and grey-out Next button in installer if mainnet wallet already exists 2024-05-27 15:39:27 +02:00
edouardparis
dd75308835
Merge #1095: replace AboutSection -> EditWalletSettings
a913a026467f7acea716defecbcae73fb0c07fa0 replace AboutSection -> EditWalletSettings (pythcoiner)

Pull request description:

  fixes #1087

ACKs for top commit:
  edouardparis:
    utACK a913a026467f7acea716defecbcae73fb0c07fa0

Tree-SHA512: a2ed2f8e6aefb6bc2f37908fcf66c78539d092fc823064d1fbfe29879eede900e58720128eb41638e3fa18158df73b6c6d863ff245402b7475ae9d48577c5d8e
2024-05-27 09:40:08 +02:00
pythcoiner
a913a02646 replace AboutSection -> EditWalletSettings 2024-05-26 01:45:44 +02:00
edouardparis
592d1af8fd
Merge #1074: Document the release process
d80dba048c2a020e6b0ce191d1470bdb0a82c148 doc: document the release process in a new document (Antoine Poinsot)
187857f106d639246f70278d4a55422f89014fd1 README: add a link to our Discord (Antoine Poinsot)

Pull request description:

  This document a bunch of stuff i've been doing for every release in the past years. I've detailed it in a number of steps for clarity.

  Fixes https://github.com/wizardsardine/liana/issues/803.

ACKs for top commit:
  edouardparis:
    ACK d80dba048c2a020e6b0ce191d1470bdb0a82c148

Tree-SHA512: c9f166c1ecfc595fcc3cd34d8603f6f2a67747625847e745fde5846dc5e687f04ac2e57886949f3f620ff1a55c40dc398cabc3013f058ddf70e00c73f3ec5922
2024-05-24 13:48:31 +02:00
edouardparis
e2e65d723a
Merge #1093: fix local date time and bump chrono
6531cc293def967f63cb737b2ca5547b95bb3d9a fix local date time and bump chrono (edouardparis)

Pull request description:

  close #1057

ACKs for top commit:
  edouardparis:
    Self-ACK 6531cc293def967f63cb737b2ca5547b95bb3d9a

Tree-SHA512: 5519cd01edcb3864f08a652b4f652d71db28b0f306f56bd11fe4bcb2ff1e56e3737da8eba16873cc4fc5e5c640cc482f69b307f5de6679ab5a8d23730c043165
2024-05-24 12:13:29 +02:00
edouardparis
6531cc293d fix local date time and bump chrono
close #1057
2024-05-24 12:03:04 +02:00
edouardparis
30702cf921
Merge #1094: bum async-hwi 0.0.18
99e4af84ffd64a0aad3dbb99af2d64a3cd38f490 bum async-hwi 0.0.18 (edouardparis)

Pull request description:

  Include coldcard 0.12.2 that fixes the
  nightly build on MacOS

ACKs for top commit:
  edouardparis:
    Self-ACK 99e4af84ffd64a0aad3dbb99af2d64a3cd38f490

Tree-SHA512: 5fb06e47f0f419681075df5968d7c43b50012d86f7d53f8cffb4d9584d74fd9b1936f30f8ebc9545808c79cbc5b349db17f2df5e18dc9b25dff8e3af5edafa55
2024-05-24 12:01:11 +02:00
edouardparis
99e4af84ff bum async-hwi 0.0.18
Include coldcard 0.12.2 that fixes the
nightly build on MacOS
2024-05-24 11:39:56 +02:00
edouardparis
b22e9e8f71
Merge #999: Add jade
570f0af35b84372d0e4684f9afd42ea7c900b43e installer: refresh hw list only if modal is open (edouardparis)
4e2015922d2a40ce934440a23f18fe8d1323ebcc doc: add Jade section to signing devices (edouardparis)
6b0c93c5c3fe2a5b6e7a3dfe49755c6edc704510 Add jade hardware wallet (edouardparis)

Pull request description:

ACKs for top commit:
  edouardparis:
    Self-ACK 570f0af35b84372d0e4684f9afd42ea7c900b43e

Tree-SHA512: 3f27c8bcc7afa74f751de245b44f53ce3e99b42175809566e2bf15832600d6466afd56684de08333a11079b7cb1daca3412e7224299d98f0c76cf2575b48494d
2024-05-06 18:11:44 +02:00
edouardparis
570f0af35b installer: refresh hw list only if modal is open 2024-05-06 14:50:45 +02:00
edouardparis
4e2015922d doc: add Jade section to signing devices 2024-05-06 14:50:45 +02:00
edouardparis
6b0c93c5c3 Add jade hardware wallet 2024-05-06 14:50:45 +02:00
edouardparis
b7a72e064d
Merge #1084: Remove legacy harware_wallets field from gui config
45c7b850a64318152e245b269ffef25d63033384 Remove legacy harware_wallets field from gui config (edouardparis)

Pull request description:

  Ledger hmacs, wallet name and fingerprint labels where moved one year ago in the settings.json file.
  Here the commit of the new settings module:
  bf1e9e4b80

  A second commit in v4 checked that settings.json is present otherwise it does the migration from the gui configuration file to the settings file:
  3eeba08248

  We remove the legacy field from the config field so the wallet module does not depend on the config module anymore to load hardware wallet information.

  Tested on gui.toml config with legacy field hardware_wallets and it does not fail to launch.

ACKs for top commit:
  jp1ac4:
    ACK 45c7b850a6.

Tree-SHA512: a13c042c3842c732117ee8099d5a90d28462c5916408edb9fcee5518427acca5b737cd6e1ebe77a94e7d8dabf7a6bdd124ddf927ed850c58b5f980c6efe4f391
2024-05-03 18:05:31 +02:00
edouardparis
513ea7b18d
Merge #1079: Gui: enable advanced text shaping 🎨
9cd36a76d09a1d563769f9c3dac81ec8ce1005eb gui: enable advanced text shaping (edouardparis)

Pull request description:

  Set text shaping and font fallback to text widget.
  It enable Emojis

  based on #597

ACKs for top commit:
  edouardparis:
    Self-ACK 9cd36a76d09a1d563769f9c3dac81ec8ce1005eb

Tree-SHA512: 1ed1621135c5bfbd624a9cf4bd96385db42d021e8432334429b2ec376d769715920d90d76cc000f43625367bdac85444b131be249197e4fab4d5629c7a0138e1
2024-05-03 15:26:53 +02:00
edouardparis
9cd36a76d0 gui: enable advanced text shaping
enable text shaping and font fallback,
It allows emojis
2024-05-03 14:48:24 +02:00
Antoine Poinsot
b602640d16
Merge #597: Iced 0.12
52e32b6a69c751f68e461f4e858170e4ade6619d Update iced patch branch in guix build (edouardparis)
acea67bc35738843144204539833b5767f6c936e Remove transaparency from PickList for tiny-skia (edouardparis)
7801d8cb1f11511cd8e11a556add9e8c62656780 Change descriptor view in installer behind scrollable (edouardparis)
c39d544566a76b126fdc4613197d5b937f72fad3 Use wgpu with tiny-skia fallback (edouardparis)
4920291d04302a5d73196b1d8eeb6ce05d7753a2 fix ui button and badge width (edouardparis)
de371116371c61c5cd2e3bd0d44cdc849f14c5cf Change text size (edouardparis)
a24d9416f62712fc5a5c6fe5d8fa619d06f4006a gui: bump msrv 1.70 (edouardparis)
fdcc30236721f2cf7bdffe788127a35ca376d453 gui: iced-0.12 (edouardparis)
64a626d7e871fd82db27b8ddf773231fe1361755 gui: bump iced 0.10 (edouard)

Pull request description:

  This PR does the migration from iced 0.9 to iced 0.12.

  This new iced version has impact on the fonts size. I reverted the size according to the original UX figma file.

  The new backend renderer is the `wgpu` with `tiny-skia` as a fallback. `wgpu` is the first class citizen of the iced renderers, it supports everything. The `tiny-skia` has some layout problems and does not support some features that is the reason why this PR introduces tiny change in the theme or long string display (ad69711c4a, 88fd0f18e2).

  In order to keep the MSRV as low as possible, a custom patch of the crates `iced_winit`,`iced_style`, `iced_futures` is added to the Cargo.toml

ACKs for top commit:
  darosior:
    ACK 52e32b6a69c751f68e461f4e858170e4ade6619d -- it's been tested a bunch, in particular by Kevin.

Tree-SHA512: 6afda45c227f0dd864c59aee100895af3f0d511c5a425f4d032c5891f900f2e438de778adaa82c5213dba768e608bf7610b6c78d4cb10a2d7ae59f5b132938f4
2024-05-03 13:32:58 +02:00
edouardparis
52e32b6a69 Update iced patch branch in guix build 2024-05-03 12:27:12 +02:00
edouardparis
acea67bc35 Remove transaparency from PickList for tiny-skia 2024-05-03 12:27:12 +02:00
edouardparis
7801d8cb1f Change descriptor view in installer behind scrollable
View is broken because of the long line of text of the
descriptor, current fix is to put it behind a scrollable
until we find a better way to display it to the user.
2024-05-03 12:27:12 +02:00
edouardparis
c39d544566 Use wgpu with tiny-skia fallback
to enable the fallback:
ICED_BACKEND=tiny-skia cargo run
2024-05-03 12:27:12 +02:00
edouardparis
4920291d04 fix ui button and badge width 2024-05-03 12:27:12 +02:00
edouardparis
de37111637 Change text size 2024-05-03 12:27:12 +02:00
edouardparis
a24d9416f6 gui: bump msrv 1.70 2024-05-03 12:27:12 +02:00
edouardparis
fdcc302367 gui: iced-0.12 2024-05-03 12:27:12 +02:00
edouardparis
45c7b850a6 Remove legacy harware_wallets field from gui config
Ledger hmacs, wallet name and fingerprint labels where
moved one year ago in the settings.json file.
Here the commit of the new settings module:
bf1e9e4b80

A second commit in v4 checked that settings.json is present
otherwise it does the migration from the gui configuration file
to the settings file:
3eeba08248

We remove the legacy field from the config field so the wallet module
does not depend on the config module anymore to load hardware wallet
information.
2024-05-02 15:31:51 +02:00
edouard
64a626d7e8 gui: bump iced 0.10 2024-05-02 14:46:31 +02:00
Antoine Poinsot
6b225777b2
Merge #1085: fix ci: bump ahash dep and add bitcoind macos arm64 binary hash
89912105734175e0f2a5e53eb6165b12055cc2c1 Add macos arm64 binary to bitcoind download (edouardparis)
c21004badb10d00990da088d4df659b25263a23f bump ahash dependency to fix macos build (edouardparis)

Pull request description:

  - bump ahash dependency to fix macos build
  - ci requires now macos aarch64 for the liana-gui tests on macos, sha256sum is added for bitcoind-26.1-arm64-apple-darwin.tar.gz (https://bitcoincore.org/bin/bitcoin-core-26.1/)

ACKs for top commit:
  darosior:
    ACK 89912105734175e0f2a5e53eb6165b12055cc2c1

Tree-SHA512: 082b2896abcb600e5e6ab4ec24cd56b4994c843e9a478a7e5e1515dbaa357cfa1714270a1a4b135d17caa9a0ed3bebad714df0f28e3c6a341503238ce6156a7c
2024-05-02 14:43:42 +02:00