Commit Graph

2020 Commits

Author SHA1 Message Date
Daniel Juyung Seo 774e32be36 test_naviframe: added a test for event freeze checking. 2014-05-10 14:01:33 +09:00
Anil Kumar Nahak cae2b831a1 test_gengrid: Added a checkbox for enable/disable of reorder_mode feature
Summary: reorder mode can be enable/disable by clicking "'Reorder mode enable" checkbox

Test Plan: elementary_test->"GenGrid"

Reviewers: raster, seoz, nirajkr, singh.amitesh

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D829
2014-05-10 01:09:27 +09:00
Daniel Juyung Seo cfb42e0502 test_focus: initialize focus related check states correctly.
Fetch the current focus config status.
2014-05-01 21:54:24 +09:00
Daniel Juyung Seo e9644d6882 elm_config: added focus menu to elementary_config.
This helps focus debugging by changing the global configuration.
2014-05-01 21:30:14 +09:00
Daniel Juyung Seo 5769f3954c config: apply CHECK_ADD macro to elementary_config. 2014-05-01 18:51:24 +09:00
Daniel Juyung Seo 00a0457aad config: introduced a global CHECK_ADD macro for elementary config. 2014-05-01 18:38:02 +09:00
Daniel Juyung Seo 75736227cd test_dnd: removed dead code.
This fixes coverity CID 1210426.
2014-04-30 16:14:53 +09:00
Daniel Juyung Seo 8002e0e518 test_popup: Added more align usages to reveal popup align bug.
Actually the bugs are from notify.
2014-04-30 01:21:55 +09:00
Thiep Ha e005cb7895 test_dnd: Change sending data to be compatible with other apps
Summary:
The sending data used # character, it is not compatible with other apps, so we should change it.

Change sending data to use newline character to be compatible with other apps, able to correctly drag to other apps like EFM, chrome, ...

Reviewers: JackDanielZ, seoz, raster, woohyun

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D751
2014-04-29 16:28:13 +09:00
WooHyun Jung d0fc678c1a notify_test: When elm_notify is shown, set focus to it. 2014-04-29 15:39:41 +09:00
Daniel Juyung Seo 535fe6bd97 gengrid: Added elm_gengrid_wheel_disabled_set/get() APIs.
Summary:
The basic idea is from Abhinandan Aryadipta and I implemented this in
upstream.
Special thanks to JackDanielZ for eolian madness.

@feature

Reviewers: JackDanielZ

Differential Revision: https://phab.enlightenment.org/D803
2014-04-27 13:54:37 +09:00
Daniel Juyung Seo ecc89e2c4a test_gengrid: renamed stupid long internal variable names shorter. 2014-04-27 13:12:21 +09:00
Amitesh Singh 31fd782ab0 gengrid: Implemented item_select_on_focus feature.
Summary:
This is based on bb1e8afd.
@feature

Test Plan: elementary_test->"Gengrid Focus"

Reviewers: seoz, raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D702
2014-04-27 13:08:15 +09:00
Daniel Juyung Seo b4093d2310 test_genlist: renamed stupid long internal variable names shorter. 2014-04-27 13:04:26 +09:00
Amitesh Singh 8405b15b2b genlist: Implemented item_select_on_focus feature.
Summary: @feature

Test Plan: elementary_test->Genlist Focus

Reviewers: seoz, raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D705
2014-04-27 12:40:17 +09:00
Amitesh Singh 8e0ffb8332 config: Added two APIs to enable/disable focus auto scroll bring in feature.
Summary:
 Summary:
    - APIs
      - elm_config_focus_auto_scroll_bring_in_enabled_set
      - elm_config_focus_auto_scroll_bring_in_enabled_get
    - list/genlist/toolbar/gengrid: Using this feature for scrolling for focus movement.
    - Added test case in "List Focus", "Genlist Focus", "Toolbar Focus" and "Gengrid Focus"

    @feature

Test Plan: elementary_test->"List Focus", "Genlist Focus", "Toolbar Focus" & "Gengrid Focus".

Reviewers: raster, seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D799
2014-04-27 04:15:26 +09:00
Hosang Kim 0f636e890a genlist: Add item loop feature
Summary:
If item loop feature is enabled, item is moved infinitely.

    1. Refactor direction key event handling routine
      - added internal function _elm_genlist_elm_widget_event_direction.
    2. Add looping feature for genlist
      - added Eolian function _elm_genlist_elm_widget_item_loop_enabled_set/get.
    3. Add demo - test_genlist.c / genlist focus

Reviewers: seoz, woohyun, jaehwan, Hermet, raster

Reviewed By: Hermet

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

Conflicts:

	src/lib/elm_widget_genlist.h
2014-04-24 14:17:35 +09:00
Amitesh Singh f3ad4cd3c4 gengrid: item moving feature with keys.
Summary:
- Added two APIs elm_gengrid_reorder_mode_start/stop
- Add two smart callbacks
  - "item,reorder,anim,start" - This is called when a gengrid item movement
     has just started by keys in reorder mode.
  - "item,reorder,anim,stop" - This is called when a gengrid item movement just
     stopped in reorder mode.

