Commit Graph

8418 Commits

Author SHA1 Message Date
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
WooHyun Jung 9b0b34e801 test_focus3: Correct wrong data for smart callback. 2014-01-23 15:07:33 +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 f79a003b6b test_hoversel: Change the hoversel button text when an hoversel item is
selected.

This reveals hoversel bug on mobile profile that changes the size of
text parts on continuous item change.
2014-01-23 01:51:04 +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 47073aaf58 test_conform_indicator: Refactor internal code of conform_indicator test
code.

- removed unnecessary casting.
- removed unnecessary internal variables.
- removed wrong window resize object addition.
- changed parent parameter correctly.
- fixed wrong grammar in command line message.
- fixed resource leak.
- enhanced comments.
- removed unnecessary size hint align set.
- removed unnecessary parameter passing.
2014-01-22 12:32:32 +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 b6b90d7c83 test, examples fileselector_entry: Changed the usage of deprecated APIs
to recommended APIs.
2014-01-21 23:53:48 +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 b3dff64665 test, examples fileselector_button: Changed the usage of deprecated APIs to recommended
APIs.
2014-01-21 23:44:29 +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
Daniel Juyung Seo ec59ba6363 test_focus: Call window object show after its content creation.
This is a successor commit of 64fd5a825b24591aedb9cac695d03f5b4d867442.
Window show call triggers all smart objects' smart calculation and in case of
X11, XMapWindow() is called directly.
Also moved resize of window accordingly.
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 41eb908038 test_flipselector: Fixed that buttons use wrong flipselector which is not intended.
Since e2db48abe, disabled flipselector was passed button callbacks.
So, buttons just print warnings instead of the intended behavior.
2014-01-16 23:48:36 +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
Daniel Juyung Seo b1743d7d16 test: Cleaned up elementary_test internal code.
- removed unnecessary/unused macro.
- fixed formatting.
- added prefix '_' for internal function.
2014-01-16 02:10:21 +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
Daniel Juyung Seo 2f846fca27 test_photocam: Support zoom in and out with more condition checks.
Now zoom in and out work sanely.
2014-01-15 15:05: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
Jaehyun Cho afef2271fd [naviframe] Replace naviframe title visible APIs to naviframe title enabled APIs
Summary:
To support naviframe title transition effect, naviframe title enabled APIs are applied.
         To remove the duplicate functionalities, naviframe title visible APIs are deprecated.

Reviewers: Hermet

Reviewed By: Hermet

CC: seoz, raster

Differential Revision: https://phab.enlightenment.org/D426
2014-01-15 14:29:05 +09:00
Daniel Juyung Seo 788118afeb test_glview: Refactor glview test layout.
- Display button just vertically.
- Changed button text more descriptive.
- Create glview related buttons only when glview is created correctly.
2014-01-15 12:02:26 +09:00
Daniel Juyung Seo abfdb63ad8 test_glview_simple: Close the window instead of exiting the program on
close button.
2014-01-15 11:55:20 +09:00
Carsten Haitzler 066b206a12 cnp - dont access null parent obj in getting xwin 2014-01-15 09:59:37 +09:00
Daniel Juyung Seo f2f865596b test_ctxpopup: Internal refactoring of ctxpopup test codes.
- Handled the deletion of image object correctly. Do not overuse/misuse
evas_object_data, it will make code less readable.
- Cleaned up button click callback. sharing one function for different
buttons is not a good idea in some cases. Just split the callbacks.
- Removed unnecessary evas_object_data_set().
2014-01-15 02:32:36 +09:00
Daniel Juyung Seo a75d84d051 win: Added more description to elm_win_floating_mode_set() API. 2014-01-14 23:29:40 +09:00
Carsten Haitzler 939313e194 elm widget - skip null list entires in focus list 2014-01-14 22:48:28 +09:00
Ryuan Choi 5e46f2ff6d toolbar: Check whether icon is null before sending signal
There are warnings when icon is null since rELM4c3e23de9e46.
2014-01-14 21:46:27 +09:00
Ryuan Choi dbb92436a2 fileselector: Fix that folder only mode shows only files instead of only folders
Issues: T756

It's regression of rELM4693736bb028
2014-01-14 18:14:52 +09:00
Daniel Juyung Seo 44a3450f1c elm: Build in an alphabetical order. 2014-01-14 17:20:29 +09:00
Hosang Kim 9204ce6833 scroller: Fixed wheel event callback
Summary:
scroller is moved page by page if scroller's paging is enable

1. default is move to vertical.
2. move to horizontal with Shift key

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

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D453
2014-01-14 16:56:52 +09:00
Chinmaya Panigrahi 8839725497 [test access]: Minor change to make code simpler.
Summary: Minor change to make code a little simpler.

Test Plan: elementary_test -to accessibility

