Commit Graph

4880 Commits

Author SHA1 Message Date
Tom Hacohen 317f074fc1 Elm smart/pan: Check obj != NULL before fetching smart data.
Patch by Daniel Zaoui.

SVN revision: 73464
2012-07-08 10:31:34 +00:00
Carsten Haitzler 9e254d1313 slider popup outside widget mode. backwards-compatible too. :)
i know - freeze is on. last thing going into elm. only because i
rejected the patch at the last minute and it was small enough to do
now.



SVN revision: 73450
2012-07-07 09:44:52 +00:00
ChunEon Park ded80f5fdd elementary/general - also here a comment for the future.
SVN revision: 73446
2012-07-07 06:34:16 +00:00
ChunEon Park 057025d659 elementary/general - just added a comment
SVN revision: 73444
2012-07-07 06:27:18 +00:00
Carsten Haitzler 92f359ca78 formatting consistency++
SVN revision: 73439
2012-07-07 03:50:59 +00:00
Gustavo Lima Chaves 3bc7c87649 [elm] Porting 73388 back to new scrolling infra.
SVN revision: 73423
2012-07-06 17:04:48 +00:00
Kim Shinwoo 14c52fe469 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] diskselector, duplicate icon
for rounded item

minor fix to diskselector to repeat icons right.

The diskselector has round mode which can be set by
elm_diskselector_round_enabled_set().
In case of round mode is enabled, the icon does not display properly
because diskselector replace the icon for the additional items - not copy
and paste. To enable round mode, diskselector adds over/under itmes(additional
itmes) by using normal mode items. So there is a icon to set two places in
diskselector. But diskselector does not duplicate the icon.. this makes item
without icon but there should be.. I'm not sure the best way to duplicate icon.



SVN revision: 73397
2012-07-06 07:08:16 +00:00
Kim Shinwoo 86f0153542 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: Re: [E-devel] [Patch][layout] select layout in access mode

I revised the patch which has the way to get the state of
accessibility now. elm_layout_edje_object_can_access_set/get().



SVN revision: 73393
2012-07-06 04:03:21 +00:00
Jiyoun Park e99f497332 [els scroller] add debug code to measure smoothness of scroller
it count standard deviation of scroll velocity
and modify smooth algorithm


SVN revision: 73388
2012-07-06 01:59:57 +00:00
Gustavo Lima Chaves 9e4f104587 [elm] Fix bad theming on new layout widgets.
SVN revision: 73381
2012-07-05 21:07:15 +00:00
Gustavo Lima Chaves 47c401724c [elm] Fix code duplication on list porting.
SVN revision: 73379
2012-07-05 19:49:54 +00:00
Gustavo Lima Chaves c96106df2c [elm] Fix missing initializer on base smart class.
Please explain this new access virtual.


Patch by: Gustavo Lima Chaves <glima@profusion.mobi>



SVN revision: 73359
2012-07-05 14:37:18 +00:00
Tom Hacohen ff4b55937a Elm entry: Fixed issues with deferred entry inserts and immediate text get.
Thanks to yoz for reporting this.

SVN revision: 73346
2012-07-05 13:32:19 +00:00
Carsten Haitzler 95bb03f0be add dpi get func in elm.
SVN revision: 73342
2012-07-05 12:59:06 +00:00
Carsten Haitzler 0e2924f6a7 someone change... bdilly 72499. bad! iterators are not safe for
deletions of hashes if u iterate over what u are deleting!



SVN revision: 73335
2012-07-05 09:36:07 +00:00
Carsten Haitzler c417a9c99f fix several elm+fb related issues and add a feature.
SVN revision: 73334
2012-07-05 09:23:38 +00:00
Gustavo Lima Chaves fffbdfce6a [elm] Elm photocam on scrollable iface, now.
SVN revision: 73311
2012-07-04 21:43:29 +00:00
Gustavo Lima Chaves d4f88af273 [elm] Elm list is now a SCROLLABLE layout.
This means it inherits from the layout class and implements the
scrollable interface.



SVN revision: 73310
2012-07-04 21:43:05 +00:00
Gustavo Lima Chaves 41892a360f [elm] Scroller widget now on scrollable interface.
Its API will be the the common one on ALL scrollable widgets, too.
Any scrollable widget having a function behaviour clashing with one of
the elm_scroller_* will be marked as DEPRECATED from now on.



