Commit Graph

5269 Commits

Author SHA1 Message Date
Gustavo Lima Chaves a33051b76c [Elm] Clean up leaks on main test code.
SVN revision: 70509
2012-04-26 19:03:03 +00:00
Carsten Haitzler d76345fc8a use profate atof that fixes up locale issues for string -> float
conversion.



SVN revision: 70485
2012-04-26 03:32:18 +00:00
Michael BOUCHAUD f23c33203e elementary: calendar still need glue
SVN revision: 70484
2012-04-25 22:51:46 +00:00
Mike Blumenkrantz 04abf3d38e add anchor,clicked to test to prove continued brokenness of anchors
SVN revision: 70477
2012-04-25 19:06:09 +00:00
Mike Blumenkrantz 010dcd665b reformat
SVN revision: 70476
2012-04-25 18:58:10 +00:00
Hyoyoung Chang 76c85a29e5 genlist : update comment about flip set
SVN revision: 70472
2012-04-25 13:40:11 +00:00
Hyoyoung Chang 78c20c9266 genlist : remove useless tabs
SVN revision: 70471
2012-04-25 13:37:20 +00:00
Hyoyoung Chang 22e4c79dbe genlist : clean up formatting
SVN revision: 70470
2012-04-25 13:31:37 +00:00
Carsten Haitzler 946a4c2fb6 fix vgd issue with anchors in entires.
SVN revision: 70469
2012-04-25 11:34:28 +00:00
Carsten Haitzler d7522aeb07 fix valgrind complaint
SVN revision: 70466
2012-04-25 10:34:13 +00:00
Carsten Haitzler bf1f059e4d wtf? stray escape chars! fix!
SVN revision: 70464
2012-04-25 09:55:19 +00:00
Carsten Haitzler 9588545435 revers logic in elm_web for inwin mode. fix!
SVN revision: 70463
2012-04-25 09:54:19 +00:00
Carsten Haitzler 358f07b227 valgrind bitches in store -> fix!
SVN revision: 70462
2012-04-25 09:31:11 +00:00
Carsten Haitzler ba30effc3c lets not use a string wer just freed ok?
SVN revision: 70460
2012-04-25 08:56:25 +00:00
Carsten Haitzler 090a146029 valgrind bitch--!
SVN revision: 70456
2012-04-25 07:23:54 +00:00
Carsten Haitzler d1d9ba3e19 fix non-premul color sets! :(
SVN revision: 70454
2012-04-25 03:48:55 +00:00
Carsten Haitzler ca6111b857 thanks to brian wang - check if show item has a block.
SVN revision: 70452
2012-04-25 00:44:16 +00:00
Michael BOUCHAUD b27633c238 elementary: fix ELM_CALENDAR_SELECT_MODE_ONDEMAND
SVN revision: 70451
2012-04-24 23:07:36 +00:00
Jihoon Kim 5935983614 elm_entry: fix typos
SVN revision: 70450
2012-04-24 22:59:17 +00:00
Christopher Michael 42865eba02 Elm: Update functions for moving/resizing elm_window (when a wayland
client).



SVN revision: 70448
2012-04-24 17:32:44 +00:00
Jaehwan Kim 8bac5d7eed Remove unnecessary code.
SVN revision: 70434
2012-04-24 11:09:31 +00:00
Jihoon Kim 44759abe47 elm_entry: add complementary description about elm_entry_imf_context_reset
SVN revision: 70428
2012-04-24 05:20:43 +00:00
Michael BOUCHAUD db07a49c38 elementary: use FOREACH_SAFE we remove an element in the loop
SVN revision: 70364
2012-04-20 14:31:51 +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
Daniel Juyung Seo c1aab815f3 elm genlist: Remove item from moved_item when an item is deleted and set effect mode to none when the deleted item is an expanded_item.
SVN revision: 70359
2012-04-20 10:50:46 +00:00
Daniel Juyung Seo d133cec514 elm genlist: Fixed genlist crash issue when huge amount of items are expanded/contracted in a short time.
SVN revision: 70358
2012-04-20 10:50:42 +00:00
Daniel Juyung Seo 3663ddc1d0 elm genlist: Use Widget_Data variable for convenience.
SVN revision: 70357
2012-04-20 10:50:39 +00:00
Daniel Juyung Seo 75ee2bb1a4 elm genlist: Use ECORE_CALLBACK_CANCEL rather than EINA_FALSE for animator.
SVN revision: 70356
2012-04-20 10:50:33 +00:00
Daniel Juyung Seo cbddd07a8b elm genlist: Fixed grid segfault issue. Patch by Hyoyoung Chang
<hyoyoung@gmail.com>

On Fri, Apr 20, 2012 at 4:10 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Dear all,
>
> After introduced flipped mode to genlist, some clearing process is
> added to _elm_genlist_item_unrealize.
> In item _elm_genlist_item_unrealize, item is casting to gengrid item
> or genlist item.
> segfault is occurred in _elm_genlist_item_unrealize at using gengrid.
> this patch moves flipped mode clearing process to _item_realize_cb.
>
> Thanks.
>

SVN revision: 70355
2012-04-20 08:44:48 +00:00
Daniel Juyung Seo efe4997a78 elm genlist: Fixed item selection bug with decorate_all mode. Patch by
Hyoyoung Chang <hyoyoung@gmail.com>

On Fri, Apr 20, 2012 at 5:19 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> After discuss with seoz, i changed to not clean selections also i
> removed the new added internal func.
>
> Thanks
>
> On Fri, Apr 20, 2012 at 4:00 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
>> Dear all,
>>
>> I made a small patch to fix remained selection bug.
>> In decorate all mode, some item selection is not cleared after unset
>> decorate all mode.
>> I added to fix it.
>> And make unselecting common routine to a internal function.
>>
>> Thanks.

SVN revision: 70354
2012-04-20 08:40:13 +00:00
Daniel Juyung Seo 4a1590c6cb elm genlist: Fixed formatting.
SVN revision: 70353
2012-04-20 08:40:10 +00:00
Vincent Torri 00cdcc7454 formatting
SVN revision: 70351
2012-04-20 08:00:33 +00:00
Vincent Torri e13ee860cb include elementary_config.h first (hence no need for _GNU_SOURCE)
SVN revision: 70349
2012-04-20 07:35:46 +00:00
Michael BOUCHAUD 4b6c52a4d6 elementary: warn--
SVN revision: 70341
2012-04-19 22:47:53 +00:00
Michael BOUCHAUD 1fb9bcf305 elementary: remove unused file (datepicker)
SVN revision: 70340
2012-04-19 21:48:44 +00:00
Michael BOUCHAUD 0aef7ce220 elementary: alphabetically modules.inc
SVN revision: 70339
2012-04-19 21:47:41 +00:00
Michael BOUCHAUD daf359228b elementary: makes the calendar widget reachable from edje
SVN revision: 70338
2012-04-19 21:42:51 +00:00
Michael BOUCHAUD b74c07f242 elementary: edje_external calendar instead of sel_enable use select_mode now. But nobody care I think ... see my next commit :P
SVN revision: 70337
2012-04-19 21:36:19 +00:00
Jihoon Kim 47b6431fc6 elementary_test: fix wrong parameter.
SVN revision: 70329
2012-04-19 11:11:00 +00:00
Michael BOUCHAUD 1e525af4e4 elemntary: mr proper with council from SeoZ. Add _MODE_ to the enum
SVN revision: 70326
2012-04-19 09:03:59 +00:00
Michael BOUCHAUD e18646e52a elementary: elm_calendar deprecate elm_calendar_day_selection_disabled_set/get, instead now use elm_calendar_select_mode_set/get. ELM_CALENDAR_SELECT_MODE_ONDEMAND is present but not supported yet
SVN revision: 70319
2012-04-19 08:46:22 +00:00
Daniel Juyung Seo 397215dc27 elm test_list.c: Revised code.
SVN revision: 70317
2012-04-19 06:52:42 +00:00
Daniel Juyung Seo 243f5ab36f elm test_list.c: Removed unwanted/unexpected codes from r70265
SVN revision: 70316
2012-04-19 06:52:38 +00:00
Hyoyoung Chang d80dd9cb7e From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - bugfix at item flipped

I made a small patch about item flipped.
It resolves two bugs

1. flip_set and unset is called quickly, sometimes genlist can't free
flipped data.
it fixed to remove checking flipped status in item unrealize

2. add item unhighlight at flip_job



SVN revision: 70306
2012-04-18 10:43:51 +00:00
chanwook jung 55138d3bd2 From: chanwook jung <jchanwook@gmail.com>
Subject: [E-devel] [Patch][Genlist] fix the bug in _elm_genlist_item_del_notserious

I made a patch to fix the bug in _elm_genlist_item_del_notserious.
If relcount is not 0 or walking is not 0, return.



SVN revision: 70291
2012-04-18 09:07:36 +00:00
Jonas M. Gastal e72d8001e4 Adding references to the API
Author:    Guilherme Iscaro <iscaro@profusion.mobi>

SVN revision: 70281
2012-04-17 20:33:59 +00:00
cnook 45aad4044a From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][elementary_test] test_list

