Commit Graph

303 Commits

Author SHA1 Message Date
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
Carsten Haitzler 35be1859a0 fix possible null ptr deref
SVN revision: 50422
2010-07-21 23:33:35 +00:00
Jonathan Atton 5e1f84da2f elm_map: Add a hidden object to separate maps objects and marker objects. This way markers are always on top of the map.
SVN revision: 49952
2010-06-30 19:26:53 +00:00
Cedric BAIL bdf6efa129 * elementary: fix Ecore API changes.
SVN revision: 49860
2010-06-25 09:58:14 +00:00
Carsten Haitzler d888b71dba theme -> can specify a new theme for an object andit gets inherited. need to
add tests.



SVN revision: 48771
2010-05-12 01:03:46 +00:00
Carsten Haitzler 6ef532ddae and do the other instances too.
SVN revision: 48668
2010-05-07 13:24:29 +00:00
Boris Faure 1ca26086db elm: add lots of doc! Thanks to Mike (zmike/discomfitor)
SVN revision: 47944
2010-04-12 08:12:02 +00:00
Gustavo Lima Chaves a446b18538 Signal description infra for map.
SVN revision: 47778
2010-04-05 19:21:22 +00:00
Gustavo Sverzut Barbieri 06d14ed245 const and -Wextra, come on guys! :-/
SVN revision: 47409
2010-03-24 03:06:00 +00:00
Carsten Haitzler 9705f7dbe1 (remove useless edje_object_scale_sets's on objects that are not edje objects)
but more importantly - fix list to actually have a specific theme/base for it



SVN revision: 47381
2010-03-23 04:46:53 +00:00
Gustavo Sverzut Barbieri e01d72fe26 Use eina_stringshare_replace to avoid crashes.
By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 47187
2010-03-13 21:01:26 +00:00
Carsten Haitzler 27a1fc9a9c more warning--
SVN revision: 47099
2010-03-10 06:46:28 +00:00
Vincent Torri b07e49d435 remove unused parameter in the library.
I won't do this everyday, and i won't touch the tests.


SVN revision: 47093
2010-03-09 17:51:30 +00:00
Carsten Haitzler 58f0a50c45 more warning -- - and fix a lot of formatting in elm_map and some bugs lurking.
SVN revision: 47082
2010-03-09 16:27:46 +00:00
Carsten Haitzler 91e01aa86e patch from discomfitor <- check type of widget on api call and return if not
the right type



SVN revision: 47073
2010-03-09 06:15:39 +00:00
Carsten Haitzler dd7ed79b3c add test for floating objects (they can slide in etc. andnot be already
packed inside the view) and... fix issues with pan based objects clipping to
vieport etc. etc.



SVN revision: 45542
2010-01-25 03:53:36 +00:00
Carsten Haitzler 82ab409f96 also use canvas as live-region for pan contents like genlist
SVN revision: 45277
2010-01-18 06:44:56 +00:00
Jonathan Atton 63dd4538dc Elm map : change PATH_MAX by sizeof(buf) in snprintf
SVN revision: 44713
2009-12-24 10:21:54 +00:00
Jonathan Atton fb5a1aae29 Elm map : add API to set a custom source
SVN revision: 44678
2009-12-23 09:53:39 +00:00
Jonathan Atton 3a6d8926d3 Elm_Map : add a source manager and 3 souces
SVN revision: 44665
2009-12-22 22:47:17 +00:00
Jonathan Atton 4af4c79d48 Elm map : * do not display a bubble if the content is empty
* use a different temp dir for each map



SVN revision: 44634
2009-12-21 17:01:19 +00:00
Jonathan Atton 4e8afed130 Elm map : add a method to hide the markers of a group's class
SVN revision: 44615
2009-12-20 20:40:55 +00:00
Jonathan Atton fecc91bf03 Elm map : we can tell to a group class to not group the items if the zoom si greater than zoom_grouped
SVN revision: 44613
2009-12-20 18:48:31 +00:00
Jonathan Atton 007680e73f Elm map :
* now we have 2 class : 1 for the marker and 1 for the group. When a marker is "alone", the class of the marker is used, if it is grouped with others markers, the class of the group is used.
* markers with the same class are grouped. If 2 markers do not have the same class they are not grouped.
* an icon can be set by the user for a single marker or a class
* the theme have 3 different markers/groups : radio, radio2 and empty (only the numbers of markers and the icon are displayed)
* we can specify to display a group's class only for a zoom >= to a value. It means a marker of this group is not displayed for a zoom < to this value.
* off course we have new bugs too :)


