Commit Graph

170 Commits

Author SHA1 Message Date
Tom Hacohen 2729248566 Edje entry: Emit signals on range del and add info to changed,user.
Info added includes: cursor position of the action, content related to the
action, and the action that happened (added/removed).
Also fixed tab insertion to delete the current selection.

SVN revision: 63773
2011-10-03 12:30:40 +00:00
Tom Hacohen 2477b1a048 Edje entry: Do the cheaper if first.
SVN revision: 63772
2011-10-03 12:30:37 +00:00
WooHyun Jung 75646ae276 edje/edje_entry : fixed small bugs and warnings
SVN revision: 63766
2011-10-03 08:02:07 +00:00
Jihoon Kim 97f7d95201 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] update cursor location when the position of
entry is changed


The cursor location information should be transferred when the position of
entry is changed.

For example, an entry can be moved by comformant, rotate event.

The transferred cursor location is used for letting candidate word window
move the appropriate position.



SVN revision: 63660
2011-09-29 09:02:31 +00:00
Tom Hacohen 110898bd67 Revert "Edje entry: Start using the new tb_range_formats_get."
This reverts commit 62260

Unfortunately the textblock function doesn't work as well as expected.

SVN revision: 63192
2011-09-05 12:07:31 +00:00
Jihoon Kim 94561e19eb 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
Tom Hacohen 8424a58c6d Edje entry: Fixed a markup_prepend that should have been a text_prepend.
SVN revision: 62484
2011-08-15 14:05:18 +00:00
Tom Hacohen 2fa1f8c3d5 Edje entry: Start using the new tb_range_formats_get.
This should make everything faster cause we now only get/work on the
visible anchors/items.

SVN revision: 62260
2011-08-09 13:58:00 +00:00
Tom Hacohen bb20b8067e Edje entry: Fixed changed/changed,user with backspace.
It used to send the signals even when we didn't change anything (i.e tried
to delete at the start of the entry). Now it's ok.

SVN revision: 62044
2011-08-03 08:56:59 +00:00
Tom Hacohen fad2f9571a Edje entry: Added entry,changed,user signal.
This signal means that the user changed entry, i.e by key insert, paste
or anything alike.

SVN revision: 62043
2011-08-03 08:56:54 +00:00
Jihoon Kim 1f6499a058 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: RE: [E-devel] [PATCH] notify immodule to know the cursor
location

In the current edje_entry, there are some bugs related to sequence and miss
to call '_edje_entry_imf_cursor_info_set()'.
Cursor geometry information should be transferred after
ecore_imf_context_focus_in API is called.



SVN revision: 62039
2011-08-03 05:36:01 +00:00
Jihoon Kim c49d6b9916 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] check NULL parameter in edje entry

This simple patch is for checking NULL parameter in the callback
functions
related to input method framework.
I think it is necessary for safety.



SVN revision: 61890
2011-07-29 11:48:56 +00:00
Jihoon Kim c99293d0e4 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] notify immodule to know the cursor location

In immodule, the cursor location is needed to move the word candidate window.
In this patch, calling ecore_imf_context_cursor_location_set lets immodule
know the cursor location.

Also fixed patch conflicts and 1 warning related to IMF.



SVN revision: 61877
2011-07-29 05:56:09 +00:00
Jihoon Kim 94cf5e7829 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: Re: [E-devel] [Patch] Add XIM module for ecore_imf

Patch to set the right window ID for IMF access from Edje



SVN revision: 61756
2011-07-26 12:04:27 +00:00
Mike Blumenkrantz f862f71e4c middle mouse click now changes cursor location, fixes primary selection paste location bugs
SVN revision: 61656
2011-07-24 21:25:27 +00:00
Mike Blumenkrantz e6bdceb300 added entry,selection,none,request to spite tasn
SVN revision: 61636
2011-07-24 08:36:27 +00:00
Mike Blumenkrantz ee01981c9d renamed to entry,selection,all,request because tasn won't shut up
SVN revision: 61633
2011-07-24 08:05:45 +00:00
Mike Blumenkrantz fbfdfc5117 +entry,selection,request signal
SVN revision: 61632
2011-07-24 07:59:47 +00:00
Mike Blumenkrantz 4c0446c7d2 add entry,paste,request,1 and entry,paste,request,3 for different types of pasting
SVN revision: 61631
2011-07-24 07:47:17 +00:00
Christopher Michael 6d6fe5aca0 Edje: Add UNUSED where needed on the edje_entry obj.
SVN revision: 61621
2011-07-23 23:00:14 +00:00
Tom Hacohen d9adfc83ca Edje entry: Emit signals for undo/redo.
SVN revision: 61493
2011-07-19 08:08:16 +00:00
Tom Hacohen 6a67030bf1 Edje entry: Removed redundant func call and 2 comments.
SVN revision: 61481
2011-07-18 15:25:03 +00:00
Tom Hacohen e49f3baa84 Edje entry: Removed a hack that's not needed anymore.
This is thanks to a bug fix in textblock.

