Commit Graph

352 Commits

Author SHA1 Message Date
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
WooHyun Jung f787c57284 elementary/elm_entry : Deleted a line because this line could not be
reached.


SVN revision: 63596
2011-09-25 03:50:28 +00:00
WooHyun Jung a7185d1bb5 elementary/elm_entry.c : small change for reducing codes.
SVN revision: 63595
2011-09-25 03:43:10 +00:00
WooHyun Jung c879c55fad elementary/elm_entry : add some null checking codes.
SVN revision: 63594
2011-09-25 02:56:54 +00:00
Tom Hacohen 2c5dc0e2aa Elm entry: Fixed a bug with inserting chunks.
Thanks a lot to WooHyun for finding this.

SVN revision: 63535
2011-09-22 11:31:22 +00:00
Tom Hacohen 76d6b9d1f8 Elm entry: Reparent the smart scroller correctly.
SVN revision: 63023
2011-08-31 10:51:04 +00:00
Mike Blumenkrantz df275a7b42 fix OB1 on anchor click callback
SVN revision: 62835
2011-08-25 21:57:23 +00:00
Jihoon Kim cc3791f246 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
Daniel Juyung Seo fed8b7a9d8 elm entry/label: Changed internal function name to the right one.
SVN revision: 62718
2011-08-23 12:22:47 +00:00
Tom Hacohen de0aaac932 Elm entry: Fixed a bug with chunked feeding of textblock.
Thanks to MJ for the report.

SVN revision: 62693
2011-08-22 14:20:02 +00:00
WooHyun Jung a8156d10c5 elementary : Delete meaningless codes
SVN revision: 62577
2011-08-19 04:29:40 +00:00
WooHyun Jung 33631ae5a5 elementary/elm_entry : Add elm_widget_content_set(unset,get)_hook_set
for style extension supporting. 


SVN revision: 62576
2011-08-19 04:21:36 +00:00
WooHyun Jung 5f501aaf0a elementary/elm_entry : Alternative to focus checking, we should check
whether geometry information for elm_widget_show_region_set is valid or not.


SVN revision: 62368
2011-08-12 02:22:15 +00:00
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
Carsten Haitzler 4361bc8bb4 fix up copy & paste with inlined win and a few other cnp nigglies.
also no unimplemented win times for now.



SVN revision: 58686
2011-04-15 11:18:30 +00:00
Carsten Haitzler 315dc93196 mm.... new widget options/modes for win... u can put a window..
INLINED in another window. :) it's an image object. have fun!



SVN revision: 58657
2011-04-14 10:48:43 +00:00
Daniel Juyung Seo 77450413d7 Elementary src/lib: Removed all trailing whitespaces.
SVN revision: 58492
2011-04-08 14:36:29 +00:00
Tom Hacohen b57382c5ab Elementary entry: Now really fix min size calculation.
Width shouldn't matter. (look at revision 58393 for more info).

SVN revision: 58410
2011-04-07 08:47:18 +00:00
Tom Hacohen b9518d9381 Revert "Elementary entry: No need to calc min size for a wrapping entry."
This reverts commit 58393

Should fix min size height calculation.

SVN revision: 58408
2011-04-07 08:16:02 +00:00
Tom Hacohen 1e85b6a3ca Elementary entry: No need to calc min size for a wrapping entry.
It's just useless and makes zero sense. No matter what we'll
get a useless output and it just slows everything down.
Should probably be added when it makes sense, but it will probably
need something like elm_label_wrap_width_set.

SVN revision: 58393
2011-04-06 15:27:52 +00:00
ChunEon Park c7c99ddea6 elementry / entry, menu, notify, list, gengrid, actionslider, image, icon, anchorview, fileselector_button, calendar, photocam, anchorblock,
button, map, colorselector, hover, photo, diskselector, index, bubble, pager, hoversel, check, scrolled_entry, clock, flipselector

	    updated signal callback list in the  doxygen. 

            should update genlist, progressbar ... 



SVN revision: 58335
2011-04-04 16:34:18 +00:00
Daniel Juyung Seo 8a108db5ab Elementary: Use pre-defined type Edje_Signal_Cb instead of describing all of its parameters.
SVN revision: 58283
2011-04-03 05:32:17 +00:00
ChunEon Park 5176a3f867 elementary / entry, list, scroller, fileselector_button, config, photocam, map, pan, bg, store, priv, pager, conform, box, clock, flipselector
fixed indentation, removed white spaces.



SVN revision: 58267
2011-04-01 19:08:56 +00:00
Carsten Haitzler 916f3894fb more complete desktop entry mode support.
SVN revision: 58259
2011-04-01 13:35:39 +00:00
Carsten Haitzler 4febdc8e0c start a desktop entry mode. shift arrows start/mod selection. can just
click and drag to select.



