Commit Graph

11475 Commits

Author SHA1 Message Date
Lukasz Stanislawski 1c9b108b8d genlist: implement Atspi_Selection interface
Allow to select and deselect genlist items by Assistive Technology
Clients through org.a11y.atspi.Selection dbus interface.
2015-05-26 15:36:06 +02:00
Carsten Haitzler a119165b14 theme - efm - redo folder to stand out more amongst all the file icons
the paper with earmarked corner and dir in it just doesn't stand out.
too plain and so you can't tell dirs from other files easily at all.
replace with a more normal foler icon that now stands out.
2015-05-26 12:14:55 +09:00
Carsten Haitzler fcc446973e update po's 2015-05-25 11:53:23 +09:00
Carsten Haitzler bb135cb5f6 theme - add more efm basic file type icons
Icons by ApB - see T1582 - fixes T1582

not really a bug ... just more icons. :)
2015-05-25 11:52:36 +09:00
Umesh Tanwar 4be797c525 Genlist: support of ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY mode of genlist item for ELM_ITEM_SELECT_ON_FOCUS_DISABLE config variable.
Summary:
When environment variable ELM_ITEM_SELECT_ON_FOCUS_DISABLE is set
_item_focused_next() function doesn't support for ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY mode.

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

@fix

Reviewers: raster, Hermet

Subscribers: singh.amitesh, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2464
2015-05-22 14:33:11 +09:00
Carsten Haitzler a52bce3a8d elm config - init wl if env vars indicate we should
this ensures event id's are initted and more if we are in wl mode like
in x11 mode

@fix
2015-05-22 12:12:36 +09:00
Amitesh Singh 748bfb5807 test_genlist: Fix warnings while running "Genlist Textblock".
Summary:
'Genlist Textblock' uses message style which does not have elm.swallow.icon
part.

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

Test Plan: elementary_test -to "Genlist Textblock"

Reviewers: raster, Hermet, JackDanielZ

Subscribers: seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2546
2015-05-22 03:42:25 +09:00
Thiep Ha c5014981be fileselector button: correct window parent finding
Summary:
Fileselector button fails to run in inwin mode.
It is caused by incorrect window parent finding.
This patch corrects the window parent finding.

@fix

Test Plan:
run FileSelector Button, toggle Inwin mode option to on,
eo gives error and nothing is shown.

Reviewers: Hermet, seoz

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D2552
2015-05-22 03:35:47 +09:00
Vaibhav Gupta 1488595c1e Gengrid: Updated gengrid to select the last item.
Summary:
Updated gengrid to move item selection in 'vertical' mode to the last
item, when currently selected item is not in the last row. As per the
original behaviour, on moving down from such an item, it takes the
focus out of the gengrid widget. Now it is updated to go to the last
item (in last row), and then on further pressing down, focus comes
out of gengrid.

This is something similar to what happens in other UI systems like in
Ubuntu and Windows, when pressing down on (n-1)th row, the last item
in the nth row gets focused.

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

Reviewers: Hermet, SanghyeonLee, raster

Reviewed By: raster

Subscribers: sachin.dev, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D2418
2015-05-21 18:02:00 +09:00
Daniel Zaoui 8019b970b9 Fix make clean
The problem was that eo files were deleted during make clean.
2015-05-21 10:02:40 +03:00
Aleksey Karmanov f00566ce63 elm_genlist: fix implementation of genlist tooltip functions
Summary:
elm_genlist_item_tooltip_style_get
elm_genlist_item_tooltip_window_mode_get
@fix

Reviewers: artem.popov, myoungwoon, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2530
2015-05-21 10:22:23 +09:00
Davide Andreoli b735386a45 Immediatly change the cursor if changed from inside the widget
@fix elm_object_cursor_set() to work also when used with the mouse pointer
yet inside the widget, otherwise you need to mouseout/mousein to actually see
the new setted cursor.

Please give a short review on this one, maybe there is a simpler way to check
if the pointer is inside the widget...

Also added a button in the cursor test for this use case
2015-05-20 21:32:08 +02:00
Daniel Kolesa 3a2e56614c eo: remove occurences of @const_get/@const_set 2015-05-20 17:54:54 +01:00
Tom Hacohen c56d494f2f Fix usage of the now removed eo_error_set().
This API has been removed from Eo.
2015-05-20 16:31:42 +01:00
Daniel Zaoui b4f6cf1c8c Adapt Eo classes to use new Eolian types 2015-05-20 16:08:53 +03:00
Daniel Zaoui 7ec8cb336f Move elm_general types to Eolian format 2015-05-20 16:08:53 +03:00
Daniel Zaoui 3cbd0c1da8 Eolian: support of eot file 2015-05-20 16:08:53 +03:00
Tom Hacohen 27b72840c8 Adjust usage of eo_constructor() according to recent changes. 2015-05-20 13:03:28 +01:00
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