Commit Graph

11468 Commits

Author SHA1 Message Date
Lukasz Stanislawski 8062db6ab1 atspi: improve way of setting ATSPI SHOWING state
After this patch calculation of the atspi SHOWING state takes into
account also viewport of any parent implementing ELM_INTERFACE_SCROLLABLE.
2015-05-20 12:01:27 +02:00
Daniel Zaoui 5edaf3a9b1 test/scroller: apply coding style. 2015-05-20 09:09:46 +03:00
ChunEon Park bd8aea0eb0 scroller: add example for resizing scroll's content area.
Summary:
When content is resized, scrollbar's position is not updated.
Add bar position update after bar size is changed.

This is sample for resizing issue.

Test Plan: elementary_test -> scroller3

Reviewers: jaehwan, woohyun, seoz, raster, Hermet

Reviewed By: Hermet

Subscribers: raster

Differential Revision: https://phab.enlightenment.org/D2291
2015-05-19 22:00:18 +09:00
Jaehyun Cho 1a08a10f11 elm_win: Set initial withdrawn state from win's ecore_evas property.
Summary:
For instance, ecore_evas sets initial withdrawn state EINA_FALSE if elm_engine is "buffer".
Therefore, the initial withdrawn state is derived from ecore_evas property.
@fix

Reviewers: raster, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2435
2015-05-19 21:32:11 +09:00
Amitesh Singh 0b7de4a33e hoversel: Added item_focus_set/item_focus_get.
Summary: @feature

Reviewers: seoz, Hermet, raster

Subscribers: seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2436

Conflicts:

	src/lib/elm_hoversel_item.eo
2015-05-19 21:25:39 +09:00
Amitesh Singh 19f90dc5b7 ctxpopup: Added item_focus_set/item_focus_get.
Summary: @feature

Reviewers: raster, Hermet

Reviewed By: Hermet

Subscribers: seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2439

Conflicts:

	src/lib/elm_ctxpopup_item.eo
2015-05-19 21:22:13 +09:00
Thiep Ha 8506c99f26 entry: update selection handlers when entry is resized
Summary:
When entry is resized, selection handlers are not updated,
it causes selection handlers to be placed in wrong position.
This patch fixes it.

@fix

Reviewers: woohyun, seoz, herdsman, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2487
2015-05-19 21:13:55 +09:00
kumar navneet 6b1d3f0651 Patch to fix accessibility issue in coloselector item.
Summary:
Issue: accessibility not working in colorselector item
Soln: Fixed accessibility issue
Signed-off By: Kumar Navneet <k.navneet@samsung.com>
Signed-off By: Shilpa Singh <shilpa.singh@samsung.com>

Test Plan: export ELM_ACCESS_MODE=1, run elementary test and test color selector palette item.

Reviewers: cedric, Hermet, shilpasingh, raster

Reviewed By: shilpasingh

Subscribers: govi, poornima.srinivasan

Differential Revision: https://phab.enlightenment.org/D2496
2015-05-19 21:09:38 +09:00
Amitesh Singh aa2180941f test_hover.c: remove "transparent" hover style set.
Summary: This hover style does not exist anymore in default theme.

Reviewers: seoz, raster, Hermet

Subscribers: seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2513
2015-05-19 21:06:21 +09:00
Amitesh Singh c714e28f00 slider: use theme of object for popup.
Summary:
@fix

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

Reviewers: raster, Hermet, JackDanielZ

Subscribers: sachin.dev, seoz

Differential Revision: https://phab.enlightenment.org/D2542
2015-05-19 21:02:55 +09:00
shilpa.singh dde6e49e49 [Elm_ColorSelector]: Unnecessary widget creations, code execution avoided.
Summary:
Issue: Too many widgets get created during smart add itself, even if
not necessary, adding to the launch time.
Solution:
Create widgets based on mode, check for modes in generic functions
like smart theme, focus etc:-

Test Plan: elementary_test can be used to test colorselector demo.

Reviewers: cedric, raster, Hermet

Subscribers: rajeshps, govi, poornima.srinivasan

Differential Revision: https://phab.enlightenment.org/D2532
2015-05-19 20:56:48 +09:00
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