Commit Graph

1300 Commits

Author SHA1 Message Date
Alexandre Paillier
f3075b7124 Moved message signing rejection cancellation from nbgl_useCaseChoice to nbgl_useCaseConfirm 2023-07-18 11:39:57 +02:00
Alexandre Paillier
04c9e890e5 Renamed the stax shared buffer 2023-07-18 11:35:36 +02:00
Alexandre Paillier
7c83c15f9f Now properly uses the settings use case 2023-07-18 11:35:36 +02:00
Alexandre Paillier
25562291e4 Fix Stax ragger tests 2023-07-18 11:35:28 +02:00
Alexandre Paillier
b458aa49cb Fix NBGL EIP-191 occasional double-refresh on the sign page 2023-07-18 11:35:28 +02:00
Alexandre Paillier
82b40a6347 Now conditionally show the plugin's icon depending if the TX is related to it 2023-07-18 11:35:28 +02:00
Alexandre Paillier
9186911abb Changed the info/settings page ordering 2023-07-18 11:35:27 +02:00
Alexandre Paillier
779fc4b61d Now uses macros for NBGL contstant texts 2023-07-18 11:35:27 +02:00
Alexandre Paillier
9396ae81d7 EIP-712 now has proper resume position 2023-07-18 11:35:27 +02:00
Alexandre Paillier
61015e3840 NBGL message signing refactoring 2023-07-18 11:35:26 +02:00
Alexandre Paillier
09d4b2114a Improve transaction wording 2023-07-18 11:35:26 +02:00
Alexandre Paillier
17b1cfc0ad Now uses proper Ethereum icon with shades of gray 2023-07-18 11:35:26 +02:00
apaillier-ledger
d63f1a90ae Merge pull request #438 from LedgerHQ/feat/apa/ens_on_other_chains
ENS on other chains
2023-07-07 13:40:43 +02:00
Alexandre Paillier
116a320df3 Removed ticker end space from hardcoded tokens 2023-07-06 15:41:24 +02:00
Alexandre Paillier
e019eed3ab Added a new ragger test 2023-07-06 15:41:19 +02:00
Alexandre Paillier
c8360741a4 Activated ENS on other Ethereum-compatible chains 2023-07-06 14:45:31 +02:00
Alexandre Paillier
34ea137c1a network.c functions cleanup 2023-07-06 14:45:29 +02:00
François Beutin
b87d0082be Merge pull request #444 from LedgerHQ/fbe/return_in_exchange
Fbe/return in exchange
2023-07-04 16:39:21 +02:00
Francois Beutin
120052a07a Split LNX and LNS+ snapshots 2023-07-04 15:41:24 +02:00
Francois Beutin
5f4a565076 Use latest version for Speculos and Ragger 2023-07-04 15:41:20 +02:00
Francois Beutin
f26edc2fef Update LNX snapshots on ragger tests 2023-07-04 15:00:31 +02:00
Francois Beutin
8082bd7f8b Return in Exchange after a successful swap 2023-07-04 12:24:20 +02:00
Francois Beutin
6ec26db053 Add Spinner when starting in Swap mode on Stax 2023-06-30 14:06:09 +02:00
Francois Beutin
02cdc23751 Rename called_from_swap to G_called_from_swap 2023-06-30 14:05:46 +02:00
Adrien Lacombe
1edf9cdb6a add S+ (#437) 2023-06-14 10:53:46 +02:00
Benjyskan
25ace8ab6a clean dataContext.tokenContext.data buffer between each plugin call to avoid unwanted data in last parameter when it isn't full length. (#434) 2023-05-31 18:33:12 +02:00
apaillier-ledger
ca9e084041 Merge pull request #431 from LedgerHQ/sdk/update-submodule
Update the SDK submodule
2023-05-16 19:03:40 +02:00
Alexandre Paillier
52e6c29aae BLE handling for all BLE-enabled devices 2023-05-16 18:58:50 +02:00
Alexandre Paillier
5f7cc79f16 Limit caller_type struct handling for only Stax 2023-05-16 18:58:42 +02:00
apaillier-ledger
b3bcaea44a [create-pull-request] automated change 2023-05-16 12:45:41 +00:00
apaillier-ledger
fd3003fa6a Merge pull request #401 from LedgerHQ/stax-develop
Stax port
2023-05-16 14:45:17 +02:00
Alexandre Paillier
d1d5685198 Enabled CI for Stax 2023-05-16 11:42:46 +02:00
Alexandre Paillier
cea6f2baa7 Added golden snapshots for Stax Ragger tests 2023-05-16 11:42:46 +02:00
Alexandre Paillier
8f4fb59ec0 Updated Ragger 2023-05-16 11:42:46 +02:00
Alexandre Paillier
510a935e26 Fix EIP712 fast autonext timer disrupting speculos for Stax 2023-05-16 11:42:45 +02:00
Alexandre Paillier
fec9a80d27 Stax Ragger tests 2023-05-16 11:42:40 +02:00
Alexandre Paillier
683e410fee Fix Makefile configuration 2023-05-16 11:42:40 +02:00
Alexandre Paillier
1413547d3e Removed large global buffer from NBGL transaction signing UI code 2023-05-16 11:42:39 +02:00
Alexandre Paillier
7c07008335 Dynamic year shown in settings 2023-05-16 11:42:39 +02:00
Alexandre Paillier
29a4375dfb Stax ENS support 2023-05-16 11:42:39 +02:00
Clement Bouvet
ee8c8e357c New stax icons 2023-05-16 11:42:33 +02:00
abonnaudet-ledger
a5e1d2960d Fat: INTER_REGULAR_32 is now INTER_MEDIUM_32
Replace BAGL_FONT_INTER_REGULAR_32px by BAGL_FONT_INTER_MEDIUM_32px.
This change is valid starting from API_LEVEL_9
2023-05-16 11:42:32 +02:00
Alexandre Paillier
12fb8c6a3a Merged confirm_parameter & confirm_selector UI code 2023-05-16 11:42:32 +02:00
Alexandre Paillier
e0bb1225fe Unified nbgl layoutTagValue variable naming 2023-05-16 11:42:32 +02:00
Alexandre Paillier
cb7334ceed Fix settings word split 2023-05-16 11:42:31 +02:00
Alexandre Paillier
4cce06ca2c Fix compilation warnings 2023-05-16 11:42:31 +02:00
Alexandre Paillier
3810cbd852 Fix Makefile configuration
- Removed DEBUG enabled by default
- Removed optimization & debug levels and use ones from SDK
- Disable PRINTF formatting warnings again (for the custom %.*H format)
2023-05-16 11:42:31 +02:00
Alexandre Paillier
8881471a8e EIP-712 fixes
- Now displays a Review page before showing the fields
- Now asks for confirmation before rejecting
- Now does not refresh the screen twice after a signature approval/rejection
- Both EIP-712 implementations on par UX-wise
- Fixed v0 approve/reject status word mismatch
- Unified NBGL UI of both implementations
2023-05-16 11:42:30 +02:00
Alexandre Paillier
6326a4a9f2 EIP-191 fixes
Skip button did not work
2023-05-16 11:42:30 +02:00
Alexandre Paillier
8361e349b7 Now has a separate struct for caller app name & icon
- New home screen wording
- Removed duplicate RUN_APPLICATION macro
2023-05-16 11:42:30 +02:00