SVN revision: 73309
2012-07-04 21:42:35 +00:00
Gustavo Lima Chaves 45e8d67a78 [elm] New scrollable interface in.
This is meant to be used for all widgets implementing scrolling views.
An Elementary interface adds a given behaviour to whichever widget,
from any class.



SVN revision: 73307
2012-07-04 21:41:01 +00:00
Gustavo Lima Chaves 9d25d801e6 [elm] These intricate scrolling hooks will be the
last to be evaluated.

Porting of the basic scrolling infra to an interface will happenfirst, as well as the scrolling widgets porting.

Patch by: Gustavo Lima Chaves <glima@profusion.mobi>



SVN revision: 73306
2012-07-04 21:36:50 +00:00
Kim Shinwoo a060189012 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [Patch][elm_widget] access hook

Real time setting would be necessary in case of running applications
which
have elm_layout or elm_widget_item.
If the access mode does not care of this, running applications should
restart. The attached for this. Please review the patch and give any
feedbacks. Thanks.



SVN revision: 73229
2012-07-03 12:09:34 +00:00
Minseok Kim 06be3e5ab6 From: Minseok Kim <minseok3.kim@samsung.com>
Subject: [E-devel] [E-deve] [Patch] Add new apis for editable set/get
in multibuttonentry

Typically multibuttonentry is used as a composer.
But sometimes, Multibuttonentry can be used as a viewer.
Currently there is no way to use multibuttonentry as non-editable
viewer.
So I added new APIs which are elm_multibuttonentry_editable_set/get().
If editable is true, entry in multibuttonentry is activated and user can
compose item by pressing the return key.
If not, entry is hidden and muttibuttonentry works as a non-editable
viewer.



SVN revision: 73223
2012-07-03 11:22:46 +00:00
Tom Hacohen 55e3f1df07 Elm glayer: Fixed longtap.
Thanks to raster for spotting this.

SVN revision: 73187
2012-07-03 05:24:03 +00:00
Cedric BAIL 4f3f2480bb elementary: initialize emotion when necessary.
SVN revision: 73180
2012-07-03 02:13:42 +00:00
Michael BOUCHAUD 0f101bb5e3 elementary: add since keyword to the signal documentation
SVN revision: 73140
2012-07-02 09:20:27 +00:00
Gustavo Sverzut Barbieri e79f9fb665 fix elm_segment_control to not abuse user's data for items.
SVN revision: 73118
2012-07-02 01:39:10 +00:00
Gustavo Sverzut Barbieri c4caf9d82f safety for elm_object_item_widget_get().
SVN revision: 73117
2012-07-02 01:38:21 +00:00
Artem Popov 1de4f59187 From: Artem Popov <artem.popov@samsung.com>
Subject: [E-devel]  [Patch] Patch for normal scaling in elm_panel.c
widget

Problem:

   Ticket #656 (new Bug) . The whole test window size will just grow
larger and
   larger on each _theme_hook called.

   Easy to reproduce: 1. Open elementary_test's panel test 2. Do
something that
   issues a theme_hook (change scale etc)



SVN revision: 73076
2012-06-30 06:40:06 +00:00
Kim Shinwoo 4709f16668 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [Patch][elementary] elm_access, use widget_item in
focus chain

It has been possible to use widget_item in access mode. The mouse-in
event
makes the widget_item speak.
But focus chain is not useful in access mode, because the widget_item
cannot get the focus as the edje object.
The accessibility highlight will move by keeping the attached patch
and you
can hear the sound of widget item information.
Please review the patch and give some feedbacks. There would be further
works such as dynamic setting focus next hook,
the previous _elm_access_list_register();, but please keep this first if
there is no big trouble. I'll do those also. Thanks.



SVN revision: 73074
2012-06-30 06:21:14 +00:00
Kim Shinwoo 577a646924 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: Re: [E-devel] [Patch][elementary] elm_cofig, setting
accessibility mode



SVN revision: 73073
2012-06-30 06:01:25 +00:00
Carsten Haitzler c21998e3b3 oops forgot part of previous toolbar style patch. in!
SVN revision: 73035
2012-06-29 12:28:08 +00:00
Artem Popov 281c8480ee From: Artem Popov <artem.popov@samsung.com>
Subject: [E-devel] Fwd:  [Patch] elm_toolbar add signals patch.

For new style of toolbar (align icon and text to center of item) are
necessary some signals ("elm,state,text,visible",
"elm,state,text,hidden", "elm,state,icon,visible",
"elm,state,icon,hidden")

 New style for toolbar, where icon and text are align to center of item.



