Commit Graph

9097 Commits

Author SHA1 Message Date
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 cb94643547 configure.ac: say 'no' not 'none' when webkit is not detected during autogen. 2013-11-13 03:26:48 +09: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
Carsten Haitzler be0c6e7322 deps removal - fix pc file to match 2013-11-12 23:13:41 +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
maxerba 7ad6061295 Small correction 2013-11-10 17:50:43 +01:00
maxerba dbcc5bd60d updating portuguese and italian translations 2013-11-10 13:40:45 +01: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 7edb20e3da config - standard can't use default-desktop as it doesn't exist as a theme 2013-11-08 15:33:13 +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
ChunEon Park f5fab354a4 elementary - fixed changelog typo 2013-11-07 22:33:25 +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
Doug Newgard 4c0d5ae4d7 Minor PKGBUILD cleanup
Summary:
Add PKGBUILD to make dist so it will be in the snapshots
Change dep to current efl package since efl_x11 isn't there anymore
Check for Makefile before running make clean distclean otherwise build fails
Set correct arch on elementary_doc
Install docs to /usr/share/doc

Reviewers: raster

Differential Revision: https://phab.enlightenment.org/D282
2013-11-07 20:05:02 +09:00
Carsten Haitzler 965e676aa1 reandme == 1.8.0 2013-11-07 17:25:53 +09:00
Daniel Juyung Seo 30e8b05e98 test_genlist.c: Fixed wrong item class name.
This fixes coverity CID 1126089.
2013-11-07 01:24:12 +09:00
Daniel Juyung Seo 90f9c6bc64 test_progressbar.c: Fixed wrong null set of timer.
If pd is null, pd->timer will crash and cannot set it to null.
This fixes coverity CID 1126081.
2013-11-07 00:01:09 +09:00
Daniel Juyung Seo 03ddfa12c8 test_progressbar.c: Fixed formatting before working on it. 2013-11-06 23:59:45 +09:00
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 2851f6b6e3 fileselector.edc: Fixed button part size calculationg issue.
Do not fix the height of button swallow part so that it can be expanded.
This fixes T238.
2013-11-06 04:38:57 +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
Chris Michael 48792c035f Remove whitespace
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-05 09:50:39 +00:00
Carsten Haitzler ad49356df8 update po's 2013-11-05 18:12:57 +09:00
Daniel Zaoui b66233d128 DnD: multi-callbacks support
This features permits execution of more than one set of functions during
DnD.
Delete function API has been modified to give the developer the
possibility to remove a specific set of functions.
2013-11-05 08:28:54 +02:00
Daniel 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 c59f918268 ChangeLog/NEWS: removed unnecessary entries from ChangeLog and NEWS.
Genlist/Gengrid multi select mode was changed in another way.
Refer ae03d3cef36abd27ff530e350e39ae401f4f389e.
2013-11-05 00:17: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 10b8e9763f elementary - removed unintended conflicted lines
that was introduced by a61bbe7dcf0c6936e3104b35d56a7ed330da4176
2013-11-04 22:19:09 +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
Ryuan Choi 8b507ff3d2 POTFILES.in : Added missing files in src/lib
Reviewers: seoz, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D76
2013-11-04 21:01:57 +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
Daniel Juyung Seo 7f14bb7df3 test_index.c: Internal refactoring. Reduce the window size and do not expand the button.
Now it looks nicer and still shows the index clipping sample.
2013-11-04 13:19:44 +09:00
Daniel Juyung Seo ddb1dbc9a7 elm_index.c: Process signal right away when elm_index_item_selected_set() is called. Patch by Moohyun Shin <moohyun.shin@samsung.com>
Reviewer: SeoZ
2013-11-04 13:16:40 +09:00
Cedric Bail eaeda2ecdd elm_theme: use Eina_File all over the place in an attempt to reduce race condition. 2013-11-04 12:19:04 +09:00
Cedric Bail 1f442e4a8e elm_image: add mmap_set infrastructure. 2013-11-04 12:19:04 +09:00
Daniel Juyung Seo 025009c6bd test_popup.c: Refactored elm_popup_move() example. 2013-11-04 02:02:50 +09:00
Daniel Juyung Seo 9509986a05 gengrid/genlist: added Eo compatibles for elm_genlist/gengrid_multi_select_mode_set/get() APIs. 2013-11-04 01:15:58 +09:00
Daniel Juyung Seo d58512321d genlist/gengrid: Fixed documentation typos. 2013-11-04 00:39:25 +09:00
Daniel Juyung Seo 6a0f47d120 Genlist/Gengrid: Added multi select mode for genlist/gengrid.
elm_genlist_multi_select_mode_set/get()
elm_gengrid_multi_select_mode_set/get()
2013-11-03 23:58:57 +09:00
Abhinandan Aryadipta 16b4279656 popup: Added support for popup move. elm_popup_move.
Summary: Added support for popup move

Test Plan: elm_popup_move

Reviewers: seoz, singh.amitesh, tasn, Hermet

CC: raster

Differential Revision: https://phab.enlightenment.org/D247
2013-11-03 23:03:32 +09:00
Davide Andreoli d3bad72da1 Fix the theme of the music_control module. It got broken while merged with elm 2013-11-02 22:31:52 +01:00
Carsten Haitzler 9f3e3de184 enable access.h again - but comment it as unstable. 2013-11-03 00:16:23 +09:00
Carsten Haitzler 4172bae1dc disable elm_access.h include for now. 2013-11-03 00:13:16 +09:00
Kai Huuhko f20eab2211 Revert "Unbreak builds against Elementary after recent accessibility change."
It wasn't as simple as that. Someone should do this properly.

This reverts commit efc64ec914dc2c9aefc6fb28b3c9dcdf806ceea7.
2013-11-02 15:40:31 +02:00
Kai Huuhko 97ca92e803 Unbreak builds against Elementary after recent accessibility change.
This is the specific error:
/usr/include/elementary-1/Elementary.h:169:24: fatal error: elm_access.h: No such file or directory

Accessibility support was previously disabled by commit
0d61121ce4f87c9e9b0e8d8d7975f815328fe6f5
2013-11-02 15:22:34 +02:00
Ryuan Choi 5836a25bc8 genlist, gengrid: Add ELM_OBJECT_MULTIPLE_SELECT_MODE_WITH_CONTROL
Summary:
Some applications like file viewer allow multiple selection only with
Control key was pressed.

Reviewers: seoz, raster

Reviewed By: raster

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

Conflicts:
	ChangeLog
	NEWS
2013-11-02 20:53:43 +09:00
Shilpa Singh 6027ce9bad Elm_Spinner: UI Concept change fix.
Older UI concept: when text in spinner's entry is inputted and text is
not committed yet and when inc/dec is clicked. do not commit text and
reset the value to older original value.