Reviewers: seoz, singh.amitesh

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D456
2014-01-14 13:39:33 +09:00
Daniel Juyung Seo a2293d5dbd actionslider: Removed unnecessary line. 2014-01-14 11:41:09 +09:00
Jihoon Kim bf0c4e921a entry: remove duplicated checking variable
'top' variable was checked twice, so it's fixed.
2014-01-14 08:07:22 +09:00
Ryuan Choi 6a8f33b298 els_box: Used Eina_Bool instead of int for the parameters of _els_box_layout 2014-01-14 03:26:16 +09:00
Daniel Juyung Seo 14d53feca0 atspi_bridge: Changed shadow variable names. 2014-01-13 23:15:11 +09:00
Daniel Juyung Seo 45ee408180 ctxpopup, entry: Check widget type by eo_isa not by evas_object_type
string compare.
2014-01-13 23:14:44 +09:00
Daniel Juyung Seo f1457a3540 inwin, layout: Check null before calling eo_isa. 2014-01-13 23:09:25 +09:00
Daniel Juyung Seo b70db6eefb panes: Fixed panes smart callbak calls by fixing default theme.
Panes smart callback depends on the signals from theme but it was broken
when dark theme was introduced.
"clicked" does not work yet, it should be fixed.

Thanks for the report, JackDanielZ.
2014-01-13 23:01:40 +09:00
Daniel Juyung Seo 5c0eccddd5 cnp: Fixed indentation while reading the code. 2014-01-13 23:01:34 +09:00
Ryuan Choi f832375b4a Widget: Removed !obj checks from ELM_WIDGET_DATA_GET_OR_RETURN and ELM_WIDGET_CHECK
eo_data_scope_get and eo_isa returns NULL with complaint when NULL is passed.
So, Removed unnecessary !obj check routine.

In addition, adopt EINA_UNLIKELY for these macros and fix indentation.
2014-01-13 21:11:04 +09:00
Jihoon Kim 81d880cfae entry: Add elm_entry_input_panel_show_on_demand_set/get API
This API sets the attribute to show the input panel in case of only an user's explicit Mouse Up event.
It doesn't request to show the input panel even though it has focus.
2014-01-13 19:32:01 +09:00
Ryuan Choi 114e458f56 elm_win: Removed EE_ENGINE_COMPARE macro to reduce redundant function calls.
EE_ENGINE_COMPARE reduces typing little bit, but it makes redundant function calls
because almost callers call it more than once.
And, there is no way to check whether ecore_evas_engine_name_get is null.

This patch removed EE_ENGINE_COMPARE with small refactoring.
In addition, removed unnecessary check routines from _elm_ee_xwin_get.
2014-01-13 19:00:17 +09:00
Ryuan Choi 23bebb1c47 genlist: Check return value out of the loop in _realized_items_get 2014-01-13 17:34:36 +09:00
Ryuan Choi 34c5efeb36 fileselector: Fix that the enter key does not navigate directory
Moved the navigation logic from callback of "clicked,double" to callback of "activated".
2014-01-13 17:34:36 +09:00
Ryuan Choi 3a3005ffc6 els_box : Move horizontal condition out of some loop in _els_box_layout
Summary:
Almost logic of both horizontal and vertical are same except different axis in
_els_box_layout.
This patch reduced code size and improved speed little bit by moving condition
out of the loop using some extra pointer variables.

In addition, removed unnecessary check routines.
There are already similar logic for them before and after.

Reviewers: raster, seoz, cedric

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D423
2014-01-13 15:47:05 +09:00
Carsten Haitzler d4efd9b07e actionslider - fix unused macros to match current usage and build again 2014-01-13 15:46:31 +09:00
prashant 1c66052faf [actionslider]:enable the mouse event
Summary: On mouse click move the knob on action slider

Test Plan: elementary_test -to actionslider

Reviewers: seoz, singh.amitesh, raster

Reviewed By: raster

CC: raster

Differential Revision: https://phab.enlightenment.org/D384
2014-01-13 15:44:44 +09:00
Carsten Haitzler 3fdf94ab95 atspi - fix warnhings and use %llu (unsigned long long) or obj handle 2014-01-13 15:35:48 +09:00
Lukasz Stanislawski fb01f98afd atspi: accessible and component interface implementation.
Reviewers: raster, cedric, kimcinoo, seoz

Reviewed By: raster

CC: pkaczmarek-samsung, z.kosinski

Differential Revision: https://phab.enlightenment.org/D378
2014-01-13 15:24:35 +09:00
abhi cc03e646c9 Adding elm_tooltip_movement_lock_set() and elm_tooltip_movement_lock_get()
Summary: These APIs allow to enable/disable a tooltip to move with respect to mouse pointer

Test Plan: elm_tooltip_movement_lock_set(), elm_tooltip_movement_lock_get(), elementary_test -to tooltip

Reviewers: singh.amitesh, seoz, raster

Reviewed By: raster

CC: raster

