Commit Graph

4940 Commits

Author SHA1 Message Date
Aharon Hillel eefb994e6f elementary: Updated test_fileselector_button.c to do API testing
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 68327
2012-02-23 13:58:23 +00:00
Aharon Hillel 670cba4a40 elementary: Updated test_diskselector.c to do API testing
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 68326
2012-02-23 13:58:20 +00:00
Aharon Hillel 8856e00c61 elementary: Updated test_clock.c to do API testing
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 68325
2012-02-23 13:58:17 +00:00
Aharon Hillel 621a6eb20a elementary: Updated test_calendar.c to do API testing
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 68324
2012-02-23 13:58:14 +00:00
Aharon Hillel a97767638d elementary: Updated test_bubble.c to do API testing
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 68323
2012-02-23 13:58:12 +00:00
Aharon Hillel 5eb64aafe0 elementary: Updated test_box.c to do API testing
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 68322
2012-02-23 13:58:04 +00:00
Aharon Hillel e9d7499a59 elementary: Updated test_3d.c to do API testing
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 68321
2012-02-23 13:58:02 +00:00
Aharon Hillel d22f3fbec5 elementary: Fixed naming of tooltip 2 test
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 68320
2012-02-23 13:57:59 +00:00
Aharon Hillel ab3daf33ae elementary: Added infra for API testing in elementary_test
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 68319
2012-02-23 13:57:56 +00:00
Aharon Hillel a88ec9a405 elementary: Fixed memory leak when using --test-win-only
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 68318
2012-02-23 13:57:54 +00:00
Aharon Hillel f92cc5e609 Elementary: Fixed debug printf to use momentum
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 68317
2012-02-23 13:57:50 +00:00
Carsten Haitzler d83ff51f71 test and fix up horizontal_item style for toolbar.
SVN revision: 68313
2012-02-23 08:22:24 +00:00
Carsten Haitzler e04656c5bf and do gl15 test right with item class/pointers passed to item_append
SVN revision: 68311
2012-02-23 07:47:59 +00:00
Carsten Haitzler d4f750b00e eek - compile again.
SVN revision: 68310
2012-02-23 07:46:05 +00:00
Hyoyoung Chang a9dcddd041 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - add edit_mode feature (3/3)

As we discussed in 2011 May (
http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg32498.html
).
I post edit_mode patch.

It almost made by Seunggyun Kim. I fixed some bugs and complaint to
current genlist.
Two public apis are introduced.
+EAPI void               elm_genlist_edit_mode_set(Evas_Object *obj,
Eina_Bool edit_mode);
+EAPI Eina_Bool          elm_genlist_edit_mode_get(const Evas_Object
*obj);
And one attribute is added in genlist item class
+   const char *edit_item_style;

It can used for editing and deleting in genlist.



SVN revision: 68309
2012-02-23 07:39:10 +00:00
Hyoyoung Chang 7ab200383d From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_gengrid - add item class management api
(1/3)

As like genlist item class management api, I added 4 apis to
elm_gengrid.

+EAPI Elm_Gengrid_Item_Class *elm_gengrid_item_class_new(void);
+EAPI void elm_gengrid_item_class_free(Elm_Gengrid_Item_Class *itc);
+EAPI void elm_gengrid_item_class_ref(Elm_Gengrid_Item_Class *itc);
+EAPI void elm_gengrid_item_class_unref(Elm_Gengrid_Item_Class *itc);

gengrid item class is maintained by gengrid in automatic manner.
it maintains its reference count. and item_class_free api marks
"delete_me".
Unless item_class_free, item class will not be freed.



SVN revision: 68308
2012-02-23 07:36:12 +00:00
Jihoon Kim f83d0dd0c8 elm: fix doxygen warning
SVN revision: 68301
2012-02-23 05:40:53 +00:00
Jihoon Kim 4aaac964ed elm_cnp: describe buflen of elm_cnp_selection_set API
SVN revision: 68300
2012-02-23 05:35:38 +00:00
Carsten Haitzler f4e71c7abf hermet's code didnt create a bug.. it brought out an existing bug...
FIX!