New UI concept:
When Text in spinner's entry is inputted and text is not committed yet
and when inc/dec buttons are clicked.
Commit the entry's text and inc/dec accordingly.
If entry' s text is already modified owing to min/max update, then do not inc/dec.

Signed-off by: Shilpa Singh <shilpa.singh@samsung.com>
2013-11-02 20:33:00 +09:00
Carsten Haitzler 1aa3dd0ec4 unbreak wayland elm build more - use get_surface_id api 2013-11-02 11:51:50 +09:00
Carsten Haitzler aae829f260 wayland support - unbreak build since structs are now private 2013-11-02 11:38:57 +09:00
Carsten Haitzler 9f39ef0687 elm access - if we disable apis then disable the tests too - unbreak build 2013-11-02 10:48:12 +09:00
Daniel Juyung Seo 36f16204e7 NEWS: Removed disabled APIs for elm 1.8 release in NEWS.
I am not sure if I have to remove them from ChangeLog.
2013-11-02 04:45:13 +09:00
Daniel Juyung Seo 0439d6eb62 elm_cnp.c: Disable cnp debug mode by default. 2013-11-02 04:28:06 +09:00
Daniel Juyung Seo b977c01224 elm_access: Disable public accessibility APIs in elm 1.8 release.
Accessibility APIs are added after elm 1.7 and they are not stable yet.
Disabled those APIs for elm 1.8 release. We are going to work on them after elm 1.8 release.
2013-11-02 04:23:15 +09:00
Chris Michael dcf38e3d20 Revert maximize support ... apparently this has already been "fixed"
... will have to look into why it does not work here propertly tho..

Revert "Fix elm client applications to support maximize properly (ie: removing"

This reverts commit 28763963bb9e26ea25ca182acc294c0a02f03ba2.
2013-11-01 07:25:15 +00:00
Chris Michael f59b6f9109 Revert this ... apparently it has already been "fixed"
Revert "Add missing EINA_UNUSED to function params."

This reverts commit 15b355a1195f0371c4e74d942ef9fcfa86a4a469.
2013-11-01 07:24:45 +00:00
Carsten Haitzler 8592e1188a add @since 1.8 for new elm theme api's 2013-11-01 10:56:02 +09:00
Daniel Juyung Seo c1181d4e55 po: updated po files. 2013-11-01 08:43:25 +09:00
Chris Michael a8b4180d7e Add missing EINA_UNUSED to function params.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-31 17:05:17 +00:00
Chris Michael 1f69d676c0 Fix elm client applications to support maximize properly (ie: removing
border shadow and resizing properly).

NB: Elm Theme needs fullscreen support old man !! :P

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-31 17:02:18 +00:00
Carsten Haitzler 9503c1f95b elm theme - add some api's to expose info so e can use elm's theme stuff 2013-10-31 23:41:12 +09:00
Carsten Haitzler ef8f697748 sync elm theme with e17 theme changes made. 2013-10-31 23:41:12 +09:00
Daniel Juyung Seo e951a0b499 access: fixed a typo. _elm_access_object_hilight -> _elm_access_object_highlight. 2013-10-31 23:01:56 +09:00
WooHyun Jung eefe821c59 elementary/elc_ctxpopup.c : Focus-direction-go should be tried after checking focus next object. 2013-10-31 16:50:48 +09:00
Carsten Haitzler 8270f3f84f remove +x bit from .c file! 2013-10-30 21:28:01 +09:00
Carsten Haitzler 8b3260f16e compliance/licensing - clarify, fix formatting and point to tldrlegal.com 2013-10-30 19:28:36 +09:00
Daniel Juyung Seo 76f7c29631 elm_slider: Step set/get API additions.
Issue: As step size was hard coded in the widget, when slider indicator is dragged

using a key event or during accessibility the value was not exactly incremented/decremented

instead same value was shown more than1 time/values were skipped.

Solution: Two APIs added which will set/get step size.

Reviewer: SeoZ
Reviewer Comment: This is a manual merge of D293 due to arc issue on Shilpa.
I modified some codes from her original code. She'll use arc next time.
 fixed documentation
 fixed typos.
 fixed indentation
 used macro
 added some guide codes.
 removed unnecessary empty line.
 updated NEWS and ChangeLog.
2013-10-30 18:56:29 +09:00
Daniel Juyung Seo 256a4c4524 elm_conform.c: Added "virtualkeypad,size,changed" smart callback.
When the virtualkeypad size is changed, applications get the notice.
Applications can do internal object calculation according to the exact virtualkeypad size.
This is useful when the exact size is important such as webkit usecase.
2013-10-30 16:24:38 +09:00
Daniel Juyung Seo 60296c9317 NEWS/ChangeLog: Updated NEWS/ChangeLog entry for image click addition on key event. 2013-10-30 08:52:17 +09:00
Daniel Juyung Seo 344c792f86 test_image.c: enhance image click example to look better.
- Keep the final state.
- Rotate according to the final state.
2013-10-30 08:49:11 +09:00
Amitesh Singh 72c30bb3e2 [image] - Added support for "clicked" callback on Return/space/KP_Enter key press.
Summary: [image] - Added support for "clicked" callback on Return/space/KP_Enter key press.

Reviewers: seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D278
2013-10-30 08:32:44 +09:00
Daniel Juyung Seo a437e66219 elm_conform.c: Use more ELM_SAFE_FREE macros. 2013-10-29 22:49:57 +09:00
Rafael Antognolli e8a029b153 elm/win: Do not force maximized status.
When receiving a maximize event from the maximize button, do not force
sd->maximized. We must wait for a state change event, just like when a
window is maximized by the elm_win_maximized_set function. This will
ensure that a maximized smart event is sent.

Additionally, send a elm,state,maximized signal to the edje theme, so it
can update shadows and window decorations correctly.
2013-10-29 09:20:48 -02:00
Rafael Antognolli 14e63d0a71 elm/win: Put framespace set code in a common place.
A little refactory that hopefully will prevent future mistakes when
changing this code.
2013-10-29 09:20:48 -02:00
Daniel Juyung Seo d22076681b elm: Fixed formatting about smart_event check for code consistency.
- Made it look clearer.
- Removed unnecessary local variables.
- Keep the code sequence consistent.
2013-10-28 23:30:12 +09:00
Daniel Zaoui 4d7fcf524b Eo: fix macros for table
A col variable has been used inside the macro instead of the column
parameter. This first variable is from the legacy API and so didn't have
impact when the function was called from the legacy API.
In GUI Builder, the compilation of the generated C code was failing
because we used directly the Eo API and so was searching for the col
variable.
2013-10-27 08:59:22 +02:00
Carsten Haitzler 2124d59625 add another example to ignores 2013-10-26 23:51:10 +09:00
Doug Newgard c207ab72b9 Strip color profiles from new pngs
Summary: I stripped these in elementary previously, but not in the dark theme repo. When they got copied over, the embedded profiles are back. This strips them again as previously discussed.

