Commit Graph

2449 Commits

Author SHA1 Message Date
Carsten Haitzler 9b23130f71 tnx vtorri -> cleaner module thing. more minimal changes.
SVN revision: 56400
2011-01-30 09:50:56 +00:00
Carsten Haitzler 77db5196c8 lock externals to major version of edje.
SVN revision: 56397
2011-01-30 05:59:24 +00:00
Michael BOUCHAUD 1b6d65550b elementary: add a smart callback to slideshow to be notified when current item change
SVN revision: 56336
2011-01-27 22:58:28 +00:00
Michael BOUCHAUD 0f80e8a743 elementary: avoid stack corruption unselect item toolbar before del it
SVN revision: 56335
2011-01-27 22:14:32 +00:00
Tom Hacohen f1ea3ee423 Elementary: implemented elm_scrolled_entry_is_empty and elm_entry_is_empty. Currently done in a hackish way, will be fixed to be cool once 1.0 is out, and the needed textblock support will be there.
SVN revision: 56296
2011-01-25 03:04:33 +00:00
Tom Hacohen 8a81ba1202 Elementary: Improved els_scroller's handling with scrolling and 'wanted location', unfortunately momentum scrolling isn't handled correctly at the moment should be fixed.
SVN revision: 56294
2011-01-25 02:19:06 +00:00
Tom Hacohen 1fc531aabf Elementary: Adjusted elm_list to work with the changes in els_scroller.
SVN revision: 56293
2011-01-25 02:19:03 +00:00
Carsten Haitzler a478e32d82 fix label theme.
SVN revision: 56285
2011-01-24 11:30:20 +00:00
Tom Hacohen 8d4db80639 Elementary: Wrote proper support for "wanted position" in els_scroller. It will now save the position we really wanted to get to (for example because of scrolling) and will go back to that place after resizes. Fixes a couple of bugs.
In this change I also introduced elm_smart_scroller_child_region_set thats used to change the position of the scroller, without actually saving it as a wanted position.

SVN revision: 56284
2011-01-24 10:50:35 +00:00
Tom Hacohen 5871b29ea1 Elementary: Fixed the way elm_scrolled_entry_cursor_end_set worked. It now just queries the show region which is mostly good, until we'll really define what we want to be shown.
SVN revision: 56283
2011-01-24 10:50:33 +00:00
Tom Hacohen 243a408200 Will soon commit a better solution instead.
Revert "Elementary scroller: Fixed an issue in scroller. When a resize happens (or any change for that matter), we should go to the last "asked for" location. This for example fixes an issue with elm_scrolled_entry (and many other widgets) showing "empty regions" on some resizes."

This reverts commit f322bd28101518849c53e6d56b93c206e4129162.

SVN revision: 56282
2011-01-24 10:50:30 +00:00
Tom Hacohen 39ba7b1c23 Will soon commit a better solution instead.
Revert "Elemenatry: Fixed an issue with elm_scrolled_entry_cursor_end_set not showing the correct region."

This reverts commit 90e80c4045d0c7031b0b01b67b06f62ea8efb14f.

SVN revision: 56281
2011-01-24 10:50:27 +00:00
Carsten Haitzler e125443cf8 now there's a good idea! let's actually USE thew config value eh?
*spank myself*



SVN revision: 56279
2011-01-24 10:21:58 +00:00
Tom Hacohen 17d8af43e7 Elemenatry: Fixed an issue with elm_scrolled_entry_cursor_end_set not showing the correct region.
SVN revision: 56278
2011-01-24 03:01:36 +00:00
Tom Hacohen cc49bde155 Elementary: Added elm_entry_cursor_geometry_get for getting the cursor's geometry.
SVN revision: 56277
2011-01-24 03:01:33 +00:00
Tom Hacohen 5e82ffad18 Elementary scroller: Fixed an issue in scroller. When a resize happens (or any change for that matter), we should go to the last "asked for" location. This for example fixes an issue with elm_scrolled_entry (and many other widgets) showing "empty regions" on some resizes.
SVN revision: 56276
2011-01-24 03:01:29 +00:00
Michael BOUCHAUD 338cd44b00 elementary: and this fix me :p
SVN revision: 56245
2011-01-20 20:07:57 +00:00
Michael BOUCHAUD 3ce02c7b92 elementary: fix bug on keyboard events in slideshow timeout are not respected
SVN revision: 56243
2011-01-20 19:44:12 +00:00
Nicolas Aguirre 7a26737343 Add more info in the doc about the return value.
SVN revision: 56227
2011-01-19 19:25:49 +00:00
Nicolas Aguirre a865fab5ad Add elm_layout_data_get function to retrieve data associated to the underlying edje object.
Data that comes from block like data.item: "key" "value" in the EDC.



SVN revision: 56225
2011-01-19 18:28:01 +00:00
Carsten Haitzler 7ab9807bd0 fix over-render bug in map/mapbuf and with changed flags! that was
nasty to find!



SVN revision: 56220
2011-01-19 11:59:53 +00:00
Carsten Haitzler 16e1e0b663 dont ALWAYS init elm for externals - if one isnt used.. why init it?
(for that matter externals has a problem in design - it loads every
module for externals and thus links in every lib even if never used by
the app/edje obj).



SVN revision: 56218
2011-01-19 04:55:19 +00:00
Carsten Haitzler 329ab2ac38 thanks capn' igloo - trying to repro your enna cpu usage case, but
can't. its a matter of simply some element re-rendering that is hidden
- rendering into a mapped buffer. i disable the animation in the
layout (layout2) and no cpu usage. that's my bet.



SVN revision: 56204
2011-01-17 10:47:12 +00:00
Carsten Haitzler a3f6b0b67b fix possible empty if that can caus eproblems on some shells.
SVN revision: 56203
2011-01-17 08:34:20 +00:00
Mike Blumenkrantz 53bb875914 In C, the following two prototypes are not the same:
void func();
void func(void);

Attached patch fixes occurrences of 1st in Elementary.h

thanks,

Mike


SVN revision: 56202
2011-01-17 08:12:32 +00:00
Carsten Haitzler fa651b4b34 warning--
SVN revision: 56188
2011-01-16 08:16:45 +00:00
Carsten Haitzler 650c45f28a well that file read wasnt safe.
SVN revision: 56132
2011-01-15 15:34:39 +00:00
WooHyun Jung 1c5b26784c From: WooHyun Jung <wh0705.jung@samsung.com>
Subject: [E-devel] [Patch] small patch for elm_pager.c

I felt strange with the following codes in elm_pager.c

Why it->content should be hidden after deleted ? 

Is it a bug ? 

I made a small patch for this



SVN revision: 56127
2011-01-15 08:39:33 +00:00
ChunEon Park 8d17a71e5b From: ChunEon Park <chuneon.park@samsung.com>
Subject: RE: [E-devel] [PATCH] elm_transit

modified some test sample codes for looking better. 



SVN revision: 56126
2011-01-15 08:09:42 +00:00
ChunEon Park b013b741c9 From: ChunEon Park <chuneon.park@samsung.com>
Subject: RE: [E-devel] [PATCH] elm_transit

elm_transit_paused_set / elm_transit_paused_get /
elm_transit_progress_value_get