I had added test code for the elementary. but I made a pause it
because of
some reasons and just started again.
Today I have attached a patch for the elm_list which does not have test
code for the API elm_list_item_prev();
Please review the attached patch and give any feedbacks. I'll be back
with
other patches. Thanks!



SVN revision: 70265
2012-04-17 10:59:16 +00:00
ChunEon Park a60dcf81df elementary/genlist - fixed typo caused new typo.
SVN revision: 70256
2012-04-17 06:45:23 +00:00
Daniel Juyung Seo 7bfa482247 elm elm_gengrid.h elm_genlist.h: Fixed documentation typo.
SVN revision: 70254
2012-04-17 06:31:10 +00:00
Sanjeev BA cd7b3bca7a Diskselector segfault issue fix.
Author : cnook <kimcinoo@gmail.com>

SVN revision: 70253
2012-04-17 05:29:34 +00:00
ChunEon Park 855b8d2709 elementary - +ingroup, fixed indentations.
SVN revision: 70249
2012-04-17 01:35:46 +00:00
ChunEon Park bbaf5a9115 elementary/datetime - elm_datetime - Open source patch : Separator parsing logic in Datetime is corrected
Change Description: [elm_datetime.c] Separator parsing logic is changed in Datetime widget. 
Predefined set of characters (both global and field specific) are ignored as field separators.

