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