summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-12-17Release 0.0.2HEADmasterYakov Goldberg
'eoparser' package, with tools 'eorepo' is provided with base classes
2012-12-17JS gen: fixes to avoid name clash with 'val'-named varYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-12-17DEV_README upYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-12-17DEV_README upYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.goldberg@gmail.com>
2012-12-16README upYakov Goldberg
2012-12-16Some stuff in command line args for scriptsYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-12-16Tests updatedYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.goldberg@gmail.com>
2012-12-16README updated. All put in one README fileYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.goldberg@gmail.com>
2012-12-13Fix: setup.pyYakov Goldberg
- fixing setup.py, to work properly in case of Cython - README: "compiling and install" section added - eobase/eodefaut updated Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-12-13Major fixesYakov Goldberg
Fix: parsing filenames in helper XML gen: option -X(--xmldir) used to include xml dir Signal, evas, evas_elm examples updated Py gen; added prefixes to proper folders layout and setup.py script - Updated examples to search for everything in eorepo - const.PREFIX="eorepo" added this const must provide package path. And also used to generate files Creates two packages: eoparser - with cpyrser, xmlparser modules eorepo - with eodefault, eobase modules. examples are witten in /usr/local/share/eoparser/examples This needed to be changed in other way eorepo/ __init__.py (empty) base/ eodefault.so eobase.so __init__.py (from base.eobase import smth) (from base.eodefault import smth) elementary/ c_elm.so __init__.so (from elementary.c_elm import Win) (from elementary.c_elm import Button) That will provide the following: example.py import elementary (and the following can be used elementary.Win()) from elementary import * (and the following can be used Win()) Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-12-11Command line options added for Py generatorYakov Goldberg
-I to include search path for headers -L to include search path for libraries -l to include libs Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-12-11Command line options added to JS generatorYakov Goldberg
-I to include search path for headers -L to include search path for libraries -l to include libs -D to define macros Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-12-10makefile generation added fo JS moduleYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-12-10JS Generation: some fixes in file savingYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-12-10TypoDaniel Zaoui
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
2012-12-09DEV_README updatedYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-12-09Removed elementary from default pkg-config parameterYakov Goldberg
Python README updated Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-12-07Dev readme updatedYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.goldberg@gmail.com>
2012-12-06DEV README updatedYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-12-06Adding elm_init additional funcsYakov Goldberg
Sometimes some additional functions like elm_init(), elm_run() are needes. These functions are not introspectable. So they must be added manually. To do this user must provide definitions in *.pxd *.pxi files. And include *.pxi into generated 'module_name.pyx' file. Changes: 'elm_init()', 'elm_run()' removed from eodefault. 'elm_add.pxi', 'elm_add.pxd' added to eo_py folder Examples updated Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-12-05Developer's README addedYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-12-05C++ object must be casted to base class, before casting to void*Yakov Goldberg
Added: JS example with changed names Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-12-04Added data to python callbackYakov Goldberg
Now: to add callback to python object, callback object needed to be created, which is tuple (func, data) cb_obj = (func, data) Now callback can be added to object or deleted: button.event_callback_priority_add(CLICKED, 0, cb_obj) button.event_callback_del(CLICKED, cb_obj) Case like this: button.event_callback_priority_add(CLICKED, 0, (func, data)) will also work out, because reference to object is incremented. But there will be imposiible to delete such callback. Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-12-04Elm JS example addedYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-12-03Typecheck on 'None' for input param(string or Eo*) in PyYakov Goldberg
- 'None' will be changed to 'NULL' - example updated Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-12-03SET_GET, GET_ONLY, SET_ONLY properties (JS)Yakov Goldberg
- If 'set' or 'get' function is found, parameters are checked on direction 'in' for 'set' prop and on 'out' for 'get' prop. If it's wrong, this function will be generated as a method. - JS 'null' can be passed to func instead of string. So internal char* will be assigbed NULL - 'free' added for each 'strdup' string - if func can not be generated because of type casting; it will be generated with printf - Minor fixes, example updated Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-12-02Names of generated funcs changed to the same as C macro. Example updatedYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-12-02XMLparser::JSvisitor: func_name_prefix = '__' added into names of funcs for C++Yakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-11-29examples updateYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-11-29typo in xmlparserYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-11-26Removed modifier from type definitions. Added cast to params passingYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-11-26typedefs addedYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-11-26Added xml_parsing_version tag;Yakov Goldberg
- to keep track compatability between xml generating and xml parsing Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-11-25Added parsing modifier "const"Yakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-11-22xmlparser type casting fixesYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-11-21Fixing warning messagesYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-11-21Examples updateYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-11-21Tyfedef fixesYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-11-20JS examples addedYakov Goldberg
2012-11-20Py Examples updatedYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-11-20README updatedYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.goldberg@gmail.com>
2012-11-19Typedef types addedYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-11-19PyGen: don't copy eodafault.pyx to places it's not neededYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-11-19Added _insatnce_set3() func; No it's possible to call eo_add_custom from ↵Yakov Goldberg
__init__, and pass created object to func to set connection between C and Py objects Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-11-18py generation changed to create one pxd for all classesYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-11-18Examples updatedYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-11-18get_param_dir_from_comment() func added to cparcer and testsYakov Goldberg
- types added to typedef Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-11-18Graph gen minor fixYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-11-15example updateYakov Goldberg
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2012-11-15Major additions to parser and defaultYakov Goldberg
- _instance_add3 function added to support custom constr (eodefault.pyx) - eo_custom_add defined (eodefault.pxd) - def unref(): defined (eodefault.pyx) - _data_set() added to EoBase because of name clash - _data_set moved to _instance_add; need to remove it from init of each class