Commit Graph

4516 Commits

Author SHA1 Message Date
Hyoyoung Chang 84554addb8 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_cnp_helper - change elm_cnp_selection_set and code cleanup
Date: Tue, 27 Dec 2011 20:15:14 +0900

Dear all.

As discomfitor suggested, I cleanup some codes.
elm_cnp_selection_set : add buffer length argument and check for image type.
(i think it's urgent issue before elm_cnp_selection_set api is widely used.)
enum defines : add 'type' prefix.

Thanks


SVN revision: 66566
2011-12-27 11:24:13 +00:00
ChunEon Park 90d1d1635e elementary/map - a trivial change.
SVN revision: 66560
2011-12-27 05:43:04 +00:00
Mike McCormack 17e5b6cdf3 elementary: Fix a warning
test_ctxpopup.c: In function `_btn_clicked':
test_ctxpopup.c:41:20: warning: unused parameter `data'

Signed-off-by: Mike McCormack <mikem@ring3k.org>

SVN revision: 66533
2011-12-26 20:55:49 +00:00
Cedric BAIL c6e5c1987c elementary: fix infinite recursive call in elm_slider.
SVN revision: 66531
2011-12-26 15:01:51 +00:00
Cedric BAIL 283a6658a4 elementary: add elm_genlist_item_index_get.
SVN revision: 66530
2011-12-26 14:30:21 +00:00
Bluezery 4658b25be4 elementary/map
Dear all,

I have found a bug that calculation fails when view port size is
bigger than map size.
For example, if map size is 256x256 but view port size is 798x798
(when zoom level is a 1), center longitude & latitude is out bound
from normal longitude & latitude.
I have fixed it.
Please review this patch.

Signed-Off-By: Bluezery <ohpowel@gmaill.com>
Signed-Off-By: ChunEon Park <hermet@hermet.pe.kr>



SVN revision: 66526
2011-12-26 11:03:18 +00:00
ChunEon Park 20cc624603 elementary/naviframe - prevent accessing a null pointer
SVN revision: 66525
2011-12-26 08:03:30 +00:00
chanwook jung 91c9921fd7 From: chanwook jung <jchanwook@gmail.com>
Subject: [E-devel] [Patch] [genlist] modified _item_block_unrealize
postion in calc_job

Previously, group item did not unrealized at rotate.



SVN revision: 66510
2011-12-26 05:32:40 +00:00
Daniel Juyung Seo 81c0c5e6b0 elm genlist: Fixed function declaration formatting.
SVN revision: 66509
2011-12-26 05:15:21 +00:00
ChunEon Park 53a9430282 elementary/ctxpopup - removed restack test.
need more proper test.



SVN revision: 66506
2011-12-26 04:10:46 +00:00
Hyoyoung Chang ad04bbfc23 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_cnp_helper - make some cnp apis as
public EAPI

As I suggested, I made a patch for some cnp apis.
I think copying and pasting APIs are pretty mature to be public
Those are elm_selection_set, elm_selection_clear, elm_selection_get.
And adding cnp prefix for distinction from word, or char selections.

elm_selection_set    --> elm_cnp_selection_set
elm_selection_clear --> elm_cnp_selection_clear
elm_selection_get    --> elm_cnp_selection_get

And drag and drop APIs should be remained as private.
It has many flaws.




SVN revision: 66505
2011-12-26 04:08:45 +00:00
Hyoyoung Chang defb09803a From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elc_multibuttonentry - clean unused vars

I just clean unused vars of elc_multibuttonentry.
It made that gcc complains :P



SVN revision: 66504
2011-12-26 04:01:31 +00:00
Bluezery 6e25241d32 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel]  [Patch][elm_map] Fix mouse down event propagation

It's simple bug fix for propagate mouse down event via long press
event properly.



SVN revision: 66503
2011-12-26 03:50:33 +00:00
Fabiano Fidêncio 77d0c1f015 elm toolbar: call the correct function to set a item del callback
We don't want a recursive loop, eh?
    And Merry X-Mas to all!


SVN revision: 66494
2011-12-25 02:36:00 +00:00
Daniel Juyung Seo 39a31a0970 elm test_ctxpopup.c: Fixed build warning. Added __UNUSED__ for unused parameter.
SVN revision: 66490
2011-12-24 04:20:26 +00:00
Daniel Juyung Seo c633829477 elm po: Updated po.
SVN revision: 66489
2011-12-24 04:20:22 +00:00
Daniel Juyung Seo 57213b618b elm genlist: Fixed genlist auto scroll bug. Patch by Chanwook Jung <joey.jung@samsung.com>
2011/12/23 Chan-Wook Jung <joey.jung@samsung.com>:
>
> I attached 2nd patch. There are some changes about auto scroll.
> In previous version did not support various bring_in mode in calc_job. So I added scrollto_type value.
> I changed the code to fix this promblem,
> If the bring_in item is in the queue and did not changed pan size, Bring_in function is not working properly.
> When using expandable list, If the last item is in the screen, The last item is located at the bottom and
> If the last item is out of the screen, the expanded_item is located at the top.
>
> Thanks
> Chanwook Jung

SVN revision: 66488
2011-12-24 04:20:18 +00:00
Daniel Juyung Seo 2e8969d27f elm genlist: Fixed indentation.
SVN revision: 66472
2011-12-23 06:54:47 +00:00
Daniel Juyung Seo 5c57fb3438 elm gengrid: Fixed crashed on Enter event with no selected item. Patch by
Jeonghyun Yoon <jh0506.yun@samsung.com>

2011/12/23 윤정현 <jh0506.yun@samsung.com>:
> Dear All.
>
> I found a bug in elm_gengrid.c
>
> Gengrid will be crashed if input “Enter” key when selected is null.
>
> I fixed code, please review this small patch.
>
> Thanks.



SVN revision: 66471
2011-12-23 06:52:05 +00:00
Hyoyoung Chang 83638390fe From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elc_multibuttonentry - delayed reset string

I was sent email about elc_multibuttonentry's bug. It reviewed by seoz.
And he found some path can make segfault.
So I changed reset string position in the widget.

I patched resetting internal entry's position, before that some label
are broken by too early resetting.




SVN revision: 66461
2011-12-22 07:56:01 +00:00
Carsten Haitzler e551940b11 oops - unpatch - wrong attribution!
SVN revision: 66460
2011-12-22 07:55:35 +00:00
Bluezery e4936563be From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel]  [Patch][elm_map] Mouse wheel bug fix

There is mouse wheel bug. Actually I have made it in previous patch :p

When using mouse wheel, tile size was changed between 0.5 ~ 2.0 before
zoom level is changed. But actually it should be changed between
1.0 ~ 2.0. I have fixed it. If tile size is below 1.0,  it does zoom-out.
And if tile size is above 2.0, it does zoom-in.