Can some one, please review and check-in the code in SVN Elementary. 

Thanks, Sumanth

Singed-Off-By: Sumanth Krishna Mannam<sumanth.m@samsung.com>



SVN revision: 70220
2012-04-16 06:55:58 +00:00
Daniel Juyung Seo aebb6dcd0f ecore ecore_evas_basics_example.c: Fixed formatting.
SVN revision: 70200
2012-04-16 00:22:29 +00:00
Hyoyoung Chang 6be49b9abf From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - some lines indent fixes

I fixed several lines indent.
Also remove useless comments.



SVN revision: 70173
2012-04-13 11:29:19 +00:00
ChunEon Park 00c117a575 elementary/config - + null check
SVN revision: 70171
2012-04-13 11:23:59 +00:00
ChunEon Park a21ffa384f elementary/datetime - +null check
SVN revision: 70169
2012-04-13 10:47:24 +00:00
Carsten Haitzler b6c827e27a remove +1 misleading extra byte
SVN revision: 70167
2012-04-13 10:19:45 +00:00
Daniel Juyung Seo ba3c148139 elm elm_widget.c: Fixed build break. Thanks for the report Rajeev.
SVN revision: 70164
2012-04-13 06:28:43 +00:00
Daniel Juyung Seo e1439fdffb elm elm_general.h: Fixed documentation.
SVN revision: 70163
2012-04-13 06:28:40 +00:00
Daniel Juyung Seo d7f77ba2ba elm Elementary.h.in: Macro formatting like other libraries.
SVN revision: 70162
2012-04-13 06:28:37 +00:00
Daniel Juyung Seo 044bdaf657 elm: Renamed internal function about elm_object_item_part_content/text_set/unset/get.
SVN revision: 70161
2012-04-12 23:39:36 +00:00
Daniel Juyung Seo 528e743c33 elm elm_widget.c: Print error message when unsupported elm_object_item_part_content_set/unset/get and elm_object_item_part_text_set/get APIs are called.
SVN revision: 70154
2012-04-12 15:35:12 +00:00
Daniel Juyung Seo 316a8cd712 elm genlist.c: Removed elm_object_item_content_set/unset, text_set hook.
SVN revision: 70153
2012-04-12 15:35:09 +00:00
Daniel Juyung Seo 48ad5b24b8 elm genlist.h: Added some comments about unsupported elm_object_item APIs.
SVN revision: 70152
2012-04-12 15:35:05 +00:00
Daniel Juyung Seo 12da5dc07d elm genlist: genlist/gengrid do not support elm_object_item_part_text/content_set/unset. Use normal callback systems.
SVN revision: 70122
2012-04-12 07:14:21 +00:00
Daniel Juyung Seo c4fc10388c elm list/genlist: Renamed interval text get/set hook name.
SVN revision: 70121
2012-04-12 07:14:15 +00:00
Daniel Juyung Seo e8cad72816 elm elm_widget.c: Added elm_widget_sub_object_add() parameter
verification. Patch by Taehwan Kim <ohpowel@gmail.com>

