Commit Graph

236 Commits

Author SHA1 Message Date
Daniel Juyung Seo ac25946a19 elm: introduce ELM_FREE_FUNC for code quality enhancement.
There are pros and cons but this
1. reduces human mistakes.
2. enhances readability.
3. enhances code quality.
4. removes future bug.
5. was adopted from enlightenment.

This is not all. I will work on enhancing elementary more and more.
2013-05-22 02:24:02 +09:00
Flavio Ceolin d53cc519ff Welcome a new smart callback for scrollables -- page,changed. 2013-05-15 18:57:15 -03:00
Daniel Juyung Seo 9c28b4409e elm_gengrid.c: initialized local variable.
This needs to be re-visited.
I am also looking at you, JackDanielz.
2013-05-10 22:38:33 +09:00
Daniel Zaoui ac01929f37 Elementary: Drag & Drop feature for items containers
New APIs have been added to facilitate DnD for genlist, gengrid and list
widgets.
Tests have been added in the new section DnD to play with that.
2013-05-09 13:57:31 +03:00
Shinwoo Kim 3630715e62 [access][gengrid] fix: gengrid does not work under the accessibility 2013-05-03 19:53:56 +09:00
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09:00
Daniel Zaoui 187d6bf8de Elementary: replace eo_data_get for objects data referencing. 2013-05-01 11:04:09 +03:00
Daniel Juyung Seo 74b3eed5fd elm: print the error message inside elm_widget_sub_object_add().
1. Do not need to print the same error message from all the widget codes.
2. Even though elm_widget_sub_object_add() can be used internally, there should be no error message at all.
   Elm devs should fix it beforehand.
   So it looks ok to print the error message in elm_widget_sub_object_add() to force elm devs to fix it.
3. Got additional code cleanups.
2013-04-03 11:28:53 +09:00
Daniel Juyung Seo 758bbce11d gengrid/genlist: removed relcount leftovers from commit 3f4c3e03c600c87782543cf08de886016f2c192e. 2013-04-02 12:44:27 +09:00
Flavio Ceolin 9ea9e13c26 Genlist, gengrid: two new smart callbacks
Adding ones for mouse pressed and mouse released on items. The event
info for both callbacks are the items being pressed/released.
2013-03-20 13:39:51 -03:00
Tom Hacohen d75cb616da Change usage of eo_do_super to the new prototype. 2013-03-18 16:15:12 +00:00
Daniel Juyung Seo 78c042cdbe elm *.c: fixed formatting with EINA_LIST_FREE.
EINA_LIST_FREE (xxx) -> EINA_LIST_FREE(xxx)
2013-03-09 13:23:42 +09:00
Daniel Juyung Seo 8d1effeb20 elm elm_gengrid.c: Optimize item count calculation when an item is appended. Patch by Junki Cho <jk0811.cho@samsung.com>
Do not need to calculate the list count when a gengrid item is appended.
Just use item_count which was already calculated.
2013-03-04 20:32:04 +09:00
Gustavo Lima Chaves 312d0217a0 An internal layout error, on a widget set, is a CRITICAL error. 2013-03-01 23:04:31 -03:00
Jaehwan Kim d58d971e6f Add the option about sending signals in content_pos_set.
When the scroller is resized, the signals("elm,action,scroll", "elm,edge,top" so on) shouldn't be sent,
because it's not a scroll-action. So in this case, the content_pos_set should be called without the signals.
2013-02-28 15:18:51 +09:00
ChunEon Park 35c5f65051 elementary/gengrid - support language,changed smart callback
SVN revision: 83846
2013-02-12 07:29:16 +00:00
Daniel Zaoui cdd1eea853 Replace supported_types
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 83803
2013-02-10 07:52:31 +00:00
Daniel Juyung Seo 84d251acc8 elm list, genlist, gengrid: Added highlighted and unhighlighted signal callbacks.
SVN revision: 82750
2013-01-14 10:12:50 +00:00
Shinwoo Kim 44363b8f19 [access] export some APIs which would improve application side flexibility.
+ elm_access_object_item_register();
  + elm_access_object_item_unregister();
  + elm_access_object_item_access_get();



