Commit Graph

5416 Commits

Author SHA1 Message Date
Gustavo Lima Chaves f61af030b6 [elm] Fixing typo, sorry.
SVN revision: 71511
2012-05-29 19:38:24 +00:00
Mike Blumenkrantz 5c725cf60c genlist tree items now animate their collapse properly when there are fewer items than the maximum size of the viewport allows
SVN revision: 71508
2012-05-29 15:00:17 +00:00
Mike Blumenkrantz b9f0a6d736 genlist prepends no longer cause selected items to be autoscrolled out of the viewport
SVN revision: 71500
2012-05-29 10:25:55 +00:00
Mike Blumenkrantz 47dc963983 fix case where user can specify item block size < 1; this also reveals an api error since the param here should obviously be a uint.
SVN revision: 71498
2012-05-29 09:04:42 +00:00
Mike Blumenkrantz e89088bde6 simplify item block deletion merging
SVN revision: 71496
2012-05-29 09:04:16 +00:00
Cedric BAIL de165727bb elementary: improve doc.
Patch by Jérôme Pinot <ngc891@gmail.com>.

- #link on the beginning of a new line does give ugly output:
http://ngc891.blogdns.net/pub/projects/debug/doxygen-formating-eww.png
- some typos
- some missing @c
- in elm_web, convert remaining @li parameter lists to @param
- minor random fixes


SVN revision: 71486
2012-05-29 03:09:06 +00:00
Daniel Juyung Seo ca4d614887 elm elm_bg.c: Fixed formatting.
SVN revision: 71482
2012-05-29 01:28:15 +00:00
Carsten Haitzler f01fc7471a be generous about focus setting in elm.
SVN revision: 71481
2012-05-29 00:31:38 +00:00
Gustavo Lima Chaves bbf0a4345e [elm] And now remove deprecated calls usage (WRT
icon/image thing).



SVN revision: 71473
2012-05-28 21:50:11 +00:00
Gustavo Lima Chaves 5d45a1662c [elm] Deprecate elm icon calls just wrapping elm
image equivalents.



SVN revision: 71472
2012-05-28 21:50:03 +00:00
Gustavo Lima Chaves f72b6c8ad6 [elm] Warn about deprecation of some icon calls
The ones just wrapping their image counterparts should die eventually.
The signal callbacks on icons will die, too, eventually.



SVN revision: 71468
2012-05-28 20:35:35 +00:00
Gustavo Lima Chaves 1ee046765a [elm] Image animation should be in the base
(image), not just icon.



SVN revision: 71467
2012-05-28 20:35:29 +00:00
Mike Blumenkrantz 7ecc19fbae elm list had a typo which seemed harmless but probably broke some things. I corrected it. don't have a full checkout here, so no backporting unless someone else does it or I remember to do it later
SVN revision: 71465
2012-05-28 17:51:02 +00:00
Gustavo Lima Chaves 195149bd32 [elm] Gesture layer now ported too.
SVN revision: 71464
2012-05-28 16:56:56 +00:00
Stefan Schmidt 1eb70c0498 elementary: But var also into ifdefs for people without ethumb in elm
SVN revision: 71458
2012-05-28 13:08:48 +00:00
Christopher Michael 29a1391542 Elm: Patch from Robert Bradford <robert.bradford@intel.com> for native
window representation.

The attached change to Elementary makes a small refactor to use
existing code that was already conditional on the Elm engine to
retrieve the underlying window - thus allowing elm_win_xwindow_get to
return 0 in the case when called on a Wayland based Elm window.

Patches have been tested against X11 and Wayland built together by
running elementary_test.



SVN revision: 71455
2012-05-28 12:28:46 +00:00
Jihoon Kim a6461b31ba elementary: sync with AUTHORS and elm_authors.h
SVN revision: 71432
2012-05-25 23:57:42 +00:00
Gustavo Lima Chaves 8645ac25ac [elm] elm plug now ported
SVN revision: 71430
2012-05-25 21:12:44 +00:00
Gustavo Lima Chaves 4f8b51b1aa [elm] And here comes image, icon and photo on the
new schema.
els_icon smart object was brought to be the base of the image widget,
in the form of an image class.

