Commit Graph

  • e6b818bc39 Add local.conf.example heck 2020-05-05 22:58:26 +0200
  • 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) heck 2020-05-05 22:32:17 +0200
  • 76b9602138 merge in bugfix branch pEpLog-build-fix heck 2020-05-05 22:24:19 +0200
  • db3e2dd2b6 closing branch JNI-94 heck 2020-05-05 20:17:44 +0200
  • c28abb2974 Bugfix: JNI-97 "r702 fails to build due to wrong include-path" heck 2020-05-05 19:21:41 +0200
  • 8b36b1cb7c Merge in feature branch JNI-94 "Make default directories accessible via adapter" added: - Engine.getUserDirectory() - Engine.getMachineDirectory() heck 2020-05-05 18:13:14 +0200
  • 6d5af4bae8 Fixed broken methods due to needed template changes. Verified by comparing results of test/regression against sync branch d6c12d6ca3d0 heck 2020-05-05 17:19:20 +0200
  • d961bdd6e9 Add logging heck 2020-05-05 15:11:31 +0200
  • 72bf286bc1 Merge in sync heck 2020-05-05 14:52:47 +0200
  • 7238fc660a Add build instructionds for Android Hussein Kasem 2020-05-01 10:41:20 +0200
  • 848eca268e Merge sync Hussein Kasem 2020-04-30 14:03:57 +0200
  • f6766d5279 missing headers again, correcting error coloring, too Volker Birk 2020-04-30 13:43:37 +0200
  • 0e14d3a76f another include missing Volker Birk 2020-04-30 13:03:00 +0200
  • f67d98cb10 missing header file violating C++ standard Volker Birk 2020-04-30 12:56:48 +0200
  • 75552d51cf Add include pEp/pEpLog on basic_api.cc and fix identity_api.cc includes. Release_2.0.2 Hussein Kasem 2020-04-25 13:11:45 +0200
  • 701b808f72 closing branch android-1.0.101 heck 2020-04-24 20:02:45 +0200
  • abd8542a4f closing branch JNI-76 heck 2020-04-24 19:53:57 +0200
  • fe088751c5 closing branch JNI-92 heck 2020-04-24 19:45:45 +0200
  • 81a8887ab6 Reintegrate feature branch JNI-92 - Mutex Locking Per Engine Instance (yes, you are right, there will be undefined behaviour after 9.2 sextillion engine instances) heck 2020-04-24 18:13:16 +0200
  • 0212f7b88a Merge regression tests from sync heck 2020-04-24 17:36:10 +0200
  • 8613034691 Merge from sync heck 2020-04-24 17:34:26 +0200
  • 11524fa7cb Merge pEpLog() header changes from sync branch heck 2020-04-24 17:13:47 +0200
  • bb2d3aa7ed reintegrate main branch changes containing the new regressions tests heck 2020-04-24 13:12:46 +0200
  • 491dee7e2e little java Consumer<T> based Test framework. To be combined with threadpool. (JNI-92) heck 2020-04-24 02:48:01 +0200
  • aeea35f563 Added full regression tests for all Engine methods heck 2020-04-24 02:44:22 +0200
  • 7956b4037c pEpLog() function call logging only on API exposed functions (JNIEPXORT) heck 2020-04-23 18:10:08 +0200
  • cfd5248b74 add logging heck 2020-04-23 14:59:59 +0200
  • a309452628 depend on pEp/pEpLog.hh to be compatible with libpEpAdapter branches default and postrelease heck 2020-04-23 14:58:02 +0200
  • 2c432e678b depend on pEp/pEpLog.hh to be compatible with libpEpAdapter branches default and postrelease heck 2020-04-23 00:45:38 +0200
  • e10209e8fc JNI-94 Add get_machine_directory and get_user_directory wrapper and test Hussein Kasem 2020-04-21 17:55:04 +0200
  • 94f2107df1 Acquire global mutex to obtain mutex for java obj update stress test jni92, add option useSharedEngines heck 2020-04-21 00:05:12 +0200
  • c6d2732870 update stress test jni92 heck 2020-04-20 15:55:38 +0200
  • d020c79c03 Replaced hashCode() with UniquelyIdentifiable.getId() java.lang.Object.hashCode() returns non unique numbers. heck 2020-04-20 15:42:54 +0200
  • 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 heck 2020-04-20 14:06:49 +0200
  • e0df43342e merge in tests from sync heck 2020-04-19 19:01:50 +0200
  • 6ff6d378d3 Merge of JNI-92 heck 2020-04-16 21:41:17 +0200
  • fd686c0f2e Tests: improved Logging, prefix threadName Test: jni92, single vs multithreaded mass instantiation of Engine heck 2020-04-16 21:34:57 +0200
  • 25a07dcfde Added Logging of every c/c++ function call (in DEBUG build only) resolved possible var name ambiguity corrected some formatting inconsistencies heck 2020-04-16 20:33:49 +0200
  • 7621d7a306 test/ dir complete restructuring into standard java project layout. new package foundation.pEp.jniadapter.test shared classes and resources now possible for tests. Preparation for Test Framework and Code Coverage tool. heck 2020-04-15 23:39:44 +0200
  • 6f7c4536d9 Added doc/ dir, added Doxygen fox c++ and java. use "make doxy-all" heck 2020-04-13 16:16:42 +0200
  • 3b94758f72 Test case for JNI-91 added. (its a start) heck 2020-04-08 12:04:15 +0200
  • fb66d77051 update existing tests heck 2020-04-01 20:23:21 +0200
  • d8ac087997 ..and the dir/file renames too. heck 2020-04-01 20:12:46 +0200
  • c7a9d8b4af Make all not supposed to make tests. test naming scheme using dash instead of underline heck 2020-04-01 20:06:33 +0200
  • ac5835d191 Add missing flag to pEp.yml2 Hussein Kasem 2020-03-30 09:19:29 +0200
  • 103134a261 Android build: upgrade sequoia hash. Hussein Kasem 2020-03-24 09:25:53 +0100
  • 880b3dabc1 Fix Linux build using g++ heck 2020-03-19 16:00:53 +0100
  • 71f497a6a1 Merge JNI-86 heck 2020-03-11 17:17:52 +0100
  • d01d04ef85 Synchronized the method Engine.myself(). Seems to solve the problem. Enhanced DSL keyword "basic" with a "sync" option. Increased threads count in tests to 2000 JNI-88 heck 2020-03-03 03:03:38 +0100
  • 28577c5c36 Creating branch JNI-88 heck 2020-03-03 02:22:18 +0100
  • eb098d63a2 improved tests for JNI-88 Option to have engine instance per thread, or single shared engine instance across threads heck 2020-03-03 02:18:58 +0100
  • 614253fa24 Added test case for JNI-88 heck 2020-03-03 01:23:00 +0100
  • badff929e4 Merge JNI-86 heck 2020-02-28 22:09:17 +0100
  • c72a677c81 Blob.toString() enhanced with plain data output. Added Tests for addAttachment() / getAttachments() Nonfunctional change, to_blob() now used in to_bloblist() heck 2020-02-28 22:02:09 +0100
  • 163fe38149 JNI-86 Add ____Blob.cc to Android build Hussein Kasem 2020-02-25 14:19:52 +0100
  • fcc20e7507 Renaming of methods for semantical reasons, add plain data output to Blob.toString() heck 2020-02-18 12:48:33 +0100
  • e7e68633e0 forgot to add file heck 2020-02-18 01:15:13 +0100
  • e774036922 Added feature Blob.toString() - Human readable string representation of Blob. The data field is ASN.1 XER decoded for mime_types: "application/pEp.sync" "application/pEp.keyreset" heck 2020-02-18 00:54:34 +0100
  • d34321a01b Adding feature branch for JNI-86 "Message to XER decoder for Sync protocol (for debugging)" feature to be added: Blob.toString (for attachement mime application/pEp.sync) heck 2020-02-17 14:18:52 +0100
  • 24dd29bb71 Working impl of AbstractMessage / Message concept JNI-87 heck 2020-02-17 14:04:38 +0100
  • c386224309 upadate make clean and .hgignore heck 2020-02-17 13:33:39 +0100
  • f177ebe37d Move Message.enums from code-gen (AbstractMessage) to Message. when using "superclass for generated code, subclass to enhance/override behaviour" - concept, then generated, nested "final" types are _evil_! The types should not be in the abstract base class, but on the acutal class the API user will use. but this class is not being generated (only inhertis the generated class) but types are not being inherited, nor can you subclass them into the subclass because they are final. heck 2020-02-14 17:34:06 +0100
  • 1303cdd8cd Added AbstractMessage abstract base class / Message (extends AbstractMessage) heck 2020-02-12 01:00:08 +0100
  • 54024e996b Create feature branch JNI-86 (Message to XER decoder for Sync protocol (for debugging)) heck 2020-02-11 18:24:33 +0100
  • c1b9fde8e4 AndroidBuild: Set sequoia commit bounded to pep-engine branch. Hussein Kasem 2020-02-06 13:28:56 +0100
  • 97db93fc10 Add missing test/Makefile heck 2020-01-29 14:44:13 +0100
  • cd8fc6eebe eliminate "use namespace pEp::Adapter" for better readability heck 2019-12-26 14:33:20 +0100
  • d07bef3cad C++11 is the standard to be used for all adapters (acc. to Volker) heck 2019-12-18 21:04:08 +0100
  • 9718a96b9d Backed out changeset f0b49dde7901 heck 2019-12-18 20:59:11 +0100
  • 4dc18f34c3 C++11 is the standard to be used for all adapters (acc. to Volker) heck 2019-12-18 20:52:54 +0100
  • 338559da71 Further project/Makefile structures for tests heck 2019-12-15 00:43:15 +0100
  • 08f4061962 test/Makefile.conf for common build information for all tests Included after main Makefile.conf. heck 2019-12-14 00:55:57 +0100
  • 18c33872ec Lets start a substructure in test/, one dir for each test case. With the collected test cases we can regression test old bugs. heck 2019-12-14 00:49:50 +0100
  • 597c74a419 Remove buggy detach Hussein Kasem 2019-12-13 17:51:53 +0100
  • a46cbfafa8 JNI-85 Try to reproduce it - without success Hussein Kasem 2019-12-13 17:50:48 +0100
  • 36757c11de Update hgignore Hussein Kasem 2019-12-13 17:46:41 +0100
  • b70be6352f Backed out changeset bb9fff033bdb Hussein Kasem 2019-12-13 17:50:11 +0100
  • 0b20021d68 Remove buggy detach Hussein Kasem 2019-12-13 16:42:09 +0100
  • 21c3447b31 Wrap enable and disable_identity_for_sync Hussein Kasem 2019-12-12 17:38:54 +0100
  • 36fa395341 Print Exceptions from JNI side on messageToSend Hussein Kasem 2019-12-12 17:38:16 +0100
  • cbf1b2221c Makefile bugfix heck 2019-12-13 15:58:05 +0100
  • 190e74a80b test/Makefile Add DYLD_ and LD_LIBRARY_PATH heck 2019-12-12 03:00:04 +0100
  • e9f2b449bd Build config, added foo_PATH vars, for more flexible reuse of paths Backwards compatible with "old" local.conf heck 2019-12-12 02:23:50 +0100
  • 41fb26b250 Makefile structure similar to engine, recursively specializing local.conf with defaults in Makefile.conf heck 2019-12-12 01:51:41 +0100
  • d7cbb4b513 Added Main Makefile heck 2019-12-11 23:36:06 +0100
  • cc04f49337 Update android-plugin version and remove unused version. Hussein Kasem 2019-12-10 20:02:57 +0100
  • 46fe1302e3 Add localref deletion on notifyHandshake Hussein Kasem 2019-11-29 16:45:26 +0100
  • 40caaf5d0f Wrap is_sync_running from pEpLibAdapter Hussein Kasem 2019-11-25 20:34:36 +0100
  • 162a5aa6e2 Backed out changeset 07109e065126 Hussein Kasem 2019-11-25 20:58:42 +0100
  • 72efd2041c Make "basic" use same convention for intermediate function names as "method" Hussein Kasem 2019-11-25 20:19:56 +0100
  • 97c421da40 Android build: Fix openssl-build x86_64 Hussein Kasem 2019-11-19 20:08:06 +0100
  • ea5681179d Android build: Fix untar, use xvf instead of xvfz Hussein Kasem 2019-11-19 19:40:06 +0100
  • c36078e5a1 Android build: Fix libetpan clean Hussein Kasem 2019-11-19 19:11:49 +0100
  • c857de39ed Android build: Fix property name Hussein Kasem 2019-11-19 15:41:03 +0100
  • f1064833f8 Android build: Add build target Hussein Kasem 2019-11-19 15:39:59 +0100
  • 78288a198a Android build: add PATH Hussein Kasem 2019-11-19 15:38:27 +0100
  • 3eb638860a Add leave_device_group to adapter Hussein Kasem 2019-11-16 22:14:39 +0100
  • 0e32ef0874 Update sync signals Hussein Kasem 2019-11-14 15:04:28 +0100
  • 20a01aa173 Modify Testing to use a separate key for encryption Hussein Kasem 2019-11-13 18:45:22 +0100
  • 1adce511a6 Add missing KeySync signals Hussein Kasem 2019-11-12 20:25:12 +0100