SVN revision: 82561
2013-01-10 12:00:05 +00:00
DUBEYPRINCE KUMAR ac8e33ea76 From: DUBEYPRINCE KUMAR <prince.dubey@samsung.com>
Subject: [E-devel] [BUG] [ELM] [PATCH] Bug fixes for APIs
elm_gengrid_region_show/bring_in

Please review the attached patches.

Attached patch "elm_gengrid.patch" which fix the bug related to
elm_gengrid_region_show/bring_in APIs.

And patch "test_gengrid.patch" in order to test the fix.



 Change Description:
 
      1. An internal function _item_show_region() is created which does
      the
      calculation for item position.
      
          2. This function is called in _calc_job() as soon as pan
object
gets its
size.

    3. Test_gengrid code enhancement for testing the fix.



SVN revision: 82063
2013-01-03 12:03:55 +00:00
Shinwoo Kim f10fb3e115 [access] export some APIs,and remove unnecessary lines.
+ elm_access_object_register();
  + elm_access_object_unregister();
  + elm_access_text_set();
  + elm_access_text_get();
  + elm_access_cb_set();

These APIs are to use edje part, evas object as an accessible object.
and do not create access object, because access object would be created at run time.
This is different with internal API _elm_access_object_register();


SVN revision: 81659
2012-12-23 14:50:56 +00:00
Gustavo Lima Chaves 4643908f4f [elm] Fix some copy and paste failures.
Thanks Cedric for reporting.



SVN revision: 80149
2012-12-04 12:52:06 +00:00
Yakov Goldberg 5c98343198 We have ported to Eo all the widgets of elementary. We didn't change the inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79668
2012-11-26 06:32:53 +00:00
Daniel Juyung Seo 383eab67b9 elm gengrid: Refactoring. Use simpler code.
SVN revision: 79396
2012-11-16 14:26:10 +00:00
Daniel Juyung Seo 939e024fb4 elm gengrid/genlist: Refactoring. Now genlist/gengrid item new functions look similar.
SVN revision: 79395
2012-11-16 14:26:07 +00:00
Daniel Juyung Seo ea644c1552 elm genlist/gengrid: Refactoring.
SVN revision: 79394
2012-11-16 14:26:04 +00:00
Daniel Juyung Seo 7c3b90dc72 elm gengrid: Removed unnecessary duplicated calls.
SVN revision: 79392
2012-11-16 14:25:46 +00:00
Michael BOUCHAUD 2a4c76ddeb elmentary: add elm_gengrid_nth_item_get
SVN revision: 79296
2012-11-14 16:34:33 +00:00
Daniel Juyung Seo adc7416fcb elm access: Rename access hook name according to elm refactoring.
SVN revision: 78993
2012-11-08 08:33:26 +00:00
Daniel Juyung Seo 4e49a5f52e elm gengrid: Fixed wrong _calc_job parameter. Patch by Bluezery <ohpowel@gmail.com>
On Fri, Oct 19, 2012 at 12:30 PM, Bluezery <ohpowel@gmail.com> wrote:
> Dear all,
>
> There is a bug, invalid data assign into ecore_job.
> Trivial whilte space removal is included also.  it's automated in my editor :D.
>
> Please review this patch.
>
> --
> BRs,
> Kim.

SVN revision: 78221
2012-10-19 04:06:42 +00:00
Daniel Juyung Seo 30dba54610 elm: Fixed indentations for EINA_LIST/INLIST_FOREACH(_SAFE).
SVN revision: 77244
2012-10-01 07:36:27 +00:00
Kim Shinwoo 4de57c2cb9 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] *  access *

Series of of pathes from kim shinwoo. looked good to me - so in they
go, finishing off some more access mode to be more complete.



