diff --git a/CODING b/CODING index a5be7cd..d41c37a 100644 --- a/CODING +++ b/CODING @@ -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 ========== diff --git a/TODO b/TODO index 263c103..6844dc1 100644 --- a/TODO +++ b/TODO @@ -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. diff --git a/api_coverage.py b/api_coverage.py index c975fb8..2c3f21b 100755 --- a/api_coverage.py +++ b/api_coverage.py @@ -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)