Commit Graph

5923 Commits

Author SHA1 Message Date
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
Carsten Haitzler 9fdd95a46b umm.. pass tistcheck!
SVN revision: 71355
2012-05-23 10:56:17 +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
Carsten Haitzler ee3484c2d4 clean pc files to not have cflags in Cflags: of required libs - seems
to work these days with pkg-config.



SVN revision: 71353
2012-05-23 10:21:53 +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 b0c6214dc0 add changelog for access cmds.
SVN revision: 71325
2012-05-22 12:14:26 +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 74ac85df40 Add the horizontal separator image.
SVN revision: 71298
2012-05-22 05:33:41 +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