Commit Graph

484 Commits

Author SHA1 Message Date
Carsten Haitzler c2d396e11a add in proper declaration of elm_transit_add with void as a param -
and fix from ChunEon Park <chuneon.park@samsung.com> for it tin test
app.



SVN revision: 56040
2011-01-11 05:58:07 +00:00
sangho park 4502370c80 From: sangho park <gouache95@gmail.com>
Subject: [E-devel] [Patch] elm_map downloading progress info & bug fix

I added one new signal, one new API and fixed seg fault bug.

- signal : "download" (this signal is called when map_tile is
downloaded)
- API : elm_map_utils_downloading_status_get(const Evas_Object *obj, int
*try_num, int *finish_num)
- seg fault : if user select custom map provider, seg fault occurs,
because
there is no url_cb in the custom map provider

you can check download progress using these signal & API.
the example is in "test_map.c".



SVN revision: 56039
2011-01-11 05:48:28 +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
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
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
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
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
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
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
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
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
Carsten Haitzler 12add1f6ef make flush config have a master boolean enable/disable
SVN revision: 55744
2010-12-24 16:02:30 +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
Hyoyoung Chang 95032260a7 From: Hyoyoung Chang <hyoyoung.chang@samsung.com>
Subject: Re: [E-devel] elm_label patch(ellipsis, sliding)

It's a elm_label patch.
My previous patch is too big to submit.
So I did split into patch files.
(Thanks for Gastavo and Rasterman)

 2. adding label text sliding feature
 


SVN revision: 55654
2010-12-20 08:55:06 +00:00
Hyoyoung Chang 0c61ced335 From: Hyoyoung Chang <hyoyoung.chang@samsung.com>
Subject: Re: [E-devel] elm_label patch(ellipsis, sliding)

Dear Elementary developers.

It's a elm_label patch.
My previous patch is too big to submit.
So I did split into patch files.
(Thanks for Gastavo and Rasterman)

main changes are
 1. refine ellipsis algorithm
    - improve to cut string to fit 



SVN revision: 55653
2010-12-20 07:18:23 +00:00
Myungjae Lee 809e800133 From: Myungjae Lee <mjae.lee@samsung.com>
Subject: [E-devel]  [PATCH] elm scroller, scrolled entry: events
propagation, min size

It's not possible to connect event handler such as
EVAS_CALLBACK_KEY_UP to
elm_scrolled_entry because the scroller inside the scrolled entry does
not
propagate events. So this is the patch for adding events propagation set
function to scroller and setting it to EINA_TRUE in elm scrolled entry.

And one more thing in scrolled entry, while evaluating its size,
scrolled
entry does not consider its min size.
(It just refers to the min size of its scroller object instead of
scrolled
entry object.)
So here in the attached patch, scrolled entry compares its min size to
the
min size of the scroller object and set the bigger one to its min size
to
keep the min size set by intent.

looks good - some mistakes you made. you forgot the patch that adds
elm_scroller_propagate_events_set() to Elementary.h.in .... i added it
for
you. but remember to include it in your patch next time. Also  the
documentation could be a LOT better! i fixed that for you too. also -
you
could have added a elm_scroller_propagate_events_get(). i added that
too for
you. oh.. and you didn't use ELM_CHECK_WIDTYPE().



SVN revision: 55609
2010-12-17 10:47:55 +00:00
ChunEon Park c28e1674ac From: ChunEon Park <chuneon.park@samsung.com>
003_elm_transit.diff.txt (made all effect context APIs private. But
expose
each one façade API to use easy.) 



SVN revision: 55579
2010-12-16 07:53:42 +00:00
Gustavo Lima Chaves 1c1473c54b Auto spank.
SVN revision: 55450
2010-12-10 13:32:10 +00:00
Gustavo Lima Chaves 19f5f9fc00 New Fileselector mode: GRID.
SVN revision: 55448
2010-12-10 13:01:51 +00:00
ChunEon Park 45ede1c718 From: ChunEon Park <chuneon.park@samsung.com>
Subject: Re: [E-devel] elm_transit patch

* deprecated elm_transit_event_block_set and added
elm_transit_event_enabled_set
* modified event_enabled = EINA_FALSE as a default



SVN revision: 55437
2010-12-10 05:41:14 +00:00
Carsten Haitzler 394b4f1bff and more formatting fixes
SVN revision: 55338
2010-12-07 00:59:06 +00:00
Carsten Haitzler f3c202a674 and lets format stuff nicely eh?
SVN revision: 55337
2010-12-07 00:57:42 +00:00
Carsten Haitzler ff9a846a6e mark sat.sun/weekday calls as deprecated and show how to do it with
marks.



SVN revision: 55336
2010-12-07 00:56:21 +00:00
Gustavo Lima Chaves e2b7c27106 New Elementary Config. App. options tab: Scrolling.
Also introducing config. API to set/query those values.



SVN revision: 55328
2010-12-06 12:46:10 +00:00
Carsten Haitzler f47d6203b0 elementary.h.... oh so much formatting cleanup. spacing... etc. also
elm_thumb really has no choice - has to return void * for thumb client.



SVN revision: 55252
2010-12-04 04:10:25 +00:00
ChunEon Park 2e42e5ccbe From: ChunEon Park <chuneon.park@samsung.com>
Subject: [E-devel]  [Patch] elm_animator

Please check this small patch. 
Added one miner API. 

Thanks. 

The Hermet 




SVN revision: 55251
2010-12-04 02:59:43 +00:00
helen 5034e4e8c7 Using EINA_ARG_NONNULL in Elementary.
The Api is very large, probably there is some EINA_ARG_NONNULL that are
missing in some parameters and others that I put that should not be
there, I tried my best to not have these mistakes, if you find
any, please, fix it :).

