Commit Graph

5468 Commits

Author SHA1 Message Date
Daniel Juyung Seo 4801d7f5c1 elm elm_object: Fixed part content set hooks.
1. delete old content object
 2. check whether new content object is same as old content object
 3. added some doxygen description.

SVN revision: 69743
2012-03-29 11:09:40 +00:00
Daniel Juyung Seo 6733c92556 elm genlist: Fixed _item_content_set_hook. Use _item_content_unset_hook internally.
SVN revision: 69742
2012-03-29 11:09:34 +00:00
Daniel Juyung Seo 3d15654faa elm elm_object_item: Fixed item part content set hooks.
1. delete old content object
2. check whether new content object is same as old content object
3. rename internal content set hook function
4. elm_widget_sub_object_del will be followed by evas_object_del
5. added some doxygen description.

SVN revision: 69738
2012-03-29 10:08:37 +00:00
Carsten Haitzler 2101792842 fix next calgrind bitch. yay!
SVN revision: 69737
2012-03-29 09:54:21 +00:00
Carsten Haitzler 5208f9fc80 fix segv on elm_config exiting - entry bug! free(wd) AFTEr u have
finishing ACCESING IT!



SVN revision: 69736
2012-03-29 09:40:23 +00:00
Carsten Haitzler 59e4d32ccb tone down smoothing even more.
SVN revision: 69735
2012-03-29 09:39:54 +00:00
Carsten Haitzler 889261b252 warn-- for non-x
SVN revision: 69734
2012-03-29 09:28:13 +00:00
Carsten Haitzler fc5d362686 fix formatting! no if( ... space pls!
SVN revision: 69732
2012-03-29 09:21:32 +00:00
Carsten Haitzler b765aef2b0 adjust default configs for scroll smoothing to have a smaller window.
SVN revision: 69731
2012-03-29 09:19:09 +00:00
Daniel Juyung Seo c1c64fe3ad elm genlist: Fixed flip bug. Patch by Hyoyoung Chang
<hyoyoung@gmail.com>

On Thu, Mar 29, 2012 at 4:56 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Dear all
>
> I made a patch about flip_realize.
> Currently flip feature uses content_objs, so it should keep its
content_objs.
> However it's lost at _item_flips_realize().
> So i fixed to initialize with its content_objs.
>
> Thanks

SVN revision: 69725
2012-03-29 08:22:26 +00:00
Carsten Haitzler 01994a641a use new ref_get func in object cleanup for windows.
SVN revision: 69723
2012-03-29 07:46:59 +00:00
Daniel Juyung Seo 2d2ed8d95d elm genlist: Remove tree_effect_animator on genlist _del_hook.
SVN revision: 69721
2012-03-29 07:19:23 +00:00
ChunEon Park 9bd243f89d elementary/panes - Patch to handle deletion of current contents while setting new ones
Attached to the mail is a patch for elm_panes.

I have a query that shall we hide the unset content in the widget itself or should application explicitly hide them after unsetting!
In case of edje_object_part_unswallow, application needs to do it explicitly and it is documented but in case of elm_object_part_content_unset, there is no documentation available.

Details of the patch:

Existing Issue before this change:
   1. Panes deletes the older content while setting a new content even though both are same.
   2. left and right content are being unswallowed in the content_left_set and _content_right_unset functions. So when the reparenting happens, say when the content is put inside a layout then only _sub_del gets called and  
unswallowing does not happen as these functions do not get called.
e.g.   @@ -253,8 +250,6 @@ _content_left_unset(Evas_Object *obj)
    if (!wd->contents.left) return NULL;
    Evas_Object *content = wd->contents.left;
    elm_widget_sub_object_del(obj, content); //wd->contents.left already gets set to NULL in _sub_del
-   edje_object_part_unswallow(wd->panes, content); // can be unswallowed in _sub_del as in case of reparenting like setting content in a layout, only _sub_del will get called, not this function
-   wd->contents.left = NULL; //this instruction is redundent as it happens in _sub_del anyway
    return content;
 }