@feature

Test Plan: elementary_test->Gengrid Focus

Reviewers: raster, seoz, SanghyeonLee

CC: seoz

Differential Revision: https://phab.enlightenment.org/D723
2014-04-23 21:13:57 +09:00
Ryuan Choi c71dd81883 web2: Implemented alert/confirm/prompt
Added test cases for alert/confirm/prompt
2014-04-22 01:42:53 +09:00
Lukasz Stanislawski 85c5216205 atspi: separate atspi mode from access mode.
Since elm_access provides its own support for screen reader, access mode
and atspi mode must be separated.

https://phab.enlightenment.org/D726
2014-04-21 15:01:11 +09:00
Daniel Juyung Seo 237d8dd624 test_genlist: Initialize internal variable.
This fixes coverity CID 1193249.
2014-04-13 01:40:27 +09:00
Daniel Juyung Seo ac10d9ac6e test_gengrid: Refactor gengrid test code.
- Added 'unselected' callback to reveal multiselect bug.
- Passed 'gengrid' directly instead of passing 'api' structure and using it indirectly.
- Added more box to make the GUI cleaner.
- Removed unnecessary comments and added more important comment.
2014-04-13 01:37:38 +09:00
Tom Hacohen f6ee6c772f test task switcher: Adjusted to Eo2. 2014-04-10 09:39:32 +01:00
Tom Hacohen 5e48645b3d test systray: Adjusted to Eo2. 2014-04-10 09:39:32 +01:00
Tom Hacohen a97d2ab019 test application server: Adjusted to Eo2. 2014-04-10 09:39:32 +01:00
Daniel Juyung Seo 9607969c6a test_list: Removed wrong box packing from list focus example. 2014-04-07 00:58:22 +09:00
Amitesh Singh 68b3bc3583 focus: Renamed the config APIs _item_focus_on_selection_get/set to _item_select_on_focus_disabled_set/get()
Summary: - List: On Enter/Space/KP_Enter key press, focused item gets selected.

Test Plan: elementary_test->List Focus

Reviewers: seoz, raster

Reviewed By: seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D704
2014-04-06 00:10:55 +09:00
wonguk.jeong c2e8ef52ad plug: fix SEGV of elementary_test during reconnecting
Summary:
problem:
1. open window socket
2. open window plug
3. close window socket
4. open window socket
5. SEGV

there was invalid timer deletion due to dangling pointer.

@fix

Test Plan: elementary_test -> open window socket -> open window plug -> close window socket -> open window socket ->SEGV

Reviewers: raster, seoz

Reviewed By: raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D699
2014-04-04 12:18:48 +09:00
Amitesh Singh 73b16ef210 focus: Added optional focus feature - item focus on selection.
Summary:
Currenly focus and selection happens together. This patch makes item focus
on selection optional by configuration and API.

- configuration: "item_focus_on_selection".
- API: elm_config_item_focus_on_selection_get/set.
- Implemented item_focus_on_selection feature in elm list.
@feature

Test Plan: elementary_test->List focus

Reviewers: raster, seoz, woohyun

CC: seoz

Differential Revision: https://phab.enlightenment.org/D676
2014-04-03 19:11:57 +09:00
Amitesh Singh 81ff09a877 test_gengrid: Added more test cases to reveal bugs in horizontal mode.
Summary:
- Added focus highlight, focus animation & horizontal mode option to enable/disable.
- Removed unnecessary frame and label from test code.

Test Plan: elementary_test -to "Gengrid Focus"

Reviewers: seoz, raster

CC: seoz, nirajkr

Differential Revision: https://phab.enlightenment.org/D683
2014-04-03 18:39:30 +09:00
Carsten Haitzler ca266bdbd5 add hand1 cursor theme element and ensure elm cursor code actually works
this adds a hand1 sample cursor theme/image so the theme can find
cursors, (more should be added later), and now actually makes the elm
cursor handling properly set the cursor and update the hotx/y as
needed by tracking the hot swallow object. this relies on a fix in efl
as well.
2014-04-02 20:48:32 +09:00
Carsten Haitzler db64dffca4 oops - printfs snuck in. remove 2014-04-02 18:09:55 +09:00
Cedric BAIL 588c9edd5c autotools: fix build when Ecore_Drm is enable. 2014-04-02 17:00:16 +09:00
Amitesh Singh d593ad85e2 toolbar: Added focus movement on widget items by mouse in.
Summary:
- Added a test case in "Toolbar Focus".
@feature

Test Plan: elementary_test->Toolbar Focus

Reviewers: raster, cedric, woohyun

Reviewed By: raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D665
2014-04-01 20:26:33 +09:00
Amitesh Singh a090a1cc1f gengrid: Added focus movement on widget items by mouse in.
Summary:
- Added a test case in "Gengrid Focus".
@feature

