Commit Graph

9354 Commits

Author SHA1 Message Date
Shilpa Singh 9151befe0d Colorselector: Item Selection/Unselection logic changes and corresponding API additions.
SUMMARY
Item should remain selected once pressed.
When one item is selected other items should be unselected.
No special behavior on long press, item gets selected on mouse up.
APIs added are to get current selected item and to programmatically
control the selection/unselection of an item.

This is patch D515 (had to do by hand).
2014-02-08 13:33:58 +09:00
Andrii Kroitor 3771a6d473 Elementary menu item: handling hidden icon
Summary:
Added noicon menu item state to default menu theme.
Now you can hide icon by setting it to "" (empty string)
Removed check for resetting the same icon name. This allows setting an icon
after it was hidden.

Reviewers: cedric, seoz, raster

Reviewed By: raster

CC: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D522
2014-02-08 13:17:24 +09:00
Carsten Haitzler a31944daa4 elm-menu - fix style to use current when setting menu bar 2014-02-08 13:13:45 +09:00
Andrii Kroitor 7aa326c4a7 Elmementary menu styling fixed
Summary:
When custom style is applyed to menu the same style will be applyed to
its internal hover object.
Moved hover styles used by menu from hover.edc to menu.edc

Reviewers: cedric, seoz, raster

Reviewed By: raster

CC: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D514
2014-02-08 13:13:45 +09:00
Jaehwan Kim 9d4a9dae02 access: Add elm_widget_access_highlight_in_theme_set/get.
This is for widget to draw the access highlight itself in theme.
2014-02-08 12:27:41 +09:00
Carsten Haitzler 36a373ce1c Revert "Revert "atspi: event broadcast added. Orca screen reader now ables to read UI.""
This reverts commit 803553c253bc4ee140a4b447c29ffe35c31288ab.

This also removes the unused enum typedef in the header. only c++
seems to care (or -ansi or -pedantic or something)
2014-02-08 11:28:58 +09:00
U. Artie Eoff 2ac7caba96 Revert "atspi: event broadcast added. Orca screen reader now ables to read UI."
Breaks elementary applications compilation

See https://phab.enlightenment.org/T917

This reverts commit 71cd5a1a077807bc32a67d309fba9e1474fffa4d.
2014-02-07 10:49:10 -08:00
Shilpa Singh b2d43d4cf4 Colorselector: Palette_items_get API added.
Summary:
Summary:
Issue:Colorselector adds default palette items by reading colors
from config, application do not have any way to get that color list.
Solution: API added to get the palette's item list.
Signed-off by: Shilpa Singh(shilpa.singh@samsung.com)

Test Plan:
Test Plan: Create a list pointer and call palette_items_get API to get
the list of color items. Change the color of any item to confirm
whether the list has been returned correctly.

Eina_List *list = elm_colorselector_palette_items_get(cs);
Eina_List *list2 = eina_list_last(list);
Elm_Object_Item *color_item = eina_list_data_get(list2);
elm_colorselector_palette_item_color_set(color_item, 0, 0, 0, 255);

Reviewers: seoz, Hermet, raster

CC: govi, myoungwoon

Differential Revision: https://phab.enlightenment.org/D503
2014-02-07 23:35:13 +09:00
Tom Hacohen 5174961edd Elm entry: Set initial select mode for non desktop entries.
Initial select mode was not properly set, as was just left to default.

This, in combination with the following from the efl repo:
commit 211845c885
commit c061e76927
fixes T861.
2014-02-07 14:22:37 +00:00
Jaehyun Cho 4aeb779a48 naviframe: Hide inserted view if the view is not a top view
Summary:
Although an inserted view is not a top view, the inserted view is shown
         because it is not received invisible signal.
         To resolve the problem, the invisible signal is emitted if the inserted
         view is not a top view.

Reviewers: Hermet, raster

Reviewed By: raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D494
2014-02-07 23:21:31 +09:00
Lukasz Stanislawski 74fbb2c8ea atspi: event broadcast added. Orca screen reader now ables to read UI.
Summary:
added broadcast of focus, window activate/deactivate events on a11y bus
Orca screen reader is now able to read elementary application.

