Commit graph

230 commits

Author SHA1 Message Date
François Grisez
cd7bc53db3 C++ wrapper generator: reworking of ClassHeader class 2018-02-08 15:22:10 +01:00
François Grisez
9dd3f54f91 Fixes error in Java wrapper generation that caused a crash on Android apps starting 2018-02-08 15:17:39 +01:00
François Grisez
04a024ec9e Revert "Fixes C++ wrapper generation with Python 2"
This reverts commit 7d621c5bd1 and
proposes a way to fix the generation with Python 2 without
breaking abstractapi's interface.
2018-02-08 14:32:39 +01:00
François Grisez
7d621c5bd1 Fixes C++ wrapper generation with Python 2 2018-02-06 16:49:15 +01:00
François Grisez
bff2f9a26f Reworking of wrappers generators
* Support of enums declared inside classes.
* Moving of Java translation code into abstractapi.py
  in order to have Java's API in the generated multi-language
  documentation.
2018-02-06 12:22:44 +01:00
Ghislain MARY
702e257cae Automatically generate Core creation method for C++ wrapper. 2018-02-05 16:07:10 +01:00
Sylvain Berfini
3163b596c2 Fixed Java wrapper for enum with masks like ChatRoomCapabilities 2018-01-30 12:18:31 +01:00
Ronan Abhamon
26ad07a02e feat(core): update date of some files 2018-01-15 09:17:54 +01:00
Sylvain Berfini
ea585a1ef6 Fixed previous commit 2018-01-12 15:21:36 +01:00
Sylvain Berfini
2e837751c6 COpy SDK rootCA only if not exists 2018-01-12 15:19:44 +01:00
Sylvain Berfini
8a95dba194 Fixed abstractApi and Java wrapper use of RefCountable attribute 2018-01-12 14:41:29 +01:00
Erwan Croze
87aecfa304 Moving some setting init from android application to liblinphone 2018-01-12 11:54:43 +01:00
Sylvain Berfini
f369a7c87d Forgot to remove manually wrapped createCore in JNI layer 2018-01-11 15:09:21 +01:00
Sylvain Berfini
36399ae82b Removed manual wrap of createCore in Java wrapper 2018-01-11 15:00:03 +01:00
Sylvain Berfini
a633dac8aa Fix & workaround for Android's Java wrapper 2018-01-11 14:57:09 +01:00
Sylvain Berfini
e35b483fa1 Reduced number of JNI calls to getCore() 2018-01-08 15:15:09 +01:00
Sylvain Berfini
b10609f831 Use getCore methods to synchronize Java wrapper 2018-01-05 12:16:40 +01:00
Sylvain Berfini
918b217f99 Fixed Android local ref table overflow due to enums 2018-01-04 15:15:44 +01:00
Sylvain Berfini
a26324b95f Workaround Android crash due to Java's object nativePtr set to 0 in finalize() and yet some methods of this objects are still used after... 2018-01-04 14:08:39 +01:00
Sylvain Berfini
a2bf48f6b5 Do not use Java's nativePtr for Factory 2018-01-04 14:04:26 +01:00
Erwan Croze
45995b69e9 Fix last commit 2017-12-29 12:14:56 +01:00
Erwan Croze
65ce907eaa Fixing localref overflow in java wrapper 2017-12-29 12:04:25 +01:00
Erwan Croze
71fe4fad40 Workaround concerning string for Android
Specifically for Android < 5 when we receive a smiley
2017-12-28 15:45:48 +01:00
Erwan Croze
f1ad71b884 Fixing java enum wrapper 2017-12-21 18:07:39 +01:00
Sylvain Berfini
9e5eeafc7a Workarounded java wrapper issue with callback using bctbx_list as arg 2017-12-19 17:06:03 +01:00
Mickaël Turnel
16267be498 Fix missing parenthesis in java wrapper 2017-12-15 13:52:16 +01:00
Sylvain Berfini
a7df6db770 Fixed android video crash when rotating device 2017-12-13 12:43:03 +01:00
François Grisez
f31f9150f6 C++ wrapper generator: clean wrapper before generating it again 2017-12-06 12:09:51 +01:00
Sylvain Berfini
979082687f Auto generate Core callbacks in JNI wrapper for core constructor 2017-12-04 17:23:29 +01:00
Sylvain Berfini
b366b4055a Updated proguard rules 2017-12-04 16:15:30 +01:00
Sylvain Berfini
cd40d176c0 Fixed java wrapper 2017-12-04 15:45:17 +01:00
Sylvain Berfini
a23c0e4f20 Fixed issue with refs for video surfaces in JNI layer 2017-11-29 15:29:02 +01:00
Sylvain Berfini
a0df884b89 Fix Android Context not being set in mediastreamer2 2017-11-29 13:44:26 +01:00
Sylvain Berfini
bed2dbf6b0 Fixed typo 2017-11-29 11:32:00 +01:00
Sylvain Berfini
8bfffceab2 Fixed AndroidPlatformHelpers for devices using old version of Android 2017-11-29 11:03:30 +01:00
Sylvain Berfini
98ef82ed39 Updated migration.sh for Java wrapper 2017-11-29 10:10:01 +01:00
François Grisez
a94805efc2 Set java/genwrapper.py as executable 2017-11-24 14:56:29 +01:00
François Grisez
f6cd06d37d Wrappers generator: logging system reworking 2017-11-23 15:22:44 +01:00
Sylvain Berfini
4fa3a224cf Load the correct C++ library on Android 2017-11-23 10:26:46 +01:00
Sylvain Berfini
ec2ffd8a14 Added a proguard file generation to the Java wrapper (todo: test it) 2017-11-22 15:20:08 +01:00
Ghislain MARY
b12a245ed9 Add ENABLE_SPHINX_DOC CMake option definition and fix CPP wrapper compilation. 2017-11-16 18:08:50 +01:00
François Grisez
5cf9e549f3 Partial merge from 'master' about wrapper and documentation generation scripts 2017-11-16 17:30:45 +01:00
Sylvain Berfini
22986f1840 Do not load soci shared lib anymore 2017-10-27 16:06:54 +02:00
Sylvain Berfini
946a657c24 Added soci_core to list of library to load 2017-10-26 16:55:05 +02:00
Sylvain Berfini
0442a244c0 More enums added to parent classes 2017-10-24 14:46:11 +02:00
Sylvain Berfini
9bfaca593e Add EventLogType as enum of EventLog 2017-10-24 14:37:28 +02:00
Sylvain Berfini
d15d7dfc52 Put ChatRoomState into ChatRoom 2017-10-24 14:07:05 +02:00
Sylvain Berfini
3af62d98d2 Fixed crash in file transfer due to backgroundtaskid not being initialized + removed unused header in jni 2017-10-19 17:41:01 +02:00
Sylvain Berfini
40ae364d21 Added getDataPath, getConfigPath and getCachePath to AndroidPlatformHelper 2017-10-19 12:22:32 +02:00
Sylvain Berfini
8a421e9c72 Forgot to move AndroidPlatfromHelper class 2017-10-19 11:45:01 +02:00