SVN revision: 55189
2010-12-03 14:08:37 +00:00
Otávio Pontes ee43dafc16 elm_toolbar_item_icon_get should return the icon string.
Also improves documentation related to icon_set/icon_get.

SVN revision: 55182
2010-12-03 10:58:46 +00:00
samsung 1d275544a9 From: samsung.
some added features to calendar. along with fixes of those features so
they work right.



SVN revision: 55177
2010-12-03 07:58:43 +00:00
Rui Seabra 4120b97f68 Documentation patch from Daniel Juyung Seo
SVN revision: 55123
2010-12-01 17:38:42 +00:00
Carsten Haitzler f8b8439868 magnet->action (slider)
SVN revision: 55116
2010-12-01 09:54:20 +00:00
Carsten Haitzler ea1672a331 hoverlist -> ctxpopup - as its not just a list really. it is a popup
of arbitrary content. list is one of them.



SVN revision: 55112
2010-12-01 06:52:46 +00:00
Tiago Rezende Campos Falcao 670ca32f20 Event Callback
SVN revision: 55061
2010-11-29 13:56:30 +00:00
Gustavo Lima Chaves d93f1754b7 Elm style on disabled/enabled setter/getters has been this one.
Sorry for the incovenience, man at work.



SVN revision: 55058
2010-11-29 13:15:09 +00:00
Iván Briano 77b0cb3ff0 Longpress timeout is now configurable.
Patch by WooHyun Jung <wh0705.jung@samsung.com>


SVN revision: 54939
2010-11-24 17:11:34 +00:00
Gustavo Lima Chaves bbeb7cfcc5 Elm caching settings exposed, part II.
Edje caching primitives exposed in Elm, too, now, and stored at
config. Also, there's now a poller running for all Elm apps doing
cache flushing. All these things have configurable values, of course.

Testing config version bumping too, it should work.



SVN revision: 54851
2010-11-23 06:10:58 +00:00
Tiago Rezende Campos Falcao 80fc46f893 Add elm genlist scroller policy setter/getter
Author: "Marco Trevisan (Treviño)" <mail at 3v1n0.net>

And add NULL check in elm_list scroller policy getter/setter.

SVN revision: 54797
2010-11-22 15:24:58 +00:00
Gustavo Lima Chaves 4633eb92d8 Elm caching settings exposed, part I.
Now working on exposing edje caching too, and having a cache dumping
poller.  Patch also replaces some focus_overalay object functions,
too.



SVN revision: 54770
2010-11-22 06:56:06 +00:00
Carsten Haitzler 63fd838ebe move store to an actual lib file - elementray.h too and check for
pthread support due to locks. (vtorri - windows way of doing this?)



SVN revision: 54740
2010-11-20 11:12:15 +00:00
Tiago Rezende Campos Falcao 20db73ea48 Not return const Evas_Objects in (icon|end)_get
SVN revision: 54688
2010-11-18 12:55:31 +00:00
Gustavo Lima Chaves 1228afe8e0 Elementary's header little fixes.
SVN revision: 54682
2010-11-18 10:01:36 +00:00
Gustavo Lima Chaves f9172244ac Elementary welcomes text classes support.
I'm now populating the default theme with text classes, just commit
with one for now. There can be tweakings at Elm config app's UI fonts
page, I know, but that will come later (editable preview field, font
hinting/fallback, blablabla).

WARNING: for users testing elm config, an old "rm -rf
~/.elementary/config" might be needed here, after this commit.



SVN revision: 54681
2010-11-18 10:01:24 +00:00
Bruno Dilly ef9a69ed30 Fix elm_layout convenience macros II
I missed one.


SVN revision: 54649
2010-11-17 19:06:41 +00:00
Bruno Dilly 7626685c25 Fix elm_layout convenience macros
SVN revision: 54648
2010-11-17 18:51:43 +00:00
Bruno Dilly a69cc68c57 Add elm_genlist_item_item_class_update
1. elm_genlist_item_item_class_update() API
It is required to change an item's item class on run-time.
Applications want to change a certain item's style and callbacks
dynamically.
This looks ok because changing one item's style does not affect performance,
And this API uses elm_genlist_item_update internally.
API name follows elementary naming conventions.
I've also added test code to elementary_test, Genlist 7.

2. constant to macro.
I replaced 2 constants for max_item_per_block and longpress_timeout to
macros.
This could be used in other places of the code.

3. duplicated assignment.
In elm_genlist_item_append, it->before = 0 is written in if and else.
I put this statement out of if().

4. fix doxygen typo
I fixed elm_genlist_compress_mode_set doxygen.

By: Daniel Juyung Seo <juyung.seo@samsung.com>



SVN revision: 54639
2010-11-17 17:15:28 +00:00
Bruno Dilly 17cfad1c80 Ooops.. fix homogenous / homogeneous inconsistency on elm_table
Actually it would be nice to fix these in the entire API.
Most widgets use homogenous, elm_genlist uses homogeneous,
that looks to be the name adopted on evas.



SVN revision: 54634
2010-11-17 16:30:05 +00:00
Bruno Dilly 5845793808 Add getters for anchorblock and anchorview hover style
SVN revision: 54475
2010-11-11 19:47:56 +00:00
Bruno Dilly bad1264722 Emit clicked on elm_bubble
Closes ticket #441


SVN revision: 54467
2010-11-11 18:04:45 +00:00
Bruno Dilly ed6cd22ddf Fix bubble corner and theme hook issues
SVN revision: 54466
2010-11-11 18:04:08 +00:00