Commit Graph

189 Commits

Author SHA1 Message Date
Sanjeev BA 8cc2af2d7c Renaming ITEMS_SUBITEMS to ITEMS_TREE.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68942
2012-03-07 12:57:13 +00:00
Daniel Juyung Seo f545d9ace9 elm diskselector: Reviewed diskselector.
SVN revision: 68936
2012-03-07 12:30:00 +00:00
Bluezery 8479b5f328 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel]  [Patch][elm_map] Change & Add map APIs

I rename & add some APIs.
As previously discussed, I categorized map APIs.
(http://marc.info/?l=enlightenment-devel&m=132685497711772&w=2)

1) Zoom
elm_map_zoom_set/get
elm_map_zoom_mode_set/get
elm_map_zoom_min_set/get
elm_map_zoom_max_set/get

2) Region - Geographic coordinates (region)
elm_map_region_get
elm_map_region_show/bring_in
elm_map_canvas_to_region_convert

I will not use "_geo_" in map APIs. All map APIs are basically used by
geographic coordinates.

3) Property
elm_map_paused_set/get
elm_map_rotate_set/get
elm_map_wheel_disabled_set/get
elm_map_user_agent_set/get

4) Overlay
elm_map_overlay_add/del
elm_map_overlay_xxx
elm_map_overlay_class_xxx
elm_map_overlay_bubble_xxx
elm_map_overlay_route_xxx

I will add line, rectangle, poi overlays  ASAP.

5) Source - External Provider  (Tile, Route, Name, )
elm_map_sources_get
elm_map_source_set/get

I will add more provider ASAP such as POI, etc.

6) Route
elm_map_route_add/del
elm_map_route_distance_get
elm_map_route_node_get
elm_map_route_waypoints_get

7) Name
elm_map_name_add/del
elm_map_route_address_get
elm_map_route_region_get

6) Route and 7) Name do not return visible objects actually.  Those
just return data.
I don't know "_add" suffix is correct for none visible objects.
I cannot decide yet whether those should be removed from map widget.
But current trends are that route, geocoding are  tightly coupled with
Map.

If Apps want to use only data, just use elm_map_route_add().
If not, use elm_map_route_add() & elm_map_overlay_route_add().
Also name overlay could be added in the future.

8) Miscellaneous
elm_map_tile_load_status_get

9) Signals
Basic events : "clicked", "clicked,double", "press", "longpressed",
Scroller events: "scroll", "scroll,xxx,xxx"
Zoom events: "zoom,start/stop/change"
Source (provider) events: "tile,load/loaded/loaded,fail" ,
"route,load/loaded/loaded,fail", "name,load/loaded/loaded,fail"

There are some big patches. I think diff program do not make exact
diff. :D.
Anyway, it's  better to maintain if this can be in before API fix
(elementary 1.0).
Because after these change, It is hard to maintain old APIs.

PS) Documentations and some minor bugs are remained yet.



SVN revision: 68915
2012-03-07 09:28:08 +00:00
Sanjeev BA 4cba665fbf Fix example build issue.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68907
2012-03-07 08:55:43 +00:00
Sanjeev BA c44c6722d8 Fix warnings and build errors.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68906
2012-03-07 08:55:37 +00:00
ChunEon Park 453a41626d elementary/dayselector - oooops crazy hermet
I missed to add files 



SVN revision: 68870
2012-03-07 05:09:36 +00:00
ChunEon Park 18e3c65c0e elementary/dayselector - New widget Elc_dayselector
Hi Raster,
Please find the modified patch after the suggested changes. 
[ APIs are provided for setting week_start, weekend_start & weekend_length.Default values are fetched
from elm_config instead of edc styles.] 
Please review the patch and push it to svn. 
Thanks,
Sumanth 

Signed-Off-By: Sumanth Krishna Mannam(sumanth.m@samsung.com)



SVN revision: 68868
2012-03-07 04:57:03 +00:00
Cedric BAIL d72546d2fb elementary: fix raster's bork.
SVN revision: 68836
2012-03-06 14:56:56 +00:00
Jiyoun Park a21b344d32 remove deprecated funtion related elm_object_focus/unfocus/direction_go
SVN revision: 68828
2012-03-06 13:28:58 +00:00
Daniel Juyung Seo 342dc04638 elm examples: Removed anchorblock from build.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68808
2012-03-06 11:51:47 +00:00
Jiyoun Park cb39e15f46 fix build break;
add "info" option


