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
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
Jihoon Kim
64c3602b15
elm_entry: add 'const in some getter functions
...
SVN revision: 67979
2012-02-15 11:50:06 +00:00
Jihoon Kim
46ad4606c6
elm_entry:
...
add elm_entry_input_panel_language_set/get
add elm_entry_input_panel_imdata_set/get
add elm_entry_input_panel_return_key_type_set/get
add elm_entry_input_panel_return_key_disabled_set/get
SVN revision: 67967
2012-02-15 08:42:46 +00:00
Jihoon Kim
6d3b221a59
Add elm_entry_prediction_allow_set/get
...
These APIs can be used to set whether prediction feature is allowed or not.
SVN revision: 67895
2012-02-14 04:54:19 +00:00
Jihoon Kim
4bcc4a3cb8
Add elm_entry_imf_context_reset.
...
Reset the input method context of the entry if needed.
This can be necessary in the case where modifying the buffer would confuse
on-going input method behavior.
SVN revision: 67882
2012-02-13 11:43:58 +00:00
Jihoon Kim
b2053ef54a
Fix return type of elm_entry_input_panel_hide
...
SVN revision: 67880
2012-02-13 11:27:14 +00:00
Jihoon Kim
6a13598e8a
Add elm_entry_input_panel_show/hide
...
SVN revision: 67875
2012-02-13 06:50:45 +00:00
WooHyun Jung
48bb8be37c
[elementar/elm_entry] woops I missed one file.
...
SVN revision: 67748
2012-02-08 07:23:49 +00:00
Martin Jansa
08467e40fb
From c506f5f078b6abc789602603c481168575cf7260 Mon Sep 17 00:00:00 2001
...
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Thu, 2 Feb 2012 20:04:51 +0100
Subject: [PATCH] elm_entry: add missing elm_entry_input_panel_enabled_get
* it was in elm_entry.h but without implementation
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
SVN revision: 67693
2012-02-03 07:32:40 +00:00
Jihoon Kim
0d1aebf79d
entry: set EINA_TRUE as input_panel_enable attribute
...
SVN revision: 67691
2012-02-03 04:51:38 +00:00
WooHyun Jung
3b08459b61
[elementary/elm_entry] Unnecessary codes are deleted.
...
"elm_smart_scroller_child_region_show" will be called in
"_show_region_hook" after cursor is changed by
"edje_object_part_text_cursor_end_set".
SVN revision: 67686
2012-02-02 06:58:06 +00:00
WooHyun Jung
d4a1037e63
[elementary/elm_entry] Were these signals(copy, cut) intentionally
...
deleted? Anyway ~ I added them becasue they were there :)
SVN revision: 67684
2012-02-02 02:33:14 +00:00
Tom Hacohen
90a9c62c86
Elm entry: Fixed a bug with sizing of internal textblock.
...
It should resize to be *at least* the min height, not always the min height.
SVN revision: 67583
2012-01-29 11:55:29 +00:00
Tom Hacohen
612d100570
Elm entry: Fixed an issue with undo/redo.
...
SVN revision: 67582
2012-01-29 11:55:23 +00:00
Tom Hacohen
e1b8a631f8
Elm entry: Fixed compilation warnings.
...
SVN revision: 67581
2012-01-29 11:55:19 +00:00
Tom Hacohen
59cf09b81c
Elm entry: force/and textblock get - remove the const.
...
This conforms that what discussed at the ML. I did it so people won't abuse
the API, but I guess people don't agree with me.
SVN revision: 67523
2012-01-25 07:35:04 +00:00
Tom Hacohen
711d361f20
Elm entry: Fix a bug in elm_entry_calc_force.
...
It should force calling of sizing eval as well...
SVN revision: 67488
2012-01-24 12:49:42 +00:00
Carsten Haitzler
5dfa47e3c3
use invalid tyrp as return again
...
SVN revision: 67036
2012-01-11 02:58:56 +00:00
WooHyun Jung
7e1da5af29
elementary/elm_entry : When theme is changed, pos is set to zero as
...
default.
SVN revision: 67008
2012-01-10 01:34:22 +00:00
ChunEon Park
0640b3d90b
elementary/entry - more deprecated APIs
...
elm_entry_icon_set/get/unset
elm_entry_end_set/get/unset
SVN revision: 66991
2012-01-09 10:33:59 +00:00
Carsten Haitzler
0fbfa706b1
get rid of invalid panel layout and add hex and terminal.
...
SVN revision: 66749
2012-01-02 11:53:26 +00:00
Carsten Haitzler
ce1585714d
match the const changes to edje in elm entry. leaks waiting to happen
...
in apps!
SVN revision: 66746
2012-01-02 11:43:25 +00:00
Carsten Haitzler
75c5c5f566
undeprecate elm_entry_entry_set/get
...
SVN revision: 66743
2012-01-02 11:17:29 +00:00
Tom Hacohen
571163d3c0
Elm entry: Fix segfault when selection is NULL.
...
Patch by Jihoon Kim, adjusted a bit.
SVN revision: 66714
2012-01-01 12:22:16 +00:00
Carsten Haitzler
f6a3fc40e1
stop using deprecated calls.
...
SVN revision: 66681
2011-12-30 10:02:19 +00:00
Hyoyoung Chang
84554addb8
From: Hyoyoung Chang <hyoyoung@gmail.com>
...
Subject: [E-devel] [patch] elm_cnp_helper - change elm_cnp_selection_set and code cleanup
Date: Tue, 27 Dec 2011 20:15:14 +0900
Dear all.
As discomfitor suggested, I cleanup some codes.
elm_cnp_selection_set : add buffer length argument and check for image type.
(i think it's urgent issue before elm_cnp_selection_set api is widely used.)
enum defines : add 'type' prefix.
Thanks
SVN revision: 66566
2011-12-27 11:24:13 +00:00
Hyoyoung Chang
ad04bbfc23
From: Hyoyoung Chang <hyoyoung@gmail.com>
...
Subject: [E-devel] [patch] elm_cnp_helper - make some cnp apis as
public EAPI
As I suggested, I made a patch for some cnp apis.
I think copying and pasting APIs are pretty mature to be public
Those are elm_selection_set, elm_selection_clear, elm_selection_get.
And adding cnp prefix for distinction from word, or char selections.
elm_selection_set --> elm_cnp_selection_set
elm_selection_clear --> elm_cnp_selection_clear
elm_selection_get --> elm_cnp_selection_get
And drag and drop APIs should be remained as private.
It has many flaws.
SVN revision: 66505
2011-12-26 04:08:45 +00:00
Tom Hacohen
e2221b2064
Elm entry: propogate the new edje cursor,changed,manual signal.
...
SVN revision: 66260
2011-12-15 14:42:22 +00:00
Tom Hacohen
68c029ca15
Elm entry: Conform to the evas markup_to_plain -> text_markup_to_utf8 change.
...
SVN revision: 66188
2011-12-14 11:51:02 +00:00
Tom Hacohen
822bde1f45
Elm entry: Use the new evas_textblock_markup_to_plain when pasting.
...
This sloves many issues with pasting format.
SVN revision: 66036
2011-12-08 15:13:19 +00:00
Tom Hacohen
33cb46d033
Elm entry: Fixed entry min size calculations.
...
I dunno how, why and by who it got broken, but it should be working now.
If you have any issues, let me know.
SVN revision: 65960
2011-12-06 15:52:11 +00:00
Tom Hacohen
8168430115
Revert "elementary/elm_entry : When singlelined & scrolled, entry's min width"
...
This reverts commit 64721.
This commit causes other issues, and it also slows entry down.
SVN revision: 65959
2011-12-06 15:52:05 +00:00
WooHyun Jung
eb8d16dfb4
elementary/elm_entry.c : When scrollable_set is called, scroller's
...
policy should be decided with consideration of single line mode.
SVN revision: 65933
2011-12-06 02:19:43 +00:00
WooHyun Jung
a524b3eb04
elementary/elm_entry.c : Scroller should be created when it is needed.
...
i.e in scrollable_set function.
SVN revision: 65929
2011-12-06 01:07:04 +00:00
WooHyun Jung
83fa8cf4aa
elementary/elm_entry : Delete a meaningless code. wd->ent will be set as
...
resize object for elm_entry.
SVN revision: 65893
2011-12-05 09:01:54 +00:00
Mike Blumenkrantz
a1f1635499
completely disable selection and cnp in password entries
...
SVN revision: 65858
2011-12-03 22:16:14 +00:00
WooHyun Jung
146e547955
elementary/elm_entry : Text filter should consider some tags like
...
<br>. Now tag itself has its own size, then max size filter callback
will calculate that.
SVN revision: 65225
2011-11-15 08:26:02 +00:00
Tom Hacohen
beac21bb68
Elm entry: Expose the internal textblock object.
...
This commit introduces two new API: elm_entry_textblock_get and
elm_entry_calc_force. These two APIs can be used to manipulate the
textblock object inside the entry in a safe manner. This exposes an
interface that wasn't available before letting do new and cool things
with entries.
SVN revision: 65169
2011-11-14 13:56:06 +00:00
Tom Hacohen
1566e476c8
Elm entry: Pass Elm_Entry_Change_Info with changed,user signal.
...
SVN revision: 65168
2011-11-14 13:56:02 +00:00
Tom Hacohen
8730871356
Elm entry: Call callbacks for undo/redo,request.
...
SVN revision: 65167
2011-11-14 13:55:57 +00:00
WooHyun Jung
dddc8048c0
elementary/elm_entry : When singlelined & scrolled, entry's min width
...
should be calculated by text's width not by wd->ent's geometry info.
So I modified this.
SVN revision: 64721
2011-11-04 05:05:53 +00:00
Tom Hacohen
c91bdfc4df
Elm entry: support setting theme parts to non-scrollable entries.
...
Until now it was only possible for scrolled entries.
This patch is by Hyoyoung Chang, which I adjusted to conform to my previous
patch.
SVN revision: 64436
2011-10-27 14:16:31 +00:00
Tom Hacohen
f4d9d94ea4
Elm entry: Removed wd->icon/end, no real need for them.
...
This is a needed cleanup for applying Hyoyoung's patch.
SVN revision: 64435
2011-10-27 14:16:26 +00:00
Jihoon Kim
0ff8c40ad0
From: Jihoon Kim <jihoon48.kim@samsung.com>
...
elm_entry_autocapital_type_set API is high level API to call ecore_imf_context_autocapital_type_set.
Application programmer can choose the type of autocapitalization such as
WORD, SENTENCE, ALLCHARACTER through this API.
elm_entry_input_panel_enabled_set API is for setting whether input panel
(virtual keyboard) should be appeared when entry has a focus or pressed.
It can be used by dialer or calculator application programmer because those
application prefer to use its keypad NOT virtual keyboard supported by system.
They want to use entry to show the cursor for providing the cursor handling
method but don't want to appear system keyboard.
SVN revision: 64424
2011-10-27 05:43:08 +00:00
Carsten Haitzler
6dfabc67a1
oops and dont return always if file and autosave. just do necessary
...
logic.
SVN revision: 64385
2011-10-25 11:47:18 +00:00
Carsten Haitzler
bcaa2831d2
possible bug vector -> access wd after callback has freed obj and
...
freed wd.
SVN revision: 64384
2011-10-25 11:09:01 +00:00
Iván Briano
057a00829c
Get us some nice auto translation scheme
...
First things first, I'm not sure I'm setting the right variable on
the setlocale() call, so someone more knowledgeable can look at it and fix it.
How this works, you say? Just like elm_object_text_part_set(), except now it
will pass the string given through dgettext() with the given domain (NULL
means it uses whatever the app set with textdomain()), and when changing
language with elm_language_set(), it will re-set the strings with a new
translation.
SVN revision: 64179
2011-10-19 14:17:14 +00:00
Carsten Haitzler
d3b9a6f46e
woooooow! lets delete delay_write timer oon entry deletion eh?
...
SVN revision: 64164
2011-10-19 07:54:31 +00:00
Iván Briano
52194cd52f
One of the Four Horsemen for Cedric.
...
Let's have the content_hook thing for entry actually work, and if the
icon setters use that instead of having an entirely different code it may
also be a good idea.
SVN revision: 63999
2011-10-12 02:49:23 +00:00
Iván Briano
c4a7751b05
Make toggling visibity of entry icons actually work
...
SVN revision: 63971
2011-10-11 02:07:56 +00:00
Mike McCormack
beafec3884
elementary: Improve include file modularity
...
Move stuff out of elm_priv.h
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
SVN revision: 63900
2011-10-07 05:56:07 +00:00
Hyoyoung Chang
98095f3486
From: Hyoyoung Chang <hyoyoung.chang@samsung.com>
...
Subject: [E-devel] [patch] elm_{entry, label} - add evas_event_{freeze, thaw}
This patch adds evas_event_freeze and thaw to elm_{entry,label}.
Normally it's not speed up much. But in some event storm cases, it's speed
up to 10% in my test cases (which is putting 200 entries in a box)
SVN revision: 63666
2011-09-29 12:02:49 +00:00
WooHyun Jung
ffd271b5df
elementary/entry : Fix possible memory leak problem.
...
SVN revision: 63597
2011-09-25 04:14:17 +00:00
WooHyun Jung
f787c57284
elementary/elm_entry : Deleted a line because this line could not be
...
reached.
SVN revision: 63596
2011-09-25 03:50:28 +00:00
WooHyun Jung
a7185d1bb5
elementary/elm_entry.c : small change for reducing codes.
...
SVN revision: 63595
2011-09-25 03:43:10 +00:00
WooHyun Jung
c879c55fad
elementary/elm_entry : add some null checking codes.
...
SVN revision: 63594
2011-09-25 02:56:54 +00:00
Tom Hacohen
2c5dc0e2aa
Elm entry: Fixed a bug with inserting chunks.
...
Thanks a lot to WooHyun for finding this.
SVN revision: 63535
2011-09-22 11:31:22 +00:00
Tom Hacohen
76d6b9d1f8
Elm entry: Reparent the smart scroller correctly.
...
SVN revision: 63023
2011-08-31 10:51:04 +00:00
Mike Blumenkrantz
df275a7b42
fix OB1 on anchor click callback
...
SVN revision: 62835
2011-08-25 21:57:23 +00:00
Jihoon Kim
cc3791f246
From: Jihoon Kim <jihoon48.kim@samsung.com>
...
Subject: [E-devel] [PATCH] add elm_entry_input_panel_layout_set API
elm_entry_input_panel_layout_set API is high level API to call
ecore_imf_context_input_panel_layout_set (through edje).
This API will be used to set layout of input panel (such as URL, Email,
Number layout...) by application programmer.
Would you please review this patch?
Please let me know if I have to do more.
SVN revision: 62782
2011-08-25 07:25:37 +00:00
Daniel Juyung Seo
fed8b7a9d8
elm entry/label: Changed internal function name to the right one.
...
SVN revision: 62718
2011-08-23 12:22:47 +00:00
Tom Hacohen
de0aaac932
Elm entry: Fixed a bug with chunked feeding of textblock.
...
Thanks to MJ for the report.
SVN revision: 62693
2011-08-22 14:20:02 +00:00
WooHyun Jung
a8156d10c5
elementary : Delete meaningless codes
...
SVN revision: 62577
2011-08-19 04:29:40 +00:00
WooHyun Jung
33631ae5a5
elementary/elm_entry : Add elm_widget_content_set(unset,get)_hook_set
...
for style extension supporting.
SVN revision: 62576
2011-08-19 04:21:36 +00:00
WooHyun Jung
5f501aaf0a
elementary/elm_entry : Alternative to focus checking, we should check
...
whether geometry information for elm_widget_show_region_set is valid or not.
SVN revision: 62368
2011-08-12 02:22:15 +00:00
Tom Hacohen
6c47d15666
Elm entry: Fixed 'Paste' to only show if there clipboard isn't empty.
...
SVN revision: 62193
2011-08-08 07:51:02 +00:00
Tom Hacohen
8144ea2198
Elm entry: Added changed,user signal.
...
This signal indicates the entry was changed because of user interaction
SVN revision: 62045
2011-08-03 09:00:36 +00:00
Iván Briano
5e7fe97a1e
warning about shadowing symbols! BEGONE!
...
SVN revision: 61919
2011-07-30 03:19:44 +00:00
Iván Briano
3319b7310f
I don't know why this doesn't break anything, but let's call functions with the right object as parameters
...
SVN revision: 61918
2011-07-30 03:16:46 +00:00
Iván Briano
38248dc51a
I don't care if the entry is not focused, update the cursor position anyway.
...
Returning at that point was making non focused entries, like say... the chat buffer in an IM client to not scroll properly when we tell it to do so.
SVN revision: 61917
2011-07-30 03:15:43 +00:00
Flavio Ceolin
384153a7ca
Elementary: When an elm_entry is setted to be scrolled its stops of propagate events.
...
Fixed just setting the els_scrooller to propagate the events.
Patch by: Flavio Ceolin <flavio.ceolin@profusion.mobi>
SVN revision: 61866
2011-07-28 17:33:53 +00:00
Tom Hacohen
e0364385f8
Elm entry: Fixed a bug with entry_get with big texts.
...
Entry gradually loads big texts. This bug caused entry_get to return the
current text in the textblock, and not the text not yet loaded.
SVN revision: 61840
2011-07-28 08:18:37 +00:00
WooHyun Jung
a03291c9af
elementary/elm_entry : cursor geometry should be changed only when
...
focused.
SVN revision: 61787
2011-07-27 04:57:18 +00:00
Iván Briano
38b40990e5
Add triple click for entries, for line selection magics and who knows what else
...
SVN revision: 61694
2011-07-25 14:08:38 +00:00
Mike Blumenkrantz
6b450cd1f8
consolidate paste signal handlers, fix cnp bug where middle mouse click would unset primary selection just before trying to paste, consolidate more paste code
...
SVN revision: 61660
2011-07-24 21:52:24 +00:00
Mike Blumenkrantz
988f8b1083
add a sizing eval after cut
...
SVN revision: 61644
2011-07-24 09:27:39 +00:00
Mike Blumenkrantz
273cc8ea84
fix annoying cnp bug with ctrl+c/v by reusing existing code instead of having 2 handlers for things
...
SVN revision: 61642
2011-07-24 09:05:25 +00:00
Mike Blumenkrantz
1097ce33da
whoops, put copy signal back
...
SVN revision: 61641
2011-07-24 08:57:38 +00:00
Mike Blumenkrantz
26ce2b2303
use new entry,selection,none,request
...
SVN revision: 61637
2011-07-24 08:36:42 +00:00
Mike Blumenkrantz
67266855f1
ctrl+a now selects all text in an entry
...
SVN revision: 61635
2011-07-24 08:17:18 +00:00
Mike Blumenkrantz
2355a50d1f
use new paste signals, fixes middle mouse paste vs ctrl+v paste
...
SVN revision: 61634
2011-07-24 08:10:35 +00:00
Mike Blumenkrantz
2c487eb83a
fix for the following valgrind annoyance:
...
Conditional jump or move depends on uninitialised value(s)
at 0x4128897: _elm_smart_scroller_child_region_show_internal (els_scroller.c:1081)
by 0x4128A25: elm_smart_scroller_child_region_show (els_scroller.c:1113)
by 0x408B57E: elm_entry_cursor_end_set (elm_entry.c:2337)
Uninitialised value was created by a stack allocation
at 0x408B4BC: elm_entry_cursor_end_set (elm_entry.c:2328)
SVN revision: 61627
2011-07-24 03:59:09 +00:00
Mike Blumenkrantz
6858005a27
fix anchor bug in entry if anchor href contains commas
...
SVN revision: 61608
2011-07-23 04:00:49 +00:00
Mike Blumenkrantz
9085b4632c
typedef void (*Elm_Entry_Filter_Cb)(void *data, Evas_Object *entry, char **text);
...
and related docs
SVN revision: 61604
2011-07-23 02:15:42 +00:00
Mike Blumenkrantz
b3bd53147d
fix href parsing in new signals
...
SVN revision: 61583
2011-07-22 09:08:58 +00:00
Mike Blumenkrantz
cf0b2a1b79
new signals+doc for elm entry:
...
+static const char SIG_ANCHOR_DOWN[] = "anchor,down";
+static const char SIG_ANCHOR_UP[] = "anchor,up";
+static const char SIG_ANCHOR_IN[] = "anchor,in";
+static const char SIG_ANCHOR_OUT[] = "anchor,out";
SVN revision: 61569
2011-07-21 21:19:55 +00:00
Mike Blumenkrantz
306e7f9a27
some logic/indent reformatting
...
SVN revision: 61568
2011-07-21 20:54:54 +00:00
Iván Briano
4d56dc6716
Incomplete (I need to add a few lil' images) docs for elm_entry. Judge and let me know how they could be improved.
...
Example comes later, blame discomfitor for the half commit
SVN revision: 61567
2011-07-21 20:36:49 +00:00
WooHyun Jung
041f361959
elementary/elm_entry : fix wrong indentations
...
SVN revision: 61554
2011-07-21 11:30:05 +00:00
Carsten Haitzler
864c4ae940
fix min size calc for entryies that got in with entry + scrolled entry
...
merge.
SVN revision: 61553
2011-07-21 11:02:07 +00:00
Daniel Juyung Seo
912e97f63d
elm entry: Fixed indentation.
...
SVN revision: 61265
2011-07-12 04:51:39 +00:00
Daniel Juyung Seo
a4ba91dd39
elm conform: Eina_Bool parameter is added to API
...
elm_widget_show_region_set to set the show region always. Earlier, the
API expects some change, to redo the job. Patch by Prince Kumar Dubey
<prince.dubey@samsung.com>
------- Original Message -------
Sender : PRINCE KUMAR DUBEY<prince.dubey@samsung.com>
Date : 2011-05-20 17:41 (GMT+09:00)
Title : [E-devel] [Patch] elm_conform patch
Hi Mr Seo,
Can you please send the attached patch of elm_conformant to EFL ope-src community.
Change Log:
Eina_Bool parameter is added to API elm_widget_show_region_set to set
the show region always. Earlier, the API expects some change, to redo the job.
This enhancement is already approved by raster in gerrit review.
Thank you.
Regards,
Prince
SVN revision: 61148
2011-07-08 07:50:36 +00:00
Michael BOUCHAUD
03b898aa1a
elementary: add elm_entry_line_wrap_get
...
SVN revision: 61045
2011-07-05 11:29:35 +00:00
Tom Hacohen
fc6c3c3fc8
Elm: Make all the widgets accept "default" as the default.
...
SVN revision: 61002
2011-07-04 10:52:23 +00:00
Tom Hacohen
c49985083a
elm entry: add the elm_object_text_set/get hooks.
...
SVN revision: 61001
2011-07-04 10:40:13 +00:00
Daniel Juyung Seo
3a0636d1f1
elm: Removed trailing whitespaces.
...
SVN revision: 60952
2011-07-03 07:49:02 +00:00
Tom Hacohen
2bf521e3b6
Elm hoversel: Fix the tests to use the new elm_object_text_set/get API.
...
SVN revision: 60861
2011-06-30 05:43:59 +00:00
Tom Hacohen
ac00e7c120
Elm entry: Fix entry changed signal handling.
...
Patch by Jihoon Kim.
SVN revision: 60708
2011-06-27 00:20:54 +00:00