Reviewers: raster

Differential Revision: https://phab.enlightenment.org/D269
2013-10-26 23:48:56 +09:00
Iván Briano 6f36d30153 Restricted sizing eval for layout
This allows to select an axis that the layout will use its current size
to restrict the min size calculation of the inner edje, possibly helping
with textblock min size issues
2013-10-25 14:51:33 -02:00
Carsten Haitzler 26e1fd3755 elm button theme - ensure only event part gets events 2013-10-25 22:15:44 +09:00
Carsten Haitzler c09a0d9ea3 elm scroller - try a simpler approach - animator queues idle enterer
this allows the idle enterer to pick up all prior stored events like
move coords etc. just before going idle (and rendering).
2013-10-25 17:00:25 +09:00
Carsten Haitzler 8dab5200ea Revert "elm scroller - also allow animator still to ALSO drive scroll for smoothing"
This reverts commit e52ddca9b0d424c5e1dfeeec501f4a95544e3dbb.
This reverts commit 7a7ea7d61e8a321dcd2046d07a0473e57a87d8b2.
2013-10-25 17:00:10 +09:00
Daniel Juyung Seo a2a9f26a4c elm_entry_common.h: added more description to elm_entry_utf8_to_markup api. 2013-10-25 14:05:09 +09:00
Daniel Juyung Seo 200e3a0127 efl_thread examples: fixed comment typos. 2013-10-25 00:40:18 +09:00
Christophe Sadoine fbe18f2eab spinner: added signals "spinner,drag,start" and "spinner,drag,stop"
Reviewers: seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D271
2013-10-23 23:03:50 +09:00
Amitesh Singh 329eb907f1 [slider] - show popup on left/right/up/down key down press and hide popup on left/right/up/down key up press.
Test Plan: elementary_test->slider

Reviewers: seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D275
2013-10-23 16:42:05 +09:00
Daniel Juyung Seo fae1dc109e elc_naviframe.h: added more description about stack architecture of naviframe. 2013-10-22 23:13:32 +09:00
Carsten Haitzler 498747b16a elm scroller - also allow animator still to ALSO drive scroll for smoothing 2013-10-22 11:01:00 +01:00
Carsten Haitzler c199bf7b35 scrollable - try using a job for move events for scrollinh instead of animator 2013-10-22 08:12:59 +01:00
Daniel Zaoui 883ed0d646 Drag & Drop: add overlapping feature.
This feature is essential if two overlapping widgets can receive drop
information.
Until now, if two widgets (e.g background and button) were added as drop
targets, pointing to common coordinates would have given priority to the
first inserted as drop target.
Now, it will determine which widget is supposed to receive this drop
target by using the same mechanism as used for mouse move, i.e by
walking on the objects tree whose pointer passes through.

A test has been added (Overlapping DnD) to show how this feature can be
used. You can drop in bg, box and button.
2013-10-21 19:04:42 +03:00
WooHyun Jung b8000c98cd elementary/elm_entry.c : theme,changed smart callback can move the cursor position ! Thanks Daniel~ 2013-10-21 20:59:43 +09:00
WooHyun Jung de46dc5cd8 elementary/elm_entry.c : evas_smart_objects_calculate in elm_widget_show_region_set can delete elm_entry. 2013-10-21 19:45:53 +09:00
Ryuan Choi 75ae20a30d elc_fileselector: Update items of file_view to follow changes of selected path
This patch implmented for fileselector to monitor and update changes of selected
path. So, changes of selected path from other applications such as mkdir will be
applied to the file_view without refresh.

This feature is only available with EIO.
2013-10-21 14:06:04 +09:00
Daniel Juyung Seo 8ec25b69fb elm: Added missing undefs. 2013-10-19 02:20:34 +09:00
Ryuan Choi 2452ffe289 gengrid: adopted ELM_PRIV_XXX_SIGNALS to reduce human mistake.
"index,update" signal is missing in signal description.

So, This patch refactored signal declarations to avoid mistakes.
It was introduced since b430c07ca1f1.
2013-10-19 00:14:57 +09:00
Daniel Juyung Seo 2cc8f13972 elm_photo: Do not call clicked callback when drag and drop started. 2013-10-18 20:33:47 +09:00
Daniel Juyung Seo ac54bf0022 test_photo.c: Refactoring sample code.
- Removed unnecessary eo_do samples at this stage.
- Removed "drop" callback usage which is not supported in photo widget.
- Fixed wrong smart callback name "drag,stop" -> "drag,end".
- Moved internal functions' position following convensions.
2013-10-18 20:26:14 +09:00
Jaehyun Cho d29dc290f0 [naviframe] Fix not to re-load previous item view's theme
Summary: Calling elm_widget_sub_object_add after calling elm_widget_sub_object_del may cause theme loading even though the sub object's theme is the same as the parent object's theme. This commit prevents the previous item view's theme re-loading.

Reviewers: Hermet, seoz

Reviewed By: seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D267
2013-10-18 19:53:16 +09:00
Jaehyun Cho 3f2415fff8 [elm_widget] Enable not to add resize object to or delete resize object from smart member when the resize object is set.
Summary: Currently if the third argument of elm_widget_resize_object_set, 'Eina_Bool sub_obj', indicates whether a resize object is added to/deleted from the sub object or not. This commit makes the third argument, 'sub_obj', also indicate whether a resize object is added to/deleted from the smart member or not.

Reviewers: Hermet, seoz

