Commit Graph

11687 Commits

Author SHA1 Message Date
Larry Jr bb02711ff8 EFL Model Form View for MVC design
Elementary view that show an EFL.model and keep them synchronized
asynchronously.

The elm_view_form connects properties of a data model to different
widgets.

There is an example defined in src/examples/filemvc.c that also uses
a list view.

You can add widgets connected to properties using:

eo_do(formview, elm_view_form_widget_add("filename", _label_init(win, bxr, "File Name")));

@feature
2015-07-04 03:04:03 +02:00
Larry Jr bf082998cd EFL Model List View for MVC design
Elementary views that show an EFL.model and keep them synchronized
asynchronously.

The elm_view_list show a tree data structure using a genlist. Each
property is seen as a different data column.

There is an example defined in fileviewlist.c.

@feature
2015-07-04 03:04:03 +02:00
Daniel Kolesa a2f1f192a1 icon: convert docs 2015-07-03 16:07:18 +01:00
Daniel Kolesa f743e84e64 check: convert docs 2015-07-03 15:59:15 +01:00
Daniel Kolesa aa2412946a separator: convert docs 2015-07-03 15:55:11 +01:00
Daniel Kolesa c98cc91b8d route: convert docs 2015-07-03 15:54:14 +01:00
Daniel Kolesa ef236fd43f radio: convert docs 2015-07-03 15:52:29 +01:00
Daniel Kolesa c94b145423 scroller: convert docs 2015-07-03 15:12:48 +01:00
Daniel Kolesa 9fe25adafd systray: convert docs 2015-07-03 15:09:26 +01:00
Amitesh Singh 78b759454d entry: Remove unused variable. 2015-07-03 15:58:24 +05:30
Vaibhav Gupta 514f1a954b Entry: Add chunked append in case of _elm_entry_entry_append
Summary:
Summary
Fixed FIXME: Add chunked appending here (like in entry_set)

@fix

Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>

Reviewers: raster, Hermet, herdsman, singh.amitesh, tasn

Subscribers: thiepha, sachin.dev, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D2732
2015-07-03 11:08:23 +01:00
Daniel Kolesa 450c63265e fileselector_button: convert docs 2015-07-02 15:16:36 +01:00
Daniel Kolesa a94eca9568 actionslider: convert docs 2015-07-02 14:54:07 +01:00
Daniel Kolesa 6afd71a33f notify: convert docs 2015-07-02 14:47:56 +01:00
Daniel Kolesa b1fba116aa photo: convert docs 2015-07-02 14:43:50 +01:00
Daniel Kolesa ff533a6568 video: convert docs 2015-07-02 14:37:55 +01:00
Daniel Kolesa 05113d2d32 fileselector: convert docs 2015-07-02 14:31:07 +01:00
Lukasz Stanislawski 1c0f7b822d win: do not emit atspi children-changed event twice 2015-07-02 13:54:02 +02:00
Lukasz Stanislawski 2b7d454154 win: return nice atspi name 2015-07-02 13:53:20 +02:00
woochan lee 81d5b99d72 toolbar: content_set function called when user content set to toolbar item.
Summary:
If User want to content set something to item area. there is no way to except elm customizing.
So i added this feature and make the toolbar item object to layout before.

Now user can content set something on item area only call "elm_object_item_part_content_set" API.

Test Plan:
Make some swallow part on toolbar edc.
and content set some layout to that swallow part to using "elm_object_item_part_content_set"

Reviewers: cedric, Hermet

Subscribers: SanghyeonLee, eagleeye, id213sin

Differential Revision: https://phab.enlightenment.org/D2777
2015-07-02 20:07:48 +09:00
woochan lee 2bf248fbc0 toolbar: item object change from edje object to layout.
Summary:
Its for support elm_object_item_XXXX APIs for toolbar item.
Its the pre work for toolbar item content set some layout to toolbar item layout automatically.
(without implement item_content_set with part name.)

I  abandoned for check the other side of this change. but its not has problem so i reclaim this commit
and put on another commit for this. https://phab.enlightenment.org/D2777

Test Plan: To all of the action on elementary toolbar test sample.

Reviewers: cedric, Hermet