On Tue, Apr 10, 2012 at 5:37 PM, Bluezery <ohpowel@gmail.com> wrote:
> Hello,
>
> Currently, elm_widget_sub_object_add() does not check if obj and sobj
> are same object.
> Actually it is a user problem if user add object itself as it's sub
object.
> But I think that this checking is needed and it is better to give
> error logs to users.  Because it causes infinite loop and it is hart
> to debugging.  :(
>
> Thanks.

SVN revision: 69995
2012-04-10 09:47:19 +00:00
WooHyun Jung 6aa59c922d elementary/elm_entry : Fix some wrong logics when getting long string
(over CHUNK_SIZE) from entry.


SVN revision: 69987
2012-04-10 08:08:40 +00:00
Jihoon Kim da1e012dff elm: fix some doxygen typos
SVN revision: 69986
2012-04-10 00:12:33 +00:00
Lucas De Marchi 307be28b0b elementary: fix item descriptions in documentation
SVN revision: 69977
2012-04-09 18:02:13 +00:00
WooHyun Jung c9b889f338 elementary/elm_win : Patch from Rajeev. Thanks. - Removed the
unnecessary comparison for sub-object list not being NULL as it has
been done aleady earlier.


SVN revision: 69972
2012-04-09 10:56:42 +00:00
Carsten Haitzler db1d6cedeb handle malloc failure and free string if sel->datacb is not null
SVN revision: 69965
2012-04-09 08:06:33 +00:00
Carsten Haitzler 9e8505c379 lets uses ()'s shall we?
SVN revision: 69964
2012-04-09 08:00:36 +00:00
Carsten Haitzler fb842ee933 why strlen wat u are about to ewalk thru anyway WHEN U ALREADY KNOW
THE LENGTH! use actual known length.



SVN revision: 69963
2012-04-09 07:43:21 +00:00
Carsten Haitzler ddf6442fb6 support "guide text" for entries. trivial internal + theme changes :)
SVN revision: 69961
2012-04-09 05:25:27 +00:00
Sanjeev BA 5c9c7f9a7e Add evas_object_hide support for popup.
Author : cnook kimcinoo@gmail.com

The evas_object_hide(popup) could not hide the popup.
So, I added callback to hide the popup, with the test
code.

SVN revision: 69960
2012-04-09 04:48:09 +00:00
Jihoon Kim 7046f87e3a elementary: ignore key event of keypad when NumLock is turned on in win, scroller, slider, video, photocam, map, slideshow, and spinner.
SVN revision: 69952
2012-04-06 10:34:03 +00:00
Daniel Juyung Seo a333781964 elm test_entry.c: Fixed formatting.
SVN revision: 69951
2012-04-06 08:14:10 +00:00
Daniel Juyung Seo 434a176a4d elm test.c: Added 'menu search' feature in elementary_test. It was hard to find the proper test before.
SVN revision: 69950
2012-04-06 08:14:04 +00:00
WooHyun Jung d9ddf6ccb0 elementary/elm_entry : Fix a bug in filter callback. There can be a
case like inserting tags when string length is maximized. This should
be allowed. 


SVN revision: 69949
2012-04-06 08:13:41 +00:00
WooHyun Jung 15f573bdf6 elementary/entry : wd->text can not be sync perfectly with current
text in "elm.text". This is because wd->text is updated by edje's
signal callback. I'll think more about removing all codes wd->text.
With my opinion they are useless.


