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
Nathan Jervis
7896899abc
Elementary: Fix the number of seconds in a day in calendar examples.
2013-11-09 11:49:06 +02:00
Kai Huuhko
e557b2fcb4
Eo: Add several methods, tests and more debug logging.
...
Methods:
- parent_set/get
- event_freeze(_get)/thaw
- delete
Functions:
- event_global_freeze(_get)/thaw
Moved enums to efl.eo.enums.pxd
2013-11-09 09:05:44 +02:00
Kai Huuhko
91f6ce7ea8
Elementary: Add a call to need_efreet to the map examples.
...
This is required for the proper cache path to be found.
Otherwise it's created under cwd/(null)
2013-11-08 06:03:15 +02:00
Kai Huuhko
d623a30032
Follow Eo class name changes.
...
See commits c7addf40839c85cf2568f322a34220e8082d26f0 and
7b10fdb8f39c3b36f575dd22d26a1efe6ecd28ec
2013-11-07 16:45:02 +02:00
Kai Huuhko
af72b465e2
Elementary: Fix small issues in examples
2013-11-07 13:05:14 +02:00
Kai Huuhko
52c60b0e08
Evas: Add module level functions to documentation.
2013-11-07 11:37:29 +02:00
Kai Huuhko
9db6938f1e
Use types in objects' callback list definitions to simplify access.
...
Also use a more descriptive name for Evas' event callback list.
2013-11-07 11:35:03 +02:00
Kai Huuhko
b05187b52e
Evas.Image: Update to new Python buffer API, fix doc issues.
...
Needs testing.
2013-11-07 11:30:02 +02:00
Kai Huuhko
05cd30a2e3
Evas.SmartObject: Add a test from old bindings, fix trivial doc issues.
2013-11-06 05:03:41 +02:00
Kai Huuhko
0745a16d7a
Update api_coverage script, CODING, TODO
2013-11-06 05:00:49 +02:00
Kai Huuhko
4ca341d0d5
Evas.SmartObject: Basic object should be functional again.
...
At least the simple test passes.
Needs more work and tests.
2013-11-05 18:12:53 +02:00
Kai Huuhko
8ed62469f5
Update TODO, add a web link to setup.cfg for relevant cython documentation.
2013-11-05 03:18:36 +02:00
Kai Huuhko
41f0aeff67
Reduce usage of cpdef.
...
It was intended to make things easier but created problems with
inheritance and Evas SmartObject object customization.
2013-11-05 03:18:36 +02:00
Kai Huuhko
1ff67d2545
Elementary: Add compatibility methods ObjectItem.data_set/get.
...
They are marked as deprecated.
2013-11-04 07:27:43 +02:00
Kai Huuhko
f1a3feadb9
Add more commented out options to setup.cfg
2013-11-04 07:08:27 +02:00
Kai Huuhko
a261a2bb69
Elementary: Add Slider example, fixed minor issues in others
2013-11-04 07:07:17 +02:00
Kai Huuhko
cb1ae5d01a
Update TODO
2013-11-03 11:39:47 +02:00
Kai Huuhko
cf1f98bbf6
Elementary: Improve the rest of the examples.
...
Summary of changes:
- Make use of constructor keyword args
- Most scripts are now working directory agnostic
- Enabled evas textgrid example
- Printed messages are slightly better formatted
2013-11-03 10:42:50 +02:00
Kai Huuhko
23e9d49208
Elementary.progressbar: Style "recording" -> "double"
...
Also, part "elm.cur.progressbar" is the main bar.
See commit 12bbcd1a3a5c9e0a1a235166de2fca99dcfa5a0c
2013-11-03 07:49:53 +02:00
Kai Huuhko
010f03b045
Documentation: Remove elm.access
...
It will return with EFL 1.9 development cycle.
2013-11-03 06:56:32 +02:00
Kai Huuhko
1f74676a1b
Elementary: Comment out couple more accessibility stuff
2013-11-02 16:39:18 +02:00
Kai Huuhko
d8a6a5c614
Elementary: Disable Accessibility parts
2013-11-02 16:23:30 +02:00
Kai Huuhko
a2364dba2c
Elementary: Examples, part N.
...
"We're doing it, we're doing it! Stop being so testy."
- Vincent Price as The Sinister Man, addressing Satan.
2013-11-02 02:10:56 +02:00
Kai Huuhko
fc69997a75
Elementary.object_item: Change ObjectItem.data to hold a dict (like Eo).
...
This may affect some cases where it was assumed to hold
a tuple with args,kwargs. Dealing with the fallout was added as a TODO
and the change documented in README.
2013-11-02 02:05:48 +02:00
Kai Huuhko
944234bccd
Elementary: Examplifying examples.
2013-11-01 01:52:48 +02:00
Kai Huuhko
7826e96e01
Elementary.datetime_elm: Fix an API bug.
2013-10-31 23:12:06 +02:00
Kai Huuhko
e4e56b2605
Edje-edit: Disable build and tests.
...
Do this for now as it's undergoing changes and mostly broken anyway.
2013-10-30 21:01:24 +02:00
Kai Huuhko
39598ed1f7
Elementary: More work on the examples.
2013-10-30 11:36:54 +02:00
Kai Huuhko
fd8159d4ec
Elementary.mbe: Remove commented out code, comment out an unimplemented method.
2013-10-30 11:30:35 +02:00
Kai Huuhko
f9971fecc5
utils.logger: PyUnicode_FromFormatV -> vsprintf
...
The Py function segfaults with certain (malformed?) messages.
2013-10-30 11:26:14 +02:00
Kai Huuhko
b3f501b387
Elementary: Start making examples more examplary.
2013-10-30 04:28:55 +02:00
Kai Huuhko
db4483a88c
Elementary.actionslider: Fix a string return value to be unicode
2013-10-30 04:27:18 +02:00
Kai Huuhko
be547283f0
Eo: Speed up, and fix a cornercase in, _properties_from_keyword_args.
...
hasattr tries getattr which can be variedly slow, so check dict instead.
This also fixes it in cases where the property doesn't have a __get__
function.
2013-10-30 03:19:03 +02:00
Kai Huuhko
ada7a8c07e
Elementary: Add some TODO code comments
2013-10-29 12:36:08 +02:00
Kai Huuhko
05f288ec7f
Edje: Fix unit test paths and skip a couple segfaulting tests.
...
Decorator test fails but I'm not sure if the test is simply wrong.
Dave, can you check?
2013-10-29 06:25:23 +02:00
Kai Huuhko
567ba9cda2
Add more useful settings in their default values to setup.
2013-10-28 23:40:17 +02:00
Kai Huuhko
6a0e8a7166
Fix customization of logger class when using Py2
2013-10-28 18:55:58 +02:00
Kai Huuhko
1e40a8f5bb
Simplify and correct string representation functions.
...
Calling str() uses __repr__ when __str__ is not found.
__repr__ should return a string with angle brackets when the object
cannot be reconstructed with exec(repr(obj)).
2013-10-28 18:55:58 +02:00
Kai Huuhko
af9c5b8845
Elementary: Fixes for Theme
2013-10-27 21:46:43 +02:00
Kai Huuhko
d6d440c3a6
Add support for loggers that have been initialized already.
...
This allows module initialization to be logged as well.
Changed add_logger to return the logger object instead of int.
2013-10-26 03:22:47 +03:00
Kai Huuhko
19e7d11f61
Resolved Py3 issues.
...
Fixes T459
2013-10-26 02:38:25 +03:00
Kai Huuhko
47be89c8ea
Documentation: Fix a few niggles in Elm docs.
2013-10-25 21:39:48 +03:00