SVN revision: 56125
2011-01-15 08:09:03 +00:00
Brett Nash c1a93b1841 Elm: Entry: cnp: Actually use the calculated format.
And I read this patch twice before I sent it.  So support images and text
again in entry _paste.

SVN revision: 56079
2011-01-13 23:08:37 +00:00
Brett Nash 78418c0226 Elm: Entry: cno: Add support for using text only in entries.
By default it's text only for single line entries (you can toggle it back on
if you want to).  Otherwise images are enabled for multiline entries.

SVN revision: 56078
2011-01-13 23:04:25 +00:00
Brett Nash 404f5fb1fd Elm: cnp: Allow updating of drop info.
Currently you can't update drop info on a window.  Now you can.

SVN revision: 56077
2011-01-13 23:04:14 +00:00
Brett Nash 9f48c78ee6 Elm: CNP: Images/Markup split up
So basically you can request markup without images.  If you want both request
MARKUP | IMAGES.  Then when an image comes in you'll get an image as markup.

SVN revision: 56076
2011-01-13 23:04:04 +00:00
Brett Nash 512553c410 Elm: cnp: Split out images and markup.
So if you want both images and markup use an or tag to get them.

SVN revision: 56075
2011-01-13 23:03:49 +00:00
Gustavo Lima Chaves 6c9419dbbb We don't want this timer to cause race conditions with item deletion, eh?
SVN revision: 56057
2011-01-12 12:58:26 +00:00
Carsten Haitzler 000843b6f0 safety - check wd return for null.
SVN revision: 56056
2011-01-12 10:04:11 +00:00
Carsten Haitzler 305ee514a6 warnings--
SVN revision: 56049
2011-01-11 09:58:34 +00:00
Carsten Haitzler 6f4cf7ca58 warning--
SVN revision: 56048
2011-01-11 09:54:41 +00:00
Carsten Haitzler 584367b3eb warning--
SVN revision: 56047
2011-01-11 09:49:16 +00:00
Carsten Haitzler 3a1c08cd03 warning--
SVN revision: 56046
2011-01-11 09:47:56 +00:00
Carsten Haitzler 1dd7415d72 and handle null/default theme stuff
SVN revision: 56045
2011-01-11 09:40:03 +00:00
Carsten Haitzler bbb3cea0ef fix theme specific add if default theme involved.
SVN revision: 56042
2011-01-11 07:48:02 +00:00
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
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
Carsten Haitzler 74ac6237c1 move image extensions to the file top along with other tables.
SVN revision: 55658
2010-12-20 11:10:32 +00:00
Carsten Haitzler 9700e8f48b god... thank god... my eyes dont hurt as much anymore. (cnp helper
heavily formatting fixed, extensions become a table, extended and ..
well.. just in general fixed).



SVN revision: 55657
2010-12-20 11:09:19 +00:00
Hyoyoung Chang b69fa14c93 From: Hyoyoung Chang <hyoyoung.chang@samsung.com>
Subject: [E-devel] elm_cnp_helper patch(check string length)

Dear Brett Nash, and Elementary developers.

It's a elm_cnp_helper patch.

main changes are
    1. check string length when retrieving filename
    2. adding bmp filetype and ignoring filetype case

(also a type error fix for utf8).
        


SVN revision: 55656
2010-12-20 09:47:30 +00:00
Carsten Haitzler 994d787fcc lots of transit formatting cleanups/fixups and making symbols static
that should have been etc. minor cleanups - no code logic changes.



SVN revision: 55655
2010-12-20 09:21:12 +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
Carsten Haitzler de13e30b39 fix warning/formatting.
SVN revision: 55652
2010-12-20 06:47:02 +00:00
Carsten Haitzler c1a90b065a safe strncpy.
SVN revision: 55651
2010-12-20 06:42:03 +00:00
Carsten Haitzler 53a768b573 and use new util calls from entry too and remove old code.
SVN revision: 55650
2010-12-20 06:05:59 +00:00
Carsten Haitzler 9b7a05755b move mkup to/from text calls to elm_util.c in preparation for some
patches.



SVN revision: 55649
2010-12-20 06:05:09 +00:00
Carsten Haitzler 032c5c94de make pager resizable for tests.
SVN revision: 55648
2010-12-20 06:02:53 +00:00
WooHyun Jung e61549bce8 From: WooHyun Jung <wh0705.jung@samsung.com>
Subject: [E-devel] [PATCH] Patch for elm_slider.c (if you click the
bar of the slider, the button will be at there.)

I made one patch for elm_slider.c file.

If you click the bar of the slider, the button will be located at there.

(If you keep your "mouse_down" after moving of the button, you can
continuously move the button.)



SVN revision: 55610
2010-12-17 10:52:59 +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
Gustavo Lima Chaves 19daef4293 This helps at Elementary vs non-Elementary UI elements mix scenarios WRT *focus*.
It seems not to hurt at Elementary only applications, but if you see
any regressions, please tell me!!



SVN revision: 55600
2010-12-16 18:38:46 +00:00
Gustavo Lima Chaves 160bef2629 One more useful debugging info. at the dot graph.
SVN revision: 55599
2010-12-16 18:38:38 +00:00
Iván Briano 3042def9bd I don't really know much about these things, but some people believes that passing distcheck is a Good Thing®
SVN revision: 55598
2010-12-16 18:14:31 +00:00
Myungjae Lee e16cbefa0e From: Myungjae Lee <mjae.lee@samsung.com>
Subject: Re: [E-devel] [PATCH] elm widget: make show_region_set
function call all region show functions set by parents

I'm trying to send several patches that I've changed.
This is just the beginning of my patch rushes..

'elm_widget_show_region_set' function works fine in the simple case (any
widget inside one scroller) however, in the complex parent-child case
(such
as entry in the box in the horizontal scroller in the layout in the
vertical
scroller) it doesn't work correctly because all show region functions
set by
scrollers are not called.

So I changed it to call all show region functions set by its parents
widgets
if exist.

Please review the attached patch file and feel free to give me any
kind of
feedback.



SVN revision: 55592
2010-12-16 09:53:25 +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
ChunEon Park 7d29c9eece From: ChunEon Park <chuneon.park@samsung.com>
001_elm_transit.diff.txt (modified few test cases to make look better)



SVN revision: 55576
2010-12-16 07:35:10 +00:00
Carsten Haitzler 46074a856a fix scroller hold flag retention by momentum scroller on bounce.
SVN revision: 55568
2010-12-16 03:57:53 +00:00
Carsten Haitzler 82af7aa39b for edje cache stuff in config ui - reduce range. ranges were too big for
reasonable values. :)



SVN revision: 55552
2010-12-14 10:53:24 +00:00
Carsten Haitzler 628026e03b fix resizable flip func - typo in it.
SVN revision: 55535
2010-12-13 09:19:40 +00:00
Carsten Haitzler 006f247187 transit -> make focal length a define. make it 2k - 10k was too far.
SVN revision: 55534
2010-12-13 08:41:38 +00:00
3v1n0 ff67ce31fb Always check for valid evas object.
If you try to create a new widget, you must be sure that the parent
is really an evas object.

With the previous implementation it was possible to call an _add
function for an elementary widget with any non-null pointer as parent
eventually causing crashes (like with the elm_box).


