Commit Graph

2104 Commits

Author SHA1 Message Date
Carsten Haitzler c040e048fc fix if formatting
SVN revision: 56022
2011-01-10 09:05:11 +00:00
ChunEon Park b34d8f7e0e From: ChunEon Park <chuneon.park@samsung.com>
Subject: [PATCH] elc_ctxpopup

Here code is for the ctxpopup. 

Since the functionalities of ctxpopup are somewhat different, 
I'm trying to overwrite the ctxpopup code entirely first. 

The main reason is, 
Original ctxpopup could determine it's size and position by itself.
Of course, upstreamed version supports this. But it can not be reduced
it's
size
And it supposes the arrow position to center of box edje. 

Basically, 
This version calculates it's box size first then find available space
from
the it's position. 
The origin position of the box is not expected, it finds the available
positions. 
But if there is not enough space to be shown, then it finds a best
direction
to be shown again.
In this case, it reduces it's size also as to be shown entirely. 
Since the ctxpopup supports scroller, the reduced box could show the all
items also. 
(The point is ctxpopup should know the size of total items...)

I'm not sure the upstreamed version could cover the above scenario, 
If then, I need to modify it first.

(fixed some minor formatting issue too)



SVN revision: 56021
2011-01-10 08:59:40 +00:00
Carsten Haitzler 91ec4bb1da make genlist use different icon for end for testing.
SVN revision: 56019
2011-01-10 06:46:59 +00:00
Daniel Juyung Seo 5a8b288fe3 From: Daniel Juyung Seo <seojuyung2@gmail.com>
Subject: [E-devel]  [Patch] elm_genlist doxygen fix and addition.

I fixed some typos of Genlist doxygen and added more explanations.
Please review this and apply this to upstream.



SVN revision: 56017
2011-01-10 05:39:13 +00:00
ChunEon Park ef41b5aff1 From: ChunEon Park <chuneon.park@samsung.com>
Subject: Re: [E-devel] [PATCH] elm_transit

Here is a very small patch for elm_transit 

Removed an unnecessary parameter. 



SVN revision: 56016
2011-01-10 05:34:58 +00:00
Jihoon Kim a9b51873bd From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] Change the second parameter type of
elm_slidershow_timeout_set

Most of APIs related to timeout_set / get uses double type as parameter,
but elm_slidershow uses integer type.

For uniformity, the second parameter type of elm_slideshow_timeout_set
is changed into double type.



SVN revision: 56015
2011-01-10 05:27:15 +00:00
Nicolas Aguirre 97e00d25bb Delete multi_timer of genlist when object is deleted.
SVN revision: 55992
2011-01-08 15:12:15 +00:00
Brett Nash e0a80d5b94 Add support for file:/// URIs in cut and paste and persistent URIs/
Patch original from Hyoyoung Chang.
Modified by me a lot, with some extra debug.
Also I removed the sizeof(char).  That was defined to be one before most of us
where born.

SVN revision: 55986
2011-01-08 04:55:31 +00:00
Brett Nash 19b609382c Fix rather terminal breakge in cnp.
The spanking belongs to raster and Hyoyoung Chang.

SVN revision: 55985
2011-01-08 04:55:15 +00:00
ChunEon Park 7a3aa60910 From: ChunEon Park <chuneon.park@samsung.com>
Even it looks somewhat alien elm, 

I hope EFL supports basic effect by using c and edc.

In some cases, it is useful for app developers. 
They want to use effects easily and quickly as Other F/W does
providing. 

Here is patch again.

Added two lines for elm_transit_duration_set exception handling. 

I guess there are possibilities still to add/modify some functions to
the
transit. 
So, currently the exception cases does not defined yet. 

But I will try patches soon as perfect things.

Please consider about transit.  

And..  if this transit is acceptable, 
How about deprecate elm_animator as soon as possible? 



SVN revision: 55966
2011-01-07 06:23:20 +00:00
Seunggyun Kim a01faf4d87 From: Seunggyun Kim <sgyun.kim@samsung.com>
Subject: RE: [E-devel] [Patch] Group index support

