Commit Graph

8418 Commits

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

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

Reviewers: seoz, jaehwan, raster, woohyun, cedric

Reviewed By: raster

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

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

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

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

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

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

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

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

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

Test Plan: elementary_test -to genlist

Reviewers: seoz, singh.amitesh, raster

Reviewed By: raster

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

Reviewers: Hermet, raster

Reviewed By: raster

CC: seoz

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

Test Plan: elementary_test -to hoversel

Reviewers: seoz, singh.amitesh

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

Reviewers: woohyun, tasn, seoz

Reviewed By: seoz

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

Reviewers: seoz, raster

Reviewed By: raster

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

Reviewers: seoz, raster, cedric

Reviewed By: raster

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

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

Reviewers: seoz, raster, woohyun

Reviewed By: raster

CC: nirajkr, aryarockstar, kashish

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

Test Plan: elementary_test -to "Hoversel Focus"

Reviewers: seoz, singh.amitesh

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

CC: aryarockstar, nirajkr, chinmaya061

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

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

Reviewers: seoz

CC: nirajkr

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

Reviewed By: cedric

CC: cedric

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

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

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

Reviewers: seoz

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

Reviewers: seoz, cedric, stanluk, z.kosinski

Reviewed By: seoz

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

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

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

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

It triggers all smart objects' smart calculation and in case of X11,
XMapWindow() is called directly.
2013-12-15 04:26:22 +09:00
Daniel Juyung Seo 093e56c1f7 flip: made flip test name more descriptive and fixed wrong window name and title for flip interactive. 2013-12-15 04:07:43 +09:00
Daniel Juyung Seo 329190ce99 ctxpopup: disable content correctly on smart disable.
This is a fix of commit 1932e6713104bfe752097dab8b6902ed86b58493
2013-12-15 03:47:43 +09:00
Ryuan Choi 495f6755b0 web: Include webkit header in Elementary.h when built with ewebkit or ewebkit2
Like other options, Elementary.h will contain WebKit.h or WebKit2.h when
elementary was built with ewebkit or ewebkit2.
2013-12-13 22:26:02 +09:00
ChunEon Park a50d31125d elementary/ctxpopup - disable the contents when they are exist. 2013-12-13 11:21:08 +09:00
Jean-Philippe Andre 4cf069ede9 Flip: Fix confusion with hitsize and direction
Elm Flip has some confusing API (and documentation as well) regarding
flip directions and hitsize. Basically, it works just as expected
when everything is set to 1 (all hitsizes are 100% and all directions
are enabled), like in the elm example file :)

BUT, it's not actually possible to restrict the hitsize for one
direction.

Example: You want to flip to left only.
Set direction enabled LEFT.
Then, you must set the hitsize for... RIGHT because that's where the
finger interaction will start from (right to left!). BUT since
RIGHT interaction is not enabled, the histize parameter on RIGHT
will have NO effect on the flip.

Here's what this commit fixes:
- Clear up a bit of the confusion between direction and hit area,
through documentation
- Separate hit area position and direction (bugfix)
- Allow for negative hitsize values to DISABLE a specific area
(define previously undefined behaviour)

So, it will be possible for example:
- Enable left/right interactions
- Only on the top 10% of the widget

NOTE: This breaks behaviour! API/ABI are not quite broken but
undefined behaviour just got defined and fixed.
2013-12-11 15:02:20 +09:00
Carsten Haitzler 3c0fde2f66 example - prefs 03 - disallow animation time of 0 (just not valid/sensible)
this fixes T602
2013-12-10 18:05:09 +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 Zaoui 75914e85d6 DnD: Valgrind fixes 2013-12-09 09:31:55 +02:00
Cedric Bail 6be10eb078 popup: make sure headers order is always fine. 2013-12-08 13:31:53 +09:00
Cedric Bail 3fb275bba5 atspi: handle build without gettext support. 2013-12-08 13:31:24 +09:00
Daniel Juyung Seo c8d95e0dbf datetime: fixed elm_wdg_disable parameter ret to &int_ret for
consistency.
2013-12-08 04:59:35 +09:00
Daniel Juyung Seo b85558c512 layout: reset disabled status after refreshing the widget theme.
This fixes many potential bugs which will loose disabled status after
theme hook.
Thanks a lot kuuko for the report.
This fixes T608.
2013-12-08 04:55:42 +09:00
Daniel Juyung Seo b4cf7588b1 layout: check the return value of elm_widget_theme_object_set() and
return if it fails.