SVN revision: 55521
2010-12-12 19:12:43 +00:00
Sebastian Dransfeld 412b5ced60 TODO++
SVN revision: 55471
2010-12-10 22:06:02 +00:00
Sebastian Dransfeld 23ef178617 Store only theme name
Not safe to keep Efreet_Icon_Theme around, it is mmap'ed

SVN revision: 55467
2010-12-10 20:29:50 +00:00
Tiago Rezende Campos Falcao 1a5f6583b8 Removing unused var. auto-SPANK
SVN revision: 55457
2010-12-10 17:16:59 +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
Gustavo Lima Chaves a08056e9dd Indenting one more beast.
SVN revision: 55447
2010-12-10 13:01:43 +00:00
Gustavo Lima Chaves 65744977a6 Typo--.
SVN revision: 55446
2010-12-10 13:01:31 +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
Otávio Pontes 5d00a5ae75 Hover is already list parent.
SVN revision: 55429
2010-12-09 18:04:25 +00:00
Otávio Pontes 50a452b75e Cleans smart content when removing a child object in hover.
SVN revision: 55428
2010-12-09 18:04:23 +00:00
Otávio Pontes 4fdb6546c2 Swallowing 'smart' content in theme_hook
SVN revision: 55427
2010-12-09 18:04:19 +00:00
Otávio Pontes 2cbd30b4a7 Adding missing image.
SVN revision: 55423
2010-12-09 17:13:57 +00:00
Otávio Pontes d932ef3ce1 Slider gets gray instead of reducing alpha when it is disabled.
SVN revision: 55421
2010-12-09 15:59:24 +00:00
Otávio Pontes 7bb748c809 Fixing problems in disabled slider
SVN revision: 55420
2010-12-09 15:59:20 +00:00
Otávio Pontes 5c3d084fd6 Changing size hints in color selector and action slider tests.
SVN revision: 55419
2010-12-09 15:59:17 +00:00
Otávio Pontes 3ade5c2252 Creating content-back and content-back-next application layoyts.
Also adds programs to hide and show back button and title bar in
toolbar-content-back layout.

SVN revision: 55416
2010-12-09 15:29:14 +00:00
Tiago Rezende Campos Falcao 31152f038c RIP elm_widget_focus_jump
The last call to this method was removed. This method broke the focus
tree and we don't need it anymore.

SVN revision: 55410
2010-12-09 13:07:45 +00:00
Tiago Rezende Campos Falcao 85ebff4c1d InWin grab focus chain while activated.
SVN revision: 55409
2010-12-09 13:07:43 +00:00
Tiago Rezende Campos Falcao f3b2aaffa3 Replace focus_jump by focus_cycle in disabled_set
elm_widget_disabled_set was calling focus_jump and it broke the focus tree.
Now, using focus_cycle to pass focus to next object.

Added test to disable focused button in test_focus.

SVN revision: 55408
2010-12-09 13:07:39 +00:00
Carsten Haitzler 2e4e9179e5 gah! entrye scroller has content on top of frame+shadow!
SVN revision: 55394
2010-12-09 08:53:40 +00:00
Carsten Haitzler 87450102d8 make test for entry in flip.
SVN revision: 55393
2010-12-09 08:36:24 +00:00
Gustavo Lima Chaves fb9a4e36f9 All fileselector cases (mixing save, folder only, expand) seem OK, now.
SVN revision: 55378
2010-12-08 16:18:37 +00:00
Gustavo Lima Chaves b667ede566 Ctxpopup should have been an elC from the beginning.
SVN revision: 55377
2010-12-08 16:18:30 +00:00
Carsten Haitzler 7438cd8802 multi-touch has a rotate button for testing.
SVN revision: 55368
2010-12-08 03:37:33 +00:00
Gustavo Lima Chaves 7470055265 I'd better watch out more for my leftovers :/
SVN revision: 55366
2010-12-07 19:18:36 +00:00
Gustavo Lima Chaves ec0c1b7d36 Code with no action for now, but let's fix the call, eh?
SVN revision: 55365
2010-12-07 19:18:22 +00:00
Gustavo Lima Chaves 68437b969b Indenting and removing bogus code blocks.
SVN revision: 55364
2010-12-07 19:18:14 +00:00
Gustavo Lima Chaves 6461dbad0b Typo, old typo.
SVN revision: 55363
2010-12-07 19:18:05 +00:00
Gustavo Lima Chaves 98c069eaef Now those won't appear in doxygen's output.
SVN revision: 55362
2010-12-07 19:17:50 +00:00
Otávio Pontes a773649445 Respecting finger size in Color Selector
SVN revision: 55358
2010-12-07 15:55:25 +00:00
Otávio Pontes 4cc750c869 Removing swallows correctly in theme hook.
SVN revision: 55357
2010-12-07 15:55:22 +00:00
Otávio Pontes 653111d21b Respect finger size in spinner
SVN revision: 55356
2010-12-07 15:55:20 +00:00
Otávio Pontes cf8538ddfa As magnetslider was renamed to actionslider, ms was renamed to as.
SVN revision: 55355
2010-12-07 15:55:17 +00:00
Otávio Pontes 24a04cc775 Using finger size to calc actionslider size.
SVN revision: 55354
2010-12-07 15:55:14 +00:00
Otávio Pontes ff3c6419a0 Removing unnecessary function declarations
SVN revision: 55353
2010-12-07 15:55:11 +00:00
Otávio Pontes 433c0a7b96 Using finger size to calc bubble size
SVN revision: 55352
2010-12-07 15:55:08 +00:00
Jae Hwan Kim 1f32927291 From: Jae Hwan Kim <jae.hwan.kim@samsung.com>
Subject: Re: [E-devel] [PATCH] els_scroller

els_scroller has some problems.

First, when the function "elm_scroller_page_size_set" is used and the
scroller is bounced,
the signal "scroll,anim,stop" is not called.

Second, the signal "scroll,anim,stop" is called at the time
"ELM_THUMBSCROLL_FRICTION",
even if the animation of scroller end before the time.

So I changed the code "els_scroller.c".
Patch code is the following.



SVN revision: 55341
2010-12-07 05:18:01 +00:00
Jihoon Kim 44cf2f3382 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] elm_slider patch for disable state

elm_slider does not support disable state, so I make this patch.

Please review it and upload in svn if it is ok.

(nb - also fixed vertical slider sizing in defaul theme and changed
jihoons changes to slider test to make the vertical sliders in a
horizontal box so they dont get silly long windows)



SVN revision: 55340
2010-12-07 05:15:05 +00:00
WooHyun Jung 34a3ad17b9 From: WooHyun Jung <wh0705.jung@samsung.com>
Subject: [E-devel] [PATCH] Some modifications for adapting
elm_longpress_timeout_get().

 I made a patch for adapting elm_longpress_timeout_get() function to all
 winsets, using long press event. 
 
 And I checked one warning in elm_entry.c , so I modified it. 
 


SVN revision: 55339
2010-12-07 05:04:45 +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 eae9d6b81c Indenting.
SVN revision: 55329
2010-12-06 12:46:16 +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
Gustavo Lima Chaves b63bf2450e Just indenting this file.
SVN revision: 55327
2010-12-06 12:46:02 +00:00
Gustavo Lima Chaves 444cd0eb5f Don't let sliders mess with parent scrollers.
Actually all dragable thingies in Elementary should get that safety trick.