Differential Revision: https://phab.enlightenment.org/D369
2014-01-13 15:22:48 +09:00
Carsten Haitzler 17083663ac elm cnp (dnd) - file:/ is the minimum, not file:// so work with other apps 2014-01-13 14:00:09 +09:00
Daniel Juyung Seo fa8d305caf test_genlist: Enable focus highlight and animation only for this window.
Do not affect other test windows.
2014-01-13 01:09:26 +09:00
Daniel Juyung Seo b9653d7d32 test_genlist: Renamed genlist20 test name to more descriptive test name,
genlist_focus.
2014-01-13 01:06:17 +09:00
Carsten Haitzler 0abb5aabb5 glview test - fix if evas gl ins't found - leak of gld data 2014-01-11 16:44:04 +09:00
Carsten Haitzler 380285b7d9 elm prefs cc - fix failed lseek handling on compile 2014-01-11 16:41:03 +09:00
Carsten Haitzler f21cb31770 glview test - dont leak gld 2014-01-11 16:35:29 +09:00
Carsten Haitzler a188fdda01 fix sign/unsigned compare warn 2014-01-11 16:23:23 +09:00
Carsten Haitzler ae306c98fb use long not unsigned long - ftell returns long. 2014-01-11 16:19:25 +09:00
Carsten Haitzler c1ddfe77cb elm glview - evas sync before rendering with always draw to sync right
async rendering clashes with the idle enterer glview uses to draw with
always render mode - sync first and there is no problem.
2014-01-11 00:40:01 +09:00
Carsten Haitzler 6f632b90db dbus menu - fix leak of reply creation for method events
this fixes CID 1039975
2014-01-10 18:10:49 +09:00
Carsten Haitzler d9e068a9e5 mapbuf - move index check into eo method and use fixed index size
this also fixes CID 1141033 and CID 1141032
2014-01-10 17:54:51 +09:00
Carsten Haitzler 55eaa02232 elm prefs - useless staement as _deltai() already fills in *val
this should fix 1040028
2014-01-10 17:16:43 +09:00
Carsten Haitzler f30cc0b7aa comment fallthroughs as intentional 2014-01-10 17:10:43 +09:00
Carsten Haitzler 79be27c307 fix elm fsel test to check mkdir return
this should fix CID 1040043
2014-01-10 17:05:35 +09:00
Carsten Haitzler 09943e2883 app client - fix not handling failed return from eldbus call
this fixes CID 1091411
2014-01-10 17:02:49 +09:00
Carsten Haitzler 0c9480fc76 elm map - fix incorrect return check of fread
this fixes CID 1132735 (real bug)
2014-01-10 16:53:43 +09:00
Carsten Haitzler 1ac66c892a elm map - fix incorrect return check of fread
this fixes CID 1132736 (real bug)
2014-01-10 16:52:44 +09:00
Carsten Haitzler 900ae28870 elm map - fix incorrect return check of fread
this fixes CID 1132737 (a real bug)
2014-01-10 16:51:06 +09:00
Carsten Haitzler b924ac350a formatting (spaces) 2014-01-10 16:46:25 +09:00
Youngbok Shin d91f85c967 When the viewport is resized, the entry size will be recalculate.
Using the elm_scrollable_interface_content_viewport_resize_cb_set in
scrollable entry widget. this only happens in mobile profile when you
drag the content with your finger left/right when the content is
smaller than the gap between icons.

This accepts D187
2014-01-10 16:39:06 +09:00
Hosang Kim 55d26bd52e [scroller] fixed infinite loop bug in scroller
Summary: called scroller bring in API in "scroll,anim,stop" callback, so occured infinite loop

Reviewers: seoz, jaehwan, raster, woohyun, cedric

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D445
2014-01-10 15:42:12 +09:00
Jihoon Kim afecbbe85b test_dnd: avoid to create icon object that will be unused 2014-01-10 15:00:06 +09:00
Jihoon Kim d6d49bf9e9 test_glview: Show description if gl is not supported.
refer commit:
5a143dc1c68f07e994ed6f2f4f035f77c7f902d5
66d2b7df56d1fc0900f8e407e17f3967efc23534
2014-01-10 13:59:26 +09:00
Daniel Juyung Seo d8def8245f test_dnd: Check return value of strchr it can be NULL.
This fixes coverity CID 1152899 and 1152898.
2014-01-10 13:30:39 +09:00
Daniel Juyung Seo 66194e773a test_glview_simple: Add more description on glview creation failing
cases.

Check gl backend engine or run set environmental variable.
ex) ELM_ENGINE=gl elementary_test
2014-01-10 13:27:14 +09:00
ChunEon Park 97134378e1 elementary/layout - write as possible as simpler code 2014-01-10 11:23:18 +09:00
Ryuan Choi a580c2ba5b web: Move EWebKit headers out of Elementary.h again
Since rELM166ca9e86a72, I moved EWebKit header into Elementary.h like other libraries.
But, it made possible build break while building test browser in webkit.
It's because EWebKit.h and EWebKit2.h have same symbols and test browser should
be compiled with EWebKit2.h although Elementary was built with ewebkit.

