heck
e5f3aa6b8a
Generate marker files for make
Move exceptions into own subpkg foundation.pEp.jniadapter.exceptions
5 years ago
heck
a3c787371d
The CodeGen for MessageInterface is actually 50 lines less...
5 years ago
heck
7cc5ca7c32
Message class eliminate public native methods, More comments generated
5 years ago
heck
83eef3bebd
CodeGen Message yslt - Remove Dead Code
5 years ago
heck
38873a399d
CodeGen class Message - formatting only
5 years ago
heck
931cf1a1c3
CodeGen ysl2 formatting only (i like brackets)
5 years ago
heck
50abf8f827
Formatting only
5 years ago
heck
75704fa9f5
CodeGen improvements - generate comments
5 years ago
heck
bf9cf19c33
needsFastPollCallFromC etc.. dont need to public, they only get called from the C++ side of the adapter
5 years ago
heck
b2b6e678b3
UniquelyIdentifiable improvements
5 years ago
heck
a9883f9632
finally add EngineInterface
5 years ago
heck
99e7f7ef90
CodeGen - convert gone
5 years ago
heck
f3ed199b69
eliminate public native methods (wrap all in native methods in "normal" java method) // CodeGen - convert needs to go
5 years ago
heck
f70a3abb7d
generated EngineInterface started (need to merge in default now, there stuff has changed that causes problems now)
5 years ago
heck
97a006385d
Move class decrypt_message_Return from inner class of Engine, to new class decrypt_message_Return (in pkg foundation.pEp.jniadapter)
5 years ago
heck
555cb10070
move encoding/decoding UTF-8/UTF-16 functions to new "static" class Utils.java
5 years ago
heck
d11409365a
AbstractEngineInterface containing all public methods. needed wrap all native methods (native methods cant be in interfaces)
5 years ago
heck
9858091cbc
remove debuglog
5 years ago
heck
e1bcc578df
complete engine functions that have to be called with passphrase support - cache.api()
5 years ago
heck
2fdf5c2ed8
Code generation "basic" for java extended with return type identitylist
5 years ago
heck
195e240a2e
Make import_key return identity list instead of void
5 years ago
heck
6099e26bca
Passphrase support for messageToSend()
5 years ago
heck
e84feed11e
call API functions like encrypt_message() or decrypt_message() using cache.api()
5 years ago
heck
49d4ac3b0d
config_passphrase() - implemented using cache.add()
5 years ago
heck
1a08fa3682
Added interface for Message, Identity, Blob
5 years ago
heck
e844fe34f4
Added passphrase support methods, and tests.
5 years ago
heck
7212e1b394
Make Blob Serializable
5 years ago
heck
f33bd93de8
Fixed wrong class reference.
reg test succeeds now.
5 years ago
heck
2e6b1ebccd
X-pEp-Version = '2.1' <- using getProtocolVersion()
5 years ago
heck
53657d764a
Enhance Tests and TestUtils (Message pretty printing)
5 years ago
heck
a1555e720f
Add EncFormat PEPEncInlineEA. BUT a lot of question marks. see TODO:
5 years ago
heck
e8686e1ac4
Fix for pEpEngine default branch: mime_encode_messageO()/mime_decode_message()
mime_encode_message() "has_pEp_msg_attachment" hard coded to false
mime_decode_message() "has_pEp_msg_attachment" hard coded to NULL
5 years ago
heck
96c2484afa
Fix for pEpEngine default branch: mime_encode_messageO()/mime_decode_message()
mime_encode_message() "has_pEp_msg_attachment" hard coded to false
mime_decode_message() "has_pEp_msg_attachment" hard coded to NULL
5 years ago
heck
03655f2283
Makefiles. More structure. More logging
5 years ago
heck
4bc21c82b2
first draft of incomingMessageFromPGPText()
5 years ago
heck
cf5471a617
New example local.conf file
Replaced ENGINE_LIB,ENGINE_INC,AD_LIB,AD_INC.
local.conf migration might be necessary, but see local.conf.example
JAVA_HOME now guessed on linux
make clean now cleans .so and .dylib always (now you can share the workspace between linux and mac)
5 years ago
heck
6d5af4bae8
Fixed broken methods due to needed template changes.
Verified by comparing results of test/regression against sync branch d6c12d6ca3d0
5 years ago
Volker Birk
f6766d5279
missing headers again, correcting error coloring, too
5 years ago
Volker Birk
0e14d3a76f
another include missing
5 years ago
Volker Birk
f67d98cb10
missing header file violating C++ standard
5 years ago
Hussein Kasem
75552d51cf
Add include pEp/pEpLog on basic_api.cc and fix identity_api.cc includes.
5 years ago
heck
7956b4037c
pEpLog() function call logging only on API exposed functions (JNIEPXORT)
5 years ago
heck
cfd5248b74
add logging
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
Hussein Kasem
e10209e8fc
JNI-94 Add get_machine_directory and get_user_directory wrapper and test
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
d020c79c03
Replaced hashCode() with UniquelyIdentifiable.getId()
java.lang.Object.hashCode() returns non unique numbers.
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