Change Description:
  1. Unswallowing the contents now in _sub_del as this is a common function to be executed when subobject removal happens.
  2. Comparing the current content with new before deleting. 

Signed-Off-By: RAJEEV RANJAN<rajeev.r@samsumg.com>

Thanks.
Regards,
Rajeev



SVN revision: 69720
2012-03-29 07:08:22 +00:00
WooHyun Jung ff7dbb7a73 elementary/toolbar : can_focus should be set as EINA_TRUE.
SVN revision: 69719
2012-03-29 06:41:23 +00:00
WooHyun Jung 033c4fbe20 elementary/conform theme : Rearranging some parts in conform theme.
SVN revision: 69718
2012-03-29 06:38:34 +00:00
Daniel Juyung Seo f009f6667e elm conform: Revised code. More proper NULL check and aded spacing.
SVN revision: 69717
2012-03-29 06:26:16 +00:00
WooHyun Jung 12489b43df elementary/conform : wd->content is set as NULL in _sub_del function,
so can not be used anymore.


SVN revision: 69716
2012-03-29 06:00:06 +00:00
WooHyun Jung e7f4dd3945 elementary/toolbar : toolbar should be focusable as default.
SVN revision: 69714
2012-03-29 05:21:07 +00:00
ChunEon Park 3aedb36a88 elementary/naviframe - more clean tree
SVN revision: 69702
2012-03-28 10:04:55 +00:00
ChunEon Park 0519f0178d elementary/widget - fixed to update the some status -color, clip, visibitliy- even if the memebers are added later.
SVN revision: 69701
2012-03-28 10:03:45 +00:00
Daniel Juyung Seo 7908a77ad8 elm: Fixed formatting.
SVN revision: 69700
2012-03-28 09:02:22 +00:00
Daniel Juyung Seo 9d2fb4b4b5 elm examples: Adjust directory names.
SVN revision: 69699
2012-03-28 08:42:24 +00:00
Daniel Juyung Seo 2b6a854d1b elm examples: I removed __UNUSED__ and config header inclusion. This code is an example for other developers so we don't need that extra macros. But how can I ignore this warning while building elementary?
SVN revision: 69698
2012-03-28 08:42:20 +00:00
Daniel Juyung Seo d71a77419a elm elc_player.c: Fixed slider usage.
SVN revision: 69697
2012-03-28 08:42:13 +00:00
Daniel Juyung Seo 939ee710a9 elm thumb_example_01.c: Revert wrong #if 0, #endif. Why this was added?
SVN revision: 69695
2012-03-28 07:17:46 +00:00
Daniel Juyung Seo 7d68758bdc elm slider_example.c: Use proper callback declarations according to elm API change.
SVN revision: 69694
2012-03-28 07:17:43 +00:00
Daniel Juyung Seo c613f40a8c elm slider: Changed format function callback's const char * to char *.
The string will be freed in application's callback later. So 'const' is
not appropriate.
In elm_slider_indicator_format_function_set and
elm_slider_units_format_function_set.

SVN revision: 69692
2012-03-28 07:04:14 +00:00
Daniel Juyung Seo 09e15ebe04 elm genlist: Fixed tree effect bug. Patch by Chanwook Jung
<jchanwook@gmail.com>

On Wed, Mar 28, 2012 at 3:06 PM, chanwook jung <jchanwook@gmail.com>
wrote:
> Dear all,
>
> I added one line to fix the bug at tree effect. If the item is equal
to
> expanded_next_item, expanded_next_item set to NULL in _item_del
>
> Thanks,
> Joey