SVN revision: 66459
2011-12-22 07:54:59 +00:00
Bluezery b5eba2f735 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel]  [Patch][elm_map] Mouse wheel bug fix

There is mouse wheel bug. Actually I have made it in previous patch :p

When using mouse wheel, tile size was changed between 0.5 ~ 2.0 before
zoom level is changed. But actually it should be changed between
1.0 ~ 2.0. I have fixed it. If tile size is below 1.0,  it does zoom-out. 
And if tile size is above 2.0, it does zoom-in.



SVN revision: 66458
2011-12-22 07:48:51 +00:00
Tom Hacohen 92b36f67a4 Elm glayer: Changed config to enable zoom/rotate finger by default.
SVN revision: 66433
2011-12-21 08:48:29 +00:00
Aharon Hillel 1eb59833c5 Elm Glayer: Changed start-time of zoom-momentum
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66432
2011-12-21 08:48:25 +00:00
Aharon Hillel e27515a530 Elm glayer: fixed zoom momentum in glayer momentum test.
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66431
2011-12-21 08:48:22 +00:00
Aharon Hillel e217f07e86 GLayer: Updated test to work with new momentum values
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66430
2011-12-21 08:48:19 +00:00
Aharon Hillel a5bd4cb04f GLayer: Updated zoom-momentum,needs further testing
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66429
2011-12-21 08:48:16 +00:00
Aharon Hillel 9c3e9cd409 glayer: Updated DOC about angle comp-change
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66428
2011-12-21 08:48:12 +00:00
Aharon Hillel 472f1a3f0f glayer: Fixed angle computation 1. Angles now are given in DEG, not RAD 2. ZERO angle at 12-oclock, growing clockwise. 3. TODO: Fixe rotation Momentum computation.
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66427
2011-12-21 08:48:08 +00:00
Aharon Hillel 01e2794107 Elementary: fixed momentum value for zoom test.
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66426
2011-12-21 08:48:03 +00:00
Aharon Hillel 984bff7c34 Elm glayer: Added momentum computation in zoom-wheel
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66425
2011-12-21 08:48:00 +00:00
Aharon Hillel 9a11234f20 elementary: Added gesture Layer Momentum test (test_gesture_layer3)
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66424
2011-12-21 08:47:56 +00:00
Aharon Hillel ceb95952c1 Elm Glayer: Fixed Momentum gesture compuation
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66423
2011-12-21 08:47:53 +00:00
Aharon Hillel 7bed34f523 Elm glayer: Updated rotation momentum computation - not final version
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66422
2011-12-21 08:47:50 +00:00
Aharon Hillel 1b9b3121d3 Elm glayer: Added support for rotation-momentum (first version)
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66421
2011-12-21 08:47:47 +00:00
Aharon Hillel 4bb797e92d Added support for zoom-momentum (first version)
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66420
2011-12-21 08:47:44 +00:00
cnook 25b9d5a39d From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch] elc_ctxpopup, add restacking feature


I have attached two files, one is the patch(*.diff) for adding
restacking feature to the ctxpopup.
The other is test example(*.TEST_EXAMPLE). You can test on the
elementary_test > ctxpopup > "Ctxpopup with user content"
And click the button which is labeled "Enlightenment". Then label will
overlap the ctxpopup.. The ctxpopup will raise in a little time.
Please review the patch and if there is no problem, please throw the
test example away! :-)




SVN revision: 66415
2011-12-21 06:35:22 +00:00
Bluezery 4a5b33941c From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch][elm_map] Apply elm gesture


elm_map implement pinch gesture by using evas mouse event. But it made
codes too complicated and dirty.
So I have changed pinch gesture by using elm_gesture. wheel zooming is
also improved somewhat.
From now on, configuration change related elm_gesture easily applied
to elm_map and we can see more smooth zooming :D

Anyway, els_scroller have bugs when the scrolling event & the resize
event occurs at the same time.
So, some dirty codes are added for preventing jumping to strange positions.
Later it will be removed when the bugs are fixed.



SVN revision: 66413
2011-12-21 06:12:08 +00:00
Hyoyoung Chang fe1cf81624 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_cnp_helper - bugfix mixing with ecore selection set apis
Date: Tue, 20 Dec 2011 18:57:25 +0900

Dear all

When ecore selection set apis(such as ecore_x_selection_clipboard_set)
used in elementary,
Some data is not pasted to elementary widgets.
It's due to mix ecore selection with elementary selection apis.

Data which by ecore doesn't have TARGETS information,
so elementary make it up with TARGETS Information for copying & pasting.

Thank you.


SVN revision: 66407
2011-12-21 03:49:53 +00:00
Michael BOUCHAUD d3b9a3ac50 elementary: now you can align your icon
SVN revision: 66387
2011-12-20 11:45:53 +00:00
Tom Hacohen b1f771a890 Elm glayer: Added config value to multi-touch rotation.
Patch by Bluezery.

SVN revision: 66368
2011-12-20 08:39:30 +00:00
Hyoyoung Chang cb4aeb780e From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_cnp_helper - add type checking for non-elm cnp datas
Date: Fri, 16 Dec 2011 17:09:37 +0900

Dear developers

elm_cnp_helper supports rich types for copying & pasting.
but it doesn't extend like x11 way.
this patch introduces to reduce mismatch for checking selection type format.
now elm can live in harmony with non-elm cnp datas

Thanks


SVN revision: 66367
2011-12-20 08:37:26 +00:00
Daniel Juyung Seo 2d4ab99faf elm elm_genlist.h: Fixed formatting.
SVN revision: 66361
2011-12-20 06:11:05 +00:00
Daniel Juyung Seo a6483d9264 elm genlist: Fixed item show apis.
SVN revision: 66359
2011-12-20 05:57:53 +00:00
Daniel Juyung Seo a2d5107e60 elm hoversel: Fixed icon_get/icon_unset API.
SVN revision: 66356
2011-12-20 04:51:44 +00:00
ChunEon Park b62129c878 elemenatry/hoversel - updated doc. deprecated APIs
elm_hoversel_icon_set
elm_hoversel_icon_get
elm_hoversel_icon_unset
elm_hoversel_item_data_get
elm_hoversel_item_label_get



SVN revision: 66350
2011-12-20 02:44:46 +00:00
ChunEon Park 49fa96affe elementary/hoversel - Elm_Hoversel_Item -> Elm_Object_Item
**This may break your application compilation**



