Commit graph

216 commits

Author SHA1 Message Date
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
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
581c9b29bc Generate Python wrapper for linphone_core_send_dtmf() and linphone_core_play_dtmf(). 2014-08-12 15:08:35 +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
7a4458c2e2 Set linphone core callbacks as instance methods in the Python example. 2014-08-11 15:34:12 +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
92ee0383c2 Execute the commands and the linphone_core_iterate() in the same thread in the Python example. 2014-08-11 14:38:23 +02:00
Ghislain MARY
4a0ec4a571 Dispatch Windows messages regularly in the Python wrapper. 2014-08-11 14:37:26 +02:00
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