Commit Graph

4676 Commits

Author SHA1 Message Date
Gustavo Lima Chaves 36116d2ff7 [elm] Initialize forgotten variable on naviframe.
SVN revision: 71759
2012-06-06 14:40:34 +00:00
Christopher Michael 8ae0fe2422 Elm: Patches from Rob Bradford <rob@linux.intel.com> to:
* Move X related window items into their own substruct of
_Elm_Win_Smart_Data to allow grouping based on engine.

* Move X related cursor items into their own substruct of Elm_Cursor
to make supporting cursors on other platforms cleaner.

* Add support for setting the cursor under Wayland:
* Introduce a configure option and #define to as per other engines
* Add always-built API function to allow identification of running
under Wayland (like for X11)
* Call into Ecore to set the cursor when the mouse enters the desired
widget.



SVN revision: 71754
2012-06-06 13:55:15 +00:00
Christopher Michael 8ec6c0d94e Elm: Patch from Rob Bradford <rob@linux.intel.com> for:
* Move X related window items into their own substruct of
_Elm_Win_Smart_Data to allow grouping based on engine.



SVN revision: 71736
2012-06-06 08:25:12 +00:00
Jihoon Kim b98b438dd6 elm_intro.h: fix @version from 0.8.0 to 1.0.0
SVN revision: 71726
2012-06-06 02:50:32 +00:00
Gustavo Lima Chaves ccaa32d72a [elm] Welcome pretty widget hierarchy images on docs.
The Makefile rule building that is commented out -- meant to be run
locally once in a while (when changes on overall widget tree happen)
and changed images commited.



SVN revision: 71721
2012-06-05 22:41:21 +00:00
Gustavo Lima Chaves ae6c0aa717 [elm] Separate win-inwin properly.
SVN revision: 71720
2012-06-05 22:39:59 +00:00
Gustavo Lima Chaves bd18613580 [elm] The name of the widget is conformant.
SVN revision: 71718
2012-06-05 22:27:09 +00:00
Jihoon Kim d947694d72 Elementary.h.in: it's time to remove 'OK' mark
SVN revision: 71693
2012-06-04 23:34:58 +00:00
Gustavo Lima Chaves 52b78dd239 [elm] And commit the damn new file.
SVN revision: 71688
2012-06-04 17:37:46 +00:00
Gustavo Lima Chaves ba73332345 [elm] Give a dedicated file for inwin widget.
Thus facilitating hierarchy tree generation.



SVN revision: 71687
2012-06-04 17:36:01 +00:00
Gustavo Lima Chaves a348f6a8f2 [elm] Revive file=NULL path on elm_photo_file_set().
Thanks, Tom, for pointing this out.



SVN revision: 71686
2012-06-04 16:23:31 +00:00
Cedric BAIL c512652e70 elementary: Don't try to restore table part that the job of Edje.
NOTE: wondering if all that code shouldn't just be removed.


SVN revision: 71675
2012-06-04 02:58:08 +00:00
Davide Andreoli 6fc4582b44 fix in doxy
SVN revision: 71668
2012-06-03 18:36:06 +00:00
Gustavo Lima Chaves 83d85fe5bd [elm] Naviframe now ported.
Man, this one was tough (though there are toughers). Please help me
test it in the real, wild, world.



SVN revision: 71635
2012-06-01 21:56:09 +00:00
Mike Blumenkrantz 2fd275daa4 sanitize bool param, prevent unnecessary ui recalc when mirror mode is not changed
SVN revision: 71617
2012-06-01 09:55:44 +00:00
Daniel Juyung Seo 92aad7f156 elm elm_widget.h elm_widget_layout.h: Fixed typo.
SVN revision: 71611
2012-05-31 23:02:54 +00:00
Daniel Juyung Seo 741ada7b0b elm headers: Fixed typo.
SVN revision: 71589
2012-05-31 17:55:07 +00:00
Gustavo Lima Chaves cb2aba8dd8 [elm] Simplify and comment 71573's work.
Let's use the smart data fetching macro whenever possible.



SVN revision: 71587
2012-05-31 16:23:19 +00:00
WooHyun Jung 5f0750f863 elementary : child_can_focus should be EINA_FALSE only when all
children in the object tree were not focusable.


SVN revision: 71573
2012-05-31 07:15:28 +00:00
Gustavo Lima Chaves 5f7bf01397 [elm] item del, not free, on index.
SVN revision: 71564
2012-05-30 17:42:26 +00:00
thiep ha 06f5dda19b From: thiep ha <thiep.ha@samsung.com>
Subject: Re: [E-devel] [Patch] [elm_entry] New APIs for user style

Thank you for your comments.
I would like to send you the modified patch.
Followings are my modification:
- Add my part to ChangeLog, AUTHORS files as Raster's comment.
- Add const to the parameter of elm_entry_text_style_user_peek and
example for pop and peek to test_entry_style_user as Daniel's comment.



SVN revision: 71557
2012-05-30 12:18:48 +00:00
Mike Blumenkrantz 9d8f93b568 also fix selected item scrolling when item prepended to the genlist is offscreen
SVN revision: 71554
2012-05-30 10:44:59 +00:00
Carsten Haitzler db43622992 This is a small change, so I won't changelog it (or backport), but
make _shutdown() funcs across efl complain and be unhappy if you
shutdown to < 0 shutdowns and not pull init count below 0.



SVN revision: 71548
2012-05-30 10:08:41 +00:00
Mike Blumenkrantz 858244d77c fix genlist item signals on prepend
SVN revision: 71547
2012-05-30 09:14:45 +00:00
Hyoyoung Chang 1919ee907a elementary/genlist: clean up codes
SVN revision: 71541
2012-05-30 08:09:09 +00:00
Daniel Juyung Seo 0b28098b21 elm genlist: Fixed formatting. Added more braces.
SVN revision: 71539
2012-05-30 07:27:05 +00:00
Daniel Juyung Seo f12d4cc336 elm genlist: Cut off long lines.
SVN revision: 71533
2012-05-30 06:40:46 +00:00
Daniel Juyung Seo 7ee2903275 elm win: Place ifdef to a proper place. Initialize variable.
SVN revision: 71529
2012-05-30 04:57:31 +00:00
Daniel Juyung Seo 2f1dfc108e elm genlist: Use EINA_SAFETY_ON_TRUE_RETURN for nicely warn user.
SVN revision: 71528
2012-05-30 04:57:29 +00:00
Gustavo Lima Chaves ae78dd96c9 [elm] Better logic for elm bubble's text set call.
SVN revision: 71516
2012-05-29 21:02:01 +00:00
Gustavo Lima Chaves 134606eb2b [elm] Better logic for elm_box_unpack.
SVN revision: 71515
2012-05-29 21:01:55 +00:00
Jonas M. Gastal adee14cfa6 Removing meaningless '*' from documentation output.
SVN revision: 71514
2012-05-29 20:20:33 +00:00
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