SVN revision: 66343
2011-12-20 01:03:17 +00:00
Michael BOUCHAUD 95a91ebfca elementary: Fixed the problem of scroller (photocam, gengrid, ... maybe other). When we are dragging or animating the scroller, we can do call some edje_object_part_drag_value_set who generate an edje signal 'drag,set'. But, we don't want catch it at this times!
SVN revision: 66339
2011-12-19 18:17:45 +00:00
Carsten Haitzler fa94d73122 oops - EMAP_* still there. remove.
SVN revision: 66331
2011-12-19 12:17:15 +00:00
Carsten Haitzler 84c86772d5 include inclide/link lines in elementayr.pc of all dependencies toi
make DSO system go shhhhh - dont have one to test so i may have gone a
bit overboard :)



SVN revision: 66330
2011-12-19 11:22:07 +00:00
ChunEon Park b3e0fbb730 elementary/naviframe - fixed logic.
when new content is coming, it needs to have some intialization. 



SVN revision: 66329
2011-12-19 11:13:06 +00:00
Michael BOUCHAUD 631ed501c5 elementary: photocam fix region get, here x and y can be negative
SVN revision: 66328
2011-12-19 10:06:32 +00:00
Michael BOUCHAUD a5f7da8e7a elementary: photocam fix calc of zoom, need a double here
SVN revision: 66327
2011-12-19 10:00:25 +00:00
ChunEon Park 98686a8dc6 elemenatry/widget - added NULL check
SVN revision: 66322
2011-12-19 07:22:25 +00:00
ChunEon Park 507e025612 elemenatry/elm_widget - removed unnecesary compare.
if the obj is NULL then sd will be NULL also.



SVN revision: 66321
2011-12-19 07:06:22 +00:00
Tom Hacohen 0fac1e15ff Elementary glayer: Added a config value to disable multitouch zoom.
Patch by Bluezery.

SVN revision: 66310
2011-12-18 08:45:59 +00:00
Mike McCormack 2e37317cbc elementary: Fix a warning
Signed-off-by: Mike McCormack <mikem@ring3k.org>

SVN revision: 66307
2011-12-17 20:45:00 +00:00
ChunEon Park fa37e206ae elementary/naviframe - OHG fixed typo
SVN revision: 66284
2011-12-16 11:01:20 +00:00
ChunEon Park 6aefe2f7fe elementary/naviframe - refactored title_content_set
fault here again!

it would missed one case.

step 1. actual content set
step 2. NULL content set

Since it did not remove content_pair structure even NULL object as a new one set,
the dangling structure could be happened.



SVN revision: 66274
2011-12-16 09:07:41 +00:00
ChunEon Park ba9d14d3ff elementary/ctxpopup - trivial changes.
SVN revision: 66269
2011-12-16 05:31:47 +00:00
Kim Shinwoo c9a380b88b elementary/ctxpopup
Hey dear, here is the second patch using the box for the ctxpopup's
content.
The wd->content is content which is set by
elm_object_content_set(ctxpopup, content) not the box.
Please check this and give any feedbacks, Thanks. :-)

Signed-Off-By: Kim Shinwoo <kimcinoo.efl@gmail.com>
Signed-Off-By: ChunEon Park <hermet@hermet.pe.kr>



SVN revision: 66268
2011-12-16 05:27:11 +00:00
Kim Shinwoo f4e4ad9148 elementary/ctxpopup
Sure, I have separated the path.
The attached patch is for the using previous result which is calculated by
the _calc_base_geometry();
Thanks always.. Please review this patch first. I will send second one
based on the attached.

Sincerely,
Shinwoo Kim.

Signed-Off-By: Kim Shinwoo <kimcinoo.efl@gmail.com>
Signed-Off-By: ChunEon Park <hermet@hermet.pe.kr>



SVN revision: 66267
2011-12-16 05:15:32 +00:00
Daniel Juyung Seo 02a95be24e elm genlist: Internal variable refactoring.
SVN revision: 66261
2011-12-15 15:24:17 +00:00
Tom Hacohen e2221b2064 Elm entry: propogate the new edje cursor,changed,manual signal.
SVN revision: 66260
2011-12-15 14:42:22 +00:00
Tom Hacohen 26098d66ba Elm entry: Use the new textblock functions for markup<->utf8.
SVN revision: 66256
2011-12-15 13:03:58 +00:00
Michael BOUCHAUD 4bdd4e8909 elementary: fix align in the photocam test
SVN revision: 66253
2011-12-15 11:54:21 +00:00
Michael BOUCHAUD 60bcae3b4a elementary: I have say evas 1.2
SVN revision: 66231
2011-12-14 21:45:46 +00:00
Michael BOUCHAUD 0827c81a3f elementary: sorry, but elementary need evas 1.2
SVN revision: 66230
2011-12-14 21:42:41 +00:00
Michael BOUCHAUD 118ef0bbf8 elementary: now photocam support all image formats (if evas support it sure :D)
SVN revision: 66229
2011-12-14 21:03:55 +00:00
Michael BOUCHAUD 4cb8a2b9a9 elementary: add fit_in test in photocam
SVN revision: 66228
2011-12-14 20:54:31 +00:00
Michael BOUCHAUD 5a627ce166 elementary: fix fileselector with dir selection
SVN revision: 66227
2011-12-14 20:53:44 +00:00
Daniel Juyung Seo 2f3a338139 elm genlist/gengrid: Changed 'labels' to 'texts' in edc.
SVN revision: 66205
2011-12-14 16:36:09 +00:00
Cedric BAIL 1d3ecab903 elementary: make elm_icon_file_set work on file on disk change.
SVN revision: 66202
2011-12-14 16:02:57 +00:00
Tom Hacohen 35ab6406f9 Elm util: change text_to_mkup to use textblock_text_utf8_to_markup.
SVN revision: 66201
2011-12-14 15:12:08 +00:00
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
Mike Blumenkrantz 6a4c087750 better use of sub-object-del
SVN revision: 65911
2011-12-05 15:32:53 +00:00
Mike Blumenkrantz ba25d2754d use sub-object-del signal for win stuff
SVN revision: 65910
2011-12-05 15:27:32 +00:00
Mike Blumenkrantz 890a378db7 API BREAK
elm_XXX_tooltip_size_restrict_disable() -> elm_XXX_tooltip_window_mode_set()
elm_XXX_tooltip_size_restrict_disabled_get() -> elm_XXX_tooltip_window_mode_get()


SVN revision: 65909
2011-12-05 15:25:09 +00:00
Cedric BAIL cdec869772 elementary: forgotten fast path.
SVN revision: 65899
2011-12-05 10:49:46 +00:00
WooHyun Jung 83fa8cf4aa elementary/elm_entry : Delete a meaningless code. wd->ent will be set as
resize object for elm_entry.


SVN revision: 65893
2011-12-05 09:01:54 +00:00
ChunEon Park 2a3bb21c44 elementary/map
Sorry, I have forgotten adding comments to my patch.
OSM recommends to requesting map images distributively.
Please refere http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames

I used 3 input parameters for selecting one from a, b, c or 1, 2, 3, 4
tile servers.
I attached patch with comments.