SVN revision: 75415
2012-08-18 13:52:03 +00:00
Gustavo Lima Chaves 58c743a90e [elm] Gengrid inheritable.
SVN revision: 74694
2012-07-31 22:07:07 +00:00
Daniel Juyung Seo be4d9166f4 elm gengrid: Fixed item_show bug.
SVN revision: 74643
2012-07-31 11:02:27 +00:00
Gustavo Lima Chaves 7d1ffe6195 [elm] Some oopsies--.
SVN revision: 74405
2012-07-25 22:03:07 +00:00
Gustavo Lima Chaves 40c3ef3b46 [elm] Fix bad gengrid porting on a function.
SVN revision: 74149
2012-07-18 21:03:46 +00:00
Gustavo Lima Chaves 584c53c1be [elm] New elm_widget_add() usage spread.
SVN revision: 74148
2012-07-18 21:03:39 +00:00
Gustavo Lima Chaves 18a193ad22 [elm] Init code placement fix -- gengrid.
SVN revision: 74002
2012-07-17 16:42:20 +00:00
Gustavo Lima Chaves 9199e0d974 [elm] Forgotten cleanups and comments on gengrid.
SVN revision: 73940
2012-07-16 21:56:18 +00:00
Gustavo Lima Chaves 363cdf94c3 [elm] Gengrid now a scrollable layout.
SVN revision: 73541
2012-07-10 21:40:38 +00:00
Tom Hacohen db4635cfc1 Elm gengrid: (void *) and substraction don't play nicely together.
SVN revision: 72594
2012-06-21 11:55:19 +00:00
Mike Blumenkrantz e2d63d4c40 massive, massive, MASSIVE spankies to the person that wrote gengrid's sorted insert functions. cannot overstate the size of the spankies that await you if I decide to look through the svn logs.
also fixes ticket #984
--This line
\
, and those below, will be ignored--

M    lib/elm_gengrid.c


SVN revision: 72139
2012-06-14 14:11:04 +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 b7c213af86 elementary: ignore key event of keypad when NumLock is turned on in calendar, diskselector, gengrid, genlist, and player
SVN revision: 69939
2012-04-06 00:56:06 +00:00
Daniel Juyung Seo 76990d020e elm gengrid: Changed internal function and variable names.
item_moving_effect_timer -> item_reorder_move_animator
_reorder_item_moving_effect_timer_cb -> _reorder_item_move_animator_cb

SVN revision: 69795
2012-03-30 12:31:01 +00:00
Jiyoun Park 8e689efa47 remove deprecated code related with
elm_gengrid_always_select_mode_get/set
elm_gengrid_no_select_mode_get/set
function.


SVN revision: 69285
2012-03-13 07:39:31 +00:00
ChunEon Park f82f22855b elementary/gengrid - fixed incorrect item count reducing
SVN revision: 69248
2012-03-12 11:42:40 +00:00
Jiyoun Park bb9b4b34c8 remove code related with
elm_gengrid_item_gengrid_get
elm_gengrid_item_data_
elm_gengrid_item_disabled
elm_gengrid_item_del
elm_gengrid_item_item_class_set
elm_gengrid_item_direct_sorted_insert
which was deprecated


SVN revision: 69168
2012-03-10 10:35:56 +00:00
Hyoyoung Chang ec5b4619cb From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_gengrid - add item_select_mode_set/get
apis

I made a item_select_mode_set/get in elm_gengrid.
It works like genlist_item_select_mode apis.

+EAPI void
+elm_gengrid_item_select_mode_set(Elm_Object_Item *it,
+                                 Elm_Object_Select_Mode mode)
+EAPI Elm_Object_Select_Mode
+elm_gengrid_item_select_mode_get(const Elm_Object_Item *it)

from this morning - left over from last night.



SVN revision: 69056
2012-03-08 13:47:09 +00:00
Daniel Juyung Seo bea13e990e elm gen*: Changed local variable 'no_highlight' -> 'highlight' correctly.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69050
2012-03-08 10:58:32 +00:00