Commit graph

55 commits

Author SHA1 Message Date
Ghislain MARY
eb2f1cf3be Call linphone *_destroy() or *_unref() functions when destroying a Python object. 2014-07-10 14:13:58 +02:00
Ghislain MARY
7ead063d7f Do not generate Python wrapper for *_destroy(), *_ref() and *_unref() functions. 2014-07-10 12:02:35 +02:00
Ghislain MARY
22e7418bf4 Do not generate Python wrapper for deprecated enums, classes and methods. 2014-07-10 11:48:07 +02:00
Ghislain MARY
7665054235 Remove function from blacklist. 2014-07-10 11:34:54 +02:00
Ghislain MARY
eabe6cabb7 Complete arguments type checking in the genapixml tool. 2014-07-10 11:34:11 +02:00
Ghislain MARY
c228387471 Do not include empty classes to the XML file generated by the genapixml tool. 2014-07-10 11:16:23 +02:00
Ghislain MARY
03a7fe29fd Add attributes for classes in the XML file generated by the genapixml tool to tell whether a class is refcountable and/or destroyable. 2014-07-10 11:11:52 +02:00
Ghislain MARY
867a5a90f6 Always include the deprecated attribute in the XML file generated by the genapixml tool. 2014-07-10 11:02:05 +02:00
Ghislain MARY
6ef708d85f Do not include non-documented functions to the API. 2014-07-10 10:55:54 +02:00
Ghislain MARY
19e056b191 Add .gitignore in python directory. 2014-07-09 17:28:50 +02:00
Ghislain MARY
62d58437ea Implement instance methods and add a blacklist of C functions that must not be wrapped. 2014-07-09 17:26:05 +02:00
Ghislain MARY
6c0efc3ebc Strip useless 'Linphone' prefix in class and enum names in the Python wrapper. 2014-07-09 16:15:07 +02:00
Ghislain MARY
a200ccbc76 Check validity of the native pointer in the python wrapper. 2014-07-09 16:02:01 +02:00
Ghislain MARY
1661ea383a Add copyright notice. 2014-07-09 14:29:48 +02:00
Ghislain MARY
793f77e928 Handle setters and getters. 2014-07-09 14:19:41 +02:00
Ghislain MARY
a8565b049b Handle creation of Python object from native object pointer. 2014-07-09 10:23:28 +02:00
Ghislain MARY
9213ca8417 Define class methods correctly. 2014-07-09 10:22:43 +02:00
Ghislain MARY
4e487ade84 Link against liblinphone. 2014-07-09 10:21:16 +02:00
Ghislain MARY
d284dd08d7 Start filling methods body in the python wrapper. 2014-07-08 16:49:27 +02:00
Ghislain MARY
622e0a581b Add logging of called function in the python wrapper. 2014-07-08 16:48:43 +02:00
Ghislain MARY
76c467a163 Begin generation of python module code. 2014-07-07 11:22:06 +02:00
Ghislain MARY
2472742b6f Add tool to generate an XML file describing the Linphone API. 2014-07-02 15:05:26 +02:00
Sylvain Berfini
9ca78dd129 Moved lpc2xml and xml2lpc from tools to coreapi 2014-02-11 16:48:01 +01:00
Ghislain MARY
265650e7b7 Revert "Remove -fpermissive option as clang is used now on Mac OS X platforms."
This reverts commit ae2b1a0f75.
2013-12-04 12:47:45 +01:00
Ghislain MARY
ae2b1a0f75 Remove -fpermissive option as clang is used now on Mac OS X platforms. 2013-12-03 15:44:44 +01:00
Margaux Clerc
5ad51122ba Fix compilation for Macos 32bit 2013-11-18 16:29:42 +01:00
Jehan Monnier
95c3e2b2e8 add -Qunused-arguments option to clang 2013-11-12 10:27:56 +01:00
Sylvain Berfini
107fb22c07 Fix XML2LPC and LPC2XML converters JNI log callbacks 2013-10-16 14:53:32 +02:00
Sylvain Berfini
a216dc8fb0 Fix for skipping commented entries 2013-10-16 12:48:42 +02:00
Sylvain Berfini
5c6c5073dd Fix crash when entry in linphonerc is empty + don't convert commented entries 2013-10-16 12:39:52 +02:00
Ghislain MARY
9a3d935bb3 Generate javascript functions to get the values of enums as strings. 2013-10-09 11:33:52 +02:00
Ghislain MARY
3573ab67d3 Create constructor methods starting with 'new' instead of 'create'. 2013-10-08 14:28:16 +02:00
Ghislain MARY
c9b4bd9e8d Property getters can start by 'is'. 2013-10-07 17:55:25 +02:00
Ghislain MARY
2f17787d93 Recover on xml parsing error. 2013-10-02 17:20:49 +02:00
Simon Morlat
a0d580ceb9 fix macos build issue
remove useless code
2013-10-02 14:58:19 +02:00
Simon Morlat
77d6169624 improve documentation, rationalize some callbacks name.
lp-gen-wrapper functional.
2013-10-01 22:00:39 +02:00
Simon Morlat
f8bc426a19 * improved documentation
* update ms2
* javascript generator in progress
2013-09-27 08:49:30 +02:00
Simon Morlat
005140d321 improve notification of generic subscribe errors 2013-09-24 22:21:38 +02:00
Simon Morlat
c6a96174d0 split genwrappers into several smaller pieces 2013-09-23 17:14:25 +02:00
Simon Morlat
e8a786380d genwrappers works quite well 2013-09-20 16:04:35 +02:00
Simon Morlat
e990ea0cef wrapper generator in progress 2013-09-20 10:13:17 +02:00
Simon Morlat
fed415507f enhance event API to be notified of publish states.
lp-gen-wrappers is in progress
2013-09-17 14:03:52 +02:00
Guillaume Beraudo
807129e269 Fix defCallMethod warning 2013-09-04 11:24:48 +02:00
Jehan Monnier
bffae8bdf4 transfer full control of registration to refresher 2013-04-11 09:18:23 +02:00
Yann Diorcet
2023347961 Improve tools 2013-02-06 10:22:01 +01:00
Yann Diorcet
ab1c855d65 tools: comment unused function in lpc2xml 2013-02-06 09:57:43 +01:00
Yann Diorcet
bf0953eb1d Add check in lpc2xml
Add jni for lpc2xml and xml2lpc
Add some jni for LPConfigImpl
2013-02-05 10:02:32 +01:00
Yann Diorcet
3016ec37d0 Fix lpc2xml for old libxml version 2013-01-17 11:01:28 +01:00
Yann Diorcet
d9e81266d5 Remove useless prefix(use default) 2013-01-16 14:42:12 +01:00
Yann Diorcet
66b6427d96 Add lpc2xml tool and fix xml2lpc validation 2013-01-16 14:36:31 +01:00