An elm icon is now a elm image, with a little more on top of it.

An elm photo is a now base widget aggregating an icon.

Toolbar's internal usage of the former els_icon is now changed to
icons, instead.

Some naviframe instantiations were set to enable events during
transitions, because this code is buggy and my chages exposed the
problem. It will be fixed as soon as I get to port Naviframe.



SVN revision: 71429
2012-05-25 19:53:59 +00:00
Gustavo Lima Chaves 87b422c93a [elm] Small fixes on class headers.
SVN revision: 71428
2012-05-25 19:53:51 +00:00
Hyoyoung Chang 26c943b3de elementary/hoversel: remove useless void ptr cast
SVN revision: 71412
2012-05-24 14:08:18 +00:00
Carsten Haitzler 43a9104e85 add since for new signal.
SVN revision: 71408
2012-05-24 10:08:59 +00:00
Bluezery bfff7d7836 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch][elm_map] Add New "loaded" signal

I want to add new "loaded" signal to elementary map. This signal
notify users when all map tiles are loaded. Timer is used for this signal.
Currently "tile,loaded" can be used for each separated tile.  So the
users are hard to know whether all tiles are loaded or not.
Please review this patch.



SVN revision: 71406
2012-05-24 10:07:56 +00:00
Daniel Juyung Seo 725f0c62dd e, evas, elementary: Synced @author with AUTHORS.
SVN revision: 71399
2012-05-24 07:17:05 +00:00
Carsten Haitzler c550106a5e tip from Bluezery in case of silliness in settingflush poll time <= 0.
SVN revision: 71388
2012-05-24 05:43:48 +00:00
Hyoyoung Chang 1a13829c1d elementary/genlist: fix indent
SVN revision: 71385
2012-05-24 04:59:52 +00:00
Carsten Haitzler 8839f523c2 remove goto and use if () instead
SVN revision: 71383
2012-05-24 04:44:44 +00:00
Michal Pakula vel Rutka 39d0d27e53 From: Michal Pakula vel Rutka <m.pakula@samsung.com>
Subject: [E-devel] [patch] allow copy and paste operations for
non-widget evas objects

I am currently implementing a clipboard for WebKit-EFL. When using
elm_cnp_selection_get and set function an evas object passed has to be
a widget. Currently in WebKit-EFL we are using an view which is an
Evas_Object, but not a widget. Sample WebKit applications like
EWebLauncher and tests applications does not use elementary so I
cannot obtain parent widget for a view object and finally we cannot
perform copy and paste operations.
Widgets are used in elm_cnp_selection functions to obtain
Ecore_X_Window. My patch leaves current way of obtaining it and adds
an another in case when the standard one fails. When Evas_Object is
not a widget I am trying to get an Ecore_X_Window using ecore.



SVN revision: 71381
2012-05-24 04:34:53 +00:00
Hyoyoung Chang 59718a93c7 elementary/hoversel: fix indent
SVN revision: 71377
2012-05-24 02:38:59 +00:00
Hyoyoung Chang 7d9c0dc403 elementary/hoversel: set hover's parent when hover's smart data deleted
SVN revision: 71376
2012-05-24 02:26:55 +00:00
Leif Middelschulte 40e93fac34 Fix possible segv in smart_del callback.
Patch by glima

SVN revision: 71373
2012-05-23 21:56:44 +00:00
Bluezery 3bada185c3 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch][elm_map] Add elm_map_overlays_get &
elm_map_overlay_visible_get

I want to add 2 new APIs (elm_map_overlays_get & elm_map_overlay_visible_get).