I added a small patch for Genlist group item clear.
And I changed git->minh to git->h in item_block_position function.
Thanks Govi



SVN revision: 55965
2011-01-07 04:58:37 +00:00
Mike Blumenkrantz a45ea59ca3 a widget toolkit should NOT, I repeat, should NOT, depend on HAL. especially when no HAL functionality is used.
SVN revision: 55961
2011-01-06 23:09:56 +00:00
Vincent Torri 640754ae71 add guards in config.h to avoid multiple inclusions
raster: may I rename elementary_config.h to config.h ? If I
add macros for all the init stuff, it would be nice to have
consistent name for that file


SVN revision: 55952
2011-01-06 19:01:34 +00:00
Daniel Juyung Seo 2f8ac1c9b3 From: Daniel Juyung Seo <juyung.seo@samsung.com>
Subject: RE: [E-devel] [Patch] Group index support

I added a small patch for Genlist Group.
I missed one. Thanks Govi!
Can you review this and apply it to upstream?



SVN revision: 55929
2011-01-06 08:58:28 +00:00
Carsten Haitzler 992df3a3ec make elm config system settings!
SVN revision: 55928
2011-01-06 08:52:32 +00:00
Seunggyun Kim 73b7fe6228 From: Seunggyun Kim <sgyun.kim@samsung.com>
Subject: [E-devel]  [Patch] Group index support

I added group index feature.
This feature support to show item indicates group index.
I attached capture images showing group index.
As you can see attached png images, Group index item includes same group
items.

The group index is shown until every items that have same group index
are scrolled. so group index realize/unrealize is not excuteded in
_item_block_position function.
instead of the function, group index is controlled in _pan_calculate
function.

"Genlist Group" and "Genlist Group Tree" menu is added in
elementary_test. you can test group index operations in elementary_test.

This patch is not support elm_genlist_item_insert_before/after
operation of group index. We are now considering the operations in group index.,

This patch assumes that the previous 2 patches are already applied to upstream.
'[E-devel] [Patch] Tree support for elm_genlist_item_prepend() API.'
'[E-devel] [Patch] Tree support for
elm_genlist_item_insert_before/after() APIs',
So this patch does not include the changes of the previous patch.

I separated this patch.

- 004.elm_genlist.c.patch.txt
    Patch for src/lib/elm_genlist.c
- 005.test_genlist.c.patch.txt
    Patch for src/bin/test_genlist.c 
- 006.genlist.patch.txt
    Patch for data/theme/default.edc
            
And you have to add attached group_index.png file into 'data/themes'
'group_index.png' file is group index background image. 


Daniel Juyung Seo help make test code and refactoring group index code.



SVN revision: 55925
2011-01-06 05:13:11 +00:00
sangho park f00ecc9242 From: sangho park <gouache95@gmail.com>
Subject: Re: [E-devel] [Patch] elm_map pinch zoom

This is a patch for elm_map pinch zoom.
you can zoom in/out using two fingers.

- add event handler for multi touch.

(also fixed the TOUCH_HOLD_RANGE to use finger size as it should be)



SVN revision: 55920
2011-01-06 03:43:51 +00:00
Bruno Dilly 4897c19265 Fix forgotten attribution of max year on elm calendar widget
This bug was always setting the displayed year to min year
when the function elm_calendar_min_max_set is called.



SVN revision: 55881
2011-01-05 14:23:39 +00:00
Gustavo Lima Chaves 9014c92101 Hello,
I fixed a bug for elm_genlist_item_insert_before/after() declarations.
(Thanks glima.)

I should have modified EINA_ARG_NONNULL() when I added a new parameter.
1st and 5th parameter should not be NULL.

Anybody can review and apply this to upstream?

Thanks.
Daniel Juyung Seo (SeoZ)



SVN revision: 55880
2011-01-05 14:07:40 +00:00
Jeonghyun Yun d2a48ca5a5 From: Jeonghyun Yun <jh0506.yun@samsung.com>
Subject: [E-devel]  [Patch] elm_genlist multi-touch smart callbacks
added