Reviewed By: seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D268
2013-10-18 19:52:56 +09:00
Ryuan Choi 9bd1c3ae5a elc_fileselector: Refactor not to keep two instances(genlist/gengrid) for file list.
Consolidates and rename files_list and files_grid to files_view.
2013-10-18 15:14:10 +09:00
Daniel Juyung Seo 9a3608c392 test_gengrid.c: Enable multi select for gengrid test as multi select check is true by default.
- This fixes T136.
2013-10-18 13:21:14 +09:00
Ryuan Choi d5c6eaa50e elc_fileselector: Added support to show/hide hidden files/directories.
Added elm_fileselector_hidden_visible_set/get to show or hide hidden resources.
2013-10-18 12:30:28 +09:00
Ryuan Choi 024ee1241e elc_fileselector: Moved some initialization of list_itc/grid_itc from smart_add to constructor.
Since a305c127, list_itc and grid_itc initialization was moved to constructor of file selector class.
But some parts of them are remained in _elm_fileselector_smart_add() by my mistake.
2013-10-18 08:11:10 +09:00
Daniel Juyung Seo f07c5538b0 els_tooltip.s: use internal elm_widget function inside elementary instead of external elm_object function. 2013-10-17 21:59:59 +09:00
Carsten Haitzler 09f2edaa24 fix uninitialized memory usage in naviframe 2013-10-17 22:17:02 +09:00
Carsten Haitzler d3d17c6d49 dark chglog+news 2013-10-17 16:36:44 +09:00
Carsten Haitzler 9d90a3c1c3 new theme (dark) is now default in elm. matches e now in look 2013-10-17 16:35:56 +09:00
Ryuan Choi 6dce293a5e elm_calendar: Reorder few members of _Elm_Calendar_Smart_Data to reduce size
After reordered, sizeof(Elm_Calendar_Smart_Data) is little bit reduced
from 560 to 544 on 64bit system.
2013-10-17 16:34:15 +09:00
Daniel Juyung Seo bb9325e146 test_fileselector.c: Internal refactoring.
- Splitted one big function into three small functions.
- Used frame to look nicer.
- Used radio for mode change.
2013-10-17 15:37:34 +09:00
Daniel Juyung Seo 4cd13727f1 elm_thumb.c: Refactoring. Now thumb inherits layout. 2013-10-17 14:27:01 +09:00
Daniel Juyung Seo a5a83e7a66 elm: Removed unnecessary local variable in sizing_eval. 2013-10-17 14:27:01 +09:00
Ryuan Choi 2fb023ea21 Multiple selection support in fileselector
Summary: Multiple selection support in fileselector

Reviewers: seoz

Reviewed By: seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D207
2013-10-17 11:05:45 +09:00
Jaehyun Cho db2d711d64 [elm_widget] Enable not to add resize object to or delete resize object from sub object when the resize object is set.
Summary: Add one more argument, 'Eina_Bool sub_object' to elm_widget_resize_object_set. If the argument, 'sub_object' is set as EINA_TRUE, the new resize object is added to the sub object and the previous resize object is deleted from the sub object.

Reviewers: Hermet, seoz

CC: Jaehyun_Cho, seoz, raster

Differential Revision: https://phab.enlightenment.org/D265
2013-10-17 01:19:40 +09:00
Daniel Juyung Seo cdd5ab5ec9 progressbar: Swaped the layer of 'progress' and 'progress1'.
- 'progress' is the main progress so it should be on top.
- 'progress' should move slower than 'progress1' in the example.
- Changed the name of multi progress image name from 'recording' to 'double'.
2013-10-16 22:30:32 +09:00
Carsten Haitzler ad434a0994 tooltips - fix show to be at end just to be cleaner. 2013-10-16 21:29:22 +09:00
Carsten Haitzler 6da4e97e3f ctxpopup - fix double show emit. 2013-10-16 20:17:57 +09:00
Yakov Goldberg dedf9648c5 progressbar: fix doxygen 2013-10-15 17:03:26 +03:00
Carsten Haitzler 8051ee206f elm - entry magnifier - should be elm namespaced. 2013-10-15 13:00:44 +09:00
ChunEon Park d65b1406fa elementary/entry - filled a missed smart callback in the doc. 2013-10-15 02:11:42 +09:00
Daniel Juyung Seo 02bf8adc6e elm_genlist.h: added 'full' style documentation.
- 'full' style is so useful, it needs to have a documentation.
- Do not use @ for 'since' in this case. That will cause line break and looks ugly.
- reminded by ccxwrk.
2013-10-14 21:38:58 +09:00
Niraj Kumar 248f1490fd test_progress.c: Added new test case for vertical progress status
Summary: Added new test case for vertical progress status .This would be visible under Progressbar 2 elementary test

Reviewers: seoz, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D233
2013-10-14 20:13:38 +09:00
Daniel Juyung Seo 1ae61021ec Author: Added Amitesh Singh as an author of elm as he is worth it. 2013-10-14 19:18:29 +09:00
Amitesh Singh 9eb1b1f65e elm_thumb.c: focus/unfocused support in thumb.
This feature is enabled only when the user enalbed focus support manually for thumb.

Reviewers: seoz

Differential Revision: https://phab.enlightenment.org/D241
2013-10-14 19:12:32 +09:00
Daniel Juyung Seo 6397761c6a elm_test: Fixed formatting. tab to space.
Changed tab to space before working on the code.
Kinda surprised by the number of tabs we had.
2013-10-14 19:12:32 +09:00
Carsten Haitzler 1c13965658 fix signal callback handling to listen to * for namespacing change to elm 2013-10-14 17:34:26 +09:00
Daniel Juyung Seo 07136563ea elc_hoversel: Support elm_object_item_signal_emit() in hoversel.
This works only when the item is actually created by clicking the hover button.
2013-10-14 13:56:27 +09:00
Ryuan Choi 4314560b49 popup: Change the behavior of adding or removing buttons.
Summary:
Although user should give the position of button such as button1, current elm_popup
changes button's position or style as the number of buttons while adding or removing
buttons.

So, when application developers add buttons as wrong order or removed buttons,
applications may be crashed.

This patch refactored the behavior not to change the position intended by application
developer.

Test Plan: added new test case to test_popup.

Reviewers: seoz

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D259
2013-10-14 01:04:01 +09:00
Daniel Juyung Seo e23e151242 elc_popup.c: fixed up signal names according to the latest change.
This is a continuous job of raster's change, f9adb79740555c8e39e9d32ff2a755693dbea8dc.
2013-10-12 14:11:07 +09:00
Daniel Juyung Seo 0f4d70e662 popup.edc: unbork default popup for the moment.
This was broken by raster's recent popup theme api break.
Even though default theme will be replaced by dark theme, I will keep default theme working.
2013-10-12 14:08:55 +09:00
Ryuan Choi bdab578c1a elm_win: Fixed warning after 99ab56d5
ELM_WIDGET_SUB_ID_THEME needs to return Eina_Bool.
In addition, calls the super function of ELM_WIDGET_SUB_ID_THEME.

