heck
852f0f22df
Fix:: Windows portability - manual merge of PR#15 from thomas (due to conflicts)
3 years ago
Hussein Kasem
56d71a5b4c
JNI-174 Wrap __LP64__ related stuff into ifdef ANDROID to keep JNI-158 and don't break dates on android.
On android32 bits time_t struct it is 32 bits and this is causing an overflow after 01/Feb/22 giving negative dates and therefore converting from 09/02/22 to 25/02/21.
3 years ago
Hussein Kasem
f714e19af2
JNI-174: Revert "JNI-158 - remove __LP64__ related stuff"
This reverts commit bc035e29
3 years ago
Thomas
138bee2566
Add Windows build project and reference platform.h
4 years ago
heck
24f801b381
JNI-160: change "instanceCount" to be AtomicLong
4 years ago
heck
21119a6419
JNI-160: synchronized getInstanceCount() method
4 years ago
heck
aff9fa861f
JNI-160: synchronized close() method
4 years ago
heck
9d7efca8a5
JNI-160: close() on obj with handle == 0 does nothing (no decrement either)
4 years ago
heck
42fad14bb9
JNI-160: add Message.getInstanceCount()
4 years ago
heck
bc035e2910
JNI-158 - remove __LP64__ related stuff
4 years ago
heck
5e2a042197
JNI-158 - JNI-159 - Remove all keyserver functions
4 years ago
heck
b9fb50a75b
JNI-149: "Wrap disable_all_sync_channels into the adapter" - implementation
4 years ago
heck
d9e782faff
JNI-142: "Mem-mgmt: Defined behaviour of Message.close()"
* close() method is now idempotent
* Access to Message obj after close() results in IllegalStateException (Not SEGV anymore)
4 years ago
heck
be6510066c
Revert "FIX: JNI-135' - the option of using finalize() has been discarded
This reverts commit 20c32ff756
, reversing
changes made to 59d6177dc8
.
4 years ago
heck
dbf0e33de1
JNI-132 - Add equals() and hashCode()
4 years ago
heck
086c915987
JNI-132 - Add URIHash() and URITrim()
4 years ago
heck
d4cccefd67
Tests: JNI-147 - "Utils: add a method to check two URIs for equality"
4 years ago
heck
48098d5752
change Identity.toString()
4 years ago
heck
78dc887d45
JNI-135 - Fixed. use finalize() to release JNI-allocated mem. (Autocloseable never called close())
4 years ago
heck
4bdfb836a0
change var name accordingly
4 years ago
Hussein Kasem
ba4c0456f7
JNI-146 Reference AbstracEngine instead of Engine
To call java private methods from C/JNI side on an Android 7 device
seem to require to use the MethodId of the real class not from its
decendants
4 years ago
Hussein Kasem
5263aec68e
JNI-130 Generate JNI headers with lib-java
4 years ago
heck
4fdcb1e1ac
JNI-129 - JNI-129 - Message.getSent calls getSent() instead of _getSent()
4 years ago
heck
31ddafa3e5
codegen : message.cc fix datetime type
4 years ago
heck
87fc20082b
Fix: JNI-129 - Message.getSent calls getSent() instead of _getSent()
4 years ago
heck
72e65bebe1
fix merge conflicts
4 years ago
heck
8b17579b69
fix merge conflicts
4 years ago
heck
ac91696b0a
And suddenly my linux box javac needs "-encoding UTF-8", well, cant hurtbeing explicit about that in general.
(cherry picked from commit 242bdb073c
)
5 years ago
heck
a12f0504a8
JNI-101 - "Use pEpEngine logging API / runtime switchable / thread-safe"
JNI-116 - "pEpLog does not print on Android."
4 years ago
heck
0ef2601fd9
JNI-125 - "EncFormat missing values"
(cherry picked from commit bcb119060b
)
5 years ago
heck
866dc60439
C++ impl of export_key()
5 years ago
heck
46ba24e930
codegen add support for "basic methods" returning bytearray
5 years ago
heck
5e999db69f
add export_key as "basic" method (gen on java handwritten in c++)
5 years ago
heck
45ec5a9701
Wow, somehow the first make target is not the default make target. (workaround)
5 years ago
heck
bcb119060b
JNI-125 - "EncFormat missing values"
5 years ago
heck
a255490628
formatting and code style only
5 years ago
heck
3e71c76515
JNI-123 - "get rid of c-style casts"
5 years ago
heck
9eb92f27b6
no explicit toString() values for enum Rating
5 years ago
heck
3f57838c73
and replace the hardcoded prototype with the appropriate vars
5 years ago
heck
59cc0b4596
fix javah (still works on debian jdk8u265-b01 at least)
5 years ago
heck
6d43f1745f
added build option: USE_JAVAH - explicitly enable/disable use of javah over javac -h (if autodetect doesnt work correctly)
5 years ago
heck
9586c9d0dc
javah, fix build using java 8 (javah instead of javac -h)
5 years ago
heck
5070920c81
Add enter_device_group()
5 years ago
heck
41eb100c96
.toStrin() for the 2 independent Pair classes (PityTest framework should not depend on jniAdapter)
5 years ago
heck
3334007c6f
Add "public String Identity.toXKeyList(List<Identity> ids)" for creating OptField X-KeyList
5 years ago
heck
29705b4756
Add the Enum default method getInternalStringValue() when "has_int_str_val" is set (TODO: Query this using XPath, fdik how do i do this? in ysl2?)
5 years ago
heck
c0e2a91578
CodeGen: New enhanced enums, now all enums got .toString(), all enums can have .getInternalStringValue() (This was needed to avoid mapping table in the app, for "casting" Ratings to Engine internal string values for X-Opts .e.g)
5 years ago
heck
242bdb073c
And suddenly my linux box javac needs "-encoding UTF-8", well, cant hurtbeing explicit about that in general.
5 years ago
heck
9a2c6d9bd2
move AutoCloseable to top level interface AbstractEngineInterface
5 years ago
heck
1f95274051
remove stale file from merge
5 years ago