SVN revision: 73028
2012-06-29 10:03:27 +00:00
Gustavo Lima Chaves cd1f900a46 [elm] Forgotten elm icon function to deprecate in favor of an image one.
SVN revision: 73017
2012-06-28 18:40:35 +00:00
Daniel Juyung Seo 36d4de353a elm genlist: Fixed homogeneous mode bug with ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY item. Now it calculates display only item size correctly.
SVN revision: 72910
2012-06-27 03:23:52 +00:00
Tom Hacohen 2500a5248a Elm glayer: Filter out the duplicate multi* events.
One should either listen to mouse events and filter the corrosponding multi
events, or listen only to multi events. We chose the former, so we should
handle it correctly.

SVN revision: 72905
2012-06-27 00:27:18 +00:00
Gustavo Lima Chaves ece6378d0c [elm] Unb0rk flip selector.
Patch by me and Ingvaldur Sigurjonsson (thanks for working on the
issue exactly when I tackled it :)).



SVN revision: 72885
2012-06-26 14:28:59 +00:00
Cedric BAIL d78b70af51 elementary: use Edje to enable accessibility on TEXTBLOCK.
Patch by Kim Shinwoo <kimcinoo.efl@gmail.com>.


SVN revision: 72841
2012-06-26 05:54:45 +00:00
Michael BOUCHAUD b5e474ebb1 elementary: I think this needs some fixing. fileselector, select the wrong dir
SVN revision: 72834
2012-06-26 00:10:15 +00:00
Carsten Haitzler af564b3dc7 improve cnp to tell you when you lost a selection and track obj
deletions.



SVN revision: 72798
2012-06-25 11:16:25 +00:00
Jaehwan Kim cab76c1f57 Sorry, Fix build conflict.
SVN revision: 72792
2012-06-25 08:50:11 +00:00
Daniel Juyung Seo a47bf5576f elm genlist: Fixed tree expand bug. Check item type when an item is
requested to be expanded/contracted.

SVN revision: 72790
2012-06-25 08:42:26 +00:00
Jaehwan Kim f4db8e4ec1 In case a user sets min-value of the item, the toolbar shouldn't set the min-value to the number which is smaller than it.
SVN revision: 72788
2012-06-25 08:33:15 +00:00
Michael BOUCHAUD 38a2383e8a elementary: Add to the progressbar widget a changed signal to be emitted when the value is changed. Patch from Daniel Willmann. Thx
SVN revision: 72709
2012-06-22 22:45:13 +00:00
Gustavo Sverzut Barbieri 74cf7f640a oops, unb0rk compat layer.
glima was on d0rgs...


SVN revision: 72678
2012-06-21 23:37:49 +00:00
Tom Hacohen db4635cfc1 Elm gengrid: (void *) and substraction don't play nicely together.
SVN revision: 72594
2012-06-21 11:55:19 +00:00
Daniel Juyung Seo 49a68f7f74 elm genlist: Fixed a bug with decorate all mode + tree effect. Delete tree effect animator and set the effect mode to none when decorate all mode is set.
SVN revision: 72591
2012-06-21 10:56:15 +00:00
Daniel Juyung Seo be4e82df1c elm genlist: Fixed formatting.
SVN revision: 72575
2012-06-21 08:36:21 +00:00
Gustavo Sverzut Barbieri 866c5b7a98 CNP is completely broken -- note where it should be fixed.
come on... I'd rather remove this crap than keep it like that. :-(



SVN revision: 72507
2012-06-19 23:33:57 +00:00
Daniel Willmann 7e35c19135 elementary: revert commit 72459. Please see commit 72197, it's the same functionality
revert ->
Log:
From: Daniel Willmann <d.willmann@samsung.com>
 Subject: Re: [E-devel] [PATCH] elementary: Add
 elm_progressbar_maxunit_{set, get} functions

 Some more discussion in IRC led to the conclusion that this should be a
 handled in a signal callback I've attached the new patch where I also
 updated the progress bar example.



Author:       raster
Date:         2012-06-19 02:26:29 -0700 (Tue, 19 Jun 2012)
New Revision: 72459

SVN revision: 72506
2012-06-19 22:53:46 +00:00
Gustavo Sverzut Barbieri dafcd43f50 EAPI elm_drag and elm_drop so I can use them from terminology.
SVN revision: 72505
2012-06-19 20:17:46 +00:00
Bruno Dilly d6341bfc9e Elm: module unloading
Implements the module unloading to all modules on elm_module_shutdown.
This change also fixes a memory leak within elm_module picked by valgrind.