SVN revision: 61346
2011-07-13 15:45:50 +00:00
WooHyun Jung 7a205c0ef6 edje : Password's last char show feature supported. This patch is made
by Shilpa.


SVN revision: 60858
2011-06-30 05:31:08 +00:00
Tom Hacohen e2b7d34bfa Edje entry: Differentiate between entry,changed and preedit,changed.
Patch by Jihoon Kim.

SVN revision: 60658
2011-06-24 08:43:38 +00:00
Christopher Michael d914f3d711 Edje: Fix 'variable may be used uninitialized' warning. Fix some
formatting.



SVN revision: 60196
2011-06-10 16:41:45 +00:00
Tom Hacohen 380351b5d3 Edje entry: Make sure we append at the end.
SVN revision: 59810
2011-05-30 12:02:54 +00:00
Carsten Haitzler abbf3767c5 back out freeze/thaw on edje entry.. seems to have some side effects
with entry in gnelist ... i wonder why... for how, back out.



SVN revision: 59798
2011-05-30 05:37:59 +00:00
Tom Hacohen 69e89c2666 Revert commit 59732
Read my comment in the email, and we even talked about it on irc. The
current call to "mainloop iterate" is hacky, Jihoon is already working
on an alternative solution.

SVN revision: 59734
2011-05-27 11:16:05 +00:00
Jihoon Kim 4ad4fadb35 From: Jihoon Kim <jihoon48.kim@samsung.com>
When elm_entry_entry_set() is called, the preedit text in the entry should
be cleared. ATM, it doesn’t works so.

This patch will resolve this problem.
 
When ecore_imf_context_reset() is called, the preedit text in the immodule
will be committed by calling ‘ecore_imf_context_commit_event_add()’.

ecore_imf_context_commit_event_add puts the event in ecore event queue, so
it will be processed in the idle state of ecore loop.

According to this mechanism, commit text is inserted later, so I use
‘ecore_main_loop_iterate();’ for inserting the commit string instantly.



SVN revision: 59732
2011-05-27 10:46:51 +00:00
Carsten Haitzler 66aef5074f add use of freeze+thaw for improvement in out-there scenarios.
SVN revision: 59730
2011-05-27 10:32:53 +00:00
Tom Hacohen f13ec69e34 Edje entry: Don't emit cursor,changed when not needed.
This includes setting the text and setting cursor position to the already
set position.

SVN revision: 59531
2011-05-19 12:08:29 +00:00
Tom Hacohen 70665bc1c5 Edje entry: Fix warnings.
SVN revision: 59521
2011-05-19 09:00:22 +00:00
Tom Hacohen 85ac9b3059 Edje entry: Remove the useless calls to "update_from_curs".
We don't really need or use the coordinates anywhere, we just saved them
and worked hard on maintaining them, but didn't really use them.
Now we only calculate them in the one specific case where we actually
need them. This speeds things up and also means the layouting may not be
called in some cases when there's no need to layout.

SVN revision: 59520
2011-05-19 08:38:42 +00:00
Tom Hacohen 134a6af626 Edje entry: Don't emit 'curosr,changed' when appended using a different curosr.
SVN revision: 59494
2011-05-18 10:08:03 +00:00
Tom Hacohen 30847d0bdc Edje text: Added edje_object_part_text_append.
SVN revision: 59407
2011-05-15 15:57:38 +00:00
Tom Hacohen e20db04ef0 Edje entry: Use the new textblock _format_list_get in anchors_get.
SVN revision: 59326
2011-05-11 10:19:01 +00:00
Tom Hacohen 811fde2504 Edje entry: Speed up anchor calculation.
SVN revision: 59285
2011-05-09 08:40:15 +00:00
Jihoon Kim 3d2d5eb51d From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] bug fix : preedit text was commited when
shift key was pressed

