Commit graph

46 commits

Author SHA1 Message Date
Ghislain MARY
141af7de15 Fix threading issues in the Python module.
Reinitialize log serialization only when all the linphone cores have been destroyed.
2014-12-09 17:33:41 +01:00
Ghislain MARY
56eb5c3e7b Fix the use of SipTransports in the Python module. 2014-12-09 13:35:48 +01:00
Ghislain MARY
395448491a Add LCSipTransports wrapper in the Python module. 2014-12-09 11:21:12 +01:00
Ghislain MARY
a6cfecf3e4 Handle events in classes other than LinphoneCore.
Callbacks getters still need to be implemented correctly.
2014-12-05 16:14:04 +01:00
Ghislain MARY
581da48a50 Add testing module in Python. 2014-09-10 11:40:23 +02:00
Ghislain MARY
46c932e690 Fix crashes caused by Py_BuildValue() when calling Python method from C. 2014-09-08 17:27:43 +02:00
Ghislain MARY
d23934feab Improve Python reference counting. 2014-09-08 17:27:43 +02:00
Ghislain MARY
fc11da8069 Fix some refcounting issues in the Python wrapper. 2014-09-08 17:27:43 +02:00
Ghislain MARY
13ca8e0e4c Add a user_data properties to the objects of the Python wrapper. 2014-08-28 09:41:30 +02:00
Ghislain MARY
4a335ba6e1 Complete handling of time_t type in the Python wrapper. 2014-08-18 15:39:48 +02:00
Ghislain MARY
448ff25b54 Handle MSList type in the Python wrapper. 2014-08-14 16:33:14 +02:00
Ghislain MARY
ebad6bca11 Handwritten implementation of linphone_core_get_video_devices() in the Python wrapper. 2014-08-13 18:11:08 +02:00
Ghislain MARY
8e7a9cbd74 Add definitions of the types of PayloadType in the Python wrapper. 2014-08-13 16:32:22 +02:00
Ghislain MARY
f4423b93bd Add documentation for the properties in the Python wrapper. 2014-08-12 17:37:55 +02:00
Ghislain MARY
5ada6d7444 Don't call instance_methods an array that list all the methods including the class ones. 2014-08-12 17:22:44 +02:00
Ghislain MARY
b0badc3759 Add __version__ attribute to the linphone Python module. 2014-08-12 17:19:47 +02:00
Ghislain MARY
1208a71955 Implement VideoSize class in the Python wrapper. 2014-08-12 15:05:10 +02:00
Ghislain MARY
51c72605fb Add methods documentation in the Python wrapper. 2014-08-12 11:05:51 +02:00
Ghislain MARY
f0e0f1a9d5 Document enums in the Python wrapper. 2014-08-12 09:36:54 +02:00
Ghislain MARY
4a0ec4a571 Dispatch Windows messages regularly in the Python wrapper. 2014-08-11 14:37:26 +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
123e4ccdfe Define methods to get string representation of enum values in the Python wrapper. 2014-08-04 16:24:32 +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
3519575570 Manual handling of global_state_changed callback in the Python wrapper. 2014-07-31 14:44:23 +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
2bc530054a Include linphonecore_utils.h in the Python wrapper. 2014-07-17 18:03:42 +02:00
Ghislain MARY
7b47e83310 Include linphone_tunnel.h in the Python wrapper. 2014-07-16 18:09:32 +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
b36e61414a Fix const warnings during Python wrapper compilation. 2014-07-15 14:15:11 +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
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
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
eb2f1cf3be Call linphone *_destroy() or *_unref() functions when destroying a Python object. 2014-07-10 14:13:58 +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
Ghislain MARY
6c0efc3ebc Strip useless 'Linphone' prefix in class and enum names in the Python wrapper. 2014-07-09 16:15:07 +02:00
Ghislain MARY
1661ea383a Add copyright notice. 2014-07-09 14:29:48 +02:00
Ghislain MARY
793f77e928 Handle setters and getters. 2014-07-09 14:19:41 +02:00
Ghislain MARY
a8565b049b Handle creation of Python object from native object pointer. 2014-07-09 10:23:28 +02:00
Ghislain MARY
9213ca8417 Define class methods correctly. 2014-07-09 10:22:43 +02:00
Ghislain MARY
d284dd08d7 Start filling methods body in the python wrapper. 2014-07-08 16:49:27 +02:00
Ghislain MARY
622e0a581b Add logging of called function in the python wrapper. 2014-07-08 16:48:43 +02:00
Ghislain MARY
76c467a163 Begin generation of python module code. 2014-07-07 11:22:06 +02:00