Commit Graph

2308 Commits

Author SHA1 Message Date
ChunEon Park d1877609ad elementary/ctxpopup - just reduces code lines
SVN revision: 56988
2011-02-13 15:19:35 +00:00
Carsten Haitzler 66dbccf4c9 annoy people using elm's widget api!
SVN revision: 56987
2011-02-13 14:58:38 +00:00
Tom Hacohen eb7a0308c3 Elementary els_scroller: Fixed updating of wx/wy/ww/wh with momentum and bounce.
Patch by Aharon Hillel.

SVN revision: 56986
2011-02-13 14:37:18 +00:00
Daniel Juyung Seo b658e5d4c6 Elementary: Fixed some NULL pointer reference bug in elementary.
SVN revision: 56985
2011-02-13 13:16:59 +00:00
Daniel Juyung Seo 9802915d85 Elementary genlist: Enabling _show_region_hook to handle the genlist item sub
objects hierarchical region show. Scroller pan geometry is included, as scrolelr
is smart object, not in genlist hierarchy.
Patch By Govindaraju SM <govi.sm@samsung.com>



SVN revision: 56981
2011-02-13 10:28:55 +00:00
Tom Hacohen 5028537bc3 Elementary: define the gettext macro in a place that's visible to all widgets.
Patch by Govindaraju SM

SVN revision: 56980
2011-02-13 08:22:06 +00:00
ChunEon Park 01999d43f6 elementary/ctxpopup - just moved function position in code line.
SVN revision: 56977
2011-02-13 04:15:52 +00:00
Carsten Haitzler 6eabf29744 ok - lets set cache to tyhe RIGHT value eh?
SVN revision: 56948
2011-02-11 06:16:23 +00:00
Daniel Juyung Seo b1761a3b90 dox.in update: elementary,evas,edje,ecore,eio,eet,eeze.
Sync authors in doc with AUTHORS.
Updated date to 2011.


SVN revision: 56926
2011-02-10 16:50:18 +00:00
Tom Hacohen a71e41cf11 Elementary: Fixed scroller location with on-the-fly UI-mirroring.
By Aharon Hillel.

SVN revision: 56923
2011-02-10 15:13:09 +00:00
Tom Hacohen f55a3f4cfc Elementary: fixed on-the-fly UI-mirroring in elc objects.
All sub-objects have auto-ui-mirroring flag turned off now
By Aharon Hillel.

SVN revision: 56922
2011-02-10 15:13:05 +00:00
Tom Hacohen 62afe7cc3c Elementary box: fixed on-the-fly UI-mirroring.
By Aharon Hillel.

SVN revision: 56921
2011-02-10 15:13:02 +00:00
Tom Hacohen 04c2eda677 Elementary ui-mirroring: move elm_widget_mirrored_* functions to elm_widget.h.
and created elm_object_mirrored wrappers for them.

SVN revision: 56893
2011-02-10 08:29:24 +00:00
ChunEon Park 402ad63d3a elementary/gengrid - removed a line unuseful exception handling
this is patched by JungHyun Yoon.



SVN revision: 56889
2011-02-10 04:24:57 +00:00
Jonathan Atton 54eb05ebd6 elm: add me in authors
SVN revision: 56867
2011-02-09 18:07:28 +00:00
Jonathan Atton b48554ce0b elm map bubble: use specific theme for the scroller
SVN revision: 56864
2011-02-09 18:04:12 +00:00
Daniel Juyung Seo a2aadf273e Sync authors in elm doc with AUTHORS.
SVN revision: 56850
2011-02-09 16:56:39 +00:00
Daniel Juyung Seo ecdee04718 Elementary map: Bug Fix.
1. the range of marker to remove.
2. after free(marker->groups[i]), reuse the value.
Patch by Sangho Park <gouache95@gmail.com>
Reviewed by Atton Jonathan.


