Commit Graph

500 Commits

Author SHA1 Message Date
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
Gustavo Sverzut Barbieri 833ba3362e some -Wall -Wextra warning cleanups.
elm_cnp_helper.c warnings were not fixed as they look like
implementation nash will do soon.



SVN revision: 52102
2010-09-09 19:39:30 +00:00
Bruno Dilly f8de57f405 Add elm object signal emit and callback add / del hooks to entry, list and index
SVN revision: 52087
2010-09-09 18:53:36 +00:00
Brett Nash 458ab084ea Stubs + hide stuff for crazy fr^H^Hwindows users.
SVN revision: 52035
2010-09-09 08:59:38 +00:00
Brett Nash 952b0925dc Start cleaning cnp/dnd code for elm.
SVN revision: 51969
2010-09-08 04:55:05 +00:00
Brett Nash 0d492dcdaf Merge branch 'elmdnd'
Conflicts:
	trunk/TMP/st/elementary/.gitignore

SVN revision: 51935
2010-09-07 06:56:16 +00:00
Tom Hacohen 5f220d5f76 Elementary: Fixed utf8->markup. Should probably just put it all in one place or at least depend on the textblock working on.
SVN revision: 51810
2010-09-01 14:30:31 +00:00
Christopher Michael bc583d718c Lots of fixes:
Add UNUSED where needed.
  Remove unused variables.
  Fix lots of compiler warnings.
  Formatting.



SVN revision: 51320
2010-08-18 19:18:42 +00:00
Tom Hacohen e1491acc3f Elementary: Fixed selection and a possible segfault.
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
2010-08-16 14:52:36 +00:00
Tom Hacohen 444745cf52 Elementary: Translate <ps> back to paragraph separator.
SVN revision: 51175
2010-08-16 09:06:19 +00:00
Cedric BAIL bdf6efa129 * elementary: fix Ecore API changes.
SVN revision: 49860
2010-06-25 09:58:14 +00:00
Carsten Haitzler 643d06dd16 aaah safety delete - nash nash nash. for you.
SVN revision: 49825
2010-06-24 02:54:03 +00:00
Brett Nash cf7ddc517a Elm entry now uses new & improved cut and paste.
SVN revision: 49813
2010-06-23 08:08:17 +00:00
Brett Nash 061259fe6c Fix elm->elm copy
SVN revision: 49810
2010-06-23 01:28:57 +00:00
Brett Nash eade64e9c2 Add me to authors, and make selection work a bit better.
SVN revision: 49792
2010-06-22 05:12:08 +00:00
Carsten Haitzler e8e922488e fix focus issue if child has focus and is deleted (or in this case not
- hidden) - focuse most recent focused widget.



SVN revision: 49780
2010-06-21 07:39:49 +00:00
Brett Nash bed3589df5 Updates to entry to use selection code.
SVN revision: 49728
2010-06-17 08:50:43 +00:00
Bruno Dilly 64c0cbc955 Set signal emit hooks for entry, scroller and scrolled entry.
SVN revision: 49682
2010-06-15 15:04:05 +00:00
Brett Nash 1e41a6cfdb Minor fix to documentation formatting
SVN revision: 49474
2010-06-06 04:32:41 +00:00
Brett Nash 5e39da8d53 Don't deref a pointer before we check it.
SVN revision: 49473
2010-06-06 04:09:56 +00:00
Carsten Haitzler d888b71dba theme -> can specify a new theme for an object andit gets inherited. need to
add tests.



SVN revision: 48771
2010-05-12 01:03:46 +00:00
Carsten Haitzler 5b26300221 support items in anchorblock/view too.
SVN revision: 48384
2010-04-28 06:13:06 +00:00
Carsten Haitzler 85a924c9e2 some docs on items.
SVN revision: 48357
2010-04-27 08:12:59 +00:00
Carsten Haitzler 88bee2cadb emoticons!!!! woot woot!
SVN revision: 48356
2010-04-27 08:06:42 +00:00
Carsten Haitzler 52e86cb31c use the new item stuff! :):) it works.... wow!
SVN revision: 48330
2010-04-26 14:59:01 +00:00
Boris Faure 1ca26086db elm: add lots of doc! Thanks to Mike (zmike/discomfitor)
SVN revision: 47944
2010-04-12 08:12:02 +00:00
Gustavo Sverzut Barbieri 68321b408a ops, forgot some signals.
SVN revision: 47489
2010-03-26 11:25:55 +00:00
Gustavo Sverzut Barbieri 9c951bc6fc Describe more widgets callbacks.
These are all that Editje support now :-) Add others later as
required, but patches are welcome!