Here follows the valgrind log:

96 bytes in 1 blocks are definitely lost in loss record 105 of 168
    at 0x4C29DB4: calloc (
            in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
            by 0x52065B6: _elm_module_add (elm_module.c:223)
            by 0x520669E: _elm_module_parse (elm_module.c:77)
            by 0x51F1249: elm_quicklaunch_sub_init (elm_main.c:437)
            by 0x51F12BE: elm_init (elm_main.c:180)

Patch by Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 72499
2012-06-19 18:24:17 +00:00
Bruno Dilly 04061fc239 Elm: fix the widget event callback freeing
Removes the event callback list within _smart_del. The current
implementation does not care about the node data resulting on
memory leaks.

Here follows the valgrind log:

16 bytes in 1 blocks are definitely lost in loss record 11 of 168
at 0x4C29DB4: calloc (in
        /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
        by 0x522EC34: elm_widget_event_callback_add (elm_widget.c:1996)
        by 0x5A7AA2B: _edje_emit_handle (edje_program.c:1322)
        by 0x5A766B6: _edje_message_queue_process (edje_message_queue.c:764)
        by 0x5A76856: _edje_job (edje_message_queue.c:160)
        by 0x628C02A: _ecore_job_event_handler (ecore_job.c:115)
        by 0x6288C1F: _ecore_event_call (ecore_private.h:319)
        by 0x628D09B: _ecore_main_loop_iterate_internal (ecore_main.c:1814)
        by 0x628D566: ecore_main_loop_begin (ecore_main.c:931)
        by 0x4023B0: elm_main (test.c:198)

Patch by Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 72498
2012-06-19 18:20:38 +00:00
Gustavo Lima Chaves 7f0048b9b8 [elm] Switching in slideshow with no transition effect
Patch by Rajeev Ranjan <rajeev.r@samsung.com>.



SVN revision: 72492
2012-06-19 16:31:30 +00:00
Minseok Kim db61fd9dbb elementary/multibuttonentry: add focus handling at clicked,
and remove box region show. 

Signed-off-by: Minseok Kim <minseok3.kim@samsung.com>


SVN revision: 72484
2012-06-19 14:48:05 +00:00
Daniel Willmann 2e9ae9f539 From: Daniel Willmann <d.willmann@samsung.com>
Subject: Re: [E-devel] [PATCH] elementary: Add
elm_progressbar_maxunit_{set, get} functions

Some more discussion in IRC led to the conclusion that this should be a 
handled in a signal callback I've attached the new patch where I also 
updated the progress bar example.



SVN revision: 72459
2012-06-19 09:26:29 +00:00
Vincent Torri 3917e6a733 Elm: add missing @since.
SVN revision: 72436
2012-06-19 05:07:29 +00:00
Vincent Torri 00f27253fd please also add @since in newly typedef, struct, enum etc...
SVN revision: 72435
2012-06-19 04:50:11 +00:00
Carsten Haitzler 02e4bce0b1 fix genlist issue that turned up in terminology fn selector where all
items get realized. fix! :)



SVN revision: 72377
2012-06-18 09:54:00 +00:00
Carsten Haitzler f30ff2330e document new styles for gl items
SVN revision: 72365
2012-06-18 07:40:36 +00:00
Daniel Juyung Seo 282f65fe8d elm genlist: Unbork genlist group index and fix it in a correct way. Thanks to Raster for notifying that bug.
SVN revision: 72304
2012-06-17 17:20:23 +00:00
Cedric BAIL 17e30e1dea elementary: don't crash on NULL filename in elm_video.
NOTE: I don't know when this bug was introduced.


SVN revision: 72260
2012-06-17 02:45:12 +00:00
Carsten Haitzler fae68f6397 add xxx for tomorrow.
SVN revision: 72246
2012-06-16 19:07:45 +00:00
Carsten Haitzler 8b5963cd77 fix group item header placement when genlist is not at 0,0 - ppl dont
test this :)



