Bruno Dilly [Mon, 8 Nov 2010 16:55:26 +0000 (16:55 +0000)]
Checking widtype on eapi elm_toolbar_item_label_set
SVN revision: 54335
Bruno Dilly [Mon, 8 Nov 2010 16:44:31 +0000 (16:44 +0000)]
Include toolbar_item_state_del on Elm.h
SVN revision: 54334
Bruno Dilly [Mon, 8 Nov 2010 16:39:07 +0000 (16:39 +0000)]
Adding some missing const on getters on elm
SVN revision: 54333
Bruno Dilly [Mon, 8 Nov 2010 14:07:33 +0000 (14:07 +0000)]
elm_genlist longpressed signal documentation
By: 서주영 <juyung.seo@samsung.com>
SVN revision: 54329
Carsten Haitzler [Mon, 8 Nov 2010 05:51:19 +0000 (05:51 +0000)]
no more debian dir in our svn - debian now handles this tehmselves.
SVN revision: 54299
Carsten Haitzler [Mon, 8 Nov 2010 05:38:53 +0000 (05:38 +0000)]
oops printf--
SVN revision: 54286
Carsten Haitzler [Mon, 8 Nov 2010 04:39:56 +0000 (04:39 +0000)]
fmting
SVN revision: 54285
Carsten Haitzler [Mon, 8 Nov 2010 04:33:34 +0000 (04:33 +0000)]
fix bug in glenlist 4 - item update. updates item vanishes.
SVN revision: 54284
Carsten Haitzler [Sat, 6 Nov 2010 07:05:00 +0000 (07:05 +0000)]
allo icons to be orphaned
SVN revision: 54218
Carsten Haitzler [Sat, 6 Nov 2010 06:19:05 +0000 (06:19 +0000)]
back to 2000 items in test.
SVN revision: 54216
Carsten Haitzler [Sat, 6 Nov 2010 06:14:21 +0000 (06:14 +0000)]
unrealized callback too.
SVN revision: 54215
Carsten Haitzler [Sat, 6 Nov 2010 06:02:22 +0000 (06:02 +0000)]
improve genlist item realize/nrealize by almost 2x. (4.7->2.7 sec for
processing of a genlist queue of 20,000 items). added genlist item
cache to do this. yay!. also wil improve runtime scrolling -
realiz/unrealize will be also equivalently faster, so less add/del
overhead for the edje objects in gnelist itself. the icons that apps
swallow in still get deleted and created. this is another matter for
anothr day. ant be solved inside of genlist itself. probably need an
unrealize callback per item and a way to steal your icons back from
the item.
SVN revision: 54214
Bruno Dilly [Fri, 5 Nov 2010 18:25:04 +0000 (18:25 +0000)]
Fixing comments in gengrid.
By: Otavio Pontes <otavio@profusion.mobi
SVN revision: 54191
Bruno Dilly [Fri, 5 Nov 2010 18:23:59 +0000 (18:23 +0000)]
Emit different signals when changing states forward or backward.
This is used to perform diferent animations when going forward or
backward.
By: Otavio Pontes <otavio@profusion.mobi>
SVN revision: 54190
Bruno Dilly [Fri, 5 Nov 2010 18:23:15 +0000 (18:23 +0000)]
Adding a no select mode to toolbar.
In no select mode, toolbar items don't stay selected after click.
SVN revision: 54189
Bruno Dilly [Fri, 5 Nov 2010 18:22:42 +0000 (18:22 +0000)]
Loading icon image from files if absolute path is provided
By: Otavio Pontes <otavio@profusion.mobi>
SVN revision: 54188
Bruno Dilly [Fri, 5 Nov 2010 18:21:01 +0000 (18:21 +0000)]
Don't show more menu if there is only one button in it.
If there is only one item inside more menu and if this item is smaller
than more item, the toolbar wont show the more menu.
By: Otavio Pontes <otavio@profusion.mobi>
SVN revision: 54187
Carsten Haitzler [Fri, 5 Nov 2010 11:02:52 +0000 (11:02 +0000)]
oops - printf--
SVN revision: 54175
Carsten Haitzler [Fri, 5 Nov 2010 11:02:08 +0000 (11:02 +0000)]
fix genlist bug - was MEANT to realzie items as they appear - it
realized a whole block. fix.
SVN revision: 54174
Carsten Haitzler [Fri, 5 Nov 2010 09:44:05 +0000 (09:44 +0000)]
fmting.
SVN revision: 54172
Carsten Haitzler [Fri, 5 Nov 2010 09:43:13 +0000 (09:43 +0000)]
do scale right for toolbar...
SVN revision: 54171
Davide Andreoli [Fri, 5 Nov 2010 09:31:51 +0000 (09:31 +0000)]
Make the scroller more "weighted" (or hard-to-drag) while you drag it
out of bounds, that is when the content is finished. In this way
the user note that the content is at the end.
All the others finger-scroll implementation (iphone,android) works this way ;)
This is configurable by the 'thumbscroll_border_friction' config value,
and by the 'ELM_THUMBSCROLL_BORDER_FRICTION' var.
0.0 means: disable the friction
0.5 is the default
1.0 means: maximum friction
I have tested this with every scroller in elm_test and seems to work
well in all the occurence, if you see somthing strange in some scroller
please let me know.
DaveMDS
SVN revision: 54170
Carsten Haitzler [Fri, 5 Nov 2010 08:37:31 +0000 (08:37 +0000)]
elm theme can be copied, referenced and theme flush tries to ONLY
flush a specific theme if told so (and only those widgets and their
children).
SVN revision: 54169
Bruno Dilly [Fri, 5 Nov 2010 00:47:19 +0000 (00:47 +0000)]
Fix missing ingroups on elm_layout docs
SVN revision: 54165
Bruno Dilly [Fri, 5 Nov 2010 00:46:54 +0000 (00:46 +0000)]
Add cursor getters for elm widgets and items
SVN revision: 54164
Bruno Dilly [Fri, 5 Nov 2010 00:45:59 +0000 (00:45 +0000)]
Add bounce getter for remaining widgets
SVN revision: 54163
Bruno Dilly [Thu, 4 Nov 2010 13:59:42 +0000 (13:59 +0000)]
Small fix on entry load file
In case a file can't be completely read, return what could be read so
far.
SVN revision: 54152
Gustavo Lima Chaves [Thu, 4 Nov 2010 13:51:09 +0000 (13:51 +0000)]
Accomodating for scrolled entry changes at elm config app's profile page.
NB: there is no sane way of restraining the min/max size of an elm
widget right now. This is why the scrolled entry is now (hopefully
not for toooo long) with half the size of a box, not 60px in height
anymore.
SVN revision: 54151
Gustavo Lima Chaves [Thu, 4 Nov 2010 13:51:02 +0000 (13:51 +0000)]
Reverting size hints hacks the right way at scrolled entry + calling
it from theme hook.
SVN revision: 54150
Gustavo Lima Chaves [Thu, 4 Nov 2010 13:50:54 +0000 (13:50 +0000)]
Just adding more readability to eet data descriptor filling.
SVN revision: 54149
Iván Briano [Thu, 4 Nov 2010 12:24:07 +0000 (12:24 +0000)]
We need the aspect, or sometimes icons go away
SVN revision: 54147
Bruno Dilly [Thu, 4 Nov 2010 12:19:00 +0000 (12:19 +0000)]
Add bounce setter/getter to elm_photocam
By: Li Suxia <suxia.li@samsung.com>
SVN revision: 54146
Bruno Dilly [Thu, 4 Nov 2010 11:56:15 +0000 (11:56 +0000)]
Remove elm_notepad
Notepad had a big issue: users couldn't access the entry, so notepad
was something near to an useless widget.
We needed to choose between wrap all entry functions or add these file
save / load and autosave features to entries.
As discussed on the emails list, we decided to go with the second
option, so we won't have an extra widget with lots of wrap functions.
Notepad was internally just an elm_entry with a scroll, so using
a scrolled entry with a file set will do the job.
I've added a test called Entry Notepad that looks like the removed
Notepad test. But we will see the improvements - you can clear the entry
or whatever you want, because the entry is the object you are creating.
If you were using elm_notepad before, just s/notepad/scrolled_entry
and almost everything should work fine. Another change was the function
file_save(obj, file, format), is now just file_save(obj), and the
file and format used are defined by file_set().
At last, some getters were added.
SVN revision: 54145
Otavio Pontes [Wed, 3 Nov 2010 18:31:31 +0000 (18:31 +0000)]
Calling callback when grid has changed.
Patch by: Otavio Pontes <otavio@profusion.mobi>
SVN revision: 54130
Otavio Pontes [Wed, 3 Nov 2010 18:30:48 +0000 (18:30 +0000)]
Calling callback 'unrealized' when an item is unrealized.
Patch by: Otavio Pontes <otavio@profusion.mobi>
SVN revision: 54129
Tiago Rezende Campos Falcao [Wed, 3 Nov 2010 17:22:42 +0000 (17:22 +0000)]
Fix scrolled entry sizing eval when change style
SVN revision: 54126
Carsten Haitzler [Wed, 3 Nov 2010 08:24:56 +0000 (08:24 +0000)]
test case for conform+focus. seems to work here.
SVN revision: 54116
Iván Briano [Tue, 2 Nov 2010 17:55:14 +0000 (17:55 +0000)]
label is no longer a common parameter, and style is
SVN revision: 54109
Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:27:13 +0000 (11:27 +0000)]
Use common checker to item in flippicker
SVN revision: 54099
Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:27:10 +0000 (11:27 +0000)]
Add checkers to carousel items
SVN revision: 54098
Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:27:07 +0000 (11:27 +0000)]
Add checkers to genlist items
SVN revision: 54097
Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:27:04 +0000 (11:27 +0000)]
Add checkers to slidershow items
SVN revision: 54096
Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:27:02 +0000 (11:27 +0000)]
Add checkers to index items
SVN revision: 54095
Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:26:59 +0000 (11:26 +0000)]
Add checkers to toolbar items
SVN revision: 54094
Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:26:56 +0000 (11:26 +0000)]
Add checkers to list items
SVN revision: 54093
Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:26:53 +0000 (11:26 +0000)]
Add checkers to menu items
SVN revision: 54092
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