This patch reverts a part of changes in rELM166ca9e86a72, which includes EWebkit.h
in Elementary.h
2014-01-09 21:56:59 +09:00
ChunEon Park 3dfef42f5f elementary/layout - do it exactly same with smart_theme() when elm_layout_theme_set() is called.
now mirrored, scale and so on will be working fine.
but still wonder if the mirrored_set(), scale_set().. are called in the elm_widget_theme_object_set() inside.
then every widget won't be need to call it by theirselves...
2014-01-09 20:33:30 +09:00
Carsten Haitzler 0d15cb7c42 elm prefs - fix leak if setup_err/set_err happens in elm prefs
fixes CID 1040006
2014-01-09 16:03:39 +09:00
Carsten Haitzler f8da5f2282 list test - make test item never able to access invalid mem
fixes CID 1040020
2014-01-09 15:13:51 +09:00
Carsten Haitzler bacf5b4bd3 genlist test - make test item never able to access invalid mem
fixes CID 1040021
2014-01-09 15:11:49 +09:00
Carsten Haitzler d90886c992 fix alloc to use right sizeof type in elm_image
this should fix CID 1132738 - not a real issue as it still was * 4 but
more obvious and clean after fix
2014-01-09 15:04:46 +09:00
Carsten Haitzler f165f26f28 fix mingw build for setuid fix/checks 2014-01-08 22:08:44 +09:00
Carsten Haitzler 430f98a628 setuid safeness - ensure if an app that is setuid doesn't do bad things
this makes efl ignore certain env vars for thnigs and entirely removes
user modules (that no one ever used) etc. etc. to ensure that *IF* an
app is setuid, there isn't a priv escalation path that is easy.
2014-01-08 20:33:09 +09:00
Daniel Juyung Seo a7a8b257c2 gengrid, genlist: Fallback into default item style if the required item
style does not exist.
2014-01-08 19:07:56 +09:00
Daniel Juyung Seo 01f2f195ba diskselector, entry, index: Refactoring by reducing unnecessary redundant function calls
and removed unnecessary local variable.

- Do not need to call the same function with same parameter many times.
Use local variable for them.
- Remove unnecessary local variable if it is not needed.
2014-01-08 17:42:55 +09:00
Daniel Juyung Seo 68b90c7874 elementary_config: Refactor elementary config menu by merging Access, Select clear, and clouseau menu.
Having one checkbox per each tab does not look good.
Split them when it is needed.
2014-01-08 11:26:15 +09:00
Daniel Juyung Seo 16479145e9 elm: Use EINA_FALSE instead of 0 for elm_image_resizable_set()
parameters.
2014-01-08 10:28:18 +09:00
Daniel Juyung Seo 04c2f9d32f test/diskselector,icon,image,list: Removed unnecessary image resizable
set true because resizable is already true by default.
2014-01-08 10:14:47 +09:00
Jihoon Kim 5b64757cc3 map: fix allocator sizeof operand mismatch reported by clang
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-vKmgoZ.html#EndPath
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-5OVcIZ.html#EndPath
2014-01-08 08:51:15 +09:00
Jihoon Kim 7d6e81c09f elm: replace 0 or 1 with EINA_FALSE or EINA_TRUE 2014-01-08 08:23:58 +09:00
Jihoon Kim 8de371066e elm_test: use EINA_TRUE or FALSE instead of 1 or 0 2014-01-07 16:48:58 +09:00
Daniel Juyung Seo ef6f264e75 elm_priv.h: Removed null check from ELM_SAFE_FREE because all efl
free/del func + free func get null as valid parameter.

Now ELM_SAFE_FREE is less useful than before. It reduced 5 lines to 1
but now it reduces 2 lines to 1.
2014-01-07 00:14:35 +09:00
Daniel Juyung Seo d58b4401e8 flip, gengrid: Removed dead assignments which were reported by clang
build.

https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-cMar9x.html#EndPath
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-ZMmiQe.html#EndPath
2014-01-07 00:11:00 +09:00
Daniel Juyung Seo bfb91fe341 3d, flip_page test: Removed dead assignments which were reported by
clang.

https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-XJSqtb.html#EndPath
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-XcpYrk.html#EndPath
2014-01-07 00:11:00 +09:00
Tom Hacohen b01433ff47 Widget: Don't check if it's the correct class everywhere.
ELM_WIDGET_DATA_GET was checking it was the correct class. This is
stupid and wrong (and makes tools rightfully complain) because these
functions are implementations of that class anyway, so that would never
be false.
Functions that outside facing (that is, not called from eo_do) should
use API_ENTRY.
2014-01-06 15:07:16 +00:00
Daniel Juyung Seo fd5c046dfe elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +09:00
Daniel Juyung Seo 16f687b87a multibuttonentry, genlist, layout, toolbar: Fixed dereference of null
pointers which were reported by clang builg.

