Commit Graph

303 Commits

Author SHA1 Message Date
Bluezery 3bada185c3 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch][elm_map] Add elm_map_overlays_get &
elm_map_overlay_visible_get

I want to add 2 new APIs (elm_map_overlays_get & elm_map_overlay_visible_get).

There are no way to get the group overlays because group overlay,
something like virtual overlay, is created and deleted dynamically.
So elm_map_overlays_get returns total overlay's list and user can get
any type of overlays including group overlays.
Overlays which is grouped can not be visible. Because overlay grouping
is performed by elm_map, user do not know whether overlays are visible
or not. So elm_map_overlay_visible_get is added for this reason.



SVN revision: 71354
2012-05-23 10:29:03 +00:00
Carsten Haitzler d76345fc8a use profate atof that fixes up locale issues for string -> float
conversion.



SVN revision: 70485
2012-04-26 03:32:18 +00:00
Carsten Haitzler ba30effc3c lets not use a string wer just freed ok?
SVN revision: 70460
2012-04-25 08:56:25 +00:00
Carsten Haitzler 3a7b769a63 use the new escape text set to clear up issues if theme has TEXT vs
TEXTBLOCK items and handling escapes so text is consistend across elm.
fiuxes the fileselector issues kai reported.



SVN revision: 70362
2012-04-20 12:51:10 +00:00
Jihoon Kim 7046f87e3a elementary: ignore key event of keypad when NumLock is turned on in win, scroller, slider, video, photocam, map, slideshow, and spinner.
SVN revision: 69952
2012-04-06 10:34:03 +00:00
Daniel Juyung Seo 8c17d99712 elm: Fixed formatting. Added a space after 'if/while/for'
SVN revision: 69744
2012-03-29 11:09:45 +00:00
Sanjeev BA 710d49b9fd Fix related zoom
Author : Bluezery <ohpowel@gmail.com>

SVN revision: 69590
2012-03-23 11:15:01 +00:00
Sanjeev BA f1c642d3d0 Callback parameter should be Widget_Data, not Evas_Object.
Author : Bluezery <ohpowel@gmail.com>

SVN revision: 69577
2012-03-23 05:36:11 +00:00
Daniel Juyung Seo a40e45f37c elm map: Removed unused codes. Patch by Bluezery <ohpowel@gmail.com>
On Thu, Mar 22, 2012 at 9:38 PM, Bluezery <ohpowel@gmail.com> wrote:
> Hello,
>
> Now, Elm_Map_Marker, Elm_Map_Marker_Class, Elm_Map_Group_Class,
> Marker_Bubble are not used anymore.  So I removed all things related
> those in elm_map.
> Please review this patch.
> Thanks
>

SVN revision: 69571
2012-03-23 01:29:32 +00:00
Bluezery 9e3b73137b From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch][elm_map] Add line, polygon, circle, scale
overlay

This patch adds new overlay APIs (line, polygon, circle, scale) for elm_map.
These overlays are adhered to map even though zooming, panning.
You can test these by doing "elementary_test --> click mouse right -->
overlay"



SVN revision: 69562
2012-03-22 10:40:04 +00:00
Bluezery 6309c07b04 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch][elm_map] Map overlay color & grouping &
route Fix

This is patch for elm_map

1. Default and Class overlay can be set color by
elm_map_overlay_color_set().
2. Fix test application  for map API testing more.
3. Fix grouping for enabling group callbacks. If overlay group is
clicked, callback will be called.
And elm_map_overlay_group_members_set() API will be added later to get
list of overlays in the group.
4. Simplify route overlay: Previously, many polygon objects are needed
for one route overlay.
But now  just one is needed.



SVN revision: 69554
2012-03-22 05:23:19 +00:00
Sanjeev BA 1e1f9f6dd9 elm_map - Bug fix and cleanup.
Author : Bluezery <ohpowel@gmail.com>

SVN revision: 69519
2012-03-20 07:37:59 +00:00
Jiyoun Park d80db2c0b5 remove elm_map_marker_XXX
SVN revision: 69451
2012-03-16 08:02:33 +00:00
Jiyoun Park 08718ae177 remove elm_map_group_class_style_set
elm_map_group_class_icon_cb_set
elm_map_group_class_data_set
elm_map_group_class_zoom_displayed_set
elm_map_group_class_zoom_grouped_set
elm_map_group_class_hide_set


SVN revision: 69320
2012-03-14 07:13:40 +00:00
Jiyoun Park a4fc7e032e remove elm_map_marker_class_style_set
elm_map_marker_class_icon_cb_set
elm_map_marker_class_get_cb_set
elm_map_marker_class_del_cb_set