I added 6 multi-touch smart callbacks in elm_genlist, please refer to
below.

"multi,sweep,left" - Genlist has been multi-touch swept left.
"multi,sweep,right" - Genlist has been multi-touch swept right.
"multi,sweep,top" - Genlist has been multi-touch swept top.
"multi,sweep,bottom" - Genlist has been multi-touch swept bottom.
"multi,pinch,out" - Genlist has been multi-touch pinched out.
"multi,pinch,in" - Genlist has been multi-touch pinched in.

I think these smart callbacks are very useful for elm_genlist
multi-touch
effect.

If this patch have any issue, please let me know.



SVN revision: 55878
2011-01-05 10:28:23 +00:00
Carsten Haitzler 3e6b3bcd0c and return NULL - shoudl return A value on exit.
SVN revision: 55875
2011-01-05 07:52:49 +00:00
Carsten Haitzler 2863b066ff as_anim label not used. remove.
SVN revision: 55874
2011-01-05 07:52:15 +00:00
Carsten Haitzler 0e5af95b0d dont need void * casts. void * accepts everything.
SVN revision: 55873
2011-01-05 07:51:51 +00:00
Daniel Juyung Seo bbc823a1eb From: Daniel Juyung Seo <juyung.seo@samsung.com>
Subject: [E-devel]  [Patch] elm_actionslider feature patch for
elementary.

This patch is for elementary elm_actionslider.
Mr. Sumanth created this patch. I reviewed it and fixed some.

This patch includes below features.
- Indicator label Set/Get APIs.
- _del_hook fix for wd->drag_button_base.
- Added magnet disable feature. _drag_button_up_cb fix for no magnet
handling. If magnet position is set to ELM_ACTIONSLIDER_NONE, it disables
magnetic. Added a test case to elementary_test.



SVN revision: 55872
2011-01-05 07:49:11 +00:00
Hyoyoung Chang 5edd6acce3 From: Hyoyoung Chang <hyoyoung.chang@samsung.com>
Subject: [E-devel] elm_label patch(bugfix)

It's a bugfix patch of elm_label.
In strbuf_key_value_replace, null pointer reference can be occured



SVN revision: 55870
2011-01-05 06:21:24 +00:00
Daniel Juyung Seo 2c441b83a7 From: Daniel Juyung Seo <juyung.seo@samsung.com>
Subject: [E-devel] [Patch] Tree support for
elm_genlist_item_insert_before/after() APIs

I added tree feature support to
elm_genlist_item_insert_before/after() APIs.

This patch assumes that the previous patch, '[E-devel] [Patch] Tree
support
for elm_genlist_item_prepend() API.', is already applied to upstream.
So this patch does not include the changes of the previous patch.

This patch includes API break. I added parent parameter.
To support genlist group index feature, it should have a parent
parameter
like elm_genlist_item_append/prepend() do.
Raster already agreed to this API break.
I or my co-worker will introduce genlist group index feature today.
But for the reviewer's convenience, I separated this patch.

- 001.elm_genlist.patch.txt
   Patch for src/lib/elm_genlist.c
- 002.elm_genlist.patch.txt
   Patch for src/lib/Elementary.h.in, src/bin/test_genlist.c
- 003.elm_genlist.patch.txt
   Due to API break, I changes other EFL libraries and applications on SVN. 



SVN revision: 55869
2011-01-05 06:03:43 +00:00
Daniel Juyung Seo c18254de7f From: Daniel Juyung Seo <juyung.seo@samsung.com>
Subject: [E-devel] [Patch] Tree support for elm_genlist_item_prepend()
API.

I added tree feature support to elm_genlist_item_prepend() API.
(elm_genlist_item_append() already supports tree.)
This patch is tested with elementary_test -> Genlist Tree.
Please review this and apply it to upstream.