There are no way to get the group overlays because group overlay,
something like virtual overlay, is created and deleted dynamically.
So elm_map_overlays_get returns total overlay's list and user can get
any type of overlays including group overlays.
Overlays which is grouped can not be visible. Because overlay grouping
is performed by elm_map, user do not know whether overlays are visible
or not. So elm_map_overlay_visible_get is added for this reason.



SVN revision: 71354
2012-05-23 10:29:03 +00:00
Hyoyoung Chang 6b28932fbf elementary/genlist: add short cut in item bring in calc.
fix compress_mode documentation.


SVN revision: 71349
2012-05-23 07:31:03 +00:00
Hyoyoung Chang f4481a9fad elementary/cnp: add selection type checking at _get_selection_type and clean up indent
SVN revision: 71339
2012-05-23 02:15:56 +00:00
Hyoyoung Chang fc61e67329 elementary/cnp: typo error fix
SVN revision: 71338
2012-05-23 01:05:22 +00:00
Hyoyoung Chang e248599286 elementary/cnp: don't calc sizeof char at buffer malloc
SVN revision: 71337
2012-05-23 00:53:07 +00:00
Hyoyoung Chang 7c6499a975 elementary/cnp: free string after use at notify_handler_html
SVN revision: 71336
2012-05-23 00:51:11 +00:00
Carsten Haitzler b29d458517 barebones initial support for access commands. XXX's
SVN revision: 71324
2012-05-22 12:13:49 +00:00
Jaehwan Kim 034c6928ed The parent of elm_menu_add shouldn't be a edje object.
SVN revision: 71314
2012-05-22 10:33:14 +00:00
Daniel Juyung Seo 1fada495ca elm elm_notify.c: Fixed parent_del routine. Remove callbacks when the
parent is deleted.
On Tue, May 22, 2012 at 4:46 PM, Sohyun Kim <anna1014.kim@samsung.com>
wrote:
>
> Hi all.
> When I use elm_notify, I got a crash in the deleting routine. (you
can test it in elementary_test > Video)
>
> When parent window of elm_notify is deleted, elm_notify set its
parent to NULL.
> However, it doesn't delete event callbacks of the parent window.
>
> In the smart_del callback of elm_notify, it tries to delete event
callbacks of parent window.
> However, its parent is already set to NULL, the deleting is skipped.
> Then the widget data gets freed.
> In this case, when other objects in the window are deleted, they can
create the parent window's event (e.g. CHANGED_SIZE_HINTS,,)
>
> Please find a patch to delete event callbacks when parent window is
deleted.
>
> Regards, Sohyun

SVN revision: 71307
2012-05-22 08:33:06 +00:00
Daniel Juyung Seo 1f70eb1107 Revert "elementary/ctxpopup - but there would be no parent NULL case."
There is a case that parent can be NULL when you call
elm_ctxpopup_add().

This reverts commit 8bc665a6ebc9daf0d5faa46223635f46f3d0f682.

SVN revision: 71305
2012-05-22 08:08:16 +00:00
ChunEon Park 6c1ee5405a elementary/ctxpopup - but there would be no parent NULL case.
SVN revision: 71303
2012-05-22 07:09:13 +00:00
Daniel Juyung Seo 1ab5985722 elm elm_widget.c: Fixed formatting.
SVN revision: 71302
2012-05-22 07:05:07 +00:00
Daniel Juyung Seo 22dee8af47 elm ctx_popup: Fixed ctx_popup parent_cut logic. Patch by Bluezery
<ohpowel@gmail.com>
On Mon, May 21, 2012 at 5:32 PM, Bluezery <ohpowel@gmail.com> wrote:
> Hello,
>
> When ctx_popup is deleted, it calls "elm_widget_sub_object_del(parent,
> popup)" so that ctx_popup's parent can delete it's sub_ojbect,
> "ctx_popup".
> But this is not needed because parent already deletes it's sub-object
> in elm_widget.c
>
> Thanks
>
> --
> BRs,
> Kim.