SVN revision: 68806
2012-03-06 11:43:04 +00:00
Jiyoun Park f9fbc5ba51 remove deprecated code related with elm_button_label_get/set
SVN revision: 68786
2012-03-06 07:33:58 +00:00
Jiyoun Park 6bfd5967e4 remove deprecated code related with elm_bubble and elm_bg_overlay.
SVN revision: 68775
2012-03-06 06:54:02 +00:00
Carsten Haitzler c50f91f6cc lets update genlist/grid examples to use the new class thing.
SVN revision: 68774
2012-03-06 06:30:43 +00:00
ChunEon Park fe8d9b6c44 elementary/genlist - Elm_Genlist_Item_Flags -> Elm_Genlist_Item_Type
SVN revision: 68772
2012-03-06 05:53:25 +00:00
Rajeev Ranjan 9711e4c796 From: Rajeev Ranjan <rajeev.r@samsung.com>
Subject: [E-devel]  [Patch]  Elementary: New custom widget Popup

Hi All,
   Attached to the mail is the patch for a new custom elementary
widget  elm_popup for your review.

Change description:
New custom widget Popup added.

elm_popup is an enhancement over elm_notify widget with widely used
parts such as Title, Content and Action Buttons.
Items are supported as well and they are put inside the content area
which can have either an Evas Object/Set of items/Description text.



SVN revision: 68747
2012-03-05 23:51:56 +00:00
Daniel Juyung Seo 9c3fa866f5 elm: Applied icon/image API changes.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68728
2012-03-05 15:10:59 +00:00
Carsten Haitzler 0fe46a3666 oops forgot to add.
SVN revision: 68716
2012-03-05 13:21:39 +00:00
Sumanth Krishna Mannam 14df28cdae From: Sumanth Krishna Mannam <sumanth.m@samsung.com>
Subject: [E-devel]  [Patch] Elementary : New widget Elm_datetime patch

Attached to the mail is the patch for new elementary widget elm_datetime.
Refer to the below EFL post history for more details. 

The datetime widget provides an option to display Date & time based on
current locale format and the user can edit them through dynamic Modules.
Dynamic modules can be based on 1. Content Popup/diskselector based
list   2. Elm_entry with ISE based input   3. Elm_Spinner based  etc.
Refer to the Screenshots:  <1.ctxpopup_diskselector_UI>
<2.entry_ise_UI>   <3.spinner_selection_UI>

Can someone review and push this patch to EFL repository?

Change description:
New widget Elm_datetime is added.
Datetime widget displays the Date &Time fields and provides a
customizable way to edit them.
The widget is implemented in a modular fashion for date/time field inputs.
Ctxpopup based input is proposed as the default selection module.
Localization support based on Libc is also supported.

Sign-Off By:  Sumanth M.V.K  <sumanth.m@samsug.com>



SVN revision: 68696
2012-03-05 11:07:05 +00:00
WooHyun Jung 9073ed6efb [elementary/index] Some APIs were modified or removed + fix build
break.


SVN revision: 68690
2012-03-05 10:05:58 +00:00
Bluezery 4de5c80ede From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch][elm_map] Add overlay in the map

I made a overlay APIs in the map. This will replace the marker APIs.
I hope that markers will be deleted before elementary 1.0 release.
This was discussed before in
http://marc.info/?l=enlightenment-devel&m=132685497711772&w=2

Marker only supports layout style overlay. So only icon and image are
suitable for marker.  For now on, overlay can support any evas object
and also layout style.
Currently overlay support default, bubble, and class types.  And more
types will be added (Polyline, Polygon, scale, POI etc.).
I made a Elm_Map_Overlay opaque structure for handling general overlay
properties (hide, pause, show, etc.) and coordinates or internal
content (icon, content, etc.) for those different types.
Class type overlay is something like mixture of previous marker group
and marker class.
If member overlays in the same class are closed, they will be grouped.
(Same functionality as previous maker group.) The group's properties
and contents are defined by using general overlay functions.  (New
functionality)
This defined properties and contents can be be propagated to member
overlays appended to this class.  (Same functionality as previous
maker class.)

There are some missing functionalities remained. Group callbacks are
not supported yet in the overlays.
So images inside group bubble can not be shown. I will implement this
feature.

After this patch, I will fix signals and function names before
elementary 1.0 releases.