SVN revision: 55326
2010-12-06 12:45:56 +00:00
Gustavo Lima Chaves 5522998e58 Using mouse wheel elm-propageted at sliders.
When we have time, we'll research a way of signalling
mouse events from bottom up, too (or at least emulate that).
Might be useful for "trapping" mouse wheel events, what
Elementary can't do as is.



SVN revision: 55325
2010-12-06 12:45:49 +00:00
Gustavo Lima Chaves f84b6c5f52 Mouse wheel events elm-propagated too.
SVN revision: 55324
2010-12-06 12:45:41 +00:00
Gustavo Lima Chaves acea6344eb Better handling of mouse wheel events for sliders.
SVN revision: 55323
2010-12-06 12:45:33 +00:00
Gustavo Lima Chaves d300d91cee Misusing API.
SVN revision: 55322
2010-12-06 12:45:26 +00:00
Gustavo Lima Chaves 2b354249df Typos, damn typos.
SVN revision: 55321
2010-12-06 12:45:18 +00:00
Gustavo Lima Chaves 13dcb67737 Redundant semicolons here.
SVN revision: 55320
2010-12-06 12:45:11 +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
Cedric BAIL 650c60f862 * elementary: snapshot it.
SVN revision: 55240
2010-12-04 00:52:03 +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
helen 030b697366 EINA_SAFETY_ON_NULL_RETURN
Checking parameters with EINA_SAFETY_ON_NULL_RETURN and
EINA_SAFETY_ON_NULL_RETURN_VAL in Elementary

SVN revision: 55188
2010-12-03 14:08:33 +00:00
Otávio Pontes 1618a95058 Separator parent can be null
SVN revision: 55184
2010-12-03 11:18:36 +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
hyoyoung.chang 3cf111500d From: hyoyoung.chang@samsung.com
As we talked last week, I made a version of adding external image in
elm_entry. It seeks a local file if prefix is 'file://' then it loads image and adds it. If image file can't be loaded, adding
wft emoticon.

patch in with minor fix for path and an added actual test case in elm
entry test.




SVN revision: 55134
2010-12-02 08:25:36 +00:00
Carsten Haitzler b01e13faf2 warning--
SVN revision: 55129
2010-12-02 03:37:17 +00:00
Massimo Maiurana f00a60db88 updating various translations
SVN revision: 55125
2010-12-01 23:34:15 +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
Bruno Dilly 192d645277 Improve elm_colorselector readability and fix clicked entry sig emission
The reason for modifying about elm_colorselector can be "readability".
Each bar in the colorselector has its own color type (like hue, saturation,
...)
So I thought it will be better, if I added enum for each color type.

And, for about elm_entry.c , I thought that "SIG_CLICKED" was wrongly
emitted (by "MOUSE_UP" event).
I deleted mouse_up callback function (as you advised),
because this function didn't do anything by my modification.

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


SVN revision: 55097
2010-11-30 18:53:52 +00:00
Bruno Dilly ad9b687305 Remove unused var on test_focus
SVN revision: 55096
2010-11-30 18:51:16 +00:00
Bruno Dilly 0abe9b3eea Fix scroller bar on default-desktop theme
SVN revision: 55095
2010-11-30 18:50:27 +00:00
Leandro Pereira 746b412b15 elementary: tab -> spaces
SVN revision: 55087
2010-11-30 15:18:21 +00:00
Leandro Pereira 85c4fe8cf4 elementary: Bugfix: Elm_Fileselector returns parent directory in folder select mode
SVN revision: 55085
2010-11-30 12:59:08 +00:00
Leandro Pereira dbe6545040 elementary/elc_fileselector: Pack booleans with a bitfield
SVN revision: 55084
2010-11-30 12:59:05 +00:00
Tiago Rezende Campos Falcao a609cc1b69 Elementary patch for supporting keypad
Author: Jihoon Kim <jihoon48.kim@samsung.com>

SVN revision: 55062
2010-11-29 13:56:33 +00:00
Tiago Rezende Campos Falcao 670ca32f20 Event Callback
SVN revision: 55061
2010-11-29 13:56:30 +00:00
Gustavo Lima Chaves a26f941960 Account for list unselection (elm profiles).
Sorry, my bad, discomfitor.



SVN revision: 55059
2010-11-29 13:15:20 +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
Gustavo Lima Chaves 661c5eaa43 Wrong doc. groups here.
SVN revision: 55057
2010-11-29 13:14:54 +00:00
Gustavo Lima Chaves fabcb4b584 Ordering documenting groups.
SVN revision: 55056
2010-11-29 13:14:45 +00:00
Gustavo Lima Chaves 731ebfcb9a A little bit of formatting here.
Discomfitor, go fix ecrustify :(. Sucking hard for functions like
elm_object_signal_callback_add, i.e., big function prototypes as
argument types.



SVN revision: 55055
2010-11-29 13:14:37 +00:00
Mike Blumenkrantz 1164a8ab20 come on people, if it can return null then you can't just blindly throw it into strcmp and watch it segv.
SVN revision: 55032
2010-11-27 07:32:30 +00:00
helen 99e8296fc2 Making elementary compile when safety check is disabled
Removing warnings from Elementary if Eina is with safety checks disabled

SVN revision: 55012
2010-11-26 13:35:33 +00:00
helen b994341879 func _pan_min_get, setting the parameter obj as unused
In this functions, the first parameter obj is not used, adding
__UNUSED__ to them

SVN revision: 55011
2010-11-26 13:35:30 +00:00
Sebastian Dransfeld cd773d178b Fetch theme on first call to _icon_freedesktop_set
SVN revision: 55009
2010-11-26 11:37:45 +00:00
Sebastian Dransfeld 08c6d71a87 _icon_freedesktop_set sets freedesktop.use
and add some TODO's

SVN revision: 55007
2010-11-26 10:16:00 +00:00
Sebastian Dransfeld 6ecd6f2c4c default and highcolor aren't icon themes
And set hicolor last, as all themes inherit from it.

SVN revision: 55005
2010-11-26 09:56:45 +00:00
Sebastian Dransfeld 6a42df9f9a Search for icon theme in elm_need_efreet
When searching for an icon in a theme, efreet needs to load the specific
cache for the theme. So if an icon doesn't exist, this will be a huge
overhead. So it is better to find a theme on init, and then stick with
it.

SVN revision: 55004
2010-11-26 09:05:12 +00:00
helen cffdcb4efa Fix some getters from elm_scroller.c
elm_scroller_policy_get was not verifying if its parameters are null.
elm_scroller_region_get was not getting the y if you pass x = null
and y != null

SVN revision: 54987
2010-11-25 15:16:54 +00:00
helen 59351f8aac Fix elm_bg_file_set/get
If the file is a NULL pointer, it will delete the old imagem and set its
internal strings about file and group to NULL.
In the get function if the file argument is null does not mean that
it will not retrieve the group too.

SVN revision: 54986
2010-11-25 15:16:48 +00:00
Rafael Fonseca 7e70efd730 Fix showing specific items in Gengrid.
We need to account for min[xy] when calculating the position of an item.



SVN revision: 54981
2010-11-25 14:00:37 +00:00
Rafael Fonseca 9c79a9c135 Fix setting minimum coordinates on smart scroller.
We need to get the min[xy] provided since it can be different from (0,0).



SVN revision: 54980
2010-11-25 13:57:02 +00:00
Rafael Fonseca 4cc5a5370a The scroller bg was meant to be transparent on standard profile.
This commit fix the first issue with launcher in elm_test, when was appearing a
white rect all over it and the icons names seemed to be missing. It also fix
a related issue reported by the editje guys.



SVN revision: 54979
2010-11-25 12:36:27 +00:00
Carsten Haitzler 1b3700dbbd Hi Raster. This is Myungjae Lee.
As I’ve talked to you just before, I’m sending you the patch file for
applying max size in sizing_eval function in the scroller.

This patch will work in the case below

-       elm_scroller_content_min_limit() function is set to 1 (either
width or height)

-       the content’s min size is growing up unlimitedly (such as
entry case)

 
 
 Then the min size of the scroller cannot exceed the max size of itself.
 
 (if we let it be grown up to the content’s min size, there is no way
to limit the size of the scroller and to enable scrolling.)

 
 
 Please consider this way to avoid failure case (min is greater than
max) in the sizing_eval function,

and give me a feedback if it doesn’t meet any other requirement.

 
 
 Thank you.
 
  
  
   
   
   P.S.) patch file was created based on Rev. 54766.