SVN revision: 72234
2012-06-16 12:55:29 +00:00
Davide Andreoli a6a41f5717 elm_map: add elm_map_overlay_del_cb_set() to get notified when an overlay is deleted.
SVN revision: 72233
2012-06-16 12:50:54 +00:00
Daniel Juyung Seo 1f01713eb3 elm genlist: Removed 'const' from elm_genlist_decorated_item_get() API's return value. This API was aimed to manipulate decorated item so no const for the return value. Raster confirmed that this is not a API break. Thanks.
SVN revision: 72221
2012-06-16 10:12:15 +00:00
Michael BOUCHAUD 48728c1039 elementary: and now fix me
SVN revision: 72198
2012-06-15 16:48:25 +00:00
Michael BOUCHAUD d24e7b363d elementary: add elm_progressbar_unit_format_function_set
SVN revision: 72197
2012-06-15 16:32:54 +00:00
Michael BOUCHAUD 4d5405a135 elementary: fix typo in doc
SVN revision: 72196
2012-06-15 16:21:21 +00:00
Stefan Schmidt b65fe02596 elementary/elm_win: No need to define and undef the same macro all over again.
SVN revision: 72194
2012-06-15 14:11:47 +00:00
Vincent Torri bc0efce43a elm: @since. Reviewers, please, review...
SVN revision: 72189
2012-06-15 11:43:02 +00:00
Daniel Juyung Seo fab4708d34 elm genlist: Unset decorate item mode when decorate mode set is called. Yes that's so confusing. 'Decorate Item Mode' and 'Decorate Mode' are different and exlusive from the implementation.
SVN revision: 72173
2012-06-15 07:58:08 +00:00
Michael BOUCHAUD 3e382200a5 elementary: add an enum for mark repeat type, ELM_CALENDAR_LAST_DAY_OF_MONTH. fix #855
SVN revision: 72145
2012-06-14 17:10:31 +00:00
Stefan Schmidt 9c0f6e7709 elementary/elm_win: Also check for potential NULL in other defines
Thanks to Daniel Willmann pointing them out to me. Actually I wonder
why we need all this define and undef for ENGINE_COMPARE. Will dig a
bit deeper into that and see if we may can go with a single one.

SVN revision: 72144
2012-06-14 15:56:42 +00:00
Stefan Schmidt c6ff40ba13 elementary/elm_win: Check argument for NULL before we pass it to strncmp
strncmp() really does not like that. So we should not be lazy and check for it. Say thanks to
scan-build which reported these to me.

SVN revision: 72142
2012-06-14 15:01:37 +00:00
Daniel Willmann 1e25de9ab3 From: Daniel Willmann <d.willmann@samsung.com>
Subject: [PATCH] elementary: Minor fix to the documentation of ActionSlider
Date: Thu, 14 Jun 2012 15:31:05 +0100

Yeah, the most overhead I could imagine. :-)


SVN revision: 72141
2012-06-14 14:42:34 +00:00
Mike Blumenkrantz e2d63d4c40 massive, massive, MASSIVE spankies to the person that wrote gengrid's sorted insert functions. cannot overstate the size of the spankies that await you if I decide to look through the svn logs.
also fixes ticket #984
--This line
\
, and those below, will be ignored--

M    lib/elm_gengrid.c


SVN revision: 72139
2012-06-14 14:11:04 +00:00
Jaehwan Kim 3f370e5148 Add the reorder feature when the more panel is shown.
After the item is long-pressed, it can be moved.


SVN revision: 72129
2012-06-14 12:59:38 +00:00
Mike Blumenkrantz e4baf0e068 fix doc error as spotted by Daniel Willmann <d.willmann@samsung.com>
SVN revision: 72127
2012-06-14 12:41:18 +00:00
Seunggyun Kim 4f7121cd4a From: Seunggyun Kim <sgyun.kim@samsung.com>
Subject: [E-devel] [Patch] elm_config_font_overlay_apply bug fix

[Current Issue]
 - The API applies the changes with elm_config_font_overlay_set(). 
   But at the first time, application fonts have not been changed after
elm_config_font_overlay_apply api is called.
   The application fonts changed only when the display is updated or
elm_config_font_overlay_apply api is called again.

[Main cause]
 - When the elm_config_font_overlay_apply is called at fist time, it
calls
edje_text_class_del and edje_text_class_set in locally. But
edje_text_class_set just returns without _ejde_reclc() when new text
class
is ceated. 
  So in this case, there is nothing to be changed.
  Since second call the api, edje_text_class_del api calls
_edje_recalc() in
locally. So the application fonts are changed.

[Change Description]
 - There is two method. The first is to enable ejde_test_class_set api
is
can be recalced when the fist calling.
   The second is to add _elm_rescale() function in
elm_config_font_overlay_apply API. This occurs edje_recalc effect
after font
overay set.
   I attached the second method.