Signed-Off-By: TaeHwan Kim(ohpowel@gmail.com)
Signed-Off-By: ChunEon Park(hermet@hermet.pe.kr)



SVN revision: 65892
2011-12-05 09:00:04 +00:00
Bluezery 944ecff8f1 From: Bluezery <ohpowel@gmail.com>
Subject: Re: [E-devel] [Patch][elm_map] Remove unnecessary flags

There are too may flags in elm_map. Most of them are duplicated and unnecessary.
I have removed "want", "download", "have" variables.

I use gi->job instead of "want" & "download".
I use ecore_file_exists() instead of "have" flags.



SVN revision: 65890
2011-12-05 07:30:31 +00:00
ChunEon Park 51609f5f5f elementary/naviframe - no need to allocate item pair when content is NULL
SVN revision: 65889
2011-12-05 07:28:52 +00:00
ChunEon Park 25d9ba0731 elementary/map
I have using elementary_test for testing elementary map widget.
But it use invalid object for signal callback. I have changed win --> map.
Also I have fixed invalid log message.

Signed-Off-By: TaeHwan Kim(ohpowel@gmail.com)
Signed-Off-By: ChunEon Park(hermet@hermet.pe.kr)



SVN revision: 65886
2011-12-05 05:04:24 +00:00
Hyoyoung Chang 201f622feb From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] els_pan - bugfix gravity move
Date: Mon, 5 Dec 2011 13:29:48 +0900

Dear developers.

When gravity set on els_pan, user events are processing improperly.
Any touch event move pan to wrong position.
It's due to accumulate px, py.
So I fixed it.

Thanks


SVN revision: 65885
2011-12-05 04:32:37 +00:00
Mike Blumenkrantz c74f2f3db5 fix super annoying elm_win bug that went something like this:
win_resize_object_add(win, subobj);
object_content_set(otherobj, subobj);
object_del(win);


ERR<21326>:elm-externals elm_widget.c:978 elm_widget_sub_object_del() removing sub object 0xdeadbeef (some_stupid_widget) from parent 0xRRRRRRRR (win), but elm-parent is different 0xFUCKTHIS (NOT EVEN A WIDGET)!


SVN revision: 65884
2011-12-05 04:26:32 +00:00
ChunEon Park 7c915bb141 elementary/button - prevent the clicked event, when button is disabled or freezed events.
SVN revision: 65883
2011-12-05 04:03:12 +00:00
Mike Blumenkrantz ed23ba2a83 make sub-object delete failure messages even more useful
SVN revision: 65882
2011-12-05 03:27:32 +00:00
Mike Blumenkrantz 6d343a75c5 make sub-object delete failure messages useful
SVN revision: 65881
2011-12-05 03:26:19 +00:00
Mike Blumenkrantz 6353f0fcec fix an infinite recursion bug and related crash in elm_box_recalculate
SVN revision: 65880
2011-12-05 02:57:40 +00:00
Mike Blumenkrantz 88a2ddbe71 move safety check to actually do stuff here
SVN revision: 65872
2011-12-04 22:02:02 +00:00
Mike Blumenkrantz 60b7773ac6 add safety checks for elm_win_center
SVN revision: 65870
2011-12-04 20:44:41 +00:00
Mike Blumenkrantz 7db72819ed front...front...front...BACK! BACK! NO WAIT FRONT! NO, BACK! ARRRRRRRRRRGHHHHHHHHHHHHHHHHHHHH
finding this commit wasted an hour of my life.


SVN revision: 65867
2011-12-04 07:35:33 +00:00
Mike Blumenkrantz 762c57d0d9 header and docs for elm_win_center got lost in an earlier merge I guess
SVN revision: 65866
2011-12-04 05:02:02 +00:00
Mike Blumenkrantz d3b755cbe6 MIN/MAX macros -> elm_priv.h
+elm_win_center
+elm_win_screen_constrain_get/set


SVN revision: 65859
2011-12-03 22:51:12 +00:00
Mike Blumenkrantz a1f1635499 completely disable selection and cnp in password entries
SVN revision: 65858
2011-12-03 22:16:14 +00:00
Cedric BAIL 10287f3551 elementary: forgotten file.
SVN revision: 65849
2011-12-03 17:03:20 +00:00
Cedric BAIL 4e33fe455c elementary: add elm_video/elm_player test.
SVN revision: 65847
2011-12-03 16:36:39 +00:00
Carsten Haitzler 5a26396eda evas_gl support back after evas 1.1 out.
SVN revision: 65842
2011-12-03 14:21:58 +00:00
Cedric BAIL 4fee080155 elementary: make it possible to have more than one text in a slider.
SVN revision: 65827
2011-12-02 17:51:49 +00:00
Cedric BAIL 36f42652ca elementary: improve rendering stability by ordering queue like the displayed list.
SVN revision: 65826
2011-12-02 16:17:10 +00:00
Cedric BAIL 3270f81a6d elementary: prevent early death of items.
SVN revision: 65824
2011-12-02 16:00:41 +00:00
Daniel Juyung Seo 2c748e3fc6 elm genlist: More documentation.
SVN revision: 65820
2011-12-02 15:24:50 +00:00
Daniel Juyung Seo d22eb91185 elm gen/genlist: Renamed elm_gen.h to elm_genlist.h. elm_gen will be removed and elm_genlist will survive.
SVN revision: 65815
2011-12-02 14:09:24 +00:00
Cedric BAIL 62838a114e elementary: do not do any call after smart callback (object could have been destroyed).
SVN revision: 65814
2011-12-02 14:08:24 +00:00
Cedric BAIL 926e801b59 elementary: now elm_gen*_clear only destroy the item created before calling it.
NOTE: As side fix, both genlist and gengrid now share their Widget_Data. Need
a lot more work to be clean and match our quality standard.

NOTE2: Genclear is now faster as it doesn't require to mark all item that need
to be removed, but just increase one int.



SVN revision: 65811
2011-12-02 13:43:02 +00:00
ChunEon Park 2d90565a85 elementary/naviframe
Added in to edje externals

Signed-Off-By: ShilpaOnkar Singh(shilpa.singh@samsung.com)
Signed-Off-By: ChunEon Park(hermet@hermet.pe.kr)



SVN revision: 65808
2011-12-02 10:02:53 +00:00
ChunEon Park 0442af83fc elementary/bubble - updated content part name
SVN revision: 65807
2011-12-02 09:51:23 +00:00
Daniel Juyung Seo 75481b9870 elm list: Removed deprecated signals.
SVN revision: 65794
2011-12-02 01:54:28 +00:00
Daniel Juyung Seo 497ffe3218 elm els_scroller.c: Initialize variables.
SVN revision: 65789
2011-12-02 01:16:54 +00:00
Daniel Juyung Seo 049f9ce7ac elm: Updated documentations.
SVN revision: 65788
2011-12-02 00:11:06 +00:00
Mike Blumenkrantz db2a4ec3ec +elm_toolbar_item_icon_file_set()
at some point this whole item api should probably be replaced with generic object stuff