SVN revision: 56849
2011-02-09 16:44:47 +00:00
Tom Hacohen c04d8990f0 Elementary: Added on-the-fly UI-mirroing support to all of the widgets
SVN revision: 56846
2011-02-09 16:14:02 +00:00
Tom Hacohen f5cad764e6 Elementary ui-mirroring: Added on-the-fly ui-mirroring infrastructure
SVN revision: 56845
2011-02-09 16:13:58 +00:00
Michael BOUCHAUD 863cd6e598 elementary: add edje_external gengrid
SVN revision: 56843
2011-02-09 15:14:28 +00:00
Tom Hacohen 22fb070ad7 Elementary widget: Remove two functions from elm_widget.h. They are supposed to be only in Elementary.h no idea how it got to elm_widget.h
SVN revision: 56841
2011-02-09 14:41:12 +00:00
Michael BOUCHAUD 324ba596d5 elementary: use the right item for event when the slideshow item change
SVN revision: 56824
2011-02-08 22:23:00 +00:00
Jonathan Atton 3cf19c064c elm external: fileselector: enable the textblock when we are in the save mode
SVN revision: 56823
2011-02-08 22:09:26 +00:00
Jonathan Atton f10db79a73 elm external: elm_label fix segv
SVN revision: 56822
2011-02-08 21:56:41 +00:00
Daniel Juyung Seo 6aad9f328d Elementary genlist: Fixed typo.
SVN revision: 56816
2011-02-08 16:26:22 +00:00
Tom Hacohen f087a24563 Elementary test: Added a toggle to switch between UI-mirroring modes. On the fly ui-mirroring is not yet implemented so only new windows will comply (i.e change the toggle and then click on an item from the list).
SVN revision: 56811
2011-02-08 14:13:07 +00:00
Tom Hacohen a1a80fe82d Elementary theme: Adjusted the elementary theme for better UI-mirroring
support.

SVN revision: 56804
2011-02-08 12:08:35 +00:00
Tom Hacohen 99da5b6541 Elementary: Added ui-mirroring support for all the widgets.
SVN revision: 56803
2011-02-08 12:08:28 +00:00
Tom Hacohen d6c8dee076 Elementary els_scroller: Added mirrored_set and mirroring support.
SVN revision: 56802
2011-02-08 12:08:24 +00:00
Jonathan Atton 7ac159bb4a elm external: fix the previous patch. Sorry I was stupids and didn't check correctly !
SVN revision: 56759
2011-02-06 21:57:25 +00:00
Jonathan Atton 8ea3fc6f4b elm: replace printf() by LOG_DEBUG()
SVN revision: 56754
2011-02-06 17:14:21 +00:00
Christopher Michael ffa89bd79f Path variable no longer needed here.
SVN revision: 56747
2011-02-06 09:00:52 +00:00
Sebastian Dransfeld 522779e13c elm_icon does grok this
SVN revision: 56736
2011-02-05 20:14:24 +00:00
Jonathan Atton 8bfd0fec96 elm external: fix elm_label
SVN revision: 56727
2011-02-05 17:58:49 +00:00
Jonathan Atton 88bb64839a elm_panes theme : add reapeat events on arrows
SVN revision: 56716
2011-02-04 21:45:58 +00:00
Sebastian Dransfeld 632eb78c55 update for change of text line in source file
SVN revision: 56704
2011-02-03 23:18:48 +00:00
Sebastian Dransfeld 2e9a41cfe1 ignore++
SVN revision: 56703
2011-02-03 23:16:24 +00:00
Tom Hacohen 689ff9abd5 Elementary: Added the infrastructure for ui-mirroring support.
* Added elm_mirrored_get/set to set the system mirrored mode
* Added elm_widget_mirrored/get/set to set each widget's mirrored mode.
* Added code to set the system mirrored mode from translations to elementary and added translations for all the rtl languages. (a trick to load according to locale).
* Future commits will include specific widgets mirrored mode handling.
Work by Aharon Hillel and Tom Hacohen.

