Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:26:50 +0000 (11:26 +0000)]
Add checkers to hoversel items
SVN revision: 54091
Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:26:47 +0000 (11:26 +0000)]
Add checkers to gengrid items
SVN revision: 54090
Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:26:44 +0000 (11:26 +0000)]
Add test and checker to widget items
SVN revision: 54089
Carsten Haitzler [Tue, 2 Nov 2010 05:00:22 +0000 (05:00 +0000)]
should be recommends.
SVN revision: 54086
Gustavo Lima Chaves [Mon, 1 Nov 2010 21:10:21 +0000 (21:10 +0000)]
Fallbacking to software X11 on all engines, now.
SVN revision: 54083
Gustavo Lima Chaves [Mon, 1 Nov 2010 21:10:14 +0000 (21:10 +0000)]
New elm config app's option: engine setting.
SVN revision: 54082
Gustavo Lima Chaves [Mon, 1 Nov 2010 21:10:07 +0000 (21:10 +0000)]
Switching elm config's engine variable from enum to string ptr.
SVN revision: 54081
Gustavo Lima Chaves [Mon, 1 Nov 2010 21:10:01 +0000 (21:10 +0000)]
Sentinel was never used and was wasting space for subs array.
SVN revision: 54080
Gustavo Lima Chaves [Mon, 1 Nov 2010 21:09:55 +0000 (21:09 +0000)]
Just shutting gcc up.
SVN revision: 54079
Leandro Pereira [Mon, 1 Nov 2010 18:11:18 +0000 (18:11 +0000)]
[Elementary] Cleanups as suggested by clang static analyzer.
SVN revision: 54077
Bruno Dilly [Mon, 1 Nov 2010 12:44:30 +0000 (12:44 +0000)]
elm clean up
SVN revision: 54076
Carsten Haitzler [Sat, 30 Oct 2010 06:22:14 +0000 (06:22 +0000)]
more dirent usage. nix.
SVN revision: 54019
Carsten Haitzler [Sat, 30 Oct 2010 05:48:31 +0000 (05:48 +0000)]
grrr - dont reply on non-portable or abstracted info in dirent. eina
fixed.
SVN revision: 54016
Carsten Haitzler [Sat, 30 Oct 2010 04:01:09 +0000 (04:01 +0000)]
mapbuf -> hide/show content absolutely if mapbuf is hidden/shown and
add test.
SVN revision: 54014
Vincent Torri [Fri, 29 Oct 2010 20:53:44 +0000 (20:53 +0000)]
fix maintainer-clean and dist rules
SVN revision: 54012
Bruno Dilly [Fri, 29 Oct 2010 19:00:15 +0000 (19:00 +0000)]
Adding Otavio to elm AUTHORS for recent contributions
SVN revision: 54011
Bruno Dilly [Fri, 29 Oct 2010 18:58:54 +0000 (18:58 +0000)]
Adding in test_toolbar one example of multiple state items.
By: Otavio Pontes <otavio@profusion.mobi>
SVN revision: 54010
Bruno Dilly [Fri, 29 Oct 2010 18:57:55 +0000 (18:57 +0000)]
Add functions to create states for elm_toolbar_items.
By: Otavio Pontes <otavio@profusion.mobi>
SVN revision: 54009
Bruno Dilly [Fri, 29 Oct 2010 18:56:19 +0000 (18:56 +0000)]
Removing unecessary commented code
By: Otavio Pontes <otavio@profusion.mobi>
SVN revision: 54008
Bruno Dilly [Fri, 29 Oct 2010 18:42:01 +0000 (18:42 +0000)]
Send signal informing changes in icon state.
Inform that the item was disabled, highlighted or selected.
If a toolbar icon is an edje it can receive this signal and change the
icon image to a disabled image.
By: Otavio Pontes <otavio@profusion.mobi>
SVN revision: 54006
Bruno Dilly [Fri, 29 Oct 2010 18:40:59 +0000 (18:40 +0000)]
Perform an animation when changing label/icon from a toolbar item.
When functions to change icon or labels are called a signal is sent to
edje that can perform an animation.
By: Otavio Pontes <otavio@profusion.mobi>
SVN revision: 54005
Iván Briano [Fri, 29 Oct 2010 18:21:58 +0000 (18:21 +0000)]
And let's not expose internal objects when setting signal callbacks on widgets.
SVN revision: 54004
Gustavo Lima Chaves [Fri, 29 Oct 2010 17:32:16 +0000 (17:32 +0000)]
Fixing two buggers here:
- profile selection saving before we assure the dir is there
- wrongly setting data dir at buffers
SVN revision: 54002
Gustavo Lima Chaves [Fri, 29 Oct 2010 17:32:06 +0000 (17:32 +0000)]
Ahh, the trailing whitespaces...
SVN revision: 54001
Gustavo Lima Chaves [Fri, 29 Oct 2010 13:04:05 +0000 (13:04 +0000)]
warning--
SVN revision: 53989
Gustavo Lima Chaves [Thu, 28 Oct 2010 20:57:44 +0000 (20:57 +0000)]
Elementary profiles managing revamped. Most importantly:
Changes in Elementary Config application's UI now *persist*.
Not doing right now, but should be simple:
- profile deletion
- profile addition
SVN revision: 53977
Iván Briano [Thu, 28 Oct 2010 17:46:47 +0000 (17:46 +0000)]
I wonder how I managed to remove those before committing.
SVN revision: 53972
Iván Briano [Thu, 28 Oct 2010 17:23:53 +0000 (17:23 +0000)]
Little titlebar pre-made layout goes in.
This comes from a contributed widget from Samsung that was basically reproducing the code of elm_layout, so instead it was turned into a simple pre-made layout (could get more love, but once again I'm no artist).
In order to make its use simpler, previous commits introduced the signal hooks for elm_layout, text_set and some macros to make it easier to set icon/end and text for layouts like this one.
Also uglified a bit the test for Layout in order to show it working, but I intend to get it fixed again soon. Unless discomfitor wants to practice his Edje skills with it... just saying.
SVN revision: 53971
Iván Briano [Thu, 28 Oct 2010 15:54:35 +0000 (15:54 +0000)]
And as Bruno Dilly pointed out, we already have hooks for these things, so better use them.
SVN revision: 53963
Iván Briano [Thu, 28 Oct 2010 13:54:57 +0000 (13:54 +0000)]
Wrap the signal functions in the layout and use them in the little macros for setting icons
SVN revision: 53958
Tiago Rezende Campos Falcao [Thu, 28 Oct 2010 13:38:59 +0000 (13:38 +0000)]
Explicit the correct return value type
SVN revision: 53957
Tiago Rezende Campos Falcao [Thu, 28 Oct 2010 13:38:55 +0000 (13:38 +0000)]
Add missing object type checkers.
The test test_decl now warn about missing API_ENTRY or
ELM_CHECK_WIDTYPE.
SVN revision: 53956
Carsten Haitzler [Thu, 28 Oct 2010 04:13:09 +0000 (04:13 +0000)]
1. need calls return runtime failure if elm doesnt have the feature.
2. elm config dont use desktops if no efreet.
SVN revision: 53945
Iván Briano [Wed, 27 Oct 2010 17:41:25 +0000 (17:41 +0000)]
content_get for layout and some macros to make it easier to set
things in common layouts
SVN revision: 53929
Tiago Rezende Campos Falcao [Wed, 27 Oct 2010 17:02:02 +0000 (17:02 +0000)]
Elm_Transit
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
Transit is designed to set the various effects for the Evas_Object
such like translation, rotation, etc. For using Effects, Create
transit and insert effects which are interesting.
Once effects are inserted into transit, transit will manage those
effects (ex: deleting).
SVN revision: 53927
Tiago Rezende Campos Falcao [Wed, 27 Oct 2010 17:01:58 +0000 (17:01 +0000)]
Revert. Remove INVALID enum option
SVN revision: 53926
Iván Briano [Wed, 27 Oct 2010 16:58:35 +0000 (16:58 +0000)]
Adding text_set/get to elm_layout.
SVN revision: 53925
Tiago Rezende Campos Falcao [Wed, 27 Oct 2010 14:38:57 +0000 (14:38 +0000)]
list, genlist and gengrid, if no item is selected
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
If no item is selected, pressing up it will select the first and down
will select the last item
SVN revision: 53924
Tiago Rezende Campos Falcao [Wed, 27 Oct 2010 14:38:54 +0000 (14:38 +0000)]
Deselect all items when press Esc
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
list, genlist, gengrid: Using _deselect_all_item
SVN revision: 53923
Tiago Rezende Campos Falcao [Wed, 27 Oct 2010 14:38:51 +0000 (14:38 +0000)]
Setter isn't const
SVN revision: 53922
Tiago Rezende Campos Falcao [Wed, 27 Oct 2010 14:38:48 +0000 (14:38 +0000)]
Add icon unsetter to elm_fileselector_entry
SVN revision: 53921
Tiago Rezende Campos Falcao [Wed, 27 Oct 2010 14:38:45 +0000 (14:38 +0000)]
Add missing getters to elm_button
SVN revision: 53920
Tiago Rezende Campos Falcao [Wed, 27 Oct 2010 14:38:43 +0000 (14:38 +0000)]
Including EAPI method to .h
SVN revision: 53919
Tiago Rezende Campos Falcao [Wed, 27 Oct 2010 14:38:40 +0000 (14:38 +0000)]
Checkers for API consistence
SVN revision: 53918
Tiago Rezende Campos Falcao [Wed, 27 Oct 2010 14:38:37 +0000 (14:38 +0000)]
Setters/Getters fix 1.
Setters can't receive const pointers.
All setter need corresponding getter.
In this patch, i adjust getter in: Bg, Box, Icon, Image, Win and Main.
SVN revision: 53917
Bruno Dilly [Tue, 26 Oct 2010 13:15:51 +0000 (13:15 +0000)]
Small fixes on elm toolbar docs
SVN revision: 53899
Bruno Dilly [Tue, 26 Oct 2010 13:15:32 +0000 (13:15 +0000)]
Add toolbar item data getter / setter
Useful for bindings
SVN revision: 53898
Rafael Fonseca [Tue, 26 Oct 2010 12:16:25 +0000 (12:16 +0000)]
Match Toolbar_Shrink_Mode enum changes.
SVN revision: 53897
Bruno Dilly [Tue, 26 Oct 2010 10:30:45 +0000 (10:30 +0000)]
Add a new shrink mode to elm_toolbar: SHRINK_HIDE
And fix the docs related to shrink mode:
SHRINK_HIDE -> hide excess items
SHRINK_NONE -> set toolbar minimun size to fit all the items
SVN revision: 53895
Bruno Dilly [Tue, 26 Oct 2010 10:29:24 +0000 (10:29 +0000)]
Change toolbar API for consistency with other widgets
BIG FAT WARNING: lots of changes on toolbar API
Trying to get a lib with easy to use API, I'm changing toolbar API
to be consistent with genlist / gengrid widgets and to be more concise.
Functions select_next, select_first, select_last, unselect, unselect_all
get all are gone.
You can do this calling a combination of the others functions.
This commit changes toolbar to use inlist, and previous items can be
get.
So now we have:
Elm_Toolbar_Item *elm_toolbar_first_item_get(const Evas_Object *obj)
Elm_Toolbar_Item *elm_toolbar_last_item_get(const Evas_Object *obj)
Elm_Toolbar_Item *elm_toolbar_item_next_get(const Elm_Toolbar_Item *it)
Elm_Toolbar_Item *elm_toolbar_item_prev_get(const Elm_Toolbar_Item *it)
Eina_Bool elm_toolbar_item_selected_get(const Elm_Toolbar_Item)
void elm_toolbar_item_selected_set(Elm_Toolbar_Item *item, Eina_Bool selected)
Elm_Toolbar_Item *elm_toolbar_selected_item_get(const Evas_Object *obj)
With these functions you can iterate over the items list getting /
selecting the item you need.
Another big change is that elm_toolbar_item_add is gone. Now you can
insert items in the position you want, with the functions append,
prepend, insert after, insert before (a relative item).
If you don't like any changes or have a case of use for something
that should be different, please ping me.
At last, includes ELM_TOOLBAR_ITEM_CHECK_OR_RETURN on EAPI that
receives items.
SVN revision: 53894
Brett Nash [Tue, 26 Oct 2010 06:10:46 +0000 (06:10 +0000)]
elm_cnp_helper: Allow HTML->Text conversions on paste.
SVN revision: 53886
Gustavo Lima Chaves [Mon, 25 Oct 2010 17:36:07 +0000 (17:36 +0000)]
Little changes at elm profile functios + some new free()-ing helpers.
SVN revision: 53878
Leandro Pereira [Mon, 25 Oct 2010 16:17:24 +0000 (16:17 +0000)]
elementary-config: Fix toolbar.
SVN revision: 53875
Tiago Rezende Campos Falcao [Mon, 25 Oct 2010 14:34:22 +0000 (14:34 +0000)]
Getters should received const pointers
Only two getters continue without const:
* elm_theme_get
Need name review, or comportament.
* elm_toolbar_item_menu_get
Need comportament review, but will be fixed by bdilly.
SVN revision: 53874
Tiago Rezende Campos Falcao [Mon, 25 Oct 2010 14:34:18 +0000 (14:34 +0000)]
elm AUTHORS += tiago
SVN revision: 53873
Christopher Michael [Mon, 25 Oct 2010 13:28:05 +0000 (13:28 +0000)]
Bottom shadow image (for background) is actually 8 pixels high, not 3,
so set the bottom shadow part to take that into account. Now bottom
shadow on background actually shows up ;)
SVN revision: 53870
Gustavo Lima Chaves [Mon, 25 Oct 2010 13:08:19 +0000 (13:08 +0000)]
Profile selection at Elementary config app.
New heading for persistent profile changes/editions.
SVN revision: 53868
Gustavo Lima Chaves [Mon, 25 Oct 2010 13:08:12 +0000 (13:08 +0000)]
Making scrolled entries respect min/max size hints set from the user.
SVN revision: 53867
Gustavo Lima Chaves [Mon, 25 Oct 2010 13:08:04 +0000 (13:08 +0000)]
Indenting.
SVN revision: 53866
Iván Briano [Mon, 25 Oct 2010 12:48:51 +0000 (12:48 +0000)]
Adding a Transition Layout example in elementary_test
By: Otavio Pontes <otavio@profusion.mobi>
SVN revision: 53865
Gustavo Sverzut Barbieri [Sun, 24 Oct 2010 23:48:35 +0000 (23:48 +0000)]
need to reset cached values when recalculating theme
SVN revision: 53843
Carsten Haitzler [Sat, 23 Oct 2010 01:00:46 +0000 (01:00 +0000)]
keep flush sequence consistent.
SVN revision: 53792
Tiago Rezende Campos Falcao [Fri, 22 Oct 2010 21:41:31 +0000 (21:41 +0000)]
Relloc with problems
SVN revision: 53788
Tiago Rezende Campos Falcao [Fri, 22 Oct 2010 21:41:27 +0000 (21:41 +0000)]
Remove tests == 0 and != 0
SVN revision: 53787
Tiago Rezende Campos Falcao [Fri, 22 Oct 2010 21:41:22 +0000 (21:41 +0000)]
Coccinelle
SVN revision: 53786
Bruno Dilly [Fri, 22 Oct 2010 20:12:03 +0000 (20:12 +0000)]
Sync authors in elm doc with AUTHORS
SVN revision: 53783
Bruno Dilly [Fri, 22 Oct 2010 20:11:31 +0000 (20:11 +0000)]
Remove dead assignments
SVN revision: 53782
Iván Briano [Fri, 22 Oct 2010 18:29:51 +0000 (18:29 +0000)]
Bring focused object into the visible area
There's still a little bugger that can be noticed with the Scroller 2 test
and elm_conform still needs to handle this as scroller does.
SVN revision: 53778
Tiago Rezende Campos Falcao [Fri, 22 Oct 2010 16:40:50 +0000 (16:40 +0000)]
Missing EAPI
SVN revision: 53771
Fabiano Fidêncio [Fri, 22 Oct 2010 12:05:45 +0000 (12:05 +0000)]
warning--
* Add UNUSED to arguments no used
* Add functions recently created to private.h
Patch by: "Fabiano Fidêncio" <fidencio@profusion.mobi>
SVN revision: 53763
Carsten Haitzler [Fri, 22 Oct 2010 03:09:53 +0000 (03:09 +0000)]
and clean up more little bits of "could be better" code.
SVN revision: 53759
Carsten Haitzler [Fri, 22 Oct 2010 03:05:25 +0000 (03:05 +0000)]
don't need to del timer - just return false and set timer handle to
null. also justin case - del timer ebfore adding one...
SVN revision: 53758
Carsten Haitzler [Fri, 22 Oct 2010 03:01:53 +0000 (03:01 +0000)]
oh much formatting cleanups and removal of excessive casting to make
it trimmer and more readable.
SVN revision: 53757
Carsten Haitzler [Fri, 22 Oct 2010 02:50:57 +0000 (02:50 +0000)]
fix doc.
SVN revision: 53756
Otavio Pontes [Thu, 21 Oct 2010 22:03:43 +0000 (22:03 +0000)]
Add support for changing style from one elm widget in edje external.
Create a param 'style' that can be used in edje external
to change the style of one object.
Patch by: Otavio Pontes <otavio@profusion.mobi>
SVN revision: 53754
Rafael Fonseca [Thu, 21 Oct 2010 20:23:52 +0000 (20:23 +0000)]
Set default shrink mode as Menu for desktop too.
Change suggested by k-s.
SVN revision: 53748
Rafael Fonseca [Thu, 21 Oct 2010 19:57:43 +0000 (19:57 +0000)]
Better way of setting bounce from profile.
Change pointed out by k-s.
SVN revision: 53744
Rafael Fonseca [Thu, 21 Oct 2010 19:35:12 +0000 (19:35 +0000)]
Misspelling threshhold -> threshold as pointed out by glima.
SVN revision: 53740
Rafael Fonseca [Thu, 21 Oct 2010 19:24:43 +0000 (19:24 +0000)]
Use shrink mode info from profile on elm_toolbar.
The default shrink mode for desktops is Scroll and for mobiles is Menu.
SVN revision: 53738
Rafael Fonseca [Thu, 21 Oct 2010 18:59:45 +0000 (18:59 +0000)]
Get icon_size from profile.
Toolbar and Carousel widgets now use the default icon_size set in the profile.
SVN revision: 53735
Tiago Rezende Campos Falcao [Thu, 21 Oct 2010 18:58:46 +0000 (18:58 +0000)]
Including missing EAPI methods in Elementary.h
SVN revision: 53734
Tiago Rezende Campos Falcao [Thu, 21 Oct 2010 18:58:43 +0000 (18:58 +0000)]
Improve Focus manager.
In Window show, the focus is given to first focusable object, or to
window if no exist focusable object. So, suggest create the widgets
before show the window.
If pager is focused, it give the focus to top page in each promote.
SVN revision: 53733
Tiago Rezende Campos Falcao [Thu, 21 Oct 2010 18:58:40 +0000 (18:58 +0000)]
Review type checkers in main and widget
SVN revision: 53732
Tiago Rezende Campos Falcao [Thu, 21 Oct 2010 18:58:37 +0000 (18:58 +0000)]
Review elm_theme. int -> Eina_Bool
SVN revision: 53731
Rafael Fonseca [Thu, 21 Oct 2010 18:54:47 +0000 (18:54 +0000)]
Use bounce information from profile in the scrollers.
Instead of just setting the bounce property to its scroller, each widget now
first checks in the profile used whether bounce is enabled or not.
SVN revision: 53730
Rafael Fonseca [Thu, 21 Oct 2010 18:40:49 +0000 (18:40 +0000)]
Use profile configuration on fileselectors.
The profile now defines the default value for expand and inwin modes. The
fileselectors tests were changed to reflect that.
Note that the default for desktops is expand mode enabled and inwin disabled
and for mobiles is the opposite.
SVN revision: 53728
Rafael Fonseca [Thu, 21 Oct 2010 18:26:14 +0000 (18:26 +0000)]
Improve Elementary's profiles.
This is still a work in progress. The idea is to have two different profiles:
one to be used on desktops and another for mobiles. To make it possible, I've
added some fields to the config struct and in the following commits the widgets
will start using that configuration so when they are created the default
configuration of the profile is applied.
SVN revision: 53726
Bruno Dilly [Thu, 21 Oct 2010 18:12:21 +0000 (18:12 +0000)]
Remove unused vars from test_toolbar
SVN revision: 53724
Rafael Fonseca [Thu, 21 Oct 2010 17:37:10 +0000 (17:37 +0000)]
Actually add toolbar tests to elementary_test.
Oops, forgot to commit this file in the previous patch =/.
SVN revision: 53722
Rafael Fonseca [Thu, 21 Oct 2010 15:37:02 +0000 (15:37 +0000)]
Add tests to elementary_test to exercise toolbar's shrink modes.
Now that toolbar has 3 shrink modes I've added one test for each one. The first
one shows the menu mode which is responsible for adding a More button when the
toolbar size is not large enough to hold all items. The second one is scroll
mode in which the items can be scrolled when the length is not enough. The last
one, none mode, does nothing.
SVN revision: 53718
Bruno Dilly [Thu, 21 Oct 2010 15:32:04 +0000 (15:32 +0000)]
void *'s need no cast: Part II
SVN revision: 53717
Carsten Haitzler [Thu, 21 Oct 2010 14:20:51 +0000 (14:20 +0000)]
void *'s need no cast.
SVN revision: 53715
김지훈 [Thu, 21 Oct 2010 08:01:52 +0000 (08:01 +0000)]
patch from: 김지훈 <jihoon48.kim@samsung.com>
Subject: elementary patch
In this elementary patch. type casting is used in elm_colorpicker.
In addition, Elementary.h.in is modified for indentation.
SVN revision: 53708
Carsten Haitzler [Thu, 21 Oct 2010 04:05:35 +0000 (04:05 +0000)]
aaah fix non quicklaunch mode too.
SVN revision: 53703
Carsten Haitzler [Thu, 21 Oct 2010 01:10:30 +0000 (01:10 +0000)]
revert!!!!!!!
SVN revision: 53702
Brett Nash [Wed, 20 Oct 2010 22:33:58 +0000 (22:33 +0000)]
cnp_helper: Format fixes.
SVN revision: 53698
Brett Nash [Wed, 20 Oct 2010 22:32:47 +0000 (22:32 +0000)]
Save HTML content as well.
Patch from 장효영 <hyoyoung.chang@samsung.com>
SVN revision: 53697
Leandro Pereira [Wed, 20 Oct 2010 21:30:05 +0000 (21:30 +0000)]
[Elementary] Disallow adding more than one separator item in a row.
(This fixes certain cases not covered by r53466)
SVN revision: 53696
Leandro Pereira [Wed, 20 Oct 2010 21:30:03 +0000 (21:30 +0000)]
[Elementary] Add menu buttons as submenus in Elm_Toolbar "More" button.
Previously, if there were buttons with menus in the toolbar, they would be
added but not its menu items. Even though this is working fine, this is a
hack, since Elm_Menu should really offer reparenting or something like that
-- and this will destroy and recreate the whole menu structure on every
toolbar resize.
SVN revision: 53695
Leandro Pereira [Wed, 20 Oct 2010 21:30:00 +0000 (21:30 +0000)]
[Elementary] Use elm_icon_standard_set() on Elm_Menu items.
This breaks the API *and* the ABI, but this should be consistent with
Elm_Toolbar. We'll probably need a tweak here and there, but I really
think Elm_Menu should be rewritten.
SVN revision: 53694