Do not proceed next steps if elm_widget_theme_object_set() returns
false. Proceeding next steps has no meaning at all.
2013-12-08 04:53:49 +09: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
Daniel Juyung Seo c9ddaa1c8d label: removed unimplemented API documentation.
Thanks kuuko for the report.
2013-12-07 19:25:27 +09:00
Daniel Juyung Seo e15b726c6c image/layout/toolbar: fixed documentations which use non-existing APIs.
Thanks to kuuko for reporting.
This fixes T607.
2013-12-07 03:12:49 +09:00
Viacheslav Lvov 332cdd1e7c genlist - don't do heavy queue work for 0 width genlists and defer fill
Scenario:
1. Create elm_genlist.
2. Add some items to it.
3. Do not resize the genlist and leave it with width == 0.

PROPOSAL:
1. When the element is queued for recalculation check current width of
widget. If it is equal to 0 do not add idle enterer.
2. In smart callback on resize check if queue of items that need
recalculation is not empty and new width is not 0. In this situation
add idle enterer.
2013-12-06 16:08:09 +09:00
Yakov Goldberg 497d66272a fileselector: more doxygen typo and parameter name typo 2013-12-05 13:52:39 +02:00
Yakov Goldberg 70ade2450b fileselector: parameter name typo, spank on me 2013-12-05 13:47:24 +02:00
Yakov Goldberg 629e8ae0ec fileselector: doxygen typo (forgot smth in prev commit) 2013-12-05 13:28:35 +02:00
Ryuan Choi ea72160db5 fileselector: Fix the indentation in elm_widget_fileselector.h 2013-12-05 20:23:47 +09:00
Yakov Goldberg f50264054d fileselector: doxygen typo 2013-12-05 13:21:06 +02:00
Yakov Goldberg 93994865bc scrollable_interface: doxygen typo; eo_typecheck typo 2013-12-05 12:03:34 +02:00
Yakov Goldberg ade0857b48 widget: doxygen typo 2013-12-05 12:03:34 +02:00
Daniel Juyung Seo dd4c8afac0 elm_spinner.c: fix mouse spin never stop issue with mouse wheel with spinner widget.
Do not use a timer when the wheel is used to spin the spinner.
This fixes T604.
Special thanks JP for reporting.
2013-12-05 15:53:32 +09:00
WooHyun Jung 0a60e7b575 elementary/elm_button.c : Change the timing of signal_emitting.
Application can delete button itsefl(or its parent) inside the smart callback function.
So the signal_emitting with button object should be done in advance.
2013-12-05 10:01:43 +09:00
Ryuan Choi 9816a8cae1 gengrid: Remove unnecessary if statement
Summary: func.content_get is already checked in enclosed block.

Reviewers: seoz, cedric, raster

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D366
2013-12-04 13:16:02 +09:00
Chinmaya Panigrahi 0bd965abc8 [Radio] Correcting example program of radio in elementary
Summary: Minor defect in example program fixed.

Test Plan: gcc -g radio_example_01.c -o radio_example_01 `pkg-config --cflags --libs elementary`

Reviewers: seoz, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D363
2013-12-04 08:21:56 +09:00
Daniel Juyung Seo 9013230dac elm_interface_scrollable.c: fix scroller page flick calculation roundup routine.
When the offset is not bigger than 0 && abs(offset) is not smaller than dx(or dy), round up routine could have mis-calculation bug.
It should substract one value more to get a proper round up result.
For example, when x = 1440, offset = -2160, dx = 360, x should become 720 but round up routine made it 1440.
Because it was rounded up from 1080 to 1440. It should be rounded down from 1079 to 720.

Special thanks to Hosang Kim for the help.

Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>
Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
2013-12-04 00:42:15 +09:00
Daniel Juyung Seo bc9d9ecd6b elm_interface_scrollable.c: reset momentum_animator to null when return cancel from the animator. 2013-12-03 21:40:09 +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
Carsten Haitzler fbfa310cb8 pass distcheck - add imported headers to makefiles to pass 2013-12-03 17:14:30 +09:00
Lukasz Stanislawski 4b81deaa8c accessibility: ATSPI2 support.
Summary:
Hello guys,

Below You can find a proof o concept for ATSPI2 support for elementary applications. Currently application can only be listed on bus by clients such as 'accersiser'. I am strongly looking for comments to this design.

