Commit Graph

4341 Commits

Author SHA1 Message Date
Tom Hacohen 7ffb54c9c7 Elm theme: Adjust the default theme to rely on the default tags.
SVN revision: 66200
2011-12-14 15:12:02 +00:00
Tom Hacohen dd215282c7 Elm entry: Adjust the conversion funcs to use the new tags.
SVN revision: 66199
2011-12-14 15:11:55 +00:00
Tom Hacohen 68c029ca15 Elm entry: Conform to the evas markup_to_plain -> text_markup_to_utf8 change.
SVN revision: 66188
2011-12-14 11:51:02 +00:00
ChunEon Park ceb31a59fc elementary/naviframe - removed white trailing.
SVN revision: 66176
2011-12-14 04:41:32 +00:00
WooHyun Jung dbf9d0065b elementary/elm_win : when window is shonw at the first time, only
elm_win should be set as focused. not for child objects.


SVN revision: 66174
2011-12-14 00:43:15 +00:00
Michael BOUCHAUD c409cd16b3 elementary: from Jonas M. Gastal, adds a edje property called disabled to every edje external widgets.
SVN revision: 66169
2011-12-13 16:47:23 +00:00
Bluezery 03e6f69c3d From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch][elm_map] Bug fix for map test

This patch is for test map.
This fixes two simple bugs.
1. Max zoom level can be changed depends on the map source, not always 18.
2. $HOME can be NULL.



SVN revision: 66154
2011-12-13 10:39:53 +00:00
Bluezery 1e5c64bba1 From: Bluezery <ohpowel@gmail.com>
Subject: Re: [E-devel] [Patch][elm_map] Change grid management

(3) Simplify grid_load()
There exists 3 state for grid items. i.e., downloaded, downloading,
none states.
grid_load() does followings:
1. if a grid item does not exist, create it.
2. update a tile (if downloaded) or queues for download (if none) or
nothing  (if downloading)



SVN revision: 66153
2011-12-13 09:07:00 +00:00
Tom Hacohen cc8c6489d2 elementary: Fixed svn detection for svn1.7
SVN revision: 66146
2011-12-13 08:52:47 +00:00
Bluezery 66a391e67f From: Bluezery <ohpowel@gmail.com>
Subject: Re: [E-devel] [Patch][elm_map] Change grid management

(2) Revoking gi->have
I restore the gi->have values. The removal of this is my mistake.
gi->have is needed because I cannot know whether this file is
downloading (just opened and not written) or downloaded state even if
image file exists.



SVN revision: 66141
2011-12-13 08:39:01 +00:00
Bluezery d328f8b4c7 From: Bluezery <ohpowel@gmail.com>
Subject: Re: [E-devel] [Patch][elm_map] Change grid management

(1) Grid Management
There are no caching mechanism in current elm_map.
So, too many network resources are wasted because elm_map keeps only
two grids and already downloaded images are downloaded again and
again. (This also slows the map loading speed)
I have changed this grid management policy.

I have done followings.
1. Create all grids (all zoom levels) when elm_map_add() is called (No
memory overhead because of sparse matrix)
2. Clear all grids when map object is deleted.
3. Loads necessary grids and unloads unused grids when zoom level is
changed.

Changed grid management have one weakness that memory and tmp size can
grow bigger while map object is live.
I think it may need API such as elm_map_cache_size_set().



SVN revision: 66140
2011-12-13 08:31:55 +00:00
ChunEon Park b03042ce58 elementary/ctxpopup - reverted 66130
this should not be applied. 



SVN revision: 66133
2011-12-13 04:18:35 +00:00
정찬욱 1c1f6ef90a From: 정찬욱 <joey.jung@samsung.com>
Subject: [E-devel] [Patch] elm_genlist pan changed patch

This patch is to fix the problem that blinking is occured when
application use the ecore timer and
the rendering delay at pan resize/move using evas_object_smart_changed
instead of ecore_job_add.




SVN revision: 66132
2011-12-13 04:15:10 +00:00
Bluezery 4231f82a56 From: Bluezery <ohpowel@gmail.com>
Subject: Re: [E-devel] [Patch][elm_map] Change grid management

Grid Management
There are no caching mechanism in current elm_map.
So, too many network resources are wasted because elm_map keeps only
two grids and already downloaded images are downloaded again and
again. (This also slows the map loading speed)
I have changed this grid management policy.

I have done followings.
1. Create all grids (all zoom levels) when elm_map_add() is called (No
memory overhead because of sparse matrix)
2. Clear all grids when map object is deleted.
3. Loads necessary grids and unloads unused grids when zoom level is
changed.

Changed grid management have one weakness that memory and tmp size can
grow bigger while map object is live.
I think it may need API such as elm_map_cache_size_set().



