Commit Graph

713 Commits

Author SHA1 Message Date
Kai Huuhko 1ad70ef3d6 Utils.logger: Initialize threads in the module.
If the print cb was called from another thread it would segfault.

This was being triggered when Emotion printed out an error message.
2013-11-29 23:41:07 +02:00
Kai Huuhko 98498c04b9 Move compatibility packages under directory "compat".
They are installed in the root python pkg dir as before.
2013-11-29 19:31:21 +02:00
Kai Huuhko 9599098cd0 Update TODO 2013-11-29 02:22:44 +02:00
Kai Huuhko 1e08683763 Elementary.fileselector: Add missing bits, fix doc issues. 2013-11-29 02:22:36 +02:00
Kai Huuhko b4e363cb41 Elementary.web: Comment out unimplemented declarations in pxd. 2013-11-29 02:22:36 +02:00
Kai Huuhko c0ef792ca8 Elementary.slider: Add property step 2013-11-29 02:22:36 +02:00
Kai Huuhko 83f37fa9ad Ecore: Fix string handling in Exe.send 2013-11-28 21:06:53 +02:00
Kai Huuhko 7271d53fc0 Utils.logger: Move log buffer to module space, increase size to 1KB 2013-11-28 20:56:37 +02:00
Kai Huuhko 603476f176 Elementary.web: Add many things missing from API, not tested.
I won't be able to test this until I get Elm compiled with efl-webkit,
and for that I need a reasonably fresh source snapshot.

Latest one I could find was from August last year, I'm assuming it
won't match with current Elm.
2013-11-28 07:17:07 +02:00
Kai Huuhko bd8f38667e Elementary.entry: Fix documentation issues. 2013-11-28 03:12:33 +02:00
Kai Huuhko f3ee18d032 Elementary.entry: Free cursor text before returning it to python space 2013-11-28 03:11:26 +02:00
Kai Huuhko dd74de4cfe Update TODO 2013-11-28 01:51:05 +02:00
Kai Huuhko dc0acd4919 Elementary: Change RuntimeError to a Warning in several non-critical cases. 2013-11-28 00:35:17 +02:00
Kai Huuhko 44ea5ef086 Elementary: Fix issues in examples, including segfault in config example
It seems socket image windows size and pos should not by manipulated
before calling socket_listen().

Removed several remaining uses of enums from package namespace.
2013-11-28 00:31:41 +02:00
Kai Huuhko cfd74a40e9 Elm: Update main test to be more like C test and add more table examples 2013-11-27 21:08:45 +02:00
Kai Huuhko 4dc1f2a412 Elementary: Synchronize more code in genlist <-> gengrid 2013-11-27 19:20:20 +02:00
Kai Huuhko 204147aa3a Documentation: Increase doctree depth to list elm modules in main page 2013-11-27 19:16:32 +02:00
Kai Huuhko 80b554312a Compatibility: Support the old kwarg "module_filename" in emotion. 2013-11-27 16:06:29 +02:00
Kai Huuhko 4e6d58301d Elementary: Fix Icon example to match the changes made C example.
Thanks SeoZ!
2013-11-26 17:34:39 +02:00
Kai Huuhko 5443c35a9c Elementary.gengrid: Split into multiple files like genlist 2013-11-26 15:15:48 +02:00
Kai Huuhko a3634976c0 Elementary.object: Deprecate useless methods, add TODOs, fix formatting. 2013-11-26 04:38:53 +02:00
Kai Huuhko 75ee95a7d6 Elementary: Improve input event example.
- prevent focusing the log entry or the clear button widgets
 - move log entry widgets cursor to end when it changes
 - set weight size hints to allocate more space for log entry widget
 - clarify the output messages