Reviewers: raster, seoz, z.kosinski, kimcinoo

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D508
2014-02-07 23:03:07 +09:00
Tae-Hwan Kim a9aec7a43e [Widget] Prevent widget item API calls while item is deleting except data_get API call. The data by data_set is user_data. So it can be needed inside deleting function trace.
Reviewers: raster, cedric, Hermet, seoz

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D525
2014-02-07 18:09:46 +09:00
Carsten Haitzler 07a4f33868 datetime - fix warning! 2014-02-07 18:08:29 +09:00
Tae-Hwan Kim 8025cb8b46 [Icon/Layout] Clean-up signal callbacks when signal is freed or layout is deleted. If not, dangling edje callback can be remained at some moment.
Reviewers: raster, cedric, seoz, Hermet

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D509
2014-02-07 18:06:06 +09:00
Carsten Haitzler 22b9f5c9e3 attempt to fix up CID 1167968 2014-02-07 16:43:44 +09:00
Shinwoo Kim 7de1c8e8cf [access][layout] sort focus list based on geometry value
Conflicts:
	src/lib/elm_layout.c
2014-02-07 15:17:38 +09:00
ChunEon Park b7cf4d8503 win - +null check.
we don't sure target always has clipper.
2014-02-07 14:32:04 +09:00
Daniel Juyung Seo cf3399ffd6 elm: Fixed some typos in the documentations.
- Put @c in front of constants on doxygen.
- Used @p for the parameter.
- Put comma(,) in appropriate places.
2014-02-07 02:53:24 +09:00
Ryuan Choi db892d4ba3 datetime: Simplify the nested loop in _datetime_items_get() 2014-02-07 01:17:44 +09:00
Ryuan Choi 36ea4dea78 datetime: fix wrong condition for validation in _field_limit_get()
It's regression since 9dc3a2829.
We don't need to consider min_limit/max_limit for ELM_DATETIME_AMPM.

This will fix CID 1167969, 1167970
2014-02-07 01:04:18 +09:00
Jaehwan Kim bb90c9d9d0 win: Add a API, elm_win_type_get. 2014-02-06 19:28:39 +09:00
WooHyun Jung 0a1179dde4 elm_layout now supports focused/unfocused smart callback
by itself for widgets that inherit layout class.
If it uses elm_widget's, smart callback will be called at the
beginning or smart_on_focus function.
2014-02-06 16:18:57 +09:00
Cedric BAIL cf038253ea elm_web: disable support for Webkit/EFL.
Current git head require latest Webkit/EFL from svn. Waiting to update
the release tarball to go along with 1.9 release to re-enable it.
2014-02-06 16:04:37 +09:00
Chinmaya Panigrahi b318b09d05 test genlist: Fixed warning in genlist item styles.
Summary:
"_genlist_renew(gl, "default"); " was trying to get the data
" check = evas_object_data_get(obj, "check"); " before
it's set by " evas_object_data_set(gl, "check", check); "

Test Plan: elementary_test < then type genlist item styles >

Reviewers: seoz, singh.amitesh

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D518
2014-02-06 14:31:16 +09:00
Mike Blumenkrantz 65a0da0b4b Revert "theme - remove shadow from border now comp provides it again"
This reverts commit 3d0eb4137359134eac2c815194a34472e2762c03.

this breaks shadows completely. no more dicking with shadows until the object that they should come from gets finalized.
2014-02-05 13:32:29 -05:00
Carsten Haitzler 91977af372 theme - menu - fix menu shadow to not overlap comp shadow 2014-02-06 02:05:57 +09:00
Carsten Haitzler c127476424 theme - remove shadow from border now comp provides it again 2014-02-06 02:05:57 +09:00
Ryuan Choi e43b60571f elm datetime module: Fix that registers clicked callback of diskselector multiple
It drains the performance when selected value in diskselector.
2014-02-06 01:45:31 +09:00
Ryuan Choi ce7d37ad90 datetime: Enhance launching time of test_datetime by avoiding _reload_format() in visible_set()
visible_set() only changes the visibility of one field while _reload_format()
changes everything.

This patch makes visible_set() just change only related field when only it's state
is really changd(enabled <-> disabled) instead of calling _reload_format().
2014-02-06 01:14:39 +09:00
ChunEon Park c2489943a7 win - +null object checking.
it allows previous highlighted object is empty.
So it should be checked before accessing.
2014-02-06 00:16:59 +09:00
Daniel Juyung Seo de114b6101 entry: Added @since 1.9 for newly added API elm_entry_select_region_set. 2014-02-05 20:59:53 +09:00
Daniel Juyung Seo 86fd47e62f config: Removed unnecessary internal function decralations. 2014-02-05 20:35:09 +09:00
nirajkr 2a8c2f1b53 focus: Added elm_object_focus_highlight_style_get/set() to support custom focus highlight on widget
Summary: This new API will allow widget to have its own focus highlight style

Reviewers: seoz

