Commit Graph

5398 Commits

Author SHA1 Message Date
Gustavo Lima Chaves 4a38e1fa15 [Elm] And now button also inherits from
elm_layout.



SVN revision: 70711
2012-05-03 22:41:42 +00:00
Gustavo Lima Chaves 3badd29ecf [Elm] Just a tip on a background test.
SVN revision: 70710
2012-05-03 22:41:37 +00:00
Gustavo Lima Chaves 8723fd9e76 [Elm] Elm bg now happily inherits from elm
layout.



SVN revision: 70709
2012-05-03 22:41:32 +00:00
Gustavo Lima Chaves f4e29b50ee [Elm] 2nd specialization of Elm's new base smart
class: elm_layout.
This will be, besides the codebase for the elm_layout widget, a common
base for all other widgets which got an edje layout as a basis for
their decoration.

From now on, all elm_layout_* namespaced fuctions will function
on objects inheriting from this base:

- elm_layout_content_set
- elm_layout_content_get
- elm_layout_content_unset
- elm_layout_text_set
- elm_layout_text_get

(recovered from deprecated header -> not anymore)

- elm_layout_sizing_eval
- elm_layout_data_get
- elm_layout_edje_get

- elm_layout_file_set
- elm_layout_theme_set

- elm_layout_box_append
- elm_layout_box_prepend
- elm_layout_box_insert_before
- elm_layout_box_insert_at
- elm_layout_box_remove
- elm_layout_box_remove_all
- elm_layout_table_pack
- elm_layout_table_unpack
- elm_layout_table_clear

Three missing functions on layouts were added, then:

- elm_layout_signal_emit
- elm_layout_signal_callback_add
- elm_layout_signal_callback_del

Naturally, the elm_object_ namespaced counterparts of those will also
function (they will be deprecated on the future).



SVN revision: 70708
2012-05-03 22:41:26 +00:00
Gustavo Lima Chaves d064f020c3 [Elm] New Elm widget class: cointainer
This is for general purpose containers in Elm, those supporting
- elm_object_part_content_set()
- elm_object_part_content_get()
- elm_object_part_content_unset()



SVN revision: 70707
2012-05-03 22:41:21 +00:00
Gustavo Lima Chaves efec09ea74 [Elm] Factoring out code for basic widget theme
smart function.



SVN revision: 70706
2012-05-03 22:41:15 +00:00
Gustavo Lima Chaves 109205654d [Elm] Adapting sub_obj_{del,add}, hover and
resize objects to new schema.
sub-object-{add,del} new class functions got their bodies in.  One by
one, the old elm_widget_ namespaced calls to them got to be migrated
to the class calls.

A resize object is now a sub-object, too. This should be like that
from the start -- we share code and avoid callback duplication -- what
leaded to a plethora of bugs.



SVN revision: 70705
2012-05-03 22:41:09 +00:00
Gustavo Lima Chaves 66f5d302ee [Elm] Creating base smart class, to be extended
properly by real widgets.
I'm also creating a *compatibility* class on top of it, which extends
the old (unique) one to its old components, so that everything goes
unnoticed for the widgets.

Next, we'll be accessing class functions for widget hooks *on the base
class*, which will be proxied back to the instance ones.

Then, one by one the widgets will be translated to a proper
hierarchical smart class parentage, making extensibility and reuse
much better.

Last, but not least, since we'll be moving these hooks to the class,
where (almost) everything is a function, let's adapt to the future --
take away the "_func" suffix from them.

NB: there is ONE hook and associated data which was kept on the base,
for now: "show_region" stuff. I did that because scrollers need that
in order to work, right now. Keep in mind, though, the scrollers will
be reworked, so that fields ought to be changed soon, too.



SVN revision: 70704
2012-05-03 22:41:04 +00:00
Gustavo Lima Chaves a83d094b7c [Elm] Renaming base smart data struct, in
preparation for the next commit.



SVN revision: 70703
2012-05-03 22:40:58 +00:00
Carsten Haitzler b8f23802f5 fix bug hermet added in font code! :)
SVN revision: 70692
2012-05-03 09:18:20 +00:00
Daniel Juyung Seo f699276047 elm naviframe: Bug Fix: Wrong signal sent when title/subtitle is set
in naviframe. Patch by Shilpa Onkar Singh <shilpa.singh@samsung.com>

