Commit Graph

431 Commits

Author SHA1 Message Date
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
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
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 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
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
Daniel Juyung Seo 8ec25b69fb elm: Added missing undefs. 2013-10-19 02:20:34 +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
Carsten Haitzler 8051ee206f elm - entry magnifier - should be elm namespaced. 2013-10-15 13:00:44 +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 e756f97dae elm: Longwaited trailing white space removal. Clean elm up! 2013-09-30 22:15:01 +09:00
Cedric Bail 29af5e1e43 elementary: update to new eo_parent_get/set API. 2013-09-25 13:34:27 +09:00
ChunEon Park fe0f0a445e elementary/widgets - set parents before widget constructs their body.
This avoids unnecessary setups again when obj <-> sub has connected.
2013-08-27 00:29:45 +09:00
Daniel Juyung Seo c5b0d63838 fixed documentation for consistency. Gets -> Get.
Occurance of Get is super much higher than Gets.
So change Gets to Get for consistency.
2013-08-22 05:24:46 +09:00
Chris Michael e797cd9e50 Sorry Jihoon, need to revert this. The code pushed to EFL to add this
feature did not build (missing the matching ecore_imf code) so I had
to revert it from EFL, which means this needs to be reverted also.

Revert "Add elm_entry_input_panel_show_on_demand_set/get()"

This reverts commit 3fc38ccc41d9b61efb4b5a8db08ea8290182bb7a.
2013-08-15 07:43:31 +01:00
Jihoon Kim c69f560ea1 Add elm_entry_input_panel_show_on_demand_set/get() 2013-08-14 18:32:42 +09:00
Carsten Haitzler 59e8bc5a35 Fix elm to use key not keyname (so xmodmap works) 2013-07-31 15:16:41 +09:00
Shinwoo Kim c47ef1b7fe [access] use proper name _elm_access_info_get(); not _elm_access_object_get(); to get access information 2013-07-31 12:57:49 +09:00
Daniel Juyung Seo ecf6eff9a4 elm: formatting fix for consistency. 2013-07-23 06:05:16 +09:00
Daniel Juyung Seo 896f149e82 elm: use more descriptive and consistent local variable name. 2013-07-23 05:34:19 +09:00
Ryuan Choi 809759083b entry: ELM_PRIV_XXX_SIGNALS adoption for entry(2)
Fixed typo.
2013-07-15 13:37:34 +09:00
Ryuan Choi 4143fe5612 entry: ELM_PRIV_XXX_SIGNALS adoption for entry
Refactored signal declarations since b430c07ca1f1.
2013-07-15 12:13:53 +09:00
ChunEon Park 74d5da9cf4 elementry/entry - Change the keyboard mode only if the imf is not available.
If the imf is available, the keyboard mode should be decided by ime, but not
entry. This prevents the asynchorouse states between ime and conformant.
2013-07-13 18:58:30 +09:00
Youngbok Shin d7b9aa66b1 [entry] Fix non-scrollable entry did not comply focus_highlight data.
elm_entry checked focus_highlight data only if entry is scrollable.
Now elm_entry will check focus_highlight data on any style of entries.
2013-07-09 18:47:45 +09:00
Youngbok Shin 368810690c Entry: _elm_entry_smart_signali calls edje_object_message_signal_process for processing the pending messages.
_elm_entry_smart_signali calls edje_object_message_signal_process for processing the pending messages.
Because Edje can’t changes size or position of parts immediately when it receive a signal without this.
2013-07-09 18:31:22 +09:00
Youngbok Shin c17f88ace3 entry: Fix elm_entry_end_visible_set checked wrong content.
the elm_entry_end_visible_set checked elm.swallow.icon.
It should checked elm.swallow.end.
2013-07-09 16:57:17 +09:00
Daniel Juyung Seo 7714e068c7 elm_entry.c: fixed uninitialized variable issue spotted by coverity. CID 1039985. 2013-07-05 19:05:29 +09:00
Daniel Juyung Seo 47fd3f6a24 elm_entry.c: more ELM_FREE_FUNC for entry. 2013-07-04 15:03:18 +09:00
Thiep Ha dbfd56f98e [Entry] Avoid showing multiple popups on one entry.
Multiple popups (anchor hover and hoversel) are showing in following cases:
- Run elementary_test with Mobile profile --> Entry Anchor
+ click on anchor to show hover, then press menu key
+ right click on anchor
2013-07-03 13:13:11 +09:00
Daniel Juyung Seo 758d01ef99 elm_entry.c: removed unnecessary line. 2013-07-03 13:13:11 +09:00
Ryuan Choi 27f6087892 Prefer eina_stringshare_strlen for shared strings 2013-06-27 19:24:18 +09:00
WooHyun Jung 6535743497 elementary/elm_entry.c : Removed test log. 2013-06-27 17:09:35 +09:00
WooHyun Jung 7447477981 elementar/elm_entry.c : Just fixed memory leak by elm_entry_utf8_to_markup. 2013-06-27 16:30:54 +09:00
Daniel Willmann 420bf76bc9 elm_entry: Explicitly cast Elm enums to their Edje counterparts
and vice versa. Avoids some warnings in clang and it helps see that
these are actually different types.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 17:54:26 +01:00
Thiep Ha d062cc2004 [Elm_Entry] Show magnifier when selection handlers are pressed or moved.
Show magnifier when selection handlers are pressed or moved.
This patch is depended on D171 patch.