Test Plan: elementary_test->Gengrid Focus

Reviewers: raster, cedric, woohyun

Reviewed By: raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D664
2014-04-01 20:26:13 +09:00
WooHyun Jung 75909f8654 elm win - fix wrong resizing of focus highlight obj.
When focus highlight animation is enabled, focus highlight can be
resized only by animator inside edje. So, if there is no animation
by some reasons, focus highlight just keeps its original.
@fix
2014-03-28 14:17:02 +09:00
Sung W. Park 65549dbffe ELM_GLView: added glview_manygears example to elementary_test
Added a more complex glview example to the elementary test.

- the gears lighting matches the original glx gears example.
- Added a background image to show that Glview works well with existing
  ELM winsets.
- Added 5 gears and buttons to increase/decrease gear teeth
2014-03-26 00:39:49 +09:00
Carsten Haitzler c263d9c4d6 add test cb to listen to all signals on layout obj 2014-03-24 19:53:18 +09:00
Carsten Haitzler 2291c37875 Revert "adding focus direction for gengrid"
This reverts commit 4fe82cc740eda0c6b50ee09aedcf173aac1e775d.
2014-03-24 18:02:03 +09:00
Hosang Kim 7b4a539e9e list: Add item loop feature
Summary:
If item loop feature is enabled, item is moved infinitely.

1. add new widget api - item_loop_enabled
2. add smart event using new config - elm_list.c
3. add demo - test_list.c/list_focus

Reviewers: seoz, woohyun, raster, jaehwan, Hermet

CC: singh.amitesh, c

Differential Revision: https://phab.enlightenment.org/D619
2014-03-24 17:35:07 +09:00
m.zielonka 32751ac33b adding focus direction for gengrid
Summary:
It is implementation of focus_direction method for gengrid widget.

We need it in our project. We must service focus by
directions and we want to use gengrid widget. Additionally we must
support changing focus by keyboard (TV remote).
Unfortunately gengrid hasn't default implementation to present its
sub-objects as candidates for focus direction.

Our solution can search for focusable sub-objects (from realized items)
and change then focused and last selected variables in gengrid. If this
candidate wins then object will receive focus.

Reviewers: cedric, raster

CC: raster, seoz

Differential Revision: https://phab.enlightenment.org/D449
2014-03-24 16:38:27 +09:00
Amitesh Singh 35ead0992d toolbar: Check disabled status of an item in nearest visible item.
Summary:
Also
- corrected the code for getting the toolbar item from the list.
- added a test for it.

Test Plan: elementary_test -> "Toolbar Focus"

Reviewers: seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D653
2014-03-24 15:55:46 +09:00
Daniel Juyung Seo dcdd697c70 genlist: Check disabled status of an item in nearest visible item.
Also added a test for it.
2014-03-24 02:07:41 +09:00
Daniel Juyung Seo e79bbb2fb5 list: Check disabled status of an item in nearest visible item.
Also added a test for it.
2014-03-24 01:52:07 +09:00
Daniel Juyung Seo 813016d0e6 test_genlist: Added focus move policy option to genlist focus test.
And removed unnecessary void * casting.
2014-03-24 00:48:11 +09:00
Amitesh Singh ffa7f989d7 toolbar: implemented widget item focus feature.
Summary:
1. Added "item,focused" and "item,unfocused" smart callbacks.
2. Added _elm_toolbar_focus_highlight_geometry_get().
3. Implemented elm_object_item_focus_set() and elm_object_item_focus_get().
4. Implemented elm_object_focused_item_get()
5. Ported _elm_toolbar_nearest_visible_item_get from cc827fef6.
6. Added Test Case "Toolbar Focus".

@feature

Test Plan: elementary_test->Toolbar Item Focus

Reviewers: seoz, woohyun, raster

CC: nirajkr, raster

Differential Revision: https://phab.enlightenment.org/D555
2014-03-24 00:22:32 +09:00
Daniel Juyung Seo f3e7478a08 test_list: Made the list focus window bigger for a better testing. 2014-03-23 21:40:56 +09:00
Amitesh Singh fd4ad3747a test_list,test_gengrid,test_genlist: Added disabled items for better testing.
Test Plan: elementary_test->genlist focus, list focus, gengrid focus

Reviewers: seoz

