Commit graph

68 commits

Author SHA1 Message Date
Ghislain MARY
d6945537fb Document the reasons why some function are blacklisted in the Python wrapper. 2014-08-10 22:40:15 +02:00
Ghislain MARY
102cab7620 Hand-written version of linphone_core_iterate() in the Python wrapper.
It adds a loop to peek Windows messages to prevent a deadlock in the
MoveWindow function.
2014-08-08 16:24:13 +02:00
Ghislain MARY
9c3f4771a9 Serialize logs in the Python wrapper. 2014-08-08 16:23:24 +02:00
Ghislain MARY
ddf89c8241 The linphone Python module is put in a linphone package. 2014-08-07 14:09:01 +02:00
Ghislain MARY
a75b2d306a Add trick to ensure line endings are correct on Windows in the apixml2python.py script. 2014-08-06 17:39:07 +02:00
Ghislain MARY
fe76b2f4c0 Add an option to define the output file when generating the Python wrapper code. 2014-08-06 14:50:27 +02:00
Ghislain MARY
44fa58fe8c Restore commented code. 2014-08-05 17:49:02 +02:00
Ghislain MARY
94df8abd09 Add some commands to handle call in the Python example program. 2014-08-05 17:35:45 +02:00
Ghislain MARY
89dd6fbaa1 Add Python wrapper for linphone_core_new_with_config(). 2014-08-05 16:35:27 +02:00
Ghislain MARY
0aca2d72fc Check for NULL pointer before calling *_ref() function in Python wrapper. 2014-08-04 17:52:30 +02:00
Ghislain MARY
6a191c2fb5 Add call_state_changed callback in the Python application. 2014-08-04 17:52:04 +02:00
Ghislain MARY
b79cc5738d Add missing reference decrement in the Python wrapper. 2014-08-04 16:25:13 +02:00
Ghislain MARY
123e4ccdfe Define methods to get string representation of enum values in the Python wrapper. 2014-08-04 16:24:32 +02:00
Ghislain MARY
c420236597 Handle command examples + add register-status command. 2014-08-04 14:57:45 +02:00
Ghislain MARY
e5db6dabd5 Begin handling of commands in Python command-line interface to Linphone. 2014-08-04 14:06:17 +02:00
Ghislain MARY
11dab7cfb4 Allow None is string parameter in the Python wrapper. 2014-08-04 12:56:51 +02:00
Ghislain MARY
6d53248011 Fix some Python reference count + Handle thread concurrency in Python code called from C. 2014-08-01 17:46:05 +02:00
Ghislain MARY
ee446299b8 Real Python program to test the Python wrapper. 2014-08-01 17:21:13 +02:00
Ghislain MARY
2fe6c114b6 Generation of linphone core events callbacks in the Python wrapper. 2014-08-01 15:57:25 +02:00
Ghislain MARY
c15b02f271 Add Python refcount increment in dealloc method to prevent reentrancy. 2014-07-31 14:53:09 +02:00
Ghislain MARY
3519575570 Manual handling of global_state_changed callback in the Python wrapper. 2014-07-31 14:44:23 +02:00
Ghislain MARY
67c8c4df73 Add test program in python. 2014-07-29 18:12:31 +02:00
Ghislain MARY
1a2990a8b6 Beginning of the implementation of linphone_core_new() wrapper + Allow setting log handler from python. 2014-07-29 18:11:14 +02:00
Ghislain MARY
a4c2f0ef36 Blacklist some classes in the Python wrapper. 2014-07-18 15:53:43 +02:00
Ghislain MARY
941d57811b Blacklist some functions in the Python wrapper. 2014-07-17 18:24:53 +02:00
Ghislain MARY
ae5158f8c0 Prefix local variables in the Python wrapper to prevent name clashes. 2014-07-17 18:23:45 +02:00
Ghislain MARY
2bc530054a Include linphonecore_utils.h in the Python wrapper. 2014-07-17 18:03:42 +02:00
Ghislain MARY
317a69f967 Add exception handling in the Python wrapper generator to know which method of which class is pausing problem. 2014-07-17 18:03:11 +02:00
Ghislain MARY
5546137ed5 Refactor Python wrapper generator of method bodies for better maintainability. 2014-07-17 16:36:40 +02:00
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
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
4abe3b3cc8 Correctly handle passing of enum arguments to methods in the Python wrapper. 2014-07-11 11:31:33 +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
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