SVN revision: 55868
2011-01-05 05:59:30 +00:00
ChunEon Park 46882ac7e9 From: ChunEon Park <chuneon.park@samsung.com>
Subject: [E-devel] [PATCH] elm_tansit

002_elm_transit.c : renamed (Elm_Effect / Elm_Fx) -> Elm_Transit_Effect



SVN revision: 55866
2011-01-05 05:48:17 +00:00
ChunEon Park f290c3a805 From: ChunEon Park <chuneon.park@samsung.com>
Subject: [E-devel] [PATCH] elm_tansit

001_elm_transit.c. : fixed elementary_test resizing / zoom effect bug. 



SVN revision: 55861
2011-01-05 05:17:18 +00:00
Mike Blumenkrantz 794e816d56 add -lm to elm_test thanks to quaker66
SVN revision: 55855
2011-01-04 20:07:10 +00:00
김지훈 ccfcd3ed74 From: 김지훈 <imfine98@gmail.com>
elm_photocam widget does not support keyboard input.
This patch makes elm_photocam be able to process keyboard input such
as Left,
Right, Up, Down, PgDn, and PgUp key.
In addition, image will be zoomed in or out when '+' or '-' key in
keypad is pressed.

Please review it and let me know if there is any problem in this patch.



SVN revision: 55842
2011-01-04 10:09:48 +00:00
Jeonghyun Yun dda2eae31a From: Jeonghyun Yun <jh0506.yun@samsung.com>
I found one small bug in elm_gengrid.c

"item" is used after "free(item)" in elm_gengrid_item_del() function.

Can anybody check about this ? 



SVN revision: 55841
2011-01-04 10:05:27 +00:00
Jihoon Kim 6e782c1702 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] elm_map patch for supporting keyboard input

Most of elementary widgets can process keyboard input, but elm_map widget
has not. This patch makes elm_map be able to process keyboard input such as
Left, Right, Up, Down, PgDn, and PgUp key. In addition, map image will be
zoomed in or out when '+' or '-' key in keypad.

Please review it and let me know if there is any problem in this patch.
Merry Christmas!



SVN revision: 55840
2011-01-04 08:45:27 +00:00
Sohyun Kim f99cf1fa94 From: Sohyun Kim <anna1014.kim@samsung.com>
Subject: [E-devel] [Patch] elm_bubble theme patch

I'm Sohyun Kim. Nice to meet you.

This is a patch for bubble theme.

The bubble has a region for icon, label and info text. 
However, it has the region, if icon, label and info text are not set.
I modified theme and added edje signals.

1. add edje signal for label and info text state
2. remove text size for label and info text default state
   -> set it on "visible" state
3. add base image state for info text only
   


SVN revision: 55839
2011-01-04 08:42:55 +00:00
Vincent Torri e9a4ab576a update MAINTAINERCLEANFILES
SVN revision: 55825
2011-01-03 08:49:41 +00:00
Fabiano Fidêncio 0f2b624dc3 Fixed elementary/src/lib/elm_widget.h doxygen.
Fixed typos and removed unnecessary lines.

Patch by Daniel Juyung Seo (SeoZ)



SVN revision: 55787
2010-12-31 08:45:45 +00:00
Christopher Michael 1465ef7735 Add UNUSED so we get a clean compile.
SVN revision: 55786
2010-12-31 01:13:36 +00:00
Christopher Michael 61cb33c4be Add UNUSED where needed.
Fix formatting.



SVN revision: 55785
2010-12-31 01:10:55 +00:00
Christopher Michael 34e18ed4e4 If you add new atom names, be sure to bump the atom count. (This
removes more nasty compiler messages about excess elements in array
initializer, etc, etc).



SVN revision: 55784
2010-12-31 01:08:41 +00:00
Christopher Michael edb84e27c2 Fix up functions & prototypes to match the proper ElmMapSourceURLFunc
declaration so we can remove stupid "nobody checked the code" compiler
warnings.



SVN revision: 55783
2010-12-31 01:08:01 +00:00
Bruno Dilly 68b7d489df Remove unnecessary code from elm_colorselector
evas_object_show(obj); codes can be deleted if the obj will be swallowed

