Commit Graph

7266 Commits

Author SHA1 Message Date
zmike 5d33b9af68 move slider track functions up 2014-03-02 15:04:07 -05:00
zmike f3f83a64fd @fix homogeneous genlist recalc on theme change
fix T1023
2014-03-02 15:04:07 -05:00
Daniel Juyung Seo 8afae8de2e widget: removed unused widget item member 'focused'. 2014-03-02 01:24:23 +09:00
Daniel Juyung Seo 1a29ad5679 elm: removing trailing white space ceremony for 1.9 release. 2014-03-02 00:52:26 +09:00
Daniel Juyung Seo 3c23a57e2e list: Run focus set/unset routine only when the focus status is changed.
I didn't tag this as 'fix' because this feature was added after 1.9
release.
2014-03-02 00:26:08 +09:00
Daniel Juyung Seo 5f3fedeff5 focus: Refactor mouse tracking code for focus.
- Reduced the if statement depth.
- Introduced new macro ELM_RECTS_POINT_OUT that checks if the point(xx,
yy) stays out of the rectangle(x, y, w, h) area.
2014-03-01 15:55:03 +09:00
Ryuan Choi ff2aa6e679 els_cursor: Fix crash when changing cursor since rELMb515c7477910
Extracted cursor_set from _elm_cursor_mouse_in() to call it without ev.

test case: elemntary_test -to cursor
2014-02-28 20:16:20 +09:00
Gustavo Sverzut Barbieri 9f6a9a51e8 elm_list/focus: @bugfix crashes with empty lists and unfocused elements. 2014-02-28 01:57:23 -03:00
Jaeun Choi 78accca4db elementary key binding feature implementation
Summary: This patch implements elementary key binding feature.

Test Plan: None

Reviewers: Hermet, raster

CC: seoz

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

Conflicts:

	src/lib/elm_config.c
2014-02-28 10:47:03 +09:00
Sohyun Kim d1e7e15601 [elm_config] support color classes
Summary:
support color classes for runtime color changes.
It works like text classes and is also added in configuration files.

Reviewers: seoz, Hermet, cedric, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D541
2014-02-28 07:16:45 +09:00
Daniel Juyung Seo 770e87bcdf fileselector: added more description to is_save_set api. 2014-02-28 02:45:28 +09:00
Jihoon Kim 3011093658 entry: Add ELM_INPUT_PANEL_LAYOUT_EMOTICON 2014-02-27 14:58:36 +09:00
Daniel Juyung Seo f5750399b3 hover: Made hover itself unfocusable.
@fix

Hover itself does not get key event. It should just forward the event to
the internal objects. So make it unfocusable.
Special thanks to Woohyun Jung.
2014-02-27 11:56:50 +09:00
Amitesh Singh 38ac88d9d5 list: focus highlight is handled by item theme.
Summary:
Problem: list theme (elm/list/base/default) is an alias of scroller
base theme (elm/scroller/base/default) in which focus_highlight is set to "on".
Solution: Now focus highlight in_theme is set by list item theme.

Test Plan: elementary_test->"List Focus"

Reviewers: seoz, woohyun

Reviewed By: seoz

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D572
2014-02-26 01:27:05 +09:00
Amitesh Singh ff3521ba9e list: Code refractoring of _item_focused_next()
Summary:
  # Added code to handle the case of disabled items.
  #  Code refractoring of _item_focused_next().

Test Plan: elementary_test->"list focus"

Reviewers: seoz, woohyun

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D571
2014-02-26 01:26:57 +09:00
Amitesh Singh d8ec1e5dde hoversel: Added "item,focused" and "item,unfocused" smart events for widget items.
@feature

Test Plan: elementary_test->hoversel focus

Reviewers: seoz, woohyun

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D564
2014-02-26 01:26:49 +09:00
Amitesh Singh 64370c24f3 popup: Added descriptions for the newly introduced item,focused/item,unfocused smart callbacks.
@feature

Reviewers: seoz

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D568
2014-02-26 01:26:42 +09:00
Daniel Juyung Seo 0492223206 list: Added descriptions for the newly introduced item,focused/item,unfocused smart callbacks.
@feature
2014-02-26 01:26:31 +09:00
Amitesh Singh 069a3de27d list: implemented widget item focus feature.
@feature

Summary:

  #    Added "item,focused" and "item,unfocused" smart callbacks.
  # Added elm_object_focused_item_get() in elm_widget
  # Added elm_object_item_focus_set and elm_object_item_focus_get() APIs for
  # Added one argument in existing _focus_highlight_geometry_get(...,is_next)
  This is required to find out previous and current widget item.
  # Added a elm_win function _focus_highlight_start() which starts the focus

Test Plan: elementary_test->List Focus , List Horizontal Focus

Reviewers: seoz, woohyun

Reviewers Comments: SeoZ - there are some known bugs. we will actively
fix them in a near future.

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D532
2014-02-26 01:26:22 +09:00
Amitesh Singh b22dd17eed popup: implemented widget item focus feauture.
@feature

Summary:
1. Added "item,focused" and "item,unfocused" callbacks for widget item since
  VIEW(item) is a elm layout.
2. Added sd->box into focus chain to enable the focus movement on widget items.

Test Plan: elementary_test -> popup -> "popup-center-title + items + 3 buttons"

Reviewers: seoz, woohyun

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D563
2014-02-26 01:26:02 +09:00
Daniel Juyung Seo fe9a0ec73a elm_authors.h: sync with AUTHORS. 2014-02-25 01:34:16 +09:00
Daniel Juyung Seo ff18fac8e7 list: fixed list to emit elm,state,list,single signal when there is only
one item.

