Commit Graph

78 Commits

Author SHA1 Message Date
Daniel Juyung Seo 4f6017e25e Elementary gengrid: Fixed bug. Patch by Jeonghyun Yun
<hj0506.yun@smasung.com>

From Jeonghyun Yun.
Hello.

I attached the patch file for calc_job bug.

I found ecore_magic_fail problem when ecore_job_del(wd->calc_job).
wd->calc_job should also to be NULL when pan_smart's cvw and cvh is 0 in
calc_job().

Please check about this patch.

Thanks.


SVN revision: 59034
2011-04-29 10:50:55 +00:00
Daniel Juyung Seo 22aeea6acf Elementary: Use !! to Eina_Bool substitution in EAPIs.
SVN revision: 58968
2011-04-27 16:06:11 +00:00
ChunEon Park 628d558cde elementary/gengrid - made to use signal callback descriptions table.
SVN revision: 58817
2011-04-22 00:57:15 +00:00
Daniel Juyung Seo 415b221632 Elementary gengrid: Fixed a warning.
SVN revision: 58721
2011-04-19 00:58:39 +00:00
Michael BOUCHAUD 0642a6c1cc elementary: add page_relative and horizontal getters to gengrid
SVN revision: 58705
2011-04-18 10:54:25 +00:00
Daniel Juyung Seo de8ecd6ff8 Elementary gengrid: Fixed doxygen typo.
SVN revision: 58597
2011-04-12 17:32:36 +00:00
Daniel Juyung Seo 77450413d7 Elementary src/lib: Removed all trailing whitespaces.
SVN revision: 58492
2011-04-08 14:36:29 +00:00
ChunEon Park 3761fc17f5 elementary / menu, gengrid, slider, separator, photocam, index, toggle
updated signal callback list in the doxygen



SVN revision: 58347
2011-04-05 07:04:09 +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
Daniel Juyung Seo 6dc86966fd Elementary elm_gengrid.c: Fixed doxygen.
SVN revision: 58303
2011-04-03 16:06:06 +00:00
Daniel Juyung Seo 16848f903d Elementary: Fixed wrong smart callback signal name. clicked -> clicked,double
Unified double-click smart callback signal name to "clicked,double".
Wrong signal name "clicked" is still there.
But this will be removed soon after fixing all codes in trunk.


SVN revision: 58293
2011-04-03 09:36:47 +00:00
ChunEon Park b880342a74 elementary - entry, genlist, gengrid, image, icon, hover, frame, diskselector, index, layout, label, conform, flip, flipselector - removed white spaces
SVN revision: 58252
2011-04-01 11:32:33 +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
Jihoon Kim 9f7eb24f39 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] elm_gengrid selection key patch

Unlike other widget, gengrid processes only the "Return" key for
selecting item.
This patch makes gengrid be able to process KP_Enter and space key for
selecting item.



SVN revision: 57662
2011-03-10 09:24:49 +00:00
ChunEon Park f522b7385c elementary/gengrid - fixed a bug by jh0506.yun@samsung.com
Hello.

I attached the modified patch about calc_job problem.

When I tested gengrid, sometimes gengrid renderd two times in different
shape in a moment.
So I checked gengrid code, I found cause in calc_job function.

calc_job added to ecore job after elm_gengrid_item_size_set and
elm_gengrid_item_append(,prepend,insert_before,insert_after) and etc.
Sometimes pan_smart's cvw and cvh is 0 at this time.

I think, No need to calc_job when pan_smart's cvw and cvh is 0.

Please check about this patch.

Thanks.



SVN revision: 57491
2011-03-03 13:01:39 +00:00
titan 0050463206 Elementary gengrid: Pressing the enter(return) key on the selected item now fires the "clicked" callback the same way double clicking does.
SVN revision: 57135
2011-02-17 20:12:43 +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
ChunEon Park 402ad63d3a elementary/gengrid - removed a line unuseful exception handling
this is patched by JungHyun Yoon.



SVN revision: 56889
2011-02-10 04:24:57 +00:00
Tom Hacohen c04d8990f0 Elementary: Added on-the-fly UI-mirroing support to all of the widgets
SVN revision: 56846
2011-02-09 16:14:02 +00:00
Tom Hacohen 99da5b6541 Elementary: Added ui-mirroring support for all the widgets.
SVN revision: 56803
2011-02-08 12:08:28 +00:00
Jeonghyun Yun dda2eae31a From: Jeonghyun Yun <jh0506.yun@samsung.com>
I found one small bug in elm_gengrid.c

"item" is used after "free(item)" in elm_gengrid_item_del() function.

Can anybody check about this ? 



