Commit graph

106 commits

Author SHA1 Message Date
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
Ghislain MARY
9c3f4771a9 Serialize logs in the Python wrapper. 2014-08-08 16:23:24 +02:00
Ghislain MARY
ddf89c8241 The linphone Python module is put in a linphone package. 2014-08-07 14:09:01 +02:00
Ghislain MARY
a75b2d306a Add trick to ensure line endings are correct on Windows in the apixml2python.py script. 2014-08-06 17:39:07 +02:00
Ghislain MARY
fe76b2f4c0 Add an option to define the output file when generating the Python wrapper code. 2014-08-06 14:50:27 +02:00
Ghislain MARY
44fa58fe8c Restore commented code. 2014-08-05 17:49:02 +02:00
Ghislain MARY
94df8abd09 Add some commands to handle call in the Python example program. 2014-08-05 17:35:45 +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
6a191c2fb5 Add call_state_changed callback in the Python application. 2014-08-04 17:52:04 +02:00
Ghislain MARY
b79cc5738d Add missing reference decrement in the Python wrapper. 2014-08-04 16:25:13 +02:00