SVN revision: 69319
2012-03-14 07:00:43 +00:00
Jiyoun Park ee45e2dd0f remove elm_map_route_color_get/set
SVN revision: 69317
2012-03-14 06:51:35 +00:00
Jiyoun Park 346b8647a2 remove code related with
ELM_MAP_ROUTE_SOURCE_
elm_map_utils_rotate_coord
elm_map_utils_convert_
elm_map_utils_downloading_status_get
elm_map_canvas_to_geo_convert
elm_map_geo_region_
elm_map_source_zoom_
elm_map_source_name
elm_map_route_source
elm_map_max_marker_per
elm_map_paused_markers

elm_map_name_remove
which was deprecated


SVN revision: 69167
2012-03-10 10:07:27 +00:00
Cedric BAIL fdfcdda4a0 elementary: fix build with elm_map turned off.
SVN revision: 69041
2012-03-08 09:42:41 +00:00
cnook 6477874b2f From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][elementary_test] test_label

I have attached a patch for test_label. Please review the patch and
give any feedbacks. Thanks.



SVN revision: 68949
2012-03-07 13:50:37 +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
Carsten Haitzler 37ecd97950 warn--
SVN revision: 68890
2012-03-07 08:08:48 +00:00
WooHyun Jung 6009652735 [elementary] change API name from _scale_set to _resizable_set in
elm_image + elm_icon.


SVN revision: 68719
2012-03-05 13:36:01 +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
Sanjeev BA 4b20052170 Fix up elm_route have min_max API consistent with the rest of elm.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68379
2012-02-24 05:48:27 +00:00
WooHyun Jung 5ac0eac84d elementar/elm_map : Patch from Bluezery.
===============================
Previsouly i have tested rotation with old version of gesture layer in
touch devices.
Recent gesture layer gives somewhat different event information. So I
fixed it accordingly.
I tested this patch in touch-enabled device.


SVN revision: 68263
2012-02-22 11:40:09 +00:00
WooHyun Jung 6f3a1c3b3f elementary/elm_map : Include some signals to the signal group.
SVN revision: 68262
2012-02-22 11:22:18 +00:00
Daniel Juyung Seo ddec0677d0 elm elm_map.c: Fixed build break when emap is installed. Patch by
Taehwan Kim <ohpowel@gmail.com>

On Tue, Feb 21, 2012 at 8:02 PM, Bluezery <ohpowel@gmail.com> wrote:
> Hello,
>
> Previous my giant patches made build errors when EMAP is enabled. This
> patch fixed this.
> 'ox'  & 'oy' is almost useless values (-1 or 0 value).  I will fix and
> upgrade all things related EMAP later.
> Please review this patch

SVN revision: 68214
2012-02-21 11:19:09 +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 cbcdc8f8da fix some naming in elm_map as i suggested before.
SVN revision: 68195
2012-02-21 03:40:52 +00:00
Carsten Haitzler 4d730745f7 aaand other part of bluez map commit. easier to fix formatting in svn.
SVN revision: 68194
2012-02-21 03:26:00 +00:00
Bluezery 80a3a87fa9 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel]  [Patch][elm_map] Fix zoom & rotated coordinates bug

In my point of view, elm_map did not consider zooming & rotation by
using Evas_Map initially.
There are no problems if you use only elm_map_zoom_set(). But if you
use pinch gesture or wheel to do subtle zooming & rotating, the
calculations of coordinates are not correct currently.

I have fixed these problem and also made some utility APIs for user
convenience.
I made following 3 APIs.
1. elm_map_utils_size_get()
Currently users can only get integer zoom level by using
elm_map_zoom_get().
So if user want to calculate full map size, user should calculate
pow(2.0, zoom level) * tile size.  Furthermore, user assumes tile size
as 256. (tile size can be changed!!)
Also it's not correct sometimes because Evas_map is used for subtle
zooming between zoom levels.
Above APIs return correct full map size.

2. elm_map_utils_region_get()
It can used for getting left top coordinates, center coordinates and
width, height of currently shown map area.

3. elm_map_utils_convert_canvas_into_geo()
Currently it is hard to converting x, y coordinates to geographical
longitude, latitude because of subtle zooming & rotating.
If use wants to get it, user uses combination of above functions and
more. It is harsh job.
This function is used for getting longitude, latitude from x, y
coordinates of current viewport.



SVN revision: 67286
2012-01-18 03:55:40 +00:00
Hyoyoung Chang 7e32a93988 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_map - bugfix small errors
Date: Mon, 9 Jan 2012 20:00:02 +0900

Dear all

After run map menu in elementary_test, i found some minor errors
1. some passing data ptr is wrong at obj_rotate_zoom
2. clipped part isn't set by rect

thanks