Here are my comment regarding following code:
* This pach requires https://phab.enlightenment.org/D327 patch to compile
* I have decided to include whole atspi-constants header, because in fact i will need one-to-one copy of all its enums and defines. Qt has something like 3rdparty folder from which they include this header and don't require atspi dev packages at compilation time. Maybe efl needs the same solution or should just require next package in compilation? I agree that putting atspi-constant.h in main source tree is bad idea, but where? src/utils ??

Reviewers: cedric, raster, kimcinoo

Reviewed By: raster

CC: pkaczmarek-samsung, seoz, jaehwan, kimcinoo

Differential Revision: https://phab.enlightenment.org/D328
2013-12-03 17:07:05 +09:00
Daniel Juyung Seo a754a91961 elm_interface_scrollable.c: use correct structure for mouse up.
Actually Evas_Event_Mouse_Up and Evas_Event_Mouse_Down are same though :)
Being pedantic.
2013-12-02 23:55:27 +09:00
Daniel Juyung Seo 235fb48f08 AUTHORS/elm_authors.h: updated authors. 2013-12-02 21:32:21 +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
Daniel Juyung Seo 56ca1c1dd7 elc_popup.c: removed unused warning. 2013-12-02 19:38:35 +09:00
Carsten Haitzler 1c83b8ba6b elm slider - warning removal for unused params 2013-12-02 17:23:19 +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
Cedric Bail fafb90676c autotools: improve build system to be able to correctly pick outside and inside tools. 2013-12-01 23:35:43 +09:00
Daniel Juyung Seo 9efa212975 elm_genlist.c: return "elm.swallow.icon" part's object when the part parameter is null on _item_content_get_hook().
Now elm_object_item_content_get() works fine.
+ avoid ambiguous if-else statement by using braces.
2013-11-30 18:28:47 +09:00
Daniel Juyung Seo 00bd27a883 elm_genlist.c: return "elm.text" part's text when the part parameter is null on _item_text_get_hook().
Now elm_object_item_text_get() works fine.
2013-11-30 17:02:24 +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 Juyung Seo 8a7de8df34 elm_widget.c: fixed formatting while reading the code. 2013-11-30 15:28:44 +09:00
nirajkr 98b0383451 elm_genlist.c: Fix to decorate the item if it is set
Summary: Changes in the _item_realize to decorate the item T576 test_genlist10

Reviewers: seoz, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D358
2013-11-29 19:18:00 +09:00
Gustavo Sverzut Barbieri 085e644c49 genlist: clear 'rel' pointer when it becomes unused during del_pre_hook.
If we're walking an item and it's deleted, the memory won't go away
immediately in _item_del_pre_hook() as would in _item_del(), then it's
not enough to remove ourselves from the reverse-relative list of the
item we were relative to, we also need to clean our own relative
pointer so we won't touch it later when the item is not being walked
anymore and _item_del() is called.

I was getting this annoying error with espionage application, opening
an interface of an object and then closing the window or selecting
another bus name (whatever would call elm_genlist_clear()).

During the clear process genlist will flag the next item as "walking"
so it's not gone when the current item dies (would happen if next item
is a subitem). The item would run _item_del_pre_hook() but not
_item_del(), but on the next loop iteration the next item would be the
current, then not walking anymore and during _item_del() it would
access it->item->rel which would point to the now-dead item.
2013-11-28 20:42:16 -02:00
Tom Hacohen 877abee7fe Elm scroller: prevent usage of uninitialized vars as reported by valgrind.
This improves the terminology crash rate a bit.
2013-11-28 16:33:46 +00:00
Tom Hacohen be207937f5 Elm scroller: _movement_block_get fix return val on error.
It was returning ELM_SCROLLER_SINGLE_DIRECTION_NONE instead of
ELM_SCROLLER_MOVEMENT_NO_BLOCK.
Looks like a c&p error.
2013-11-28 16:17:15 +00:00
Daniel Zaoui cfdb3eec4d Add callback when drag start in item containers 2013-11-28 16:24:01 +02:00
Daniel Zaoui d0375f8550 Rename DnD test 2013-11-28 16:24:01 +02:00
Daniel Juyung Seo 3c418bdad3 track_example_01.c: internal refactoring of track example code.
- removed unnecessary box.
- fixed a typo of gcc build command.
2013-11-28 19:59:39 +09:00
Carsten Haitzler 594d99934f elm - diskselector - fix min height to at least be min height of items
diskselector needs a major rewrite effort, BUT... until that happens
this fixes minbimum height and that fixes T506
2013-11-28 19:24:26 +09:00
Daniel Juyung Seo 2921e851e1 elm_spinner.c: support mouse wheel in spinner.
Spinner didn't work with mouse wheel which is a bug.
This fixes T587.
2013-11-28 17:07:44 +09:00
Daniel Juyung Seo e7479334c6 elm_index.c: removed unused empty function. 2013-11-28 17:07:44 +09:00
Carsten Haitzler f6b66cc1d3 genlist - fix show item if list manipulation changes shown item position
this fixes T38 - it's a bit brute force but the only way i can think
of that is not too invasive before release.
2013-11-28 16:36:55 +09:00
Rafael Antognolli a68ad7f735 elm_win/wayland: Call frame update after rotation changed.
This will update the opaque region, that was set to a different
orientation.