SVN revision: 65785
2011-12-01 19:14:48 +00:00
Cedric BAIL fbe34af38f elementary: fix massive breakage.
Someone learned to well from me...


SVN revision: 65784
2011-12-01 16:53:57 +00:00
Cedric BAIL 13c14120f2 elementary: use new Ethumb facility.
SVN revision: 65782
2011-12-01 15:37:56 +00:00
Aharon Hillel e9f0867326 Elm glayer: Fixed zoom with mouse wheel.
Got broken with the patch applied by Hermet.

Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 65780
2011-12-01 13:20:34 +00:00
ShilpaOnkar Singh 2917a8bab2 elementary/naviframe - title_content_set refactored.
1. Modified to support NULL content.
2. Unnecessary parameter  removed.
3. Number of lines Optimization.

Signed-Off-By: ShilpaOnkar Singh <shilpa.singh@samsung.com>
Signed-Off-By: ChunEon Park <hermet@hermet.pe.kr>



SVN revision: 65777
2011-12-01 11:41:47 +00:00
Cedric BAIL da302ac7c7 elementary: propagate drag,set signal to.
patch by Mikael Sans <sans.mikael@gmail.com>


SVN revision: 65776
2011-12-01 11:00:55 +00:00
Jiyoun Park 7742f2bdd3 fix a spelling mistake
SVN revision: 65761
2011-12-01 08:34:43 +00:00
ChunEon Park 2ccd676067 elementry/toolbar - fixed typo
SVN revision: 65759
2011-12-01 08:26:17 +00:00
Daniel Juyung Seo 618f268973 elm Elementary.h.in: Refine the documentation.
SVN revision: 65755
2011-12-01 07:31:03 +00:00
Daniel Juyung Seo db0bd60ce6 elm genlist/gengrid: Removed 'label_get' backport now not later.
SVN revision: 65754
2011-12-01 07:29:30 +00:00
Daniel Juyung Seo 964dda89df elm Elementary.h.in: Fix more documentation.
SVN revision: 65753
2011-12-01 07:11:40 +00:00
Carsten Haitzler 2bdda6fe40 fix some of sanjeev's api review commentry.
SVN revision: 65752
2011-12-01 06:43:06 +00:00
Daniel Juyung Seo 9266096bdf elm gengrid/genlist: Changed 'label_get' to 'text_get' according to the
recent elementary api corrections.

I changed item class's 'label_get' to 'text_get'. But 'label_get' is still
supported by union structure. So 'label_get' will just give you
deprecated warnings while compiling but it's recommended to fix your
apps to 'text_get'. Sometimes when you initialize item class using
braces, you will get 'missing braces around initializer' but ignore
this. That warning will be gone after I remove 'label_get' backport. I
will remove this 'label_get' backport after I finish below
jobs.

[TODO]
1. Fix all apps in trunk.
2. Change edc "labels" to "texts" as well. I haven't done this yet.


SVN revision: 65751
2011-12-01 06:15:08 +00:00
Daniel Juyung Seo 434ad96199 elm Elementary.h.in: Fixed documentation typo.
SVN revision: 65744
2011-12-01 05:28:33 +00:00
Daniel Juyung Seo 7a50ddb3d5 elm map: Moved zoom_min_get()/zoom_max_get() to source_init() to
simplify code. Patch by Bluezery <ohpowel@gmail.com>


SVN revision: 65730
2011-12-01 03:54:52 +00:00
Daniel Juyung Seo 7307440546 elm bin/test.c: No horizontal bouncing for elm_test menu.
SVN revision: 65726
2011-11-30 17:48:22 +00:00
Daniel Juyung Seo f391a7d6bc elm: Removed trailing whitespaces.
SVN revision: 65725
2011-11-30 17:44:00 +00:00
Daniel Juyung Seo 3fd427b0d3 elm gen/gengrid/genlist: More clean ups.
SVN revision: 65724
2011-11-30 17:42:26 +00:00
Daniel Juyung Seo 35fc57e252 elm gen/gengrid/genlist: Moved more gen stuffs to genlist. Most of all gen stuffs were moved to genlist as of now. This is for elementary 1.0 release.
SVN revision: 65722
2011-11-30 17:31:01 +00:00
Daniel Juyung Seo 0cabbec4e1 elm gen/gengrid/genlist: Partially removing gen. Partially merging gengrid into genlist. (Season 2)
SVN revision: 65721
2011-11-30 17:13:57 +00:00
Rafael Antognolli ce30de426c elm/win: Improve the docs to make clear the behavior of resize objects.
SVN revision: 65720
2011-11-30 17:12:34 +00:00
Daniel Juyung Seo 462f1dc43d elm gen/gengrid/genlist: Partially removing gen. Partially merging gengrid into genlist.
SVN revision: 65718
2011-11-30 16:03:03 +00:00
Daniel Juyung Seo d397598ab1 elm gen/gengrid/genlist: Fixed wrong elm_gen_clear changes.
SVN revision: 65717
2011-11-30 14:40:22 +00:00
Daniel Juyung Seo c6b3a7b863 elm gen/gengrid/genlist: Applied gen deprecation and gengrid/genlist undeprecation.
SVN revision: 65716
2011-11-30 14:19:29 +00:00
Michael BOUCHAUD 76285554aa elementary: fix wrong calculation for gengrid group items
SVN revision: 65714
2011-11-30 11:03:22 +00:00
Daniel Juyung Seo 0bb9c1e212 elm map: Fixed memory leaks in _nominatim_url_cb() function. Patch by
Bluezery <ohpowel@gmail.com>


SVN revision: 65712
2011-11-30 08:37:55 +00:00
ChunEon Park befb09c131 elementary/toolbar - Elm_Toolbar_Item -> Elm_Object_Item
tweet: API Changes. This change may cause build break.



SVN revision: 65708
2011-11-30 05:10:23 +00:00
Daniel Juyung Seo 7cd22aa075 elm map: Add error handling to see the definite error log because
sometimes evas_object_image_file_set() is failed. Patch by Bluezery
<ohpowel@gmail.com>


SVN revision: 65707
2011-11-30 05:00:56 +00:00
Daniel Juyung Seo 6f1dd8c84d elm gen/gengrid/genlist: Undeprecate some gengrid/genlist APIs and
deprecate all elm_gen APIs.

We will merge gengrid into genlist later and remove elm_gen.
I updated http://trac.enlightenment.org/e/wiki/ElementaryChanges
I will fix other libraries/programs in trunk soon.