2013-11-26 02:37:46 +02:00
Kai Huuhko 3473e92379 Evas: Improve and correct the event string representations.
__repr__ should be used for object string representation, __str__ is
for converting something to a string value.
2013-11-26 02:32:22 +02:00
Kai Huuhko bb4ef6fb02 Elementary.entry: Make filter_append data arg optional and note a TODO. 2013-11-25 23:24:57 +02:00
Kai Huuhko feaeb7a468 Elementary: Use filter callback to handle the entry text in input example 2013-11-25 23:07:31 +02:00
Kai Huuhko dd1ac3cd56 Elementary.entry: Fix the filter callback. 2013-11-25 23:07:31 +02:00
Kai Huuhko 4b95a88618 Elementary.entry: Clean up the utf8 <-> markup API 2013-11-25 23:07:23 +02:00
Kai Huuhko d7cef5a697 Elementary: Add an example for input events. 2013-11-25 20:52:54 +02:00
Kai Huuhko b5ecf69887 Evas: py3k compatibility fix for events' modifier_is_set method 2013-11-25 17:10:22 +02:00
Kai Huuhko d3962ae2a9 Enable 1.7 compatibility packages. 2013-11-24 23:32:29 +02:00
Kai Huuhko 4bd9dd3243 Eo: Fix a Py2'ism. 2013-11-24 18:29:33 +02:00
Kai Huuhko f2b22e94bb Eo: Change _register_decorated_callbacks to not use hasattr/getattr
They actually get the value of a property, leading to unexpected
behavior. Iterate the class dict instead.
2013-11-24 17:56:08 +02:00
Kai Huuhko 5bc92ee2de Add python-efl 1.7 compatibility packages, commented out by default. 2013-11-23 02:14:22 +02:00
Kai Huuhko cfbd5db819 Attempt to fix inheritance graphs by changing output format to svg 2013-11-21 23:20:31 +02:00
Kai Huuhko 4d493bfd27 Make setup.py more rel... respectable, update TODO. 2013-11-21 22:17:21 +02:00
Kai Huuhko 3a26675680 Elementary: Convert more of the C DnD examples to Python. 2013-11-19 21:42:24 +02:00
Kai Huuhko ba9f729094 Ecore: Add AnimatorTimeline. 2013-11-19 21:21:04 +02:00
Kai Huuhko aa96c353c3 Elementary: Remove enums and extra stuff from __init__.py
In the interest of faster package initialization.
2013-11-19 21:21:04 +02:00
Kai Huuhko 2231ce4f13 Elementary: New dispatcher for object item selection callbacks.
This is cleaner and allows us to use properties_from_kwargs,
and should have better forward compatibility by allowing more
positional arguments to be added as *args is now unused.
2013-11-19 21:21:03 +02:00
Kai Huuhko ad630770b5 Elementary.layout: Move methods from Layout to LayoutClass.
These should work in a "backwards" compatible way.
2013-11-19 21:21:03 +02:00
Kai Huuhko 0e21d6bfac Doc: Fix many duplicate/missing label warnings and other issues. 2013-11-19 21:21:03 +02:00
Kai Huuhko 29073c7754 Elementary: Add logging to init, remove the unused cursor enums. 2013-11-19 21:21:03 +02:00
Kai Huuhko 3a79fbdde2 Simplify setup.py elm extensions, disable builder option in setup.cfg 2013-11-19 21:21:03 +02:00
Kai Huuhko 738a377a78 Elementary: Fix a couple of issues in edje external examples.
Include the source file too. It would be best to get rid of the binary
edje file and automate compiling/cleaning it.
2013-11-19 21:21:03 +02:00
Davide Andreoli 012b89076d PythonEFL: new elm test for Theme 2013-11-16 13:15:18 +01:00
Kai Huuhko 225f061b05 Optimize exception propagation in several hot/time critical cases.
With "except *" a call is made to PyErr_Occurred on each call of a
function.

Adding a return value where possible and using an appropriate exception
value calls PyErr_Occurred only when that value is returned, ie.
an exception has been raised.

cdef void example_func() except *: <- PyErr_Occurred called on each call
cdef int example_func() except 0: <- PyErr_Occurred called only when
	an exception has been raised (the function thus returns 0)
2013-11-10 08:47:21 +02:00
Kai Huuhko e837f8f028 Elementary: Remove leftover deprecated function declarations.
The ones that have no equivalent replacement still do remain.
2013-11-09 23:12:33 +02:00
Kai Huuhko 9f6422a807 setup.py: Output error traceback from Cython check
This will hopefully shed more light on what's going wrong in onefang's
build script.

Also use script dir instead of cwd for relative path.
2013-11-09 13:26:09 +02:00
Kai Huuhko 3100dcfa46 Elementary: Forgot to add signal callbacks to GLView. 2013-11-09 12:00:38 +02:00
Kai Huuhko 09afe05a3c Elementary: Add GLView. 2013-11-09 11:54:44 +02:00