ATM, preedit text is commited when shift key is pressed.
This patch file is for solving this bug.



SVN revision: 58887
2011-04-25 05:57:49 +00:00
Jihoon Kim ac33622354 From: Jihoon Kim <imfine98@gmail.com>
Subject: [E-devel] [PATCH] bug fix in : "cursor, changed" signal is
not emitted when the content of entry is removed

I found the bug that "cursor,changed" signal is not emitted when the content
of entry is removed.

Let's assume the cursor position is equal to 10.
In this situation, elm_entry_entry_set(en, "") is called.
The content of entry is removed and the cursor position is equal to 0, but
"cursor,changed" signal is not emitted.

This patch is for solving this problem.

In addition, it lets the input method module know the cursor position using
ecore_imf_context_cursor_position_set API
in case that _edje_entry_set_cursor_{start, end} is called.

(Raster: actually it should always emit changed. not check pos at all.
technically pos could be the same BUT cursor moved on screen due to a
reformat). :)



SVN revision: 58886
2011-04-25 05:36:58 +00:00
Daniel Juyung Seo 87271e150e Edje edje_entry.c: Fixed formatting. Patch by Jihoon Kim
<jihoon48.kim@samsung.com>


SVN revision: 58370
2011-04-06 01:20:59 +00:00
Carsten Haitzler ae08dc6fc3 selection now works too.
SVN revision: 58209
2011-03-30 12:20:51 +00:00
Carsten Haitzler bcacff3111 now cursor setting works with newly valigned textbllocks. selection
next.



SVN revision: 58207
2011-03-30 12:18:21 +00:00
Brett Nash 6894af9d5e Edje: (trivial) Put the clipper/evas pointer in the base structure.
I say trivial in the sense it has no functional changes, however it's a large
patch.  Recommendation from Gustavo.

SVN revision: 58080
2011-03-25 03:21:07 +00:00
WooHyun Jung 0786e6c1bf From: WooHyun Jung <wh0705.jung@samsung.com>
Fix missing clicked signal from entry.



SVN revision: 57663
2011-03-10 10:12:32 +00:00
Tom Hacohen 7a66e72df5 Edje entry: Added edje_object_part_text_cursor_pos_get/set.
This adds the ability to control the text position of an edje_entry.
Patch by Jihoon Kim.

SVN revision: 57365
2011-02-27 10:25:22 +00:00
WooHyun Jung 4274d39f03 From: WooHyun Jung <wh0705.jung@samsung.com>
Subject: RE: [E-devel] One bug in _edje_key_down_cb func (in
edje_entry.c)

I found one bug in _edje_key_down_cb func (in edje_entry.c)
 
When I input "Backspace" in an entry object,  _signal_cursor_chagned_func(in
elm_entry.c) is not called. 

This is because the following code in _edje_key_down_cb func (in edje_entry.c)
is not called. 
 
 if ((evas_textblock_cursor_compare(tc, en->cursor)) && (!cursor_changed))
    _edje_emit(ed, "cursor,changed", rp->part->name);
           
Why not called ? Because ~ evas_textblock_cursor_compare(tc, en->cursor)
returns 0.

(i.e. old cursor and current cursor have the same position information)
 
I think old cursor should keep its position without any updating. 
 
But in evas_textblock_cursor_char_delete() func, called by _backsapce func
(in edje_entry.c) - 

old cursor's postion is updated as the current position. 



SVN revision: 57199
2011-02-21 05:53:23 +00:00
Daniel Juyung Seo d125dcecb1 Edje edje_entry.c: Removed trailing whitespaces. Patch by Jihoon Kim <jihoon48.kim@samsung.com>
SVN revision: 57198
2011-02-21 01:48:41 +00:00
Tom Hacohen b34172c91e Edje entry: Added cursor_mode to edje to toggle between UNDER (efl/terminal) and BEFORE (gtk/rest of the world) cursor modes.
SVN revision: 56547
2011-01-30 10:46:33 +00:00
Vincent Torri b600427f5d gaurd ecore_imf functions
SVN revision: 55550
2010-12-14 07:05:52 +00:00