From db5e886498054124d58c83322d152e2d3e1044af Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Mon, 16 Jun 2025 08:34:21 +0200 Subject: [PATCH 1/8] update npm dependencies --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 9d89efce..fc7120b8 100644 --- a/package.json +++ b/package.json @@ -15,11 +15,11 @@ }, "license": "MIT", "dependencies": { - "@abaplint/cli": "^2.113.125", + "@abaplint/cli": "^2.113.127", "@abaplint/database-pg": "^2.10.24", "@abaplint/database-sqlite": "^2.10.24", - "@abaplint/runtime": "^2.10.58", - "@abaplint/transpiler-cli": "^2.10.58", + "@abaplint/runtime": "^2.10.59", + "@abaplint/transpiler-cli": "^2.10.59", "0x": "^5.8.0" } } From a31b87c29ae3b8a892bf886eac188b2b4ac88ac6 Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Mon, 16 Jun 2025 09:35:47 +0200 Subject: [PATCH 2/8] update --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fc7120b8..8bcb6a9b 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ }, "license": "MIT", "dependencies": { - "@abaplint/cli": "^2.113.127", + "@abaplint/cli": "^2.113.128", "@abaplint/database-pg": "^2.10.24", "@abaplint/database-sqlite": "^2.10.24", "@abaplint/runtime": "^2.10.59", From 529d1f14e6476d403b751599e92ac85fa933e562 Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Thu, 26 Jun 2025 09:12:27 +0200 Subject: [PATCH 3/8] update --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 8bcb6a9b..11ac9cbc 100644 --- a/package.json +++ b/package.json @@ -15,11 +15,11 @@ }, "license": "MIT", "dependencies": { - "@abaplint/cli": "^2.113.128", + "@abaplint/cli": "^2.113.131", "@abaplint/database-pg": "^2.10.24", "@abaplint/database-sqlite": "^2.10.24", - "@abaplint/runtime": "^2.10.59", - "@abaplint/transpiler-cli": "^2.10.59", + "@abaplint/runtime": "^2.10.60", + "@abaplint/transpiler-cli": "^2.10.60", "0x": "^5.8.0" } } From 3655e2eca7a871a79a8d4a53bcf5a8a2c2ed7222 Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Mon, 30 Jun 2025 15:24:49 +0200 Subject: [PATCH 4/8] update --- package.json | 6 +++--- src/demo/cl_demo_output.clas.abap | 8 ++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 11ac9cbc..7cbeb939 100644 --- a/package.json +++ b/package.json @@ -15,11 +15,11 @@ }, "license": "MIT", "dependencies": { - "@abaplint/cli": "^2.113.131", + "@abaplint/cli": "^2.113.133", "@abaplint/database-pg": "^2.10.24", "@abaplint/database-sqlite": "^2.10.24", - "@abaplint/runtime": "^2.10.60", - "@abaplint/transpiler-cli": "^2.10.60", + "@abaplint/runtime": "^2.10.61", + "@abaplint/transpiler-cli": "^2.10.61", "0x": "^5.8.0" } } diff --git a/src/demo/cl_demo_output.clas.abap b/src/demo/cl_demo_output.clas.abap index 5d8ab0a4..f87b0e01 100644 --- a/src/demo/cl_demo_output.clas.abap +++ b/src/demo/cl_demo_output.clas.abap @@ -17,9 +17,17 @@ CLASS cl_demo_output DEFINITION PUBLIC. IMPORTING data TYPE any OPTIONAL name TYPE string OPTIONAL PREFERRED PARAMETER data. + + CLASS-METHODS display_html + IMPORTING + html TYPE csequence. ENDCLASS. CLASS cl_demo_output IMPLEMENTATION. + METHOD display_html. + ASSERT 1 = 'not supported'. + ENDMETHOD. + METHOD write. ASSERT 1 = 'not supported'. ENDMETHOD. From bb65ae86fb2f77f470f4ed71fb40c084e93b0fd4 Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Mon, 30 Jun 2025 15:25:31 +0200 Subject: [PATCH 5/8] add method --- src/demo/cl_demo_output.clas.abap | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/demo/cl_demo_output.clas.abap b/src/demo/cl_demo_output.clas.abap index f87b0e01..0f11f066 100644 --- a/src/demo/cl_demo_output.clas.abap +++ b/src/demo/cl_demo_output.clas.abap @@ -21,9 +21,17 @@ CLASS cl_demo_output DEFINITION PUBLIC. CLASS-METHODS display_html IMPORTING html TYPE csequence. + + CLASS-METHODS display_text + IMPORTING + text TYPE clike. ENDCLASS. CLASS cl_demo_output IMPLEMENTATION. + METHOD display_text. + ASSERT 1 = 'not supported'. + ENDMETHOD. + METHOD display_html. ASSERT 1 = 'not supported'. ENDMETHOD. From eab028baf3ca519b1b611f03461ffbe27a041432 Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Mon, 30 Jun 2025 15:26:51 +0200 Subject: [PATCH 6/8] add method --- src/demo/cl_demo_output.clas.abap | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/demo/cl_demo_output.clas.abap b/src/demo/cl_demo_output.clas.abap index 0f11f066..3da03f60 100644 --- a/src/demo/cl_demo_output.clas.abap +++ b/src/demo/cl_demo_output.clas.abap @@ -25,9 +25,17 @@ CLASS cl_demo_output DEFINITION PUBLIC. CLASS-METHODS display_text IMPORTING text TYPE clike. + + CLASS-METHODS display_json + IMPORTING + json TYPE simple. ENDCLASS. CLASS cl_demo_output IMPLEMENTATION. + METHOD display_json. + ASSERT 1 = 'not supported'. + ENDMETHOD. + METHOD display_text. ASSERT 1 = 'not supported'. ENDMETHOD. From 9b5380175107747ca57bed8facfb37790855dd33 Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Mon, 30 Jun 2025 15:31:22 +0200 Subject: [PATCH 7/8] fix --- src/http/if_http_client.intf.abap | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/http/if_http_client.intf.abap b/src/http/if_http_client.intf.abap index d5ecef74..0b2b5316 100644 --- a/src/http/if_http_client.intf.abap +++ b/src/http/if_http_client.intf.abap @@ -38,8 +38,10 @@ INTERFACE if_http_client PUBLIC. METHODS get_last_error EXPORTING - code TYPE i - message TYPE string. + code TYPE sysubrc + message TYPE string + message_class TYPE t100-arbgb + message_number TYPE t100-msgnr. METHODS refresh_request. From b6a2285aa8c0fe4846cce8fbed7c61b9e747f71c Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Mon, 30 Jun 2025 15:34:33 +0200 Subject: [PATCH 8/8] fix --- src/json/#ui2#cl_json.clas.abap | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/json/#ui2#cl_json.clas.abap b/src/json/#ui2#cl_json.clas.abap index 945ea634..e661a5ae 100644 --- a/src/json/#ui2#cl_json.clas.abap +++ b/src/json/#ui2#cl_json.clas.abap @@ -9,9 +9,15 @@ CLASS /ui2/cl_json DEFINITION PUBLIC. camel_case TYPE string VALUE 'camel_case', END OF pretty_mode. - TYPES tribool TYPE c LENGTH 1. TYPES bool TYPE c LENGTH 1. + CONSTANTS: BEGIN OF c_bool, + true TYPE bool VALUE `X`, + false TYPE bool VALUE ``, + END OF c_bool. + + TYPES tribool TYPE c LENGTH 1. + CLASS-METHODS raw_to_string IMPORTING iv_xstring TYPE xstring