Reviewed By: cedric

Differential Revision: https://phab.enlightenment.org/D2768
2015-07-02 20:00:58 +09:00
Thiep Ha f5cf77387c cnp: remove redundant code
Summary: Remove redundant NULL assign code

Reviewers: cedric, Hermet, JackDanielZ

Reviewed By: JackDanielZ

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D2782
2015-07-02 19:58:15 +09:00
Lukasz Stanislawski 4610ccfba2 ctxpopup: enhance atspi state information and actions. 2015-07-02 12:36:32 +02:00
Avi Levin 029a0421fa elm_actionslider, elm_map: porting evas smart callbacks to eo 2015-07-02 08:04:03 +03:00
Avi Levin 04ee4036d0 elm_image, elm_colorselector: porting evas smart callbacks to eo 2015-07-02 08:04:03 +03:00
Avi Levin 437f1f9f28 elm_genlist: porting evas smart callbacks to eo 2015-07-02 08:04:03 +03:00
Avi Levin b5eee8141c elm_toolbar: porting evas smart callbacks to eo 2015-07-02 08:04:03 +03:00
Avi Levin cb4e3f0750 elm_clock, elm_flipselector: porting evas smart callbacks to eo 2015-07-02 08:04:03 +03:00
Avi Levin 4851b666c2 elc_hoversel, elm_interface_scrollable: porting evas smart callbacks to eo 2015-07-02 08:04:02 +03:00
Avi Levin 2f7b600b09 elm_segment_control: porting evas smart callbacks to eo 2015-07-02 08:04:02 +03:00
Avi Levin 6de5045068 elm_panel: porting evas smart callbacks to eo 2015-07-02 08:04:02 +03:00
Avi Levin b4ed9ea161 elm_datetime: porting evas smart callbacks to eo 2015-07-02 08:04:02 +03:00
Avi Levin bd03400e7e elc_naviframe: porting evas smart callbacks to eo 2015-07-02 08:04:02 +03:00
Avi Levin 7c4411630c etc_ctxpopup, elm_gengrid, elm_notify: porting evas smart callbacks to eo 2015-07-02 08:04:02 +03:00
Vitor Sousa 2e7b6d38af elm_entry: use Efl.File in Elm_Entry
Summary:
Also using the second optional string parameter of efl_file_set as the
text format specifier.
Added string constants to represent the possible values.

Address the issue:
- Elm entry and the file interface clash on file_set.
Specified in the page:
https://phab.enlightenment.org/w/efl_interfaces/

Reviewers: felipealmeida, tasn

Reviewed By: tasn

Subscribers: thiepha, raster

Differential Revision: https://phab.enlightenment.org/D2353
2015-07-01 18:30:23 +01:00
Vitor Sousa 5a737f7187 win: Add autohide and ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN
Summary:
Add the "autohide" property to elm_win. This property, when set to
EINA_TRUE, automatically hides the window upon a "delete,request" signal.

Create ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN, a new quit policy that
automatically exit from the elm_run loop when all windows are hidden.
It is an alternative to autodel to conciliates the memory management
framework of Eo with any other memory management model the program may
be using (e.g. RAII principles of C++).

Create the auxiliary function "_elm_win_policy_quit_triggered" to check
triggering of quit policies.
The check in "smart_hide" is now necessary, since
ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN can be triggered when a window
is hidden.

Create the auxiliary function "_elm_win_flush_cache_and_exit" to avoid
code repetition for exiting the elm_run loop.

Make a small update on documentation in elm_win.h to mention the new
autohide property.

@feature

Reviewers: raster, felipealmeida, cedric, tasn

Reviewed By: felipealmeida

Differential Revision: https://phab.enlightenment.org/D2751
2015-07-01 15:40:57 +01:00
Lukasz Stanislawski f0fa3e0709 genlist: broadcast atspi expanded state changes 2015-07-01 10:44:58 +02:00
Amitesh Singh 6e0f4e6134 layout: Fix eo API error while running "Genlist 7" in elementary_test.
In case of naviframe, resize_obj is not edje.

Steps to reproduce:
1. elementary_test
2. Open "Genlist 7" sample.
3. Switch focus between windows ("elementary_test" <---> "Genlist 7").