Reproduce step is changing profile in elementary_config.
2013-10-11 22:05:21 +09:00
ChunEon Park 787eddd3c4 elementary/scroller - fix the scroller to locate the current page correctly in case that the scroller is suddenly resized and then the drag couldn't capture the page location. 2013-10-10 19:58:42 +09:00
Daniel Juyung Seo aec82fe17a elm_flipselector.h: Added more description about event_info parameter for flipselector selected smart callback. 2013-10-10 18:47:18 +09:00
Daniel Juyung Seo 22768fde75 elc_naviframe_common.h: Fixed a typo. 2013-10-10 09:00:31 +09:00
ChunEon Park 77d336b3fb elementary/scroller - --duplicated compare. 2013-10-09 23:29:35 +09:00
ChunEon Park cd3f781309 elementary - updated launcher 2 test case.
arrange the default window/scroller page size fitted to the one page size.
2013-10-09 21:53:15 +09:00
Daniel Juyung Seo 422728a8d2 elm_access.c: Removed dead code.
ho cannot be null.
This fixes coverity CID 1046506.
2013-10-08 19:57:42 +09:00
Stefan Schmidt e42eedf44c elm_layout: Remove now superfluous NULL check.
After switching to ELM_WIDGET_DATA_GET_OR_RETURN this NULL check is no
longer needed.

CID: 1102552
2013-10-08 10:56:49 +01:00
deasung.kim 34d32ef9cf ctxpopup: fix elm_object_content_unset didn't unpack content from box
Reviewers: seoz

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D261
2013-10-08 15:41:06 +09:00
Daniel Juyung Seo 1eb4b8d9e1 elm_cnp.c: Did a subtle code cleanup.
savedtypes.imgfile should not be null logically or this function should have been returned in advance.
2013-10-08 00:08:21 +09:00
Daniel Juyung Seo e9f6a91ff8 elm_cnp.c: removed unused pointer value and initialized some local variables.
This fixes coverity CID 1102548, 1102553, and 1102554.
2013-10-08 00:03:05 +09:00
Daniel Juyung Seo c8a7eded6b elm_spinner.c: call _value_set after resetting spin timer.
There is a chance that spin timer is deleted in _value_set() by any chance.
So reset the spin timer and call _value_set after that.
Special thanks to Shilpa.
2013-10-07 23:38:30 +09:00
ChunEon Park bcba80bbc3 elementary/scroller - set the NULL to not access dangling pointer after deleting animator. 2013-10-06 23:35:51 +09:00
Ryuan Choi 5125eed486 popup.edc: Follow new namespace.
Since 7b7c2275, popup style is broken so buttons are not drawn using default theme.
2013-10-06 12:37:13 +09:00
Carsten Haitzler 95fdc9cc88 fix up namespace for many signal while keeping old versions for compat 2013-10-05 21:35:27 +09:00
Carsten Haitzler 48d42f9f87 write down the breaks. 2013-10-05 19:06:05 +09:00
maxerba d42f09b369 Adding italian entry in desktop file 2013-10-05 11:20:15 +02:00
Daniel Juyung Seo 3a10554b11 elm_layout: Internal refactoring about layout frozen check.
1. Moved frozen variable to more proper position. Elm_Widget_Smart_Data -> Elm_Layout_Smart_Data.
2. Check frozen at one place. This makes codes cleaner and reduces human mistakes.
2013-10-05 17:59:58 +09:00
Daniel Juyung Seo c40fbd89b8 elm: Use ELM_LAYOUT_DATA_GET convenient macro instead of calling eo_data_scope_get(obj, ELM_OBJ_LAYOUT_CLASS). 2013-10-05 17:29:13 +09:00
Daniel Juyung Seo 6ccf0b5b21 elm_web.c: use ECORE_CALLBACK_RENEW instead of EINA_TRUE for timer/animator's callbacks return value. 2013-10-05 17:25:22 +09:00
Daniel Juyung Seo 252ec02cc2 elm_win.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:22:41 +09:00
Daniel Juyung Seo 408f59f2bb elm_web.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:22:32 +09:00
Daniel Juyung Seo b813cec72a elm_web2.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:16:05 +09:00
Daniel Juyung Seo 302f740d6e elm_video.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:16:02 +09:00
Daniel Juyung Seo e82477ab29 elm_toolbar.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:15:58 +09:00
Daniel Juyung Seo b76f4b9e2e elm_thumb.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:15:56 +09:00
Daniel Juyung Seo f23e09d451 elm_spinner.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:15:53 +09:00
Daniel Juyung Seo 152bb8242b elm_slideshow.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:15:49 +09:00
Daniel Juyung Seo 3b2c52c711 elm_slider.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:15:46 +09:00
Daniel Juyung Seo e75aec5a24 elm_separator.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:15:43 +09:00
Daniel Juyung Seo 4774e07e4c elm_segment_control.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:15:37 +09:00
Daniel Juyung Seo 6b101a10f1 elm_scroller.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:15:27 +09:00
Daniel Juyung Seo c874448f47 elm_radio.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:15:22 +09:00
Daniel Juyung Seo a3025db614 elm_progressbar.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:15:19 +09:00
Daniel Juyung Seo 99c9cf4ce0 elm_prefs.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:15:16 +09:00
Daniel Juyung Seo 811f113b8c elm_plug.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:15:13 +09:00
Daniel Juyung Seo 10c6f78561 elm_photocam.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:15:09 +09:00
Daniel Juyung Seo 87fe4080fc elm_photo.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:15:06 +09:00
Daniel Juyung Seo ef83cd7a23 elm_panes.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:15:03 +09:00
Daniel Juyung Seo c368eb9d05 elm_panel.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:15:00 +09:00
Daniel Juyung Seo a3d4db85c0 elm_menu.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:14:55 +09:00
Daniel Juyung Seo 810a680f15 elm_mapbuf.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:14:52 +09:00
Daniel Juyung Seo aa5934c029 elm_map.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:14:50 +09:00
Daniel Juyung Seo b10481fa0e elm_list.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:14:47 +09:00
Daniel Juyung Seo 0851c999e3 elm_label.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:14:43 +09:00
Daniel Juyung Seo 2e4d17d0f1 elm_inwin.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:14:40 +09:00
Daniel Juyung Seo 4343a9d73b elm_index.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:14:38 +09:00
Daniel Juyung Seo 326a89298e elm_hover.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:14:35 +09:00
Daniel Juyung Seo d273a5e9a7 elm_grid.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:14:31 +09:00
Daniel Juyung Seo 1c4cf43803 elm_glview.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:14:28 +09:00
Daniel Juyung Seo a2c704d613 elm_genlist.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:14:25 +09:00
Daniel Juyung Seo d9edd168d7 elm_gengrid.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:14:21 +09:00
Daniel Juyung Seo 259b70217c elm_frame.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:14:19 +09:00
Daniel Juyung Seo 4ff025786e elm_flipselector.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:14:15 +09:00
Daniel Juyung Seo 407ffdb1a8 elm_entry.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:14:12 +09:00
Daniel Juyung Seo ef877959c8 elm_diskselector.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:14:08 +09:00
Daniel Juyung Seo f7a18014ea elm_dayselector.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:14:03 +09:00
Daniel Juyung Seo 4ae3fcc273 elm_datetime.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:14:00 +09:00
Daniel Juyung Seo 30e7ced193 elm_conform.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:13:57 +09:00
Daniel Juyung Seo 2ccb8399e0 elm_colorselector.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:13:53 +09:00
Daniel Juyung Seo 2f39997ade elm_clock.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:13:50 +09:00
Daniel Juyung Seo e427fb2a10 elm_check.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:13:47 +09:00
Daniel Juyung Seo a50c5577f1 elm_calendar.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:13:43 +09:00
Daniel Juyung Seo 391eab20aa elm_button.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:13:39 +09:00
Daniel Juyung Seo 5d7e4e257e elm_bubble.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:13:35 +09:00
Daniel Juyung Seo 078774e8f8 elm_box.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:13:31 +09:00
Daniel Juyung Seo 754e23f2ec elm_bg.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:13:27 +09:00
Daniel Juyung Seo a01b5e42b2 elm_actionslider.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:13:23 +09:00
Daniel Juyung Seo 62b89f0ad5 elm_access.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:13:18 +09:00
Daniel Juyung Seo 3ff1e1859c elc_popup.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:13:14 +09:00
Daniel Juyung Seo fb48af25e5 elc_player.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:13:09 +09:00
Daniel Juyung Seo 13be068cf8 elc_naviframe.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:12:56 +09:00
Daniel Juyung Seo 7cca8036d7 elc_multibuttonentry.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:12:50 +09:00
Daniel Juyung Seo 5788a3583c elc_hoversel.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:12:44 +09:00
Daniel Juyung Seo c336c4e688 elc_fileselector_entry.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:12:27 +09:00
Daniel Juyung Seo c4478645f6 elc_fileselector_button.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:12:19 +09:00
Daniel Juyung Seo 38fb57719c elc_fileselector.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:12:11 +09:00
Daniel Juyung Seo 6094439463 elc_ctxpopup.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:11:57 +09:00
Daniel Juyung Seo ce232b0c61 elm_layout.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 16:37:30 +09:00
Daniel Juyung Seo 4d1892c8e1 elm_widget.h: support return values for ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 16:25:40 +09:00
Daniel Juyung Seo 29b113bae6 elm_glview.c: Set ret value false by default on smart_on_focus. 2013-10-05 15:29:37 +09:00
Carsten Haitzler 350081ff68 popup - this BREAKS THEME API. i know. it is needed:
namespacing wrong for popup theme elements. you cant sensibly have the
transparent popup test work without namespacing the style with an
extra popup/stylename. since its breaking also naming of swallows for
actionbtns wasnty namespaced. WRONG!