https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-XZo1hW.html#EndPath
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-isAlRt.html#EndPath
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-8Ascv8.html#EndPath
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-gBkVuE.html#EndPath
2014-01-06 23:26:46 +09:00
Daniel Juyung Seo 2942212cb3 toolbar: Fixed dead assignment reported by clang build.
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-0ipfss.html#EndPath
2014-01-06 23:14:14 +09:00
WooHyun Jung fa8ca01128 widget: Fix a bug in elm_widget_newest_focus_order_get.
When elm_widget_newest_focus_order_get is called with can_focus_only,
only focusable objects should be the candidates for newest focused object.
But there are cases that unfocusable object add +1 to newest_focus_order.
2014-01-03 20:02:30 +09:00
Jihoon Kim 99321e8ca8 Revert "entry: Add elm_entry_input_panel_show_on_demand_set/get API"
It's feature freeze period, so I will add after ending freeze period.
2014-01-03 19:46:21 +09:00
Jihoon Kim 22e697fb98 entry: Add elm_entry_input_panel_show_on_demand_set/get API
This API sets the attribute to show the input panel in case of only an user's explicit Mouse Up event.
It doesn't request to show the input panel even though it has focus.
2014-01-03 18:51:38 +09:00
Jihoon Kim 56dd2d3bbd label: fix typo in comment 2014-01-03 18:32:27 +09:00
Ryuan Choi 71142889e9 web: Disable more logics to reduce binary size when web backend is none
It will reduce binary size about 4K.
2,626,465 -> 2,622,369 (Byte, tested with -Os, unstriped)
2014-01-03 16:12:11 +09:00
ChunEon Park 8b6ef9aaac elementary/widget - don't call theme_set() until base widget is not created yet.
On the widget creation time, we should not set the theme in the widget infra.
This will cause the corruption of the theme_hook working since the widget is not setup yet.
Also the theme_set() will be applied twice each widget will set the themes right after base widget is created.
2014-01-03 14:38:27 +09:00
Daniel Juyung Seo 97be76ca61 layout: Moved internal smart data member to a correct place.
can_access is used only by layout.
2014-01-02 09:23:03 +09:00
Daniel Juyung Seo f232ff14be image: Remove unnecessary parameter for elm_obj_image_editable_set.
This parameter was introduced as an internal funciton parameter long ago and migrated to eo as it was.
But this parameter is not needed. obj pointer is already there.

Thanks to Yakov for the report.
2014-01-02 09:21:16 +09:00
Daniel Juyung Seo 77c90d1bc6 test_photocam: Unfuck photocam test case by removing absolute image path by raster.
Please maintain this manually or push those images to somewhere reachable by others.
2014-01-02 09:21:11 +09:00
Daniel Juyung Seo 722be35238 elm_widget: Partial update for widget smart data comments. 2014-01-02 08:49:26 +09:00
Ryuan Choi 9c84f2b1b5 fileselector: Fix dereference before null check
Reported as CID:1147525 by Coverity Scan
2014-01-01 15:32:35 +09:00
Ryuan Choi b379b8c409 fileselector: Fixed wrong allocation in _custom_filter_append
Reported as CID:1147526 by Coverity Scan
2014-01-01 15:32:32 +09:00
Chinmaya Panigrahi e4cbf1bcfb [Genlist]: Added NULL check
Summary: Added NULL check

Test Plan: elementary_test -to genlist

Reviewers: seoz, singh.amitesh, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D432
2014-01-01 14:11:50 +09:00
Daniel Hirt 928fa2e24e elm_test: fix test_entry_anchor scroller callback 2013-12-31 16:51:56 +02:00
Jaehyun Cho 432a018916 [elm_widget] Fix not to load theme for mirroring if smart data is not set
Summary: Do not load widget theme for mirroring if smart data creation is not finished.

Reviewers: Hermet, raster

Reviewed By: raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D428
2013-12-31 20:33:51 +09:00
Yakov Goldberg e93a38c966 widget, spinner: typo in elm_widget_focus_set() 2013-12-31 11:16:35 +02:00
Daniel Juyung Seo d0dad27613 authors: Added Chinmaya as an elementary author. 2013-12-31 13:20:53 +09:00
Chinmaya Panigrahi 28a9e53e08 [Hoversel]: Added NULL check
Summary: Added NULL check

Test Plan: elementary_test -to hoversel

Reviewers: seoz, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D427
2013-12-31 13:12:20 +09:00
Jihoon Kim f4dff866c2 entry: fix build warning about explicit braces to avoid ambiguous 'else' 2013-12-31 11:40:52 +09:00
Jihoon Kim bfda643041 spinner: add NULL check 2013-12-31 11:38:46 +09:00
Jihoon Kim 2f3525f518 image: add NULL check 2013-12-31 11:36:43 +09:00
Jihoon Kim e5e8af3239 entry: add NULL check 2013-12-31 11:23:28 +09:00
Jihoon Kim e3faaa250a fileselector: add NULL check 2013-12-31 11:22:20 +09:00
Yakov Goldberg 025da3d407 scrollable interface: typo type 2013-12-30 15:44:17 +02:00
Yakov Goldberg 72244a60a0 calendar: add NULL checks 2013-12-30 15:44:17 +02:00
Yakov Goldberg e3010bae21 calendar: fix doxygen 2013-12-30 15:44:17 +02:00
Yakov Goldberg b45b864c36 win: fix parameter order in elm_win_available_profiles_get() for consistency 2013-12-30 15:44:17 +02:00
Yakov Goldberg e2e1814a4f datetime: add NULL checks 2013-12-30 15:44:17 +02:00
Yakov Goldberg e92b55c817 datetime: fix doxygen 2013-12-30 15:44:17 +02:00
Daniel Juyung Seo b178578973 test_fileselector: Set the hoversel's hover parent correctly.
This fixes hover clipping issue on hoversel button clicked.
Thanks for the report Ryuan.
2013-12-30 19:36:18 +09:00
Youngbok Shin 205c264449 entry - Add "rejected" smart callback in "elm_entry_filter_accept_set"
Summary:
Add "rejected" smart callback.
Applications using the *filter_accept_set didn't know when the input was rejected.
This smart callback can provide a simple information to applications.