Fix T359.
2013-11-26 14:58:22 -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
Carsten Haitzler c0e17c12f0 elm scroller - fix infinite recursion in scroller adjust
there is an infinite recursion in the scroller adjust code that can
happen some times. this fixes T434.
2013-11-26 19:34:36 +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
Carsten Haitzler 758b1caeb8 printf-- 2013-11-25 21:38:21 +09:00
Carsten Haitzler 799a4a0924 elm - scroller - fix missing large set of signal callbacks on scrollbar
this fixes T138 and a bunch of other missing callback signals
2013-11-25 21:23:11 +09:00
ChunEon Park 45ed80a0c8 image - fix the elm_image_prescale_set() to work properly.
before this, it had the insane logic so the prescale_set() never work.
Now, it works well and the prescale won't be set in default. (before, the default value is 64. why?)
2013-11-25 20:48:22 +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
Daniel Zaoui bd79c328f3 DnD: safe inlist elements removal 2013-11-24 08:54:57 +02:00
Carsten Haitzler aff098868b wayland - fix cnp segv
this ACTUALLY fixes T471
2013-11-23 22:45:15 +09:00
Daniel Juyung Seo 782c54cee0 general_funcs_example.c: fixed wrong window's resize object addition logic in general_funcs sample code.
Do not use elm_win_resize_object_add() if that object is already a child of another object.
2013-11-22 22:49:19 +09:00
ChunEon Park e520c4f519 elementary/mapbuf - reset the mapbuf correctly when the content is removed(unset)
When the content is removed(or unset) the mapbuf didn't clean up the some stuff such as removing event callback for the content.
So the unset content would be tracked still by mapbuf dangling callbacks.
2013-11-22 19:48:24 +09:00
ChunEon Park 2ec0b6556f elementary/mapbuf - set NULL if the content is empty. 2013-11-22 17:41:03 +09:00
Jihoon Kim 9e99a7f579 fix typos in doxygen and comments 2013-11-22 11:06:37 +09:00
Sanjeev BA 1a4f8a0979 T531 - Elemntary_popup does not respond to 'close' event
Reviewers: seoz, raster

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D344
2013-11-22 06:16:49 +09:00
Daniel Juyung Seo d88f919cad elm_diskselector.c: reduce item_count number on _item_del. or reducing item_count could be skipped in some cases like elm_index_clear.
This fixes T508.
2013-11-21 14:27:15 +09:00
WooHyun Jung 2920eda9e5 elementary/elm_scroller.c : For checking focus next object, focus_direcion_get function should be changed to focus_next_get function. If there is no focus next object, focus_direction_get will be executed by focus_next_get. 2013-11-21 10:13:40 +09:00
WooHyun Jung cc4a41e641 Fix build warning. 2013-11-20 20:23:49 +09:00
WooHyun Jung 10775281a7 elementary/elc_multibuttonentry.c : Multibuttonentry doesn't need to call parents' on_focus. 2013-11-20 20:17:17 +09:00
Carsten Haitzler 611d38a06e elm - table - protect against invalid cell/row values (16bit overflow) 2013-11-20 18:06:42 +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 fc48b1bf7a genlist_example_04/05.c: initialize pointer variables and check null.
This removes build warnings.
2013-11-20 10:46:10 +09:00
Daniel Juyung Seo 674287da50 index_example_01.c: sample code internal refactoring.
- avoid using unnecessary global variable.
- use common name for item variable, it.
- print out more useful messages on _active_set.
2013-11-20 10:46:10 +09:00
Daniel Juyung Seo 7e53ba272d index_example_01.c: fixed wrong example code. elm_index_level_go() should be called after every index item changes.
This fixes T510.
2013-11-20 10:46:09 +09:00
ChunEon Park 8a09a69acf elementary/transit - fix the T511 "_transit_auto_reverse_get() Elm_Transit transit has already been deleted" 2013-11-20 08:53:20 +09:00
Tom Hacohen 28fee48f35 Hoversel: Fix access to already deleted object.
Thank you eo pointer indirection for detecting this.
The issue is a mix of design choices (will discuss on the ML) and
a bug in hoversel which was probably caused because of the confusing design
choices.
The problem is that while widget_item->view is set by whoever created
the item, it's automatically deleted by elm_widget_item_del. This means
that objects that decided to delete their views, but were too sloppy to
update the widget_item->view pointer to NULL, would trigger an attempt
to deleted an already deleted object. This does not happen in 1.7
because widget_item->view was introduced in 1.8.
The automatic view deletion is problematic, as smart subobjects are
already deleted when the parent subobject (the widget) is deleted. So
clearing the views is redundant. However if the widget item is manually
deleted, the view should be deleted. This causes this mixture of cases
that are problematic at best.

