Commit Graph

217 Commits

Author SHA1 Message Date
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
Tom Hacohen 3d4fc5a729 Elementary entry: Added handling of the preedit,changed signal.
Patch by Jihoon Kim.

SVN revision: 60659
2011-06-24 08:44:39 +00:00
Carsten Haitzler c44f45485f big move forward. scrolled entry and entry merge into entry. entry now
can be scrollable or not. scrolled entry now just calls entry calls
and is marked as dperecated to be killed off in the future so no need
to document it etc. edje external also goes.



SVN revision: 60438
2011-06-17 09:44:31 +00:00
WooHyun Jung 362d099db4 Elementary: elm_entry_filter_limit_size function is fixed. Now it can
count tags and escape chars for counting max bytes or chars.


SVN revision: 60303
2011-06-14 09:50:05 +00:00
Daniel Juyung Seo 5b30088911 Elm: Use 'canvas' API and structure rather than 'output' API and
structure.

'canvas' and 'output' are same. So we need to deprecate one of them
later(may be evas 2.0 or so.) After I discuss this with raster, I've
got to use 'canvas' not 'output'. So I fixed elementary codes.


SVN revision: 60268
2011-06-13 11:26:08 +00:00
Tom Hacohen 9b3ec1000e Elm entry/scrolled_enry: Added *_entry_append API.
This is very useful when you want to feed an entry from a socket for example
and you don't want to wait until all the information is received

SVN revision: 60267
2011-06-13 11:07:43 +00:00
Cedric BAIL 2619f8affa elementary: apparently forgotten sub object.
SVN revision: 59988
2011-06-06 13:03:31 +00:00
Tom Hacohen 2d88066300 Elm entry: strndup is not portable, use memcpy.
Thanks to vtorri for the notice.

SVN revision: 59540
2011-05-19 13:27:46 +00:00
Tom Hacohen 9cfb487605 Elm entry: Set show region only when cursor changes.
This lets us scroll away from our content and resize the entry without
any unwanted jumps.

SVN revision: 59501
2011-05-18 11:48:38 +00:00
Tom Hacohen 992133a640 Elm entry: Remove useless sizing evals.
We already change the entry which cause a sizing eval anyway, no need to
force more for no reason.

SVN revision: 59451
2011-05-16 14:09:56 +00:00
Tom Hacohen d288b45eca Elm entry: changed elm_entry_text_set to set the text with an idler.
The text is split to chunks and then appended from an idler. This makes
the entry very responsive and smooth even with very long texts.

SVN revision: 59408
2011-05-15 16:02:03 +00:00
Tom Hacohen 7a247bc2a9 Elementary entry: Shouldn't set max width for single line.
SVN revision: 59174
2011-05-04 07:11:21 +00:00
Tom Hacohen b51ae15d2e Elementary entry: Added mixedwrap theme groups and use them.
SVN revision: 59116
2011-05-02 11:08:35 +00:00
Tom Hacohen 9466cbcea3 Elementary: Use an enum for selecting line-wrap method.
BREAKS API - discussed in ML before.

SVN revision: 59115
2011-05-02 10:56:16 +00:00
Tom Hacohen 9fce89e7bb Elementary entry: Fix hint_min setting to work with scroller.
SVN revision: 59075
2011-05-01 09:40:19 +00:00
Tom Hacohen ec3d7792e2 Elementary entry: Fixed bug with jumping scroller when editing text.
Get cursor position only when needed, don't get it in advance, cache and
then find out it's not correct because we already moved the entry 10
10 times since :)

SVN revision: 59020
2011-04-28 17:50:26 +00:00
Tom Hacohen b11300ed97 Elementary entry: Fix min size calculation.
SVN revision: 59012
2011-04-28 15:47:01 +00:00
Daniel Juyung Seo 7712efaf1b Elementary entry: Fixed indentation. Patch by Jihoon Kim
<jihoon48.kim@samsung.com>


SVN revision: 58819
2011-04-22 02:29:54 +00:00