Commit Graph

235 Commits

Author SHA1 Message Date
Kai Huuhko 59b2e1ee59 elm.Toolbar: Note earlier changes to events and update example
See commit 61b53f2477
2015-05-04 06:10:45 +03:00
Kai Huuhko 4d73872f8f Removed init/shutdown calls from tests and examples 2015-05-04 04:03:07 +03:00
Kai Huuhko e37026ec17 Remove init/shutdown from elm and emotion main tests 2015-05-04 03:36:54 +03:00
Davide Andreoli 9b258cb28e Changed slideshow to use new-style item data.
Item data is now a single value instead of args/kargs, to reflect the usage in Genlist/Gengrid

Also updated the test
2015-05-04 02:21:07 +02:00
Kai Huuhko acf2d33969 Evas.Textgrid: Fix memleak
Had to change the type of cellrows from list to custom tuple-like type.
2015-05-03 13:05:15 +03:00
Kai Huuhko fb34f48c9d Examples: Add systray test/example to the main menu 2015-04-28 03:14:39 +03:00
Davide Andreoli f6326d582b New 1.14 API: item,longressed signal for Multibuttonentry 2015-04-17 21:16:23 +02:00
Davide Andreoli f183fc171f New 1.14 API: elm.Scroller.loop
Scroller test redone to include loop and more
2015-04-16 22:05:55 +02:00
Kai Huuhko 144e28a230 Elm: Clarify init/shutdown change
With docs and test logging
2015-04-15 00:35:30 +03:00
Kai Huuhko 278fe32110 Elm: Add ecore events defined in elm_general.h 2015-04-15 00:17:24 +03:00
Davide Andreoli eb60fbc01e Fix elm.Video test to work again
also put in a forgotten change from last commit
2015-04-14 22:55:20 +02:00
Davide Andreoli 61590afc6f New 1.14 API: file_get for Video and Layout
with stupid tests
2015-04-14 22:21:35 +02:00
Davide Andreoli 3765021dc0 New 1.14 API: elm.Slider.indicator_visible_mode
with test
2015-04-14 21:22:38 +02:00
Davide Andreoli 0f0e84d792 Test Elm.Image: use new EVAS_ORIENT_* enums 2015-04-12 14:01:49 +02:00
Davide Andreoli e9f07ff537 New 1.14 API: elm.Photocam.image_orient
with test.

NOTE: playing with the test reveal lots of image_orient errors
2015-04-12 13:41:05 +02:00
Davide Andreoli 6fbe0ba320 New 1.14 function: Elm.Transit.go_in()
with test
2015-04-12 12:49:43 +02:00
Davide Andreoli 0190d16c05 New 1.14 property: Evas.Image.orient
with a simple test
2015-04-12 12:35:57 +02:00
Kai Huuhko 4ccea0f35d Evas.SmartObject: Add smart callback introspection 2015-03-13 19:22:01 +02:00
Kai Huuhko a407e11298 Evas: Change SmartCb event_info conversions into C functions 2015-03-11 15:37:06 +02:00
Kai Huuhko d416425f51 Evas.SmartObject: Trivial changes
Removed cruft, upgraded cls == NULL log message level to ERR,
added formatter to SO example logging.
2015-03-09 21:01:55 +02:00
Kai Huuhko fbc22d850d Make Evas.SO iterator a generic Eo iterator and move to efl.eo 2015-03-09 19:36:42 +02:00
Kai Huuhko 3c710bb4b4 Evas.SmartObject: Change tests and examples in accordance to new API 2015-03-08 18:07:57 +02:00
Kai Huuhko d3357619f7 Evas: Bring back SmartObject
Possible TODO: support per-child delete cb like in C
2015-03-05 21:07:38 +02:00
Kai Huuhko e27e5e3f13 Examples.elementary: Update fs_entry/btn tests
to not use deprecated methods.
2015-02-21 17:51:33 +02:00
Kai Huuhko 2ce228be96 Elementary: Add module systray
Test/example needs more work
2015-02-21 05:41:14 +02:00
Davide Andreoli b4fcee3de2 Use consistent indentation style with the rest of the code 2015-02-16 20:38:25 +01:00
Davide Andreoli a90f1dd54d Remove a wrong line from the previous commit 2015-02-16 20:24:26 +01:00
Kai Huuhko 31a6f559b0 Elementary.image: Add memfile support 2015-02-16 14:54:26 +02:00
Davide Andreoli 8106e2b1aa fixed elm.Entry.cursor_content_get() to not crash when called
With a new test Entry Notepad
2015-02-07 20:07:55 +01:00
Davide Andreoli 6309b15873 Indentation: do not mix continuation line with indent 2015-02-07 13:00:15 +01:00
Davide Andreoli 28da8bad4a Fix Entry Anchor test
we need to import Hover if we want to use it
2015-02-07 12:55:21 +01:00
Davide Andreoli b71a0af896 Add a new example for win main_menu 2015-01-23 20:37:04 +01:00
Davide Andreoli 6ac80225fb Improve a bit the Window test 2015-01-23 20:07:50 +01:00
Davide Andreoli e44d8b176b Genlist: new test for reorder mode 2015-01-19 23:44:27 +01:00
Davide Andreoli ea60044620 Just for fun: port of the Transit Bezier test
...for fun and to prove the python-efl power,
the test is half the size of the C version
2015-01-17 20:05:40 +01:00
Davide Andreoli 28d1e6853e New 1.13 property elm.Table.align
And small improvements to the table test
2015-01-17 17:47:58 +01:00
Davide Andreoli fe39fcc5e6 Some work on Transit test 2015-01-17 15:59:12 +01:00
Davide Andreoli c1aeafd2e1 GengridItem: no more need to implement tooltip/cursor functions
They are yet implemented in ObjectItem, that is the base class for GengridItem
2015-01-14 21:49:06 +01:00
Davide Andreoli be323e24bc GenlistItem: no more need to implement tooltip/cursor functions
They are yet implemented in ObjectItem, that is the base class for GenlistItem
2015-01-14 21:37:17 +01:00
Davide Andreoli 18a334763f Fix the input_events test 2015-01-05 12:42:48 +01:00
Davide Andreoli 2f8b122110 Fix (workaround) the label test
ELM_WRAP_CHAR make the label expand too much horizontaly,
makeing the window super-high, using ELM_WRAP_WORD fix it.
2015-01-05 12:37:15 +01:00
Davide Andreoli de01f76650 Evas: better define for EVAS_HINT_FILL/EXPAND
Also added the various tuple we always use, just for convenience.

