Commit Graph

1700 Commits

Author SHA1 Message Date
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