Indication error:
Error:
 ERR<5394>:eo lib/eo/eo_ptr_indirection.x:275 eo_obj_pointer_get()
    obj_id 0x8000002900000149 is not pointing to a valid object. Maybe
    it has already been freed.

This fixes T500.
2013-11-19 17:13:31 +00:00
Tom Hacohen 3a3c18e4f9 Tests: Added elm_suite.h to EXTRA_DIST.
Fixes make dist.
2013-11-19 13:25:11 +00:00
Ryuan Choi c2f2c2101d Introduce check for unit testing framework of Elementary
Reviewers: seoz, tasn

CC: tasn, cedric

Differential Revision: https://phab.enlightenment.org/D91
2013-11-19 13:18:02 +00:00
Carsten Haitzler 872d21341e genlist - fix queue processor to not account for entire loop run in time 2013-11-19 15:10:03 +09:00
Ryuan Choi c2604e46a8 elm_web: Fixed warnings when opened popup for <select>
elm_notify and elm_list should be made using Eo based class as a parent.
2013-11-19 00:19:48 +09:00
Daniel Juyung Seo c70405bdde elc_hoversel.c: use int_ret instead of ret because ret can be null.
This fixes coverity CID 1129609 and 1129610.
2013-11-18 22:33:37 +09:00
ChunEon Park 2afb6e40ac elementary - added a warning for elm_widget_item_track(). 2013-11-18 13:15:56 +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
Yakov Goldberg 5bed747f58 thumb: typo in Eo OP_ID name 2013-11-17 13:23:17 +02:00
Yakov Goldberg 656fd97988 widget: typo in Eo OP_ID name 2013-11-17 13:23:17 +02:00
Daniel Juyung Seo d518a2b7a8 elm_authors.h: escape ryuan from email crawler. 2013-11-17 20:21:00 +09:00
Carsten Haitzler a59f0d83ec check + radio - fix sizing evals and emits on content set
this should fix T261
2013-11-17 11:46:52 +09:00
Carsten Haitzler f1b88b0f68 test - unify glsl formatting to match glview gears example 2013-11-17 10:04:26 +09:00
Carsten Haitzler e045d28cfc list - fix separators to be the correct direction 2013-11-17 09:40:17 +09:00
Carsten Haitzler 4f4982663c list - fix item disable and infinite loop on next select 2013-11-16 17:50:11 +09:00
Carsten Haitzler caaf444d9b entry - fix autosave timer del on shutdown
this fixes T509
2013-11-16 13:21:36 +09:00
Carsten Haitzler 3910b15578 elm-test - oops - fix colorsel premul 2013-11-16 12:49:26 +09:00
Michael Bouchaud bcce0eb70e elementary: fix image counts in slideshow exemple 2013-11-16 02:48:29 +01: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 a480745321 scroller, slider: fixed wrong changed I made by 6a683df1598a4c3293a33765cc60dd
I caused by c&p bug.
Special thanks to stefan and coverity.
This fixes coverity CID 1128353 and 1128354.
2013-11-15 22:51:10 +09:00
Daniel Juyung Seo 754cda11a5 elm_index.c: changed internal smart data variable name more descriptive.
- event -> event_rect
- and added a comment for that variable.
2013-11-15 22:32:58 +09:00
Daniel Juyung Seo ca210a2d66 elm_main.c: use a direct variable check instead of unnecessary additional function call like other lines of code. 2013-11-15 21:53:39 +09:00
Daniel Juyung Seo 16e2c0779f elm_win.c: removed build warning when there is no wayland support. 2013-11-15 21:52:19 +09:00
Daniel Juyung Seo a876201c28 elm_index.c: internal refactoring as a code cleanup.
- removed unnecessary duplicated parameter passing.
- moved smart callback add to a proper place not to be confused with other object's smart callback addition.
- removed unnecessary sub object add. it's done automatically in elm_layout_content_set.
2013-11-15 21:50:40 +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
Chris Michael a43489f6de Make routines to get the wayland window from an ecore_evas be more
inline with their X counterparts. Also, remove some EINA_UNUSED where
parameters were being used.

