Commit Graph

702 Commits

Author SHA1 Message Date
Kai Huuhko 8bd6c3e778 Eolian: function name part deduplication 2014-06-23 18:25:04 +03:00
Kai Huuhko 8e9827e8f2 Eolian: log function gen exceptions with level DEBUG 2014-06-23 18:14:54 +03:00
Kai Huuhko c1be409a9c Eolian: If no eo prefix, fall back to legacy, or namespace + class name 2014-06-23 17:33:26 +03:00
Kai Huuhko 3a0ef786dc Eolian: statistics 2014-06-23 12:38:20 +03:00
Kai Huuhko e62205769f Eolian: Initial code for generating enums 2014-06-22 20:29:36 +03:00
Kai Huuhko 0fa41e652d Eolian: don't use the actual eolian obj when generating 2014-06-22 13:27:26 +03:00
Kai Huuhko 9687624f47 Eolian: Use string replace instead of regex if possible 2014-06-22 13:21:07 +03:00
Kai Huuhko 7ba7bef479 Eolian: Raise an exception if property return type is unknown 2014-06-20 12:03:43 +03:00
Kai Huuhko 0ee569672b Eolian: Raise an exception if param/return type is unknown 2014-06-19 18:53:16 +03:00
Kai Huuhko a9e0bb6f4d Eolian: Add command line argument for increasing verbosity 2014-06-19 18:51:14 +03:00
Kai Huuhko 5416e1dadc Eolian: Always return a Type iterator
When it's NULL the iterator object is still expected, no actual
iteration passes will be run.
2014-06-19 17:08:11 +03:00
Kai Huuhko 0a3671579a Eolian: Use original type in param replacement conversion 2014-06-19 13:00:00 +03:00
Kai Huuhko dfb0a7f078 Eolian: Skip function generating if there are errors in parsing 2014-06-19 12:36:14 +03:00
Kai Huuhko bb9a64aa71 Eolian: Assert number of property setter params > 0, skip class if error 2014-06-19 12:14:52 +03:00
Kai Huuhko 06088c23e0 Eolian: Handle property setter params 2014-06-19 12:12:08 +03:00
Kai Huuhko 5795f762dc Eolian: Add imports and __init__ method to generated py classes 2014-06-19 09:51:27 +03:00
Kai Huuhko 137e6b7e21 Eolian: Handle multiple inheritance, accept several paths as args
The generator now needs inherited classes for parsing, so in args give
eo for evas etc., or full efl for elm, and so on.
2014-06-18 10:11:10 +03:00
Kai Huuhko 8b59680eec Eolian: Handle None in strings 2014-06-18 10:10:09 +03:00
Kai Huuhko bcac382354 Eolian: Add docs for enum members as Cython can't produce them 2014-06-18 10:04:09 +03:00
Kai Huuhko 99f9220fea Eolian: Fix copy&paste error and lower log level of spammy func 2014-06-18 10:02:23 +03:00
Kai Huuhko 11bc1b64a5 Eolian: Have constructors use infra like current bindings 2014-06-17 14:56:53 +03:00
Kai Huuhko 9734b81fd1 Eolian: Add more param conversion 2014-06-17 13:52:05 +03:00
Kai Huuhko 5bd82c2883 Eolian: Add text replacements for docstrings 2014-06-17 12:49:30 +03:00
Kai Huuhko 7e4838fe5b Eolian: Add function comments to docstrings 2014-06-17 11:19:55 +03:00
Kai Huuhko 19ecd9af2e Eolian: Fix constructor generation 2014-06-17 10:41:53 +03:00
Kai Huuhko 3ef8626ba4 Eolian: Add first version of the generator script
Doesn't really produce anything working yet
2014-06-17 08:06:25 +03:00
Kai Huuhko abefe9eb89 Eolian: Fix/add more docs 2014-06-17 07:49:33 +03:00
Kai Huuhko e5c82e08d6 Eolian: Improve error handling, add logging 2014-06-17 07:49:33 +03:00
Kai Huuhko 3d196ef231 Eolian: Make Type its own iterator 2014-06-17 07:49:01 +03:00
Kai Huuhko 10c60e812b Eolian: Shorten enum members 2014-06-12 23:46:36 +03:00
Kai Huuhko 1ac4c41179 Eolian: Improve class repr methods 2014-06-11 15:50:15 +03:00
Kai Huuhko 0baba91e0a Eolian: Change documentation to reflect the change to enum types 2014-06-11 01:16:20 +03:00
Kai Huuhko a4fa686a27 Eolian: Use IntEnum for enumerations 2014-06-11 00:28:08 +03:00
Kai Huuhko db8f8ff2f6 Add utils.enum
This package contains a backported versions of the Python 3.4 standard
library enum types
2014-06-11 00:27:06 +03:00
Kai Huuhko cb7c2bf07b Eolian: Fix obj conversion
The generic converter was an idea which didn't work in practise.
2014-06-07 21:01:01 +03:00
Kai Huuhko 38a1d15016 Eolian: Documentation, fix show() 2014-06-07 18:17:40 +03:00
Kai Huuhko 4e700fe0d3 Initial python bindings for Eolian 2014-06-06 02:57:14 +03:00
Kai Huuhko a0ecc41572 Elementary.entry: Fix ref leak in filter callback handling. 2014-06-05 18:16:14 +03:00
Davide Andreoli 4f1efb1ee1 Use a more eflish code style (still pep-8 compliant) 2014-06-02 20:37:15 +02:00
Kai Huuhko 3f0aea9cb6 Examples: Elementary test.py pep-8 (formatting) cleanup 2014-06-02 20:17:28 +03:00
Davide Andreoli 4a57a7deaa Follow recent Eo api changes
eo_event_global_freeze_get -> eo_event_global_freeze_count_get
eo_event__freeze_get -> eo_event_freeze_count_get
2014-06-02 17:21:42 +02:00
Kai Huuhko 9068b792f6 Update TODO 2014-06-02 09:21:42 +03:00
Kai Huuhko 5045352434 Evas: Add NULL safety to SmartObject callbacks, exposes a BUG
Apparently the Python instance gets deleted before the smart hide/del
callbacks are called (by eo callback?).
2014-06-02 09:18:01 +03:00
Kai Huuhko 59f2835f53 Elementary.multibuttonentry: Inject a Python object to created items 2014-06-01 17:43:11 +03:00
Kai Huuhko 4f702bc04d Documentation: warnings-- 2014-06-01 16:35:38 +03:00
Kai Huuhko 4639836d3e warnings-- 2014-06-01 15:37:41 +03:00
Kai Huuhko 72a9c8ac2d Remove pre-1.8 Python bindings' compatibility packages 2014-05-31 12:18:32 +03:00
Kai Huuhko fcbba66f25 Bump versions for 1.11 development 2014-05-31 12:07:00 +03:00
Kai Huuhko 6115bcd0ab Update README 2014-05-30 10:08:57 +03:00
Kai Huuhko 6431873fcd Elementary: Add more signals to web example 2014-05-29 19:43:12 +03:00