Reviewed By: seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D651
2014-03-23 19:19:38 +09:00
Daniel Juyung Seo 0306188ecc test_genlist, test_gengrid: Added more callbacks to genlist/gengrid for a
better testing.
2014-03-23 16:53:08 +09:00
Daniel Juyung Seo e69fc96dee test_list: Added focus move policy set example to test_list. 2014-03-23 02:04:16 +09:00
Daniel Juyung Seo 88776125a9 test_genlist/gengrid: Renamed 'item focus' test to just 'focus'. 2014-03-23 00:49:41 +09:00
Daniel Juyung Seo a6063a3c9c test_genlist: Flourish genlist focus test case to reveal more bugs.
- Added focus highlight enable/disable option.
- Added a button to set the focus to 2nd item after 1.5 seconds.
- Added a button to select the 2nd item after 1.5 seconds.
- Removed unnecessary frame and lable for the test.
2014-03-23 00:38:01 +09:00
Daniel Juyung Seo 31e81c1ecd test_genlist: Merged 'Genlist Focus' and 'Genlist Item Focus' test.
There is no reason to have two different focus example for genlist.
2014-03-23 00:13:58 +09:00
Daniel Juyung Seo e61185831d test_list: Added clicked callback to buttons and made focus highlight optional. 2014-03-22 19:17:01 +09:00
nirajkr fcfeba5097 gengrid : Implementation for gengrid item focus support
Summary:
Implemented the following API to support gengrid item_focus
          1. _elm_gengrid_focus_highlight_geometry_get
          2. _elm_gengrid_focused_item_get
          3. _item_focus_up
          4. _item_focus_down
          5. _item_focus_right
          6. _item_focus_down
          7. _item_focus_set_hook
          8. _item_focus_get_hook
          9. _item_focused
          10. _item_unfocused
          11. Changes in the smart_event, pan_calculation, smart_on_focus to support item focus

Reviewers: seoz, woohyun, singh.amitesh, raster

CC: raster

Differential Revision: https://phab.enlightenment.org/D550
2014-03-21 17:00:46 +09:00
Daniel Juyung Seo aa94a311f5 test_dnd: Fixed memory leak. Free item's data on item deletion.
This fixes coverity CID 1193246:  Resource leak  (RESOURCE_LEAK).
2014-03-21 02:35:29 +09:00
Ryuan Choi 7fdf597440 test_web: Improve fullscreen test case.
Improved fullscreen api tests not to show other widgets when web page requires fullscreen.
2014-03-20 23:30:53 +09:00
Daniel Zaoui 9f507a5c75 Eolian: Integration of App Server View 2014-03-20 07:33:55 +02:00
Daniel Zaoui aec543acdf Eolian: Integration of App Server 2014-03-20 07:33:55 +02:00
Daniel Juyung Seo ba25b75c3e test_list: Added focus/selection API test for list focus test case.
Added two buttons.
1. focus 3rd list item by elm_object_item_focus_set() API after 1.5 seconds.
2. select 3rd list item by elm_list_item_selected_set() API after 1.5 seconds.
2014-03-20 04:02:23 +09:00
Daniel Juyung Seo aa04d79e2e test_list: Used frame for focus option box. 2014-03-20 03:46:17 +09:00
Daniel Zaoui 966227a602 Eolian: Integration of App Client View 2014-03-19 07:04:35 +02:00
Daniel Zaoui dd39b373d3 Eolian: Integration of App Client 2014-03-19 07:04:34 +02:00
Carsten Haitzler f527ae0938 add soem more cb's for testign win state 2014-03-18 17:34:30 +09:00
Carsten Haitzler b4e13220de test - elm win states - add more printfs of events on a window 2014-03-18 15:12:02 +09:00
Daniel Juyung Seo 9df349962c test_panel: Refactor the internals of panel test.
- Use elm_genlist_item_class_new/free.
- Use elm_app_data_dir_get() instead of predefined PACKAGE_DATA_DIR.
- Created more internal function for the readability.
- Added comments for panels.
- Moved codes around for a better readability.
- Removed unnecessary code.
2014-03-18 09:50:31 +09:00
Mike Blumenkrantz c8deb71004 +test for gengrid speed
this is a test for demonstrating the severity of T1068. scrolling and resizing the test cause very long ui blockages
2014-03-17 15:51:56 -04:00
Andy Williams 97bee1af7a panel: Update the panel test to layout over some content - a more realistic demonstration of the capabilities 2014-03-14 07:49:59 +00:00
Thiep Ha 76dcd3bcc0 Test_dnd: Add more test for dnd
Summary:
There is no dnd test for format types except ELM_SEL_FORMAT_TARGETS.
This patch adds a test for other formats, so that we can test more about dnd.

Reviewers: JackDanielZ, seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D617
2014-03-13 22:08:08 +09:00
Ryuan Choi 05892abe11 elm_web2: Implemented to support HTML5 fullscreen API
test case : elementary_test -to webui
2014-03-13 00:45:37 +09:00
Tom Hacohen 59deb51fad Elm test dnd: Fixed substraction of void *.
This is not allowed. The pointers need to be cast to char * before doing
pointer arithmetics.
2014-03-12 09:39:17 +00:00
ChunEon Park 9be42b5657 config - don't allocate memory that will be never read.
CID: c3b272 d9802b, c0c72f
2014-03-10 23:21:40 +09:00
Anand c409347e85 Entry test code: Added example to show the last character of entered password
Summary: Added example to show the last character of entered password

Test Plan: elementary_test <search scrolled entry>

Reviewers: singh.amitesh, seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D610
2014-03-10 16:25:23 +09:00
Daniel Juyung Seo 067bf48b56 test_list: Refactor 'List Focus' test to reveal more focus related
bugs.

