Commit Graph

11607 Commits

Author SHA1 Message Date
Woochan Lee 2fd7946767 multibuttonentry: Delete unused data in edc.
Summary: The "closed_height" is not using in code.

Reviewers: raster, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2535
2015-05-19 20:27:20 +09:00
Amitesh Singh 2cd50b4e7f tooltip: set the correct style of label.
Summary:
check theme of tooltip label by
$clouseau elementary_test -to "tooltip"
tooltipi label theme was elm/label/base/default but we want theme
"elm/label/base/tooltip/default" to be set instead.

@fix

Test Plan: $clouseau elementary_test -to "tooltip"

Reviewers: raster, Hermet

Subscribers: seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2509
2015-05-19 18:09:50 +09:00
Daniel Kolesa 5535831733 eo: Eina_Bool -> bool 2015-05-18 16:27:18 +01:00
Daniel Kolesa 23632431bd eo: sync with eolian syntax changes
This change is being done as part of the changes started by
EFL revision 058a9c9d88.
2015-05-18 16:18:24 +01:00
Amitesh Singh b416722303 genlist: track viewport size changes and re-eval items when it resizes
Summary:
This uses new Evas Callback type EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE
to listen to view port size changes.

Reviewers: Hermet, cedric, raster

Reviewed By: raster

Subscribers: SanghyeonLee, seoz

Differential Revision: https://phab.enlightenment.org/D2527
2015-05-18 20:29:37 +09:00
Amitesh Singh ea8838eb46 entry: No need to free ptr returned by _elm_util_mkup_to_text
Summary:
This is revision over D2459

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>

Reviewers: raster, Hermet, JackDanielZ

Subscribers: seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2461
2015-05-18 13:31:41 +03:00
ChunEon Park 74f0424f3e widget: more fix wrt item data.
widget item data is no more used.
use eo item data instead.

@fix.
2015-05-18 17:15:09 +09:00
Jee-Yong Um a522fa1b99 elm_object_item: fix the issue that del_cb doens't get item data as its parameter
Summary:
elm_object_item_del_cb_set() can set delete callback that is called on item deletion.
Del_cb, Evas_Smart_Cb, has void pointer for item data as its first parameter.
However, getting item data is broken.

@fix

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D2524
2015-05-18 17:10:09 +09:00
Daniel Zaoui e4e5ccb34d SlideShow: Fix double invocation of ItemClass delete function
When closing the application, the delete function given by the user in
the Item Class was called twice. During the clear process, the function
was called for every built item and then during the item destruction.

This patch fixes this behaviour by calling the user function only during
the item destruction.

Another fix has been added. It zero'es the built list pointer inside the
item. Without this fix, the item points to a list node that is already
freed and can lead during widget deletion to an invalid access inside
the list.

@fix T2394
2015-05-18 08:47:59 +03:00
Amitesh Singh ef01775db8 label: Fix memory leak.
Summary:
Fix memory leak when txt is NULL.

@fix

Reviewers: raster, seoz, Hermet, JackDanielZ

Reviewed By: JackDanielZ

Subscribers: JackDanielZ, seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2460
2015-05-18 08:26:50 +03:00
ChunEon Park 7188d3bfd9 clipper: hide the region_set()/get() APIs.
Provide the simple api as possible.
2015-05-18 13:56:09 +09:00
ChunEon Park 31c24fe745 fix makedist break.
clipper.eo was missed in include list.
2015-05-18 13:30:43 +09:00
Yakov Goldberg 687cd6a310 elm_toolbar: fixing Eolian comment markup 2015-05-17 18:47:10 +03:00
Yakov Goldberg fc245e9dd1 elm_toolbar: Move enums to elm_toolbar.eo
Move enums from elm_toolbar_common.h to elm_tollbar.eo in order to make
them more accessible for bindings.
2015-05-17 16:04:01 +03:00
Yakov Goldberg 2258c0d9ee elm_flip: Move enums to elm_flip.eo
Move enums from elm_flip_common.h to elm_flip.eo in order to make them
more accessible for bindings. Delete elm_flip_common.h.
2015-05-17 16:03:45 +03:00
Yakov Goldberg 21b4fd4d58 elm_scroller: Move enums to elm_scroller.eo
Move enums from elm_scroller_common.h to elm_scroller.eo in order to make them
more accessible for bindings. Delete elm_scroller_common.h.