Reviewers: woohyun, tasn, seoz

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D413
2013-12-30 18:25:16 +09:00
Yakov Goldberg 21da50f601 widget: remove unused return parameter in elm_wdg_orientation_set() 2013-12-30 11:16:19 +02:00
Yakov Goldberg b51fb05e64 widget: doxygen fix 2013-12-30 11:15:49 +02:00
Carsten Haitzler 9e34b7d117 tests - add test for requesting sa massive window and seeing response 2013-12-30 13:42:32 +09:00
Stephen Houston 6c3e99c0a5 elm_thumb: Delete ethumb object on smart_del in order to prevent the ethumb from being left as an artifact after the elm_thumb has been deleted. 2013-12-29 11:24:54 -06:00
Daniel Juyung Seo 4b8aff3558 test_fileselector: Changed the layout of fileselector example.
Now it looks good :)
2013-12-30 01:04:22 +09:00
Daniel Juyung Seo 67634c3b82 fileselector: Added a description for Elm_Fileselector_Filter_Func. 2013-12-30 00:31:04 +09:00
Daniel Juyung Seo fb4c136444 test_fileselector: Added edje custom filter example to show the real use case of fileselector custom filter.
This feature is really good. Thanks Ryuan!
2013-12-30 00:22:18 +09:00
Daniel Juyung Seo 5be56da91e test_fileselector: Cleaned up the comments in the test code. 2013-12-30 00:22:18 +09:00
Ryuan Choi a797f529e7 entry: Show "Paste" option when called ctxpopup with selection
"Paste" is usefull not only for pasting clipboard but also for replacing
selection to clipboard.
2013-12-29 21:22:19 +09:00
Ryuan Choi e26c97d55c fileselector : Add elm_fileselector_custom_filter_append to support custom filter
Summary:
Now, application developers can decide whether files and directories to show in
fileselector view.

Reviewers: seoz, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D416
2013-12-29 13:23:17 +09:00
Daniel Juyung Seo f464775670 test_button: Fixed wrong button number. 2013-12-29 02:21:31 +09:00
ami 02edf1abdb [hoversel] - Added evas smart signal "expanded" in hoversel. This patch depends on D373.
Test Plan: elementary_test -to Hoversel, Click on "Custom Item Style".

Reviewers: seoz, raster, cedric

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D381
2013-12-28 17:48:11 +09:00
Amitesh Singh 0be8dbcaae [elc_popup] - Added focus support on popup-base's swallow parts.
Summary:
 Currently the focus was only on popup-content and popup-action area.
New API elm_layout_content_swallow_list_get() which returns the list of
swallow parts.

Test Plan: elementary_test -to popup. click on "subpopup + X button"

Reviewers: seoz, raster, woohyun

Reviewed By: raster

CC: nirajkr, aryarockstar, kashish

Differential Revision: https://phab.enlightenment.org/D375
2013-12-28 17:33:10 +09:00
Chinmaya Panigrahi 5a3fea6a28 [Hoversel] Making focus cyclic for hoversel items.
Summary: Focus cyclic feature on hoversel items.

Test Plan: elementary_test -to "Hoversel Focus"

Reviewers: seoz, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D377
2013-12-28 17:21:23 +09:00
Carsten Haitzler 43c8a4ea7d remove ifdefs for emotion and eio as they always come with efl. 2013-12-28 17:15:34 +09:00
Daniel Juyung Seo f50925d5ad win: Added internal documentation about elm_win_rotation_set and elm_win_rotation_with_resize_set().
This is for efl developers not app developers so it goes to elm_win.c
Without knowing this, it is very tricky to understand the concept of
this api.
2013-12-27 23:15:12 +09:00
Ryuan Choi 6f63fbd639 web: Added elm_web_html_string_load() to load html string as the content
It is usefull to load html string instead of url, especially for testing.
2013-12-27 22:37:49 +09:00
ami afa4398ce2 [elm_object_item] - Added elm_object_item_style_set/elm_object_item_style_get().
Reviewers: seoz, raster

CC: aryarockstar, nirajkr, chinmaya061

Differential Revision: https://phab.enlightenment.org/D373
2013-12-27 20:00:04 +09:00
Carsten Haitzler 2490a7359f adatp to new api rename 2013-12-27 12:03:05 +09:00
Carsten Haitzler 99b270868d multibuttonentry - emit edje signal to oedje object not item struct! 2013-12-27 11:46:35 +09:00
Daniel Juyung Seo f88ce364be entry: Added missing smart callback documentation. 2013-12-27 03:06:30 +09:00
Daniel Juyung Seo 0768a16b93 entry: Sort smart callback descriptions in alphabetical order.
It looks like someone was trying to order them in elm_entry.c but missed
elm_entry.h.
2013-12-27 03:06:30 +09:00
Gustavo Lima Chaves 89da5dfc91 Reach mbe item on signal emit hook properly.
Fixes 360bba13c7c1004f7520e5e1ebe341c2e6323d2a mistake.
2013-12-26 16:03:24 -02:00
Gustavo Lima Chaves f6ad9605d6 New Elementary API -- elm_multibuttonentry_format_function_set().
Useful when one does not want the default multi button entry counter
item's format string.
2013-12-26 15:27:39 -02:00
Gustavo Lima Chaves 31f2530bd7 Multi button entry items now support custom parts on elm_object_item_text_[gs]et() calls.
I also removed a crazy "if (!label) return", since no other item text
hook on Elementary does that and I can't find a single reason for that
to be there.
2013-12-26 13:54:57 -02:00
Gustavo Lima Chaves e9f9e9a897 Now multi button entry items will happily listen to_object_item_signal_emit() calls. 2013-12-26 13:45:22 -02:00
Gustavo Lima Chaves 561a6d53a0 Add 'pulse' property to progressbar edje-external object API. 2013-12-26 13:42:24 -02:00
Gustavo Lima Chaves 005986cce7 Give focus capabilities to elm_plug widget. 2013-12-26 13:11:25 -02:00
Ryuan Choi 974f30f558 fileselector: Fixed simple typo 2013-12-26 21:08:41 +09:00
Carsten Haitzler 78f1995828 elm config - move x properties to child window of root. reduces wakeups 2013-12-26 19:02:36 +09:00
Amitesh Singh d2c3a63ec5 clock: Fixed warning messages related to local variable named "pause".
Summary:
Fixed the warning message.