SVN revision: 71301
2012-05-22 06:58:47 +00:00
Daniel Juyung Seo 70f5519ff8 elm elc_ctxpopup: Refactoring.
SVN revision: 71300
2012-05-22 05:44:00 +00:00
Jaehwan Kim de1be9600b Toolbar: Add the more panel feature in toolbar. When it is the ELM_TOOLBAR_SHRINK_EXPAND mode and the max item is set, the items over max number are located in more panel.
The APIs are added for this feature.(elm_toolbar_more_item_get, elm_toolbar_items_max_set/get)


SVN revision: 71297
2012-05-22 05:18:12 +00:00
ChunEon Park 0d959fadbe elementary/config - fixed typo.
SVN revision: 71296
2012-05-22 04:55:49 +00:00
ChunEon Park b17f76696b elementary/config - fixed incorrect doc types.
Thank Bluezery for reporting.



SVN revision: 71295
2012-05-22 04:54:28 +00:00
ChunEon Park 33248e86ef elementary/config - updated doc
SVN revision: 71294
2012-05-22 04:48:21 +00:00
Hyoyoung Chang 101093c028 elementary/cnp: add failed malloc checking routines
SVN revision: 71293
2012-05-22 04:42:45 +00:00
ChunEon Park 255900a10f elementary/cnp - + null check
SVN revision: 71292
2012-05-22 04:30:24 +00:00
Michal Pakula vel Rutka 46b0eb6003 elementary/cnp: add null terminating at handling html type
Signed-off-by: Michal Pakula vel Rutka <m.pakula@samsung.com>


SVN revision: 71291
2012-05-22 01:35:12 +00:00
Hyoyoung Chang e657fd0c5e elementary/entry: move evas_event_{freeze,thaw} position in _elm_entry_text_set
SVN revision: 71280
2012-05-21 11:28:41 +00:00
Kim Shinwoo 1ceff28ee9 elemenatry/diskselector - RE:[E-devel][Patch][elementary] elm_diskselector, align of icon only item
Dear all, hello.

If an item of diskselector has only icon without label, then the icon
displays at left side of its space.
So if there is no label, the icon should display at the middle of its 
space.
Please review the patch. Thanks.

Sincerely,
Shinwoo Kim.

Signed-Off-By: Kim Shinwoo <kimcinoo.efl@gmail.com>




SVN revision: 71279
2012-05-21 10:30:47 +00:00
WooHyun Jung f55ce04d1f elementary/elm_menu : Fix a crash. _menu_resize_cb should be removed
before hover and its target are deleted.  


SVN revision: 71276
2012-05-21 09:12:47 +00:00
Tom Hacohen f9c2c5fd69 Elm glayer: Change double_tap_timeout to 0.25.
Listen to Hermet's wise counsel.

SVN revision: 71269
2012-05-21 07:51:41 +00:00
Carsten Haitzler 6649c23e78 fix infinite loop+stack push until segv... thanks to new object infra.
:)



SVN revision: 71266
2012-05-21 06:53:35 +00:00
Bluezery 56589d360f elementary/datetime: fix elm_datetime_value_get() documentation
Signed-off-by: Bluezery <ohpowel@gmail.com>


SVN revision: 71265
2012-05-21 06:40:24 +00:00
Carsten Haitzler ca1b40bf69 due to use obj structure if sd->api is null.. we have crashes - eg if
webkit not supported. fix this. (no no changelog as ita part of the
whole new structure changes)



SVN revision: 71263
2012-05-21 04:17:11 +00:00
Tom Hacohen ce02820a26 Elm glayer: Made tap timeout a config.
SVN revision: 71258
2012-05-20 14:56:35 +00:00
Tom Hacohen 0bbb0a43ef Elm glayer: cosmetic changes.
SVN revision: 71257
2012-05-20 14:56:32 +00:00
Tom Hacohen 5c5bc24aae Elm glayer: Removed all the "DEBUG_GLAYER" printfs.
If someone wants to debug anything, he'll do specific debugs anyway, no
need to clutter the code.

