Commit Graph

289 Commits

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