SVN revision: 47488
2010-03-26 10:59:56 +00:00
Iván Briano c70784c37c Adding focus and unfocused smart callbacks for entry
SVN revision: 47481
2010-03-26 06:46:31 +00:00
Carsten Haitzler d8f22e5020 password mode - really dont allow selecting of passwords form password fields.
SVN revision: 47467
2010-03-26 04:45:11 +00:00
Gustavo Sverzut Barbieri f48ba4fb22 Some missing getters...
I'm working on edje_externals param_get/param_set and they will need
these functions.



SVN revision: 47450
2010-03-25 17:27:00 +00:00
Carsten Haitzler 59961838f1 return "" if conv is null anyway (as thats a "" src string)
SVN revision: 47441
2010-03-25 05:13:59 +00:00
Gustavo Sverzut Barbieri 06d14ed245 const and -Wextra, come on guys! :-/
SVN revision: 47409
2010-03-24 03:06:00 +00:00
Gustavo Sverzut Barbieri abe1f4275a Typedefs to help bindings, type less and make things easier to identify.
SVN revision: 47292
2010-03-16 15:31:38 +00:00
Gustavo Sverzut Barbieri e01d72fe26 Use eina_stringshare_replace to avoid crashes.
By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 47187
2010-03-13 21:01:26 +00:00
Carsten Haitzler 6c46e85395 remove newline stuff.
SVN revision: 47130
2010-03-11 08:08:15 +00:00
Carsten Haitzler c86c9ea795 and make entry api's acutally work - and be tested.
SVN revision: 47127
2010-03-11 06:35:07 +00:00
Vincent Torri b07e49d435 remove unused parameter in the library.
I won't do this everyday, and i won't touch the tests.


SVN revision: 47093
2010-03-09 17:51:30 +00:00
Carsten Haitzler d32e700fe3 more warning fixes!
SVN revision: 47076
2010-03-09 11:42:53 +00:00
Carsten Haitzler 91e01aa86e patch from discomfitor <- check type of widget on api call and return if not
the right type



SVN revision: 47073
2010-03-09 06:15:39 +00:00
Carsten Haitzler 9ade1a11cc llvm shhhhhh! (not a real fix)
SVN revision: 46757
2010-03-02 01:04:38 +00:00
Gustavo Sverzut Barbieri e77524000b being extra careful and verbose on elm_entry_entry_get().
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
2010-03-01 23:23:53 +00:00
Gustavo Sverzut Barbieri 296853c141 delete trailing whitespace.
this is more to test http://cia.vc and their project match with our
crazy project structure.



SVN revision: 46004
2010-02-09 03:27:11 +00:00
Carsten Haitzler 5bdddad833 and optimise getting stripped version
SVN revision: 45834
2010-02-03 15:27:57 +00:00
Carsten Haitzler 1b3cb72426 a little more cleanliness and cleaning up of vars not needed when changes
happen



SVN revision: 45833
2010-02-03 15:26:14 +00:00
Carsten Haitzler 956dc8bdbd extra checks for selection
SVN revision: 45625
2010-01-27 09:23:54 +00:00
Carsten Haitzler 568b955c1c move horizontal context menu option to data item - and fix some hoversel
style stuff that has been broken for ages and i just neever noticed!



SVN revision: 45282
2010-01-18 10:28:00 +00:00
Carsten Haitzler 658583e309 patch from <jihoon48.kim@samsung.com> - horizontal context menu option.
SVN revision: 45105
2010-01-14 03:47:28 +00:00
Carsten Haitzler 958aad8241 fix swallows to happen after u added hint change cb
SVN revision: 44245
2009-12-07 14:19:20 +00:00
Carsten Haitzler a053200ed2 oops - fix. longpress cb always shoudl work. just menu go away.
SVN revision: 44178
2009-12-03 22:26:37 +00:00
Carsten Haitzler 07eee5720e use all dem cursor api's... and module it up bro
SVN revision: 44088
2009-12-01 11:03:14 +00:00
Carsten Haitzler 1b7241944d fix some freeze issues with scroller.
SVN revision: 43887
2009-11-22 06:25:10 +00:00
Gustavo Sverzut Barbieri a60ce4e74f elm_entry: play nice with stringshare.
This avoids removing entries from cache to just add them later if it
was the last reference count.