SVN revision: 67190
2012-01-13 23:45:53 +00:00
Daniel Juyung Seo 34fd5bbeeb elm map: Fixed formatting. What's up map! Here is your formatting fix!
SVN revision: 67011
2012-01-10 06:43:57 +00:00
Bluezery b291d3c5be From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch][elm_map] Smooth stepping of wheel & pinch
gesture

When elm_map doing zooming by using wheel gesture, scroller is resized
if it exceeds certain limit.
But current limit value is 2.0 & 1.0, actually those should be below
2.0 and above 1.0.
The reason is that resizing means exactly 2.0 or 1.0. So if it is
above 1.99x,  it can be 2.0 and can be resized.
In addition, pinch.level & pinch.diff values should not be 1.0 or 2.0
for more accuracy. It should be half of previous pinch level or two
times of that.



SVN revision: 66658
2011-12-30 02:57:17 +00:00
Bluezery 5f6adf21b6 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch][elm_map] Pause progressbar animator when
map is paused


When map is paused by using elm_map_paused_set(), all existing
animations is stopped.
(ref:
http://docs.enlightenment.org/auto/elementary/group__Map.html#ga6ab43ef6429140f8cccbd3669c5ed52e)
But progress bar can be still running before all download requests are
completed. It is equal to user expectations.

I have fixed this.
if paused is TRUE, stop progress bar.
If paused is FALSE, start progress bar if download requests are
remained.



SVN revision: 66585
2011-12-28 04:18:59 +00:00
ChunEon Park 90d1d1635e elementary/map - a trivial change.
SVN revision: 66560
2011-12-27 05:43:04 +00:00
Bluezery 4658b25be4 elementary/map
Dear all,

I have found a bug that calculation fails when view port size is
bigger than map size.
For example, if map size is 256x256 but view port size is 798x798
(when zoom level is a 1), center longitude & latitude is out bound
from normal longitude & latitude.
I have fixed it.
Please review this patch.

Signed-Off-By: Bluezery <ohpowel@gmaill.com>
Signed-Off-By: ChunEon Park <hermet@hermet.pe.kr>



SVN revision: 66526
2011-12-26 11:03:18 +00:00
Bluezery 6e25241d32 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel]  [Patch][elm_map] Fix mouse down event propagation

It's simple bug fix for propagate mouse down event via long press
event properly.



SVN revision: 66503
2011-12-26 03:50:33 +00:00
Bluezery e4936563be From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel]  [Patch][elm_map] Mouse wheel bug fix

There is mouse wheel bug. Actually I have made it in previous patch :p

When using mouse wheel, tile size was changed between 0.5 ~ 2.0 before
zoom level is changed. But actually it should be changed between
1.0 ~ 2.0. I have fixed it. If tile size is below 1.0,  it does zoom-out.
And if tile size is above 2.0, it does zoom-in.



SVN revision: 66459
2011-12-22 07:54:59 +00:00
Bluezery 4a5b33941c From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch][elm_map] Apply elm gesture


elm_map implement pinch gesture by using evas mouse event. But it made
codes too complicated and dirty.
So I have changed pinch gesture by using elm_gesture. wheel zooming is
also improved somewhat.
From now on, configuration change related elm_gesture easily applied
to elm_map and we can see more smooth zooming :D

Anyway, els_scroller have bugs when the scrolling event & the resize
event occurs at the same time.
So, some dirty codes are added for preventing jumping to strange positions.
Later it will be removed when the bugs are fixed.



SVN revision: 66413
2011-12-21 06:12:08 +00:00
Bluezery 1e5c64bba1 From: Bluezery <ohpowel@gmail.com>
Subject: Re: [E-devel] [Patch][elm_map] Change grid management

(3) Simplify grid_load()
There exists 3 state for grid items. i.e., downloaded, downloading,
none states.
grid_load() does followings:
1. if a grid item does not exist, create it.
2. update a tile (if downloaded) or queues for download (if none) or
nothing  (if downloading)



SVN revision: 66153
2011-12-13 09:07:00 +00:00
Bluezery 66a391e67f From: Bluezery <ohpowel@gmail.com>
Subject: Re: [E-devel] [Patch][elm_map] Change grid management

(2) Revoking gi->have
I restore the gi->have values. The removal of this is my mistake.
gi->have is needed because I cannot know whether this file is
downloading (just opened and not written) or downloaded state even if
image file exists.



SVN revision: 66141
2011-12-13 08:39:01 +00:00
Bluezery d328f8b4c7 From: Bluezery <ohpowel@gmail.com>
Subject: Re: [E-devel] [Patch][elm_map] Change grid management

(1) Grid Management
There are no caching mechanism in current elm_map.
So, too many network resources are wasted because elm_map keeps only
two grids and already downloaded images are downloaded again and
again. (This also slows the map loading speed)
I have changed this grid management policy.