elm_clock.c: In function 'elm_clock_pause_set':
elm_clock.c:1082:49: warning: declaration of 'pause' shadows a global declaration [-Wshadow]
elm_clock.c: In function '_pause_set':
elm_clock.c:1091:14: warning: declaration of 'pause' shadows a global declaration [-Wshadow]

Reviewers: seoz

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D403
2013-12-26 14:27:57 +09:00
Daniel Juyung Seo 43c19a1fd3 win: Added floating mode documentation and added a check for floating parameter.
The documentation is from the original floating mode commit message.
2013-12-26 14:23:29 +09:00
Daniel Juyung Seo e63dd3110a elm: Unified eina critical manro to CRI.
Being annoyed by different types of eina critical macros - CRI, CRIT,
 CRITICAL -, I concluded to unify them to one. Discussed on IRC and
 finally, CRI was chosen to meet the consistency with other macros -
 ERR, WRN, INF, DBG - in terms of the number of characters.
If there is any missing bits, please let me know.
2013-12-26 13:03:55 +09:00
Dennis Schridde 38f1626773 elm_mapbuf: fix format warning
Reviewers: cedric

Reviewed By: cedric

CC: cedric

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

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-12-26 10:21:49 +09:00
Daniel Juyung Seo b4c9406e98 test_glview_simple: Do not manipulate glview if gl is not supported. 2013-12-24 01:27:59 +09:00
Daniel Juyung Seo 9e09f74895 test_web.c: removed unused local variable. 2013-12-24 01:20:37 +09:00
Ryuan Choi 7c19dfffbc test_web: removed web-mobile test by adding an option to change useragent
Although useragent is an important feature for mobile, it's not all for mobile.
Instead, added an option to change the useragent among several typical useragents.
2013-12-23 21:25:25 +09:00
Daniel Juyung Seo d559beca4f theme: Check the return value of _elm_theme_group_file_find() and do not
pass NULL to eina_file_filename_get().

eina_file_filename_get() spits unnecessary eina error when the parameter
is null. In this case, we need to check the return of
_elm_theme_group_file_find() and do not call eina_file_filename_get()
	when the return is null. One should check the return of
	elm_theme_group_path_find().
Thank zmike for pointing this out.
2013-12-23 14:50:15 +09:00
Ryuan Choi afe9c97bb2 web: popup for <select> shlould be scrollable if there are many items.
Now, the height of select popup is the minimum value between the half size of window and
the height of items.
2013-12-21 09:54:02 +09:00
ChunEon Park 175f7cb5fb elementary/mapbuf - added 2 apis, elm_mapbuf_point_color_set(), get().
for gradient color effect, mapbuf supports these 2 apis additionally.
2013-12-20 21:08:24 +09:00
ChunEon Park 9ff56c3abf elementary/mapbuf - update map necessarily.
if the mapbuf is hidden, then there is no need to update map info.
2013-12-20 20:15:16 +09:00
Daniel Juyung Seo 440c2ce083 elm_widget: added internal documentation about elm_widget_sub_object_add() and elm_widget_sub_object_parent_add(). 2013-12-20 19:08:38 +09:00
Daniel Juyung Seo 228456248e author: added Michal Jagiello to authors list. 2013-12-20 19:00:28 +09:00
Daniel Juyung Seo 106db03a94 fileselector: enter key press in name entry acts like ok button click.
- I used "activate" signal of entry and this will call ok button clicked function directly.
- This is very useful when the fileselector is used in desktop with keyboard.
2013-12-20 18:54:57 +09:00
Jihoon Kim 052cc50c57 elm_test: use EINA_TRUE or FALSE as parameter of elm_image_resizable_set 2013-12-19 19:20:20 +09:00
Daniel Juyung Seo 6daf69c4bd config: comment out unused variable after commenting out some codes.
This fixes coverity CID 1139957, 1139958, and 1139959.
2013-12-19 14:26:52 +09:00
ChunEon Park 24e67da1f5 elementary/config - commented out the translation availabilty check.
It's insane to me app sholud have only "messages" text domain?!
2013-12-18 21:56:21 +09:00
Ryuan Choi a20c209079 fileselector: Add elm_fileselector_sort_method_get/set to select order of file/directory list.
Summary:
From now, the list of files/directories can be ordered by filename,
type, size, modified time with both ascent and descent.