SVN revision: 54978
2010-11-25 10:53:06 +00:00
Carsten Haitzler fc2c036041 fix filesel - never gave right path!
SVN revision: 54977
2010-11-25 10:01:39 +00:00
Carsten Haitzler e5fe7f8d53 fix anchor item nullification fun.
SVN revision: 54972
2010-11-25 07:07:39 +00:00
Gustavo Lima Chaves 76e4e00504 Elm photocam now back to life.
Now whoever broke fileselector, please fix it!!



SVN revision: 54971
2010-11-25 06:27:42 +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 f4218d5fda Indenting this little monster.
SVN revision: 54923
2010-11-24 08:22:41 +00:00
Gustavo Lima Chaves 9f3300195a Let's keep property types in sync, eh?
SVN revision: 54922
2010-11-24 08:22:24 +00:00
Gustavo Lima Chaves 3735394891 Now people won't forget this shit anymore.
SVN revision: 54921
2010-11-24 08:22:13 +00:00
Gustavo Lima Chaves 22be065731 Important warning on config. versions.
SVN revision: 54920
2010-11-24 08:22:02 +00:00
Gustavo Lima Chaves 179bcf71b2 More text classes support on Elm: list/genlist/gengrid/toolbar items.
NB: we got textblock parts as some of our text elements, everyone
knows.  They support text_class fallbacking, but what would be an
elegant solution to achive reasonable mapping for styling tags (bold,
highlight, etc)? e17 has some "blah_hilight" text classes, which imho
are ugly...



SVN revision: 54915
2010-11-24 01:47:59 +00:00
Rafael Fonseca 8fb7daa582 Fix item alignment in Gengrid.
When the item was bigger than the grid it was not being correctly positioned.



SVN revision: 54906
2010-11-23 20:30:48 +00:00
Rafael Fonseca b1846a536c Fix mistake introduced in previous commit.
Don't matter how much you review it, it is never enough.
rfonseca spanks himself =/.



SVN revision: 54903
2010-11-23 20:26:08 +00:00
Rafael Fonseca f66f9b341e Make it possible to use origin besides (0,0) for pan object.
Although some widgets are modified in this patch there should not be any visible
change. Actually this patch is intended to fix a Gengrid issue (patch following).

In Gengrid when the items were bigger than the grid itself the scroll would not
work correctly when the alignment was other than 0.0. That happened because the
smart scroller object was assuming the pan origin to be (0,0) and doing some
miscalculations based on that.



SVN revision: 54902
2010-11-23 20:20:41 +00:00
Otávio Pontes ec86a81a78 Emiting signal to icon to unselect it. (bug fix)
SVN revision: 54874
2010-11-23 12:57:00 +00:00
Otávio Pontes 8b10c373a6 Adding style for disabled slider
SVN revision: 54873
2010-11-23 12:56:57 +00:00
Otávio Pontes 38a07ceaf7 Adding genlist theme from enjoy in default theme
SVN revision: 54872
2010-11-23 12:56:54 +00:00
Otávio Pontes 143febda82 Adding new layout for title with back and next button.
Content-back now has just the back button.

SVN revision: 54871
2010-11-23 12:56:51 +00:00
Massimo Maiurana 480c529729 updating french translations
SVN revision: 54865
2010-11-23 11:53:29 +00:00
Gustavo Lima Chaves a5ac9cd68f "Set to all" actions on font dialog, elm config app.
You may now set a common font overlay for all text classes available.



SVN revision: 54857
2010-11-23 08:30:55 +00:00
Gustavo Lima Chaves 3714c8d1af List/scroller-thingies disabler rect for desktop theme too.
SVN revision: 54855
2010-11-23 07:17:35 +00:00
Gustavo Lima Chaves c4d899c419 More font sizes.
SVN revision: 54852
2010-11-23 06:40:15 +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
Davide Andreoli a6f53d0fb9 Improve Fileselector test: all API are exposed in the test now(is_save, folder_only, expandable, path_get), add a separator too.
SVN revision: 54844
2010-11-22 23:17:56 +00:00
Tiago Rezende Campos Falcao d666346484 Elm Fileselector with theme support
SVN revision: 54812
2010-11-22 19:24:48 +00:00
Bruno Dilly ddf7900931 Fix bubble test window title
SVN revision: 54810
2010-11-22 18:57:51 +00:00
Massimo Maiurana 9ddd01aa31 updating french and italian translations
SVN revision: 54807
2010-11-22 18:40:14 +00:00
Tiago Rezende Campos Falcao b247bb85f7 Elm Calendar keyboard support
Author: Jihoon Kim <jihoon48.kim at samsung.com>

SVN revision: 54798
2010-11-22 15:57:26 +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
Tiago Rezende Campos Falcao f4294f8d2c Replace calloc by ELM_NEW and hack last externals
Spank watchwolf. The last added externals dont compile with the flags
that we try to keep OK, since revision 53683.

Replace calloc(1,X) to use ELM_NEW, i want do tests with mem pool.

SVN revision: 54778
2010-11-22 12:46:58 +00:00
Carsten Haitzler 39f48066ff set scale on scrollers on re-theme and on list items.
SVN revision: 54775
2010-11-22 09:41:37 +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
Gustavo Lima Chaves e7dfbf2315 Better sizes here.
SVN revision: 54769
2010-11-22 06:55:54 +00:00
Carsten Haitzler 6ce323eaa0 make thread support windows friendly. i hope.
SVN revision: 54754
2010-11-21 04:37:52 +00:00
Rui Seabra 4e3e9cface This has to be here in order for release tarballs to be directly fed to rpmbuild.
SVN revision: 54745
2010-11-20 12:51:51 +00:00
Carsten Haitzler b8c9cd18b1 for now done select disabled, selected or expanded items in the cache
- resetting is problematic. need an edje reset thing - or actually may
want edje to have a cache like this...