I have done followings.
1. Create all grids (all zoom levels) when elm_map_add() is called (No
memory overhead because of sparse matrix)
2. Clear all grids when map object is deleted.
3. Loads necessary grids and unloads unused grids when zoom level is
changed.

Changed grid management have one weakness that memory and tmp size can
grow bigger while map object is live.
I think it may need API such as elm_map_cache_size_set().



SVN revision: 66140
2011-12-13 08:31:55 +00:00
Bluezery 4231f82a56 From: Bluezery <ohpowel@gmail.com>
Subject: Re: [E-devel] [Patch][elm_map] Change grid management

Grid Management
There are no caching mechanism in current elm_map.
So, too many network resources are wasted because elm_map keeps only
two grids and already downloaded images are downloaded again and
again. (This also slows the map loading speed)
I have changed this grid management policy.

I have done followings.
1. Create all grids (all zoom levels) when elm_map_add() is called (No
memory overhead because of sparse matrix)
2. Clear all grids when map object is deleted.
3. Loads necessary grids and unloads unused grids when zoom level is
changed.

Changed grid management have one weakness that memory and tmp size can
grow bigger while map object is live.
I think it may need API such as elm_map_cache_size_set().



SVN revision: 66131
2011-12-13 03:48:18 +00:00
ChunEon Park 2a3bb21c44 elementary/map
Sorry, I have forgotten adding comments to my patch.
OSM recommends to requesting map images distributively.
Please refere http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames

I used 3 input parameters for selecting one from a, b, c or 1, 2, 3, 4
tile servers.
I attached patch with comments.

Signed-Off-By: TaeHwan Kim(ohpowel@gmail.com)
Signed-Off-By: ChunEon Park(hermet@hermet.pe.kr)



SVN revision: 65892
2011-12-05 09:00:04 +00:00
Bluezery 944ecff8f1 From: Bluezery <ohpowel@gmail.com>
Subject: Re: [E-devel] [Patch][elm_map] Remove unnecessary flags

There are too may flags in elm_map. Most of them are duplicated and unnecessary.
I have removed "want", "download", "have" variables.

I use gi->job instead of "want" & "download".
I use ecore_file_exists() instead of "have" flags.



SVN revision: 65890
2011-12-05 07:30:31 +00:00
Daniel Juyung Seo 7a50ddb3d5 elm map: Moved zoom_min_get()/zoom_max_get() to source_init() to
simplify code. Patch by Bluezery <ohpowel@gmail.com>


SVN revision: 65730
2011-12-01 03:54:52 +00:00
Daniel Juyung Seo 0bb9c1e212 elm map: Fixed memory leaks in _nominatim_url_cb() function. Patch by
Bluezery <ohpowel@gmail.com>


SVN revision: 65712
2011-11-30 08:37:55 +00:00
Daniel Juyung Seo 7cd22aa075 elm map: Add error handling to see the definite error log because
sometimes evas_object_image_file_set() is failed. Patch by Bluezery
<ohpowel@gmail.com>


SVN revision: 65707
2011-11-30 05:00:56 +00:00
Cedric BAIL 0c63e7b2d4 elementary: support build without Ecore_IMF and/or without Ecore_Con.
SVN revision: 65449
2011-11-20 15:00:43 +00:00
Boris Faure 1112d30a41 elm: change elm_object_content_part_set/get/unset to elm_object_part_content_set/get/unset
SVN revision: 65349
2011-11-17 21:02:31 +00:00
ChunEon Park 952fb9e124 elementary/map - patched by Bluezery(ohpowel@gmail.com)
Hi,

There are bugs that map removes list elements when using
EINA_LIST_FOREACH or EINA_LIST_REVERSE_FOREACH.
We should use EINA_LIST_FOREACH_SAFE or EINA_LIST_REVERSE_FOREACH_SAFE
instead for above case.
Please review belows



SVN revision: 65069
2011-11-11 16:29:15 +00:00
Bluezery 84f0b47a95 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [elm_map] ecore_file_download_full() should be used
properly

elm_map only checked that returned job is NULL.
But ecore_file_download_full() returns EINA_FALSE when error occurred.
So return value should be checked for proper usage.
Please review this simple bug fix



SVN revision: 64794
2011-11-06 06:11:57 +00:00
Kim Yunhan a5fd615233 From: Kim Yunhan <spbear@gmail.com>
Subject: [E-devel] [elm_map] Fix up too many connections at the same
time.


Currently, elm_map requests all visible map image tile to map server
at the
same time.
If the scene is turned off while panning or zooming, it will be
aborted on
HTTP requests.
But it already sent to map server, and it already made useless HTTP
connections.
So if you pan scrolling quickly, elm_map try to download and abort too
many
HTTP
connections repeatedly.

