Commit graph

122 commits

Author SHA1 Message Date
Sylvain Berfini
67c22d57ee Changes to be able to call lp_config_get_sections_names from python wrapper 2015-10-21 15:10:02 +02:00
Ghislain MARY
cb7fb1044e Fix build of Python module. 2015-07-24 15:03:12 +02:00
Ghislain MARY
b6fac76880 Fix Python module build. 2015-03-23 09:34:11 +01:00
Ghislain MARY
28e94ad99e Call initialization function of WASAPI mediastreamer plugin in Python module if needed. 2015-03-16 17:41:08 +01:00
Ghislain MARY
75bfeeba88 Handle handwritten dealloc methods in Python module. 2015-01-05 09:48:53 +01:00
Ghislain MARY
36d535354f Add initialization of mediastreamer plugins in the Python module. 2015-01-02 17:43:32 +01:00
Ghislain MARY
afe5abba86 Add some Python setup tests. 2014-12-19 15:56:30 +01:00
Ghislain MARY
88c902d12d Fix memory leak of returned strings in Python module. 2014-12-18 16:07:07 +01:00
Ghislain MARY
39c2d93bdd Fix format string for size_t type in Python module. 2014-12-16 17:24:24 +01:00
Ghislain MARY
a466a05a44 More permissive type checking in the Python module.
- int values are accepted where a long is expected.
- int or long values are accepted where a float is expected.
2014-12-16 15:45:15 +01:00
Ghislain MARY
3241b33633 Replace NULL by None in the Python module documentation. 2014-12-15 16:41:00 +01:00
Ghislain MARY
9e1b6e6956 Handle links between methods in the Python module documentation. 2014-12-15 16:37:46 +01:00
Ghislain MARY
42ddf0cf81 Improve Python module documentation. 2014-12-15 15:55:17 +01:00
Ghislain MARY
340d927c3c File transfer with binary content working in Python. 2014-12-11 15:59:29 +01:00
Ghislain MARY
78a06d3e54 Fix return value in callbacks of Python module. 2014-12-11 11:46:08 +01:00
Ghislain MARY
89565386ac Working file transfer in Python.
- Add the LinphoneBuffer object so that file transfer callbacks do not pass out parameters
- Use the LinphoneBuffer object in the file transfer callbacks
- Implement the file_transfer_send callback in the Python file transfer test
2014-12-10 16:35:19 +01:00
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
0e924f4b4e Handle testing accounts creation in Python. 2014-12-08 15:55:57 +01:00
Ghislain MARY
180de834ee Revert "Handle accounts manager to the Python module unit tests."
This reverts commit b61302f9b1.
2014-12-08 14:31:17 +01:00
Ghislain MARY
b61302f9b1 Handle accounts manager to the Python module unit tests. 2014-12-08 11:30:58 +01:00
Ghislain MARY
9066a82f3c Handle callbacks getters in Python module. 2014-12-05 16:40:26 +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
aff27f6554 Rework Python wrapper handwritten code handling. 2014-11-21 11:44:00 +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
baddfc066b Always increment python object references before calling event callback. 2014-09-08 17:27:43 +02:00
Ghislain MARY
0b5d65d104 Remove PyObject_Init() call that should not be here. 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
53c6673032 Fix reference count problem when returning an already existing Python object from the native object user data. 2014-08-29 17:34:41 +02:00
Ghislain MARY
a03227d3e2 Fix reference count issue in the set_log_handler() method of the Python module + Allow setting its value to None. 2014-08-29 15:22:24 +02:00
Ghislain MARY
ba77efa244 Fix return of boolean values in the Python wrapper. 2014-08-29 11:43:42 +02:00
Ghislain MARY
d2acdcdc1b Prevent crash in the Python wrapper when destroying the cores. 2014-08-28 17:04:19 +02:00
Ghislain MARY
5d6f9c0bb5 Increment Python object reference count in event handler when the object already exists. 2014-08-28 16:26:21 +02:00
Ghislain MARY
5719dd8e92 Revert "Remove wrong decrementation of refcount in the event callbacks of the Python wrapper."
This reverts commit aa05370dce.
2014-08-28 16:26:21 +02:00
Ghislain MARY
515369ca83 Taking a reference on the native object directly when creating the Python object. 2014-08-28 14:15:04 +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
aa05370dce Remove wrong decrementation of refcount in the event callbacks of the Python wrapper. 2014-08-27 16:48:43 +02:00
Ghislain MARY
4c6dcb5799 Fix type issue with bool_t in the Python wrapper, leading to memory overwrite. 2014-08-27 11:34:35 +02:00
Ghislain MARY
6018686807 Fix compilation warning. 2014-08-25 16:59:20 +02:00
Ghislain MARY
614df3fd3f Fix some refcount and userdata issues in the Python wrapper. 2014-08-25 13:40:57 +02:00
Ghislain MARY
eca15bf8c0 Use sphinx to generate the documentation of the Python wrapper. 2014-08-20 16:45:45 +02:00
Ghislain MARY
af6678a973 Hand-written implementation of linphone_core_get_sound_devices() in the Python wrapper. 2014-08-20 14:53:57 +02:00
Ghislain MARY
137688ce30 Prevent reference leak in Py_BuildValue in the Python wrapper. 2014-08-19 17:26:11 +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
719b507b9f Partial implementation of time_t in the Python wrapper. 2014-08-14 17:48:43 +02:00
Ghislain MARY
90c0306f66 Fix compilation warnings. 2014-08-14 16:33:53 +02:00
Ghislain MARY
448ff25b54 Handle MSList type in the Python wrapper. 2014-08-14 16:33:14 +02:00