SVN revision: 54744
2010-11-20 11:35:09 +00:00
Carsten Haitzler b24883b7ba use right style name too.
SVN revision: 54743
2010-11-20 11:31:31 +00:00
Carsten Haitzler 876c72c1ae and do a proper odd style for items.
SVN revision: 54742
2010-11-20 11:24:12 +00:00
Carsten Haitzler e175185eaa make store "./store" to make it.. well.. better.
SVN revision: 54741
2010-11-20 11:14:23 +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
Carsten Haitzler e10b7bba94 comments--
SVN revision: 54739
2010-11-20 10:59:26 +00:00
Carsten Haitzler 01e71a2649 well... many things - genlist, when it is processign quue, or u
add.del items will try and stick to viewing an acnhor item. it also
handles wrapping text properly now if style has such a thing - a test
style with that is there too (message style) for now - found isasue in
edje with textblock styles - doesnt change on state change. but anyway
- re-wrapping text works.. and it progressively processes the genlist
blocks to re-calc sizes etc. etc. so you dont block and so-on. i5ts
not too shabby. as for that - store has a generic struct type reader
now and is being tested... and get rid of unused var.



SVN revision: 54738
2010-11-20 08:43:43 +00:00
Carsten Haitzler 376b264e3a make accelerated scrolling also accumulate scroll time so it doesnt
seem to silly fast - scroll speed also now increaese by 1.5x not 2x
and since time extends linearly by left over time from previous scroll
it's less extreme, but still accelerated.



SVN revision: 54733
2010-11-20 06:26:01 +00:00
Gustavo Lima Chaves 85cc0b3b01 Some more text classes now supported. We clearly need more later,
maybe wrapping unbounded ones into a "general" TC.
TC swithing exposes various widgets bugs WRT layouting of children
objects, we gotta fix them.



SVN revision: 54715
2010-11-19 09:37:33 +00:00
Davide Andreoli 9d6fcdc04d layout/application/titlebar canned layout:
Fix up the syle, use a better (more toolbar-ish) image, align the title in center, add a white bg, remove some useless offset and, last but not least, add an elm.swallow.content part...or your app cant go much further ;)

SVN revision: 54705
2010-11-19 00:50:10 +00:00
Rafael Fonseca f8d24df92f Add suitable scrollbars to desktops.
In this theme scrollbars do not disappear after a timeout, they are dragable,
there are up and down arrows to scroll and the line you see is also clickable
(much like e17 scrollbars). Ah, they also respect finger size hints.

Ok, some of you will want to kill me, others will probably try but I think that
at this moment is much easier to have a separate theme to desktop systems until
we define exactly what are all the theme differences between them.



SVN revision: 54701
2010-11-18 19:13:54 +00:00
Rafael Fonseca acb1ebb41c Make it possible to use finger size hint on scrollbars.
With a small rectangle swallowed as a base is now possible to make scrollbars
respect the finger size hint. But it just makes sense when thumbscroll is
disabled, i.e, when scrollbars should be dragable.



SVN revision: 54700
2010-11-18 18:47:16 +00:00
Rafael Fonseca f3ae26ee34 Baah, I always forget about EXTRA_DIST stuff.
SVN revision: 54698
2010-11-18 18:25:11 +00:00
Rafael Fonseca 2019d2c9f1 Merge Ephoto's gengrid items themes into elm default theme.
Some of the gengrid items themes defined in Ephoto can be reused by others
later so it would be better to have those in the default theme.



SVN revision: 54694
2010-11-18 18:03:15 +00:00
Rafael Fonseca fcb6781b6e Make scrollbar more suitable for mobile devices.
Like android and iphone, the scrollbar was made smaller to not incentivate users
to try to drag it since it is not dragable (yet).

And do not worry desktops, you will have a suitable scrollbar soon.



SVN revision: 54693
2010-11-18 17:38:53 +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
Tiago Rezende Campos Falcao 430492dc9c Adding Signal Hooks to Hoverlist
SVN revision: 54687
2010-11-18 12:55:28 +00:00
Carsten Haitzler 3b5e9a43b0 ummm fix warnings. merge with my start on generic data -> parts in
item mapping.



SVN revision: 54684
2010-11-18 11:10:58 +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
Gustavo Lima Chaves 646b4007ec Disable hook for elm lists in.
SVN revision: 54680
2010-11-18 10:01:05 +00:00
Gustavo Lima Chaves 4b06ff870f Typo--.
SVN revision: 54679
2010-11-18 10:00:53 +00:00
Gustavo Lima Chaves bffe78ab3a Taking off defined block which is not necessary anymore + indenting.
SVN revision: 54678
2010-11-18 10:00:41 +00:00
Gustavo Lima Chaves ceff604deb Elm config app sizing change (matching Elm test's size) and cosmetic
fixes.



SVN revision: 54677
2010-11-18 10:00:26 +00:00
Gustavo Sverzut Barbieri 32e95a47bb allow fetch to be executed from main thread as well.
SVN revision: 54676
2010-11-18 09:54:51 +00:00
Gustavo Sverzut Barbieri 2ea364ff68 make core independent of filesystem.
idea is to make it extensible for other backends without bloating the
core too much.



SVN revision: 54675
2010-11-18 09:33:39 +00:00
Carsten Haitzler 0d689fc143 fix elm_module env var and ... elm_finger size . tnx mj lee. :)
SVN revision: 54674
2010-11-18 09:30:46 +00:00
Gustavo Sverzut Barbieri 1360f85163 who else agrees that raster should use more eina utilities? :-)
SVN revision: 54670
2010-11-18 08:13:05 +00:00
Carsten Haitzler b3ce84eb7d beginnings of a "store abstraction" ... data storage <-> genlist etc.
to make life easier for app devs.



SVN revision: 54664
2010-11-18 02:54:12 +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 43b579e6a9 Move cursors from default theme to test file
They're used only on test cursor3, shouldn't be on
default.edc


SVN revision: 54631
2010-11-17 16:16:46 +00:00
Lucas De Marchi 067a49f294 Disable extra log verbosity
SVN revision: 54627
2010-11-17 10:35:31 +00:00
Lucas De Marchi d3b985e259 Log goes to stderr instead of stdout
SVN revision: 54626
2010-11-17 10:35:25 +00:00
Lucas De Marchi 0c0b0445b0 Use macro for debugging instead of printf
SVN revision: 54625
2010-11-17 10:35:03 +00:00
Leandro Pereira 887a29c723 Improvements in elm/layout/application/toolbar-content-back
Author:    Otavio Pontes <otavio@profusion.mobi>

SVN revision: 54608
2010-11-16 19:49:32 +00:00
Lucas De Marchi 020605f4a1 Don't forget the QUICKLAUNCH guards
Compiling this code with CFLAGS="-ffunction-sections -fdata-sections"
and LDFLAGS="-Wl,--as-needed -Wl,--gc-sections -Wl,--print-gc-sections"
was giving me the following messages:

/usr/bin/ld: Removing unused section '.text._on_key_down' in file 'elementary_testql-test_focus.o'
/usr/bin/ld: Removing unused section '.text.my_show' in file 'elementary_testql-test_focus.o'
/usr/bin/ld: Removing unused section '.rodata' in file 'elementary_testql-test_focus.o'
/usr/bin/ld: Removing unused section '.text.test_focus' in file 'elementary_testql-test_focus.o'

The issue was the missing guards.