SVN revision: 69691
2012-03-28 06:23:18 +00:00
Daniel Juyung Seo 7a4ed3f94f elm examples: Use standard way of elementary applications. EAPI_MAIN, elm_shutdown, ELM_MAIN()
SVN revision: 69690
2012-03-28 06:04:36 +00:00
Daniel Juyung Seo 24637aff41 elm examples: Fixed most of shadow variable warnings and unused warnings.
SVN revision: 69682
2012-03-28 00:52:09 +00:00
Daniel Juyung Seo 7553652230 elm calendar_example_06.c: Fixed tm structure initialization. By the
way, is this correct? I had build warnings before.

menu_example_01.c: In function ‘_del_it’:
menu_example_01.c:17:6: warning: assignment discards qualifiers from
pointer target type

SVN revision: 69681
2012-03-28 00:52:05 +00:00
Daniel Juyung Seo d50b73d22e elm examples: Fixed some meaningful build warnings.
SVN revision: 69680
2012-03-28 00:52:02 +00:00
Daniel Juyung Seo dc89723cc7 elm: Updated .gitignore.
SVN revision: 69679
2012-03-28 00:51:59 +00:00
Daniel Juyung Seo a654866ee2 elm examples: Define __UNUSED__ when HAVE_CONFIG_H is not defined.
SVN revision: 69678
2012-03-28 00:51:57 +00:00
Daniel Juyung Seo a1888419bd elm genlist_example_04.c: Use proper group item style, content get, and label get callbacks.
SVN revision: 69677
2012-03-28 00:51:53 +00:00
Daniel Juyung Seo a21205642b elm examples: Fixed build warnings.
SVN revision: 69676
2012-03-28 00:51:49 +00:00
ChunEon Park 91645dc502 elementary/naviframe - add blending effect to overlap style
SVN revision: 69668
2012-03-27 13:49:10 +00:00
ShilpaOnkar Singh caced4ec35 elementary/colorselector - padding between color items non scalable bug fix.
Signed-Off-By: ShilpaOnkar Singh <shilpa.singh@samsung.com>



SVN revision: 69667
2012-03-27 13:15:36 +00:00
ChunEon Park 43dcac275d elementary/naviframe - added overlap style and updated test case.
SVN revision: 69666
2012-03-27 13:11:13 +00:00
ChunEon Park 60af8342c5 elementary/pager - farewell pager. you was the best widget ever I know.
SVN revision: 69662
2012-03-27 08:35:56 +00:00
ChunEon Park e2b55715f2 elemenatary/panel - modified to use recommended parents.
SVN revision: 69654
2012-03-27 06:47:07 +00:00
ChunEon Park 2b80722f60 elementary/panel - buggy position!!
SVN revision: 69653
2012-03-27 06:43:50 +00:00
ChunEon Park 2cb08ee53c elementary/naviframe - fixed to an object has a focus even if insert_after APIs is called.
SVN revision: 69652
2012-03-27 06:06:50 +00:00
ChunEon Park 3743154b48 elementary/naviframe - modified content unfocusable.
The contents will be unfocusable only when they are being pushed or popped.



SVN revision: 69651
2012-03-27 05:48:41 +00:00
ChunEon Park ef68d86554 elementary/transit - more simple code.
SVN revision: 69650
2012-03-27 03:16:42 +00:00
Daniel Juyung Seo 5ce88a8544 elm genlist: Updated moved/moved,after/moved,before signal documentation.
SVN revision: 69649
2012-03-27 02:39:27 +00:00
Daniel Juyung Seo bff724ddb4 elm genlist: Fixed documentation.
SVN revision: 69648
2012-03-27 02:39:14 +00:00
Daniel Juyung Seo 6be717ba94 elm examples: Fixed some build warnings.
SVN revision: 69642
2012-03-26 23:46:53 +00:00
ChunEon Park 9f68d68965 elementary/transit - don't be over the alpha value.
SVN revision: 69633
2012-03-26 10:40:03 +00:00
Daniel Juyung Seo e2d8aeb859 elm els_scroller: Added horizontal scroll feature by Shift + Wheel for discomfitor.
SVN revision: 69632
2012-03-26 10:28:47 +00:00