If you have stable and high-throughput data connection, it doesn't
matter
on your side.
However map server will get high load, It is sufficient reason to block
you.
In another case, if you have poor data connection such as 3G
connection, it
has less
throughput and it causes delay of downloading. And finally, the device
is
as full as
HTTP connections even you already aborted. It makes low-performance
issue on
your device.

I wrote a patch for solving this situation.
The idea is simple.

1. I limited number of maximum HTTP request on elm_map side.
2. If maximum HTTP request is exceed, keep requests on Eina_List.
3. If each image downloading is completed, try to download recent
request.
   (Because it has strong possibility for your screen)
   4. At the same time, invisible request will be removed.
      (It doesn't make HTTP connection yet)
      
      I tested many times on my desktop and device.
      It works for me. And elm_map's performance is improved
appreciably on 3G
connections.



SVN revision: 64685
2011-11-03 11:07:03 +00:00
Carsten Haitzler 48699797d6 and set have to false in other error cases.
SVN revision: 64599
2011-11-01 02:38:28 +00:00
Bluezery 6632d5a21f From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch] elm_map: add image loading error handling

I made a bug fix for elm_map.
When a downloaded image has an error, ,  elm_map removes a file and goes on
just like download succeeded .
However, it is not success, so it should be marked as FALSE for later retry.



SVN revision: 64598
2011-11-01 02:35:40 +00:00
ChunEon Park f856c0e9fe elementary - slider, scroller, progressbar, radio
applied elm_object_content_set/get/unset APIs. 



SVN revision: 64542
2011-10-31 02:56:03 +00:00
Daniel Juyung Seo d8cb0b4a88 elm map: Fixed internal function name.
SVN revision: 64537
2011-10-31 00:15:10 +00:00
Daniel Juyung Seo bafe9c7426 elm: Use appropriate add/del_full for evas event callbacks.
SVN revision: 64536
2011-10-31 00:13:32 +00:00
ChunEon Park dc180b67ce elementary/layout - deprecated elm_layout_content_set/get_unset
SVN revision: 64403
2011-10-26 00:46:16 +00:00
Mike McCormack beafec3884 elementary: Improve include file modularity
Move stuff out of elm_priv.h

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63900
2011-10-07 05:56:07 +00:00
Daniel Juyung Seo 787ad89b67 elm map: Coding convention.
SVN revision: 63513
2011-09-21 10:44:06 +00:00
Kim Yunhan 38fe934526 Elementary map : fix zoom-out bug
From: Kim Yunhan <spbear@gmail.com>

When you test elm_map with mouse wheel, it worked abnormally because of some bug.
So I made some more patch for fixing it.
This patch file also includes a previous patch (zoom-out issue).



SVN revision: 63510
2011-09-21 07:04:34 +00:00
Sangho Park 237c6e0961 Elementary map : a bug fix for zoom-out in elm_map by Kim Yunhan
I wrote a patch that handles a bug while zooming-out in elm_map.
When I try to zoom out, some tiles are broken.
But it is hard to notice because broken frame disappears quickly.

I investigated in a few days.
And I realize that there are something wrong.
When map is zoomed out, a tile is shrunk by evas_object_resize().
But evas_map handles its texture by just its origin image size not a shrunk size.
If evas_object's width & height is shrunk, I have to handle for its texture.


SVN revision: 63509
2011-09-21 06:20:28 +00:00
Mike Blumenkrantz 1dd49971d1 I can't think of any more clever names so we'll go with the old standard: really?
SVN revision: 62158
2011-08-05 23:14:17 +00:00
Mike Blumenkrantz d4da47741f really? part 3: the rereturn of really?
SVN revision: 62156
2011-08-05 23:11:28 +00:00
Bruno Dilly e8a286efb3 Elementary: Map Documentation
SVN revision: 62074
2011-08-03 21:05:20 +00:00
Jonas M. Gastal 0352f299d0 Elementary: A ton of random doc fixes.
SVN revision: 62066
2011-08-03 19:07:43 +00:00
Carsten Haitzler 8803910b36 make ecore_con a default requirement for elm.
SVN revision: 61789
2011-07-27 05:59:01 +00:00
Sangho Park 43bce580a5 Elementary Map: check status of ecore_file_download result
SVN revision: 61515
2011-07-20 02:07:47 +00:00
Mike McCormack 252c052ea7 elementary: elementary_config.h is a local include
Using #include <elementary_config.h> will fail if
elementary has never been installed.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61220
2011-07-11 01:22:19 +00:00
Vincent Torri d3a1fdd8fb again, first part of the fix of compilation of elm_map without ecore_con. elm_map.c must be fixed.
SVN revision: 61216
2011-07-10 21:45:47 +00:00
Tom Hacohen 1255fadd05 Revert "add first part of the ecore_con support. elm_map.c must be fixed."
Elm doesn't compile for me with this in.
This reverts commit 61193

