WooHyun Jung
350fa0366a
elementary/elm_entry.c : Filter_accept should consider meanless tags and should not remove it. Thanks YoungBok Shin.
2013-05-06 15:51:54 +09:00
Cedric Bail
c929b33052
elementary: properly sanitize headers order.
2013-05-03 16:07:06 +09:00
WooHyun Jung
ff97c5019e
* elm_entry_filter_accept_set function not can recognize tags.
2013-05-02 14:49:45 +09:00
Daniel Zaoui
187d6bf8de
Elementary: replace eo_data_get for objects data referencing.
2013-05-01 11:04:09 +03:00
Daniel Juyung Seo
b2663b9d16
elm_entry, elm_layout: fixed formatting.
...
1. fixed formatting.
2. removed unnecessary lines.
2013-04-17 14:16:56 +09:00
Daniel Juyung Seo
dadd9e0c4c
elm_entry.c: moved comments to a proper place.
2013-04-16 20:05:04 +09:00
WooHyun Jung
68dd4b5f4e
elementary/elm_entry : When entry is disabled, scrolling is also disabled.
2013-04-16 17:59:02 +09:00
Thiep Ha
22ff7be1b6
Currently in entry, there is no callback for copy/cut context menu
...
item click.
This patch adds callback for copy/cut context menu item click,
so that application developers can add their own processing for
copy/cut item click event.
2013-04-16 13:16:44 +09:00
Daniel Juyung Seo
74b3eed5fd
elm: print the error message inside elm_widget_sub_object_add().
...
1. Do not need to print the same error message from all the widget codes.
2. Even though elm_widget_sub_object_add() can be used internally, there should be no error message at all.
Elm devs should fix it beforehand.
So it looks ok to print the error message in elm_widget_sub_object_add() to force elm devs to fix it.
3. Got additional code cleanups.
2013-04-03 11:28:53 +09:00
Ryuan Choi
8b577874c2
elm_entry: Menu key does not work on elm_entry
...
This patch adds a behavior that open hoversel to choose copy/paste when pressed menu key.
2013-04-03 03:12:32 +09:00
Jihoon Kim
1b8ad509fc
Add APIs - elm_entry_input_panel_layout_variation_set/get
2013-03-27 17:34:19 +09:00
Tom Hacohen
d75cb616da
Change usage of eo_do_super to the new prototype.
2013-03-18 16:15:12 +00:00
Carsten Haitzler
d4bc61f941
allow for a special different single line entry scroller - needed for
...
dark theme fun. it falls back to a normal entry scroller if not found.
2013-03-13 20:24:09 +09:00
Daniel Juyung Seo
4a5f9459fe
elm_entry.c: fixed formatting.
2013-03-11 20:11:50 +09:00
Tom Hacohen
1eefdc8733
Entry: Fixed a bug with text appending.
...
The target buffer was not large enough.
2013-03-11 10:21:08 +00:00
Daniel Juyung Seo
78c042cdbe
elm *.c: fixed formatting with EINA_LIST_FREE.
...
EINA_LIST_FREE (xxx) -> EINA_LIST_FREE(xxx)
2013-03-09 13:23:42 +09:00
Gustavo Lima Chaves
312d0217a0
An internal layout error, on a widget set, is a CRITICAL error.
2013-03-01 23:04:31 -03:00
Carsten Haitzler
56d4729538
Change description:
...
Issue: Currently There is no possibility in entry to get currently
selected context menu items contents i.e., Label, icon etc:- due
to this issue a separate callback has to be added per item or the
item's contents has to be sent in data.
Fix: This patch fixes this problem by sending item pointer as
event_info and providing APIs to access the item pointer. This fix is
very useful for applications which add their own context menu items to
entry's context menu.
Signed-off by: Shilpa Singh(shilpa.singh@samsung.com )
2013-02-27 21:06:05 +09:00
Carsten Haitzler
3091ccc3f6
flesh out a lot more of dnd support in elm and add apis to set up dnd
...
targets for objects as well as initiate a dnd.
SVN revision: 84282
2013-02-21 13:21:08 +00:00
Mike Blumenkrantz
6fcab85ab0
forwardport previous entry commit for blocking blank hoversels
...
SVN revision: 84023
2013-02-17 14:36:00 +00:00
Daniel Zaoui
cdd1eea853
Replace supported_types
...
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 83803
2013-02-10 07:52:31 +00:00
WooHyun Jung
e259a3b645
elementary/elm_entry : elm_entry_single_line_set should not change cnp_mode when PLAINTEXT mode.
...
SVN revision: 83702
2013-02-07 05:55:49 +00:00
Shinwoo Kim
0e209af100
[access][entry] fix non-initialize problem on access_state_cb();
...
SVN revision: 83511
2013-01-31 11:07:26 +00:00
Shinwoo Kim
519aba8fa8
[access][entry] to read out properly when there is no state value
...
SVN revision: 83506
2013-01-31 10:56:18 +00:00
Shinwoo Kim
2ae92dba30
[access][entry] read out text without markup information
...
SVN revision: 83119
2013-01-23 04:07:57 +00:00
Cedric BAIL
5f655fecae
efl: deprecate eina_unicode_utf8_get_next, add eina_unicode_utf8_next_get.
...
SVN revision: 83048
2013-01-22 02:00:55 +00:00
WooHyun Jung
a98bec12c1
elementary/entry : When string in entry is changed, access to sd should be forbidden after smart_callback_call is called.
...
SVN revision: 83001
2013-01-19 06:17:05 +00:00
Christopher Michael
ef44d05696
Data is not used in the show_region_hook anyway, so no need to pass it.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 82572
2013-01-10 14:06:50 +00:00
WooHyun Jung
05b4f1fe58
elementary/elm_entry : When limiting the length of text by filter callback, only committed text should be considered. Preediting text can be changed with the shorter one.
...
SVN revision: 82341
2013-01-07 11:37:53 +00:00
Daniel Juyung Seo
ffa9c1e793
elm: Refactoring.
...
Smart data is already initialized so we do not need to re-initialize them if the value equals to 0, NULL, or EINA_FALSE.
Sometimes re-initializing smart data explicitly is needed for readability. So there are left overs.
SVN revision: 82228
2013-01-04 19:10:19 +00:00
WooHyun Jung
733e98473d
elementary/entry : Removing unused codes.
...
SVN revision: 82144
2013-01-04 04:32:30 +00:00
Shinwoo Kim
f10fb3e115
[access] export some APIs,and remove unnecessary lines.
...
+ elm_access_object_register();
+ elm_access_object_unregister();
+ elm_access_text_set();
+ elm_access_text_get();
+ elm_access_cb_set();
These APIs are to use edje part, evas object as an accessible object.
and do not create access object, because access object would be created at run time.
This is different with internal API _elm_access_object_register();
SVN revision: 81659
2012-12-23 14:50:56 +00:00
Jihoon Kim
19f51743f4
elm : fix memory leak in entry
...
SVN revision: 81538
2012-12-21 11:03:10 +00:00
Cedric BAIL
a1da9e6b65
elementary: simplify test in elm_entry_text_set.
...
SVN revision: 80413
2012-12-07 07:12:58 +00:00
Cedric BAIL
901d685a45
elementary: more typo.
...
SVN revision: 80322
2012-12-06 09:02:22 +00:00
Cedric BAIL
9ce131754f
elementary: fix borkage.
...
SVN revision: 80320
2012-12-06 09:00:18 +00:00
Cedric BAIL
4e17a72fc7
elementary: properly read file in elm_entry.
...
SVN revision: 80300
2012-12-06 07:28:57 +00:00
Cedric BAIL
8327932076
elementary: add a mode to entry to clear selection when loosing focus.
...
Patch by Thiep Ha <thiep.ha@samsung.com>.
SVN revision: 79821
2012-11-29 08:58:49 +00:00
Yakov Goldberg
5c98343198
We have ported to Eo all the widgets of elementary. We didn't change the inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism.
...
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 79668
2012-11-26 06:32:53 +00:00
Daniel Juyung Seo
19401ad202
elm elm_entry.c: Fixed 1. Removed duplicated have_selection check. 2. enable have_selection only when a text is actually selected. Patch by Thiep Ha <thiep.ha@samsung.com>
...
On Mon, Nov 19, 2012 at 9:33 PM, thiep ha <thiep.ha@samsung.com> wrote:
Dear All,
I have seen that if there is no selection in an entry, the copy/cut menus are still shown in entry.
(Example: double click at the end of entry or on an empty entry).
I modified source code to not show copy/cut menus in above scenario.
I also removed the redundant checking condition for showing copy/cut menus.
Please review this patch.
Best Regards,
Thiep Ha
SVN revision: 79545
2012-11-22 15:15:55 +00:00
WooHyun Jung
b684a2ccf7
elementary/elm_entry : From. Thiep Ha.
...
In elementary, the disabled entry works incorrectly.
We still can cut/paste from/to it.
SVN revision: 78836
2012-11-02 08:15:24 +00:00
Cedric BAIL
768ac0b219
elementary: quick bug fix.
...
WARNING: I don't believe this is the proper bug fix for an uninitialized
memory access, but I really don't know this code enough. Tasn if you could
look at it when you have time.
SVN revision: 78511
2012-10-26 09:00:14 +00:00
WooHyun Jung
87bc405a68
elementary/elm_entry : Add widget checking for some APIs.
...
SVN revision: 78207
2012-10-19 00:56:03 +00:00
Daniel Juyung Seo
5b7785ccea
elm: Fixed on_focus_region() issue. Focused area should be scrolled only when it is needed. Now only entry needs this feature.
...
SVN revision: 78111
2012-10-17 10:09:52 +00:00
Daniel Juyung Seo
30dba54610
elm: Fixed indentations for EINA_LIST/INLIST_FOREACH(_SAFE).
...
SVN revision: 77244
2012-10-01 07:36:27 +00:00
Gustavo Lima Chaves
939a530ebb
We don't want to get err messages on !win objects on entry focus.
...
This can happen on window deletion scenario:
the parent object is elm_widget_sub_object_del()ed BEFORE it gets
evas_object_del()ed, so its children won't reach the window anymore.
SVN revision: 77206
2012-09-28 14:07:16 +00:00
Christopher Michael
a470d49b22
Elementary: Make entry compile again when using Wayland.
...
NB: Hmmm, not sure if this got into the 1.7 release or not. Perhaps
needs to be backported ?
SVN revision: 75917
2012-08-31 06:20:58 +00:00
Gustavo Lima Chaves
f999fc3777
[elm] Keeping the on_show_region hook, as this is
...
hard to unhookify.
SVN revision: 75905
2012-08-30 16:47:23 +00:00
Gustavo Lima Chaves
ac299e6a59
[elm] Rework focus_region and on_focus_region
...
hooks.
The former is now issued for all scrollables, with the behavior it had
before, and the latter is a new virtual base function, with a default
implementation leading to values matching the old case where one
didn't implement the hook.
Please help me test if everything is OK -- it seems so, here.
SVN revision: 75904
2012-08-30 16:47:16 +00:00
Gustavo Lima Chaves
a9b1707fcd
[elm] Entry now a scrollable layout.
...
SVN revision: 75890
2012-08-30 16:45:15 +00:00
Christopher Michael
6ea2e696ff
Elementary: Copy-Paste support for Wayland Engines.
...
NB: Based on patch from Alex <zhiwen.wu@intel.com>, but cleaned up for
compiler warnings.
SVN revision: 75810
2012-08-29 06:52:48 +00:00
Carsten Haitzler
2e83d89fc8
core fixup of elm cnp to be able to work regardless ofr display
...
backend and isolate x11 specific stuff in its own fat ifdef and
functions/vars.
SVN revision: 75523
2012-08-22 08:33:43 +00:00
Carsten Haitzler
3894dcf37f
fix k-s's issue with entry scroll things.
...
SVN revision: 75448
2012-08-20 07:35:31 +00:00
Kim Shinwoo
4de57c2cb9
From: Kim Shinwoo <kimcinoo.efl@gmail.com>
...
Subject: [E-devel] [patch][elementary] * access *
Series of of pathes from kim shinwoo. looked good to me - so in they
go, finishing off some more access mode to be more complete.
SVN revision: 75415
2012-08-18 13:52:03 +00:00
Carsten Haitzler
a3187a33a3
we had enter being handled but not escape. FIX!
...
SVN revision: 75251
2012-08-14 10:47:26 +00:00
Carsten Haitzler
4d59aa407e
elm bug-- curor set for entry edje obj only, not for scrollbars etc.
...
SVN revision: 74896
2012-08-06 04:30:04 +00:00
Carsten Haitzler
aaa627e23f
fix anchor click in desktop mode.
...
SVN revision: 74844
2012-08-03 12:04:08 +00:00
Carsten Haitzler
624f69ea2f
fix another elm release bug - grab focus if we begin a selection.
...
SVN revision: 74816
2012-08-03 05:43:44 +00:00
Carsten Haitzler
5acb8ad0f8
fix desktop mode -> right click brings up entry hoversel menu now.
...
SVN revision: 74814
2012-08-03 05:33:44 +00:00
Tom Hacohen
ff4b55937a
Elm entry: Fixed issues with deferred entry inserts and immediate text get.
...
Thanks to yoz for reporting this.
SVN revision: 73346
2012-07-05 13:32:19 +00:00
thiep ha
06f5dda19b
From: thiep ha <thiep.ha@samsung.com>
...
Subject: Re: [E-devel] [Patch] [elm_entry] New APIs for user style
Thank you for your comments.
I would like to send you the modified patch.
Followings are my modification:
- Add my part to ChangeLog, AUTHORS files as Raster's comment.
- Add const to the parameter of elm_entry_text_style_user_peek and
example for pop and peek to test_entry_style_user as Daniel's comment.
SVN revision: 71557
2012-05-30 12:18:48 +00:00
Hyoyoung Chang
e657fd0c5e
elementary/entry: move evas_event_{freeze,thaw} position in _elm_entry_text_set
...
SVN revision: 71280
2012-05-21 11:28:41 +00:00
Tom Hacohen
a2abcee06d
Elementary entry: Fixed valgrind errors introduced in elm rework.
...
SVN revision: 70909
2012-05-10 14:24:16 +00:00
Carsten Haitzler
946a4c2fb6
fix vgd issue with anchors in entires.
...
SVN revision: 70469
2012-04-25 11:34:28 +00:00
Jihoon Kim
5935983614
elm_entry: fix typos
...
SVN revision: 70450
2012-04-24 22:59:17 +00:00
WooHyun Jung
6aa59c922d
elementary/elm_entry : Fix some wrong logics when getting long string
...
(over CHUNK_SIZE) from entry.
SVN revision: 69987
2012-04-10 08:08:40 +00:00
Carsten Haitzler
9e8505c379
lets uses ()'s shall we?
...
SVN revision: 69964
2012-04-09 08:00:36 +00:00
Carsten Haitzler
fb842ee933
why strlen wat u are about to ewalk thru anyway WHEN U ALREADY KNOW
...
THE LENGTH! use actual known length.
SVN revision: 69963
2012-04-09 07:43:21 +00:00
Carsten Haitzler
ddf6442fb6
support "guide text" for entries. trivial internal + theme changes :)
...
SVN revision: 69961
2012-04-09 05:25:27 +00:00
WooHyun Jung
d9ddf6ccb0
elementary/elm_entry : Fix a bug in filter callback. There can be a
...
case like inserting tags when string length is maximized. This should
be allowed.
SVN revision: 69949
2012-04-06 08:13:41 +00:00
WooHyun Jung
15f573bdf6
elementary/entry : wd->text can not be sync perfectly with current
...
text in "elm.text". This is because wd->text is updated by edje's
signal callback. I'll think more about removing all codes wd->text.
With my opinion they are useless.
SVN revision: 69948
2012-04-06 08:00:19 +00:00
WooHyun Jung
13fc2af34a
elementary/elm_entry : fix a mistake in commit 69829
...
SVN revision: 69850
2012-04-02 06:33:40 +00:00
WooHyun Jung
440ef74427
elementary/elm_entry : Fixed a bug. While appending big sized string,
...
elm_entry_entry_get caused segfault because memcpy could be tried with
NULL pointer + "> 0" length.
SVN revision: 69829
2012-04-02 00:50:56 +00:00
Vincent Torri
147c0a2980
Elm: remove some warnings when no X
...
SVN revision: 69770
2012-03-29 21:24:00 +00:00
Daniel Juyung Seo
4801d7f5c1
elm elm_object: Fixed part content set hooks.
...
1. delete old content object
2. check whether new content object is same as old content object
3. added some doxygen description.
SVN revision: 69743
2012-03-29 11:09:40 +00:00
Carsten Haitzler
5208f9fc80
fix segv on elm_config exiting - entry bug! free(wd) AFTEr u have
...
finishing ACCESING IT!
SVN revision: 69736
2012-03-29 09:40:23 +00:00
Daniel Juyung Seo
7908a77ad8
elm: Fixed formatting.
...
SVN revision: 69700
2012-03-28 09:02:22 +00:00
Mike Blumenkrantz
72901413a9
again, mandatory hover menus are not suitable for desktop profiles. applications will want to provide their own menus, and having a whole menu to provide functionality available by clicking and dragging is not the best idea
...
SVN revision: 69510
2012-03-19 16:56:28 +00:00
Mike Blumenkrantz
2284c041c8
disable annoying hover menu when clicking anchors in desktop profile; enforcing a mandatory menu for right clicking was not one of the better ideas we have had
...
SVN revision: 69509
2012-03-19 16:50:01 +00:00
WooHyun Jung
4336ea833b
elementary/elm_entry.c : I think this is wrong highlight ignoring setting for elm_entry.
...
SVN revision: 69369
2012-03-15 10:39:09 +00:00
Daniel Juyung Seo
25fb574a76
elm entry: Added blank lines for readability.
...
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>
SVN revision: 69351
2012-03-15 04:03:16 +00:00
Tom Hacohen
765d13ed99
Elm entry-anchor: Don't show anchor if there's none.
...
It's currently kinda hackish, but this can't be nicely solved without some
really needed (anyway) features in smart object callbacks. In the meanwhile
it's nice and working.
Thanks to WooHyun for the catch.
SVN revision: 69324
2012-03-14 08:28:04 +00:00
Jiyoun Park
e792b92635
remove deprecated function related with
...
elm_entry_text_filter_XXX
SVN revision: 69219
2012-03-12 06:25:47 +00:00
Jiyoun Park
8a44a6ab11
remove code related with
...
elm_entry_icon_
elm_entry_end_
which was deprecated
SVN revision: 69110
2012-03-09 15:29:27 +00:00
Tom Hacohen
b24772dfc2
Elm entry: Disable middle click pasting when in non-editable mode.
...
Many thanks to Jérôme Pinot for the report.
SVN revision: 69047
2012-03-08 10:30:25 +00:00
Jérémy Zurcher
9493efc793
From: Jérémy Zurcher <jeremy@asynk.ch>
...
Subject: [E-devel] elm_entry patch : typedef Elm_Entry_Item_Provider_Cb
this improves readability and helps for ruby binding maintenance
SVN revision: 68931
2012-03-07 11:31:18 +00:00
Gustavo Lima Chaves
969e0b4c51
[Elm] Since we're talking 'bout file_set()s, let's be broader.
...
SVN revision: 68857
2012-03-06 22:51:40 +00:00
Tom Hacohen
737654ba04
Elm entry: Merge anchorview/anchorblock into entry.
...
And kill those damn widgets.
SVN revision: 68802
2012-03-06 10:09:13 +00:00
Carsten Haitzler
4d9e5f3b5c
and move bitfileds around and name enum typedefs better
...
SVN revision: 68681
2012-03-05 08:34:56 +00:00
Carsten Haitzler
7beae4b4f8
fix warnings from 김대성<ad960009@naver.com>'s patch.
...
SVN revision: 68680
2012-03-05 08:31:58 +00:00
Carsten Haitzler
6895f5acc0
From: 김대성<ad960009@naver.com>
...
Subject: Re: [E-devel] suggest new api for elm_entry's copy & paste
behavior
I deprecated old apis(elm_entry_cnp_textonly_set/get) in this patch.
Please review this patch once again.
SVN revision: 68679
2012-03-05 08:26:09 +00:00
Jihoon Kim
862ef7961c
elm_entry: add elm_entry_imf_context_get
...
It provides internal input method context similar to elm_entry_textblock_get()
Note: Do NOT cache the return object.
SVN revision: 68622
2012-03-02 10:34:58 +00:00
Tom Hacohen
475eb70299
Elm entry: Use the new edje_object_part_text_user_insert API.
...
SVN revision: 68557
2012-02-29 16:00:34 +00:00
Jihoon Kim
2679a1c4c1
elm/entry: fix document and parameter of elm_entry_input_panel_return_key_autoenabled_set
...
SVN revision: 68530
2012-02-29 04:45:08 +00:00
Hyoyoung Chang
d7bc38e0d5
From: Hyoyoung Chang <hyoyoung@gmail.com>
...
Subject: [E-devel] [patch] elm_cnp - revise apis
Date: Tue, 28 Feb 2012 15:11:12 +0900
Dear all.
I made a small patch about revise cnp apis.
It changed argument orders of apis to consistence and make elm widget centric.
now all cnp api's first argument is a elm widget.
It breaks api compatibility. so elementarychanges is needed to update.
thanks.
SVN revision: 68491
2012-02-28 06:17:22 +00:00
Jihoon Kim
2066fb53db
elm/entry: input_panel_return_key_autoenable_set -> input_panel_return_key_autoenabled_set
...
Thanks, Daniel.
SVN revision: 68486
2012-02-28 04:25:37 +00:00
Jihoon Kim
42365c1368
elm/entry: add elm_entry_input_panel_return_key_autoenable_set API.
...
Set whether the return key on the input panel is disabled automatically when entry has no text.
SVN revision: 68484
2012-02-28 01:50:19 +00:00
Sanjeev BA
bde5e891e6
Fix a few more review comments for cnp.
...
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>
SVN revision: 68292
2012-02-23 02:52:11 +00:00
WooHyun Jung
12de48bd81
[edje] Change APIs name from from
...
edje_object_markup_filter_callback_{add,del,del_full} to
edje_object_text_markup_filter_callback_{add,del,del_full}.
SVN revision: 68179
2012-02-21 00:40:55 +00:00
Mike Blumenkrantz
87076014fe
s/elm_text_input/elm_entry_input
...
SVN revision: 68044
2012-02-16 22:42:48 +00:00