heck
3454305d1a
Session-manager needs to be initialized only once per process.
2 years ago
Sascha Bacardit
c3b4363d8a
Updated android build script
Makefiles for android need to point towards backend, not old sequoia with all that implies, such as changing .mk, makefiles and includes.
Added libCxx11 to the task list with the same logic as libPEpTransport as they work the same.
Added header link to identity_api.cc this is purely for the sake of android studio and not required, but android studio complains about missing headers without it.
Updated Engine_version_code, will move it to a gradle variable later.
Todo:
Investigate why JNI dislikes using identity without a global variable during handshakes.
2 years ago
heck
7fb0eefc69
FIX : #33 - BUG: JNI cannot find existing class which leads to hardcrash.
Not reproducable on macOS.
Globalrefs _seem_ to be thread local on Android, but not on macOS (or different versions or implementations of the JVM)
2 years ago
heck
f50e81aab5
Remove macro LOGD
This is an ancient leftover that has been replaced by pEpLog
2 years ago
heck
8ff6da985a
Remove redundant from_identity() function
redundancy is the source of all evil
2 years ago
heck
3024ecf4f5
FIX: crash on import_key() due to uninitialized out param
Actually an engine bug, but apply defensive style anyways.
2 years ago
heck
694f753730
#20 - add function config_media_keys()
3 years ago
heck
3004e0d16f
#20 - add function config_enable_echo_in_outgoing_message_rating_preview()
3 years ago
heck
0a5116d61c
#20 - add function config_enable_echo_protocol()
3 years ago
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
5ef9de64c7
Feature: use libpEpAdapter3 session mgmt
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
0c36123b91
JNI-156 - Remove all blacklist functions
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
heck
72e65bebe1
fix merge conflicts
4 years ago
heck
866dc60439
C++ impl of export_key()
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
1db1aead61
move the new .hh files to new src/cxx/
5 years ago
heck
c5ae320e7a
move all cxx sources/headers into src/cxx
5 years ago