From 7869710e8d590982714135c3f66e6a5e15909bda Mon Sep 17 00:00:00 2001 From: Fernando Theirs Date: Tue, 23 Nov 2021 17:21:28 +0100 Subject: [PATCH 1/7] update googletest tag --- cmake/gtest/CMakeLists.txt.gtest.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/gtest/CMakeLists.txt.gtest.in b/cmake/gtest/CMakeLists.txt.gtest.in index 202d3c3..cd4ae6c 100644 --- a/cmake/gtest/CMakeLists.txt.gtest.in +++ b/cmake/gtest/CMakeLists.txt.gtest.in @@ -6,7 +6,7 @@ project(googletest-download NONE) include(ExternalProject) ExternalProject_Add(googletest GIT_REPOSITORY https://github.com/google/googletest.git - GIT_TAG master + GIT_TAG release-1.11.0 SOURCE_DIR "${CMAKE_BINARY_DIR}/googletest-src" BINARY_DIR "${CMAKE_BINARY_DIR}/googletest-build" CONFIGURE_COMMAND "" From 8e9404795e5c12f3e5be792cfbc2e321c318a761 Mon Sep 17 00:00:00 2001 From: Fernando Theirs Date: Tue, 23 Nov 2021 17:22:47 +0100 Subject: [PATCH 2/7] initialize variable --- deps/ledger-zxlib/app/common/view.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/deps/ledger-zxlib/app/common/view.c b/deps/ledger-zxlib/app/common/view.c index 5e889b7..e6822a9 100644 --- a/deps/ledger-zxlib/app/common/view.c +++ b/deps/ledger-zxlib/app/common/view.c @@ -70,6 +70,7 @@ void h_paging_init() { viewdata.itemIdx = 0; viewdata.pageIdx = 0; viewdata.pageCount = 1; + viewdata.itemCount = 0xFF; } bool h_paging_can_increase() { @@ -185,6 +186,11 @@ zxerr_t h_review_update_data() { return zxerr_no_data; } + if (viewdata.viewfuncGetItem == NULL) { + zemu_log_stack("h_review_update_data - GetItem==NULL"); + return zxerr_no_data; + } + char buffer[20]; snprintf(buffer, sizeof(buffer), "update Idx %d/%d", viewdata.itemIdx, viewdata.pageIdx); zemu_log_stack(buffer); From 245e58094b5f8e1100884fe7b50de3eecd6640e2 Mon Sep 17 00:00:00 2001 From: Lucas PASCAL Date: Thu, 10 Mar 2022 09:30:43 +0100 Subject: [PATCH 3/7] [clean] Removing PENDING_REVIEW flag --- app/Makefile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/Makefile b/app/Makefile index 7f31246..b7f5ccb 100755 --- a/app/Makefile +++ b/app/Makefile @@ -130,10 +130,6 @@ ifndef ICONNAME $(error ICONNAME is not set) endif -# Ledger: add the "Pending security review" disclaimer -APP_LOAD_PARAMS += --tlvraw 9F:01 -DEFINES += HAVE_PENDING_REVIEW_SCREEN - ############ # Platform From b7f467212d89a4b292d136fbb45cdaaff27b19a5 Mon Sep 17 00:00:00 2001 From: Edouard Merle Date: Wed, 6 Apr 2022 11:46:32 +0200 Subject: [PATCH 4/7] fix: list variants recipe --- app/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Makefile b/app/Makefile index 274c7e9..6b6c35c 100755 --- a/app/Makefile +++ b/app/Makefile @@ -265,7 +265,7 @@ dep/%.d: %.c Makefile listvariants: ifeq ($(TARGET_NAME),TARGET_NANOS) @echo VARIANTS COIN POLYX POLYX_XL -else ifeq ($(TARGET_NAME),TARGET_NANOX) +else @echo VARIANTS COIN POLYX endif From 09f74089cc469d664ad726eb15fdd23dcabe89d0 Mon Sep 17 00:00:00 2001 From: Lucas PASCAL Date: Wed, 21 Sep 2022 14:11:57 +0200 Subject: [PATCH 5/7] Revert "[clean] Removing PENDING_REVIEW flag" This reverts commit 245e58094b5f8e1100884fe7b50de3eecd6640e2. --- app/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Makefile b/app/Makefile index 5ff6b95..68d445d 100755 --- a/app/Makefile +++ b/app/Makefile @@ -136,6 +136,10 @@ ifndef ICONNAME $(error ICONNAME is not set) endif +# Ledger: add the "Pending security review" disclaimer +APP_LOAD_PARAMS += --tlvraw 9F:01 +DEFINES += HAVE_PENDING_REVIEW_SCREEN + ############ # Platform From 8df04435ea85a94649c51daa3d9be492617e278c Mon Sep 17 00:00:00 2001 From: Sarah GLINER Date: Wed, 26 Oct 2022 14:29:31 +0200 Subject: [PATCH 6/7] workflows: update triggers for main.yml --- .github/workflows/main.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b281474..913d697 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,13 @@ name: Build -on: [push] + +on: + workflow_dispatch: + push: + branches: + - master + - main + - develop + pull_request: jobs: configure: From c75e674c63e2d6dc20e414ed10f3a8933f28a06f Mon Sep 17 00:00:00 2001 From: Sarah GLINER Date: Wed, 26 Oct 2022 16:36:29 +0200 Subject: [PATCH 7/7] Makefile: remove PENDING_REVIEW flag --- app/Makefile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/Makefile b/app/Makefile index b731396..15190f2 100755 --- a/app/Makefile +++ b/app/Makefile @@ -136,10 +136,6 @@ ifndef ICONNAME $(error ICONNAME is not set) endif -# Ledger: add the "Pending security review" disclaimer -APP_LOAD_PARAMS += --tlvraw 9F:01 -DEFINES += HAVE_PENDING_REVIEW_SCREEN - ############ # Platform