SVN revision: 72124
2012-06-14 10:55:16 +00:00
Carsten Haitzler c7fad4ef42 fix discomfitors list scalign thing.. was actually image/icon madness.
:)



SVN revision: 72109
2012-06-14 07:55:55 +00:00
Gustavo Lima Chaves c3512bb998 Be clear about gesture layer's usage.
Elm widget as parent, any Evas object as target.



SVN revision: 72091
2012-06-13 17:21:13 +00:00
Jaehwan Kim e828e20bb7 In case of scroll in scroll, the outside scroller shouldn't be scrolled if the inside scroller can be scrolled.
SVN revision: 72064
2012-06-13 07:01:00 +00:00
Gustavo Lima Chaves 7753347d27 [elm] Sexying up elm_win_icon_object_set()'s doc
string.



SVN revision: 72045
2012-06-12 16:40:57 +00:00
Carsten Haitzler 0babab585e bitch--
SVN revision: 72044
2012-06-12 16:31:02 +00:00
Carsten Haitzler 9e0801e8ea debug bitch--
SVN revision: 72042
2012-06-12 16:27:15 +00:00
Carsten Haitzler 5ef9fe3db7 complaint--
SVN revision: 72040
2012-06-12 16:21:56 +00:00
Mike Blumenkrantz 1913c99bc1 ticket #902: elementary saves map data into /tmp
now we use XDG_CACHE_HOME


SVN revision: 72035
2012-06-12 14:50:15 +00:00
Carsten Haitzler 2165089e21 add docs for new win funcs.
SVN revision: 72012
2012-06-12 10:21:41 +00:00
Carsten Haitzler 78b003d5ea new api's for hinting base+step sizes for a window.
SVN revision: 72009
2012-06-12 10:15:19 +00:00
ChunEon Park a9b4b5cd4a elementary/transit - fixed wipe effect flickering.
evas_map_point_coord APIs have the int values but evas_map_point_image_uv_set have the double parameters on the other hand.
This inconsistency causes the inexact result(flickering). 

It's not good APIs for users.



SVN revision: 71979
2012-06-12 06:39:25 +00:00
Davide Andreoli 9b72ec0dea another non premul color
SVN revision: 71970
2012-06-11 23:56:01 +00:00
Davide Andreoli 8babe97704 whops, this file wasnt mean to be committed
SVN revision: 71968
2012-06-11 23:35:05 +00:00
Davide Andreoli 5a1213ec8c evas only handle premul colors (note: not making any news or bp)
SVN revision: 71965
2012-06-11 23:25:43 +00:00
Mike Blumenkrantz ea5e907bb6 should probably return these values instead of just copy/pasting code around
SVN revision: 71935
2012-06-11 08:19:04 +00:00
Gustavo Lima Chaves 9ec740624f [elm] Just cosmetical, but since it's here on my
changes...



SVN revision: 71869
2012-06-08 21:05:51 +00:00
Gustavo Lima Chaves b15d43ef71 [elm] Oops, forgotten class smart cbs setting
paths.
This will also unb0rk Edje externals signal proxying.



SVN revision: 71868
2012-06-08 21:05:45 +00:00
Jaehwan Kim b55c923034 Add elm_object_scroll_hold/freeze_get
SVN revision: 71836
2012-06-08 08:59:07 +00:00
Mike Blumenkrantz f18b904b2a elm notify can now have the timeout set before it becomes visible
SVN revision: 71832
2012-06-08 07:20:39 +00:00
Cedric BAIL cf2c7ac35a elementary: randomly testing elementary let me come to this completly broken widget.
SVN revision: 71828
2012-06-08 02:16:19 +00:00
Jaehwan Kim bf92dfb943 Change the comment.
SVN revision: 71826
2012-06-08 01:35:05 +00:00
Daniel Juyung Seo 0477ee0b0d elm: Applied elm_icon_file_set -> elm_image_file_set api change.
SVN revision: 71804
2012-06-07 11:40:54 +00:00
Jaehwan Kim c44133eadb Add the NEWS and @since.
SVN revision: 71780
2012-06-07 07:53:33 +00:00
Jaehwan Kim 564b6f13c8 Remove the APIs elm_toolbar_items_max_set/get.
Instead of them, add the APIs elm_toolbar_standard_priority_set/get.
The items which are lower than standard priority are located in more menu or panel.


SVN revision: 71777
2012-06-07 07:32:55 +00:00
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