On Thu, May 3, 2012 at 2:30 PM, SHILPA ONKAR SINGH
<shilpa.singh@samsung.com> wrote:
> Hi All,
>
> Please find attached, patch for elc_naviframe bug fix: "wrong signal
sent when subtitle,title is set".
>
> Change Description:
> Bug Fix: Wrong signal sent when title/subtitle is set in naviframe.
>
> Thanks & Regards
> Shilpa Singh

SVN revision: 70685
2012-05-03 05:51:23 +00:00
WooHyun Jung f83917a420 elementar/focus : New feature - focus movement in all direction. By
using elm_widget_focus_direction_go function, focus will be moved from
the current focused object to the near object in one direction.
Direction can be set by degree(for easy usability). Degree changes
clockwise, i.e. 0 means UP, 90 means RIGHT, 180 means DOWN, and 270
means LEFT. You can select any direction by changing this degree.


SVN revision: 70681
2012-05-03 03:02:54 +00:00
Carsten Haitzler c0f2f4be91 REVERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
this breaks theme api. so NO! come back with a version that doesn't
break it.



SVN revision: 70679
2012-05-03 01:19:05 +00:00
ChunEon Park 0018a167ff elementary/font - function code refactoring
SVN revision: 70678
2012-05-03 00:34:26 +00:00
Gustavo Lima Chaves e275948e76 [elm] Fix booboos for people not having eio, ewebkit or
emotion.



SVN revision: 70677
2012-05-02 21:14:28 +00:00
Gustavo Lima Chaves b9b70f8d3a [Elm] Not very fancy solution, but... now hover won't
ruin elementary_config
when used by elm_menu.



SVN revision: 70673
2012-05-02 19:25:56 +00:00
Gustavo Lima Chaves 7f2ba3a399 [Elm] Set this call free again.
SVN revision: 70671
2012-05-02 17:07:36 +00:00
Gustavo Lima Chaves 788f3a3712 [Elm] Notify now a container.
SVN revision: 70670
2012-05-02 17:02:18 +00:00
Gustavo Lima Chaves 477ae2434a [Elm] 1st direct realization of container class:
elm mapbuf.



SVN revision: 70669
2012-05-02 17:02:12 +00:00
Gustavo Lima Chaves 23d5e2c1e1 [Elm] Box ported to new class schema.
SVN revision: 70668
2012-05-02 17:02:04 +00:00
Gustavo Lima Chaves 3317d1ee2f [Elm] Conformant now a layout.
SVN revision: 70667
2012-05-02 17:01:59 +00:00
Gustavo Lima Chaves 93acd82838 [Elm] Colorselector now a layout.
There are issues with its theme, though. Later on I'll get back to it.



SVN revision: 70666
2012-05-02 17:01:53 +00:00
Gustavo Lima Chaves 57b848157f [Elm] File selector now a layout.
SVN revision: 70665
2012-05-02 17:01:48 +00:00
Gustavo Lima Chaves 0335e1a03a [Elm] Video and player now layouts, too.
SVN revision: 70664
2012-05-02 17:01:43 +00:00
Gustavo Lima Chaves 5aeb06aee7 [Elm] Elm web now a (new) elm_widget.
Later on we can think of exposing its internals more WRT inheritance.



SVN revision: 70663
2012-05-02 17:01:37 +00:00
Gustavo Lima Chaves 6008d86c93 [Elm] Index now a layout.
SVN revision: 70662
2012-05-02 17:01:30 +00:00
Gustavo Lima Chaves 0345d5d49d [Elm] Flip selector now a layout.
SVN revision: 70661
2012-05-02 17:01:25 +00:00
Gustavo Lima Chaves cb6fd57536 [Elm] File selector button now a button.
SVN revision: 70660
2012-05-02 17:01:20 +00:00
Gustavo Lima Chaves ff5a4dc5b2 [Elm] Dayselector has nothing to do with
composing widgets.