SVN revision: 61198
2011-07-10 11:51:47 +00:00
Vincent Torri 2e130b0de9 add first part of the ecore_con support. elm_map.c must be fixed.
SVN revision: 61193
2011-07-10 09:00:57 +00:00
Daniel Juyung Seo fd970fedeb elm map: Fixed 'unused parameter' warnings.
SVN revision: 60745
2011-06-28 06:58:35 +00:00
Jonathan Atton d47854c49f elm: add elm_route: widget to display a route on elm_map. Currently the widget use lines, in the futur it will use edje
SVN revision: 60703
2011-06-26 17:36:18 +00:00
Jonathan Atton 4717eea85d elm: do not include config.h
SVN revision: 60687
2011-06-25 17:48:55 +00:00
Jonathan Atton 6b88bee7e5 elm_map: use emap
SVN revision: 60684
2011-06-25 14:30:10 +00:00
Daniel Juyung Seo dffab59e5e elm genlist, photocam, map: Fixed wrong signal emitting.
SVN revision: 60325
2011-06-15 05:30:23 +00:00
Daniel Juyung Seo 5b30088911 Elm: Use 'canvas' API and structure rather than 'output' API and
structure.

'canvas' and 'output' are same. So we need to deprecate one of them
later(may be evas 2.0 or so.) After I discuss this with raster, I've
got to use 'canvas' not 'output'. So I fixed elementary codes.


SVN revision: 60268
2011-06-13 11:26:08 +00:00
Sangho Park 1e718a6cbf Elementary map: improves pinch zoom & rotation
SVN revision: 60111
2011-06-09 02:54:26 +00:00
Sangho Park 92060c1ed5 Elementary map: add APIs for setting min,max zoom level
SVN revision: 59704
2011-05-26 12:40:29 +00:00
Sangho Park aefa4bc2b7 Elementary Map: remove ZOOM_MAX macro because it is not constant.
it'll be decided after all map source are loaded.