SVN revision: 65700
2011-11-30 00:59:19 +00:00
RAJEEV RANJAN 192938a19a elementary/quicklaunch - [E-devel] [Patch] quicklaunch patch
a. Fix to handle the condition when read returns 0 and the content of buf is uninitialized in function handle_run inside file "src/bin/quicklaunch.c".
b. Indentation correction in function handle_run around the location of fix above.

Signed-Off-By: RAJEEV RANJAN <rajeev.r@samsumg.com>
Signed-Off-By: PRINCE KUMAR DUBEY <prince.dubey@samsung.com>
Signed-Off-By: ChunEon Park <hermet@hermet.pe.kr>



SVN revision: 65699
2011-11-30 00:16:36 +00:00
RAJEEV RANJAN 3983da5dbf elementary/photocam - [E-devel] [Patch] elm_photocam patch
a. Handled memory allocation failure in function grid_create inside source file src/lib/elm_photocam.c of package elementary.
b. Fixed Memory leak in functiongrid_create due to return without releasing memory allocated for variable g of type Grid *.

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@hermet.pe.kr>



SVN revision: 65698
2011-11-30 00:12:10 +00:00
RAJEEV RANJAN ba55a1b120 elementary/index - [E-devel] [Patch] elm_index patch
Hi,

Attachment to the mail is elm_index patch.

Change Log:
a. Memory leak fix in function elm_index_item_append_relative due to memory allocated for item creation reamined allocated when the control returns.
b. Memory leak fix in function elm_index_item_prepend_relative due to memory allocated for item creation reamined allocated when the control returns.

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@hermet.pe.kr>



SVN revision: 65697
2011-11-30 00:07:44 +00:00
Daniel Juyung Seo 8b017483ea elm genlist: Added elm_genlist_item_fields_update(). Patch by Hyoyoung
Chang <hyoyoung.chang@samsung.com>

2011/10/27 Hyoyoung Chang <hyoyoung.chang@samsung.com>:
> Dear developers
>
> I made a patch to add elm_genlist_item_fields_update function.
> It can be used to updating genlist's item part without
realize/unrealize
> itself.
>
> Prototype is
> elm_genlist_item_fields_update
> (Elm_Genlist_Item *it, const char *part,
Elm_Genlist_Item_Field_Flags itf)
>
> Part supports globbing. Passing "*" to part means updating all parts.
> Item field can be one of icon, content and state.
> I think it's useful to speed up if an app updates frequently.
>
> Thanks


SVN revision: 65688
2011-11-29 14:03:14 +00:00
Carsten Haitzler 4fc906898c update po's
SVN revision: 65687
2011-11-29 09:40:49 +00:00
Carsten Haitzler f74c3d0d3c add shot.sh to makefile.am
SVN revision: 65686
2011-11-29 09:40:37 +00:00
RAJEEV RANJAN 4ed6d0abed elementary/glview - [E-devel] [Patch] elm_glview patch
Fix to unreachable code in function elm_glview_resize_policy_set.

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@hermet.pe.kr>



SVN revision: 65684
2011-11-29 09:26:59 +00:00
Mike McCormack e736f755f3 elementary: Fix a warning
elc_naviframe.c: In function ‘_title_content_unset’:
elc_naviframe.c:786:17: warning: ‘content’ may be used uninitialized in this function

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65682
2011-11-29 09:24:41 +00:00
Mike McCormack 6ac6d1e6f0 elementary: Remove extra \n in printf
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65681
2011-11-29 09:24:31 +00:00
Rajeev Ranjan 10e1220af7 elementary/gesture_layer - [E-devel] [Patch] elm_gesture_layer patc
Hi,

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

Change Log:
a. Variable was used after freeing in function _remove_touched_device, now storing return value of eina_list_remove and then freeing pointer.
b. gesture pointer was dereferenced before checking it against NULL in function _rotate_test. Now dereferencing happens after NULL check.
c. Added NULL check for pointer before using it in function _event_process which is dereferenced in function _add_touched_device.
d. Memory leak fix in function elm_gesture_layer_add. Now using ELM_WIDGET_STANDARD_SETUP which takes care of NULL checks and freeing memory in case of failure.

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

Thank you,

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@hermet.pe.kr>



SVN revision: 65680
2011-11-29 09:20:31 +00:00
Daniel Juyung Seo c66f21a87a elm genlist: Changed int to Eina_Bool in case it uses 1 or 0.
SVN revision: 65679
2011-11-29 08:54:19 +00:00
ChunEon Park f7fcfcc09e elementary/button - removed an unnecessary line.
reported by discomfitor who has eagle eyes.



SVN revision: 65678
2011-11-29 07:44:06 +00:00
ChunEon Park 8f58ad1dc7 elementary/button - Setting the text after button is disabled then the text does not showed up with disabled status.
fixed it.



SVN revision: 65668
2011-11-29 04:56:08 +00:00
ChunEon Park 27c999d5ae elementary/cnp_helper - patched by PRINCE KUMAR DUBEY <prince.dubey@samsung.com>
Hi,

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

Change Log:
Removal of DEAD_CODE (Unreachable code statement tmppath = "/tmp").

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

Thank you,



SVN revision: 65666
2011-11-29 00:52:09 +00:00
ChunEon Park d1fac92dc8 elementary/flip - patched by PRINCE KUMAR DUBEY <prince.dubey@samsung.com>
Hi,

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

Change Log:
a. Removed unnecessary comparison and assignment from the function _state_update inside file src/bin/test_flip_page.c. The comparison test will always be failed. Hence the assignment which was unreachable is removed.
b. Removed unnecessary comparison and assignment from the function _state_update inside file src/lib/elm_flip.c. The comparison test will always be failed. Hence the assignment which was unreachable is removed.

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

Thank you,



SVN revision: 65664
2011-11-29 00:09:56 +00:00
ChunEon Park 43c470e6b9 elementary/genlist - patched by PRINCE KUMAR DUBEY<prince.dubey@samsung.com>
Hi,

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

Change Log:
a. Dead code removal in function _sizing_eval
b. Memory leak fix in function elm_genlist_item_insert_before due to return when wd->items is NULL and in this case, memory allocated for item was not getting free.
c. Memory leak fix in function elm_genlist_item_insert_after due to return when wd->items is NULL and in this case, memory allocated for item was not getting free.

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

Thank you,