This is a fix of a commit 44495f6431cdc5dbe6e8cb257cf73a69563ec67c.
2014-02-25 00:58:54 +09:00
Yakov Goldberg f863057d21 menu: add NULL checks to elm_obj_menu_item_add()
Function returns newly created item through last param
   Elm_Object_Item**. Add checks to make possible to pass NULL,
   if return is not needed.
2014-02-24 14:25:37 +02:00
Andy Williams 6e71ec05f7 Revert "oops, a mistake in T966 fix that could cause a segv"
This reverts commit b7d1cb531d1e196dee5f93dd4457e68df2692ed3.
2014-02-22 12:40:20 +00:00
Thiep Ha 8f92069a63 [Elm_Entry] Fix bug: magnifier position is incorrect when mouse down on selection handler
Summary:
Magnifier is displayed incorrectly when mouse down on selection handler

Reproduce way: Right click on entry (eg Entry), choose Select, select some text, press left mouse
on selection handler (do not move the mouse), take a look at magnifier position.
Reason: Magnifier position is set to mouse down position in entry.
Fix: Check mouse down status and place correct position for magnifier.

Reviewers: seoz, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D573
2014-02-22 12:06:31 +09:00
Daniel Juyung Seo aba69c4c5f elm_authors.h: Sync with AUTHORS. 2014-02-22 11:36:55 +09:00
Daniel Juyung Seo 05998a7730 tooltip: Fixed wrong API names. elm_tooltip -> elm_object_tooltip.
This was added in 1.9, so it should be changed before 1.9 release.
Thank god I found this out just right before the release.
2014-02-22 05:22:35 +09:00
Gustavo Lima Chaves c80868da12 Elm list, like genlist, should emit 1st/middle/last signals to its items.
So that one is able to theme these cases accordingly.
2014-02-20 14:10:10 -03:00
ChunEon Park 577d29a484 transit - fix the double free obj_data case.
if the object is added twice to the one transit,
the obj_remove_cb would be called twice.

in this case it will try to access the freed obj_data and crashed up.

now it's fixed.
2014-02-20 23:51:38 +09:00
ChunEon Park 390d70d95b tooltip - renamed the new tooltip apis until 1.9 release.
Before
elm_tooltip_move_lock_set()
elm_tooltip_move_lock_get()

After
elm_tooltip_move_freeze_push()
elm_tooltip_move_freeze_pop()
elm_tooltip_move_freeze_get()

we're likely to use the freeze rather than lock among the entire apis.
it's already discussed in the mailing list.
2014-02-20 20:49:01 +09:00
Yakov Goldberg d95f67d9c9 widget: remove OP_ID ELM_WIDGET_SUB_ID_DISPLAY_MODE_GET
elm_widget_display_mode_get() was removed in
   2aca940f040df01364301fe7b024be1f6d89a9d6.
   So OP_ID is not needed.
2014-02-20 09:56:26 +02:00
Andy Williams a5f38fe810 oops, a mistake in T966 fix that could cause a segv 2014-02-19 18:32:58 +00:00
Andy Williams 72191ab692 Fix T966, sort order of child folders.
Comparison was being incorrectly applied for child elements - they need to be treated differently if there are no siblings
2014-02-19 10:30:50 +00:00
Carsten Haitzler 9b23d6e02b calendar - fix unstable calc complaint
thios fixes T951
2014-02-19 19:25:32 +09:00
Bora Hwang 30e14a3a65 spinner: it has to be recalculated when its style is changed
Summary:
when style is set to be different one, spinner didn't update its min size.
So there was an issue that spinner has wrong position since it wasnt' check the updated size

Reviewers: Hermet, seoz

Reviewed By: seoz

CC: raster, cedric

Differential Revision: https://phab.enlightenment.org/D569
2014-02-19 14:02:44 +09:00
Daniel Juyung Seo bb9c784880 genlist: Added a small description 'Generic list' like gengrid does. 2014-02-19 13:45:27 +09:00
Thiep Ha 771887df2b [Dnd] Fix double text insert issue in elm_entry, drop at disable, non-editable entry
Summary:
Issue 1: If you drop text to elm_entry, text is inserted twice.
Reason: Drop callbacks are registered multiple times in elm_entry.
Resolve: Register only one drop callback at entry side.

Issue 2: Even thought entry is disabled, non-editable, you still can drop text, image file. (Example, run Entry Scrolled and drop text, image file to disabled or non-editable entries).
Reason: Drop callback are registered but not remove when entry is set to disabled, non-editable mode.
Resolve: Correct registering and removing drop callbacks in entry.

Reviewers: JackDanielZ, raster

Reviewed By: raster

CC: woohyun

Differential Revision: https://phab.enlightenment.org/D565
2014-02-19 12:25:08 +09:00
Yakov Goldberg 8a312631e6 app, atspi: add comments for Eo API
Add minimum comments for Eo API to make Eolian correctly
   process methods and parameter directions
   There are still exist not/half implemented functions, for which
   I didn't add comments.
2014-02-18 18:12:40 +02:00
Yakov Goldberg f40c6044a7 interface scrollable: fix doxygen 2014-02-18 16:27:52 +02:00
Yakov Goldberg 0d8777306a slider: fix doxygen 2014-02-18 16:27:52 +02:00
Yakov Goldberg 6345941ef3 elm widget container: fix doxygen 2014-02-18 16:27:52 +02:00
Yakov Goldberg 549e8cf8f0 elm atspi: add comments for Eo API
add minimum comments for Eo API to make Eolian correctly
    process methods and parameter directions