SVN revision: 69948
2012-04-06 08:00:19 +00:00
ChunEon Park 20f4e9a3f8 elementary/popup - [E-devel] [Patch][elementary] elc_popup, focus next hook implementation
Current Issue:
Focus does not go to Popup content and action area.
Reason:
focus_next hook is returning EINA_FALSE in focus_next_hook.
Change Description:
1. Routed the focus_next call to the internal notify object.
2. Set the visibility of action area layout in edc to True as the
visibility of the action area layout returns zero even if due to state
change it is set to visible state in edje.
3. Deleted the show event callback "_popup_show" in del_pre_ hook.

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



SVN revision: 69947
2012-04-06 07:14:10 +00:00
Daniel Juyung Seo f4da9d343b elm genlist: Get the stringlist only when it does not exist. Free the stringlist when we change the item class.
SVN revision: 69946
2012-04-06 07:10:29 +00:00
Daniel Juyung Seo 02082649a0 elm genlist: Renamed internal variables. Patch by Hyoyoung Chang
<hyoyoung@gmail.com>
On Thu, Apr 5, 2012 at 3:13 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Dear all,
>
> It simple renaming patch for elm_genlist.
> I rename two variables.
>
> deco_all_obj -> deco_all_view
> deco_all_textss -> deco_all_texts
>
> Thanks