SVN revision: 43674
2009-11-13 18:53:34 +00:00
Jonathan Atton 43ffe878b5 Elementary: add the patch from Dave Andreoli to remove the <br> at the end of the entry. This break a lot of applications but every new applications implement their own fix, it is time to fix it in elm.
SVN revision: 43593
2009-11-09 22:15:26 +00:00
Jonathan Atton 7be1d94aa2 Elm: use evas_object_event_callback_del_full() everywhere and improve elm_notify
SVN revision: 43217
2009-10-22 22:10:23 +00:00
Carsten Haitzler 86547a1fa2 use external fn - not internal.
SVN revision: 43035
2009-10-12 10:10:12 +00:00
Carsten Haitzler 5f2b460aba thanks to marco - disable cut/paste if not editable, add ability to toally
disable the menu



SVN revision: 43011
2009-10-11 05:48:24 +00:00
Christopher Michael b221c0fc4a More formatting.
SVN revision: 42720
2009-09-26 18:00:51 +00:00
Carsten Haitzler a530abdba3 1. entry now finger sized... needs to be for fingers (set finger size for
desktosp to 0)
2. more photocam work.



SVN revision: 42595
2009-09-21 12:50:34 +00:00
Iván Briano 847ab424c8 consider style when theming entry
SVN revision: 42423
2009-09-11 19:35:57 +00:00
Carsten Haitzler 4686255022 1. scroller uses event timestamps for momentum chrecks
2. fixed paged scrollin to work better
3. entry hoveresel is themable separately
4. entry hofersel is extenstible
5. test improvings



SVN revision: 42181
2009-09-02 12:48:00 +00:00
Daniel Kolesa ed1dcddafb Add disabled state for entry widget.
SVN revision: 42009
2009-08-26 12:51:27 +00:00
Vincent Torri e2be9d2b24 remove trailing spaces
SVN revision: 41261
2009-07-07 06:46:51 +00:00
Cedric BAIL 29adfe9fc8 * elementary: Full switch to Eina data type.
SVN revision: 41081
2009-06-17 15:35:19 +00:00
Carsten Haitzler 26b4f340b6 actually give widgets type name strings and set parent by default
SVN revision: 40618
2009-05-13 12:21:52 +00:00
Carsten Haitzler a604a593f6 fix cursor pos change when enter on last line of multi-line text or last char
of sigle line



SVN revision: 40507
2009-05-05 05:10:13 +00:00
Carsten Haitzler bef9cfb99c a whole bunch of entry+scroller fixes.
SVN revision: 40327
2009-04-23 12:58:34 +00:00
Carsten Haitzler 73f3de55f4 patch from victor to make styles generic - not all widgets support them
tho... but calls to set style are now. old calls are left in place, but
likely will be phased out.



SVN revision: 40317
2009-04-23 04:03:27 +00:00
Carsten Haitzler 26102c8cfe add cancel action for copy & paste.
SVN revision: 39642
2009-03-23 04:55:37 +00:00
Carsten Haitzler 16a328cba1 and make entry work nicely by freezing/holding scrolling (hold == different
scroll mode).



SVN revision: 39601
2009-03-20 15:08:33 +00:00
Carsten Haitzler e5298074e7 work on bettre touchscreen text selection support. not 100% done yet. been
playing with ideas. this one seems best.



SVN revision: 39579
2009-03-19 13:36:46 +00:00
Carsten Haitzler 6e0c99e69f fixes for some bugs i found, tree ability in genlist (basic not fully done
visually yet), and some win util calls added.



SVN revision: 39456
2009-03-13 05:50:38 +00:00
Carsten Haitzler 4954c694d7 no - need to add. the strings are not necessarily stringshare strings!
SVN revision: 39233
2009-02-26 06:09:15 +00:00
Carsten Haitzler 4e998eac34 1. setsid to children detech from parent
2. entry segv fix possibly
3. some formatting for list frees



SVN revision: 39225
2009-02-26 02:13:34 +00:00
Gustavo Sverzut Barbieri d1d91b99df Move eina list iterations to EINA_LIST_FOREACH variants.
By using these macros we can avoid errors and if we need to change
things, we do just in the macro definitions.



SVN revision: 39216
2009-02-25 19:50:45 +00:00
Gustavo Sverzut Barbieri 2e62b41b1b major warning + cast cleanup.
* casts: remove internal "Item" and use "Elm_XXXX_Item" for carousel,
   list, genlist and toolbar.

 * warning: fix const on lots of getter apis, the object should be
   const, and not the return! Of course lists that are returned and
   are not supposed to be modified are still returned as const, but
   maybe we should return iterators!

 * list/genlist: fix selected_set() to be a bit (marginally)
   faster. Do not operate if state has not changed and if it did
   changed we're sure we're not in the object->selected list.




