From 8f034d5e09344caaa4e805d9ec20d10d593d7a41 Mon Sep 17 00:00:00 2001 From: cassandrus Date: Mon, 27 May 2024 17:34:33 +0300 Subject: [PATCH 1/2] fixes and updates for better async work --- .idea/misc.xml | 2 +- gradle.properties | 2 +- .../tech/deplant/java4ever/binding/Abi.java | 109 ++--- .../tech/deplant/java4ever/binding/Boc.java | 110 +++-- .../deplant/java4ever/binding/Client.java | 22 +- .../deplant/java4ever/binding/Crypto.java | 283 +++++------ .../tech/deplant/java4ever/binding/Debot.java | 443 ------------------ .../tech/deplant/java4ever/binding/Net.java | 120 ++--- .../deplant/java4ever/binding/Processing.java | 44 +- .../deplant/java4ever/binding/Proofs.java | 6 +- .../tech/deplant/java4ever/binding/Tvm.java | 19 +- .../tech/deplant/java4ever/binding/Utils.java | 31 +- .../deplant/java4ever/binding/AppObject.java | 2 +- .../deplant/java4ever/binding/EverSdk.java | 115 +++-- .../java4ever/binding/ffi/EverSdkContext.java | 356 +++++++------- .../java4ever/binding/ffi/NativeMethods.java | 10 +- .../java4ever/binding/ffi/NativeStrings.java | 16 +- .../binding/ffi/tc_response_types.java | 44 ++ .../binding/generator/ParserEngine.java | 3 + .../binding/generator/jtype/SdkFunction.java | 39 +- .../binding/generator/jtype/SdkParam.java | 25 +- .../deplant/java4ever/unit/ClientTests.java | 46 +- .../{ConfigTests.java => ContextTests.java} | 28 +- .../deplant/java4ever/unit/CryptoTests.java | 7 +- .../java4ever/unit/ProcessingTests.java | 43 ++ .../deplant/java4ever/unit/ProofsTests.java | 40 ++ .../java4ever/unit/SubscribeTests.java | 9 +- .../tech/deplant/java4ever/unit/TestEnv.java | 17 + 28 files changed, 908 insertions(+), 1083 deletions(-) delete mode 100644 src/gen/java/tech/deplant/java4ever/binding/Debot.java create mode 100644 src/main/java/tech/deplant/java4ever/binding/ffi/tc_response_types.java rename src/test/java/tech/deplant/java4ever/unit/{ConfigTests.java => ContextTests.java} (79%) create mode 100644 src/test/java/tech/deplant/java4ever/unit/ProcessingTests.java create mode 100644 src/test/java/tech/deplant/java4ever/unit/ProofsTests.java diff --git a/.idea/misc.xml b/.idea/misc.xml index 017bba0..2963328 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -26,7 +26,7 @@