Hussein Kasem
921d77cad3
JNI-111 Rethrow Java exceptions to the JVM during notifyHandshake.
5 years ago
heck
41a1c9d899
this "return" is not correct
5 years ago
heck
4a335a12fb
Integrate CallbackDispatcher between registered callbacks and engine. (engine -> dispatcher -> jniadapter_cxx -> java_messagetosendCallbackfromC -> java_callback_messagetosend)
start_sync() / stop_sync() using CallbackDispatcher
JNISync changed from class to namespace
5 years ago
Volker Birk
377fcc940b
using new libpEpAdapter
5 years ago
heck
6099e26bca
Passphrase support for messageToSend()
5 years ago
heck
7956b4037c
pEpLog() function call logging only on API exposed functions (JNIEPXORT)
5 years ago
heck
a309452628
depend on pEp/pEpLog.hh to be compatible with libpEpAdapter branches default and postrelease
5 years ago
heck
2c432e678b
depend on pEp/pEpLog.hh to be compatible with libpEpAdapter branches default and postrelease
5 years ago
heck
94f2107df1
Acquire global mutex to obtain mutex for java obj
update stress test jni92, add option useSharedEngines
5 years ago
heck
0254493742
Per object c++ mutex locking for the Engine class (java).
All calls to an Engine obj are locking the mutex for their respective object.
A unordered_map holds the mutex per java obj hash. The mutexes are created/deleted in constructor/destructor of an engine object.
A global mutex is being locked for write operations on the unordered map (not thread safe).
Cleanup of #includes
5 years ago
heck
25a07dcfde
Added Logging of every c/c++ function call (in DEBUG build only)
resolved possible var name ambiguity
corrected some formatting inconsistencies
5 years ago
heck
cd8fc6eebe
eliminate "use namespace pEp::Adapter" for better readability
6 years ago
Hussein Kasem
597c74a419
Remove buggy detach
6 years ago
Hussein Kasem
b70be6352f
Backed out changeset bb9fff033bdb
6 years ago
Hussein Kasem
0b20021d68
Remove buggy detach
6 years ago
Hussein Kasem
36fa395341
Print Exceptions from JNI side on messageToSend
6 years ago
Hussein Kasem
46fe1302e3
Add localref deletion on notifyHandshake
6 years ago
Hussein Kasem
40caaf5d0f
Wrap is_sync_running from pEpLibAdapter
6 years ago
Hussein Kasem
162a5aa6e2
Backed out changeset 07109e065126
6 years ago
Hussein Kasem
b95869efa8
Catch runtime exception
6 years ago
Hussein Kasem
596a095e70
Move from org.pEp.* to foundation.pEp.*
6 years ago
Hussein Kasem
1036195919
Backed out changeset: 737fa2f86e2a - return to org.pEp.*
6 years ago
Volker Birk
cad51bdaa1
moving from org.pEp.* to pEp.*
6 years ago
Volker Birk
c2e8d47ac2
add version functions
6 years ago
Volker Birk
1bd245f7b0
art & beauty
6 years ago
Volker Birk
14ebadc786
introduce engine.startSync() and engine.stopSync()
6 years ago
Volker Birk
dad94000fa
opteemyzing & exception checks
6 years ago
Volker Birk
e926d1c669
class variables must not be global
6 years ago
Hussein Kasem
cb25ac985c
Remove bad reference deletion.
6 years ago
Hussein Kasem
63c48885a9
Backed out changeset: 133c3c838160 < revert nullify
6 years ago
Hussein Kasem
6315bc8f14
Nullify deleted global refs to force recreation.
6 years ago
Hussein Kasem
cf3a412056
Backed out changeset: dd1adb53faed
Fix capitalization is only on sync branch, on default it is lower case.
6 years ago
Damiano Boppart
379e500b0a
Fix capitalziation of includes
7 years ago
Hussein Kasem
a204c0565b
Add disable sync switch for keyrest and so on...
7 years ago
Hussein Kasem
0e478fd6df
Add default Sync callback and fix env retrieval
7 years ago
Hussein Kasem
866f2763a6
Use global refs
7 years ago
Volker Birk
2a3c6090b1
...
7 years ago
Volker Birk
a6678d3e0f
init() is called per Java thread
7 years ago
Volker Birk
7a33f3fdfc
using session() of libpEpAdapter
7 years ago
Volker Birk
d627112da0
cleanup
7 years ago
Volker Birk
fff65f3919
...
7 years ago
Volker Birk
7344dc466b
less complexity
7 years ago
Volker Birk
131670578f
use extra environment for sync thread
7 years ago
Volker Birk
849defc87a
use extra environment for sync thread
7 years ago
Volker Birk
f7fed6a437
...
7 years ago
Volker Birk
b971de7a78
more...
7 years ago
Hussein Kasem
f52d7acfdd
Avoid the void ** cast on Android plataform as is not compatible.
8 years ago
Volker Birk
38fef55f52
adding missing cast
8 years ago
Volker Birk
76adb8c6c1
adding "pEp/" to include paths
8 years ago
Edouard Tisserant
b4489636ca
ENGINE-187 added remaining time return when timeout interrupted by message - untested, not even built
8 years ago