so yes - i know this breaks theme api. live with it. its needed. like
with elm_player.
2013-10-04 22:41:20 +09:00
ami ff71f2ddfd [hover.edc] - corrected indentation and removed unnecessary 'rel2.relative: 1.0 1.0'
Summary: corrected indentation and removed unnecessary 'rel2.relative: 1.0 1.0'

Reviewers: seoz, Hermet

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D254
2013-10-04 21:07:05 +09:00
Carsten Haitzler 0aed5eb970 genlist - fix homogenouse mode after previous fix to stop realizing all 2013-10-04 15:00:26 +09:00
ChunEon Park f19655ca3d elementary/focus - update focus highlight when theme is changed. 2013-10-03 23:57:08 +09:00
Daniel Juyung Seo a4fb4efcd7 elm_config/elm_image: Internal small refactoring.
1. Use more ELM_SAFE_FREE macro.
2. Use correct more descriptive macro for timer callback.
2013-10-02 20:18:51 +09:00
Daniel Juyung Seo 475fb1ee61 test_icon_animated.c: Internal code refactoring.
1. remove unnecessary calls.
2. added elm_policy_set.
3. changed internal callback function name.
4. cleaned up print out message.
5. added helper label for users.
2013-10-02 15:22:27 +09:00
Ryuan Choi dd763025d8 fileselector: fileselector: Add "activated" smart callback
It can be used to execute a file activated by double-clicking or
pressing Enter key.
2013-10-02 12:36:08 +09:00
Jaeun Choi f49cb8000d bug fix: fixed memory leak
Summary:
The original code created an edje object temporarily for index calculation
and didn't delete it which caused memory leak. fixed it.

Test Plan: None

Reviewers: Hermet, seoz

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D246
2013-10-01 22:18:57 +09:00
Jean-Philippe Andre 6078f040fb elm_image: Fix preload for normal files
grmbl, elm_image must explicitely start preload or the
image will stay blank if evas_object_show() is called before
elm_image_file_set().
2013-10-01 19:09:52 +09:00
Jean-Philippe Andre fada635034 elm_image: Remove double callback on mouse_up
In case of MOUSE_UP event, both the hit rectangle and the
smart image object received the event, thus producing double
clicks.
2013-10-01 19:09:52 +09:00
Carsten Haitzler 6641cc792e genlist - fix homogenous to NOT go (un)realizing every item on queue 2013-10-01 12:54:28 +09:00
Carsten Haitzler d3861179f6 remove ifdef from glsl in glview shader - ifdefs not universally supported 2013-10-01 07:30:38 +09:00
Ryuan Choi 9368d61549 elc_fileselector: Add fileselector_double_tap_navigation_enable configuration
elm_filechooser used single tap not only for selection of file but also for
navigation of directory.
So it did not provide a way to select directory without navigation.