SVN revision: 59565
2011-05-21 13:13:53 +00:00
Sangho Park 38c4a57de6 Elementary map: fix doxygen
SVN revision: 59564
2011-05-21 12:09:55 +00:00
Sangho Park 0203bfdb0e Elementary Map: --warns (-Wshadow)
SVN revision: 59562
2011-05-21 08:59:19 +00:00
Sangho Park 1a547f902f Elementary map: split route & track (watchwolf's suggestion)
SVN revision: 59548
2011-05-20 05:55:15 +00:00
Daniel Juyung Seo c89634749a Elementary map: Removed Eina.h include. Eina.h is already included in Elementary.h.
SVN revision: 59410
2011-05-15 17:26:59 +00:00
Vincent Torri dfb8e2683c fix compilation on Windows
SVN revision: 59409
2011-05-15 16:14:17 +00:00
Sangho Park f28e056f58 Elementary map: fix pinch zoom resolution & zoom timing issue
SVN revision: 59335
2011-05-12 01:54:01 +00:00
Sangho Park c1be6dd566 Elementary map: remove redundancy of list traverse
SVN revision: 59333
2011-05-11 15:23:35 +00:00
Sangho Park 1f0bddcbae Elementary map: warn-- & fix pinch zoom-out resolution
SVN revision: 59318
2011-05-11 07:27:48 +00:00
Sangho Park 299fb99c62 Elementary map: fix bugs of pinch zoom
SVN revision: 59315
2011-05-11 05:30:27 +00:00
Sangho Park 909d4028da Elementary map: reduce grid num for speed
SVN revision: 59298
2011-05-09 14:30:29 +00:00
Sangho Park 1a366624f2 Elementary map: fix blink bug at zoom-in
SVN revision: 59262
2011-05-07 13:55:30 +00:00
Sangho Park 585f131e28 Elementary map:
> fix zoom-out animation bug
  > increase drawing grid number for rotate


SVN revision: 59261
2011-05-07 13:37:31 +00:00
Sangho Park 2c7fc83f40 Elementary map:
> fix ZOOM_AUTO_FILL, FIT bug
  > fix wheel bug  when paused is set


SVN revision: 59257
2011-05-07 06:32:34 +00:00
Sangho Park a5630930e8 Elementary map: fix wheel zoom bug
SVN revision: 59240
2011-05-06 10:52:20 +00:00
Sangho Park 0a07dc8225 Elementary map:
> --bug of zoom
   > API change (double elm_map_zoom_get() -> int elm_map_zoom_get())


SVN revision: 59216
2011-05-05 15:15:43 +00:00
Sangho Park cb2a485477 Elementary map: add elm_menu to test_map
SVN revision: 59193
2011-05-04 15:01:07 +00:00
Sangho Park b4830b8e84 Elementary map: elm_map source patch
i removed all custom enum & url callback of elm_map.
(ELM_MAP_SOURCE_CUSTOM_1, ELM_MAP_SOURCE_CUSTOM_2, ..., _custom1_url_cb, _custom2_url_cb, ... etc)
instead of those, i made sources list.
changed APIs are almost internal APIs...
but some APIs were changed for intuitive usage of map source.
user can make map module instead of setting custom APIs.

another change is "elm_module -> eina_module".
the reason of this change, is that elm_module uses environment value (i.e getenv, setenv.. ELM_MODULES)
i don't want to have a environment value dependency.


SVN revision: 59184
2011-05-04 09:44:53 +00:00
Sangho Park 524096648e Elementary map: change evas_object_line (route) to evas_object_polygon
SVN revision: 59016
2011-04-28 16:52:52 +00:00
Daniel Juyung Seo 670d2df7aa Elementary map: Use !! to Eina_Bool substitution in EAPIs.
SVN revision: 59008
2011-04-28 15:12:28 +00:00
Sangho Park 7221666342 Elementary map: fix zoom animation bug
SVN revision: 58989
2011-04-28 07:51:46 +00:00
Sangho Park 8dc7bff272 Elementary map: Added ELM_CHECK_WIDTYPE to EAPIs.
SVN revision: 58987
2011-04-28 05:40:48 +00:00
Daniel Juyung Seo 3a664b92cf Elementary map: Added wd vadidation check routine to EAPIs.
SVN revision: 58986
2011-04-28 04:16:00 +00:00
Sangho Park 2bf6702d02 elm_map: add default wheel control for zoom in/out
SVN revision: 58985
2011-04-28 02:47:12 +00:00
Sangho Park 052b0b6828 elm_map: fix zomming bug
SVN revision: 58967
2011-04-27 16:01:47 +00:00
Sangho Park daacf8fd7b elm_map: fix pinch zoom bug
SVN revision: 58946
2011-04-27 06:04:04 +00:00
Sangho Park 83c895afef change zoom_animation using evas_map
SVN revision: 58891
2011-04-25 08:11:46 +00:00
Sangho Park 46b61c812a fix doxygen
SVN revision: 58885
2011-04-25 02:41:37 +00:00
Sangho Park 6bc4670615 - add rotate feature
- pinch zoom improvement


SVN revision: 58784
2011-04-21 08:55:02 +00:00
Daniel Juyung Seo 12598eb6e6 Elementary map: Fixed doxygen, removed trailing whitespaces.
SVN revision: 58704
2011-04-18 07:37:49 +00:00
Sangho Park fe580b2fdb This is a patch for elm_map name(address) feature.
I added some APIs for name to elm_map.c and added some test code to test_map.c

I used nominatim OSM service. (http://http://nominatim.openstreetmap.org/)
as i felt, it's response time was very good to use.


SVN revision: 58703
2011-04-18 06:42:47 +00:00
Daniel Juyung Seo 77450413d7 Elementary src/lib: Removed all trailing whitespaces.
SVN revision: 58492
2011-04-08 14:36:29 +00:00
Daniel Juyung Seo 2496f67fa8 Elementary map: Fixed map bug and added null check routine.
SVN revision: 58489
2011-04-08 12:13:29 +00:00
Carsten Haitzler dccd5aa4c6 spank! wanings--
SVN revision: 58483
2011-04-08 08:42:32 +00:00
Daniel Juyung Seo d61cf35694 Elementary map: Route patch. Patch by Sangho Park <gouache95@gmail.com>
Mail from Sangho Park.
I added some APIs for route to elm_map.c
There are some route services provided by Open Street Map (yours, open
route service, monav...)
I just added 'yours' url callback and will add ors, monav.
And added some test code to test_map.c


SVN revision: 58474
2011-04-08 06:14:10 +00:00
ChunEon Park c7c99ddea6 elementry / entry, menu, notify, list, gengrid, actionslider, image, icon, anchorview, fileselector_button, calendar, photocam, anchorblock,
button, map, colorselector, hover, photo, diskselector, index, bubble, pager, hoversel, check, scrolled_entry, clock, flipselector

	    updated signal callback list in the  doxygen. 

            should update genlist, progressbar ... 



SVN revision: 58335
2011-04-04 16:34:18 +00:00
ChunEon Park 5176a3f867 elementary / entry, list, scroller, fileselector_button, config, photocam, map, pan, bg, store, priv, pager, conform, box, clock, flipselector
fixed indentation, removed white spaces.



SVN revision: 58267
2011-04-01 19:08:56 +00:00
ChunEon Park 160084626b elementary / menu, notify, list, panes, module, map, pager, panel, mapbuf - removed white spaces
SVN revision: 58251
2011-04-01 11:26:58 +00:00
Carsten Haitzler f74c18a02e make all widgets use a standard setup macro. cuts code down and
handles null parent errors, null wd alloc, null obj create errors etc.



SVN revision: 58242
2011-04-01 06:08:02 +00:00
sangho park 1bcb936306 From: sangho park <gouache95@gmail.com>
Subject: [E-devel] [Patch] elm_map_marker_region_get

This is a patch for elm_map_marker.
I added one api to get the coordinates of the marker.
because marker->longitude and marker->latitude are private data,
app can't access the coordinates of the marker.



SVN revision: 57665
2011-03-10 10:19:32 +00:00
Carsten Haitzler 8530ab5f6e and just use eina_hash_set
SVN revision: 57355
2011-02-27 09:16:33 +00:00
sangho park 075cbde990 From: sangho park <gouache95@gmail.com>
Subject: Re: [E-devel] [Patch] elm_map_user_agent_set and get

This is a patch for elm_map for setting user-agent.

- Add elm_map_user_agent_set
- Add elm_map_user_agent_get
- modify doxygen

elm_map uses OSM(OpenStreetMap), but we can add custom map provider.
If custom map provider server filters robot out (currently default
user-agent is 'curl'),
we need some APIs to set/get user-agent.



SVN revision: 57353
2011-02-27 09:00:22 +00:00
Daniel Kolesa ec54ccba6d Fix Elementary compilation under FreeBSD.
SVN revision: 57143
2011-02-17 23:52:08 +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
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 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
Carsten Haitzler 3a1c08cd03 warning--
SVN revision: 56046
2011-01-11 09:47:56 +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
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
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
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
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
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
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
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
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
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
Tiago Rezende Campos Falcao 15d0643b10 Getters should received const pointers
Only two getters continue without const:
* elm_theme_get
Need name review, or comportament.

* elm_toolbar_item_menu_get
Need comportament review, but will be fixed by bdilly.

SVN revision: 53874
2010-10-25 14:34:22 +00:00
Tiago Rezende Campos Falcao 4672a51b0c Remove tests == 0 and != 0
SVN revision: 53787
2010-10-22 21:41:27 +00:00
Tiago Rezende Campos Falcao 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Rafael Fonseca a7790e9dd7 Better way of setting bounce from profile.
Change pointed out by k-s.



SVN revision: 53744
2010-10-21 19:57:43 +00:00
Rafael Fonseca 3eaa37aa3b Use bounce information from profile in the scrollers.
Instead of just setting the bounce property to its scroller, each widget now
first checks in the profile used whether bounce is enabled or not.



SVN revision: 53730
2010-10-21 18:54:47 +00:00
Tiago Rezende Campos Falcao 8ca4d18a0b Fixing can_focus to the widgets
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

widgets:
anchorblock:    can_focus = EINA_TRUE
anchorview:     can_focus = EINA_TRUE
fileselector:   can_focus = EINA_FALSE
hoversel:       can_focus = EINA_FALSE
notepad:        can_focus = EINA_TRUE
scrolled_entry: can_focus = EINA_TRUE
bubble:         can_focus = EINA_FALSE
calendar:       can_focus = EINA_TRUE
clock:          can_focus = EINA_TRUE
conformant:     can_focus = EINA_FALSE
flip:           can_focus = EINA_FALSE
frame:          can_focus = EINA_FALSE
gengrid:        can_focus = EINA_TRUE
genlist:        can_focus = EINA_TRUE
index:          can_focus = EINA_FALSE
list:           can_focus = EINA_TRUE
layout:         can_focus = EINA_FALSE
map:            can_focus = EINA_TRUE
mapbuf:         can_focus = EINA_FALSE
menu:           can_focus = EINA_FALSE
notify:         can_focus = EINA_FALSE
pager:          can_focus = EINA_FALSE
panes:          can_focus = EINA_FALSE
progressbar:    can_focus = EINA_FALSE
photocam:       can_focus = EINA_TRUE
scroller:       can_focus = EINA_TRUE
table:          can_focus = EINA_FALSE
thumb:          can_focus = EINA_FALSE
win:            can_focus = EINA_FALSE

SVN revision: 52888
2010-09-29 12:22:30 +00:00
김지훈 d99918389f From: 김지훈 <imfine98@gmail.com>
I changed elementary source code related to focus functions.
Eina_Bool is used instead of integer type in those functions.



SVN revision: 52839
2010-09-28 04:28:14 +00:00
Lucas De Marchi 3fd31b24a0 Finish unscrewing patch-fu
SVN revision: 50820
2010-08-04 19:00:15 +00:00
Lucas De Marchi 54531a69ed FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00