SVN revision: 65662
2011-11-29 00:06:55 +00:00
Cedric BAIL f7e4327955 ethumb: cleanup API.
SVN revision: 65660
2011-11-28 23:24:32 +00:00
Cedric BAIL 6f093511f2 elementary: fix typos.
SVN revision: 65643
2011-11-28 10:21:55 +00:00
ChunEon Park 7cfc36bb00 elementary/naviframe - implement unset hook
SVN revision: 65638
2011-11-28 08:28:34 +00:00
ChunEon Park 923b9c7d8d elementary/naviframe - do resize when size of sub objects is changed.
SVN revision: 65636
2011-11-28 07:21:44 +00:00
Jiyoun Park 89738a7fd6 elm els_icon.c: There is some bug in _els_smart_icon_orient_set function.
it didn't work if orient were ELM_IMAGE_ROTATE_90_CW or CCW.
and it also make seg fault if application calls elm_image_orient_set more than twice.
for 90 or 270 rotation, we need seperate memory.
(It can be algorithm without more memory, but I selected readability than memory efficiency)

Before, els icon use file name for data2.
So it make problem, if file name was removed because of obj's data_set or size_set function.
I modified els icon code using copy data function.


SVN revision: 65634
2011-11-28 04:42:34 +00:00
Mike Blumenkrantz b4ca9b3eee fix parsing <br /> tags in markup_to_utf8
SVN revision: 65630
2011-11-28 03:09:24 +00:00
Sanjeev BA 8d7966e5f4 Fix documentation.
Signed-off-by: Sanjeev BA <as2902.b@samsung.com>

SVN revision: 65625
2011-11-28 01:55:40 +00:00
ChunEon Park be86dc2831 elementary/toolbar, table, box - removed *homongenous* APIs
SVN revision: 65603
2011-11-26 04:55:03 +00:00
Mike Blumenkrantz 4bbc58f084 add size hints change resize callback
SVN revision: 65600
2011-11-25 21:40:00 +00:00
Mike Blumenkrantz d37f2891dd add promote/demote functions for genlist
SVN revision: 65599
2011-11-25 20:27:27 +00:00
Daniel Juyung Seo 92349c7b82 elm toolbar: Applied the API change - elm_menu_item_disabled_set to elm_object_item_disabled_set.
SVN revision: 65598
2011-11-25 15:30:57 +00:00
ChunEon Park d263480f83 elementary/menu - applied elm_object_item common APIs.
@deprecated 
elm_menu_item_label_set
elm_menu_item_label_get
elm_menu_item_object_content_set
elm_menu_item_object_content_get
elm_menu_item_disabled_set
elm_menu_item_disabled_get
elm_menu_item_data_set
elm_menu_item_data_get




SVN revision: 65597
2011-11-25 11:52:35 +00:00
ChunEon Park 468985fa84 elementary/menu - Elm_Menu_Item -> Elm_Object_Item
SVN revision: 65596
2011-11-25 10:57:39 +00:00
Sanjeev BA 058c062a8d Documentation fixes.
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>

SVN revision: 65585
2011-11-24 15:15:48 +00:00
Sanjeev BA 09465adfeb Documentation fixes.
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>

SVN revision: 65584
2011-11-24 15:15:45 +00:00
Sanjeev BA 2b9ef7eceb Fix typo.
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>

SVN revision: 65583
2011-11-24 15:15:41 +00:00
Sanjeev BA f61effb7a7 Fix a few typos.
Signed-off-by: Sanjeev BA <as2902.b@samsung.com>

SVN revision: 65577
2011-11-24 15:15:23 +00:00
ChunEon Park fd6f69ca53 elementary/naviframe - patched by shilapaonkar singh (shilpa.singh@samsung.com)
Hi Mr. Park,

Change description:  [ commit message ]
Bug: Hide signal sent twice in case of prev button, next button and icon swallow areas. 
Fix: Hide signal sent only once in delete callback.

Thanks & Regards
Shilpa Singh




SVN revision: 65570
2011-11-24 11:26:41 +00:00
Carsten Haitzler 15468ff4d1 it's time we dont auto-scale finger size with scale .. set finger size
to what u need/want.