SVN revision: 54600
2010-11-16 18:36:47 +00:00
Bruno Dilly 91b6b4f98e Set smart obj callbacks descs for hoverlist and fs_bt
Spotted by demarchi


SVN revision: 54596
2010-11-16 15:51:03 +00:00
Bruno Dilly 86deede66b Delete trailing spaces on elm_animator
SVN revision: 54590
2010-11-16 13:17:30 +00:00
Bruno Dilly 7d64614307 Add macro to do magic check on elm_animator EAPI funcs
By: 박춘언 <hermet@naver.com>


SVN revision: 54588
2010-11-16 13:07:25 +00:00
Carsten Haitzler 7debb66407 fix docs.
SVN revision: 54557
2010-11-15 02:55:36 +00:00
Bruno Dilly 61c137691d respect 80 cols on elm_config, plz
SVN revision: 54520
2010-11-12 18:24:59 +00:00
Bruno Dilly 891468eee9 Use pager instead of flip + table on elm_config
Avoid the mess of table pack / unpack and back / front flip sets
Pager is an widget much more appropriated for our needs.
And we will have the exactly same look when pager flip style is
fixed.


SVN revision: 54519
2010-11-12 18:24:14 +00:00
Cedric BAIL 989ee2acb5 * eio, ethumb and elementary: snapshot increase.
SVN revision: 54508
2010-11-12 16:03:34 +00:00
Bruno Dilly 6041ebaa30 Mirror recent AUTHORS changes to elm docs
SVN revision: 54501
2010-11-12 13:17:13 +00:00
Bruno Dilly b18d9d4d55 Add Daniel Juyung Seo to elm AUTHORS
"- I've contributed elm_magnetslider widget.
 - I've added an API and patched elm_genlist."

Fix typo in AUTHORS

By Daniel Juyung Seo (SeoZ) <juyung.seo@samsung.com>



SVN revision: 54499
2010-11-12 13:07:32 +00:00
Tiago Rezende Campos Falcao 3e95426ab7 Flip effect to Pager
Did we still need the flip?

SVN revision: 54497
2010-11-12 12:28:56 +00:00
Tiago Rezende Campos Falcao 9d3f490265 Adding styles options to pager test.
Can now remove the pager slide test?

SVN revision: 54496
2010-11-12 12:28:53 +00:00
Tiago Rezende Campos Falcao 177beb5dc5 Fix elm_pager style change
SVN revision: 54495
2010-11-12 12:28:50 +00:00
Carsten Haitzler b74087982a no debug!
SVN revision: 54492
2010-11-12 10:59:44 +00:00
Viktor Kojouharov 9919cc97ce adding myself to the list, as per raster's approval
SVN revision: 54487
2010-11-12 08:25:17 +00:00
Carsten Haitzler 0584726101 fix focus revert -> reverting should revert only to widgets that say
they CAN be focused :) see conform 2 test. focuse the entry in the
pager then dlete the pager page (pop). before focus vanished. now it
goes back to the top entry as you'd expect.



SVN revision: 54486
2010-11-12 04:16:24 +00:00
Carsten Haitzler 5f8146dff7 comment++!
SVN revision: 54485
2010-11-12 03:13:38 +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 d485668cb2 Fixing resize problems in toolbar.
Otavio Pontes <otavio@profusion.mobi>


SVN revision: 54468
2010-11-11 18:05:36 +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
Bruno Dilly 1ed3e906c9 Add test for elm_bubble
Spots issues with corner.


SVN revision: 54465
2010-11-11 18:03:40 +00:00
Iván Briano 7454518f05 elm_box.c: Fix in elm_box_layout_transition
This function does not receive the Widget object in the parameter
Evas_Object *obj, so it must not check its type with ELM_CHECK_WIDTYPE

See "Box Transition" test in the elementary_test

By: Helen Fornazier <helen.fornazier@profusion.mobi>



SVN revision: 54461
2010-11-11 16:22:55 +00:00
Carsten Haitzler 02bb2eca06 as per chuneon's request :)
SVN revision: 54458
2010-11-11 14:59:21 +00:00
Carsten Haitzler 4d9ef710d2 protect gengrid from div by 0
SVN revision: 54447
2010-11-10 23:59:59 +00:00
Jonathan Atton 46d571bd68 elm : add edje external icon, label and scroller
SVN revision: 54446
2010-11-10 22:48:36 +00:00
Jonathan Atton 9c29a3ea1d elm : add expand in the edje external genlist
SVN revision: 54445
2010-11-10 22:44:44 +00:00
Tiago Rezende Campos Falcao b50a53aac4 Fix Doxygen conf to support __UNUSED__
SVN revision: 54434
2010-11-10 18:06:36 +00:00
Tiago Rezende Campos Falcao 575431a3c1 Elm_Transit: Documentation improvement
Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54433
2010-11-10 18:06:34 +00:00
Tiago Rezende Campos Falcao d2b274329b Transit Effect: release data
Effects:
Translation
Resizable Flip
Fade
Blend

The effects above retrives information about objects in the transit,
they need to release these informations if the object dies.

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54432
2010-11-10 18:06:31 +00:00
Tiago Rezende Campos Falcao 38e5245d20 Transit Effect: blend and wipe behavior
This effects must do the evas_object_{show, hide} at the end of the
effect

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54431
2010-11-10 18:06:28 +00:00
Tiago Rezende Campos Falcao 0c67df5525 Transit Effect: otimization
Otimization: Do not pass twice by a list.
removing unuseble casts

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54430
2010-11-10 18:06:22 +00:00
Tiago Rezende Campos Falcao 677b123e32 test_transit.c - activate effects when click
Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54429
2010-11-10 18:06:20 +00:00
Tiago Rezende Campos Falcao 7113956012 Transit Effect: Effect Translation whith variance
Effect Translation whith variance, not whith absolute value

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54428
2010-11-10 18:06:17 +00:00
Tiago Rezende Campos Falcao b1f1474392 Elm_Transit: Fix bug when removing an object
Bug: If the object does not belong to the transit, it was removing the
obj_data from it.

Bug: segfaut if you try to remove an object that do not belongs to any
transit

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54427
2010-11-10 18:06:14 +00:00
Tiago Rezende Campos Falcao 6803cc68e7 Elm_Transit: Not allowing objects in multiples transits
Bug: if the objects belongs to multiples transits, there is a problem
with the internal state of the object storage with the data_set
function. If a transit die, it will free this data, and the other
transit will crash.

