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
Bruno Dilly [Wed, 20 Oct 2010 20:55:42 +0000 (20:55 +0000)]
Fix elm distcheck
SVN revision: 53693
Bruno Dilly [Wed, 20 Oct 2010 17:41:31 +0000 (17:41 +0000)]
Split tootip test in 2
Avoid multiple windows and the visual pain it was.
SVN revision: 53685
Bruno Dilly [Wed, 20 Oct 2010 17:41:03 +0000 (17:41 +0000)]
Add carousel to carousel test =P
But it's not working anyway.
SVN revision: 53684
Tiago Rezende Campos Falcao [Wed, 20 Oct 2010 17:15:14 +0000 (17:15 +0000)]
Removing more warnings
Using: -Werror -W -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat
-Wformat-security -Wmissing-format-attribute -Wpointer-arith
-Wreturn-type -Wundef -Wwrite-strings
SVN revision: 53683
Bruno Dilly [Wed, 20 Oct 2010 16:56:48 +0000 (16:56 +0000)]
Add missing AUTHORS
Description of changes / revisions (not all of them, I just picked some to
explain the names inclusions)
bdilly
Bruno Dilly <bdilly@profusion.mobi>
edbus -> r42081, r39884, r44581, r40463
python-elementary -> r52765, r52389
edje -> r46548, r49242
editje -> r52520
fidencio
Fabiano Fidêncio fidencio@profusion.mobi
elementary / python-elementary -> fix elm_<widget>_{icon,content}_set - r49706;
add externals - r{47649,47647,47645}
edje / python-edje -> lot of work on edje_edit
glima
Gustavo Lima Chaves <glima@profusion.mobi>
elementary -> added widgets
edje -> lot of work on edje_edit
helen
Helen Fornazier <helen.fornazier@profusion.mobi>
elementary -> elementary key events on widgets
editje -> undo / redo
jprvita
João Paulo Rechi Vita <jprvita@profusion.mobi>
e_dbus-> r47399 , r47398, r47397, r47336, r47330
padovan
Gustavo F. Padovan <padovan@profusion.mobi>
e_dbus-> r46365-r46373, r47114-r47119
SVN revision: 53682
Gustavo Lima Chaves [Wed, 20 Oct 2010 16:51:26 +0000 (16:51 +0000)]
Missing const here.
SVN revision: 53681
Gustavo Lima Chaves [Wed, 20 Oct 2010 16:51:20 +0000 (16:51 +0000)]
Raster?
SVN revision: 53680
Gustavo Lima Chaves [Wed, 20 Oct 2010 16:51:13 +0000 (16:51 +0000)]
Re-indenting and taking off trailing whitespaces.
SVN revision: 53679
Leandro Pereira [Wed, 20 Oct 2010 15:35:45 +0000 (15:35 +0000)]
[Elementary] Elm_Icon cleanups.
SVN revision: 53675
Carsten Haitzler [Wed, 20 Oct 2010 14:12:17 +0000 (14:12 +0000)]
quicklaunch works again. yes - it's semi-broken. but it works.
SVN revision: 53669
Carsten Haitzler [Wed, 20 Oct 2010 13:56:07 +0000 (13:56 +0000)]
fix eina warning.
SVN revision: 53666
Gustavo Lima Chaves [Wed, 20 Oct 2010 12:40:36 +0000 (12:40 +0000)]
Ugly typos gone.
SVN revision: 53663
Gustavo Lima Chaves [Wed, 20 Oct 2010 12:38:46 +0000 (12:38 +0000)]
Elm list external file needed love WRT to new/changed exported properties.
SVN revision: 53662
Tiago Rezende Campos Falcao [Wed, 20 Oct 2010 12:38:32 +0000 (12:38 +0000)]
Hide hidden object in pager.
SVN revision: 53661
Tiago Rezende Campos Falcao [Wed, 20 Oct 2010 12:38:30 +0000 (12:38 +0000)]
CTRL+F12 generate dot dump file in DEBUG
SVN revision: 53660
Tiago Rezende Campos Falcao [Wed, 20 Oct 2010 12:38:27 +0000 (12:38 +0000)]
Added focus_direction_go entry in API.
Also, exported the focus_cycle.
SVN revision: 53659
Gustavo Lima Chaves [Wed, 20 Oct 2010 12:05:39 +0000 (12:05 +0000)]
Taking off dangling (and achieved) TODOs and fixing booboo.
SVN revision: 53653
Gustavo Lima Chaves [Wed, 20 Oct 2010 00:21:34 +0000 (00:21 +0000)]
There you are. Appedix of last commit.
SVN revision: 53646
Gustavo Lima Chaves [Tue, 19 Oct 2010 23:08:48 +0000 (23:08 +0000)]
Removing unecessary code.
SVN revision: 53645
Gustavo Lima Chaves [Tue, 19 Oct 2010 20:21:53 +0000 (20:21 +0000)]
New widget: Hoverlist.
This is one more widget whose idea came from Samsung Electronics. Its
first name was "context popup". There was no common agreement on a
name for it, so... Trator mode, for now (using hoversel as a pattern).
If you have a better name suggestion for it, just change it -- but
soon, due to releasing plans (in a mailbox near in a jiffy).
While for hoversels you populate slots with thingies to later choose
one of them, which will hover up for you, with hoverlists you get a
single hovering list. It will smartly place this -- unique -- list
onto a fitting place inside its parent widget view. Just call
evas_object_show() on it, anytime you want (like for notifies).
SVN revision: 53644
Gustavo Lima Chaves [Tue, 19 Oct 2010 20:21:03 +0000 (20:21 +0000)]
Hooking elm_hover into signal_{emit,callback_add,callback_del}().
SVN revision: 53643
Gustavo Lima Chaves [Tue, 19 Oct 2010 20:20:28 +0000 (20:20 +0000)]
New hover direction: "smart".
This injects some inteligence into hovers which can then be shared
between other composed hover widgets. Also introducing four new
swallow slots one can place content at: the diagonal corners. Just
gotta fill all the styles with those, but no time right now.
SVN revision: 53642
Gustavo Lima Chaves [Tue, 19 Oct 2010 20:19:57 +0000 (20:19 +0000)]
Introducing item_disabled_set() for elm_lists, too.
I'm not implementing the default list themes WRT to it right now,
though, I get back to it soon (just implementing it for a new widget).
SVN revision: 53641
Gustavo Lima Chaves [Tue, 19 Oct 2010 20:19:12 +0000 (20:19 +0000)]
New list layout: horizontal.
Now one can set lists to dispose its items horizontally, too.
elm_list_horizontal_mode_set(), whose name was bogus and would
conflict with the new methods, got renamed to elm_mode_set(), along
with the getters.
This is coming along to help a widget using lists which has a
horizontal mode. The default theme for horizontal items is kinda ugly
for default lists, but one can always improve it :) (in a hurry
now).
Also, I'm introducing a new mode for Elementary lists: expand.
SVN revision: 53640
Bruno Dilly [Tue, 19 Oct 2010 18:26:28 +0000 (18:26 +0000)]
Clean test_map, test_multi and test_photocam files
Remove commented lines, extra lines and spaces.
SVN revision: 53638
Bruno Dilly [Tue, 19 Oct 2010 18:25:57 +0000 (18:25 +0000)]
Fix some Wextra complains on elm edje-externals
SVN revision: 53637
Bruno Dilly [Tue, 19 Oct 2010 18:25:22 +0000 (18:25 +0000)]
Fix some Wextra complains on elm bin
SVN revision: 53636
Bruno Dilly [Tue, 19 Oct 2010 18:24:27 +0000 (18:24 +0000)]
Fix some wextra complains on elm lib
SVN revision: 53635
Tiago Rezende Campos Falcao [Tue, 19 Oct 2010 14:17:14 +0000 (14:17 +0000)]
Review Elm_fileselector_button.
Removed the selected_{get,set} because is the same of path_{get,set}.
Now it uses elm_button like hoversel.
SVN revision: 53622
Tiago Rezende Campos Falcao [Tue, 19 Oct 2010 14:17:11 +0000 (14:17 +0000)]
Clean hoversel_add
SVN revision: 53621
Tiago Rezende Campos Falcao [Tue, 19 Oct 2010 14:17:08 +0000 (14:17 +0000)]
Review Els_Icon
Adding getters (with const args). And replace tests if is edje object by
pre-existent bool variable.
SVN revision: 53620
Tiago Rezende Campos Falcao [Tue, 19 Oct 2010 14:17:06 +0000 (14:17 +0000)]
Removed unused variables
SVN revision: 53619
Tiago Rezende Campos Falcao [Tue, 19 Oct 2010 14:17:03 +0000 (14:17 +0000)]
Include docs to focus cycle.
SVN revision: 53618
Iván Briano [Tue, 19 Oct 2010 12:26:44 +0000 (12:26 +0000)]
We do not use this code, so we don't need to keep it there commented and all.
SVN revision: 53599
Bruno Dilly [Tue, 19 Oct 2010 11:11:38 +0000 (11:11 +0000)]
Use eina_stringshare_strlen on diskpicker
Spotted by k-s
SVN revision: 53594
Daniel Juyung Seo [Tue, 19 Oct 2010 11:02:55 +0000 (11:02 +0000)]
Fix a typo in title
Patch by: Daniel Juyung Seo <seojuyung2@gmail.com>
SVN revision: 53593
Bruno Dilly [Tue, 19 Oct 2010 10:48:11 +0000 (10:48 +0000)]
elm_diskpicker: save (list_len - 3) strlen calls
demarchi-- for reducing performance just to solve a comparison between
signed and unsigned.
SVN revision: 53591
Brian Wang [Tue, 19 Oct 2010 02:23:58 +0000 (02:23 +0000)]
Delete swipe timer when genlist is cleared
The swipe cancel timer isn't deleted in elm_genlist_clear right now. That will
cause invalid access later on.
Patch by: Brian Wang <brian.wang.0721@gmail.com>
SVN revision: 53589
Lucas De Marchi [Tue, 19 Oct 2010 02:17:37 +0000 (02:17 +0000)]
warnings--
* Remove warnings caused by comparison between signed and unsigned values
* Remove a comparison of unsigned expression < 0 that is always false
SVN revision: 53588
Bruno Dilly [Mon, 18 Oct 2010 18:15:59 +0000 (18:15 +0000)]
Fixes for clang warnings
SVN revision: 53576
Iván Briano [Mon, 18 Oct 2010 17:11:18 +0000 (17:11 +0000)]
Kill double declaration.
Patch by Fidencio again, after I stupidly forgot to remove it in the first one.
SVN revision: 53574
Iván Briano [Mon, 18 Oct 2010 17:01:11 +0000 (17:01 +0000)]
Properly check for Smart_Data of subobject before using.
Modified patch by Fabiano Fidencio
SVN revision: 53573
Brett Nash [Mon, 18 Oct 2010 04:49:00 +0000 (04:49 +0000)]
elm_dnd: Add HTML encoding support: Callback only
SVN revision: 53559
Brett Nash [Mon, 18 Oct 2010 04:48:54 +0000 (04:48 +0000)]
elm_cnp: Save the callback data.
SVN revision: 53558
Brett Nash [Mon, 18 Oct 2010 04:48:49 +0000 (04:48 +0000)]
Add optional drop callback to elm_selection get.
SVN revision: 53557
Brett Nash [Mon, 18 Oct 2010 04:48:44 +0000 (04:48 +0000)]
elm_cnp: Elm Drop Data is now Elm Selection data.
SVN revision: 53556
Brett Nash [Mon, 18 Oct 2010 04:48:38 +0000 (04:48 +0000)]
elm_cnp: Whitespace Cleanup
SVN revision: 53555
Davide Andreoli [Mon, 18 Oct 2010 01:17:19 +0000 (01:17 +0000)]
2 whitespace
SVN revision: 53554
Davide Andreoli [Mon, 18 Oct 2010 01:15:34 +0000 (01:15 +0000)]
tab--
SVN revision: 53553
Davide Andreoli [Sun, 17 Oct 2010 20:29:37 +0000 (20:29 +0000)]
Fix gengrid edc indentation: name on the same line & tab--
SVN revision: 53548
Carsten Haitzler [Sun, 17 Oct 2010 04:25:30 +0000 (04:25 +0000)]
come on guys... lets at least be consistent and use EINA_TRUE eh?
SVN revision: 53504
Bruno Dilly [Sun, 17 Oct 2010 01:44:57 +0000 (01:44 +0000)]
Elementary Magnetslider, a new switcher with "magnet" property
This is one more widget whose idea come from Samsung set of
contributions to Elementary.
SVN revision: 53503
Christopher Michael [Fri, 15 Oct 2010 23:03:56 +0000 (23:03 +0000)]
Fix elm_bg overlay issue:
The problem was that when you toggle show/hide overlay in
ELM_BG_CENTER mode, the 'image' itself would not retain it's proper
size (it would fill the whole swallow and thus not be 'centered'
anymore). Solved by setting hint_min/max on the image when in centered
mode.
NB: Raster this fixes that elm_bg issue I mentioned the other day so
all is well now ;)
SVN revision: 53476
Leandro Pereira [Fri, 15 Oct 2010 22:52:27 +0000 (22:52 +0000)]
[Elementary] Code cleanup of test_list.c on previous commit was wrong.
SVN revision: 53475
Leandro Pereira [Fri, 15 Oct 2010 21:26:11 +0000 (21:26 +0000)]
[Elementary] Code cleanups, as suggested by clang static analyzer.
SVN revision: 53472
Leandro Pereira [Fri, 15 Oct 2010 19:08:45 +0000 (19:08 +0000)]
[Elementary] Elm_Menu separator items tweaks.
Do not allow adding more than one separator in a row, or adding a separator
as the first element of the menu (separators are for separating stuff, not
to decorate).
SVN revision: 53466
Tiago Rezende Campos Falcao [Fri, 15 Oct 2010 17:28:55 +0000 (17:28 +0000)]
Remove unused variable
SVN revision: 53461
Tiago Rezende Campos Falcao [Fri, 15 Oct 2010 17:28:49 +0000 (17:28 +0000)]
Fileselector entry isn't focusable.
Remove wrong _on_focus_hook, and add the focus_next_get to give focus
to their children.
SVN revision: 53460
Tiago Rezende Campos Falcao [Fri, 15 Oct 2010 17:28:33 +0000 (17:28 +0000)]
Better focus next get to elm panes.
The previous have too much code.
SVN revision: 53459
Iván Briano [Fri, 15 Oct 2010 16:43:42 +0000 (16:43 +0000)]
No need to go through the list to get the top object when we have it already.
Patch by Alex Grilo
SVN revision: 53457
Christopher Michael [Fri, 15 Oct 2010 13:41:56 +0000 (13:41 +0000)]
Do variable checks correctly (we cannot get widget data if Item does
not exist, so check for a valid Item first).
SVN revision: 53452
Christopher Michael [Fri, 15 Oct 2010 13:36:44 +0000 (13:36 +0000)]
No need to create an elm_icon if widget_data is NULL.
If creating the elm_widget_item fails, delete the created elm_icon also.
SVN revision: 53451
Iván Briano [Fri, 15 Oct 2010 13:19:50 +0000 (13:19 +0000)]
These functions don't exist anymore.
SVN revision: 53449
Lucas De Marchi [Fri, 15 Oct 2010 11:51:15 +0000 (11:51 +0000)]
remove ugly chars
\t and trailing whitespaces, stay away from me
SVN revision: 53446