SVN revision: 71256
2012-05-20 14:56:29 +00:00
Tom Hacohen b6efa42204 Elm glayer: simplified "continues gesture" mode.
SVN revision: 71255
2012-05-20 14:56:26 +00:00
Jaehwan Kim 25ee318e6d Revert the revision 71185.
SVN revision: 71225
2012-05-18 07:16:28 +00:00
Kim Shinwoo 7c494c0757 elementary/gesture_layer: remove redundancy null checking at _tap_gesture_check_finish
Signed-off-by: Kim Shinwoo <kimcinoo.efl@gmail.com>


SVN revision: 71219
2012-05-18 01:45:40 +00:00
Tom Hacohen 7d0609a62c Elm glayer: Have a nice and clean array to call the test/reset funcs.
SVN revision: 71215
2012-05-17 15:31:34 +00:00
Tom Hacohen cd2324fb93 Elm glayer: Unify internal test function type.
Will let us do cool cleanups in the future.

SVN revision: 71214
2012-05-17 15:31:31 +00:00
Tom Hacohen f5ac377431 Elm glayer: Clean up N_LONG_TAPS a bit.
SVN revision: 71213
2012-05-17 15:31:29 +00:00
Tom Hacohen 1e2d9f200d Elm glayer: Clean up handling of the taps timeout and rename it.
SVN revision: 71212
2012-05-17 15:31:23 +00:00
Gustavo Lima Chaves 5d5b84fd8f oops, sorry
SVN revision: 71211
2012-05-17 14:40:28 +00:00
Gustavo Lima Chaves 341b78b4d1 [elm] Let's not delete a window on button callback,
immediately.



SVN revision: 71210
2012-05-17 14:36:00 +00:00
Tom Hacohen a2651f5f6a Elm glayer: Fixed timing with the single/double/triple taps.
Instead of a global 400msec value, we now have 200msec between mouse downs.
E.g if the first timestamp is 0, we get:
valid: down(0) up(50) down(150) up(300)
invalid: down(0) up(100) down(201) up(250)

SVN revision: 71200
2012-05-17 13:37:10 +00:00
Kim Shinwoo 631e95b6c9 elementary/gesture_layer: add to null check at _tap_gesture_check_finish
Signed-off-by: Kim Shinwoo <kimcinoo.efl@gmail.com>


SVN revision: 71187
2012-05-17 04:39:40 +00:00
Jaehwan Kim 069260423e The separator is not a real item. So it shouldn't be counted.
SVN revision: 71185
2012-05-17 01:37:50 +00:00
Jihoon Kim 797bd6ecee elm_thumb: fix build warning in case of no ethumb
SVN revision: 71184
2012-05-16 23:44:46 +00:00
Gustavo Lima Chaves 0fd0320ccb [elm] Elm route ported to new schema.
I mean -- was this thing released?!



SVN revision: 71179
2012-05-16 19:50:04 +00:00
Davide Andreoli 5872d450d7 Fileselector: Add a wheel spinner that show/spin while EIO is working
SVN revision: 71178
2012-05-16 19:40:47 +00:00
Gustavo Lima Chaves 728f4210c2 [elm] warnings, be gone
SVN revision: 71177
2012-05-16 19:28:07 +00:00
Gustavo Lima Chaves e607a807f6 [elm] Making thumb a base widget.
I've received feedback on being bad to expose the thumb's frame.
So, making it a base widget here. Let me know what you guys think.