Reviewers: seoz

Differential Revision: https://phab.enlightenment.org/D367
2013-12-18 20:05:35 +09:00
Daniel Juyung Seo 64a647a6fb clock test: modified clock test name, window title, and button name more descriptive. 2013-12-18 10:42:17 +09:00
Michal Jagiello 827ffc74c1 clock: Add elm_clock_pause_set and elm_clock_pause_get functions for elm_clock widget
Summary: This patch add two functions for elm_clock widget - elm_clock_pause_set and elm_clock_pause_get. I've prepared it because I want to do a stopwatch using this widget, but now it is impossible to pause the clock without set an editable mode.

Reviewers: seoz, cedric, stanluk, z.kosinski

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D374
2013-12-18 10:14:39 +09:00
Carsten Haitzler bffa4d013d colorsel - allow widget to re-wrap smaller of resized down with palette on 2013-12-17 09:13:54 +09:00
discomfitor ba5823f188 bugfix: unset genlist mincalcd flag when changing to/from having no item contents
not backporting because not sure if correct, but definitely a bug

also there's a similar issue where objects (I'm looking at you, elm_list) don't size until the first render, which causes the initial genlist calc sizes to be 100% wrong every time
2013-12-16 14:15:29 -05:00
Daniel Juyung Seo 83b1ede078 Revert "elm access - let's not use un-exported apis and break build."
This reverts commit bce55bd7695fef10278ad4038dc3a655d3859aba.
2013-12-16 16:02:35 +09:00
Daniel Juyung Seo 2caa98e296 Revert "elm_access: Disable public accessibility APIs in elm 1.8 release."
This reverts commit 0d61121ce4f87c9e9b0e8d8d7975f815328fe6f5.
2013-12-16 16:02:35 +09:00
discomfitor 8b8eed6b3d another misnamed genlist test window 2013-12-15 18:42:06 -05:00
discomfitor 205b7b84cd sync genlist widget test window title with the test's name
probably all the tests for elm should have the function name + window name + button name be the same to make it easier to navigate
2013-12-15 17:21:23 -05:00
discomfitor c8d7bd43b8 not sure why src/bin/test.c is executable... 2013-12-15 17:20:42 -05:00
Daniel Juyung Seo 6c3e744537 elm_win: fixed typo from the documentation. 2013-12-16 00:46:14 +09:00
Daniel Juyung Seo 8dddea297d elm: removed trailing white spaces from headers before I work on a header file. 2013-12-16 00:45:43 +09:00
Carsten Haitzler 7fe4200224 elm access - let's not use un-exported apis and break build. 2013-12-15 12:28:37 +09:00
Daniel Juyung Seo 2d918fe7b8 test_calendar: clean up the code by split the internal function. 2013-12-15 07:20:47 +09:00
Daniel Juyung Seo b7c524f923 test_access: enable access test again because we release 1.8 and it's
time to test/fix accessibility.

Revert "elm access - if we disable apis then disable the tests too - unbreak build"

This reverts commit d8b3cdb28f5334f9429959109af4b960bf414097.
2013-12-15 07:01:14 +09:00
Daniel Juyung Seo 6ad3ca17ed elm_test: clean up some elm_object_focus_set() usage.
- moved around the code to gather the same objects together.
- removed unnecessary focus set to a wrong object.
2013-12-15 06:57:19 +09:00
Daniel Juyung Seo 738e5f1ec1 test: removed unused codes.
- this button is not used any more because we you changed,user signal of
entry.
2013-12-15 06:36:19 +09:00
Daniel Juyung Seo bdeb046b6d elm examples: removed all the unnecessary empty lines.
being pedantic.
2013-12-15 06:24:41 +09:00
Daniel Juyung Seo 6d71a23c3a elm lib: removed all the unnecessary empty lines.
being pedantic.
2013-12-15 06:18:35 +09:00
Daniel Juyung Seo d955c579ca elm_test: removed all the unnecessary empty lines.
being pedantic.
2013-12-15 06:18:08 +09:00
Daniel Juyung Seo 1c553d7d24 elm examples: call evas_object_show(win) after its content creation.
- refer commit 64fd5a825b24591aedb9cac695d03f5b4d867442 for the detail
explanation.
- also move evas_object_resize(win, xx) alongside evas_object_show(win).
2013-12-15 05:57:30 +09:00
Daniel Juyung Seo d5a74454ee elm_test: call evas_object_show(win) after its content creation.
- refer commit 64fd5a825b24591aedb9cac695d03f5b4d867442 for the detail
explanation.
- also move evas_object_resize(win, xx) alongside evas_object_show(win).
2013-12-15 05:47:39 +09:00
Daniel Juyung Seo 414f7a064b win: added a suggestion to call window object evas_object_show() after
its content creation.

It triggers all smart objects' smart calculation and in case of X11,
XMapWindow() is called directly.
2013-12-15 04:26:22 +09:00
Daniel Juyung Seo 093e56c1f7 flip: made flip test name more descriptive and fixed wrong window name and title for flip interactive. 2013-12-15 04:07:43 +09:00