By: WooHyun Jung <wh0705.jung@samsung.com>


SVN revision: 55760
2010-12-27 03:18:48 +00:00
Carsten Haitzler 12add1f6ef make flush config have a master boolean enable/disable
SVN revision: 55744
2010-12-24 16:02:30 +00:00
Christopher Michael bdc406c4e0 Patch from WooHyun Jung to fix small bug in elm_main:
"exe" is used just after "free(exe)".



SVN revision: 55743
2010-12-24 09:58:20 +00:00
Gustavo Lima Chaves 2a5caa915c Self spank?
SVN revision: 55695
2010-12-21 20:47:25 +00:00
Seunggyun Kim c7fec6cfd3 From: Seunggyun Kim <sgyun.kim@samsung.com>
Subject: [E-devel] [Patch] els_scroller momentum_animator and bounce
animator disabled set/get added

This is a patch for momentum_animator and bounce animator
enabling/disabling
in els_scroller.

I added below api for disabling when the scroller's momentum or bounce
animator need to be disabled in some case.

Eina_Bool elm_smart_scroller_momentum_animator_disabled_get
(Evas_Object
*obj);
void elm_smart_scroller_momentum_animator_disabled_set
(Evas_Object *obj, Eina_Bool disabled);
void elm_smart_scroller_bounce_animator_disabled_set
(Evas_Object *obj, Eina_Bool disabled);
Eina_Bool elm_smart_scroller_bounce_animator_disabled_get
(Evas_Object
*obj);



SVN revision: 55690
2010-12-21 10:05:18 +00:00
Carsten Haitzler 2696d9a740 Rajeev Ranjan(in India) made a patch for elm_button.
Reasons for this patch are as follows. 

1. Clicked signal is emitted from button when mouse release region
coincides
with button region and there has not been any drag outside the region
during
pressed state. (theme change)

2. Unpressed signal is emitted from button every time we press on
button and
unpress it irrespective of whether we unpress in button's region or
outside.
(theme change)

3. The unsetting of maximum size hint has been removed from _sizing_eval
function as there is a possibility that some application may set this
hint
and if we unset it then this information set by application will be
lost.

4. Modification in test code for button to show the difference between
clicked and unpressed signal emission from this widget. Added a
scroller in
the heirarchy to show the effect of hold on clicked signal emission.



SVN revision: 55687
2010-12-21 09:32:50 +00:00
Carsten Haitzler ed8af1383f From: 백근훈 [mailto:knhoon.baik@samsung.com]
Subject: elm_all_flush 관련하여 패치 검토 요청

elm_all_flush doesnt clear eet's cache. fix. :)



SVN revision: 55685
2010-12-21 09:17:11 +00:00
sangho park 6f63c7bf30 From: sangho park <gouache95@gmail.com>
Subject: [E-devel] [Patch] elm_map module patch

This is a patch for elm_map module.
when app developers or companies want to use specific license map (i.e
google map), module is needed.

- add new map provider for module "ELM_MAP_SOURCE_MODULE".
- add test_map module.
- add test code for module provider.
- add my name to AUTHORS.



SVN revision: 55684
2010-12-21 09:14:47 +00:00
Gustavo Lima Chaves 654cdc80f8 Revert "This helps at Elementary vs non-Elementary UI elements mix scenarios WRT *focus*."
This proved not to help much, as dealing with non-elm things
focus-wise is pure hell. Reverting.



SVN revision: 55675
2010-12-20 19:21:17 +00:00
Mike Blumenkrantz f821b8a797 Hello,
here is a patch for elm_genlist.

Fixing Eina_Bool in elm_genlist.
0 -> EINA_FALSE
1 -> EINA_TRUE
And fixed return value of _item_block_recalc from int to Eina_Bool.

Anybody can review this and apply it to upstream?

Thanks.
Daniel Juyung Seo (SeoZ)


SVN revision: 55673
2010-12-20 17:03:12 +00:00