SVN revision: 71176
2012-05-16 19:04:10 +00:00
Gustavo Lima Chaves c99895e6e4 [elm] So let's be able to try that map thing...
SVN revision: 71175
2012-05-16 18:13:59 +00:00
Gustavo Lima Chaves 83f37467b6 [elm] Thumb now a layout.
SVN revision: 71173
2012-05-16 17:20:42 +00:00
Tom Hacohen efe3d3f5be Elm fileselector_button: Fixed a bug when choosing a file.
SVN revision: 71165
2012-05-16 12:12:34 +00:00
Jihoon Kim 430ca528b9 elm_layout: describe the signal that layout widget emits
SVN revision: 71154
2012-05-16 11:04:11 +00:00
Tom Hacohen f51e04c0f5 Elm glayer: Workaround a bug causing a delay with N_TAPS events.
SVN revision: 71147
2012-05-16 08:44:17 +00:00
Jihoon Kim c69b7f2b60 elm_win.c: fix typo
SVN revision: 71143
2012-05-16 07:28:29 +00:00
WooHyun Jung 1ab790f276 elementary/elm_notify : Add focus_direction for elm_notify.
SVN revision: 71141
2012-05-16 05:46:31 +00:00
Carsten Haitzler 5948ae4fba Fix genlist ELM_LIST_LIMIT mode to do what it originally did.
Documentation was wrong too and code had a slight bug stopping
genlist from contracting to min size.
Optimize the case of COMPRESS + homogeneous mode to avoid
queue entirely and use existing known item sizes.
        


SVN revision: 71140
2012-05-16 05:28:40 +00:00
Davide Andreoli 0c7ab74390 Simplify file listing when using EIO
SVN revision: 71129
2012-05-15 20:02:59 +00:00
Gustavo Lima Chaves bee044e599 [Elm] Menu now a new elm widget.
SVN revision: 71128
2012-05-15 19:36:19 +00:00
Gustavo Lima Chaves 7a6e223fbf [Elm] Flip now a container.
SVN revision: 71126
2012-05-15 17:37:42 +00:00
Christopher Michael 22eda0e4f0 Elm (wayland): Fix elm not drawing frames in Wayland. Fix setting a
window to alpha also.



SVN revision: 71124
2012-05-15 14:48:30 +00:00
WooHyun Jung 6ca169273b elementary/elm_grid : Add focus_direction.
SVN revision: 71103
2012-05-15 10:39:07 +00:00
Jaehwan Kim cd3281329b The elm_toolbar_iteams_count have to return only the number of manually added items.
SVN revision: 71096
2012-05-15 07:00:47 +00:00
Jaehwan Kim c5fcdbb59c When the separators exist in toolbar and the toolbar shrinks by resizing window,
sometimes the only separators are shown even though the items are hidden.
So the separator's visibility is desided by it's previous item.


SVN revision: 71093
2012-05-15 06:30:17 +00:00
ChunEon Park 9d048f4f72 elementary/datetime - removed unnecessary call
SVN revision: 71090
2012-05-15 04:55:12 +00:00
WooHyun Jung 18a24203bd elementary/datetime : Fix a bug. elm_layout_content_set can delete
existing object which will be swallowed again in another part.


SVN revision: 71089
2012-05-15 04:44:14 +00:00
Gustavo Lima Chaves d9788a6249 [Elm] Spinner now a layout.
SVN revision: 71087
2012-05-14 21:52:06 +00:00
Gustavo Lima Chaves 714205a7e6 [Elm] Make box to resize itself again, so that ctxpopup
behaves.
Containers like boxes should not be resizing themselves, but flagging
desireable sizes via size hints to parent widgets.

Let it be that way for now, though. Ctxpopup is giving me A LOT OF
HEADACHE to port to the new schema without having to rewrite it :(.
It has the craziest code flow on sizing things, and of course that
code is uber fragile to borks.



SVN revision: 71085
2012-05-14 21:43:20 +00:00
Tom Hacohen 96a8fd040c Elm hoversel: remove stupid printfs.
I'm glad to see someone is excited about hovers being created and deleted.
I'm not.

SVN revision: 71002
2012-05-14 14:20:18 +00:00
WooHyun Jung 8e7e66416f elementary/slider : Just change number to Eina_Bool.
SVN revision: 70991
2012-05-14 08:21:48 +00:00