SVN revision: 56673
2011-02-03 15:52:49 +00:00
Tom Hacohen a22d8668a5 Elementary text-ctxpopup: Enabled scrolling for the last ctxpopup test so it'll also work on small screens. Patch by ChunEon Park (Hermet).
SVN revision: 56669
2011-02-03 08:23:19 +00:00
Tom Hacohen 1ebde68407 Elementary ctxpopup: Modified the disabled item style. Patch by ChunEon Park (Hermet).
SVN revision: 56668
2011-02-03 08:23:14 +00:00
Tom Hacohen 83cf78820d Elementary getlist: Fix places that weren't using ELM_GENLIST_ITEM_FROM_INLIST. Patch by Daniel Juyung Seo (SeoZ).
SVN revision: 56645
2011-02-02 08:37:33 +00:00
Michael BOUCHAUD bfbe785bad elementary: switch int to double timeout slideshow in edje_external
SVN revision: 56608
2011-01-31 14:43:34 +00:00
Carsten Haitzler be7fdc15bc fmting
SVN revision: 56606
2011-01-31 11:51:19 +00:00
WooHyun Jung 6276adc9a9 From: WooHyun Jung <wh0705.jung@samsung.com>
Mr. Wonguk Jeong made a patch for elm_module. 

This patch is for changing the timing of module loading. 

 
 
 For now, module loading is done in elm_init
 
 Thus, modules are always loaded, even if the application does not use
them.

 
 
 So this patch deferred the timing of module loading to
 "_elm_module_find_as".




SVN revision: 56586
2011-01-31 10:47:53 +00:00
Daniel Juyung Seo cc3d766cfb From: Daniel Juyung Seo <juyung.seo@samsung.com>
Subject: [E-devel]  [Patch] genlist item cache exception handling patch

I added "no cached item" handling.
In some case, items should not be cached and should not use caches.

For example, 
if there was a state change in item style, it should not be cached
because it remembers the state changes.
And if we use elm_genlist_item_item_class_update() API,
item should not be cached as well.
It needs to be a fresh item style without remembering the state changes.



SVN revision: 56585
2011-01-31 10:33:22 +00:00
Tom Hacohen b91af8da1a Elementary: applied 56579 on region_show (that commit already applied on bring_in).
SVN revision: 56584
2011-01-31 10:23:56 +00:00
ChunEon Park cec22a7f0c From: ChunEon Park <chuneon.park@samsung.com>
Subject: [E-devel] [PATCH] elm_transit

call del func after internal cleanups.



SVN revision: 56583
2011-01-31 10:21:05 +00:00
Sohyun Kim 21e7457deb From: Sohyun Kim <anna1014.kim@samsung.com>
Subject: [E-devel] [Patch] elm_genlist patch regarding inlist

I made a patch for elm_genlist.
For getting genlist item from inlist, ELM_GENLIST_ITEM_FROM_INLIST macro
should be used.



SVN revision: 56582
2011-01-31 10:17:40 +00:00
Daniel Juyung Seo 867c0a730e From: Daniel Juyung Seo <juyung.seo@samsung.com>
Subject: [E-devel]  [Patch] Removed dead code in elm_genlist.c

I removed dead macro LONGPRESS_TIMEOUT.
Genlist's longpress_time value is read from
_elm_config->longpress_timeout.




SVN revision: 56581
2011-01-31 10:15:22 +00:00
김재환 d63a0cb003 From: 김재환 <jae.hwan.kim@samsung.com>
Subject: [E-devel] [Patch] els_scroller - Cannot click even if it
reach to end

I have another issue in scroller when the bounce is off.
Scroller cannot be clicked even if it reach to edge and animation is
end.
The reason is why the momentum animation is running even if it reach
end and bounce animation is off.
So I change the code that if it reach the edge in case of bounce-off,
the momentum animation is stoped.
The following is the patch code.




SVN revision: 56580
2011-01-31 10:13:40 +00:00
Jae Hwan Kim 1bfd549a08 From: Jae Hwan Kim <jae.hwan.kim@samsung.com>
Subject: [E-devel] [Patch] els_scroller -
elm_smart_scroller_child_region_show

I have some issue in scroller.
Sometimes the scroller move to wrong region when the child get first
focus.
It use "scroller -> layout -> button".
So I checked the code and found a suspected thing in
elm_smart_scroller_child_region_show.
Please refer following pictures.

In the pictures, the rect which be written "x, y, w, h" is the area 
which be made with the parameters of
"elm_smart_scroller_child_region_show".
The rect which be written "Pan" is the pan area of the scroller.

If the situation is 1) or 2) and the function is called, the result
have to be 7).
In case of 3) or 4), it have to be 8).
In case of 5) or 6), it have to remain as it is.
Is it right??

But if the situation is 6) and the function is called, the result will
be 7) in current code.
I think it is wrong.
I attached patch code. please find it below the pictures. 

