Commit Graph

6672 Commits

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