SVN revision: 58258
2011-04-01 13:20:40 +00:00
Carsten Haitzler e6ba1dfbf1 right mouse pops up entry menu now too.
SVN revision: 58255
2011-04-01 12:10:24 +00:00
ChunEon Park b880342a74 elementary - entry, genlist, gengrid, image, icon, hover, frame, diskselector, index, layout, label, conform, flip, flipselector - removed white spaces
SVN revision: 58252
2011-04-01 11:32:33 +00:00
Carsten Haitzler f74c18a02e make all widgets use a standard setup macro. cuts code down and
handles null parent errors, null wd alloc, null obj create errors etc.



SVN revision: 58242
2011-04-01 06:08:02 +00:00
WooHyun Jung fc6a5a24b9 From: WooHyun Jung <wh0705.jung@samsung.com>
Subject: [E-devel] [Patch] for Gettext /I18N

Mr. Govi in SISO made a patch for following description. 

Detail Description:

1. If EFL/Elementary Application has i18n String with its own PO file,
then Elementary will end up looking for internal Strings at application
PO files. Passing PACKAGE name in the Elementary String Look up macro
eliminates this issue and looks for internal String from Elm.po files.

2. Macro E_(str) is used, to differentiate the elementary Strings from
commonly used #define _(str) in the applications. ( Just E ed :) )
 


SVN revision: 58085
2011-03-25 04:49:49 +00:00
Jihoon Kim 610284eab8 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] elm_entry : use EINA_FALSE instead of 0 when calling edje_object_part_text_select_allow_set
Date: Fri, 18 Mar 2011 13:04:44 +0900

Hi,

This is simple patch to use EINA_FALSE instead of 0 when calling
edje_object_part_text_select_allow_set in elm_entry.c
Would you please apply in svn?


SVN revision: 57836
2011-03-18 04:50:36 +00:00
Tom Hacohen 9944e8a295 Elementary entry: Fix compilation warnings.
SVN revision: 57821
2011-03-17 11:11:27 +00:00
Tom Hacohen 8c9f001fed Elementary entry: Save cursor position on theme changes
And fix redundancy in all of the theme changes while at it.
Patch by Jihoon Kim.

SVN revision: 57816
2011-03-17 08:18:16 +00:00
Daniel Juyung Seo 61a60002aa Elementary: Fixed indentation and white spaces. Patch by Jihoon Kim
(jihoon48.kim@samsung.com)


SVN revision: 57759
2011-03-15 02:01:42 +00:00
Tom Hacohen c5676e53f9 Elementary entry: Updated docs of elm_entry_markup_* functions.
Patch by Hyoyoung Chang.

SVN revision: 57735
2011-03-14 09:54:40 +00:00
WooHyun Jung 749c4f2c12 From: WooHyun Jung <wh0705.jung@samsung.com>
Subject: [E-devel] [Patch] anchorview's "clicked" signal is always
sent when mouse up.

I've checked "anchor,clicked" signal is always sent with mouse_up. 

That is, mouse_down on the anchor -> mouse_move out from the anchor ->
mouse_up can emit "anchor,clicked" signal.

So I made one patch for right clicked signal emitting. 



SVN revision: 57664
2011-03-10 10:15:58 +00:00
Michael BOUCHAUD 51e1a9bba0 elementary: don't process event in disabled entry widget (from Jihoon Kim)
SVN revision: 57477
2011-03-02 22:07:01 +00:00
Tom Hacohen 2d42233ac2 Elementary entry: Removed const from obj in *_entry_pos_set.
Fix the the previous commit, I can't believe I missed that one.
Patch by Jihoon Kim.

SVN revision: 57376
2011-02-27 11:44:01 +00:00
Tom Hacohen 09bbe67ee2 Elementary entry: Added elm_entry_cursor_pos_set/get (for scrolled as well).
Added elm_scrolled_entry_cursor_pos_set/get and elm_entry_cursor_pos_set/get
Patch by Jihoon Kim.

SVN revision: 57366
2011-02-27 10:25:45 +00:00
Tom Hacohen 01b62da93f Elementary entry: Fixed documentation of elm_entry_textnoly.
Patch by Hyoyoung Chang.

SVN revision: 57297
2011-02-24 09:24:20 +00:00
Tom Hacohen 5f506875ba Elemenatry entry: Added gettext to some strings.
SVN revision: 57049
2011-02-15 13:52:25 +00:00
Carsten Haitzler 26e44a3b3e and allow rmovable of these funcs if data set to NULL.
SVN revision: 57007
2011-02-14 08:47:19 +00:00
Carsten Haitzler d7761b0c99 make limit and set accept handy funcs also dup thier data/struct input
- complaints form users that this is painful made me think this is best.



