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
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
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
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
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
"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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
1. Selection now works with the buttons in elementary_test.
2. Selection with ctrl+v does not print ERR:elementary elm_widget.c:1373 _elm_widget_type_check() Passing Object: (nil), of type: '(unknown)' when expecting type: 'entry' anymore.
SVN revision: 51216
For some reason, we're getting text without the <br> and it is
crashing. Instead of crashing, be loud about that error and bail.
The source of the real bug is still unknown :-(
SVN revision: 46747