SVN revision: 68672
2012-03-05 04:18:33 +00:00
WooHyun Jung 123bcbfc06 elementary/elm_menu : Deprecated one API and modified test codes.
SVN revision: 68619
2012-03-02 08:56:32 +00:00
Sanjeev BA 58f440f3c8 Renaming elm_web functions.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68618
2012-03-02 05:10:46 +00:00
Pau Espin Pedrol cc268617ab elm_slideshow: Deprecate elm_slideshow_show() and rename it to elm_slideshow_item_show()
SVN revision: 68567
2012-03-01 11:50:56 +00:00
Sanjeev BA e0efa2e5ad Change enabled_get/set to disabled_get/set.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68540
2012-02-29 07:54:57 +00:00
Jiyoun Park ac79e76aea remove deprecated function related with
anchorview and block's text set/get


SVN revision: 68451
2012-02-26 12:05:28 +00:00
Sanjeev BA 8a496e93ab Fix elm_photocam API and cnp documentation.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68373
2012-02-24 02:26:03 +00:00
Bluezery acf31ec4cd From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch][elm_map] Refactoring Elementary Map

I have done refactoring & code clean-up in elm_map.  Event if this
patch have much changes, refactoring & code clean-up jobs almost
always do.
Anyway, code is shortened and optimized I think.
 I have done following jobs in my patch.
 
 (1) Always change child size
 Scroller Child size is changed when integer zoom level is changed
 before. This makes bugs which mouse pointer is not correct on the map
 when map is dragging.
 Now, scroller child size is always changed when double zoom level is
changed.

(2) Evas map
Evas map is used for rotation & zooming before. But now it is used for
only rotation. evas_object_resize() can do zooming because (1) makes
child size always changed.

(3) Grid & Marker & Route, etc.
Because of (1), all coordinate calculations are all changed. So grid &
marker & route should be changed.
When I have fixed these, I have these split into small function
(create, free, update, place, etc.)
So these can be easily reused for other purpose ( I will add overlay
later.)
Also marker size is not changed and is not rotated anymore because
marker's coordinate is just rotated and evas_map is not used for
marker.

And grouping algorithm is somewhat changed. Each marker can be group
leader and if other markers (followers) are closed to leader, markers
are grouped.

Actually _marker_place() function do almost everything. (place marker,
bubble, group & make group, etc.)

Bubbles go along with parent object. (show, hide, move) and this is
created when marker & group are opened.
At now, bubble display bugs are all fixed.

As before, grid is created when elm_map_add() or tile source is
changed. And I add _grid_item_* functions for each 256x256 tile
management.  So grid_place() function can be simple now.

(4) Download idler
Before download is not a job or idler and is integrated with grid
calculation.
I have separated this into independent idler. So now, download idler
do download jobs when idler time.

(5) Zoom
I have made one zoom_do() function.  This does all zoom jobs. At now,
pinch_zoom & wheel_zoom & animated zoom do not much jobs. just call
zoom_do().

(6) Delayed jobs
As I know, evas is based on a retained mode and calculation can be do
later. So sometimes elm_map APIs can not  do the jobs correctly.
For example, elm_map_marker_list_show() or elm_map_zoom_set() can not
be used right after elm_map_add()  because window size and pan size
can be 0.   (refer map_example_02.c)
So when APIs related such calculation are called. These are deferred
and calculated later when _pan_calculate() is called.

5) Code clean-up
I have removed unused variables & functions.  and rearranged struct &
functions & declaration & static variables, etc.
Instead of "if (!wd) return; ", I changed this by macro,
"EINA_SAFETY_ON_NULL_RETURN(wd);". This is better for function
entrance check. Also ELM_NEW is used instead of calloc or malloc.