SVN revision: 57006
2011-02-14 08:45:26 +00:00
Tom Hacohen c04d8990f0 Elementary: Added on-the-fly UI-mirroing support to all of the widgets
SVN revision: 56846
2011-02-09 16:14:02 +00:00
Tom Hacohen 99da5b6541 Elementary: Added ui-mirroring support for all the widgets.
SVN revision: 56803
2011-02-08 12:08:28 +00:00
Vincent Torri 81bd70bae2 fix windows build
SVN revision: 56570
2011-01-31 08:00:03 +00:00
Tom Hacohen f1ea3ee423 Elementary: implemented elm_scrolled_entry_is_empty and elm_entry_is_empty. Currently done in a hackish way, will be fixed to be cool once 1.0 is out, and the needed textblock support will be there.
SVN revision: 56296
2011-01-25 03:04:33 +00:00
Tom Hacohen cc49bde155 Elementary: Added elm_entry_cursor_geometry_get for getting the cursor's geometry.
SVN revision: 56277
2011-01-24 03:01:33 +00:00
Carsten Haitzler 650c45f28a well that file read wasnt safe.
SVN revision: 56132
2011-01-15 15:34:39 +00:00
Brett Nash c1a93b1841 Elm: Entry: cnp: Actually use the calculated format.
And I read this patch twice before I sent it.  So support images and text
again in entry _paste.

SVN revision: 56079
2011-01-13 23:08:37 +00:00
Brett Nash 78418c0226 Elm: Entry: cno: Add support for using text only in entries.
By default it's text only for single line entries (you can toggle it back on
if you want to).  Otherwise images are enabled for multiline entries.

SVN revision: 56078
2011-01-13 23:04:25 +00:00
Carsten Haitzler 53a768b573 and use new util calls from entry too and remove old code.
SVN revision: 55650
2010-12-20 06:05:59 +00:00
3v1n0 ff67ce31fb Always check for valid evas object.
If you try to create a new widget, you must be sure that the parent
is really an evas object.

With the previous implementation it was possible to call an _add
function for an elementary widget with any non-null pointer as parent
eventually causing crashes (like with the elm_box).


SVN revision: 55521
2010-12-12 19:12:43 +00:00
WooHyun Jung 34a3ad17b9 From: WooHyun Jung <wh0705.jung@samsung.com>
Subject: [E-devel] [PATCH] Some modifications for adapting
elm_longpress_timeout_get().

 I made a patch for adapting elm_longpress_timeout_get() function to all
 winsets, using long press event. 
 
 And I checked one warning in elm_entry.c , so I modified it. 
 


SVN revision: 55339
2010-12-07 05:04:45 +00:00
helen 030b697366 EINA_SAFETY_ON_NULL_RETURN
Checking parameters with EINA_SAFETY_ON_NULL_RETURN and
EINA_SAFETY_ON_NULL_RETURN_VAL in Elementary

SVN revision: 55188
2010-12-03 14:08:33 +00:00
hyoyoung.chang 3cf111500d From: hyoyoung.chang@samsung.com
As we talked last week, I made a version of adding external image in
elm_entry. It seeks a local file if prefix is 'file://' then it loads image and adds it. If image file can't be loaded, adding
wft emoticon.

patch in with minor fix for path and an added actual test case in elm
entry test.




SVN revision: 55134
2010-12-02 08:25:36 +00:00
Bruno Dilly 192d645277 Improve elm_colorselector readability and fix clicked entry sig emission
The reason for modifying about elm_colorselector can be "readability".
Each bar in the colorselector has its own color type (like hue, saturation,
...)
So I thought it will be better, if I added enum for each color type.

And, for about elm_entry.c , I thought that "SIG_CLICKED" was wrongly
emitted (by "MOUSE_UP" event).
I deleted mouse_up callback function (as you advised),
because this function didn't do anything by my modification.

By: WooHyun Jung <wh0705.jung@samsung.com>


SVN revision: 55097
2010-11-30 18:53:52 +00:00
Tiago Rezende Campos Falcao d666346484 Elm Fileselector with theme support
SVN revision: 54812
2010-11-22 19:24:48 +00:00
Carsten Haitzler 7debb66407 fix docs.
SVN revision: 54557
2010-11-15 02:55:36 +00:00
Bruno Dilly a737b92bd3 Adding some missing const on getters on elm
SVN revision: 54333
2010-11-08 16:39:07 +00:00
Bruno Dilly c7005dd59b Small fix on entry load file
In case a file can't be completely read, return what could be read so
far.



SVN revision: 54152
2010-11-04 13:59:42 +00:00
Bruno Dilly 81b68b08a9 Remove elm_notepad
Notepad had a big issue: users couldn't access the entry, so notepad
was something near to an useless widget.

We needed to choose between wrap all entry functions or add these file
save / load and autosave features to entries.

As discussed on the emails list, we decided to go with the second
option, so we won't have an extra widget with lots of wrap functions.

