aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Release 0.0.2HEADmasterYakov Goldberg2012-12-1748-940/+12954
|\ | | | | | | | | 'eoparser' package, with tools 'eorepo' is provided with base classes
| * JS gen: fixes to avoid name clash with 'val'-named varYakov Goldberg2012-12-172-17/+18
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * DEV_README upYakov Goldberg2012-12-171-36/+53
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * DEV_README upYakov Goldberg2012-12-171-0/+82
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.goldberg@gmail.com>
| * README upYakov Goldberg2012-12-161-37/+55
| |
| * Some stuff in command line args for scriptsYakov Goldberg2012-12-168-126/+57
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * Tests updatedYakov Goldberg2012-12-161-3/+8
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.goldberg@gmail.com>
| * README updated. All put in one README fileYakov Goldberg2012-12-163-156/+186
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.goldberg@gmail.com>
| * Fix: setup.pyYakov Goldberg2012-12-134-4/+37
| | | | | | | | | | | | | | | | - 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>
| * Major fixesYakov Goldberg2012-12-1319-110/+10122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * Command line options added for Py generatorYakov Goldberg2012-12-112-7/+41
| | | | | | | | | | | | | | | | -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>
| * Command line options added to JS generatorYakov Goldberg2012-12-112-18/+54
| | | | | | | | | | | | | | | | | | -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>
| * makefile generation added fo JS moduleYakov Goldberg2012-12-102-0/+109
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * JS Generation: some fixes in file savingYakov Goldberg2012-12-102-7/+11
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * TypoDaniel Zaoui2012-12-101-65/+65
| | | | | | | | Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
| * DEV_README updatedYakov Goldberg2012-12-091-108/+113
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * Removed elementary from default pkg-config parameterYakov Goldberg2012-12-092-8/+20
| | | | | | | | | | | | Python README updated Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * Dev readme updatedYakov Goldberg2012-12-071-9/+51
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.goldberg@gmail.com>
| * DEV README updatedYakov Goldberg2012-12-061-0/+89
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * Adding elm_init additional funcsYakov Goldberg2012-12-065-24/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * Developer's README addedYakov Goldberg2012-12-051-0/+60
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * C++ object must be casted to base class, before casting to void*Yakov Goldberg2012-12-052-3/+164
| | | | | | | | | | | | Added: JS example with changed names Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * Added data to python callbackYakov Goldberg2012-12-043-3/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * Elm JS example addedYakov Goldberg2012-12-041-0/+200
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * Typecheck on 'None' for input param(string or Eo*) in PyYakov Goldberg2012-12-032-7/+12
| | | | | | | | | | | | | | - 'None' will be changed to 'NULL' - example updated Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * SET_GET, GET_ONLY, SET_ONLY properties (JS)Yakov Goldberg2012-12-033-47/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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>
| * Names of generated funcs changed to the same as C macro. Example updatedYakov Goldberg2012-12-022-22/+32
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * XMLparser::JSvisitor: func_name_prefix = '__' added into names of funcs for C++Yakov Goldberg2012-12-023-29/+34
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * examples updateYakov Goldberg2012-11-291-1/+1
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * typo in xmlparserYakov Goldberg2012-11-291-1/+1
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * Removed modifier from type definitions. Added cast to params passingYakov Goldberg2012-11-261-11/+43
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * typedefs addedYakov Goldberg2012-11-263-4/+105
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * Added xml_parsing_version tag;Yakov Goldberg2012-11-263-0/+14
| | | | | | | | | | | | - to keep track compatability between xml generating and xml parsing Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * Added parsing modifier "const"Yakov Goldberg2012-11-253-17/+19
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * xmlparser type casting fixesYakov Goldberg2012-11-221-30/+61
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * Fixing warning messagesYakov Goldberg2012-11-211-6/+6
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * Examples updateYakov Goldberg2012-11-211-1/+1
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * Tyfedef fixesYakov Goldberg2012-11-212-0/+4
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * JS examples addedYakov Goldberg2012-11-205-0/+502
| |
| * Py Examples updatedYakov Goldberg2012-11-202-4/+14
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * README updatedYakov Goldberg2012-11-201-2/+22
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.goldberg@gmail.com>
| * Typedef types addedYakov Goldberg2012-11-192-12/+34
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * PyGen: don't copy eodafault.pyx to places it's not neededYakov Goldberg2012-11-191-1/+3
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * Added _insatnce_set3() func; No it's possible to call eo_add_custom from ↵Yakov Goldberg2012-11-192-15/+13
| | | | | | | | | | | | __init__, and pass created object to func to set connection between C and Py objects Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * py generation changed to create one pxd for all classesYakov Goldberg2012-11-181-52/+70
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * Examples updatedYakov Goldberg2012-11-181-7/+11
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * get_param_dir_from_comment() func added to cparcer and testsYakov Goldberg2012-11-182-7/+37
| | | | | | | | | | | | - types added to typedef Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * Graph gen minor fixYakov Goldberg2012-11-181-3/+1
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * example updateYakov Goldberg2012-11-151-3/+33
| | | | | | | | Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
| * Major additions to parser and defaultYakov Goldberg2012-11-153-1/+25
| | | | | | | | | | | | | | | | | | - _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