SVN revision: 44610
2009-12-20 16:34:45 +00:00
Vincent Torri 831805ef0a use ecore_file_remove() instead of remove()
SVN revision: 44579
2009-12-19 19:12:08 +00:00
Jonathan Atton 33f4e9f399 Elm map: add poused_markers, if true the markers are not displayed while the zoom animation.
SVN revision: 44555
2009-12-18 21:28:06 +00:00
Jonathan Atton 61f4ac5c9e Elm map : the text no more fit in the marker (this is so sloowww) and some minors improvements
SVN revision: 44553
2009-12-18 20:16:37 +00:00
Jonathan Atton 5115557aba elm map : check if the matrixsparse exits
SVN revision: 44552
2009-12-18 18:30:28 +00:00
Jonathan Atton e32500af29 Elm map : fix elm_map_marker_remove() and when a marker is added in a dispalyed group -> update the bubble
SVN revision: 44551
2009-12-18 18:24:56 +00:00
Jonathan Atton c8c2cbc91b Elm map : increase the speed when marker are updated
SVN revision: 44549
2009-12-18 17:45:47 +00:00
Jonathan Atton 9af7495ecb Elm map : Put the evas_object which represent a marker in a cache to avoid create/delete the objects when the zoom change.
SVN revision: 44546
2009-12-18 17:00:01 +00:00
Jonathan Atton 805e5d1bb5 Elm map : replace the list of markers by a matrixsparse (1 cell per region), this way we can have a lot of markers (10k+)))
SVN revision: 44545
2009-12-18 14:28:36 +00:00
Christopher Michael 3ab5ec940f Fix nasty formatting.
Don't segfault if map cannot be created when launching test_map.



SVN revision: 44253
2009-12-07 18:05:04 +00:00
Jonathan Atton dd5cb32961 Elm map: remove warnings
SVN revision: 43990
2009-11-25 20:51:28 +00:00
Jonathan Atton f60db59094 Elm test : add eweather.
SVN revision: 43988
2009-11-25 20:37:53 +00:00
Jonathan Atton f9104face8 Elm map: when we delete a marker, if the group is empty -> delete it
SVN revision: 43972
2009-11-25 13:21:02 +00:00
Jonathan Atton 914a1d3868 Elm map: close the bubble, do not destroy the marker object.
SVN revision: 43893
2009-11-22 10:15:12 +00:00
Jonathan Atton e7f6a13ddc Elm map : add elm_map_bubbles_close()
SVN revision: 43883
2009-11-21 22:38:07 +00:00
Jonathan Atton c248cece9a Elm map : add new methods like delete a marker, display a list of markers ....
SVN revision: 43791
2009-11-18 21:07:01 +00:00
Carsten Haitzler d4b7bb1351 dont use class -> clas. c++!
SVN revision: 43776
2009-11-18 10:59:17 +00:00
Jonathan Atton 04242f0952 Elm Photocam : Fix the zoom.
SVN revision: 43751
2009-11-17 15:55:59 +00:00
Jonathan Atton 5374075e65 Elm map : Fix the zoom (need to be fixed in photocam too). Everything seems working fine now
SVN revision: 43750
2009-11-17 15:44:11 +00:00
Jonathan Atton a2bb1b0cbf Elm map : the height of the bubble is equals to the height of the content
SVN revision: 43743
2009-11-16 21:32:33 +00:00
Jonathan Atton 8d73a92e60 Elm map: remove curl_easy_error()
SVN revision: 43722
2009-11-15 23:10:31 +00:00
Jonathan Atton 85a087b648 Elm map : zoom is centred to the coordinate show/bring in. Focus the zoom on a specific geographic coordinate and a classic coordinate (x,y) is not the same because the zoom increase/decrease the precision.
SVN revision: 43717
2009-11-15 21:36:44 +00:00
Jonathan Atton 49f51f2bca Elm map: improvements in the theme. Double clic on a marker bring it to the center
SVN revision: 43715
2009-11-15 19:52:07 +00:00
Jonathan Atton f8982352ae Elm map : fix bubble theme
SVN revision: 43713
2009-11-15 16:24:02 +00:00
Jonathan Atton 5601e74460 Elm map : add the markers
SVN revision: 43710
2009-11-15 15:53:37 +00:00
Jonathan Atton 93e8a448ce Elm map : some fixs
SVN revision: 43692
2009-11-14 15:30:03 +00:00
Jonathan Atton 59d8a34755 Elm Map : some fix. "Show paris" wich is a zoom to 18 segv.
SVN revision: 43690
2009-11-14 13:58:22 +00:00
Gustavo Sverzut Barbieri 24d6072ecc fix valgrind reported problems.
GENERAL WARNING:

do NOT delete sub-objects (elm_widget_sub_object_add) or resize object
(elm_widget_resize_object_set) from del_hook()!! These are deleted
automatically before this function is called, thus you might double
free.

Fixed all occurrences I've spotted with valgrind. Please do not add more :-)




SVN revision: 43682
2009-11-13 22:22:05 +00:00
Jonathan Atton f2362de07c Elm map: test if http is supported by ecore. Fix a bug in thedownload destination path. Frequently the downloads are never finished, I investigate
SVN revision: 43673
2009-11-13 18:42:58 +00:00
Jonathan Atton 5b36d0ceeb Elm: add the zoom with the mouse wheel in the photocam test.
SVN revision: 43666
2009-11-13 17:34:20 +00:00
Jonathan Atton bf12a8e8e1 Elementary : add Elm_Map. 2 bugs are known : ecore become crazy after a time (I think ecore_download bug somewhere) and "Show Paris" does not work well because we can't zoom and immediately after move (an idler somewhere in the sroller move the scroller ?)
SVN revision: 43664
2009-11-13 15:22:23 +00:00