heck
cefb146828
Merge pull request 'gitea-43 Update pEpEngineSequoiaBackend dependency' ( #44 ) from Ignacio/pEpJNIAdapter:gitea-43 into master
Reviewed-on: https://gitea.pep.foundation/pEp.foundation/pEpJNIAdapter/pulls/44
2 years ago
ignaciogarcia
cb73873cee
gitea-43 Update pEpEngineSequoiaBackend dependency
2 years ago
heck
dc913eccbb
Fix typo in ratings.
2 years ago
heck
9da798d8fc
FIX : #38 - Ratings values inconsistent with engine (3.2)
2 years ago
heck
5e3a9fb1d9
pEpEngine=v3.2.0-RC27
libpEpAdapter=v3.2.0-RC5
libpEpCxx11=v3.2.0-RC1
2 years ago
heck
3454305d1a
Session-manager needs to be initialized only once per process.
2 years ago
heck
a70e51801e
pEpEngine=v3.2.0-RC26
libpEpAdapter=v3.2.0-RC4
2 years ago
heck
5e9895e859
Fix : #36 - config_media_keys is not available in EngineInterface.java
2 years ago
heck
6ed9fdf5b0
Merge pull request 'PEMA-103 pEpJNIAdapter android compilation' ( #35 ) from TSaschabc/pEpJNIAdapter:PEMA-103 into master
Reviewed-on: https://gitea.pep.foundation/pEp.foundation/pEpJNIAdapter/pulls/35
2 years ago
Sascha Bacardit
73fc16f72b
Updated DEPENDENCIES
DEPENDENCIES File was pointing to the incorrect engine version
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
e560fcc246
pEpEngine=v3.2.0-RC22
libpEpAdapter=v3.2.0-RC3
2 years ago
heck
75f234fe9a
refactor throw_pEp_Exception()
2 years ago
heck
368f838970
pEpEngine=v3.2.0-RC22
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
43b1d3ea27
Test: update regression test for trustword related API cahnge.
2 years ago
heck
11be1efc25
pEpEngine=v3.2.0-RC20
libpEpAdapter=v3.2.0-RC01
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
e9d3c41378
Removed: get_trustwords_for_fpr()
API spec:
mandatory: get_trustwords()
optional: get_message_trustwords()
3 years ago
heck
de522323f9
fix: status code generation - ingnore #define lines.
3 years ago
heck
e6e3ba1801
Build: use same optimization level in debug and release build
3 years ago
heck
14b7a9c5fe
Build: update DEPENDENCIES
pEpEngine=v3.2.0-RC12
libpEpAdapter=v3.2.0-RC0
libpEpCxx11=v3.2.0-RC0
3 years ago
heck
d16f007aa8
Merge pull request 'PEMA-103 Compiling engine v3 for android.' ( #25 ) from TSaschabc/pEpJNIAdapter:PEMA-103-hotfix into master
Reviewed-on: https://gitea.pep.foundation/pEp.foundation/pEpJNIAdapter/pulls/25
3 years ago
Sascha Bacardit
0359fb50cf
PEMA-103 Deleted unused file
Cargo.toml.tmp was used to replace the cargo.toml inside of pEpEngineSequoiaBackend, as the entire lib has been updated to generate the proper libraries, this is no longer necessary.
3 years ago
Sascha Bacardit
70ae9c7d8a
PEMA-103 Updated Makefiles
Updated Makefile.conf to get the correct version of SequoiaBackend.
Removed hacky Cargo.toml replacement and changing 1.48 to 1.60 on rust toolchain.
3 years ago
Sascha Bacardit
2fffb966d5
PEMA-103
Fixed small typo, while 1.60.0 vs 1.60 shouldn't change anything, this is mostly for the sake of completionism and clean code.
3 years ago
Sascha Bacardit
a191ea2986
PEMA-103
Fixed Cargo's compile arguments, added crate commands to create a .so, will review them later to see if I require "lib".
Commented the compile only for device arch as it is slightly buggy on emulator.
3 years ago
Sascha Bacardit
5ba924dab2
PEMA-103
Added Cargo.toml, mostly to generate a static lib so we don't have to link.
Moved libuuid to static lib as it should be.
TODO: Update MakefileTemplate to reflect these changes.
3 years ago
ignaciogarcia
0f147bbb4c
PEMA-103 Blocked with uuid static library building
3 years ago
ignaciogarcia
ed72e2a29e
PEMA-103 Make engine depend on transport
holly mess
3 years ago
ignaciogarcia
c85ccd25bb
PEMA-103 WIP
3 years ago
ignaciogarcia
cbaf3bc70a
PEMA-103 Workaround to find asn.1 headers
3 years ago
ignaciogarcia
c022bf6ae8
PEMA-103 First approach to use libpEpCxx11
3 years ago
ignaciogarcia
3c1d5f5e34
PEMA-103 Change from libsequoia_openpgp_ffi to libpep_engine_sequoia_backend
3 years ago
ignaciogarcia
a03bb845cb
PEMA-103 Change sync to codegen as sources were moved
3 years ago
ignaciogarcia
1b0c5dffa0
PEMA-103 Replace sequoia with pEpEngineSequoiaBackend
3 years ago
ignaciogarcia
189514a507
PEMA-107 Add Makefile help and colors
Ignore errors in non-essential recipes.
3 years ago
ignaciogarcia
25bd32e8fd
PEMA-107 Remove downloads.stamp dependency from makefile creation
3 years ago
ignaciogarcia
7ccf3a97c5
PEMA-107 Compile for only connected devices if running from IDE
3 years ago
ignaciogarcia
f20dd609a9
PEMA-107 Only run buildExternal for connected devices
3 years ago
ignaciogarcia
bf3efb9400
PEMA-107 Add convenience methods to refresh makefiles in-place
Declare phony targets
3 years ago
ignaciogarcia
c9bd25ac39
PEMA-107 Do not use phony targets as prerequisites
If we do that, the rule will always run. Instead we need to use real files as prerequisites.
Reference: https://www.gnu.org/software/make/manual/make.html#Phony-Targets :
"A phony target should not be a prerequisite of a real target file; if it is, its recipe will be run every time make goes to update that file."
3 years ago
ignaciogarcia
7a3df224e6
PEMA-107 Add argument to ndk to prevent "bad file descriptor"
Reference: https://jira.appcelerator.org/plugins/servlet/mobile#issue/TIMOB-27776
3 years ago
ignaciogarcia
a139f6e75c
PEMA-107 Allow to modify abis to build for in build.gradle
3 years ago
ignaciogarcia
b36dc2002e
PEMA-107 Allow to pass abi(s) to build for as parameter
3 years ago
ignaciogarcia
b430f7369b
PEMA-107 Improve showsetup clarity
3 years ago
ignaciogarcia
5573f86809
PEMA-107 Add PerArchMakefile.conf
This file is meant to hold common variables for *only* architectures' Makefiles.
Organize Makefile.conf.
3 years ago
ignaciogarcia
abdaba628e
PEMA-107 Remove duplicate ANDROID_API variable
3 years ago