Conflicts:

	ChangeLog
	NEWS
2013-06-22 12:37:15 +09:00
Thiep Ha ca66c7cc6c When mouse moves in longpress state, the cursor should be moved along
with magnifier.

Conflicts:

	ChangeLog
2013-06-22 12:26:37 +09:00
Carsten Haitzler 0c13ec5ced part of the entry magnifier feature set from thiep. still more to go. 2013-06-07 17:17:30 +09:00
Daniel Juyung Seo 93fb6bcde9 elm_entry.c: put focused and unfocused together for the readability. 2013-06-07 00:35:53 +09:00
Daniel Juyung Seo 742fa688d8 elm_entry.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:51:06 +09:00
Daniel Juyung Seo ac25946a19 elm: introduce ELM_FREE_FUNC for code quality enhancement.
There are pros and cons but this
1. reduces human mistakes.
2. enhances readability.
3. enhances code quality.
4. removes future bug.
5. was adopted from enlightenment.

This is not all. I will work on enhancing elementary more and more.
2013-05-22 02:24:02 +09:00
Youngbok Shin e847b65e2f entry: elm_entry_markup_filter_remove() has a problem when internally defined filters are used. fixed.
When we call elm_entry_markup_filter_remove() with internally defined filter callbacks,
it doesn't work. So we need a one of pointer for saving the address of data.

10 Elm_Entry_Filter_Limit_Size lim;
11 lim.max_char_count = 20;
12 lim.max_byte_count = 0;
13 elm_entry_markup_filter_append(en, elm_entry_filter_limit_size,
&lim);
14
15 elm_entry_markup_filter_remove(en, elm_entry_filter_limit_size,
&lim);
16 lim.max_char_count = 50;
17 lim.max_byte_count = 0;
18 elm_entry_markup_filter_append(en, elm_entry_filter_limit_size,
&lim);

In this code, we expect to see the filter of entry will be renewed.
But elm_entry_markup_filter_remove() doesn't work.
Because, markup_filter does not hold the address of data when we use
the filter callback which is defined in elm_entry.c

_filter_new() in elm_entry.c
You can see that _filter_new allocates new pointer and names as lim2.
lim2 is saved in data of _Elm_Entry_Markup_Filter. So the address of
data doesn't equal to the input data.
2013-05-16 18:10:13 +09:00
Youngbok Shin a68f086008 elm_entry : Fix ctxpopup can't be called again in the mobile mode entry. 2013-05-14 14:06:21 +01:00
Chris Michael 76eb5c8a1b Add missing HAVE_ELEMENTARY_X guards.
NB: Fixes ticket T107: Building elementary with only wayland support.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-13 12:20:13 +01:00
WooHyun Jung bb3e1ab36e elementary/elm_entry : Fixed wrong typo. 2013-05-13 09:00:50 +09:00
WooHyun Jung 267462dd00 elementary/elm_entry.c : Just changed lines for the sequence of alphbet. 2013-05-06 21:01:50 +09:00
WooHyun Jung 7e9ef0f10d elementary/elm_entry.c : Add elm_entry smart callback, named text,set,done. This smart callback will be useful when long text has been set and developer want to know the timing of setting whole text to the entry. 2013-05-06 20:42:34 +09:00