Removing _elm_transit_object_remove_cb prototype

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54426
2010-11-10 18:06:11 +00:00
Tiago Rezende Campos Falcao 6cf4ad0892 Elm_Transit: cleaning up the code
Removing math functions. Changing how auto_reverse works
Removing _tween_progress_calc
If the object dies, the del_cb does not need to be deleted
Coccinelle modifications

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54425
2010-11-10 18:06:08 +00:00
Tiago Rezende Campos Falcao 4c710e0438 Elm_Transit: adding EINA_MAGIC
Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54424
2010-11-10 18:06:05 +00:00
Tiago Rezende Campos Falcao 137f123753 Elm_Transit: deleting transit if there is no more effects
After you add an effect, if the effect's list stay empty, the transit
will die

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54423
2010-11-10 18:06:03 +00:00
Tiago Rezende Campos Falcao 7e907f08ce Elm_Transit: changing architecture
Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54422
2010-11-10 18:06:00 +00:00
Tiago Rezende Campos Falcao 02b2d75aa2 Elm_Transit: fix in elm_transit_del
If the transit object is removed inside some animation, there is a
problem. Now we set the transit to be deleted.

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54421
2010-11-10 18:05:57 +00:00
Tiago Rezende Campos Falcao d61562b799 elm_transit.c: better documentation
Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54420
2010-11-10 18:05:54 +00:00
Tiago Rezende Campos Falcao a73df5636b Elm_Transit: missing getters
elm_transit_tween_mode_get
elm_transit_repeat_times_get
elm_transit_auto_reverse_get

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54419
2010-11-10 18:05:51 +00:00
Tiago Rezende Campos Falcao 1d32e374c4 Elm_Transit: better organization of the code
static functions in the top, functions in order of Elementary.h.in

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54418
2010-11-10 18:05:48 +00:00
Tiago Rezende Campos Falcao bd9873ef22 Elm_Transit: Following the style of efl
ELM_FX is now ELM_TRANSIT_EFFECT

Curve style like in edje

Changing names:
CURVE_IN -> TWEEN_DECELERATE
CURVE_OUT -> TWEEN_ACCELERATE
CURVE_IN_OUT -> TWEEN_SINUSOIDAL
Curve_Style -> Tween_Mode

Now, the calculation is done like in edje.

Changing function of type function() to function(void)
Elm_Transit: Changing calloc(1, to ELM_NEW

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54417
2010-11-10 18:05:45 +00:00
Tiago Rezende Campos Falcao e691fe9d16 Fix elm_transit_{auto_reverse_set, repeat_times_set}
Now, if you set a negative number to repeat, it will repeat infinite
times.

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54416
2010-11-10 18:05:42 +00:00
Tiago Rezende Campos Falcao 98c82eb20f Elm_Transit: deleting transit if there is no more objects
After you add an object, if the objects list stay empty, the transit
will die

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54415
2010-11-10 18:05:39 +00:00
Tiago Rezende Campos Falcao 86cd7f44aa Elm_Transit: Using EINA_LIST_FOREACH_SAFE
Using EINA_LIST_FOREACH_SAFE to remove objects from the list safely

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54414
2010-11-10 18:05:36 +00:00
Tiago Rezende Campos Falcao b1d3cc1726 Fixing elm_transit_del function
It was not deleting the objecs correctly

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54413
2010-11-10 18:05:34 +00:00
Tiago Rezende Campos Falcao 8860368785 Elm_Transit: using evas_object_data{set, get, del}
Intead of doing a list to restore information about an object, now using
evas_object_data{set, get, del}
Using evas_object_pass_events instead elm_object_disabled_set
This allows the event block to be setted in non widgets objects

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54412
2010-11-10 18:05:26 +00:00
Bruno Dilly 4e0df34976 Fix List keyboard navigation on horizontal mode
Closes ticket #619



SVN revision: 54411
2010-11-10 18:04:51 +00:00
Bruno Dilly cdbd1bae85 Fix Gengrid keyboard navigation on horizontal mode
SVN revision: 54410
2010-11-10 18:04:28 +00:00
Bruno Dilly 8922b61b38 Add horizontal mode to gengrid test 2
SVN revision: 54409
2010-11-10 18:03:56 +00:00
Bruno Dilly c1b147b3c7 Add getter for elm_radio
SVN revision: 54408
2010-11-10 14:10:08 +00:00
Bruno Dilly 0ddded2f0e Rename elm_flippicker to elm_flipselector
"Do you come from the land down under?
Where women glow and men plunder?
Can't you hear, can't you hear the thunder?
You better run, you better take cover."
  - Men at Work

commit msg suggested by glima  =D
%hua


SVN revision: 54407
2010-11-10 13:43:34 +00:00
Bruno Dilly 741d4b8878 Rename elm_diskpicker to elm_diskselector
Men at work. Sorry for the inconvenience.


SVN revision: 54406
2010-11-10 13:28:32 +00:00
Bruno Dilly 98ad22406b Rename elm_colorpicker to elm_colorselector
Suggested by k-s as part of our
"Beautiful, Consistent ELM API" effort.

colorpicker, diskpicker and flippicker should follow
fileselector name.


SVN revision: 54405
2010-11-10 13:14:50 +00:00
Bruno Dilly d2874eecec Calling _resize function after functions that can change item size.
By: Otavio Pontes <otavio@profusion.mobi>


SVN revision: 54404
2010-11-10 12:38:47 +00:00
Bruno Dilly 2e5b0450ab Passing correct parameters when clicking in item in more menu.
Event info should be an Elm_Toolbar_Item.

By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54403
2010-11-10 12:37:06 +00:00
Bruno Dilly 7ee0a5d64e Unpacking objects from holder table on elm config
Avoid packing object already packed when flipping



SVN revision: 54402
2010-11-10 12:11:28 +00:00
Bruno Dilly 3f8dbd2eb6 Add missing getters to elm_table
For padding and homogenous



SVN revision: 54399
2010-11-10 11:36:58 +00:00
Bruno Dilly 6e22d984ae Document recently added scroll,edge,X signals to elm_genlist
SVN revision: 54394
2010-11-10 03:01:15 +00:00
Bruno Dilly 715dbba805 This small patch allows to get a smart callback when the scrollers in an
elm_list or in an elm_genlist fire the edge,{top,bottom,left,right}
signals, backporting them to the list object.

The new smart callbacks called are:
 · "scroll,edge,top" - the list is scrolled until the top edge
 · "scroll,edge,bottom" - the list is scrolled until the bottom edge
 · "scroll,edge,left" - the list is scrolled until the left edge
 · "scroll,edge,right" - the list is scrolled until the right edge

SVN revision: 3



SVN revision: 54393
2010-11-10 02:48:59 +00:00
Bruno Dilly 6d30d387e8 Removing more_item from wd->items on elm_toolbar
By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54385
2010-11-09 21:21:46 +00:00
Bruno Dilly 37a717a578 Change diskpicker items functions names
elm_diskpicker_item_prev/next ->
elm_diskpicker_item_prev_get/next_get

elm_diskpicker_item_selected_set(it) ->
elm_diskpicker_item_selected_set(it, bool selected)

elm_diskpicker_item_selected_get(obj) ->
elm_diskpicker_selected_item_get(obj)

Added bool elm_diskpicker_item_selected_get(it)
      item elm_diskpicker_first_item_get
      item elm_diskpicker_last_item_get



SVN revision: 54379
2010-11-09 20:27:32 +00:00
Bruno Dilly 317226eef6 Fix ingroup in elm_toolbar doc
SVN revision: 54378
2010-11-09 20:27:07 +00:00
Bruno Dilly 9d43ab9489 Change flippicker items functions names
elm_flippicker_item_prev/next -> elm_flippicker_item_prev_get/next_get
elm_flippicker_item_selected_set(it) ->
   elm_flippicker_item_selected_set(it, bool selected)

Added bool elm_flippicker_item_selected_get(it)



SVN revision: 54377
2010-11-09 20:26:47 +00:00
Bruno Dilly 8cbad3de66 Fix flippicker item selection
SVN revision: 54376
2010-11-09 20:26:22 +00:00