- Added Up, Down, Left, Right buttons around the list.
- Changed list focus test name.
  test_list8 -> test_list_focus
  test_list9 -> test_list_horiz_focus
- Incresed window size accordingly.
2014-03-09 20:11:29 +09:00
Daniel Juyung Seo 267978bd56 test_focus: Mark unused parameter as EINA_UNUSED.
This fixes the following build warning.

test_focus.c: In function ‘_focus_highlight_clip_disable_changed_cb’:
test_focus.c:682:90: warning: unused parameter ‘event_info’
[-Wunused-parameter]
2014-03-09 18:17:05 +09:00
Ryuan Choi a72f3c3c11 elm_web2: Implemented window_create / window_close
In addition, improved test_webui to check close scenario.
2014-03-09 12:23:44 +09:00
Daniel Juyung Seo c2eb6cbb01 test_focus: Added focus highlight clip disable example to the focus 3
test.
2014-03-09 03:42:40 +09:00
Daniel Juyung Seo f9559db8b5 test_list: Added more callbacks for a better testing. 2014-03-08 03:26:48 +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 63e5af12df test_popup: made the focus highlight optional for the popup test. 2014-02-26 01:52:03 +09:00
Daniel Juyung Seo 168bf54520 test_popup: added more popup items for the better focus test. 2014-02-26 01:41:11 +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 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
Ryuan Choi 473b183ebf test_fileselector_entry: null check
There are warning when toggled folder after pressing "api state" which clear icon.
2014-02-24 23:53:45 +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
Sung W. Park e10f506d51 elementary_test glview: fixed segv on close
It was deleting gldata object twice upon closing the program.
2014-02-22 03:17:06 +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
Daniel Juyung Seo 68a8e25672 test_list: Disabled 'focus on selection' as it is turned off by default.
- This can be enabled by checking the check buttons.
- Switches 'focus on selection' and 'focus animation' check buttons.
2014-02-18 03:49:19 +09:00
Daniel Juyung Seo 79cadb90f4 test_label: marked EINA_UNUSED for unused parameters and removed unnecessary casting.
This removed build warnings.
2014-02-17 01:11:23 +09:00
Davide Andreoli 60a087b802 test entry: make the minimum bug I see (hopefully) more visible.
Also don't use the generic poppers </>
2014-02-14 19:53:59 +01:00
Davide Andreoli 920b556d36 Test Label2: keep the slider updated when the label change size 2014-02-10 22:08:00 +01: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 6761c289ae test_entry: Refactored entry user style sample code.
- removed unnecessary lines.
- used proper variable name.
- used proper parent on widget add.
2014-02-10 01:28:55 +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
Davide Andreoli 6c6f35dc56 Add more tests to "Entry user style", to spot out lots of bug.
This test is full of TextBlock bugs, just to name a few:
- The window height is wrong, it seems to take the max height as
the win was less large, try resizing to min width to understand what I mean.
- the backing on the em tag is not working.
- the underline colors are wrong.
- popping the style should remove the double underline.
- push/pop on the stack seems not to work as expected: If you push twice
you should need 2 pop to return to the normal state.
2014-02-09 14:53:14 +01: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
Davide Andreoli 00e1bb3b23 New textblock tags for elm entry widget.
This commit add the following new tags:
title, subtitle, bigger, big, small, smaller, code, comment,
string, number, brace, type, class, function, param, keyword,
preprocessor, line_added, line_removed, line_changed.

Tags has been unified in 3 new utility macros:
COMMON_TEXTBLOCK_TAGS, ENABLED_TEXTBLOCK_TAGS, and DISABLED_TEXTBLOCK_TAGS
to avoid repeating too much in the theme.

Also a new test is in: "Entry Style Default" that show all the new styles.
Docs will follow soon.
2014-02-08 20:14:49 +01: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
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
Carsten Haitzler 22b9f5c9e3 attempt to fix up CID 1167968 2014-02-07 16:43:44 +09:00
Chinmaya Panigrahi b318b09d05 test genlist: Fixed warning in genlist item styles.
Summary:
"_genlist_renew(gl, "default"); " was trying to get the data
" check = evas_object_data_get(obj, "check"); " before
it's set by " evas_object_data_set(gl, "check", check); "

Test Plan: elementary_test < then type genlist item styles >

Reviewers: seoz, singh.amitesh

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D518
2014-02-06 14:31:16 +09:00
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
Daniel Juyung Seo c387ca96c4 test_button: Removed evas_object_show() calls for icon from test code.
Summary: Icon is an internal object of button. There is no need to call evas_object_show() for icon widget.

Reviewers: seoz