Aboves are all related each other. So it can be hard to split this
file. If these should be splitted, I'm going to freak ;D.
This patch does no harm!!!! :D.
 After this patch, I will add overlay APIs based on this patch.  I
 doubt whether I will add this before elementary 1.0 release.  :(
 


SVN revision: 68207
2012-02-21 08:01:22 +00:00
Carsten Haitzler 6636c616bf aah we'll take bluz' patch then instead of my fixing
SVN revision: 68206
2012-02-21 07:59:19 +00:00
Carsten Haitzler d893dbbc69 hmmm i missed the other part of bluez map commit. here it is.
SVN revision: 68192
2012-02-21 03:24:59 +00:00
Cedric BAIL 3a400e288e elementary: fix typo.
I am the only one who build everything every morning ?


SVN revision: 68062
2012-02-17 10:11:22 +00:00
ChunEon Park fb2e56a254 elementary/flip - more *INTERACTON*
SVN revision: 68023
2012-02-16 11:37:54 +00:00
Tom Hacohen 11f6738a6c Elm pager: remove all references from elm's tree.
SVN revision: 68016
2012-02-16 09:26:35 +00:00
ChunEon Park 536f8ec51f elementary/flip - deprecated APIs
elm_flip_content_front_set
elm_flip_content_back_set
elm_flip_content_front_unset
elm_flip_content_back_unset
elm_flip_content_front_get
elm_flip_content_back_get



SVN revision: 68009
2012-02-16 07:31:55 +00:00
ChunEon Park c49d5f27cb elementary - deprecated elm_engine_current_get API
Please use elm_engine_get instead



SVN revision: 67947
2012-02-15 02:29:57 +00:00
WooHyun Jung 8ce314ddf5 [elementary/entry_example] Change elm_entry_text_filter_append to
elm_entry markup_filter_append.


SVN revision: 67749
2012-02-08 07:48:59 +00:00
ChunEon Park 40e51b5fea elementary/gengrid - deprecated elm_gengrid_item_del()
please use elm_object_item_del() instead



SVN revision: 67621
2012-01-31 03:03:17 +00:00
ChunEon Park b1f436569c elementary/gengrid - deprecated 3 APIs.
elm_gengrid_item_data_set -> elm_object_item_data_set
elm_gengrid_item_data_get -> elm_object_item_data_get
elm_gengrid_item_gengrid_get -> elm_object_item_widget_get



SVN revision: 67619
2012-01-31 01:22:16 +00:00
ChunEon Park 7c0738c762 elementary/gengrid - Elm_Gengrid_Item -> Elm_Object_Item
Be happy! now all widgets are using the Elm_Object_Item interface.



SVN revision: 67599
2012-01-30 10:29:51 +00:00
ChunEon Park fd909fc341 elementary/list - deprecated elm_list_item_del()
please use elm_object_item_del().



SVN revision: 67598
2012-01-30 06:06:03 +00:00
ChunEon Park 42ddca9f31 elementary/genlist - deprecated elm_genlist_item_genlist_get()
please use elm_object_item_widget_get() instead.



SVN revision: 67596
2012-01-30 04:37:41 +00:00
ChunEon Park 1a9deee7df elementary/genlist - deprecated elm_genlist_item_del()
now let's use elm_object_item_del() API.

and deprecated elm_genlist_horizontal_get() APIS also.



SVN revision: 67566
2012-01-27 11:59:22 +00:00
ChunEon Park 749e8e2642 elementary/genlist - fixed indentation
SVN revision: 67563
2012-01-27 07:37:47 +00:00
ChunEon Park 4ee72ae553 elementary/genlsit, gengrid - removed duplicated disabled field.
deprecated elm_genlist_item_disabled_set/get, 
please use elm_object_item_disabled_set/get instead.



SVN revision: 67562
2012-01-27 07:36:36 +00:00
ChunEon Park d4ffe4c8c2 elementary/genlist - deprecated elm_genlist_item_data_set/get
but please use elm_object_item_data_set/get instead.


and what was purpose of this double casting? 

(int)(long) elm_genlist_item_data_get(gli);

these calls are used in some places. 

I removed the (long) casting because it looks useless.



SVN revision: 67546
2012-01-26 07:31:30 +00:00
ChunEon Park 640caff765 elementary/genlist - update to use new APIs
SVN revision: 67525
2012-01-25 09:25:12 +00:00
Cedric BAIL c9b5551660 elementary: match elm_list API.
SVN revision: 67499
2012-01-24 15:15:43 +00:00
Cedric BAIL dab18349e2 elementary: fix build of elementary genlist examples.
SVN revision: 67462
2012-01-23 10:09:46 +00:00
ChunEon Park da7b8465a3 elementary/genlist - Elm_Genlist_Item -> Elm_Object_Item
SVN revision: 67370
2012-01-20 05:18:31 +00:00
ChunEon Park 11282d3953 Elementary/list - Elm_List_Item -> Elm_Object_Item
SVN revision: 67110
2012-01-12 03:03:56 +00:00