SVN revision: 55841
2011-01-04 10:05:27 +00:00
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
Gustavo Lima Chaves a08056e9dd Indenting one more beast.
SVN revision: 55447
2010-12-10 13:01: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
Tiago Rezende Campos Falcao a609cc1b69 Elementary patch for supporting keypad
Author: Jihoon Kim <jihoon48.kim@samsung.com>

SVN revision: 55062
2010-11-29 13:56:33 +00:00
Gustavo Lima Chaves d93f1754b7 Elm style on disabled/enabled setter/getters has been this one.
Sorry for the incovenience, man at work.



SVN revision: 55058
2010-11-29 13:15:09 +00:00
Rafael Fonseca 7e70efd730 Fix showing specific items in Gengrid.
We need to account for min[xy] when calculating the position of an item.



SVN revision: 54981
2010-11-25 14:00:37 +00:00
Rafael Fonseca 8fb7daa582 Fix item alignment in Gengrid.
When the item was bigger than the grid it was not being correctly positioned.



SVN revision: 54906
2010-11-23 20:30:48 +00:00
Carsten Haitzler 4d9ef710d2 protect gengrid from div by 0
SVN revision: 54447
2010-11-10 23:59:59 +00:00
Bruno Dilly cdbd1bae85 Fix Gengrid keyboard navigation on horizontal mode
SVN revision: 54410
2010-11-10 18:04:28 +00:00
Bruno Dilly 8e67572fad Fixing comments in gengrid.
By: Otavio Pontes <otavio@profusion.mobi



SVN revision: 54191
2010-11-05 18:25:04 +00:00
Bruno Dilly 7c5152ef83 Add cursor getters for elm widgets and items
SVN revision: 54164
2010-11-05 00:46:54 +00:00
Otavio Pontes eff9c70829 Calling callback when grid has changed.
Patch by: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54130
2010-11-03 18:31:31 +00:00
Otavio Pontes aec1fcd220 Calling callback 'unrealized' when an item is unrealized.
Patch by: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54129
2010-11-03 18:30:48 +00:00
Tiago Rezende Campos Falcao 1d4a864966 Add checkers to gengrid items
SVN revision: 54090
2010-11-02 11:26:47 +00:00
Tiago Rezende Campos Falcao ba89544efc list, genlist and gengrid, if no item is selected
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

If no item is selected, pressing up it will select the first and down
will select the last item

SVN revision: 53924
2010-10-27 14:38:57 +00:00
Tiago Rezende Campos Falcao bc44338213 Deselect all items when press Esc
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

list, genlist, gengrid: Using _deselect_all_item

SVN revision: 53923
2010-10-27 14:38:54 +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
Carsten Haitzler 4de21dcc19 lets set list to null after we free it and before we call funcs that
could call callbacks that access this freed list eh?



SVN revision: 53325
2010-10-13 00:41:00 +00:00
Gustavo Sverzut Barbieri bf43a6d53c oops, important typo, thanks tiagofalcao
SVN revision: 53267
2010-10-11 17:55:28 +00:00
Rafael Fonseca fdcf18e462 Add safety checks to genlist and gengrid.
The insert_(before|after) functions require a relative item so let's check for
it and appropriately return if it is not given.



SVN revision: 53253
2010-10-11 02:09:36 +00:00
Rafael Fonseca 105aeb5967 Fix items alignment in Gengrid.
Now alignment works no matter whether the item is smaller than the grid or not.
Also added a spinner to Gengrid 2 test so we can see the alignment in action
for different item sizes.



SVN revision: 53252
2010-10-11 01:55:07 +00:00
Gustavo Sverzut Barbieri 77b6c7a816 bugs--
SVN revision: 53249
2010-10-11 01:03:37 +00:00
Gustavo Sverzut Barbieri ada8ac0f82 gengrid more genlist-like.
use inlist so we don't have to find stuff to operate on.

export more methods, like elm_gengrid_item_next_get(),
elm_gengrid_item_prev_get() and elm_gengrid_first_item_get() and elm_gengrid_last_item_get()... so we don't expose elm_gengrid_items_get().

People using the old elm_gengrid_items_get() should move to
elm_gengrid_first_item_get() and then next variant.



SVN revision: 53248
2010-10-10 23:54:11 +00:00
Rafael Fonseca 0090ce210c Add more insertion types to Gengrid.
Gengrid now has modes append, prepend, insert_before and insert_after. To see
them working check the Gengrid 2 test on elementary_test.



SVN revision: 53242
2010-10-10 21:05:23 +00:00
Rafael Fonseca 484d79e3c0 Don't change no_select state when adding item to Gengrid.
If one wants to create a Gengrid with seletion mode disabled and dynamically
add items to it the no select mode would be overwritten. So make Gengrid
selectable by default and just change the selection state when user explicitly
calls elm_gengrid_no_select_mode_set() function.



SVN revision: 53241
2010-10-10 20:45:30 +00:00