2014-02-18 16:27:52 +02:00
Yakov Goldberg 8a3e75f6c2 fileselector interface: fix doxygen 2014-02-18 14:57:33 +02:00
Carsten Haitzler a4cbdd7c39 fix more complaints on inwin shutdown and focus stuff
this fixes the rest of T958
2014-02-18 16:15:55 +09:00
Carsten Haitzler 7201bf91ff elm win - on shutdown some objects become null during shutdown so be quiet
so don't complain so much about it - it's normal. don't use the noisy
macros to do so. this fixes much of T958
2014-02-18 15:58:57 +09:00
Thiep Ha ae8c65f968 [DnD] Fix bug of hard-coded type when drag
Summary:
When we start dragging, the type is always set to "text/uri-list" no matter the format type set by application.
This patch fixs this hard-coded type issue. It will set types corresponding to the format type set by application.
For example, if application set format as ELM_SEL_FORMAT_TEXT, it will set types UTF8_STRING, STRING, COMPOUND_TEXT, TEXT,
text/plain, text/plain;charset=utf-8.

Reviewers: JackDanielZ, raster

Reviewed By: raster

CC: woohyun, seoz

Differential Revision: https://phab.enlightenment.org/D546
2014-02-18 15:47:08 +09:00
Yakov Goldberg be9053f343 fileselector interface: fix doxygen 2014-02-17 18:02:19 +02:00
Daniel Hirt 6248f9c0fa els_cursor: Fix mouse_out changing cursor to wrong image
Summary:
Fixes a bug when having a mouse_out event from elm objects that had a cursor set to them.
For example, Entry has a specific cursor set to it.
The bug is observable in Entry Test, and in any other test that has anchors (markup) in the entry widget.
Just take your mouse in an anchor, and out of it, to see that the entry now has the wrong cursor.

The old way of handling this asssumed that the triggering object had an elm-parent.
However, this is not the case for anchors.
Instead, it was agreed that the simplest way was to determine if there is any elm object,
with a cursor set to it, under the current mouse position.
If one is found, then use the cursor assigned to it.
Fixes T878.

Reviewers: tasn, raster

CC: raster, JackDanielZ

Maniphest Tasks: T878

Differential Revision: https://phab.enlightenment.org/D551
2014-02-17 21:34:59 +09:00
Ryuan Choi 7c4288548b colorselector: Do not add custom palette color to the palette of config
Summary:
elm_colorselector_palette_color_add() clears the palette if config_load is true.
It means that this API will add paletter color only for this colorselector object.

Fixes T786

Test Plan: Added elm_colorselector_palette.

Reviewers: seoz, raster

Maniphest Tasks: T786

Differential Revision: https://phab.enlightenment.org/D557
2014-02-17 21:26:14 +09:00
Jaehyun Cho bd7c5cbbff naviframe: Fix elm_naviframe_item_pop_to not to attempt to remove removed item
Summary:
Previously, the following error message is shown.
         eina_inlist_remove() safety check failed: item does not appear to be part of an inlist!
         Now, eina_inlist_remove() is removed from elm_naviframe_item_pop_to
         because eina_inlist_remove() is called in _item_del_pre_hook.

Reviewers: seoz, raster

Reviewed By: raster

CC: Hermet

Differential Revision: https://phab.enlightenment.org/D553
2014-02-17 21:09:53 +09:00
Jaehyun Cho 934113bc20 naviframe: Fix to set only top view to be focusable
Summary:
Previously, all views were focusable except during transition.
         Now, only top view is focusable.

Reviewers: seoz

CC: Hermet

Differential Revision: https://phab.enlightenment.org/D554
2014-02-17 21:03:01 +09:00
Jaeun Choi 0e6364aeef elm_index: disable indicator when the selected item is unselected
Summary:
in current code, indicator is disabled only when mouse up event happens.
if the selected item is unselected through API before mouse up,
the indicator will remain active while no item is selected (highlighted).

Test Plan: None

Reviewers: Hermet, seoz, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D560
2014-02-17 20:24:18 +09:00
Jaeun Choi ec676a543f index: send active signal(elm,state,active) to selected item in auto_fill
Summary:
when index box is cleared and refilled, selected item's status still remains as selected
but not highlighted. should send active signal to the selected item so that it is highlighted.

Test Plan: None