Differential Revision: https://phab.enlightenment.org/D517
2014-02-05 01:23:22 +09:00
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
Daniel Juyung Seo 8acb4820bc elm: Fixed comments and documentations on test_focus and genlist header. 2014-02-04 01:35:40 +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 7074032bc9 test_flip_page: Revert wrong initialize routine. 2014-02-03 09:28:16 +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 1d155ebe59 add tests to window moves. 2014-02-02 10:20:16 +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
WooHyun Jung 9b0b34e801 test_focus3: Correct wrong data for smart callback. 2014-01-23 15:07:33 +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 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 b3dff64665 test, examples fileselector_button: Changed the usage of deprecated APIs to recommended
APIs.
2014-01-21 23:44:29 +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 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
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
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
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
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
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
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
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
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
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 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 79be27c307 fix elm fsel test to check mkdir return
this should fix CID 1040043
2014-01-10 17:05:35 +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
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
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
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 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 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
Daniel Juyung Seo fd5c046dfe elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +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 Hirt 928fa2e24e elm_test: fix test_entry_anchor scroller callback 2013-12-31 16:51:56 +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
Carsten Haitzler 9e34b7d117 tests - add test for requesting sa massive window and seeing response 2013-12-30 13:42:32 +09: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 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 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
Carsten Haitzler 43c8a4ea7d remove ifdefs for emotion and eio as they always come with efl. 2013-12-28 17:15:34 +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
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
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
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
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
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
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
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
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 d955c579ca elm_test: removed all the unnecessary empty lines.
being pedantic.
2013-12-15 06:18:08 +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 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
Daniel Juyung Seo 9207105580 test_dnd: clean up dnd sample code.
- fixed formatting.
- set timer pointer to null when canceling the timer.
2013-12-10 01:03:27 +09:00
Daniel Zaoui e67db2c832 DnD: cancel feature during drag
This can be tested by running "Features DnD" test. Enable the 5s cancel
timeout, drag an item and wait for the cancellation.
2013-12-09 09:32:43 +02:00
Daniel Juyung Seo 735d433c20 test_glview_simple: internal refactoring and clean up of glview simple test.
- Removed unused variable.
- Followed the structure naming convention.
- Fixed formatting.
- Removed unnecessary empty lines and spaces.
- Removed unnecessary casting.
- Removed typos.
- Use ECORE_CALLBACK_RENEW macro for animator callback.
- Just call elm_exit() to exit the main loop.
- Removed unnecessary evas_object_data usage.
- Made a button text more descriptive and correct.
2013-12-07 23:30:37 +09:00
Ryuan Choi c5196bfcda fileselector: Add support to change the size of thumbnails in grid view.
Reviewers: seoz, raster

Reviewed By: raster

CC: raster

Differential Revision: https://phab.enlightenment.org/D276
2013-12-03 18:28:52 +09:00
Daniel Juyung Seo 18c18ba85a popup: fixed formatting, typos, and subtle things of commit f4f2e5d24271cc6504443479381fdb26a605ac70 2013-12-02 21:20:03 +09:00
Daniel Juyung Seo 38c19d2739 gengrid: refactoring of commit 7187a3124fc6c169fcfec2c249a1fd483481fbba.
- follow the convention for structure name
- removed unnecessary callback
- removed wrong api usage
- removed unnecessary variables
- removed unnecessary parameter passing
- fixed ugly ui
- added 'static' to local function
- changed frame description more descriptive
- fixed formatting
2013-12-02 20:32:14 +09:00
Daniel Juyung Seo 8a0159df4f elm: long waited seasonal trailing whitespaces removal!
This is a ceremony of elementary 1.8 release!
2013-12-02 19:43:46 +09:00
Anil Kumar Nahak d64230de9f [slider] show/hide slider popup
Summary: elementary_test->slider

Reviewers: singh.amitesh, seoz, raster

Differential Revision: https://phab.enlightenment.org/D347
2013-12-02 16:19:53 +09:00
abhi c2c1b87f6f [Popup] Adding elm_popup_align_set and elm_popup_align_get api
Summary: Added support for popup align set

Test Plan: elm_popup_align_set, elm_popup_align_get, elementary_test -to popup

Reviewers: seoz, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D321
2013-12-02 16:11:51 +09:00
Sanghyeon Lee 8531b7aeed [Gengrid] Enable Scroll To Type when item bring in or show region.
Scrollto positions are divided 4 type
NONE : do not scrollto.
TOP : scrollto position is always top viewport.
MIDDLE : scrollto position is always middle of viewport.
IN : scrollto position to fully visible in viewport.
2013-12-02 15:52:35 +09:00
abhi 35e1e6a988 tooltip: Adding elm_object_tooltip_orient_set API
Summary: Eight fixed orientations provided to orient tooltip around event area

Test Plan: elementary_test -to tooltip, elm_object_tooltip_orient_set

Reviewers: seoz, singh.amitesh, Anusha

Reviewed By: seoz

CC: Anusha

Differential Revision: https://phab.enlightenment.org/D326
2013-12-02 00:12:56 +09:00
ami 7dbda5f2d3 [hoversel] - Removed focus_direction since focus_cycle is applied on sd->hover.
Summary: removed focus_direction

Test Plan: elementary_test -> hoversel