SVN revision: 70659
2012-05-02 17:01:14 +00:00
Gustavo Lima Chaves b0ca3a9a9d [Elm] Dayselector now a layout.
SVN revision: 70658
2012-05-02 17:01:09 +00:00
Gustavo Lima Chaves 11d75151c2 [Elm] Datetime now a layout
SVN revision: 70657
2012-05-02 17:01:03 +00:00
Gustavo Lima Chaves a134d2eadd [Elm] Elm glview now an (new) elm_widget.
SVN revision: 70656
2012-05-02 17:00:56 +00:00
Gustavo Lima Chaves 7f1d870368 [Elm] Progress bar now a layout.
Theme changes will be ported back to other elm themes.



SVN revision: 70655
2012-05-02 17:00:48 +00:00
Gustavo Lima Chaves cefab26b01 [Elm] Radio now a layout.
Theme changes will be ported back to other elm themes ASAP.



SVN revision: 70654
2012-05-02 17:00:42 +00:00
Gustavo Lima Chaves db9354d036 [Elm] Segment control now a layout, too.
SVN revision: 70653
2012-05-02 17:00:24 +00:00
Gustavo Lima Chaves 418035120e [Elm] Elm separator now a layout.
SVN revision: 70652
2012-05-02 17:00:00 +00:00
Gustavo Lima Chaves ee4351a32e [Elm] Elm grid now ported to new class hierarchy.
SVN revision: 70651
2012-05-02 16:59:55 +00:00
Gustavo Lima Chaves c34bcbc29f [Elm] Elm table migrated to new class hierarchy.
SVN revision: 70650
2012-05-02 16:59:50 +00:00
Gustavo Lima Chaves a2870932ac [Elm] Panes now a layout, too.
SVN revision: 70649
2012-05-02 16:59:45 +00:00
Gustavo Lima Chaves 3298ff9c7a [Elm] Hoversel is now a button.
SVN revision: 70648
2012-05-02 16:59:40 +00:00
Gustavo Lima Chaves 7b3265fd15 [Elm] Elm slider now a layout.
SVN revision: 70647
2012-05-02 16:59:35 +00:00
Gustavo Lima Chaves 1ccd611d74 [Elm] Elm hover now a layout.
SVN revision: 70646
2012-05-02 16:59:30 +00:00
Gustavo Lima Chaves 82cb60cc67 [Elm] Elm slideshow now a layout.
SVN revision: 70645
2012-05-02 16:59:25 +00:00
Gustavo Lima Chaves aa327f9850 [Elm] Elm label now a layout, too.
SVN revision: 70644
2012-05-02 16:59:20 +00:00
Gustavo Lima Chaves 7510d436ce [Elm] Elm actionslider now a layout, too.
SVN revision: 70643
2012-05-02 16:59:12 +00:00
Gustavo Lima Chaves 2308a021de [Elm] Elm bubble is also an elm layout, now.
SVN revision: 70642
2012-05-02 16:59:07 +00:00
Gustavo Lima Chaves 60cc8e20a1 [Elm] Removing cruft (unnecessary) code on elm
win.
With things done right, one does not need this child deletion
by force.



SVN revision: 70641
2012-05-02 16:59:01 +00:00
Gustavo Lima Chaves 5869e3bd8d [Elm] Now elm win and inwin got into the new
widget hierarchy.
Win inherits directly from Elm_Widget_Smart_Class, while inwin is now
an elm layout.

Note that elm_widget_sub_object_list_get(), which was an unecessary
hack only used on win, was killed.



SVN revision: 70640
2012-05-02 16:58:56 +00:00
Gustavo Lima Chaves 506e8765d6 [Elm] Clock now an elm layout, too.
SVN revision: 70639
2012-05-02 16:58:51 +00:00
Gustavo Lima Chaves 39f2ef8783 [Elm] Elm check now a layout.
It's theme uses now "elm.swallow.icon" as its icon spot -> will
fix it on other themes ASAP.



SVN revision: 70638
2012-05-02 16:58:46 +00:00
Gustavo Lima Chaves 082bc108a3 [Elm] Elm calendar also a layout, now.
SVN revision: 70637
2012-05-02 16:58:41 +00:00
Gustavo Lima Chaves 77831157d1 [Elm] One more widget on elm layout: frame.
SVN revision: 70636
2012-05-02 16:58:36 +00:00
Gustavo Lima Chaves ca072667db [Elm] Helper on resize_object_add()
SVN revision: 70635
2012-05-02 16:58:31 +00:00
Gustavo Lima Chaves ed1cee9604 [Elm] And now button also inherits from
elm_layout.
It's theme has now "elm.swallow.icon" as the icon spot ->
will change it on other themes ASAP.