1)
    ---------------
    |                    |
    |   x, y, w, h   |
    |                    |
    ---------------
---------------------
|                             |
|                             |
|                             |
|            Pan           |
|                             |
|                             |
|                             |
---------------------

2)
    ---------------
    |                    |
    |   x, y, w, h   |
---------------------
|   |                    |   |
|   ---------------   |
|                             |
|            Pan           |
|                             |
|                             |
|                             |
---------------------

3)
---------------------
|                             |
|                             |
|                             |
|            Pan           |
|                             |
|   ---------------   |
|   |                   |    |
---------------------
    |   x, y, w, h   |
    |                    |
    ---------------

4)
---------------------
|                             |
|                             |
|                             |
|            Pan           |
|                             |
|                             |
|                             |
---------------------
    ---------------
    |                    |
    |   x, y, w, h   |
    |                    |
    ---------------

5)
---------------------
|                             |
|   ---------------   |
|   |                    |   |
|   |   x, y, w, h   |   |
|   |                    |   |
|   ---------------   |
|            Pan           |
---------------------

6)
    ---------------
    |                    |
---------------------     <---Pan
|   |                   |    |
|   |   x, y, w, h  |    |
|   |                   |    |
---------------------
    |                    |
    ---------------

7)
---------------------
|   |                    |   |
|   |   x, y, w, h   |   |
|   |                    |   |
|   ---------------   |
|                             |
|            Pan           |
|                             |
---------------------

8)
---------------------
|                             |
|            Pan           |
|                             |
|   ---------------   |
|   |                    |   |
|   |   x, y, w, h   |   |
|   |                    |   |
---------------------
                                     


SVN revision: 56579
2011-01-31 10:00:49 +00:00
ChunEon Park 4c33d6b63e From: ChunEon Park <chuneon.park@samsung.com>
Subject: [E-devel] [PATCH] elc_ctxpopup

only set style on scroller if it exists.



SVN revision: 56578
2011-01-31 08:47:19 +00:00
WooHyun Jung 7b67483821 From: WooHyun Jung <wh0705.jung@samsung.com>
Subject: [E-devel] [Patch] small patch for elm_main.c

I made small patch for elm_main.c

In elm_all_flush function, I was suspicious about, 

if _elm_win_list is NULL then following codes should not be called or
not.  

 
 
 ejde_file_cache_flush();
 
 edje_collection_cache_flush();
 
 eet_clearcache();
 
  
  
  I thinks above functions should be called without any consideration
about
the state of _elm_win_list. 



SVN revision: 56574
2011-01-31 08:32:15 +00:00
Daniel Juyung Seo 02c41ce22e From: Daniel Juyung Seo <juyung.seo@samsung.com>
Subject: [E-devel] [Patch] elm_genlist patch for group index handling
and bug fix

I attached a small patch for elm_genlist.c

1. _item_block_position() fix
This patch realizes group index even there is no sub-items.
There was a request about this.
And it shows that there is no sub-items explicitly.

2. Bug Fix
Null check routine was wrong-placed.
I fixed it.



SVN revision: 56573
2011-01-31 08:30:11 +00:00
Jae Hwan Kim efaf969d30 From: Jae Hwan Kim <jae.hwan.kim@samsung.com>
Subject: [E-devel]  [Patch] environment parameter - ELM_EFFECT_ENABLE

I want to add the environment parameter "ELM_EFFECT_ENABLE".
It will play a role as the enablement for the effect of all widget.



SVN revision: 56572
2011-01-31 08:18:58 +00:00
ChunEon Park da9df5693a From: ChunEon Park <chuneon.park@samsung.com>
Subject: [E-devel] [PATCH] elm_transit

Here is a minor patch for elm_transit
(indentation & removed unuseful calls - evas_map_smooth_set)



SVN revision: 56571
2011-01-31 08:03:16 +00:00
Vincent Torri 81bd70bae2 fix windows build
SVN revision: 56570
2011-01-31 08:00:03 +00:00
Tom Hacohen 31bad588cc Elementary theme: Made list and genlist's text auto-align according to language's direction.
SVN revision: 56551
2011-01-30 12:29:30 +00:00
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