SVN revision: 66131
2011-12-13 03:48:18 +00:00
cnook 930f157870 From: cnook <kimcinoo@gmail.com>
As the title, attached patch has followings.

  1) Using Calculated Value: The _update_arrow(); had used
  evas_object_geometry_get(); internally for getting its base size.
  But the _calc_base_geometry(); already got the base size which
  is more accurate.
        
  2) Getting Size From The Style Also: If the ctxpopup has content
  which is composed using the style (means, the size of
  content can get from *.edc file only), then ctxpopup does not
  come properly. So resolving this, the patch is using a box,
  and add a RESIZE callback to the box. When the box is resized,
  the callback calls elm_box_recalculate();




SVN revision: 66130
2011-12-13 03:38:27 +00:00
Daniel Juyung Seo 09e55906d2 elm els_scroller: Cancel wanted region set when scrollto animator is
enabled. Check scrollto.x.animator and scrollto.y.animator
when _elm_smart_scroller_wanted_region_set is called.


SVN revision: 66126
2011-12-13 01:20:21 +00:00
Daniel Juyung Seo 1dbbe5553c elm: Reverted wrong commits. This was committed by mistake :( So
shame...;


SVN revision: 66123
2011-12-12 23:57:57 +00:00
Daniel Juyung Seo feda46e2f1 elm toolbar/naviframe: Added more documentation about elm_object and
elm_object_item common APIs support. This needs to be done for other
widgets which support elm_object/elm_object_item.


SVN revision: 66122
2011-12-12 23:53:26 +00:00
Cedric BAIL 32cf20b7a5 elementary: fix typos.
SVN revision: 66113
2011-12-12 08:53:22 +00:00
ChunEon Park 4dad454d3e elementary/naviframe - Bad Hermet... the flag should be flipped inside.
SVN revision: 66105
2011-12-12 04:57:33 +00:00
ChunEon Park 067676b3dd elementary/naviframe - two more APIs
elm_naviframe_event_enabled_set()
elm_naviframe_event_enabled_get()

Now, user could set events enabled/disabled when item pushing/popping.



SVN revision: 66102
2011-12-12 04:54:15 +00:00
Mike Blumenkrantz f2f274ebde add tooltips to naviframe buttons for hahas
SVN revision: 66089
2011-12-10 17:24:06 +00:00
ChunEon Park 04baf7d1a0 elementary/slideshow - deprecated API
elm_slideshow_item_data_get



SVN revision: 66060
2011-12-09 07:08:49 +00:00
ChunEon Park 92702053ca Elementary/updated Document.
fixed indent. 
added one line gap between APIs. 



SVN revision: 66059
2011-12-09 06:37:28 +00:00
ChunEon Park 771596a897 elementary/ctxpopup - +ingroup
SVN revision: 66058
2011-12-09 05:59:01 +00:00
ChunEon Park 1120f143aa elementary/toolbar - deprecate APIs.
elm_toolbar_item_data_get
elm_toolbar_item_data_set
elm_toolbar_item_toolbar_get
elm_toolbar_item_label_get
elm_toolbar_item_label_set
elm_toolbar_item_disabled_get
elm_toolbar_item_disabled_set



SVN revision: 66057
2011-12-09 05:26:33 +00:00
ChunEon Park 7c6576a186 elementary/elm_slideshow - updated document.
SVN revision: 66050
2011-12-09 04:19:28 +00:00
Tom Hacohen 822bde1f45 Elm entry: Use the new evas_textblock_markup_to_plain when pasting.
This sloves many issues with pasting format.

SVN revision: 66036
2011-12-08 15:13:19 +00:00
Tom Hacohen f38430a2d8 Elm: Update the lib to use the new self-closing textblock tags.
SVN revision: 66035
2011-12-08 15:13:14 +00:00
ChunEon Park abab649687 elemenatry/toolbar -
removed BASE macro to disable the item.
but use the elm_widget_item_disabled_get instead. 




SVN revision: 66033
2011-12-08 13:53:38 +00:00
Tom Hacohen c45ce564dc Elm test: Update tests to use the new self-closing textblock tags.
SVN revision: 66026
2011-12-08 12:39:18 +00:00
ChunEon Park fdc7cd86a4 elementary/slideshow - Elm_Slideshow_Item -> Elm_Object_Item
WARNING. This may cause build breaks. 



SVN revision: 66021
2011-12-08 11:01:01 +00:00
ChunEon Park 7dc62ae5c3 elementary/naviframe - trivial change. recommended by ShilpaOnkar Singh
SVN revision: 66020
2011-12-08 10:37:41 +00:00
Tom Hacohen 291f7087e6 Elm toolbar: Fix brokeness introduced by commit 65708.
Disabled is a property of Elm_Object_Item and was a property of
Elm_Toolbar_Item as well. The aforementioned commit didn't remove the
property from the latter and then used both properties in an
inconsistent manner which caused data not to be up to date.

SVN revision: 65989
2011-12-07 12:56:34 +00:00
Tom Hacohen 33cb46d033 Elm entry: Fixed entry min size calculations.
I dunno how, why and by who it got broken, but it should be working now.
If you have any issues, let me know.

SVN revision: 65960
2011-12-06 15:52:11 +00:00
Tom Hacohen 8168430115 Revert "elementary/elm_entry : When singlelined & scrolled, entry's min width"
This reverts commit 64721.

This commit causes other issues, and it also slows entry down.

SVN revision: 65959
2011-12-06 15:52:05 +00:00
Michael BOUCHAUD 17cdac8d95 elementary: add ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT_IN a new policy for zoom in elm_photocam
SVN revision: 65958
2011-12-06 15:11:59 +00:00
Michael BOUCHAUD 65106b50ac elementary: API break ! using Elm_Index_Item instead of the item's data in the index widget. This was applied for function and smart callbacks
SVN revision: 65956
2011-12-06 14:05:55 +00:00
ChunEon Park 3dae010810 elementary/naviframe - fixed logic error.
happened after shilpa's refactoring patch.

it caused the elm_naviframe_item_style_set does not work properly.

more case-by-case checking added.



SVN revision: 65953
2011-12-06 10:53:20 +00:00
Carsten Haitzler 4ca8671927 if u are going to add assert()'s - include assert.h!
SVN revision: 65952
2011-12-06 09:39:38 +00:00
Carsten Haitzler 6541ee34b2 From: Rajeev Ranjan (Rajeev) <rajeev.r@samsung.com> <rajeev.jnnce@gmail.com>
Subject: Re: [E-devel] [Patch] elm_slideshow patch

From: PRINCE KUMAR DUBEY <prince.dubey@samsung.com>

On behalf of Rajeev Ranjan, I am submitting the elm_slideshow patch
which add support for getting notification when transition completes.
Change Log:
new signal “transition,end” has been introduced to get notification
when transition completes.

Detail Description:
The actual requirement is to get user notified when the last item is
visible in the slideshow. In this case, user wants to take some
action, say updating button text to Restart if the slideshow does not
have loop.
The current implementation of slideshow has a signal called “changed”
which has current visible item as event_info parameter in the
callback. User can compare it with the last appended item and come to
know that the last item is visible if even_info is equal to the data
passed which should be the last appended item. The only problem is
that this signal is emitted by C code  asynchronously to the
transition, hence if the transition involves an animation, user will
most likely get it even before the transition completes. This may look
bad to the user if the button label gets updated to Restart even
before the last transition gets over.
In order to fulfill the requirement, I have introduced another signal
“transition,end” which is emitted once the transition is over. 
The same requirement could have been fulfilled by emitting “changed”
signal after the transition gets over but then this will be different
from the existing implementation for other widgets, hence I introduced
the new signal “transition,end”.




SVN revision: 65951
2011-12-06 09:03:01 +00:00
ChunEon Park 17baa1f76b elementary/fileselector
Hi,

On behalf of Rajeev Ranjan, I am submitting the elc_fileselector patch.

Change Log:
Fix for the memory leak in function elm_fileselector_selected_get. Memory allocated by ecore_file_dir_get() internally using strdup was not freed.
Introduced a char *dir variable to store the memory returned by ecore_file_dir_get() function and releasing the memory before returning to caller.

Please review it.
I'd appreciate any comments on this.

Thank you,
Prince

Signed-Off-By: Rajeev Ranjan (rajeev.r@samsung.com)
Signed-Off-By: Prince Kumar Dubey (prince.dubey@samsung.com)
Signed-Off-By: ChunEon Park (hermet@hermetpe.kr)



SVN revision: 65950
2011-12-06 08:18:14 +00:00
WooHyun Jung eb8d16dfb4 elementary/elm_entry.c : When scrollable_set is called, scroller's
policy should be decided with consideration of single line mode.


SVN revision: 65933
2011-12-06 02:19:43 +00:00
Daniel Juyung Seo 8c626b33ee elm genlist: Calculate expanded_depth in _item_new
SVN revision: 65932
2011-12-06 01:37:53 +00:00
Daniel Juyung Seo 8d0301505a elm genlist/gengrid: Added documentation. Fixed documentation. Fixed
formatting.

SVN revision: 65931
2011-12-06 01:23:55 +00:00
Daniel Juyung Seo 95f6ebae61 elm genlist/gengrid: Refactoring. Moved global function pointers to
widget data.

SVN revision: 65930
2011-12-06 01:19:12 +00:00
WooHyun Jung a524b3eb04 elementary/elm_entry.c : Scroller should be created when it is needed.
i.e in scrollable_set function.


SVN revision: 65929
2011-12-06 01:07:04 +00:00
Mike Blumenkrantz 608d52ba61 missed some things with my tooltip api break
SVN revision: 65917
2011-12-05 17:14:07 +00:00
Cedric BAIL 8832e77e58 elementary: fix reordering bug.
NOTE: queue and item list should have the same order,
but that's not the case.



SVN revision: 65915
2011-12-05 16:43:29 +00:00
Mike Blumenkrantz 5b3283d6b5 <stefan_schmidt> discomfitor: successful commits are often just a compile away.
SVN revision: 65914
2011-12-05 16:05:11 +00:00