Commit Graph

9361 Commits

Author SHA1 Message Date
Amitesh Singh 48dc06e1ba win: removed printf in _elm_win_focus_highlight_geometry_get()
Reviewers: seoz

Reviewed By: seoz

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

Reviewers: seoz, woohyun

CC: singh.amitesh

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

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

It was moved to test_focus.c in 1977c8fca3d3687a5dc5d17918d72bb1af21b31e
2014-02-03 19:08:33 +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
Daniel Juyung Seo 7074032bc9 test_flip_page: Revert wrong initialize routine. 2014-02-03 09:28:16 +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
Carsten Haitzler 2677fd33fb theme - efm icons - update/improve generic icons.
as per T575 - this is an improvement of the base icons, or a start on
it, with more to come.
2014-02-03 08:07:28 +09:00
Daniel Juyung Seo 18d9bd968a test_focus: Internal refactoring of focus tests.
- Moved focus2, focus3 from test_focus2.c to test_focus.c
- Renamed "Focus 3" to "Focus Hide/Del".
- Renamed "Focus Custom" to "Focus Style"
- Renamed test_focus3.c to test_focus_custom_chain.c
2014-02-03 01:26:06 +09:00
Daniel Juyung Seo 061d93a19a test: Initialize structure on declarations with { 0 }.
No need to call memset manually.
2014-02-02 23:14:23 +09:00
Daniel Juyung Seo d1b1290c72 test: Removed size hint macros from reference codes.
Using additional macros in reference codes was not a good idea.
This will make codes more inconsistent and confusing.
2014-02-02 19:41:17 +09:00
Carsten Haitzler ed9a838af2 theme - packagekit - adjust text to be in right spot and subtle inset 2014-02-02 18:46:50 +09:00
Carsten Haitzler 5d0ec9dca7 theme - e - remove wrong group from packagekit group 2014-02-02 18:39:52 +09:00
Carsten Haitzler f4b60c547a theme - packagekit - make theme match default for module 2014-02-02 16:15:32 +09:00
Carsten Haitzler 1d155ebe59 add tests to window moves. 2014-02-02 10:20:16 +09:00
Carsten Haitzler 59a673c169 theme - pager16 - remove shadow as now shadow is back in comp 2014-02-02 10:02:07 +09:00
Carsten Haitzler c9720200c2 make iconify effects moe natural (faster to deiconify to make it feel snappy) 2014-01-30 07:46:01 +09:00
Mike Blumenkrantz 564ddb4c58 remove e comp iconify theme hacks, add basic iconify effect 2014-01-29 13:36:52 -05:00
maxerba 98645c31d3 Updating hungarian translation 2014-01-29 19:21:01 +01:00
Mike Blumenkrantz f70af93e9c add screensaver active edje signal for idle freezing
I forgot to commit this the other day I guess
2014-01-29 10:53:12 -05: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
Carsten Haitzler 69c25adea4 theme - support icon provider message for e comp frames 2014-01-29 22:17:13 +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
Mike Blumenkrantz d29a394bd0 reduce iconify animation durations for fast comp effect groups
T860
2014-01-27 09:46:22 -05:00
Davide Andreoli ae975c98a0 Packagekit module: try a new icon.
New icon for the E module as discussed on T427, I'm not
really happy by all the bits but its a good start. Also put
in the inkscape svg mockup file.

Thanks to ragecryx that draw the base icon!
2014-01-26 23:49:07 +01: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 51e18105ba test_web_ui: Added a button to test select tag and window.open()
elm_web provide UI compoents by extending ewebkit.
This patch adds a button to test select tag and window.open()
2014-01-26 12:26:13 +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
Cedric BAIL 0f86153835 PKGBUILD - follow changes in defining version with efl.m4
Reviewers: cedric

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

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-01-24 12:08:55 +09:00
Cedric BAIL 61d21adda1 autotools: let's override what we just did set. 2014-01-24 11:13:57 +09:00
ChunEon Park 300f12aef7 elementary - fix the build break.
caused by commit 9aa68bca91678dcd83de3e35be1a7121094d6ef7.

fix please cedric if this is wrong.
2014-01-24 11:07:58 +09: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
Daniel Juyung Seo 750cd95d10 edje_externals: Fixed formatting before working on it. 2014-01-23 22:36:41 +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
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
Carsten Haitzler 69144caceb theme - win shadow - stack under all so pulsing icon is not BELOW the shadow. 2014-01-23 00:28:13 +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
Carsten Haitzler 1d59d62703 theme update to handle rename on/off in efm
shoudl fix T799
2014-01-22 18:32:24 +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
Carsten Haitzler 59bc4cff0e elm filesel - scale button in filesel button. 2014-01-22 15:19:17 +09:00
Carsten Haitzler 3ee1a576e3 elm filesel - fix theme layout for button+entry 2014-01-22 15:17:47 +09:00
Carsten Haitzler 5c04d8866e inwin - the "greying out" fade looks just wrong - make it black. 2014-01-22 15:14:15 +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