Reviewers: seoz, raster

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D359
2013-11-30 15:34:55 +09:00
Daniel Zaoui d0375f8550 Rename DnD test 2013-11-28 16:24:01 +02:00
Daniel Juyung Seo 10d68b4c57 test_icon.c: internal refactoring of test_icon example.
Now it looks like a normal efl app.
- Declare variables at the start of the function.
- Resize and show the window right after its creation.
- Set widgets' parents properly.
2013-11-26 23:44:27 +09:00
Daniel Juyung Seo 5ccc0bbad2 test_icon.c: removed unnecessary box.
This fixes " _smart_need_recalculate_set() Object 0x803db8e8 is not stable during recalc loop" issue which was reported by kuuko.
Special thanks to kuuko.
2013-11-26 23:41:17 +09:00
ChunEon Park 08357595c5 elementary/flip - revise the test code.
now flip go works with the current selected item.
2013-11-26 13:03:03 +09:00
Daniel Juyung Seo 933963517a test_popup.c: added popup example which has a rectangle as its parent.
This shows how the popup and its block event area size are decided.
2013-11-25 14:06:47 +09:00
ChunEon Park d362b574ab elementary/ctxpopup - fix T235 ctxpopup_example_01 can popup many times at once.
I know this is not fundamental fix but there is no solution at this moment unless fixing the evas.
2013-11-20 10:58:05 +09:00
Daniel Juyung Seo 56a842d29a test_main_menu.c: refactored button callback function.
- removed unnecessary casting.
- used a proper type, Eina_Bool, for the return value of elm_object_item_disabled_get()
- printed out more useful information.
2013-11-18 09:59:51 +09:00
Daniel Juyung Seo 1dd1f2f425 test_genlist.c: removed unnecessary spaces from legacy codes. 2013-11-18 09:59:51 +09:00
Daniel Juyung Seo b00e9c6278 test_genlist.c: added callbacks for unrealized and delete to test the callback sequence. 2013-11-18 09:59:51 +09:00
Carsten Haitzler f1b88b0f68 test - unify glsl formatting to match glview gears example 2013-11-17 10:04:26 +09:00
Carsten Haitzler 3910b15578 elm-test - oops - fix colorsel premul 2013-11-16 12:49:26 +09:00
Carsten Haitzler 9c96c4fa36 fix color premul complaints in examples
this should fix T498
2013-11-16 10:21:03 +09:00
Andrii Kroitor cf2ae7397e Elm_menu: fixed item disable hook for elm_dbus_menu
Summary:
Menu items in dbus-mode (in Ubunut/Unity) were not updated on
disabled/enabled state changes. They were applied only after
adding/removing an item.

Reviewers: cedric, seoz, raster

Reviewed By: raster

CC: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D333
2013-11-16 09:50:32 +09:00
Daniel Juyung Seo 3c3a4d0922 test_index.c: added index clear example and use activated callback for entry. 2013-11-15 21:50:40 +09:00
Daniel Juyung Seo 8fee787bd2 test_index.c: internal refactoring of test code.
1. Set internal function as static.
2. Put prefix '_' for internal functions.
3. Moved window resize/show code.
2013-11-15 21:50:40 +09:00
Amitesh Singh 08936d7f38 [hoversel] - Added focus support on hoversel items.
Summary: Focus support on hoversel items.

Test Plan: elementary_test->hoversel2

