Commit Graph

4477 Commits

Author SHA1 Message Date
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 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 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
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 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
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
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 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
Michael BOUCHAUD 4b6c52a4d6 elementary: warn--
SVN revision: 70341
2012-04-19 22:47:53 +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
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