Commit Graph

279 Commits

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