Kai Huuhko
ca680c5a67
Elementary: Add an optimization for _set_properties_from_keyword_args
...
Return early when kwargs dict is empty.
2013-12-06 10:51:11 +02:00
Kai Huuhko
43f961d04a
Elementary: Increase similarity of widget items.
...
_set_properties_from_keyword_args is now used in all items.
A RuntimeError is raised when adding an item to a widget fails.
2013-12-06 06:42:53 +02:00
Kai Huuhko
19ef10f97d
Elementary: Comment out broken/unfinished API
2013-12-06 03:04:19 +02:00
Kai Huuhko
724dedb0e2
Documentation: Changed C API references into Python ones.
2013-12-06 03:00:12 +02:00
Kai Huuhko
040dc66110
Elementary.window: Return None when there are no available profiles.
...
Do this instead of raising an exception.
2013-12-05 11:31:22 +02:00
Kai Huuhko
9d37d24943
Elementary.background: Bypass Evas' _properties_from_keyword_args.
...
Background widgets color_set has a differing number of args.
2013-12-05 11:29:12 +02:00
Kai Huuhko
3f64711242
Elementary.slideshow: Correct the string representation functions.
2013-12-05 08:48:35 +02:00
Kai Huuhko
559a2a2c56
Elementary.plug: Use object_from_instance in image_object property.
2013-12-05 08:48:35 +02:00
Kai Huuhko
16891cf2b4
Elementary.object: Add few missing methods related to translatable text.
2013-12-05 08:48:35 +02:00
Kai Huuhko
be6d0dfc55
Elementary.index: Deprecate broken item_find for now.
2013-12-05 08:48:35 +02:00
Kai Huuhko
4e4b8e2fea
Documentation: Fix invalid references and minor issues.
2013-12-05 08:48:34 +02:00
Kai Huuhko
647e0523e4
Documentation: Fix more invalid references.
2013-12-04 01:24:31 +02:00
Kai Huuhko
4c9ab89426
Documentation: Fixed invalid references and other misc. issues.
2013-12-03 21:56:47 +02:00
Kai Huuhko
7a3883f5e2
Elementary: Revert several RuntimeWarnings back to 1.7 behavior
...
The methods in entry, icon and object now return a bool value like they
used to do in 1.7.
2013-12-02 21:44:43 +02:00
Kai Huuhko
5d4016710d
Elementary: Disable rest of glview.
...
I already disabled build in last commit (by accident).
2013-12-02 02:52:45 +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
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
dc0acd4919
Elementary: Change RuntimeError to a Warning in several non-critical cases.
2013-11-28 00:35:17 +02:00
Kai Huuhko
4dc1f2a412
Elementary: Synchronize more code in genlist <-> gengrid
2013-11-27 19:20:20 +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
bb4ef6fb02
Elementary.entry: Make filter_append data arg optional and note a TODO.
2013-11-25 23:24:57 +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
3a26675680
Elementary: Convert more of the C DnD examples to Python.
2013-11-19 21:42:24 +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
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
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
d623a30032
Follow Eo class name changes.
...
See commits c7addf40839c85cf2568f322a34220e8082d26f0 and
7b10fdb8f39c3b36f575dd22d26a1efe6ecd28ec
2013-11-07 16:45:02 +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
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
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
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
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
7826e96e01
Elementary.datetime_elm: Fix an API bug.
2013-10-31 23:12:06 +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
db4483a88c
Elementary.actionslider: Fix a string return value to be unicode
2013-10-30 04:27:18 +02:00
Kai Huuhko
ada7a8c07e
Elementary: Add some TODO code comments
2013-10-29 12:36:08 +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
47be89c8ea
Documentation: Fix a few niggles in Elm docs.
2013-10-25 21:39:48 +03:00
Kai Huuhko
2dca18ab08
Elementary: Add more _set_properties_from_keyword_args
2013-10-25 17:45:15 +03:00
Kai Huuhko
3e99eb5fe9
Elementary: Document more scrollables
2013-10-25 03:13:46 +03:00
Kai Huuhko
3d85286336
Add arguments 'version' and 'message' to DEPRECATED decorator.
...
The decorator will automatically add a directive to the docstring and
log a message when the function is called.
2013-10-25 02:09:29 +03:00
Kai Huuhko
cd25ef3488
Partially revert "Elementary: Move private definitions inside the pyx files."
...
We can do this later, let's keep api_coverage.py working for now.
This reverts commit c96851c8f5
.
Conflicts:
efl/elementary/gengrid.pyx
efl/elementary/genlist.pyx
efl/elementary/object.pyx
efl/elementary/scroller.pxd
efl/elementary/scroller.pyx
2013-10-20 23:45:47 +03:00
Kai Huuhko
b981ce3840
New feature: Set properties using constructor keyword arguments.
...
Only applied to Elm Bubble for now as an example.
2013-10-20 14:34:53 +03:00
Davide Andreoli
85ac116577
Python-EFL: unbreak the compilation with older cython. Kuuko: you win a spank this time :P
2013-10-14 21:30:49 +02:00
Kai Huuhko
87ee22d559
Elementary: DnD work
...
- Genlist default animation test functional
- Some callbacks are still missing
2013-10-10 05:42:39 +03:00
Kai Huuhko
afe11df636
Elementary: Beginnings of Drag and Drop support, very much work in progress.
2013-10-08 17:13:32 +03:00
Kai Huuhko
6299a6c8ae
Elementary: Make inheriting from scrollable a responsibility for the user.
2013-10-08 09:11:12 +03:00
Davide Andreoli
feb9fb912c
Python-EFL: unbreak the build with older Cython versions
2013-10-07 21:18:44 +02:00
Kai Huuhko
c96851c8f5
Elementary: Move private definitions inside the pyx files.
...
Only share (in pxd-files) the definitions that are needed by other modules.
Removed widget_header.pxi to make cimports more obvious.
2013-10-07 08:31:30 +03:00
Kai Huuhko
fa9e96dff9
Elementary: Add a test for Access.
...
Change internal only GenlistItem.itc to readonly item_class
2013-10-04 15:11:57 +03:00
Kai Huuhko
914c6ffd6b
Elementary: Add various missing functions
2013-10-04 09:29:45 +03:00
Kai Huuhko
9e1b6a676c
Elementary.general: Enable functions that were previously problematic.
2013-10-03 00:30:23 +03:00
Kai Huuhko
d4e5ea886c
Elementary: Fix Gengrid item_cb crash
2013-10-02 23:38:31 +03:00
Kai Huuhko
d430807974
Elementary: Add custom effects for transit.
2013-10-02 19:34:47 +03:00
Kai Huuhko
87e2e8f9a1
Elementary: Add more failsafes to transit del_cb
2013-10-02 07:22:20 +03:00
Kai Huuhko
bef896b490
Elementary: Fix transit del_cb
2013-10-02 05:59:21 +03:00
Kai Huuhko
5f4a46da4b
Move common conversion functions from efl.eo to efl.utils.conversions
2013-10-01 04:56:28 +03:00
Kai Huuhko
6587b5be67
Rename efl.pxd to efl.eina.pxd
2013-09-30 07:26:35 +03:00
Kai Huuhko
a1d45bb167
Elementary: Few more missing functions.
2013-09-25 02:37:26 +03:00
Kai Huuhko
f40afed56a
Elementary: Add more missing signals/functions.
2013-09-24 01:02:01 +03:00
Kai Huuhko
e3509d4dd8
Elementary: Add missing functions/signals
2013-09-22 21:16:31 +03:00
Kai Huuhko
ac9b1bf001
Elementary: Add new thumb functions
2013-09-20 14:49:56 +03:00
Kai Huuhko
88db824a77
Change the _METHOD_DEPRECATED function into a decorator.
...
- move the decorator into a new package/module: utils/deprecated
- simplify setup.py logic slightly, it still needs work
2013-09-20 12:01:50 +03:00
Davide Andreoli
f8c332d636
Python-EFL: add support for the "recording" style of ProgressBar
2013-09-16 21:10:45 +02:00
Kai Huuhko
158567f5d5
Elementary Fileselector: Add mime type filter methods
2013-09-14 12:36:18 +03:00
Davide Andreoli
7925fc7056
Python-EFL: some works on the photocam widget
...
* implemented a proper test
* implemented remote url feature
* fixed file_set error raise
* implemented all the missing legacy setter/getters
2013-08-12 20:56:45 +02:00
Davide Andreoli
66e7f00308
PythonEFL: change the way progressbar pulse mode work.
...
Prior to this commit you enable (and start) the pulsing animation by doing:
pb.pulse = True
pb.pulse(True)
Now you need to use the less-confusing syntax:
pb.pulse_mode = True
pb.pulse(True)
Sorry for braking the API but was really confusing before.
2013-08-12 16:50:50 +02:00
Davide Andreoli
c1298443b3
PythonEFL: add support in Image for urls and a new test for the Image widget
2013-08-12 15:32:33 +02:00
Kai Huuhko
8b58ef24ea
Documentation formatting fixes.
2013-08-10 08:34:46 +03:00
Kai Huuhko
606bf8694d
elementary ObjectItem: Handle the case where an Elm_Object_Item was
...
created in the C library code, thus not containing the Python object
within it's data.
Fixes phab T268
Reported by: grapemix (Kingston Fung)
2013-08-02 13:16:40 +00:00
Davide Andreoli
2b7a9c7030
Python-EFL: follow the eldbus rename.
2013-05-01 23:13:26 +02:00
Davide Andreoli
cc65c1cf40
Python-EFL: unbreak compilation with cython 1.7.3
2013-05-01 22:57:01 +02:00
Kai Huuhko
5a1180d1a0
Elementary: Initial support for copy & paste. selection_get/set/clear
...
works with Entry and has a test, the generic drop_cb is unfinished and
untested.
2013-05-01 15:49:57 +00:00
Kai Huuhko
c14ab47b09
Elementary: Add a few simple methods that were added to C API recently.
2013-05-01 15:49:57 +00:00
Kai Huuhko
fa8e942762
Documentation: Position the widget example images so they are more
...
naturally in context with the description text.
2013-05-01 15:49:57 +00:00
Kai Huuhko
3072f93a83
Elementary: Add an incomplete scrolled entry test. Needs the filter cbs
...
implemented.
2013-05-01 15:45:26 +00:00
Kai Huuhko
6c89e84620
Elementary: Change the rest of the widgets to use the new item handling
...
style, and make the documentation more structured.
2013-05-01 15:45:26 +00:00
Kai Huuhko
63000ba25c
Elementary: Add missing Illume command constant values to Window,
...
improve its documentation and silence some Cython warnings by making the
methods cpdef.
2013-05-01 15:25:19 +00:00
Kai Huuhko
de6fd9f832
Elementary: Use genlist_item_class functions to manage the class struct,
...
improve item handling by using class attributes instead of the params
tuple.
2013-05-01 15:24:42 +00:00
Kai Huuhko
d2a6f8a94c
Elementary: Split genlist into more easily manageable files, it still
...
compiles into one module.
2013-05-01 15:24:42 +00:00
Kai Huuhko
dc1a54dec3
Elementary: Improve Genlist documentation.
2013-05-01 15:24:42 +00:00
Kai Huuhko
c9d3cc4536
Elementary: Fix the legacy genlist item factory functions that were
...
left broken in last pull/rebase/conflict resolution.
2013-05-01 15:24:42 +00:00
Kai Huuhko
ab91f97961
Elementary: Add special methods that allow iterating natively over a Genlist
...
eg:
for item in genlist:
print(item)
2013-05-01 15:24:41 +00:00
Davide Andreoli
01663ecd99
Python-EFL: trivial docs change, be consistent with header types, no code changes
2013-05-01 14:34:45 +02:00