SVN revision: 70634
2012-05-02 16:58:26 +00:00
Gustavo Lima Chaves af0e2a0b54 [Elm] Just a tip on a background test.
SVN revision: 70633
2012-05-02 16:58:21 +00:00
Gustavo Lima Chaves 837c6d2354 [Elm] Elm bg now happily inherits from elm
layout.



SVN revision: 70632
2012-05-02 16:58:16 +00:00
Gustavo Lima Chaves e6ab50005c [Elm] 2nd specialization of Elm's new base smart
class: elm_layout.
This will be, besides the codebase for the elm_layout widget, a common
base for all other widgets which got an edje layout as a basis for
their decoration.

From now on, all elm_layout_* namespaced fuctions will function
on objects inheriting from this base:

- elm_layout_content_set
- elm_layout_content_get
- elm_layout_content_unset
- elm_layout_text_set
- elm_layout_text_get

(recovered from deprecated header -> not anymore)

- elm_layout_sizing_eval
- elm_layout_data_get
- elm_layout_edje_get

- elm_layout_file_set
- elm_layout_theme_set

- elm_layout_box_append
- elm_layout_box_prepend
- elm_layout_box_insert_before
- elm_layout_box_insert_at
- elm_layout_box_remove
- elm_layout_box_remove_all
- elm_layout_table_pack
- elm_layout_table_unpack
- elm_layout_table_clear

Three missing functions on layouts were added, then:

- elm_layout_signal_emit
- elm_layout_signal_callback_add
- elm_layout_signal_callback_del

Naturally, the elm_object_ namespaced counterparts of those will also
function (they will be deprecated on the future).



SVN revision: 70631
2012-05-02 16:58:10 +00:00
Gustavo Lima Chaves c99f1755b3 [Elm] New Elm widget class: cointainer
This is for general purpose containers in Elm, those supporting
- elm_object_part_content_set()
- elm_object_part_content_get()
- elm_object_part_content_unset()



SVN revision: 70630
2012-05-02 16:57:53 +00:00
Gustavo Lima Chaves 2d60b7baba [Elm] Factoring out code for basic widget theme
smart function.



SVN revision: 70629
2012-05-02 16:57:48 +00:00
Gustavo Lima Chaves a5b79bf277 [Elm] Adapting sub_obj_{del,add}, hover and
resize objects to new schema.
sub-object-{add,del} new class functions got their bodies in.  One by
one, the old elm_widget_ namespaced calls to them got to be migrated
to the class calls.

A resize object is now a sub-object, too. This should be like that
from the start -- we share code and avoid callback duplication -- what
leaded to a plethora of bugs.



SVN revision: 70628
2012-05-02 16:57:43 +00:00
Gustavo Lima Chaves 72d6e15f93 [Elm] Creating base smart class, to be extended
properly by real widgets.
I'm also creating a *compatibility* class on top of it, which extends
the old (unique) one to its old components, so that everything goes
unnoticed for the widgets.

Next, we'll be accessing class functions for widget hooks *on the base
class*, which will be proxied back to the instance ones.

Then, one by one the widgets will be translated to a proper
hierarchical smart class parentage, making extensibility and reuse
much better.

Last, but not least, since we'll be moving these hooks to the class,
where (almost) everything is a function, let's adapt to the future --
take away the "_func" suffix from them.

NB: there is ONE hook and associated data which was kept on the base,
for now: "show_region" stuff. I did that because scrollers need that
in order to work, right now. Keep in mind, though, the scrollers will
be reworked, so that fields ought to be changed soon, too.



SVN revision: 70627
2012-05-02 16:57:38 +00:00
Gustavo Lima Chaves 29341fc22c [Elm] Renaming base smart data struct, in
preparation for the next commit.