CC: woohyun, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D501
2014-02-05 19:23:34 +09:00
Jihoon Kim ac16bd6fe6 entry: Add elm_entry_select_region_set API
Summary:
in case of GTK, it provides API to select a region of text (gtk_editable_select_region).
However, there are only API to select all or none in EFL.
This API will provide the way to select a region of text.

Test Plan: elementary_test > entry3 > press 'Region' button

Reviewers: woohyun, tasn, id213sin

Reviewed By: tasn

Differential Revision: https://phab.enlightenment.org/D520
2014-02-05 10:16:13 +00:00
Jihoon Kim 23f20bb23d flip: fix typo in comments 2014-02-05 14:37:46 +09:00
Mike Blumenkrantz 9d731b8948 e shadows back into default comp frame
T885
2014-02-04 22:26:22 -05:00
Daniel Juyung Seo 5771ea3b3e win: Renamed unclear internal variable name handled -> in_theme and
added comments.
2014-02-05 09:57:34 +09:00
Daniel Juyung Seo 3a84bc82b5 spinner_example: Made spinner editable to have more test cases about
changed and delay,changed callbacks.
2014-02-05 02:21:16 +09:00
Daniel Juyung Seo f678457eed spinner: Removed unwanted return from function _button_inc_start_cb().
This code is a leftover of 617cf8859f0f1fec5ea60fefef446b4454815554.
Now fixed!
2014-02-05 01:56:22 +09:00
Shilpa Singh d1ef22bccd spinner: After long press of inc/dec buttons, start continuously increasing/decreasing
Summary:
When inc/dec buttons are pressed, start changing value after longpress has happened on buttons and not immediately.
Signed-off by: Mohammad Irfan (mohammad.i@samsung.com)
Signed-off by: Shilpa Singh(shilpa.singh@samsung.com)

Test Plan: Long press on inc/dec buttons of spinner.

Reviewers: seoz, woohyun

CC: Hermet, jchanwook, raster

Differential Revision: https://phab.enlightenment.org/D365
2014-02-05 01:43:10 +09:00
Ryuan Choi 940d49cd82 datetime_input_ctxpopup: delay creation of ctxpopup until it is really needed. 2014-02-05 01:33:08 +09:00
Daniel Juyung Seo c387ca96c4 test_button: Removed evas_object_show() calls for icon from test code.
Summary: Icon is an internal object of button. There is no need to call evas_object_show() for icon widget.

Reviewers: seoz

Differential Revision: https://phab.enlightenment.org/D517
2014-02-05 01:23:22 +09:00
Ryuan Choi eaedf01afb datetime: Correct the validation of parameter in _field_format_get/_field_limit_get
Because field_list is an array, we should check boundary instead of NULL.
2014-02-05 00:53:14 +09:00
Amitesh Singh 48dc06e1ba win: removed printf in _elm_win_focus_highlight_geometry_get()
Reviewers: seoz

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D516
2014-02-04 22:27:59 +09:00
nirajkr b611e2292f focus: Added test cases for the existing issues/feature enhancement relate to focus
Summary:
Below are the test cases to reproduce the exisiting issues with focus or feature enhancement
         1. Focus cut for the first/last item by scroller.
         2. Focus animation on the last item.
         3. Focus goes out of view point while scrolling.
         4. Focus moves but the area of focus does not change.
         5. No focus highlight on widget items.
         6. No animation on widget item.
         7. No focus movement between widget to widget items.

Reviewers: seoz, woohyun

CC: singh.amitesh

Differential Revision: https://phab.enlightenment.org/D502
2014-02-04 20:29:29 +09:00
Jaehwan Kim f7dc81921c config: Change the value of THUMBSCROLL_SENSITIVITY_FRICTION in mobile config for an optimization. 2014-02-04 16:00:54 +09:00
Daniel Juyung Seo 2c41e102b4 po: Updated po files. 2014-02-04 12:24:30 +09:00
Daniel Juyung Seo 6a39ecb87a theme: Fixed distcheck by adding necessary image lists needed by efm
theme.

This was b0rken by latest efm theme changes.
2014-02-04 12:23:37 +09:00
Daniel Juyung Seo e78017c29e po: Update POTFILES.in according to the latest elementary test changes.
Special thanks to Simotek-Work for the report.
2014-02-04 12:16:06 +09:00
ChunEon Park 60547a9e1b mapbuf - don't leave the dangling static map pointer that won't be freed.
Some memory profiler tools regard this as the memory leak.
it makes engineers waste time to check this. especially app developers.
2014-02-04 10:27:48 +09:00