With fileselector_double_tap_navigation_enable option, single tap will be used
only for selection and double tap will be used for navigation of file or
directory.
2013-10-01 01:46:39 +09:00
Daniel Juyung Seo cec2f74648 elc_naviframe.c: Check value before dereferencing it.
This fixes coverity CID 1099698.
2013-09-30 22:16:34 +09:00
Daniel Juyung Seo e756f97dae elm: Longwaited trailing white space removal. Clean elm up! 2013-09-30 22:15:01 +09:00
Daniel Juyung Seo 3a9cb2398b elm_index.c: Internal refactoring. Removed unnecessary internal function parameters.
- _index_box_clear()
- _index_box_auto_fill()
2013-09-30 22:15:01 +09:00
Stefan Schmidt 7941941a13 elm_calendar: Fix wrong seconds per day also in comments.
Better fix it here as well before the 23.5h day spreads further
and we are getting all out of sync. :)
2013-09-30 13:34:09 +01:00
Mariusz Bialonczyk 24b6d01157 test_calendar: Fix number of seconds per day.
Previous seconds value for a day was 84600 (23:30) instead of 86400
(24:00).
The commit fixes it using constants.
2013-09-30 13:33:44 +01:00
WooHyun Jung ec5c1c7b3b elementary/naviframe.c : Because naviframe is focusable, it should set focus to itself when the new item is unfocusable. 2013-09-30 10:09:23 +09:00
ChunEon Park 8d74f6ba84 elementary/mapbuf: Dont' move the content to not be calculated. Mapbuf expects
the content is static object and it won't be updated by content position. This
actually reduces the mapbuf calculation time muchly in case of complex layout.
2013-09-29 18:57:10 +09:00
ChunEon Park ff91e90118 elementary/scroller - null set properly. 2013-09-27 22:27:38 +09:00
ChunEon Park 672eaa430e elementary/mapbuf - code refactoring.
reduce LOC
2013-09-27 21:58:31 +09:00
ChunEon Park c025526e2d elementary/mapbuf - refactoring mapbuf code.
Disable the map only once the mapbuf is disabled.
2013-09-27 21:55:59 +09:00
ChunEon Park 0c3ca99871 elementary/mapbuf - revert 1850e735698f926cad8303cfe96610b5c58410d1
This makes the mapbuf performance slow down before it enabled the mapbuf.

need more better way.
2013-09-27 21:52:10 +09:00
Stefan Schmidt e985332fe4 elm_panes: Remove whitespaces while ebing in the file 2013-09-27 09:45:08 +01:00
Stefan Schmidt 71decc342d elm_panes: Remove unused variable.
Leftover from 84cc92d2ad3482e7a1fc79ce2fb606c26ecbce26
2013-09-27 09:42:04 +01:00
ChunEon Park 1f68e7b3b0 panes - removed redundant code.
layout itself handles contents swallowing when theme is changed.
2013-09-27 15:28:57 +09:00
ChunEon Park 0bedba6f5f elementary/layout - fix the layout to swallow contents again when theme is changed. 2013-09-27 02:05:00 +09:00
ChunEon Park 99f85556a7 elementary/naviframe - don't delete the animator.
if it removed the pushing animator then the item will be left with invalid state.
2013-09-27 00:41:02 +09:00
Jean-Philippe Andre 39fe09b137 elm_image: Fix remote image loading
Fixes commit dcb8b54aee3a545a1:
 - elm_image: do not preload full image on file_set.

elementary_test "Image Remote" was not working anymore because
the image was never loaded after download.
2013-09-26 18:57:16 +09:00
Ryuan Choi 6e07a4c457 elc_fileselector: support ui-mirroring for files_grid.
All fileselector widgets support ui-mirroring except files_grid.
2013-09-26 17:43:19 +09:00
Cedric Bail f2b0d4568d elementary: cast an uintptr_t when pushing stuff into a pointer. 2013-09-26 16:35:11 +09:00
Cedric Bail 8bdce4f119 elm_app: _close and some friends are defined on windows, so prefixed. 2013-09-26 16:35:11 +09:00
ChunEon Park 7399e14cf2 elementary/mapbuf - resize content only when mapbuf is resized. 2013-09-26 16:25:48 +09:00
Ryuan Choi ea5a6f7345 elc_fileselector: restore name_entry.
(file)name_entry was removed after r82105 but it is necessary.
name_entry can keep the selected file/folder name(s for multiple selection)
or new file/folder name for save.
Instead, path_entry will focus only navigation with anchor.

I renamed it to name_entry because it can keep both file name and folder name.

you can see more information at
http://sourceforge.net/mailarchive/message.php?msg_id=31441811
2013-09-26 07:10:32 +09:00
Jean-Philippe Andre cdf8137da7 elm_image: do not preload full image on file_set. 2013-09-25 18:39:42 +09:00
Stefan Schmidt eaa024b5b9 tests: Add images into the tarball to fix distcheck 2013-09-25 09:07:40 +01:00
Cedric Bail fa2ce3c547 elm_widget: fix widget signal callback memory leak.
Thanks to bluezery D228 for pointing out the issue.
2013-09-25 16:41:12 +09:00
Cedric Bail 29af5e1e43 elementary: update to new eo_parent_get/set API. 2013-09-25 13:34:27 +09:00
Daniel Juyung Seo 9785020b1f elm_widget.c: added comments for very confusable code. 2013-09-25 03:36:03 +09:00
Daniel Juyung Seo 4c24d2bf72 elm_spinner: refactoring internal codes.
1. use more ELM_SAFE_FREE macro.
2. use more descriptive names for internal timer variables.
2013-09-24 23:57:19 +09:00
Daniel Juyung Seo 8c2cd689c8 po: updated po files. 2013-09-24 02:46:34 +09:00
Amitesh Singh da658b3ba7 focus: Added glow effect example on a button. 2013-09-24 02:42:21 +09:00
Daniel Juyung Seo 4be5acb7fe test_hover.c: added hover test case to move hover object as we wish.
hover acts like elm_menu but it has all the hover features such as:
1. positioning: left, top-left, top, top-right, right, bottom-right, bottom, bottom-left, middle
2. content: one can set any object object as hover content

"transparent" style is added to dark theme.
2013-09-23 16:15:48 +09:00
Daniel Juyung Seo 22998b5622 test_map.c: fixed indentation. it was wrong even before my last commit. 2013-09-21 20:28:40 +09:00
Daniel Juyung Seo d20dffdf9e test_map.c: show longitude/latitude information about the current mouse position. 2013-09-21 20:24:31 +09:00
Daniel Juyung Seo f88c1c8f2f elm_menu: added elm_menu_item_subitems_clear. 2013-09-21 20:22:10 +09:00
Daniel Juyung Seo a7cd873410 elm_menu: added "dismissed" smart callback for dismiss action.
- "clicked" smart callback was used for dismiss action.
- "clicked" should be removed in EFL 2.0. Updated "EFL 2.0 TODO" wiki page.
- Updated ChangeLog and NEWS.
- Added sample code to elementary_test.
- Updated documentation.
2013-09-21 19:45:12 +09:00
Daniel Juyung Seo 42f3e07308 elm_menu.c: adopted new signal macro for menu. 2013-09-21 19:42:52 +09:00
Daniel Juyung Seo 2eb7cb4eb7 elm_menu.h: added @c for signal, content part, and text part names. 2013-09-21 19:39:11 +09:00
Daniel Juyung Seo 2bb42d6e33 elm_menu.c: use hover's dismissed callback instead of clicked callback for menu dismiss. 2013-09-21 19:32:34 +09:00
Daniel Juyung Seo 3005d87c97 elm_hover: added "dismissed" smart callback for dismiss action.
- "clicked" smart callback was used for dismiss action.
- "clicked" should be removed in EFL 2.0. Updated "EFL 2.0 TODO" wiki page.
- Updated ChangeLog and NEWS.
- Added sample code to elementary_test.
- Updated documentation.
2013-09-21 19:30:04 +09:00
Daniel Juyung Seo bea0320461 ChangeLog: fixed a typo. 2013-09-21 19:26:44 +09:00
Daniel Juyung Seo 9dc431462e elm_hover.c: adopted new signal macro before adding a new callback. 2013-09-21 19:20:52 +09:00
Daniel Juyung Seo d5d93d0597 test_hover.c: use elm_win_util_standard_add API and remove unnecessary bg min/max set. 2013-09-21 19:13:32 +09:00
Daniel Juyung Seo 3ff5f57346 elm_menu.c: use local variable for code readability. 2013-09-21 19:00:56 +09:00
Daniel Juyung Seo 4d8823af96 test_map.c: changed mouse down event local variable name down -> ev for consistency. 2013-09-21 18:39:35 +09:00
Daniel Juyung Seo cfda42dbc4 elm_map_common.h: fixed header indentation. 2013-09-21 18:28:32 +09:00
Stefan Schmidt 1b9eb87848 elm_app_server: Deploy header file to fix distcheck 2013-09-20 08:46:13 +01:00
José Roberto de Souza 727a26f3c3 Add elm_app_service/client class
These classes are the implementation of Enlightenment Application spec,
proposed by k-s.
https://phab.enlightenment.org/w/enlightenmentappspecproposal/