The previous code to get the Ecore_Wl_Window from an Ecore_Evas did
not check to make sure the Ecore_Evas Engine was a wayland engine, and
thus elm_tests like Window Inline would spew CRIT & ERR messages from
ecore_evas about the interface.

This fixes Phab Ticket T502

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-15 10:16:00 +00:00
Chris Michael bd7c04e174 Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-15 10:16:00 +00:00
ChunEon Park a707bffbc1 elementary/entry - internal change of the magnifier.
use the fill_set instead of the clipper.
soon after 1.8, proxy just created the filled area buffer, then magnifier surface size will be fixed regardless of the entry source.
2013-11-14 22:53:21 +09:00
Chris Michael 6ea4c0bcb6 Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-14 11:02:43 +00:00
Chris Michael c4157d841d Stop fetching the same Evas and Clip object 4 times
We can just fetch this information once as it is not going to change
during the for loop.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-14 11:02:43 +00:00
Jean-Philippe Andre 1f5cd17110 Quicklaunch: don't increment init count twice
Ooops, don't increment elm_init count from quicklaunch init
when running normally.
2013-11-14 10:39:16 +09:00
Ryuan Choi a8cef7a216 elm_web : Moved elm_widget_sub_object_parent_add() call from ewk_view's smart_add to elm_web's
Because ewk_view is smart class and it's parent is Evas, it prints below warning.

 ... Can't execute function Elm_Widget:ELM_WIDGET_SUB_ID_SUB_OBJECT_ADD (op 0x9f)
 for class 'Evas'. Aborting.
2013-11-14 03:47:31 +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
ChunEon Park a6b2f18c8f elementary/entry - use a convenient api.
And actually magnifier needs to update fill area if it is resized.
2013-11-13 14:51:55 +09:00
ChunEon Park e434c377ed Revert "elementary/entry - clean up the magnifier code."
This reverts commit 46b007a7c9d0028aeab43587bc773724c06d0ec8.

sorry, this is wrong fix. clip should be removed explicitly.
2013-11-13 14:36:22 +09:00
ChunEon Park 704416f56e elementary/entry - clean up the magnifier code. 2013-11-13 14:25:21 +09:00
ChunEon Park ebc28de3e6 elementary/entry - clean up the magnifier code. 2013-11-13 13:29:28 +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 88a8c46af3 ctxpopup, player, slideshow, spinner, toolbar, video: internal refactoring of smart event routines.
Now most of smart events codes look consistent.
2013-11-13 10:29:30 +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 5567837cf5 button,check,colorselector,diskselector,flipselector,image,radio,toolbar: fixed formatting of smart_event functions before working on it.
Now they look more consistent.
2013-11-13 09:54:37 +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
Gustavo Sverzut Barbieri efc71d3ab2 remove unused var. 2013-11-12 17:56:45 -02:00
Gustavo Sverzut Barbieri 47a3fafd00 delete window and children when button is gone 2013-11-12 17:17:13 -02:00
Gustavo Sverzut Barbieri e6f2591b0c fix doc typo and breakage due widget_type case changes.
elm_widget_type_get() is not lowercase anymoe, rather "Elm_Win". As
other parts of the elementary source were using evas_object_type_get()
use it, and it still returns the legacy lowercase name.
2013-11-12 17:05:18 -02:00
Daniel Juyung Seo 7c5992817b elm_dayselector.c: fixed wrong widget style name set on smart add. 2013-11-13 03:24:59 +09:00
Daniel Juyung Seo 4f80ef25bb elm_dayselector.c: fixed wrong widget name check.
This fixes T481.
https://phab.enlightenment.org/T481
2013-11-13 03:24:28 +09:00
Daniel Juyung Seo e2461a5b43 elm_dayselector.c: fixed formatting before working on it. 2013-11-13 03:24:03 +09:00
Yakov Goldberg cff619f0ee elm_app_client: fix eo define for not yet implemented func 2013-11-12 15:58:50 +02:00
Yakov Goldberg db448e9eca dayselector/gesture_layer/layout: typo doxygen 2013-11-12 15:58:49 +02: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
Ryuan Choi ea17f84f29 elm_web: Fixed compilation warning 2013-11-12 00:27:18 +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
Daniel Juyung Seo bc5ce5c5b0 elm_index.c: Removed unused local variables. 2013-11-08 21:52:37 +09:00
Daniel Juyung Seo b75a880c6c button,inwin,radio,scroller,slider: Do not call smart_activate when the widget is disabled. 2013-11-08 21:49:52 +09:00
Jaehwan Kim 7fd0806355 elm_check.c: Do not execute smart_activate when the widget is disabled. 2013-11-08 21:49:42 +09:00
Carsten Haitzler 4bea4e8b5f fix warning 2013-11-08 18:12:55 +09:00
Jaeun Choi 2f5b83982f bug fix: clear index omit info for omit disabled case as well
Summary:
In the original code, omit related information was cleared and recalculated
only when omit function was enabled. So dynamic omit mode change didn't work in elementary_test.
The information should be cleared everytime the index box is filled. fixed it.