Use the new tuples in the elm examples
2015-01-05 12:24:19 +01:00
Davide Andreoli 64c1d33c9f Added new convenience class: DialogWindow
With a new test for both StandardWindow and DialogWindow
2015-01-03 14:51:08 +01:00
Davide Andreoli 08170d1fd4 Disable evas.SmartObject to workaround Cython brakage.
SmartObject do work fully in real, thay probably need a full rewrite,
so this should not harm at all.

Also disabled tests and examples
2015-01-02 13:25:44 +01:00
Davide Andreoli 9b50d34db3 New test for standard icons 2014-12-31 12:42:38 +01:00
Davide Andreoli 5e8a644f24 New 1.12 API: elm_fileselector_current_name_set/get
With proper test
2014-11-22 15:11:23 +01:00
Davide Andreoli 3be938511f New 1.12 API: elm_panel_scrollable_set/get/content_size_set
Also improved the test for panel and added a new test for scrollable panel.
2014-11-22 14:33:47 +01:00
Kai Huuhko 953a77dcaf Examples: set hoversel text in a callback 2014-09-17 22:21:50 +03:00
Kai Huuhko 5543852d54 Examples: Add description to elm web exceptions, trivial updates to test 2014-09-13 18:16:17 +03:00
Davide Andreoli a4d321dacc Gengrid: new property reorder_type, with test for reorder mode 2014-08-01 18:14:55 +02:00
Davide Andreoli f5dd70b70f Gengrid: implemented search_by_text_item_get(), with a proper test 2014-08-01 17:31:09 +02:00
Davide Andreoli d8174aea3d Genlist: implemented search_by_text_item_get(), with a proper test 2014-08-01 16:31:24 +02:00
Davide Andreoli 401145f4fa Toolbar: new un/selected signals, with tests 2014-08-01 13:35:50 +02:00
Davide Andreoli a97e61dd4f Ctxpopup: new getters for items and the item_prepend method, with tests 2014-07-31 22:18:41 +02:00
Davide Andreoli 1af5adb8cd Panes: new content_[left/right]_min_[relative]_size properties 2014-07-31 17:01:53 +02: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
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 6431873fcd Elementary: Add more signals to web example 2014-05-29 19:43:12 +03:00
Kai Huuhko 9ba009c46a Elementary: Add an example for sys_notify 2014-05-29 01:39:09 +03:00
Kai Huuhko 1466ea7207 efl.ecore: Return of ecore.x (from python-ecore)
Made some corrections to make it compile and fixed doc formatting.
2014-05-13 17:59:48 +03:00
Kai Huuhko 451d49d731 Examples: Fixed elm.popup duplicate function names 2014-04-15 21:43:32 +03:00
Kai Huuhko 6408f8d318 Code cleanup: Print statements => functions 2014-04-14 02:32:16 +03:00
Kai Huuhko ae64f89ab5 Code cleanup: Trailing semicolon in the statement 2014-04-14 01:46:39 +03:00
Kai Huuhko 80f5bb3fa7 Code cleanup: List creation could be rewritten as a list literal 2014-04-14 01:40:22 +03:00
Kai Huuhko 6fc195858e Code cleanup: Assignment can be replaced with augmented assignment 2014-04-14 01:40:22 +03:00
Davide Andreoli de154b7930 Python-EFL: New 1.9 API: Naviframe.title_enabled (title_visible deprecated) 2014-03-01 16:35:20 +01:00
Davide Andreoli 9f6cf51f80 Python-EFL: new 1.9 API: Layout.content_swallow_list_get() 2014-03-01 14:23:42 +01:00
Davide Andreoli 32448918f6 Python-EFL: new 1.9 API Multibuttonentry.format_function_set()
Sadly this add 2 new points of reference leaks :(
2014-02-27 22:38:04 +01:00
Davide Andreoli c2a34f20ad Python-EFL: Colorselector new 1.9 API 2014-02-27 20:52:10 +01:00
Davide Andreoli 1bfb4d8922 Python-EFL: added 1.9 API: Colorselector.palette_items_get() 2014-02-26 23:20:04 +01:00
Davide Andreoli 684aee077e Python-EFL: Fileselector 1,9 API additions.
* added property thumbnail_size
* added function custom_filter_append
* splitted the 3 tests in 3 different files
* test rewritten to better match the C one.

NOTE: custom_filter_append is leaking...need to find a proper way to unref
          Added a note in the TODO for this issue.
2014-02-26 21:37:04 +01:00
Davide Andreoli dd3bc98c93 Python-EFL: add API Label.slide_speed. With tests 2014-02-23 16:29:31 +01:00
Davide Andreoli 04734af9f4 Python-EFL: added new tooltip movement freeze API
* tooltip_move_freeze_push()
* tooltip_move_freeze_pop()
* tooltip_move_freeze_get()
2014-02-23 14:18:19 +01:00
Davide Andreoli 9b78f1fc42 Python emotion test: port all the changes done recently in the C test.
* updated theme file
* new volume slider
* renamed speed slider to alpha slider
* fix alpha slider to work only on the video, not the whole frame
* fix calculation of displayed time
* new option: --position
* new option: --loop
* updated engines list
* new option: --reflex
2014-02-23 13:17:36 +01:00
Kai Huuhko b21fde2ba7 Silence warnings in Cython 0.20 2014-01-24 22:52:34 +02:00
Davide Andreoli 445211f369 add new Mapbuf.point_color_set/get functions (since 1.9) 2014-01-08 22:48:27 +01:00
Davide Andreoli bd063f0ece add new Filesector.sort_method property (since 1.9) 2014-01-08 22:06:29 +01:00
Davide Andreoli fdb66d75e6 add new Clock.pause property (since 1.9) 2014-01-08 21:17:57 +01:00
Davide Andreoli 44a5dd89c0 fix imports in elm tooltip example 2014-01-06 14:36:49 +01:00
Davide Andreoli cabc442195 Try to fix evas SmartObject
* implemented a test for smart obj
* remove comments from factories methods
* install the metaclass also for the Clipped one

Smart object implementation is still broken :(
Every object segfault on delete, the reason is
the eo del callback called BEFORE the smart
delete function. need to investigate better.
2014-01-06 12:40:59 +01:00
Davide Andreoli cacde3e38a unbroke the emotion example
* copy the theme edj in source, instead of searching for an installed
one from the c example, that is not installed by default enymore.
* fix usage/import of enums
* add the 'p' key to toggle pause state
2013-12-23 21:34:16 +01:00
Davide Andreoli 9089706286 Python-EFL: 5 new tests about Focus.
Also add some missed values to Elm_Object_Focus_Direction enum.
2013-12-16 21:42:27 +01:00
Kai Huuhko d84fc043ea Elementary: Fixed test.py mirror mode toggle 2013-12-07 15:59:59 +02:00
Kai Huuhko 7fbc6b83e6 Elementary: Removed use of deprecated methods in examples. 2013-12-07 10:28:08 +02:00
Kai Huuhko 0789bef048 Elementary: Convert the two remaining calendar examples. 2013-12-06 11:49:39 +02:00
Kai Huuhko ab036dd80b Elementary: Fix clock example 2013-12-06 11:47:28 +02:00
Kai Huuhko 2fdaaf2957 Elementary: Disable dnd example 2013-12-06 03:45:34 +02:00
Kai Huuhko 602d030137 Elementary: Fix mistakes in configuration example. 2013-12-05 11:32:42 +02:00
Davide Andreoli 0a03a272e7 Python-EFL: unify all the 3 map tests in one 2013-12-04 21:31:55 +01: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 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 4e6d58301d Elementary: Fix Icon example to match the changes made C example.
Thanks SeoZ!
2013-11-26 17:34:39 +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 feaeb7a468 Elementary: Use filter callback to handle the entry text in input example 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 3a26675680 Elementary: Convert more of the C DnD examples to Python. 2013-11-19 21:42:24 +02:00