Commit Graph

5486 Commits

Author SHA1 Message Date
Daniel Juyung Seo 0a85d24830 elm index_example_02.c: Fix index behavior properly.
SVN revision: 69782
2012-03-30 06:34:04 +00:00
Daniel Juyung Seo 13eaab301f elm bg_example_03.c: Fixed window size to see the contents properly.
SVN revision: 69781
2012-03-30 06:33:57 +00:00
ChunEon Park 8fc8ea3828 elementary/naviframe - fixed to keep title_visiblility status after item_style_set
SVN revision: 69780
2012-03-30 05:28:42 +00:00
Mike Blumenkrantz 49b6296511 clean up this logic a bit as well
SVN revision: 69779
2012-03-30 02:04:16 +00:00
Mike Blumenkrantz 32f8d555de why use two loops when one is fine?
SVN revision: 69778
2012-03-30 01:50:37 +00:00
Mike Blumenkrantz 1ee37720e6 this was redundant and confusing so I hit it with a hammer
SVN revision: 69777
2012-03-30 01:33:07 +00:00
Mike Blumenkrantz 6df7d0b89f also rename widget data variable to be consistent with every other occurrence
SVN revision: 69776
2012-03-30 01:17:04 +00:00
Mike Blumenkrantz abd340b64b this is not actually unused...
SVN revision: 69775
2012-03-30 01:15:26 +00:00
Michael BOUCHAUD d5e4755d08 elementary: oops, mistake
SVN revision: 69773
2012-03-29 23:05:54 +00:00
Michael BOUCHAUD 6e92d78cf3 elementary: add an enum for the weekdays, with magic numbers fixes
SVN revision: 69772
2012-03-29 22:59:11 +00:00
Michael BOUCHAUD 92c1745e90 elementary: add 2 API, the first one is to set the first day of week in elm_calendar, and the second to get the info. I use a more trivial way to set headers ^^
SVN revision: 69771
2012-03-29 22:14:30 +00:00
Vincent Torri 147c0a2980 Elm: remove some warnings when no X
SVN revision: 69770
2012-03-29 21:24:00 +00:00
Jonas M. Gastal a134c8e2bc Remove warnings about unused parameters in examples.
SVN revision: 69769
2012-03-29 20:55:55 +00:00
Daniel Vieira Franzolin 15c7cf12de Fixes compilation instructions of examples to work on ubuntu.
Patch by: "Daniel Vieira Franzolin" <daniel@profusion.mobi>

SVN revision: 69766
2012-03-29 20:44:42 +00:00
Mike Blumenkrantz f90a8ea402 new test for naviframe, move naviframe tests to naviframe category so it can actually be found
SVN revision: 69765
2012-03-29 20:31:35 +00:00
Mike Blumenkrantz cf8ab5c674 for the last time: CONFIG.H ALWAYS GETS INCLUDED FIRST. AAAAAAAALLLLLLLLLLLLLLLLLLLLLLLWAAAAAAAAAAAAAAAAAAAAAAAAAAAYYYYYYYYYYYYYYYYYYYYYSSSSSSSSSSSSSSSSSSS
SVN revision: 69764
2012-03-29 19:27:13 +00:00
Carsten Haitzler c3691314e7 make elm robust and handle if u DONT set compile time dirs.. and work
anyway.



SVN revision: 69750
2012-03-29 12:00:14 +00:00
Daniel Juyung Seo 8c17d99712 elm: Fixed formatting. Added a space after 'if/while/for'
SVN revision: 69744
2012-03-29 11:09:45 +00:00
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