Test Plan: None

Reviewers: seoz, Hermet, raster

CC: raster

Differential Revision: https://phab.enlightenment.org/D262
2013-11-08 18:11:07 +09:00
Carsten Haitzler b959139213 warning-- 2013-11-08 17:35:53 +09:00
Carsten Haitzler ec932d9d4b warning-- 2013-11-08 17:34:59 +09:00
Carsten Haitzler acfe62f10a fix formatting, typose and downed naming 2013-11-08 17:25:51 +09:00
Thiep Ha ac54eff80c Move selection handler from edje to elm
Reviewers: cedric, raster, seoz, Hermet, tasn

CC: raster

Differential Revision: https://phab.enlightenment.org/D311
2013-11-08 17:25:51 +09:00
Carsten Haitzler dc6d3c10a2 fix cursor to stay shown when cursor moves due to manual placement or typing
related to https://phab.enlightenment.org/D204 which doesn't apply or
has the emit in the wrong place. this now has it done right.
2013-11-08 16:57:09 +09:00
Thiep Ha 45dd27d9ac elm_entry: fix magnifier not showing up.
The swallow part was properly renamed and namespaced, so reflect that
in the code. Also force a edje object recalc before moving the magnifier.

Reviewers: raster, cedric, Hermet, tasn

Reviewed By: cedric

CC: seoz

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

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-11-08 16:10:48 +09:00
Carsten Haitzler 475e48bc7c colorsel - dont free up palette CONFIG except when clearing palette. 2013-11-08 15:42:31 +09:00
Carsten Haitzler 4f70a3c366 external symbols need to be EAPI marked even in headers. 2013-11-08 11:54:09 +09:00
Daniel Juyung Seo 744ff2286b elm_dbus_menu.c: Removed unused pointer value assignment.
This fixes coverity CID 1039975.
2013-11-08 11:30:50 +09:00
Daniel Juyung Seo 2fa0b556a9 elm_prefs_data.c: Check return value of eina_value_get().
This fixes coverity CID 1040042.
2013-11-08 11:22:01 +09:00
Daniel Juyung Seo 822671c7e7 elm_config.c: Check null for profile. I can be null.
This fixes coverity CID 1040032.
2013-11-08 10:27:44 +09:00
Tom Hacohen 4c8d03894c Changed Eo class names to be consistent. #2
All the class names are now of the format: Elm_Type_Subtype_Extra

Thanks to Yakov for pointing out I forgot a few and for giving me a nice
list.
2013-11-07 14:30:22 +00:00
Chris Michael b3b728acb7 Fix selection type when trying to get a selection. Also fix pasting
from terminology into other elm apps (selection format issue).

Wayland has no concept of primary or secondary clipboards so we need
to test for selection == those due to some X apps.

*cough*terminology*cough* using only Primary or Secondary.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-07 14:31:57 +00:00
Chris Michael d2101b918e Fix elm_entry to work with copy/paste (mouse and keyboard) under
wayland.

This also unifies some of the code between X & wayland wrt copy/paste.

This is part of a larger copy/paste fix for efl/elm wayland.
Previously, copy/paste would not work via keyboard shortcuts. This
series of changes fixes that issue (wrt elm_entry anyway).