SVN revision: 68298
2012-02-23 04:20:30 +00:00
Carsten Haitzler bb664dc971 if u deprecate a func in .h - also do it in .c!
SVN revision: 68297
2012-02-23 04:11:04 +00:00
Carsten Haitzler af5309f0a2 no space affter cast
SVN revision: 68296
2012-02-23 04:09:43 +00:00
Carsten Haitzler 0d93e97822 can_focus ne3eds to be actually set - not just tested against
SVN revision: 68295
2012-02-23 04:09:05 +00:00
Daniel Juyung Seo b8683eb9d8 elm genlist: Added mode_item_style to Elm_Genlist_Item_Class and
removed elm_genlist_mode_item_style_get/set APIs. Patch by Hyoyoung
Chang <hyoyoung@gmail.com>

On Wed, Feb 22, 2012 at 8:55 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Dear all.
>
> genlist item class had mode_item_style.
> it used for mode styling (such as sweep mode).
> one genlist can have multiple mode style.
> And mode_item_style's an item's attribute.
>
> So it's better to move to item class from widget_data.
>
> Thank you.

SVN revision: 68294
2012-02-23 03:15:40 +00:00
Daniel Juyung Seo 90d8ee3b8d elm genlist: Added more documentation for longpressed smart callback.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68293
2012-02-23 02:57:00 +00:00
Sanjeev BA bde5e891e6 Fix a few more review comments for cnp.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68292
2012-02-23 02:52:11 +00:00
Sanjeev BA c4c2e2bdea Remove MAX, it is not useful for app. developers.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68291
2012-02-23 02:52:07 +00:00
Sanjeev BA c373a26208 Make enum ordering same as _Ecore_X_Selection.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68290
2012-02-23 02:52:00 +00:00
Jonas M. Gastal 0d68484f08 Move gengrid and genlist to container list.
SVN revision: 68281
2012-02-22 17:01:32 +00:00
cnook 1f7f39f66d From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][elementary_test] test_box

Please review the attached patch and give any feedbacks. Thanks.



SVN revision: 68268
2012-02-22 12:33:25 +00:00
Carsten Haitzler ce4b795d8d toolbar vertical mode working right now.
SVN revision: 68267
2012-02-22 12:13:12 +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 278458bb59 elm test_genlist.c: Revised codes.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68255
2012-02-22 09:31:37 +00:00
Sanjeev BA 47b9767b1a Fix elm_transit and elm_web docs.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68251
2012-02-22 08:58:26 +00:00
Carsten Haitzler 931a64c939 move config load to sub init and sub init to after launch request to
pick up config changes for quicklaunch



SVN revision: 68250
2012-02-22 08:54:34 +00:00
Daniel Juyung Seo 548f616eae elm genlist: elm_genlist_item_count -> elm_genlist_items_count
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68245
2012-02-22 03:22:10 +00:00
Daniel Juyung Seo 259193eb01 elm Elementary.h.in: Updated Sanjeev's API review status.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68244
2012-02-22 03:22:03 +00:00
Mikael SANS 68b888a8e1 simplify expressions
SVN revision: 68242
2012-02-22 00:21:18 +00:00
Mike Blumenkrantz 8fb0f58c98 add elm_genlist_item_count(), change (int)wd->count to (uint)wd->item_count, fix a shadow var
SVN revision: 68240
2012-02-21 23:59:25 +00:00
Mikael SANS 8b6d86f565 Fix: wrong center point between fingers
SVN revision: 68228
2012-02-21 17:32:20 +00:00
WooHyun Jung 027d53b9d5 elementary : reviewed some *.h files.
SVN revision: 68220
2012-02-21 13:05:51 +00:00
ChunEon Park ed5c8799f5 elementary/focus - reviewed done!
SVN revision: 68218
2012-02-21 12:36:54 +00:00
Daniel Juyung Seo b40b6d68b8 elm test_box.c: Revised box_pack sample code.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68216
2012-02-21 11:46:05 +00:00
Daniel Juyung Seo 7d91161099 elm radio: Added elm_radio_selected_object_get().
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68215
2012-02-21 11:46:01 +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
Cedric BAIL 111b243b1b elementary: remove a pending reference to pager that could prevent the module to load.
NOTE: yes, i am using cloud compiling to :)


SVN revision: 68213
2012-02-21 11:05:02 +00:00
Carsten Haitzler 549b50e5ec oops return the focus order no matter what
SVN revision: 68212
2012-02-21 10:55:30 +00:00
Carsten Haitzler 628927d3d4 use focus order to determine if window never focused before instead of
show count. fixes focus problems in elm tests for entries



SVN revision: 68211
2012-02-21 10:54:46 +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