Moved the include for elm_scroller.eo.legacy.h to the top of elm_scroller_legacy.h
to allow the use of the generated types in the function declarations.
2015-05-17 16:03:45 +03:00
Yakov Goldberg d3750c504f elm_panel: Move enums to elm_panel.eo
Move enums from elm_panel_common.h to elm_panel.eo in order to make them
more accessible for bindings.
2015-05-17 16:03:45 +03:00
Yakov Goldberg 9a70ca3999 elm.win.eo: fixed typo
Change param type name according to eo file: Elm.Win.Keygrab_Mode
2015-05-17 16:03:45 +03:00
ChunEon Park a87ed94604 clipper: improve doc. 2015-05-15 23:31:07 +09:00
jiin.moon 37302c6d5f elementary: Create new widget for image masking
Summary:
For now, if apply image mask to smart obejct, masking does not work except to implement in edc file.
@feature

Reviewers: Jaehyun_Cho, Jaehyun, jpeg, raster, cedric, Hermet

Subscribers: raster, jpeg, cedric

Projects: #elementary

Differential Revision: https://phab.enlightenment.org/D2055
2015-05-15 23:09:42 +09:00
Amitesh Singh 6fb21212f4 theme: return false if elm_object_style_set() failed to set requested style.
Summary:
elm_object_style_set(obj, "XXXX"); should return FALSE if XXXX style does not exist.
Although it does set default style if "XXXX" style does not exist.

@fix

Reviewers: raster, Hermet

Subscribers: seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2511
2015-05-15 19:17:01 +09:00
taehyub 311293f9aa elc_popup: add scroller into popup content area
Summary:
When popup has a content which is larger than window size, popup is to be larger than window.
so, scroller is added into popup content area.

Test Plan:
1. Making "elementary_test - popup" window smaller than popup content size.
2. Excute "popup-center-title + genlist content + 1 button" in "elementary_test popup"
After applying this patch.
3. popup content shows with scroller.

Reviewers: Hermet, seoz, woohyun, raster

Subscribers: raster

Differential Revision: https://phab.enlightenment.org/D2216
2015-05-15 15:10:35 +09:00
Carsten Haitzler ed8e4a0430 elm - tests - fix const warnings with new eina home get func 2015-05-15 12:36:45 +09:00
Amitesh Singh 147c786606 layout: Flush layout resize object's edje signals on focus/unfocus.
Summary: @Fix

Reviewers: cedric, seoz, raster

Reviewed By: raster

Subscribers: kimcinoo, seoz

Differential Revision: https://phab.enlightenment.org/D1913
2015-05-15 12:34:12 +09:00
Carsten Haitzler 83744ad301 elm notify patch submit - rebase lost my fix? fix now in extra commit
somehow a git rebase lost a fix. i don't know how. put back.
2015-05-15 11:26:47 +09:00
Vitalii Vorobiov 7e0fa12710 Elm_Notify: adding elm_object_part_text_set/get functionality
Summary:
Currently elm_notify doesn't allow to set or get text if
user's style contain some text parts and he need to set text into them.

Reviewers: cedric, seoz

Subscribers: raster, stefan_schmidt, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1333
2015-05-15 11:23:25 +09:00
Cedric BAIL b4da061934 elementary: use portable way to get tmp and home environment. 2015-05-14 21:26:44 +02:00
ChunEon Park b371af1d25 genlist: fix to return item style correctly.
Since the genlist items can be unrealized,
they own the tooltip strings in their item field.
Also, the tooltip string should be returned with it.

@fix
2015-05-14 22:21:05 +09:00
Daniel Kolesa 2ccbb06fea eo: fix according to latest eolian changes 2015-05-14 11:27:32 +01:00
Lukasz Stanislawski 927d78d095 atspi: add ACTIVE state to elm_win 2015-05-13 15:39:24 +02:00
Lukasz Stanislawski 31545f69f8 atspi: set FOCUSABLE state only when widget has no focusable children
AT-SPI2 specification states that active window can have only one widget
with FOCUSED state. This differs from elementary design which assumes
that whole elementary widget tree branch is focused.
Patch assumes that if a widget have no focusable children and can have
focus it can be marked as FOCUSABLE on atspi bus.
2015-05-13 15:39:24 +02:00
Lukasz Stanislawski 06f97cd1af atspi: do not return ELM_ATSPI_STATE_ACTIVE when widget is enabled.
According to atspi specification ATSPI_STATE_ACTIVE is reserved
only for windows having keyboard focus.
2015-05-13 15:39:24 +02:00
Lukasz Stanislawski c306271bc3 atspi: handle state change notifications in on_focus function 2015-05-13 15:39:24 +02:00
Ji-Youn Park 8d1a238d1c elm_win: Add elm win key grab. If keyrouter support several keygrab mode, apps can use it. 2015-05-13 20:57:36 +09:00
Daniel Kolesa c075f15d67 eo: sync with latest Eolian changes and introduce a harmless temporary hack 2015-05-12 16:27:09 +01:00
Lukasz Stanislawski 5d61fe27d4 atspi: add component interface to elm_widget_item objects. 2015-05-12 15:31:20 +02:00
Lukasz Stanislawski 0279a91e57 atspi: fix accessible_at_point method to match specification. 2015-05-12 15:24:16 +02:00
Daniel Kolesa 5fdf454ef0 eo: fix up the remaining doc comments 2015-05-11 15:25:29 +01:00
Daniel Kolesa e74cd43c7b elm_widget_item: fix doc comments 2015-05-11 15:11:48 +01:00
Lukasz Stanislawski 7abf897ac0 atspi: more org.a11y.atspi.Window signals is broadcasted. 2015-05-11 15:48:49 +02:00
Vitor Sousa d9174d4bc0 elm_win: Move enums to elm_win.eo
Move enums from elm_win_common.h to elm_win.eo in order to make them
more accessible for bindings.