Reviewers: seoz, raster, Hermet

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D316
2013-11-13 20:39:48 +09:00
Daniel Juyung Seo 09b4d56c4a test_genlist.c: added "genlist del" example to reveal more genlist issues.
This example tests the following cases on item selection.
1. genlist item deletion
2. genlist clear and item append
3. genlist del
2013-11-13 17:07:15 +09:00
Daniel Juyung Seo dd0c526188 test_button.c: added dynamic label change example to button. 2013-11-13 10:53:43 +09:00
Daniel Juyung Seo efe7cec4f5 test_toolbar.c: fixed wrong image name.
Give a warm spank to jeyzu :)
2013-11-13 10:19:49 +09:00
Daniel Juyung Seo 3301d88ca9 test_toolbar.c: gave more meaningful name 'Toolbar Vartical' to toolbar test 6. 2013-11-13 10:16:33 +09:00
Daniel Juyung Seo 109c41b0f1 test_hoversel.c: print out hoversel item's text when it's selected. 2013-11-13 09:34:58 +09:00
Daniel Juyung Seo 5fae0149ca test_hoversel.c: removed unnecessary weight/align set. 2013-11-13 09:32:20 +09:00
Carsten Haitzler 9d4a9900cc option build deps that efl guarantees... now just are assumed and not ifdef'd 2013-11-12 22:56:05 +09:00
Carsten Haitzler f628d3487a Revert "remove ifdef from glsl in glview shader - ifdefs not universally supported"
This reverts commit 54883cb7fb0c42f37615f1485e554d947b42c369.
2013-11-09 15:21:22 +09:00
Carsten Haitzler 4bea4e8b5f fix warning 2013-11-08 18:12:55 +09:00
Daniel Juyung Seo 30e8b05e98 test_genlist.c: Fixed wrong item class name.
This fixes coverity CID 1126089.
2013-11-07 01:24:12 +09:00
Daniel Juyung Seo 90f9c6bc64 test_progressbar.c: Fixed wrong null set of timer.
If pd is null, pd->timer will crash and cannot set it to null.
This fixes coverity CID 1126081.
2013-11-07 00:01:09 +09:00
Daniel Juyung Seo 03ddfa12c8 test_progressbar.c: Fixed formatting before working on it. 2013-11-06 23:59:45 +09:00
Daniel Juyung Seo f122be13c2 test_list.c: Fixed list multi select internal structure name. 2013-11-06 13:11:41 +09:00
Daniel Juyung Seo e8181761b3 test_genlist.c: Added genlist multi select example. 2013-11-06 13:11:23 +09:00
Daniel Juyung Seo 0feb7f7133 test.c: Splitted elementary_test List categories into List, Genlist, and Gengrid.
This is because there are too many list examples and it was quite hard to find a proper test.
2013-11-06 03:32:52 +09:00
Daniel Juyung Seo 9399c0c3df test_list.c: Splitted list multi select example. 2013-11-06 03:23:41 +09:00
Daniel Juyung Seo a5c3b45e84 test_list.c: fix list focus example to enable the focus highlight and animation for the proper window. 2013-11-06 03:09:59 +09:00
Daniel Zaoui b66233d128 DnD: multi-callbacks support
This features permits execution of more than one set of functions during
DnD.
Delete function API has been modified to give the developer the
possibility to remove a specific set of functions.
2013-11-05 08:28:54 +02:00
Daniel Juyung Seo 23822e1288 test_list.c: Added elm_list_multi_select_mode_set() example. 2013-11-05 14:18:54 +09:00
Daniel Juyung Seo b2d3b02ffd test_list.c: Internal refactoring.
1. Use EINA_FALSE instead of 0
2. Set the parent widget correctly.
3. Remove unused multi_select_set.
4. Give a meaningful label to the first list item.
5. Call item_selected_set to the second item.
6. Remove unnecessary box.
2013-11-05 14:18:53 +09:00
Daniel Juyung Seo 4c4f3821b0 test_popup.c: Removed unused array. 2013-11-05 14:18:53 +09:00
Jean-Philippe Andre 877e122e7a elementary_test: remove ELM_LIB_QUICKLAUNCH
Refer to the previous commits for the reason.
Remove all #ifndef ELM_LIB_QUICKLAUNCH from the test files.
2013-11-05 10:05:01 +09:00
ChunEon Park f0371f458e Revert "popup: Added support for popup move. elm_popup_move."
This reverts commit f67ecb2028dd663aa4b0d9fe78b2a392ac169e7e.

Conflicts:

	ChangeLog
	NEWS
	src/bin/test_popup.c

Sorry, Pend this to 1.8 after.
Let's think about adding this API more carefully.
2013-11-04 22:17:03 +09:00
Cedric Bail 14a474b527 elementary: automatically detect if compiler can build quicklaunch binary. 2013-11-04 20:54:21 +09:00
Jean-Philippe Andre d7bd8941c9 Quicklaunch: Remove extra build code for elm_test
Now that we know we can just compile PIE programs and run them with
quicklaunch, let's simplify the build logic.
I'm pretty sure it even gives a nice boost in the build process :)
2013-11-04 17:19:43 +09:00
Jean-Philippe Andre 9ab6c58530 elm/quicklaunch: Improve executable path search
Always search executable based on CWD if possible.
This way, elementary_run behaves more like sh where all of
sh script, sh ./script and sh `pwd`/script will work.

Also, remove quicklaunch-specific ELM_MAIN.
This needs some doc, but compiling with -fpie and -pie is much
better.

Note: There's an API/ABI break here, BUT these APIs are marked
as not to be used outside macros. And there isn't any macro
using them :)
2013-11-04 16:49:02 +09:00
Daniel Juyung Seo 7f14bb7df3 test_index.c: Internal refactoring. Reduce the window size and do not expand the button.
Now it looks nicer and still shows the index clipping sample.
2013-11-04 13:19:44 +09:00
Daniel Juyung Seo 025009c6bd test_popup.c: Refactored elm_popup_move() example. 2013-11-04 02:02:50 +09:00
Abhinandan Aryadipta 16b4279656 popup: Added support for popup move. elm_popup_move.
Summary: Added support for popup move

Test Plan: elm_popup_move

Reviewers: seoz, singh.amitesh, tasn, Hermet

CC: raster

Differential Revision: https://phab.enlightenment.org/D247
2013-11-03 23:03:32 +09:00
Carsten Haitzler 9f39ef0687 elm access - if we disable apis then disable the tests too - unbreak build 2013-11-02 10:48:12 +09:00
Carsten Haitzler 8270f3f84f remove +x bit from .c file! 2013-10-30 21:28:01 +09:00