Commit graph

5321 commits

Author SHA1 Message Date
Ghislain MARY
1f65d8d709 Fill *_new(), *_new_from_native_pointer() and *_dealloc() functions for class with no public constructors in the Python wrapper. 2014-07-17 09:52:08 +02:00
Ghislain MARY
7b47e83310 Include linphone_tunnel.h in the Python wrapper. 2014-07-16 18:09:32 +02:00
Ghislain MARY
fa38f30896 Fix compilation warnings in the Python wrapper. 2014-07-16 18:09:15 +02:00
Ghislain MARY
4b3a1fb016 Improve Python wrapper tracing a little more + fix a refcounting issue. 2014-07-16 17:58:41 +02:00
Ghislain MARY
302e971474 Improve tracing to show arguments and return values in the Python wrapper. 2014-07-16 16:23:08 +02:00
Ghislain MARY
2b1f7c50aa Generate new method body by code instead of a simple template in the Python wrapper. 2014-07-16 14:51:05 +02:00
Ghislain MARY
c3024aa772 Improve logging of the Python wrapper. 2014-07-15 18:21:28 +02:00
Ghislain MARY
cfc9bdd550 Improve readability of code snippets in the Python wrapper generator. 2014-07-15 17:17:42 +02:00
Ghislain MARY
975f434f9c Handle object arguments correctly in the setters of the Python wrapper. 2014-07-15 16:28:44 +02:00
Ghislain MARY
c463401839 Merge branch 'master' of git.linphone.org:linphone into dev_python 2014-07-15 14:21:59 +02:00
Ghislain MARY
fb3b97bdea Add missing const for getters' parameter. 2014-07-15 14:21:28 +02:00
Ghislain MARY
b7cf077e3f Fix search of *_get_user_data function in the Python wrapper. 2014-07-15 14:15:44 +02:00
Ghislain MARY
b36e61414a Fix const warnings during Python wrapper compilation. 2014-07-15 14:15:11 +02:00
Ghislain MARY
684a869a31 Do not include deprecated properties in the Python wrapper. 2014-07-11 17:58:09 +02:00
Ghislain MARY
3c692e3a36 Add some function declarations at the beginning of the generation of the Python wrapper to prevent compilation warnings. 2014-07-11 17:34:29 +02:00
Ghislain MARY
f92d32e5cf Fix indentation bug that was causing errors in Python wrapper generation. 2014-07-11 17:34:04 +02:00
Ghislain MARY
d139c681f1 Add check on NULL pointer before calling *_get_user_data in the Python wrapper. 2014-07-11 17:03:27 +02:00
Ghislain MARY
c4adb92093 Correctly handle return of object types from methods. 2014-07-11 16:55:05 +02:00
Ghislain MARY
0c37b9e59e Correctly handle passing of objects as method arguments in the Python wrapper. 2014-07-11 14:12:52 +02:00
Ghislain MARY
affdb49e12 Include type and complete type for arguments in the generated XML file of the API. 2014-07-11 14:11:53 +02:00
Ghislain MARY
4abe3b3cc8 Correctly handle passing of enum arguments to methods in the Python wrapper. 2014-07-11 11:31:33 +02:00
Sylvain Berfini
95476e63a6 Updated ms2 2014-07-11 11:10:15 +02:00
Ghislain MARY
e3257c88a1 Add API and linphonerc parameter to configure SIP transport timeout. 2014-07-11 11:04:22 +02:00
Ghislain MARY
6b290a01ea Fix compilation. 2014-07-11 11:04:08 +02:00
Guillaume BIENKOWSKI
38ea4ee8a3 Made the code more readable 2014-07-10 17:44:58 +02:00
Guillaume BIENKOWSKI
575c9a20d2 Fix crash when launching file download from message after linphone reboot.
We now launch the download from the external_body_url and create a file_transfer_information when the response headers are received.
2014-07-10 17:44:58 +02:00
Ghislain MARY
2d020da4f0 Allow definition of properties without setter or without getter in the Python wrapper. 2014-07-10 15:54:45 +02:00
Ghislain MARY
41a2152b03 Fix tp_name of objects in Python wrapper. 2014-07-10 15:54:01 +02:00
Jehan Monnier
117c833d57 fix crash when proxy config done is call first 2014-07-10 15:42:28 +02:00
Ghislain MARY
ce1911fe5a Allow None for string parameters in the Python wrapper (value passed as NULL to the C code). 2014-07-10 15:04:21 +02:00
Ghislain MARY
e74afa7979 Prevent double native pointer checking + Improve error messages + Do not generate user_data attributes in the Python wrapper. 2014-07-10 15:03:32 +02:00
Ghislain MARY
7675668137 Force return value type of deallocate and setter functions to void in the Python wrapper to prevent useless variables definitions. 2014-07-10 15:01:37 +02:00
Gautier Pelloux-Prayer
f3cfd4e0d5 add JNI getters/setters for quality reporting 2014-07-10 14:49:29 +02:00
Sylvain Berfini
b468714122 Fixed linphonecore_jni method needsEchoCalibration 2014-07-10 14:33:46 +02:00
Ghislain MARY
eb2f1cf3be Call linphone *_destroy() or *_unref() functions when destroying a Python object. 2014-07-10 14:13:58 +02:00
Sylvain Berfini
96674441f8 Updated ms2 2014-07-10 14:12:11 +02:00
Ghislain MARY
9ba38b7719 Merge branch 'master' of git.linphone.org:linphone into dev_python 2014-07-10 12:26:10 +02:00
Ghislain MARY
214521c5a8 Fix typos in previous commit. 2014-07-10 12:22:31 +02:00
Ghislain MARY
1953750ec6 Improve documentation of LinphoneAuthInfo. 2014-07-10 12:19:07 +02:00
Ghislain MARY
7ead063d7f Do not generate Python wrapper for *_destroy(), *_ref() and *_unref() functions. 2014-07-10 12:02:35 +02:00
Ghislain MARY
22e7418bf4 Do not generate Python wrapper for deprecated enums, classes and methods. 2014-07-10 11:48:07 +02:00
Ghislain MARY
7665054235 Remove function from blacklist. 2014-07-10 11:34:54 +02:00
Ghislain MARY
eabe6cabb7 Complete arguments type checking in the genapixml tool. 2014-07-10 11:34:11 +02:00
Ghislain MARY
c228387471 Do not include empty classes to the XML file generated by the genapixml tool. 2014-07-10 11:16:23 +02:00
Ghislain MARY
03a7fe29fd Add attributes for classes in the XML file generated by the genapixml tool to tell whether a class is refcountable and/or destroyable. 2014-07-10 11:11:52 +02:00
Ghislain MARY
867a5a90f6 Always include the deprecated attribute in the XML file generated by the genapixml tool. 2014-07-10 11:02:05 +02:00
Ghislain MARY
6ef708d85f Do not include non-documented functions to the API. 2014-07-10 10:55:54 +02:00
Ghislain MARY
92c8cb6824 Merge branch 'master' of git.linphone.org:linphone into dev_python 2014-07-10 10:34:51 +02:00
Ghislain MARY
19e056b191 Add .gitignore in python directory. 2014-07-09 17:28:50 +02:00
Ghislain MARY
62d58437ea Implement instance methods and add a blacklist of C functions that must not be wrapped. 2014-07-09 17:26:05 +02:00