Reviewers: Hermet, seoz

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D559
2014-02-17 00:54:56 +09:00
Ryuan Choi 83d00b0ab5 elm_web2: Fix possible crash when loaded the contents which contains form elements
ewebkit requires webkit theme to draw form elements so elm_web might be crashed
when ewebkit didn't get theme path at debug build.
2014-02-16 21:19:17 +09:00
Andy Williams d1534e4aa9 Fix issue where items added into tree with more than 2 levels could be rendered at the wrong location in the list.
Fix this by ensuring items are attached after all items below the current node rather than only below those at the current level of children
2014-02-15 20:23:18 +00:00
Davide Andreoli 4ae7078e0f Label doc: add a note about the conversion duration->speed and viceversa. 2014-02-15 12:42:27 +01:00
Carsten Haitzler 1d4b74e1de elm scroller - fix self feeding reconfigure to bail out on many loops 2014-02-14 17:32:13 +09:00
Carsten Haitzler c45fd8aff3 list - fix mode set to have override power over scroll limit api 2014-02-14 12:19:40 +09:00
Daniel Juyung Seo 9ec7fd7dec menu: Fixed wrong internal variable name.
It should be 'it' not 'subitem'. It was wrong and confusing.
2014-02-13 15:40:21 +09:00
Carsten Haitzler 0fb094063b entry - fix scroller hide/show signal when changing style (edje obj) 2014-02-12 20:39:39 +09:00
Cedric BAIL 8392c0346e gitignore: ignore newly generated file. 2014-02-12 17:00:00 +09:00
Cedric BAIL e49a249ec9 elementary: use autotools to generate version number and avoid future mistake. 2014-02-12 16:59:57 +09:00
Jihoon Kim 5ecc689064 fix version and date in doxygen 2014-02-12 08:07:57 +09:00
Davide Andreoli 33cd0f930d Label: better speed/duration calculation.
This fix the speed calculation with slide_short and slide_bounce
animation. Previously the calc was right only for slide_long.
2014-02-10 22:53:26 +01:00
Davide Andreoli b79fe302a0 Label: formatting 2014-02-10 22:31:58 +01:00
Daniel Juyung Seo 192a9e80e7 elm: fixed up the comments after the struct member.
It should be /**< not /*<<
2014-02-10 22:27:08 +09:00
Seunghun Lee 2f2741f981 elm_win: added the window manager rotation feature and a sample.
Summary: since to control the rotation of application windows by WM, already added related feature in Ecore_Evas. Added related API for it.

Reviewers: raster, seoz

CC: gwanglim

Differential Revision: https://phab.enlightenment.org/D542
2014-02-10 22:09:45 +09:00
Davide Andreoli 2711a225ba Label: add 2 new api for setting the slide animation speed.
Added API:
void elm_label_slide_speed_set(Evas_Object *obj, double speed);
double elm_label_slide_speed_get(const Evas_Object *obj);

This work is based on the previous reverted commit by nirajkr, thanks!
I hope this will fullfill his requirement, please let me know of
any problems.
2014-02-10 00:13:03 +01:00
Davide Andreoli 3e5e4f6039 Revert "label : Added the API to match the speed of label to different label"
As discussed I will try to implement the same functionality but with a different api.

This reverts commit 56a2c96ea7a731d6066aa7cb0964a633c5bed35c.
2014-02-09 20:21:21 +01:00
Daniel Juyung Seo 5837174fab hoversel: Added more description about elm_hoversel_item_add's callback
function.
2014-02-10 00:59:47 +09:00
nirajkr 29069fe9c5 label : Added the API to match the speed of label to different label
Summary:
Currently we do not set the speed of two label same
         This patch fetch the information of the previous
         label to set it to the next label to match the speed
         of the previous label

Reviewers: seoz, raster

Reviewed By: raster

CC: singh.amitesh

Differential Revision: https://phab.enlightenment.org/D531
2014-02-09 22:55:38 +09:00
Carsten Haitzler 1e35d4bab0 oops. 2014-02-09 22:55:13 +09:00
Carsten Haitzler 5ad19f6f4b remove unreachable code (coverity) 2014-02-09 22:43:03 +09:00
Daniel Juyung Seo 3dbe6404df atspi_bridge: unref ret if iter_struct is null
This fixes coverity CID 1170201.
2014-02-09 22:15:02 +09:00
Davide Andreoli d31d409c7d Docs: actually show the functions. Missed doxy group. 2014-02-09 12:44:22 +01:00
Daniel Hirt 41b6a932fe elm cnp: fix freeing selection buf
Moved a misplaced ELM_SAFE_FREE of the selection buffer,
 as valgrind still showed lost bytes with selection.
2014-02-09 13:22:24 +02:00
Amitesh Singh 431b15cd48 focus: Added focus_highlight_geometry_get() into elm_widget.
Summary:
Currently, elm_win was handling focus_highlight geometry of widgets.
Removed elm_win_focus_highlight_geometry_get() from elm_win and now elm_widget handles focus highlight geometry.
This is required to support the focus highlight on elm widget items.

Test Plan: elementary_test -> focus

Reviewers: seoz, raster, woohyun

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D530
2014-02-09 19:56:07 +09:00
Carsten Haitzler 1f0567af98 config - feature add - audio muting config and controls 2014-02-09 19:17:01 +09:00
Bora Hwang 12a6a48e72 ctxpopup: add a new api for ctxpopup which makes ctxpopup not to hide automatically
Summary:
Developer can use this API for the case when he/she wants ctxpopup not to hide
automatically when parent of ctxpopup is resized or language is changed.
Default value of "disabled" is EINA_FALSE. So if user sets "disabled" EINA_TRUE
and parent size changes, ctxpopup recalculates its size and position.
Since size of bg is set when setting parent only, it should be resized again.

Reviewers: Hermet, seoz, thiepha, raster

CC: c

Differential Revision: https://phab.enlightenment.org/D510
2014-02-09 18:11:47 +09:00
zmike 7899534662 +elm_genlist_item_subitems_get() 2014-02-08 16:03:25 -05:00
Davide Andreoli 1329c89dc3 docs for the new entry style tags 2014-02-08 20:40:34 +01:00
zmike a3ff700982 +genlist_item_subitems_count()
group apis are currently pretty lacking. there should probably be functions for iterating over subitems in addition to this one
2014-02-08 01:16:06 -05:00
Jaehwan Kim db23689614 access: Add smart signal "access,changed"
It occurs that access mode is changed.
Application can add this callback for each widget.
2014-02-08 14:05:14 +09:00
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
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
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
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 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 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
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
Ryuan Choi 315d43e29a datetime: fix doxygen 2014-02-04 01:43:52 +09:00
Daniel Juyung Seo 8acb4820bc elm: Fixed comments and documentations on test_focus and genlist header. 2014-02-04 01:35:40 +09:00
Ryuan Choi c40f30d772 fileselector: Fixed typo of warning message in ELM_FILESELECTOR_INTERFACE_CHECK
It's c&p mistake.
2014-02-04 01:25:18 +09:00
Daniel Juyung Seo 5a787bf58a Colorselector: Item_signal_emit_hook added.
Summary:
Issue: If application has to preselect an item, or change item properties by customizing theme
there is no option provided for the same.
Solution: Add item_signal_emit_hook.
Signed-off by: Shilpa Singh <shilpa.singh@samsung.com>

Test Plan:
Send a signal to item and verify UI
Elm_Object_Item *item = elm_colorselector_palette_color_add(cs, 133, 100, 255, 255);
elm_object_item_signal_emit(item, "elm,state,selected", "elm");

Reviewers: seoz, Hermet

Reviewed By: seoz

CC: govi

Differential Revision: https://phab.enlightenment.org/D504
2014-02-04 00:32:05 +09:00
Amitesh Singh cbae377ef7 focus: Added "focus_part" support on elm widget.
Summary:
Currently, focus highlight comes on the widget's geometry. Elementary does not have option to provide the focus highlight on widget's part.
This patch provides the option to provide focus highlight on the widget's part.
e.g.  data.item: "focus_part" "part";
The focus highlight would come on part's geometry instead of widget's geometry. This patch only works on widgets which uses
resize_obj.

Reviewers: seoz, woohyun

Differential Revision: https://phab.enlightenment.org/D499
2014-02-03 17:52:02 +09:00
Daniel Juyung Seo 18f5c6b19c hoversel: Removed unnecessary null check for elm_object apis. 2014-02-03 14:58:08 +09:00
Ryuan Choi c449cc96c6 datetime: Refactor to launch test_datetime little bit faster
- Added enabled_filed_count to avoid loop in _elm_datetime_smart_sizing_eval().
  sizing_eval is called many times but field_count is only changed when called
  _reload_format().
- Moved redundant if statement out of the loop in _field_list_display().
- Removed redundant call from _elm_datetime_smart_add().
  _field_list_arrange() is called in _reload_format().
2014-02-03 09:03:26 +09:00
Ryuan Choi a1a87c102e fileselector: Fixed that data of "done" signal may start with two slash
When moved to root(/) and typed something in name_entry,
ok button sent //something as as data of "done" signal.

This patch checked current path string not to concatenate two slash.
2014-01-29 23:19:46 +09:00
Daniel Hirt 2f5a0068fd elm entry: Fix anchor bug finding wrong anchor geometry.
Summary: Fix a bug with finding the proper geometry when reporting anchor
interaction. It's easy to see in entry anchor2 test in elementary_test
when clicking on the lower border of the anchor.

Anchor geometries are relative to the textblock object. The problem was
that this was accounted for using the edje object's geometry instead of
the textblock geometry thus causing an offset.

Reviewers: JackDanielZ, tasn

CC: seoz

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

TAsn: Commit message edited by me.
2014-01-28 14:43:43 +00:00
Ryuan Choi 70782a358b fileselector: Fixed that does not navigate / on path_entry
href=/> are not working because /> is considered to self closing tag.

Instead. href='/'> is fine since rEFL2d4ba9e8d
2014-01-28 16:30:06 +09:00
Daniel Juyung Seo 5f0ca660b4 elm: Unified the usage of strncmp.
- Use strlen instead of sizeof(x) - 1 for string length calculation.
- Use !strncmp for null check.
2014-01-27 02:07:44 +09:00
Ryuan Choi c20daaf10f web: Follow latest webkit change to fix build break with latest ewebkit
ewk_view_tiled was dropped.
ewk_view_single -> ewk_view.
2014-01-26 12:26:13 +09:00
ChunEon Park 9b9a3ccc40 fileselector - use the internal widget apis as possible.
We already know some apis are just wrapping the internal widget apis.
Iternally we don't need to call the external apis that have additional object validation checking.
2014-01-26 02:19:23 +09:00
Tom Hacohen ad36b35ffc Revert "[naviframe] Fix to hide the previous view by emitting signal"
This breaks elementary_config (open it and you'll see the weird bugs on
the top left corner). Please fix it and recommit as needed. I have no
time to dive into naviframe and see what this patch is meant to be
doing.

This reverts commit e3784b68e01849a99e06f31e02192ffb19d1275c.
2014-01-24 17:37:24 +00:00
Daniel Juyung Seo 3f4325c459 naviframe: Better structure packing for naviframe item and added more
description about item structure members.
2014-01-24 10:51:48 +09:00
Cedric BAIL eb66e87955 autotools: restore support of static compilation.
This should fix T599.
2014-01-24 10:29:22 +09:00
Daniel Juyung Seo 98a08addc4 elm: Defined the same macro, MAX and MIN, in elm_priv.h
MAX and MIN are defined in a couple of places and they was already
defined in elm_priv.h. So use elm_priv.h's one.
I also moved CEIL to elm_priv.h that can be used in another places.
2014-01-23 23:15:39 +09:00
Daniel Juyung Seo b74c805a74 list: Used macro for list swipe time like genlist. 2014-01-23 23:11:12 +09:00
Daniel Juyung Seo 17e788cc47 entry: Renamed internal macro name with prefix ELM_ENTRY for
consistency.

_CHUNK_SIZE -> ELM_ENTRY_CHUNK_SIZE.
2014-01-23 23:09:28 +09:00
Daniel Juyung Seo 3aeefab17b entry: Used macro for entry delay write time. 2014-01-23 23:08:55 +09:00
Daniel Juyung Seo 79ddfdd961 conform: Use macro for indicator timer. 2014-01-23 22:58:56 +09:00
Ryuan Choi a3c5ee407f elm_cnp: Fix that calls _x11_elm_widget_xwin_get two times at elm_cnp_selection_{set|get}
small refactoring.
2014-01-23 22:22:33 +09:00
ChunEon Park f8d00ae0f2 elementary - override widget translation but work also the base widget's behavior.
Some widgets override the widget translation but it didn't inherit the base widget's function.
Becuase of it,The language changed won't be properly called in the widget tree.

Now it fixed it.
2014-01-23 20:20:43 +09:00
ChunEon Park 39ad0e358e elementary - support language changed callback from a few widgets.
support a language,changed callback if a widget has the text part in default.
2014-01-23 20:07:20 +09:00
ChunEon Park dbacb2fef9 elementary - send signal "language,changed" with one way in the widget.
Call the smart callback in the widget infra so that each widget don't need to hook the smart_translate only for the smart call.

This makes reducing duplicated code and supporting language,chagned from all widgets.
2014-01-23 19:30:34 +09:00
ChunEon Park aebdcff513 elementary - use the focused/unfocused string in widget defined.
Now, it will share the strings so that reduce the binary size also user uses it in one way.
2014-01-23 17:27:17 +09:00
Amitesh Singh aed0272e8c focus: Fixed focus issue that the highlight was not visible on first
click.

Summary:
Focus highlight was not visible on first click on a widget with focus_highlight enabled on the window.
This happens because on first click, the "elm,action,focus,show" signal was emitted before setting focus highlight edje object as theme object of elm window.
In this patch, moved the  _elm_win_focus_highlight_visible_set() call after focus highlight edje object set as theme object of window.
This fixes T774.

Test Plan:
elementary_test->focus then click any widget. Focus won't appear for the first time.

Reviewers: seoz, raster, woohyun

Maniphest Tasks: T774

Differential Revision: https://phab.enlightenment.org/D462
2014-01-23 14:12:53 +09:00
Carsten Haitzler 91c61d0837 naviframe - don't access item after del 2014-01-23 11:59:07 +09:00
Daniel Juyung Seo 3eb9e6b4cf spinner: Uncomment ctype.h inclusion because isspace is used.
It looks like ctype.h is included in some other headers by luck but it
is recommended to explicitly include the necessary header.
Confirmed by glima as he commented this out.
2014-01-23 01:31:53 +09:00
Daniel Juyung Seo ac00267206 spinner: Internal code clean up for spinner.
- Used macro for constant.
- Changed timer name to be more descriptive.
- Added descriptions about timers.
2014-01-23 01:31:53 +09:00
Daniel Juyung Seo e7528a2e78 naviframe: Use elm_widget_item_del() when you want to delete the item
data.

It will call del_pre_func and free the item data.
Special thanks to glima for the report.
2014-01-22 23:33:47 +09:00
Jaehyun Cho 404093c701 [naviframe] Fix to enable item deletion in pop_cb
Summary: Fix to enable item deletion in the registered pop_cb function

Reviewers: Hermet

Reviewed By: Hermet

CC: seoz

Differential Revision: https://phab.enlightenment.org/D487
2014-01-22 22:13:51 +09:00
Jaehyun Cho 1ca6d33e08 [naviframe] do not size evaluate during deletion
Summary: Author: Shinwoo Kim <cinoo.kim@samsung.com>  2012-12-11 20:13:39

Reviewers: Hermet

CC: seoz

Differential Revision: https://phab.enlightenment.org/D485
2014-01-22 22:09:16 +09:00
Jaehyun Cho ef93bf6616 [naviframe] Fix to hide the previous view by emitting signal
Summary:
Previously, previous view was hidden by evas_object_hide.
         However, this method is no longer correct because size calculation of naviframe causes evas_object_show.
         Now, previous view is hidden by emitting signal to naviframe theme and clipper hides the previous view.

Reviewers: Hermet

Reviewed By: Hermet

CC: seoz

Differential Revision: https://phab.enlightenment.org/D484
2014-01-22 22:07:31 +09:00
Daniel Juyung Seo 8298782bdc fileselector: Make fileselector focusable. Ok on Enter key and Cancel on Escape key.
Now fileselector accepts the key event on Enter and Escape.
2014-01-22 18:43:18 +09:00
Daniel Juyung Seo 0ddb97b377 fileselector_button: Added missing description about focus signals. 2014-01-22 18:43:18 +09:00
WooHyun Jung 811c38145d popup: Replace focus_direction_go with focus_cycle. 2014-01-22 18:36:13 +09:00
WooHyun Jung cbb946ee99 elm_widget: Fixed some codes about focus custom chain.
- When appending an object to the focus custom chain,
  event callback about deletion should be added.
- When a widget is deleted, its focus custom chain should be
  managed correctly.
2014-01-22 16:24:25 +09:00
Daniel Juyung Seo 87b3d7d5b5 ctxpopup: Fixed typo and flourished comment. 2014-01-22 15:20:24 +09:00
Jihoon Kim 54ec084e76 fix some typos in comment and description 2014-01-22 13:20:15 +09:00
Daniel Juyung Seo 3c07d8d9a6 config: Added more description about elm_config_indicator_service_get(). 2014-01-22 12:07:55 +09:00
Youngbok Shin 89c3d430a3 entry: Fixed to emit "*enabled" signal to scr_edje when it is not disabled.
Summary: This fixes coverity issue CID 1162751.

Reviewers: seoz, woohyun, tasn

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D482
2014-01-22 11:32:08 +09:00
Daniel Juyung Seo 3e45b920ee elm: Removed unnecessary null check for eina_hash_free and
elm_widget_stringlist_free.
2014-01-22 11:13:30 +09:00
Daniel Juyung Seo 5353aa863c elm: Removed unnecessary null check for free. 2014-01-22 11:13:11 +09:00
Daniel Juyung Seo 0d1ac0fa05 elm: Removed unnecessary null check for eina_list_free. 2014-01-22 10:55:01 +09:00
Daniel Juyung Seo 0c3c2572b9 elm: Removed unnecessary null check for ecore_event_handler_del. 2014-01-22 10:54:58 +09:00
Daniel Juyung Seo db5fe2581d elm: Removed unnecessary null check for evas_object_del. 2014-01-22 10:54:52 +09:00
Daniel Juyung Seo 43533a2fb9 elm: Removed unnecessary null check for eina_stringshare_del. 2014-01-22 10:54:45 +09:00
Daniel Juyung Seo c066009c49 elm: Removed unnecessary null check for ecore_idler_del, ecore_idle_enterer_del. 2014-01-22 10:54:28 +09:00
Daniel Juyung Seo c0d6b27a16 fileselector_entry: Moved declarations of deprecated APIs to
elm_deprecated.h and marked them as EINA_DEPRECATED in c code.
2014-01-21 23:50:31 +09:00
Daniel Juyung Seo 471db42fe4 fileselector_button: Moved declarations of deprecated APIs to
elm_deprecated.h and marked them as EINA_DEPRECATED in c code.
2014-01-21 23:43:41 +09:00
Daniel Juyung Seo 68eca6d62e url: Added underscore(_) to elm internal functions, elm_url_xxx.
- _elm_url_download, _elm_url_cancel, _elm_url_get
- other internal functions in elm_priv.h also have same prefix.
2014-01-21 23:23:37 +09:00
Daniel Juyung Seo a4f3074f9c elm: Removed unnecessary null check for ecore_timer_del,
ecore_animator_del, and ecore_job_del.

As all efl public free apis get null as valid parameter, we do not need
to check null. I also removed some null check for other free apis which
were right next to timer/animator/job del. After this job code got
cleaner.
2014-01-21 23:18:16 +09:00
Ryuan Choi 26dd1db99c Introduce fileselector interface and applied to elm_fileselector.
Summary:
fileselector_button and fileselector_entry should have almost same interfaces with fileselector.
Previously , we exposed them individually such as elm_fileselector_is_save_set().

Instead of adding the same APIs three times, we can reuse one fileselector's API using Eo interface.

This patch introduced fileselector interface and applied it to elm_fileselector.

Reviewers: seoz, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D475
2014-01-21 22:50:35 +09:00
Daniel Juyung Seo 5d45fc195f spinner: Create an internal entry when it is really needed.
Do not create the internal entry on smart add. Create that when it is
needed with editable mode.
2014-01-21 22:12:53 +09:00
Daniel Juyung Seo 8253767035 spinner: Toggle entry on Enter and space key. 2014-01-21 21:59:41 +09:00
WooHyun Jung 6eb6f805ba entry: NULL should be set to the correct position of tmpbuf.
If edje_object_part_text_get gives different text from original one,
length of text can be changed. So the last position of tmpbuf should
be calculated again refering to the current text to be returned.
2014-01-21 21:00:29 +09:00
Daniel Juyung Seo 068c9a095f toolbar: Do not check ev->string for Return key and react on space key.
space key works as same as Return key.
2014-01-21 19:58:10 +09:00
Daniel Juyung Seo fec8441c71 elm: Fixed formatting about EINA_LOG stuff. 2014-01-21 19:58:09 +09:00
Yakov Goldberg 5ddb12a323 widget: doxygen fix 2014-01-21 11:30:39 +02:00
Yakov Goldberg 3379c124df all widgets: change Eo API for "elm_widget_theme()" to "theme_apply"
There are elm_widget_theme/theme_set/theme_get functions.
    In Eolian these functions will be described as "theme" method and
    "theme" property. There is clash here.
    So add suffix "_apply" to Eo API for "elm_widget_theme".
2014-01-21 11:08:29 +02:00
SangHyeon Lee cee12e4f94 [Gengrid] Refactoring gengrid item show reigion calculation
Summary:
Gengrid _item_show_region function calculate gengrid x, y moving postion with scroll to type.
Belows are summaries of this refactoring works.

1. Refactoring recalculation of scroll type.

2. Bug fix :
   - when x or y is 0, y or x value is set as default value, it->position-1.
   - when x or y is less then 1, calculation is not correct.
   - make calculate correct position of y when even though scroll direction is horiziontal
     (when virtical, x is also calculation correct position).

3.  change smart data variable s_type to scroll_to_type to make unity on gen widget.
     (genlist smart data variable name is scroll_to_type);

Reviewers: seoz, Hermet, raster

Reviewed By: raster

CC: bluezery

Differential Revision: https://phab.enlightenment.org/D474
2014-01-21 16:54:59 +09:00
zmike fe2d7a213a prefs init should probably clean up after itself when it fucks up 2014-01-20 13:36:56 -05:00
zmike 92aa572f7e prefs should CRI on add/file_set if init has failed 2014-01-20 13:36:56 -05:00
Youngbok Shin 585be3a4e1 conform: Fixed to get a geometry from *focus_region_get for show_region_job.
Summary:
The geometry of elm_widget_show_region_get is only updated by elm_widget_show_region_set.
If the geometry of *show_region_get is not updated, the result of show_region_job would be incorrect.
So, we need to get a proper geometry using *focus_region_get for focused object.

Reviewers: seoz, woohyun, Hermet, raster, tasn

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D466
2014-01-20 18:54:20 +09:00
Youngbok Shin 5de43831aa entry: Add smart activate for accessbility.
Summary:
In TTS mode, when the entry is highlighten and double tap to the entry,
the entry will be focused. But "clicked" smart callback is not called, input panel is not shown.
So I we need to call the callback and show input panel in smart activate.

Reviewers: seoz, Hermet, woohyun, tasn, jaehwan, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D465
2014-01-20 18:45:51 +09:00
Youngbok Shin 0d81887544 entry: If the scrollable entry is set disable, send "*,disabled" signal to scr_edje too.
Summary:
Default theme of entry does not have any disabled state in "elm/scroller/entry/*" styles.
But EFL developer can make any custom style for entry and scroller and it can has disabled state.
So _elm_entry_smart_disable has to emit "*disabled" signal to scr_edje.

Reviewers: woohyun, tasn, seoz, Hermet, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D464
2014-01-20 18:04:30 +09:00
Ryuan Choi e1ac419d6d fileselector_button, fileselector_entry: Updated FOO_inwin_mode_set() documentation.
fileselector_button initialize inwin mode using the configuration.
Fixed wrong information about default value in API documentation.

In addition, fixed test_fileselector_button.cpp not to show wrong information at initial time.
2014-01-19 15:35:51 +09:00
zmike bf3f4781c7 SHUT UP ELM PREFS!!!!!!!!!!
seriously, this is and has been bullshit since it was added. I don't need an error message every time I do ANYTHING just because some module has never been found.
2014-01-18 01:57:01 -05:00
Ryuan Choi 8acc7ed7eb flipselector: Remove unused variable of Elm_Flipselector_Item
The data for callback is stored in Widget's data variable.
So, Elm_Flipselector_Item's data variable is not needed.
2014-01-17 00:19:49 +09:00
Ryuan Choi 9a17bd67a7 datetime: Delay elm_layout_theme_set until memebers are initialized in _smart_add
There are some warnings in elm_object_disabled_set() because elm_layout_theme_set()
calls _elm_datetime_smart_disable() before creating file->item_obj.
This patch refactors _smart_add to initialize file->item_obj before calling
elm_layout_theme_set().
2014-01-16 22:50:40 +09:00
Jihoon Kim 240f880808 Fix unknown command warning in generating doxygen
elementary/src/lib/elm_access.h:238: warning: Found unknown command `\type'
elementary/src/lib/elm_bg_legacy.h:98: warning: Found unknown command `\r'
elementary/src/lib/elm_bg_legacy.h:98: warning: Found unknown command `\g'
elementary/src/lib/elm_object.h:124: warning: Found unknown command `\content'
elementary/src/lib/elm_image_legacy.h:82: warning: Found unknown command `\group'
elementary/src/lib/elm_image_legacy.h:56: warning: Found unknown command `\group'
2014-01-16 08:44:35 +09:00
Ryuan Choi 933dba3c9c panel: Guarantee the integrity of parameter
- Check whether ret is NULL.
- Guarantee hidden variable is only EINA_TRUE or EINA_FALSE.
2014-01-16 04:41:18 +09:00
Ryuan Choi 384c6f100a panel: Check whether sd->content is NULL in _panel_toggle
sd->content can be NULL when elm_panel_hidden_set is called.
2014-01-16 04:10:38 +09:00
Ryuan Choi 0c0230331a panel: Delay elm_layout_theme_set until memebers are initialized in _smart_add
elm_layout_theme_set can call some methods like _elm_panel_smart_theme and there are some warnings
when these methods manipulate some member variabls which are not initialized yet.
It's because elm_layout_theme_set is called too early in _smart_add.

Spotted while digging warnings after rELM4c3e23de9e46
2014-01-16 04:02:11 +09:00
Ryuan Choi 37ffb188bb elm_widget_xxx.h: Adopt EINA_UNLIKELY and fix indentation in FOO_DATA_GET macros. 2014-01-16 03:34:55 +09:00
Daniel Juyung Seo 7dd5fe10af win: Check null before calling elm_widget_highlight_in_theme_get(). It
can be null.

'target' can be null when the focus in is just called.
2014-01-16 02:33:46 +09:00
Ryuan Choi e62d226ccf fileselector_entry: Removed _mirrored_set(), one line local function
Small refactoring.
It is unnecessary one line function which just calls elm_widget_mirrored_set.
2014-01-15 21:58:07 +09:00
Ryuan Choi 7d72dd6c35 fileselector_entry: Delay elm_layout_theme_set until memebers are initialized in _smart_add
Summary:
elm_layout_theme_set can call some methods like _smart_disable and there are some warnings
when these methods manipulate some member variabls which are not initialized yet.
It's because elm_layout_theme_set is called too early in _smart_add.

Spotted while digging warnings after rELM4c3e23de9e46

Reviewers: seoz, raster

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D459
2014-01-15 21:44:21 +09:00
ChunEon Park 8f59ba7a1f elementary/ctxpopup - no need to use RESTACK callbacks anymore.
Now bg is smart member of the internal object.
let it have a behavior as the member of the smart object.
don't need to care it additionally.
2014-01-15 15:10:32 +09:00
Bora Hwang f4933dc49c ctxpopup: set smart member relationship for objects in ctxpopup
Summary:
to support mouse_down/up/move callbacks of ctxpopup,
all objects in ctxpopup should be in smart relationship with ctxpopup.
Also, with this patch, bg object and arrow object don't have to be called with
evas_object_show or evas_object_hide when ctxpopup is shown or hidden

Reviewers: Hermet, seoz, raster, thiepha

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D458
2014-01-15 14:42:13 +09:00
Daniel Juyung Seo 1f95d660f0 photocam: Updated elm_photocam_zoom_set() API documentation. 2014-01-15 14:39:37 +09:00
ChunEon Park 812bdae606 elementary - don't use __UNUSED__ anymore 2014-01-15 14:36:55 +09:00