Moved the include for elm_win.eo.legacy.h to the top of elm_win_legacy.h
to allow the use of the generated types in the function declarations.
2015-05-07 16:00:03 -03:00
Vitor Sousa 06bfb7cb94 elm_win_standard: Add elm_win_standard class
This commit adds the Eolian class elm_win_standard.
It is basically a derivation from elm_win that creates a default background.

The intent is to replace the legacy functions elm_win_util_standard_add and
elm_win_util_dialog_add by functions accessible via Eo API functions such as
eo_add and eo_do.

To fully replace an elm_win_util_standard_add call, use:

  eo_add(ELM_WIN_STANDARD_CLASS, NULL,
         elm_obj_win_name_set("example"),
         elm_obj_win_type_set(ELM_WIN_BASIC),
         elm_obj_win_title_set("Example"));
2015-05-07 15:59:50 -03:00
Vitor Sousa 7d21b7beb1 elm_win: Replace elm_win_constructor by constructing properties
Removed the constructing method elm_obj_win_constructor.
Now "name" and "type" are properties that must be set at creation, like this:

  eo_add(ELM_WIN_CLASS, NULL,
         elm_obj_win_name_set("example"),
         elm_obj_win_type_set(ELM_WIN_BASIC));

Also, the "title" property can be set at creation now.
2015-05-07 13:55:27 -03:00
Daniel Kolesa fd06107d07 eolian: use the new property syntax 2015-05-07 17:32:53 +01:00
Jee-Yong Um 198f086feb elm_genlist: Emitting signal when content or text is set in genlist item
Summary:
There could be a demand for providing subtle different item styles
according to the existence of icon or text swallowed in genlist item.
For example, if icon exists, genlist item shows icon, or show rectangle
where icon should be placed.
One style can have various form with this signal.

Reviewers: Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D2348
2015-05-07 17:18:45 +09:00
maxerba 44f53930ee Updating spanish translation 2015-05-06 19:03:29 +02:00
Vitor Sousa a4e9658e70 elm_photocam: use Efl.File in Elm_Photocam
Summary:
Address the issue:
- Elm photocam and the file interface clash on file_set.
Specified in the page:

https://phab.enlightenment.org/w/efl_interfaces/

Reviewers: felipealmeida, tasn

Differential Revision: https://phab.enlightenment.org/D2351
2015-05-06 15:46:46 +01:00
Tom Hacohen 9639418c59 Win: Make animator,tick signal actually work.
This commit also updated one of the elementary test to show
the new one of doing it.

This lets users of the API just add a callback and automatically
get animation ticks. It's done per window, because update rate
may be different for different windows (think different screens).
2015-05-06 15:46:46 +01:00
Vitor Sousa 7b74f29445 Revised classes and interfaces in .eo files and added missing attributes
Summary:
Some newly implemented attributes are not present in several classes and
interfaces.

This patch:
- Adds some attributes (like @nullable, @optional, own, free) to several .eo files.
- Changes some eina types names to the equivalent eolian name (like "Eina_Bool" to "bool")
- Adds the element type of lists and iterators.

Reviewers: felipealmeida, tasn

Reviewed By: tasn

Differential Revision: https://phab.enlightenment.org/D2350
2015-05-06 15:46:46 +01:00
Tom Hacohen efc0d3ef35 Elm image: Use correct Eolian namespace syntax. 2015-05-06 15:46:46 +01:00