Commit graph

98 commits

Author SHA1 Message Date
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
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
0cc60a9d31 Remove useless variable definitions in the Python wrapper. 2014-08-13 15:07:53 +02:00
Ghislain MARY
d5332aa80a Document arguments type in the Python wrapper. 2014-08-13 14:11:27 +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
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
032d83c830 Add Python wrapper for linphone_chat_room_send_message2(). 2014-08-12 17:00:17 +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
0cc70b04ab Fix *_ref(), *_unref(), *_destroy() appearing in the Python wrapper. 2014-08-12 10:53:08 +02:00
Ghislain MARY
f0e0f1a9d5 Document enums in the Python wrapper. 2014-08-12 09:36:54 +02:00
Ghislain MARY
989505d3ee Rework argument type handling in the Python wrapper generator. 2014-08-11 17:13:37 +02:00
Ghislain MARY
6e2861e544 linphone_core_iterate() Python wrapper no longer needs to be handwritten. 2014-08-11 15:38:39 +02:00
Ghislain MARY
860b23448c Allow any callable as linphone core callbacks and log handler in the Python wrapper. 2014-08-11 15:33:29 +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
9c3f4771a9 Serialize logs in the Python wrapper. 2014-08-08 16:23:24 +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
b79cc5738d Add missing reference decrement in the Python wrapper. 2014-08-04 16:25:13 +02:00