Commit Graph

524 Commits

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