Update api_coverage script, CODING, TODO

This commit is contained in:
Kai Huuhko 2013-11-06 05:00:49 +02:00
parent 4ca341d0d5
commit 0745a16d7a
3 changed files with 15 additions and 14 deletions

10
CODING
View File

@ -38,19 +38,9 @@ Design patterns
Tips
====
* cython -a will generate a report that shows your cython code, and each line
can be expanded by clicking to show the generated C code. This cannot be done
from the setup script, it has to be called manually on a .pyx file.
* cython does automatic dict <-> struct conversion with basic struct members
Ideas
=====
* Use a decorator for _METHOD_DEPRECATED
Discussion
==========

7
TODO
View File

@ -2,8 +2,6 @@
BUGS
----
* Evas: SmartObject doesn't work (Dave, do we need the metaclasses for this to
work?)
* EdjeEdit: PartState API does not work
* Edje.External: The unit test fails
* Elm.Configuration: example crashes
@ -26,6 +24,8 @@ TODO
with it?
* Check for missing properties <-> getter-/setter-functions
* Add more logging
* Evas: SmartObject needs testing, work. Make it inheritable by extension
classes?
Elementary
==========
@ -40,7 +40,8 @@ Elementary
* ObjectItem.data changed to dict (like in Eo). Find out what this affects
and document it.
* Item add methods (constructors) should be changed to have cb_data in a
single argument, not args, kwargs
single argument, not args, kwargs. The callback signatures need to be
changed as well.
* Get rid of enums in __init__.py
* New documentation images with the new default theme.

View File

@ -118,7 +118,17 @@ def get_pyapis(pxd_path, header_name, prefix):
for lib in libs:
inc_path = pkg_config(lib, "1.7.99")[0][2:]
inc_paths = pkg_config(lib, "1.7.99")
inc_path = None
for p in inc_paths:
if lib in p:
inc_path = p[2:]
break
if inc_path is None:
raise SystemExit
pxd_path, header_name, prefix = params[lib]
capis = get_capis(inc_path, prefix)