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
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
395448491a
Add LCSipTransports wrapper in the Python module.
2014-12-09 11:21:12 +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
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
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
ba77efa244
Fix return of boolean values in the Python wrapper.
2014-08-29 11:43:42 +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
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
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
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
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
f4423b93bd
Add documentation for the properties in the Python wrapper.
2014-08-12 17:37:55 +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
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
0aca2d72fc
Check for NULL pointer before calling *_ref() function in Python wrapper.
2014-08-04 17:52:30 +02:00
Ghislain MARY
11dab7cfb4
Allow None is string parameter in the Python wrapper.
2014-08-04 12:56:51 +02:00
Ghislain MARY
6d53248011
Fix some Python reference count + Handle thread concurrency in Python code called from C.
2014-08-01 17:46:05 +02:00
Ghislain MARY
2fe6c114b6
Generation of linphone core events callbacks in the Python wrapper.
2014-08-01 15:57:25 +02:00
Ghislain MARY
c15b02f271
Add Python refcount increment in dealloc method to prevent reentrancy.
2014-07-31 14:53:09 +02:00