SVN revision: 39208
2009-02-25 15:54:26 +00:00
Carsten Haitzler 986fcca059 allow for all widgets.objects to have different scaling factors.
add tests for these
add tests for inheriting scaling factor from parent
fix test app to use list now instead of box+buttons (cleaner)



SVN revision: 38909
2009-02-03 05:09:03 +00:00
Carsten Haitzler 478023f683 export markup<->plain utf8 conversion calls and use them too.
SVN revision: 38803
2009-01-27 00:44:29 +00:00
Carsten Haitzler c67ff552a6 printf--
SVN revision: 38369
2008-12-31 01:03:36 +00:00
Carsten Haitzler f05d05fc0e better kbd focus handling and inwin is there.
SVN revision: 38357
2008-12-30 16:19:46 +00:00
Carsten Haitzler 2decf1c941 and now it actually buidls and runs without x support.
SVN revision: 38078
2008-12-10 06:43:21 +00:00
Carsten Haitzler 2a41db988e be able to build without x - so it should work on the fb.. and it does... at
leats my mouse and keyboard do - and windows are fullscreen of course... and
really you have a technical limit of 1 window... but hey! that's the fb!



SVN revision: 38077
2008-12-10 06:33:24 +00:00
Carsten Haitzler 9b701fc3f8 patch from olof to fix paste :)
SVN revision: 38033
2008-12-08 23:46:46 +00:00
Carsten Haitzler 0fceb721f6 call clicked on delete of the hover so things can be shut down.
also a fixme - bad me. i used internal calls.



SVN revision: 37837
2008-11-27 23:36:21 +00:00
Carsten Haitzler 793b34f2f9 fix some dynamic object deletion for sub-objects. fix some theme stuff too
for popout hover.



SVN revision: 37818
2008-11-27 05:41:13 +00:00
Carsten Haitzler e461806172 x copy and paste... integrated
SVN revision: 37706
2008-11-19 06:23:08 +00:00
Carsten Haitzler 8e9f6b8fbc more todo items done/added
SVN revision: 37702
2008-11-18 10:11:57 +00:00
Carsten Haitzler 034f736160 used new edje calls and fix bugs.
SVN revision: 37701
2008-11-18 08:45:38 +00:00
Carsten Haitzler 1917ae7240 make use of the signal propagatin to child objects for cursors etc. and so
indicate focus with a cursor.



SVN revision: 37689
2008-11-17 05:58:21 +00:00
Carsten Haitzler 6099cd001a fix some bugs :)
SVN revision: 37671
2008-11-16 12:17:42 +00:00
Carsten Haitzler ee7131de29 and make elm auto-scale much better on the fly - not perfect... but not to
shabby. also in theory should cover theme changes on the fly... haven't tested.



SVN revision: 37662
2008-11-15 13:58:50 +00:00
Carsten Haitzler 6f493e0ee1 so much more - valgrind complaints fixed in many places, leaks
and anchorblock/view are working...



SVN revision: 37081
2008-10-25 02:11:06 +00:00
Cedric BAIL 2d9ac9118b Remove Evas list from elementary.
SVN revision: 36979
2008-10-22 14:11:59 +00:00
Carsten Haitzler fc392751dc use hold flags
SVN revision: 36965
2008-10-22 12:00:16 +00:00
Carsten Haitzler a3ad00322f and support password mode and proper focus on click
SVN revision: 36958
2008-10-22 08:58:56 +00:00
Carsten Haitzler 3a2be900c9 defer recalc for faster init and changes.
SVN revision: 36766
2008-10-18 03:55:44 +00:00
Carsten Haitzler 6efd817f14 and signal right.
SVN revision: 36756
2008-10-17 14:53:07 +00:00
Carsten Haitzler 11bc6d908d and some final touches on signals from entry widget
SVN revision: 36755
2008-10-17 14:51:17 +00:00
Carsten Haitzler ab493a0d00 and now entry is pretty much done (no hooks to x copy/paste selections etc.
but for now that's ok)



SVN revision: 36754
2008-10-17 14:40:54 +00:00
Carsten Haitzler 4c94e5067a and support/test the new edje entry stuff. pretyt solid i think.
SVN revision: 36742
2008-10-17 06:41:07 +00:00
Carsten Haitzler c0fd5ab12f use edje entry stuff more
SVN revision: 36710
2008-10-16 09:17:57 +00:00
Carsten Haitzler 1d74aa8f21 more entry testing and support.
SVN revision: 36666
2008-10-15 09:58:44 +00:00
Carsten Haitzler cd8a1192b0 warnings-- and beginning of entry widget.
SVN revision: 36653
2008-10-14 08:05:30 +00:00