SVN revision: 70626
2012-05-02 16:57:31 +00:00
ChunEon Park 74011c6181 elementary/font - actually it doesnt append the font to the hash when font_hash is created inside.
now it is fixed.



SVN revision: 70620
2012-05-02 10:29:58 +00:00
Sanjeev BA 80871f4ace Minor bug fix for elc_fileselector entry and button.
In non-inwin mode file selector button does not show popup
after the first time, if the popup window is closed.

SVN revision: 70619
2012-05-02 10:18:05 +00:00
Carsten Haitzler 7641bc3c68 * Fix possible problems with other subsystems depending on X11 display
being closed (XCloseDisplay not close() on socket fd).



SVN revision: 70615
2012-05-02 08:29:11 +00:00
Cedric BAIL c5af5517e7 elementary: doing less is always better.
SVN revision: 70607
2012-05-02 06:53:38 +00:00
Daniel Juyung Seo f3b4a1f499 elm test_flipselector.c: Select an item on start-up.
SVN revision: 70605
2012-05-02 06:38:05 +00:00
Daniel Juyung Seo e7323f88b1 elm test_flipselector.c: Fixed formatting before working on it.
SVN revision: 70604
2012-05-02 06:38:03 +00:00
Daniel Juyung Seo 9f290d4ecc elm elm_general.h: Added note to elm_shutdown() documentation.
SVN revision: 70597
2012-05-02 05:11:53 +00:00
Daniel Juyung Seo 3b10de5440 elm elm_general.h: Added more documentation for elm_exit().
SVN revision: 70594
2012-05-02 04:45:19 +00:00
Cedric BAIL f511684133 eina,evas,edje,elementary: add missing files from tarballs.
Patch by Jérôme Pinot <ngc891@gmail.com>


SVN revision: 70543
2012-04-30 01:55:06 +00:00
Daniel Juyung Seo 654a2abff5 evas, ecore, elementary: Updated AUTHORS and synced author documentation.
SVN revision: 70529
2012-04-28 01:37:07 +00:00
Thiago Thamada 6bb1a56a68 Cleanup Doxygen Warnings - elementary 5
Warning resolved:
unable to resolve reference to <name> for \ref command.

Files modified:
elm_gesture_layer.h
elm_object_item.h

Patch by: Thiago Thamada <tiba@profusion.mobi>

SVN revision: 70527
2012-04-27 12:55:29 +00:00
Thiago Thamada ce13a30156 Cleanup Doxygen Warnings - elementary 4
Warnings resolved:
argument <name> of command @param is not found in the argument list of <function>
The following parameters of <function> are not documented.

Files modified:
elm_calendar.h
elm_map.h

Patch by: Thiago Thamada <tiba@profusion.mobi>

SVN revision: 70526
2012-04-27 12:55:25 +00:00
Thiago Thamada ce8c82cdca Cleanup Doxygen Warnings - elementary 3
Warning resolved:
Documentation for undefined enum <name> found.

Files modified:
elm_colorselector.h
elm_gesture_layer.h
elm_icon.h
elm_list.h
elm_thumb.h
elm_toolbar.h

Patch by: Thiago Thamada <tiba@profusion.mobi>

SVN revision: 70525
2012-04-27 12:55:21 +00:00
Thiago Thamada 97429ed053 Cleanup Doxygen Warnings - elementary 1
Warning resolved:
explicit link request to <name> could not be resolved

Files modified:
elm_clock.h
elm_gengrid.h
elm_index.h
elm_slideshow.h
elm_web.h

Patch by: Thiago Thamada <tiba@profusion.mobi>

SVN revision: 70523
2012-04-27 12:55:08 +00:00
Daniel Juyung Seo e791e88d01 elm test_genlist.c: Merged tree effect test to tree test. You can enable/disable the effect with the radio button.
SVN revision: 70518
2012-04-27 11:08:58 +00:00
Daniel Juyung Seo 9686b496c6 elm genlist: Realize move items during tree effect only when the item is not in the queue.
SVN revision: 70517
2012-04-27 11:08:53 +00:00
Daniel Juyung Seo 2d418589b0 elm genlist: Fixed genlist expandable effect bug when we expand/contract items with many children very quickly.
SVN revision: 70516
2012-04-27 11:08:46 +00:00
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