To test play with Message, Phone and Task switcher in elementary_test.
2013-09-19 15:48:25 -03:00
José Roberto de Souza 99cb5548f4 Make _elm_user_dir_snprintf() visible to other elm modules 2013-09-19 15:48:25 -03:00
Michael Bouchaud 69337f7d19 elementary: fix typo 2013-09-18 16:54:43 +02:00
Michael Bouchaud 166a44f3da elementary: update Changelog and NEWS 2013-09-18 16:51:44 +02:00
Michael Bouchaud 6374a9cf59 elementary: oops, missing this check 2013-09-18 16:21:10 +02:00
Michael Bouchaud 91848c5b43 elementary: add a way to add some custom part text and save it for Elm_Object_Item 2013-09-18 16:21:10 +02:00
Tom Hacohen edb3f6a237 Gesture layer: Updated changelog according to c08d6e0bf8350e69bc5aa8. 2013-09-18 14:25:32 +01:00
Tom Hacohen 3e2327f6e4 Revert "elm_gesture_layer: Fix potential NULL pointer dereference."
This reverts commit 824ee3c56b1a23a082b5e5d1016d8e872a51fbce.

This commit breaks many gestures that are not "pointer" based.
For example, zooming with Ctrl+Wheel. But not only.
2013-09-18 14:14:37 +01:00
Jaehyun Cho aabd3e7f27 [naviframe] Enable item pop during item push.
Enable item pop during item is pushing (during item push transition).
2013-09-18 02:20:33 +09:00
Daniel Juyung Seo d0fa4594e8 elm headers: fixed documentation about elm_object_item supports. 2013-09-18 01:56:16 +09:00
Chris Michael 873cd93da4 No need for a cast here as 'obj' is already Eo when passed in.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-17 07:43:39 +01:00
Chris Michael ae9392ab09 Remove __UNUSED__ from function declaration where parameter is
actually used.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-17 07:43:39 +01:00
Daniel Juyung Seo abcb183534 elm_list.c: disable edje_object_parts_extends_calc in _item_fix.
This fixed T179 but introduced T286. T286 is bigger and more important issue than T179.
So temporarily disable these lines until it gets fixed correctly.
2013-09-17 01:10:46 +09:00
Michaël Bouchaud (yoz) 62ce625dfc elementary: allow custom text part on item list 2013-09-16 12:19:46 +02:00
Daniel Juyung Seo 244eb99691 elm_spinner.c: consider style name starting with "vertical" is a vertical spinner.
I think it's better to introduce elm_spinner_vertical_set() API to explicitly show the vertical mode but I will keep this new code for the backward compatibility.
2013-09-16 02:51:42 +09:00
Daniel Juyung Seo d01af793a9 ChangeLog: fixed formatting.
No tabs.
2013-09-16 00:22:41 +09:00
Daniel Juyung Seo df396c02f7 elm_flip.c: set focus to the flip's content object when flip go to is called. 2013-09-16 00:22:30 +09:00
Daniel Juyung Seo 4db8363208 test_launcher.c: use elm_layout_signal_emit instead of edje_object_signal_emit + elm_layout_edje_get for elm_layout object. 2013-09-15 22:19:41 +09:00
Boris Faure f9b116fe4d _close() exists on windows (patch by vtorri) 2013-09-14 19:21:14 +02:00
Boris Faure 115518ddb4 fix EAPI definition on Windows (patch by vtorri) 2013-09-14 19:18:19 +02:00
Daniel Juyung Seo 1a3660fd8e elm_spinner.c: fixed spinner arrow key bug.
Consider the spinner direction for the arrow key events.
2013-09-14 02:55:00 +09:00
Stefan Schmidt d12ad3fbf1 mailmaip: Add .mailmap file to fixup various git author entries.
This is an attempt to unify the various spellings and email addresses people
use in the git author line. This simple matching rules clean these up and show
them as one single author. Which in turn makes statistics with e.g. git
shortlog much nicer.

 I only fixed these up for the top 50 committer in efl. If your entry is missing
or wrong feel free to add or change it. This changes alone brings down the
unique author count to 179 from 198.
2013-09-13 14:02:55 +01:00
ChunEon Park a7b11a4c56 elementary/genlist,gengrid - should be cancel the track object before item view is removed. 2013-09-13 16:20:40 +09:00
ChunEon Park f426e08982 elementary/elm_object_item - delete the track objects when genlist/gengrid items are unrealized. 2013-09-13 14:19:41 +09:00
U. Artie Eoff 8982c267a9 elm/examples: port 265eff94bb6274c284e8e111192f9922906990ac
"Autodetect engine on the glview example"

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2013-09-12 19:54:13 -07:00
U. Artie Eoff 47cdc87bac examples: Fixed Makefile regression of rELM1dcd32068
https://phab.enlightenment.org/T366

make - Circular dependency dropped

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2013-09-12 19:28:28 -07:00
ChunEon Park 248ca7a17a elementary/elm_object_item - removed white trailings. 2013-09-12 23:48:54 +09:00
ChunEon Park ebe767bf51 elementary - Actually this code is useless. there track object will be always NULL. 2013-09-12 23:37:00 +09:00