Eo Errors:
ERR<8720>:eo lib/eo/eo.c:678 _eo_call_resolve() in lib/edje/edje_object.eo.c:430: func 'edje_obj_message_signal_process' (733) could not be resolved for class 'Elm_Layout'.

@fix
Resolves: T2534
2015-07-01 09:47:06 +05:30
Anand 449b9be714 test_focus: Focus should to move layout's entry
Summary:
While going through the test_focus(focus 2-> give focus to layout "entry") code found
focus should move to layout's entry instead of entry outside the layout.
Just change the entry object in callback ;)

Test Plan: elementry_test-->focus2-->give focus to layout "entry".

Reviewers: cedric, Hermet

Differential Revision: https://phab.enlightenment.org/D2611
2015-07-01 11:31:26 +09:00
Umesh Tanwar c68353545d Elm_Interface_Scrollable: Improvement in looping behavior
Summary:
x and y position variable assumes values ranging from min to max.
cw, the content width is larger than max in x axis. Beacause of this
the scroller is not able to loop in rigth/bottom direction. For looping
comparision min and max values should be used instead of content width.

@fix

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>

Reviewers: raster, seoz, cedric, Hermet

Reviewed By: Hermet

Subscribers: eagleeye, SanghyeonLee, singh.amitesh, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2731
2015-07-01 11:14:42 +09:00
divyesh purohit ba21064aff elm_datetime: Fix datetime ctxpopup resize issue
Summary:
In elm_datetime, ctxpopup does not resize

@fix

Test Plan:
1) Change the scale value in elementary_config to 2.0 (so that a better size change in the ctxpopup's can be observed)
2) Open elementary_test and then the datetime
3) Click on the first datetime field and observe the ctxpopup's arrow position and then close it
4) Click on the same datetime field again, now observe that the ctxpopup's arrow has concided with the diskselector as it wasn't resized properly.

Reviewers: raster, Hermet, shilpasingh, subodh6129, seoz

Reviewed By: shilpasingh, subodh6129

Subscribers: rajeshps, govi, poornima.srinivasan

Differential Revision: https://phab.enlightenment.org/D2628
2015-07-01 11:02:18 +09:00
woochan lee 6044a5743f multibuttonentry: Delete item size min set when first box resize time.
Summary:
The mbe items has to get own min size to calc each items locate, box size etc...
but when first time box resize it will ignored.
It makes item wrong size issue when mbe located at some part of layout in runtime.

Reviewers: Hermet, seoz, woohyun

Differential Revision: https://phab.enlightenment.org/D2657
2015-07-01 10:54:47 +09:00
Lukasz Stanislawski 0de51626de atspi: enable atspi also in quicklaunch infrastructure 2015-06-30 23:24:34 +02:00
Daniel Zaoui 09d9f9b86b Genlist: use correct variable during realize
VIEW(it) is not set when the function is called. view should be used
instead.

@fix
2015-06-30 13:11:48 +03:00
Lukasz Stanislawski 2254bf710c atspi: fix missing Window signals on AT-SPI2 initialization
Patch adds connected/disconnected elm_atspi_bridge events to avoid
races between window getting focus and AT-SPI2 bus initialization.
When  bridge gets connected windows will reemit all "Created",
"Activated" and "Deactivated" events with regard to window focus.
2015-06-29 16:43:33 +02:00
Daniel Zaoui a7546a2b14 Set file permissions back to 644
Few files permissions have been modified by mistake in the past patches.
2015-06-29 16:34:49 +03:00
Lukasz Stanislawski 0b8adefcea atspi: add org.a11y.atspi.Application interface to root object 2015-06-29 12:55:37 +02:00
Lukasz Stanislawski 4b9308861d atspi: add missing header 2015-06-29 11:39:28 +02:00
Lukasz Stanislawski f75acf75c8 atspi: refactor atspi_bridge to eo object
This will allow to reuse eo events infrastructure
in next patches.
2015-06-29 11:30:26 +02:00
Avi Levin d773097e61 elm_flip: porting evas smart callbacks to eo 2015-06-29 11:02:17 +03:00