This also adds addtional copy/paste support (wrt efl wayland),
including support for various mime types (text/plain, elm-markup, and html).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-07 14:31:57 +00:00
Chris Michael b4925b0db0 Fix elementary copy/paste for wayland. Rework copy/paste code in elm.
This is part of a larger copy/paste fix for efl/elm wayland.
Previously, copy/paste would not work via keyboard shortcuts. This
series of changes fixes that issue (wrt elm_entry anyway).

This also adds addtional copy/paste support (wrt efl wayland),
including support for various mime types (text/plain, elm-markup, and
html).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-07 14:31:57 +00:00
ChunEon Park f9edf8901d elementary/scroller - don't focus region show if the scroller is disabled. 2013-11-07 22:34:57 +09:00
Tom Hacohen 2f1e1554e5 Changed Eo class names to be consistent.
All the class names are now of the format: Elm_Type_Subtype_Extra
2013-11-07 11:44:22 +00: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
Ryuan Choi cc6fb00c62 fileselector: Remove invalid or unnecessary comment 2013-11-06 19:28:19 +09:00
Daniel Juyung Seo 644a51f0fb elm_list.c: fixed a bug when any item is selected without control on multi select with control mode.
When any item is selected without control on multi select with control mode, already selected items should be unselected automatically.
2013-11-06 13:36:48 +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 c4f8c9d5b7 DnD: Fix compilation errors by adapting the multi-callbacks to Wayland. 2013-11-05 13:41:57 -02: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 Zaoui 579d309cc5 DnD: Code improvement + variables renaming
Little code improvement
Rename cbdata with dropdata
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 827535158d elm_list.c: Added a real support for ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL for list.
This was missed in a8efd7676eb95378355f4d603ddff938279703af.
2013-11-05 14:18:54 +09:00
Daniel Juyung Seo e35de516b9 elm_list.c: Split _item_unselect() into _item_unhighlight() and _item_unselect(). 2013-11-05 14:18:53 +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
Daniel Juyung Seo d218676dd0 elm_list: Added missing elm_list_multi_select_mode_set/get API for list to fix the API consistency between multi selectable widgets.
This was omitted by genlist/gengrid multi select mode set/get() commit ae03d3cef36abd27ff530e350e39ae401f4f389e.
2013-11-05 09:22:25 +09:00
Daniel Juyung Seo cee446d308 elm_slider.c, elm_image.c: Removed executable permission from c source.
Please be more careful of file permission.
2013-11-04 22:46:50 +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
Seunggyun Kim 3c82f532d5 fix elm_config_glayer_*_set/get header comment and changelog
Summary: fix elm_config_glayer_*_set/get header comment

Reviewers: seoz, jaehwan, raster

Reviewed By: raster

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

Conflicts:

	ChangeLog
2013-11-04 21:22:13 +09:00
Ryuan Choi 11b568a35b elm_widget.c: Fixed warning while scrolling elementary_test using arrow
Summary: Checked whether object which direction pointed is NULL before getting it's data

Reviewers: seoz, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D95
2013-11-04 21:14:46 +09:00
Cedric Bail 14a474b527 elementary: automatically detect if compiler can build quicklaunch binary. 2013-11-04 20:54:21 +09:00
Ryuan Choi 1528f06298 gengrid: Fixed documentation typo. 2013-11-04 20:40:08 +09:00
Carsten Haitzler 868b9cca09 alpha1 release autofoo/build tree work to pass distcheck and actually work 2013-11-04 18:33:42 +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
Jean-Philippe Andre 9bb1ef2708 elm/quicklaunch: Increment _elm_init_count in ql_init
Apps call elm_shutdown before exiting. But when using
Quiklaunch, elm_init has never been called, so the
init count is still 0.

This will be especially useful since programs compiled
with -fPIC and linked with -pie can be loaded by
Quicklaunch.
2013-11-04 15:46:15 +09:00
ChunEon Park 5cef1e1ea0 Revert "elm_conform.c: Added "virtualkeypad,size,changed" smart callback."
This reverts commit cbd7446f0bf413ad821ac40703d2a2ca728758ef.

Conflicts:

	ChangeLog
	NEWS

Please be more considerable to add this feature.
The function itself is not logical and we don't think it's proper for the conformant yet.
2013-11-04 14:51:06 +09:00
Cedric Bail 5a94164c38 elm_theme: Add API to specify exactly the Eina_File to be used as extension or overlay. 2013-11-04 14:26:41 +09:00