SVN revision: 69945
2012-04-06 07:10:26 +00:00
Daniel Juyung Seo f7f801f7be elm genlist: Patch for elm_genlist_item_fields_update. Patch by
Hyoyoung Chang <hyoyoung@gmail.com>
On Thu, Apr 5, 2012 at 3:12 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Dear all,
>
> I made a patch for elm_genlist_fields_update to selective content
update.
> a genlist item can update any content regardless of its mode.
>
> Thanks.
>
> PS: It assumed my previous patch is applied ([patch] elm_genlist -
> split flip content from item's content)

SVN revision: 69944
2012-04-06 07:10:20 +00:00
ChunEon Park c35d5ac903 elementary/win - [E-devel] [Patch][Elementary] Patch for elm_win to fix the focus chain issue in case of a widget added as a normal sub-object, not a resizable object
Current Issue:
Currently when we add a widget to window as a sub-object, e.g.
elm_notify_add(win) which internally calls elm_widget_sub_object_add
then the focus chain using <TAB> includes only
the first focusable subitem of the widget, not all.
Whereas with elm_win_resize_object_add, it works fine and cycles to
all focusable sub-items of the widget.

Reason:
The reason is that we are appending sub-object to the list in
elm_win which is used for focus chain, only in case of
elm_win_resize_object_add.

Change Description:
Added a new API: EAPI Eina_List
*elm_widget_sub_object_list_get(const Evas_Object *obj);
This API returns the list of sub-objects of an elementary widget
(sd->subobjs) where sd is Smart_Data pointer obtainted using
elm_widget_smart_data_get(obj).
We have used this API in elm_win for focus_next_hook implementation.

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



SVN revision: 69943
2012-04-06 06:19:16 +00:00
ChunEon Park 4a0a6b6362 elementary/cnp - [E-devel] [Patch] elm_cnp notify_handler patch
When pasting data to entry, notify_handler_text sent incorrect string. 

Because notify_handler_text received string including garbage value.

I cut string as its data length.

Signed-By-Off: Minseok Kim <minseok3.kim@samsung.com>



SVN revision: 69942
2012-04-06 05:58:50 +00:00
Daniel Juyung Seo 676712d8a6 elm genlist: Refactored flip mode. Patch by Hyoyoung Chang
<hyoyoung@gmail.com>
On Wed, Apr 4, 2012 at 9:23 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Dear all,
>
> in genlist flip mode, a item shares its content and flip content.
> it's split flip content patch.
>
> Thanks.

SVN revision: 69941
2012-04-06 04:14:48 +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
ChunEon Park 363a5fa126 elementary/genlist - [E-devel] [Patch][Genlist] removed unnecessary code in _clear_cb
Dear ALL,

If the block that must be removed/freed, it has already removed/freed in
_item_block_del.
So I removed the code in _clear_cb.

Thanks
Joey

Submitted-By-Off ChankWook Jung<jchanwook@gmail.com>



SVN revision: 69929
2012-04-05 08:19:26 +00:00
Jihoon Kim 3a9a0cb9d5 elm/list: igonore key event of keypad when NumLock is turned on.
SVN revision: 69922
2012-04-05 01:18:51 +00:00
Daniel Zaoui 2af393e43b elm layout: Fixed handling of NULL in part_content_set.
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 69918
2012-04-04 09:04:39 +00:00
Jaehwan Kim d6bb18ee02 The animation have to be stopped just if the scroller is not holded or freezed.
SVN revision: 69916
2012-04-04 08:13:39 +00:00
ChunEon Park e790a36ccd elementary/route,mapbuf,segment_control, slideshow - removed unnecessary code and left FIXMEs
SVN revision: 69907
2012-04-03 15:18:09 +00:00
ChunEon Park 249279ba23 elementary/flip - removed unnecesarry code. and leaved FIXMEs
SVN revision: 69906
2012-04-03 14:59:27 +00:00
ChunEon Park e97c657976 elementary/flip - fixed incorrect
SVN revision: 69904
2012-04-03 14:47:05 +00:00
ChunEon Park cc12f6fc83 elementary/widget - let the child unset the clip on smart_member_del
SVN revision: 69903
2012-04-03 14:29:38 +00:00
Daniel Juyung Seo 012f3850a1 elm test.c: Fixed formatting.
SVN revision: 69902
2012-04-03 14:26:17 +00:00
Daniel Juyung Seo b5dd2e20be elm test: Separated test menu creation function.
SVN revision: 69901
2012-04-03 14:26:09 +00:00
Daniel Juyung Seo 4eafb0990e elm test_genlist.c: Use proper test name for genlist decorate item/all modes.
SVN revision: 69895
2012-04-03 12:53:23 +00:00
WooHyun Jung 7b600cc59d elementary : Removing duplicate codes when _content_unset.
SVN revision: 69894
2012-04-03 11:40:06 +00:00
Daniel Juyung Seo a96e0201c4 elm genlist: Renamed internal variables and functions. Patch by Hyoyoung Chang <hyoyoung@gmail.com>
On Mon, Apr 2, 2012 at 8:44 PM, Hyoyoung Chang <hyoyoung@gmail.com> wrote:
> Dear all
>
> It renames genlist internal variables and functions.
>
> decorate_type -> decorate_it_type
> mode_set -> decorate_it_set
>
> It also includes that a api arguments' naming is changed.
> -EAPI void
> elm_genlist_item_decorate_mode_set(Elm_Object_Item *it, const char
> *mode_type, Eina_Bool mode_set);
> +EAPI void
> elm_genlist_item_decorate_mode_set(Elm_Object_Item *it, const char
> *decorate_it_type, Eina_Bool decorate_it_set);
>
> Thanks.

SVN revision: 69893
2012-04-03 09:56:53 +00:00
Daniel Juyung Seo 7284ea1f45 elm genlist: Renamed internal variables/functions. Patch by Hyoyoung Chang <hyoyoung@gmail.com>
On Mon, Apr 2, 2012 at 8:39 PM, Hyoyoung Chang <hyoyoung@gmail.com> wrote:
> Dear all
>
> It renames genlist internal variables/functions.
>
> decorate_mode->decorate_all_mode
> _decorate_mode_item_*->_decorate_all_item_*
>
> thanks.

SVN revision: 69892
2012-04-03 09:56:49 +00:00
Daniel Juyung Seo ef8998b2e6 elm genlist: Internal variable rename. Patch by Hyoyoung Change <hyoyoung@gmail.com>
On Mon, Apr 2, 2012 at 8:39 PM, Hyoyoung Chang <hyoyoung@gmail.com> wrote:
> Oops sorry.
> Adding attachment patch file.
>
> On Mon, Apr 2, 2012 at 8:36 PM, Hyoyoung Chang <hyoyoung@gmail.com> wrote:
>> Dear all
>>
>> it renames genlist internal variables.
>>
>> mode_view ->deco_it_view
>> decorate_mode_item_realized->decorate_all_item_realized
>>
>> thanks.

SVN revision: 69891
2012-04-03 09:56:44 +00:00
ChunEon Park ee803ccfd8 elementary/widget - removed item smart callback internal infra.
Not exposed and not used anywhere.

We don't recommend to apply this.



SVN revision: 69889
2012-04-03 07:30:11 +00:00
Vincent Torri 3b2b5e3c54 Elm: second doc patch
Patch by Jérôme Pinot


SVN revision: 69866
2012-04-02 16:39:08 +00:00
WooHyun Jung cf9b82c6d9 elementary/button : Some codes were duplicated in _sub_del and
_content_unset_hook.


SVN revision: 69861
2012-04-02 12:33:29 +00:00
ChunEon Park 8ae0e902de elementary/mapbuf - super trivial changes
SVN revision: 69857
2012-04-02 08:13:26 +00:00
ChunEon Park edb1115ddc elementary/index - removed unnecessary code
SVN revision: 69856
2012-04-02 07:51:11 +00:00
WooHyun Jung 13fc2af34a elementary/elm_entry : fix a mistake in commit 69829
SVN revision: 69850
2012-04-02 06:33:40 +00:00
Daniel Juyung Seo 7f2fc8ef80 elm bin: Use convenient utility function elm_win_util_standard_add()
instead of elm_win_add() + elm_bg_add(). This is for normal style
(ELM_WIN_BASIC) window.

SVN revision: 69848
2012-04-02 06:20:28 +00:00
Daniel Juyung Seo e838d6d2f2 Revert a wrong commit. Un-wanted files are committed together.
Revert "elm bin: Use convenient utility function elm_win_util_standard_add() instead of elm_win_add() + elm_bg_add(). This is for normal style (ELM_WIN_BASIC) window."

This reverts commit 31b24a0edb0028528d7c859070e03236ba42867b.

SVN revision: 69847
2012-04-02 06:20:22 +00:00
ChunEon Park 4134315a8c elementary/datetime - Elm_datetime open source patch : Datetime enhancements
Change Description: 
- Year min/max values are moved to elm_config. 
- Format specifier must come along with % followed by any separator. ( % 123d is not supported but %d will denote Date format specifier) 
- Field separator can constitute multiple spaces, Space followed by any other non format specifier is also treated as the separator till its max length. ( %d x/ %b #2 format displays 27 x/ Mar #2 ) 

Thanks, Sumanth

Submitted-By-Off Sumanth Krishna Mannam<sumanth.m@samsung.com>



SVN revision: 69846
2012-04-02 06:20:01 +00:00
Daniel Juyung Seo b4308ab089 elm bin: Use convenient utility function elm_win_util_standard_add() instead of elm_win_add() + elm_bg_add(). This is for normal style (ELM_WIN_BASIC) window.
SVN revision: 69845
2012-04-02 06:07:58 +00:00
ChunEon Park aeb32f369f elementary/colorselector - send signal when mode is changed so as to set the padding properly
SVN revision: 69842
2012-04-02 04:22:46 +00:00
Daniel Juyung Seo d58e04ad9c elm genlist: Changed internal variables correctly. Patch by Hyoyoung
Chang <hyoyoung@gmail.com>

On Fri, Mar 30, 2012 at 5:17 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> I talked with seoz. and agreed with previous naming changing is
insufficient.
>
> so changed like this
> "mode_" -> "deco_it_"
> "edit_" -> "deco_all_"
>
> Thanks
>
> On Fri, Mar 30, 2012 at 3:33 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
>> Dear all,
>>
>> After edit mode naming is changed, some legacy naming is remained.
>> I changed naming to follow API naming changes.
>>
>> "edit_" -> "deco_"
>> and also some explicit edc part names are changed.
>>
>> Some naming are remained as is, I'll fix at next patches.
>>
>> Thanks.
>

SVN revision: 69836
2012-04-02 02:37:05 +00:00
Daniel Juyung Seo 768a4ad35f elm genlist: Reverted Hyoyoung's first patch. He sent another patch
for this change.
Revert "After edit mode naming is changed, some legacy naming is remained."

This reverts commit 5e1aa3c8b0382a0ca471150f4c219cd32dbdbe22.

SVN revision: 69835
2012-04-02 02:36:55 +00:00
ChunEon Park 9d4398fff6 elementary/colorselector - updated for elm_colorselector_mode_set test
SVN revision: 69832
2012-04-02 01:48:25 +00:00
ChunEon Park 6dc1215380 elementary/colorselector - more proper parents passing
SVN revision: 69831
2012-04-02 00:55:04 +00:00
ChunEon Park b8274af55b elementary/colorselector - removed unnecesary layout
SVN revision: 69830
2012-04-02 00:50:57 +00:00
WooHyun Jung 440ef74427 elementary/elm_entry : Fixed a bug. While appending big sized string,
elm_entry_entry_get caused segfault because memcpy could be tried with
NULL pointer + "> 0" length. 


SVN revision: 69829
2012-04-02 00:50:56 +00:00
Daniel Juyung Seo 91d43ae017 elm: Set timer/animator to NULL after they're deleted.
SVN revision: 69796
2012-03-30 12:31:11 +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
Carsten Haitzler 63ae97a5d7 After edit mode naming is changed, some legacy naming is remained.
I changed naming to follow API naming changes.

"edit_" -> "deco_" and also some explicit edc part names are changed.

Some naming are remained as is, I'll fix at next patches.



SVN revision: 69793
2012-03-30 10:34:31 +00:00
Carsten Haitzler a0f1b273cd protect ethumb with the ifdef as provided in example.
SVN revision: 69791
2012-03-30 10:10:53 +00:00
cnook aca47ccfc1 From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [patch][elementary] elc_popup, restack issue

The elc_popup does not raise to the top of its layer even though
evas_object_raise() is called with the popup object.
Because the elm_widget_resize_object_set(); makes notify object which is
internally used in the popup have a smart parent.
Ultimately, the callback function for EVAS_CALLBACK_RESTACK of the
notify
is not called.
So I removed elm_widget_resize_object_set(); from the popup and added
some
implementations to show the popup properly.
Moreover, I have added test code also in the attached patch. Then,
please
review the patch and give any feedbacks. Thanks.



SVN revision: 69790
2012-03-30 09:56:22 +00:00
Daniel Juyung Seo 4cf83b449b elm genlist: Set long_timer to NULL after it's deleted.
SVN revision: 69789
2012-03-30 09:25:58 +00:00
WooHyun Jung 67f269947b elementary/genlist : set NULL for swipe_timer.
SVN revision: 69788
2012-03-30 09:22:49 +00:00
Daniel Juyung Seo 76b7c58c8e elm genlist: Fixed genlist infinite loop bug.
SVN revision: 69785
2012-03-30 07:28:04 +00:00
Daniel Juyung Seo 5ae791919f elm examples: Removed macro for data dir. Used elm_app_info_set and elm_app_data_dir_get instead.
SVN revision: 69783
2012-03-30 06:34:07 +00:00
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 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
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
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 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
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 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
Jaehwan Kim 6b5589687f When the scroller is holded and scrolled, it can be jump.
The squence is hold push -> mouse down -> mouse move -> hold pop -> mouse move continuously.
After upper sequence, the scroller will jump. So I fixed this issue.


SVN revision: 69631
2012-03-26 10:05:26 +00:00
ChunEon Park 5d4a35e117 elementary/transit - covered flipped image object
SVN revision: 69630
2012-03-26 09:22:15 +00:00
Daniel Juyung Seo 728ecc1b32 elm multibuttonentry: Deprecated elm_multibuttonentry_item_data_get/set. Use elm_object_item_data_get/set instead.
SVN revision: 69622
2012-03-26 00:07:28 +00:00
Daniel Juyung Seo 84edf10d93 elm multibuttonentry: Refactoring. Use more descriptive name for variable. current -> selected_it.
SVN revision: 69621
2012-03-26 00:07:14 +00:00
Daniel Juyung Seo 346aec5ad5 elm multibuttonentry: Fixed formatting.
SVN revision: 69607
2012-03-25 08:51:12 +00:00
Hyoyoung Chang f406fbbadf From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - add merging edc strings list

I add like a routine in previous patch.
It add merging routines to realize functions.
also i removed "elm_widget_stringlist_free(cons)"
because all of it is freed at item_unrealize.



SVN revision: 69598
2012-03-24 11:14:20 +00:00
Sanjeev BA 710d49b9fd Fix related zoom
Author : Bluezery <ohpowel@gmail.com>

SVN revision: 69590
2012-03-23 11:15:01 +00:00
GoUn Lee b655b831d3 From: GoUn Lee <gouni.lee@samsung.com>
Subject: [E-devel] [?Patch]elm_?multibutto?nentry bug fix

I've attached patch to fix bug in multibuttonentry.
When this widget is unfocused, there's no code for making unfocused
entry in multibuttonentry.
Because of that, when multibuttonentry got focus again, entry couldn't
get focus normally.
so I've added  code to fix this issue. when it's unfocused.

Also I removed unused value in resize_button() which is 'padding_inner'
 


SVN revision: 69583
2012-03-23 07:49:14 +00:00