Notepad was internally just an elm_entry with a scroll, so using
a scrolled entry with a file set will do the job.

I've added a test called Entry Notepad that looks like the removed
Notepad test. But we will see the improvements - you can clear the entry
or whatever you want, because the entry is the object you are creating.

If you were using elm_notepad before, just s/notepad/scrolled_entry
and almost everything should work fine. Another change was the function
file_save(obj, file, format), is now just file_save(obj), and the
file and format used are defined by file_set().

At last, some getters were added.



SVN revision: 54145
2010-11-04 11:56:15 +00:00
Iván Briano ea3dda3527 And let's not expose internal objects when setting signal callbacks on widgets.
SVN revision: 54004
2010-10-29 18:21:58 +00:00
Tiago Rezende Campos Falcao 4672a51b0c Remove tests == 0 and != 0
SVN revision: 53787
2010-10-22 21:41:27 +00:00
Tiago Rezende Campos Falcao 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Iván Briano 3ec77727cc Bring focused object into the visible area
There's still a little bugger that can be noticed with the Scroller 2 test
and elm_conform still needs to handle this as scroller does.


SVN revision: 53778
2010-10-22 18:29:51 +00:00
Carsten Haitzler 5d81594429 fix doc.
SVN revision: 53756
2010-10-22 02:50:57 +00:00
Brett Nash 6bb0365d9c Add optional drop callback to elm_selection get.
SVN revision: 53557
2010-10-18 04:48:49 +00:00
Brett Nash 580c2797bb elm_cnp: Elm Drop Data is now Elm Selection data.
SVN revision: 53556
2010-10-18 04:48:44 +00:00
Leandro Pereira c245c6483f [Elementary] Code cleanups, as suggested by clang static analyzer.
SVN revision: 53472
2010-10-15 21:26:11 +00:00
Bruno Dilly 9fa9c659e5 Remove dead assignments from elementary
The only one remaining is on index code, related to the not yet
implemented horizontal mode.



SVN revision: 53396
2010-10-14 14:10:33 +00:00
Christopher Michael baccf96db6 Add UNUSED where needed.
SVN revision: 53285
2010-10-12 03:47:07 +00:00
Iván Briano 4c8980e47e Filter input text in entries.
Users can set filters of their own (text only, no format now) or use the
predefined ones.


SVN revision: 53141
2010-10-07 12:50:00 +00:00
Carsten Haitzler 4f3090af01 and handle disables for everything else that has disable hooks.
SVN revision: 53138
2010-10-07 07:44:50 +00:00
김지훈 d99918389f From: 김지훈 <imfine98@gmail.com>
I changed elementary source code related to focus functions.
Eina_Bool is used instead of integer type in those functions.



SVN revision: 52839
2010-09-28 04:28:14 +00:00
Bruno Dilly 89f23acadc Remove some dead assignments from elementary
SVN revision: 52763
2010-09-25 22:07:55 +00:00
Iván Briano 6879d7fdad Begins highlight on focused object.
There's still work to do here, particularly in the theme, but it has
something nice and fun to see the code working.
The idea behind this:
Window tracks focused object and sends the highlight object(s) to it. These
are simple edje objects, one on top, one below the focused widget for nice
effects. Widgets can choose to ignore the highlight and this will be sent to
the parent object, if it doesn't ignore it as well.
About the bottom object, it doesn't work now. For the most part, focused
widget will always be a member of some smart object, so stacking won't work
and the desired effect is nowhere to be seen. This will be worked out later.
To be done now:
 - Let the theme for a widget define its own highlight, disabling if needed
 the standard one for those objects.
 - Needed base in code to allow animations when switching focus. All in theme.
 - Properly test all widgets and fix some things that will most likely work
 in weird ways, given the nature of Evas/Edje and how Elementary makes use
 of them.
 - Forgot the rest, stay tuned, test, report, give ideas, plant a tree.

Work started by glima, continued with some refactors by me when he
decided he needed vacations.


SVN revision: 52524
2010-09-20 22:18:58 +00:00
김지훈 d5b8d09591 From: 김지훈 <imfine98@gmail.com>
Subject: patch for indentation and using enum in elementary

I send the patch for elementary.
In this patch, I fixed the indentation of Elementary.h.in.
In addition, I use EINA_TRUE or EINA_FALSE instead of 1 or 0.
EVAS_HINT_EXPAND and EVA_HINT_FILL is used instead of 1.0 and -1.0.
Thanks.



SVN revision: 52447
2010-09-19 02:30:14 +00:00
Gustavo Sverzut Barbieri 99a4bcfef4 elm_entry has ELM_CURSOR_XTERM by default.
SVN revision: 52388
2010-09-17 22:28:29 +00:00
Brett Nash c6684b49ec Elm DND/Sel: Update typenames to be more consistent.
SVN revision: 52286
2010-09-15 06:29:49 +00:00