SVN revision: 65569
2011-11-24 10:31:42 +00:00
Mike McCormack a41de1da8f elementary: Tweak multibuttonentry docs
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65568
2011-11-24 08:35:14 +00:00
Mike McCormack 4d5d076d72 elementary: Remove duplicated entry
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65567
2011-11-24 08:35:05 +00:00
Mike McCormack 1c6b05543b elementary: Declare multibuttonentry in list of edje externals
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65566
2011-11-24 08:34:56 +00:00
Mike McCormack 969eef895a elementary: Tweak multibuttonentry spacing
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65565
2011-11-24 08:34:47 +00:00
Mike McCormack 25708dfb05 elementary: Avoid fixed length static buffers
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65564
2011-11-24 08:34:37 +00:00
Mike McCormack 8b310f0c48 elementary: Fix style issues in multibuttonentry
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65563
2011-11-24 08:34:26 +00:00
Mike Blumenkrantz 45e5c083c3 make insanely huge icon scale with screen size, this is broken somehow because of some icon sizing bug
SVN revision: 65562
2011-11-24 05:07:23 +00:00
Mike Blumenkrantz 0a7bec205b even better tooltip placement, more debug messages, some developer comments, don't show tooltip if it's going to be a failure offscreen tooltip (FOT) (tm)
SVN revision: 65561
2011-11-24 04:52:16 +00:00
Mike Blumenkrantz 5121192fac further improve tooltip placement, add debug messages so I don't have to keep writing them in when I want to tinker with this
SVN revision: 65559
2011-11-24 04:16:03 +00:00
Mike McCormack 7616608594 elementary: Update translations
SVN revision: 65558
2011-11-24 04:02:27 +00:00
Mike McCormack fdc12cedf6 elementary: Add edje support for multibuttonentry
Original code by Hyunsil Park <hyunsil.park@samsung.com>

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65557
2011-11-24 04:02:18 +00:00
Mike McCormack 0a6442fc26 elementary: Formatting tweaks
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65556
2011-11-24 04:02:09 +00:00
Mike McCormack f7f32ff7c0 elementary: Formatting fixes for multibuttonentry
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65555
2011-11-24 04:01:56 +00:00
Mike Blumenkrantz 0958bb17a7 only run one test
SVN revision: 65554
2011-11-24 03:22:32 +00:00
Mike Blumenkrantz 54efa8cf9a unbreak tooltip placement
SVN revision: 65553
2011-11-24 02:42:46 +00:00
Mike McCormack b3e0c80cfa elementary: Fix warnings in multibuttonentry
CC     libelementary_la-elc_multibuttonentry.lo
elc_multibuttonentry.c: In function ‘_set_vis_guidetext’:
elc_multibuttonentry.c:309:20: warning: unused variable ‘en_width’
elc_multibuttonentry.c: In function ‘_resize_button’:
elc_multibuttonentry.c:741:16: warning: unused variable ‘button_text’
elc_multibuttonentry.c: In function ‘_add_button_item’:
elc_multibuttonentry.c:772:40: warning: unused variable ‘h_btn’
elc_multibuttonentry.c: In function ‘_entry_resized_cb’:
elc_multibuttonentry.c:1064:86: warning: unused parameter ‘event_info’
elc_multibuttonentry.c: In function ‘elm_multibuttonentry_item_select’:
elc_multibuttonentry.c:1531:12: warning: suggest explicit braces to avoid ambiguous ‘else’
elc_multibuttonentry.c: In function ‘_resize_button’:
elc_multibuttonentry.c:747:37: warning: ‘padding_inner’ is used uninitialized in this function
^Cmake: *** [libelementary_la-elc_multibuttonentry.lo] Error 1

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65550
2011-11-24 01:06:45 +00:00
Mike McCormack 905f9ec84a elementary: Fix warnings in multibuttonentry
test_multibuttonentry.c: In function ‘_item_selected_cb’:
test_multibuttonentry.c:7:37: warning: unused parameter ‘data’
test_multibuttonentry.c:7:56: warning: unused parameter ‘obj’
test_multibuttonentry.c: In function ‘_item_added_cb’:
test_multibuttonentry.c:15:34: warning: unused parameter ‘data’
test_multibuttonentry.c:15:53: warning: unused parameter ‘obj’
test_multibuttonentry.c: In function ‘_item_deleted_cb’:
test_multibuttonentry.c:22:36: warning: unused parameter ‘data’
test_multibuttonentry.c:22:55: warning: unused parameter ‘obj’
test_multibuttonentry.c:22:66: warning: unused parameter ‘event_info’
test_multibuttonentry.c: In function ‘_item_clicked_cb’:
test_multibuttonentry.c:28:37: warning: unused parameter ‘data’
test_multibuttonentry.c:28:56: warning: unused parameter ‘obj’
test_multibuttonentry.c: In function ‘_mbe_clicked_cb’:
test_multibuttonentry.c:34:36: warning: unused parameter ‘data’
test_multibuttonentry.c:34:66: warning: unused parameter ‘event_info’
test_multibuttonentry.c: In function ‘_mbe_unfocused_cb’:
test_multibuttonentry.c:54:38: warning: unused parameter ‘data’
test_multibuttonentry.c:54:68: warning: unused parameter ‘event_info’
test_multibuttonentry.c: In function ‘_mbe_focused_cb’:
test_multibuttonentry.c:61:36: warning: unused parameter ‘data’
test_multibuttonentry.c:61:55: warning: unused parameter ‘obj’
test_multibuttonentry.c:61:66: warning: unused parameter ‘event_info’
test_multibuttonentry.c: In function ‘_expanded_cb’:
test_multibuttonentry.c:67:32: warning: unused parameter ‘data’
test_multibuttonentry.c:67:51: warning: unused parameter ‘obj’
test_multibuttonentry.c:67:62: warning: unused parameter ‘event_info’
test_multibuttonentry.c: In function ‘_shrank_cb’:
test_multibuttonentry.c:73:30: warning: unused parameter ‘data’
test_multibuttonentry.c:73:49: warning: unused parameter ‘obj’
test_multibuttonentry.c:73:60: warning: unused parameter ‘event_info’
test_multibuttonentry.c: In function ‘_shrink_state_changed_cb’:
test_multibuttonentry.c:79:44: warning: unused parameter ‘data’
test_multibuttonentry.c:79:63: warning: unused parameter ‘obj’
test_multibuttonentry.c:79:74: warning: unused parameter ‘event_info’
test_multibuttonentry.c: In function ‘_item_filter_cb’:
test_multibuttonentry.c:85:47: warning: unused parameter ‘obj’
test_multibuttonentry.c:85:82: warning: unused parameter ‘item_data’
test_multibuttonentry.c:85:99: warning: unused parameter ‘data’
test_multibuttonentry.c: In function ‘_button_clicked_cb’:
test_multibuttonentry.c:92:38: warning: unused parameter ‘data’
test_multibuttonentry.c:92:57: warning: unused parameter ‘obj’
test_multibuttonentry.c:92:68: warning: unused parameter ‘event_info’
test_multibuttonentry.c: In function ‘test_multibuttonentry’:
test_multibuttonentry.c:161:38: warning: unused variable ‘bx2’

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65549
2011-11-24 01:06:36 +00:00
이고은 6824852f0c elementary: Add multibuttonentry widget
---------------------------------------------------

Dear Developers,

I added a new widget called “Multibuttonentry" which could be used as contact button in App
This widget allows a user to insert a text button.
text button is inserted by pressing the "Enter key"
If there is no space in the current row, the new button is entered in the next row. If the button is clicked, it will become focused.
And focused button can be removed by pressing the "backspace" key.
when items are added over 1 lines, if Multibuttonentry lost focus, it becase shrink mode (made it as 1 line)

Please review it's APIs and functionalities.

Thank you,
Goun

---------------------------------------------------

Widget was originally written by Hyunsil Park <hyunsil.park@samsung.com>.
It has been contributed to by the following people:
 * Jihoon Kim <jihoon48.kim@samsung.com>
 * WooHyun Jung <wh0705.jung@samsung.com>
 * deasung.kim <deasung.kim@samsung.com>
 * Myungjae Lee <mjae.lee@samsung.com>
 * Goun Lee <gouni.lee@samsung.com>
 * Mike McCormack <mj.mccormack@samsung.com>
 * Daniel Juyung Seo <juyung.seo@samsung.com>
 * Seunggyun Kim <sgyun.kim@samsung.com>
 * sanghoon80.cho <sanghoon80.cho@samsung.com>

Signed-off-by: 이고은 <gouni.lee@samsung.com>
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65548
2011-11-24 01:06:26 +00:00
Mike Blumenkrantz d40045cceb match partial test words in elm_test
SVN revision: 65544
2011-11-23 23:14:12 +00:00
Daniel Juyung Seo 1ec974561d elm genlist.edc: Used CURRENT feature for edc transition.
yay! this is the first commit using CURRENT.


SVN revision: 65537
2011-11-23 12:09:51 +00:00
Daniel Juyung Seo e9d191712a elm Elementary.h.in: Sync with AUTHORS.
SVN revision: 65536
2011-11-23 10:48:48 +00:00
Mike Blumenkrantz b06935fb7e should probably have my dev id in here with my name...
SVN revision: 65533
2011-11-23 08:49:47 +00:00
Mike Blumenkrantz ba11f8a9a3 change of email address: this is going to be ugly
SVN revision: 65531
2011-11-23 08:40:50 +00:00
Mike McCormack 1570bdbe3a elementary: Fix a warning
elm_win.c: In function ‘elm_win_focus_get’:
elm_win.c:2182:4: warning: ‘return’ with no value, in function returning non-void

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65527
2011-11-23 07:45:48 +00:00
ChunEon Park 4e13dde318 elementary/panes - change the default to left content
my fault. left content would be better as a default content 



SVN revision: 65525
2011-11-23 02:47:57 +00:00