Commit graph

183 commits

Author SHA1 Message Date
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
f4ec25eb91 Allow logger to be None in Python unit tests. 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
32c1c8b57d Add some message sending unit tests in Python. 2014-09-01 17:54:57 +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
b4978948f9 Add some call unit tests in Python. 2014-08-29 16:39:23 +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
883b240b01 Fix Python register unit tests. 2014-08-28 17:13:07 +02:00
Ghislain MARY
0e77ac4883 Add a second call unit test in Python. 2014-08-28 17:05:27 +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
3bba8ea3d2 Normalize default proxy getter signature so that it can be automatically wrapped. 2014-08-28 16:26:21 +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
97b43deef2 Use the new to_address and from_address attributes in the Python wrapper. 2014-08-28 15:13:28 +02:00
Ghislain MARY
9f155f9cb5 Add first call unit tests in Python. 2014-08-28 14:16:42 +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
bb673bb9f4 Improve logging in the Python module unit tests. 2014-08-28 10:44:12 +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
5e23b563f7 Start adding registration unit tests for the Python wrapper. 2014-08-27 16:57:17 +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
b05b3db1e6 Add first Python module unit tests. 2014-08-27 12:38:26 +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
7a79aa17bc Remove useless file. 2014-08-20 14:47:02 +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
54c3f6efa9 Import linphone Python module with "import linphone". 2014-08-18 16:12:05 +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
02bbe939b1 Generate the Python wrapper for the functions handling MSList objects. 2014-08-14 16:33:35 +02:00
Ghislain MARY
448ff25b54 Handle MSList type in the Python wrapper. 2014-08-14 16:33:14 +02:00
Ghislain MARY
067c8a9527 For functions returning or taking an MSList as an argument, specify what the MSList contains in the documentation. 2014-08-14 14:44:59 +02:00
Ghislain MARY
e5d15ca06a Improve argument checking in the Python wrapper. 2014-08-14 12:51:11 +02:00
Ghislain MARY
82e1a90ba6 Improve int types checking in the Python wrapper. 2014-08-14 11:21:33 +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
31ab25d815 Handle PayloadType objects in the Python wrapper. 2014-08-13 16:10:48 +02:00
Ghislain MARY
0cc60a9d31 Remove useless variable definitions in the Python wrapper. 2014-08-13 15:07:53 +02:00
Ghislain MARY
efacfee3a3 Standardize user_data/user_pointer naming. 2014-08-13 14:28:48 +02:00
Ghislain MARY
d5332aa80a Document arguments type in the Python wrapper. 2014-08-13 14:11:27 +02:00
Ghislain MARY
551fa6bc93 Blacklist linphone_core_get_audio_port_range() and linphone_core_get_video_port_range() functions in the Python wrapper. 2014-08-13 14:10:09 +02:00
Ghislain MARY
d9f02dd632 Do not rely on the ChatRoom object to set the send message callback in the Python wrapper. 2014-08-13 13:38:39 +02:00
Ghislain MARY
ab30b93098 Blacklist linphone_core_get_video_devices() in the Python wrapper. 2014-08-13 13:38:20 +02:00