Brett Nash [Sun, 6 Jun 2010 04:09:56 +0000 (04:09 +0000)]
Don't deref a pointer before we check it.
SVN revision: 49473
Fabiano Fidêncio [Sat, 5 Jun 2010 13:12:45 +0000 (13:12 +0000)]
From: Fabiano Fidêncio <fidencio@profusion.mobi>
Changing return of Eina_Bool functions that were not EINA_TRUE or
EINA_FALSE in Edje.
In Elementary too ...
SVN revision: 49470
Carsten Haitzler [Sat, 5 Jun 2010 05:30:59 +0000 (05:30 +0000)]
dont need that anymore.
SVN revision: 49466
Carsten Haitzler [Sat, 5 Jun 2010 04:34:00 +0000 (04:34 +0000)]
oops - typo. fix.
SVN revision: 49465
Carsten Haitzler [Fri, 4 Jun 2010 05:14:35 +0000 (05:14 +0000)]
init imf in elm_main. saves de-init and re-inti when entires are around.
SVN revision: 49442
Carsten Haitzler [Fri, 4 Jun 2010 01:04:24 +0000 (01:04 +0000)]
change svnversion shell goop to nuke sed and just use tr to delete
unwanted goop.
SVN revision: 49429
Rafael Fonseca [Thu, 3 Jun 2010 12:53:14 +0000 (12:53 +0000)]
From: Rafael Fonseca <rfonseca@profusion.mobi>
As requested, I've changed the widget name. Let me know about any
issues.
SVN revision: 49411
Iván Briano [Thu, 3 Jun 2010 07:40:54 +0000 (07:40 +0000)]
Let git-svn users get the right revision number to be used as version.
SVN revision: 49407
Carsten Haitzler [Mon, 31 May 2010 03:12:45 +0000 (03:12 +0000)]
nopw svn revision works again.
SVN revision: 49344
Carsten Haitzler [Mon, 31 May 2010 01:59:22 +0000 (01:59 +0000)]
fix - if no svn tree, then it will pretend to be a release.
SVN revision: 49343
Carsten Haitzler [Sat, 29 May 2010 09:48:05 +0000 (09:48 +0000)]
elm... version too!
SVN revision: 49284
Mike Blumenkrantz [Thu, 27 May 2010 09:03:22 +0000 (09:03 +0000)]
remove test panel 2, add in top panel test
SVN revision: 49224
Mike Blumenkrantz [Thu, 27 May 2010 09:02:44 +0000 (09:02 +0000)]
this was close, but not quite the right variable name
SVN revision: 49223
Mike Blumenkrantz [Thu, 27 May 2010 09:01:41 +0000 (09:01 +0000)]
kill off some unused variables, return values on some widtype check fails
SVN revision: 49222
Bruno Dilly [Wed, 26 May 2010 03:08:10 +0000 (03:08 +0000)]
Add right orientation to elm panel widget
And create a new test for panel, a bit more complex, that should
be extended to show panels with all the 4 orientations, when they're
implemented.
SVN revision: 49202
Bruno Dilly [Tue, 25 May 2010 13:36:20 +0000 (13:36 +0000)]
Fix misuse of win_resize_object on test_flip3 and add comments
explaining better the sorted insertion of index widget.
Thanks to Sachiel for spotting that stuff.
SVN revision: 49195
Bruno Dilly [Tue, 25 May 2010 13:17:00 +0000 (13:17 +0000)]
Add new test for flip widget, using flips inside of a flip.
This test shows a bug in current flip implementation.
SVN revision: 49194
Mike Blumenkrantz [Mon, 24 May 2010 08:28:23 +0000 (08:28 +0000)]
sighhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
SVN revision: 49176
Mike Blumenkrantz [Mon, 24 May 2010 08:26:18 +0000 (08:26 +0000)]
fix smart_object_add param order (hooray for Sachiel at 4:30am!)
SVN revision: 49175
Bruno Dilly [Sun, 23 May 2010 23:54:16 +0000 (23:54 +0000)]
Adding function to set cell selected in elm_scrolled_grid
By: Rafael Fonseca
SVN revision: 49173
Bruno Dilly [Sun, 23 May 2010 23:44:36 +0000 (23:44 +0000)]
Elementary test for index and list sorted insertion
A bit complex test, but it's probably a common use case for index.
SVN revision: 49172
Bruno Dilly [Sun, 23 May 2010 23:41:32 +0000 (23:41 +0000)]
Implement elm index sorted insert
- Name index item as Elm_Index_Item
- Add some other index functions:
+ Item find
+ Data get/set
+ Letter get
I think this stuff will make easier to create index for
dynamically created lists.
SVN revision: 49171
Christopher Michael [Fri, 21 May 2010 19:26:57 +0000 (19:26 +0000)]
Proper fix for compiler warnings by adding const to the _get functions
(thanks k-s).
Fix formatting & remove some whitespace.
NB: Please take notice, do not format if statements like this:
if (val && !val2).
You will get spanked...hard :P
Proper if formatting should be:
if ((val) && (!val2))
This avoids potential evaluation errors (as was recently seen in
ecore_con).
SVN revision: 49111
Christopher Michael [Fri, 21 May 2010 17:16:42 +0000 (17:16 +0000)]
Fix compiler warnings ... yes, they were fairly harmless, but I hate
seeing warnings during compile, especially when they are easily
corrected.
SVN revision: 49109
Andreas Volz [Thu, 20 May 2010 18:00:33 +0000 (18:00 +0000)]
added a usage hint about casting int to void* and back
SVN revision: 49071
Bruno Dilly [Wed, 19 May 2010 13:17:02 +0000 (13:17 +0000)]
Implements elm_object_focus_get that returns if the object is focused.
SVN revision: 49005
Bruno Dilly [Tue, 18 May 2010 18:23:11 +0000 (18:23 +0000)]
When the grid size was different from the viewport's, the min size
for the grid was being wrongly calculated leading to children
objects leaking through the widget.
By Rafael Fonseca
SVN revision: 48984
Iván Briano [Mon, 17 May 2010 17:36:43 +0000 (17:36 +0000)]
Set main object as resize object for the widget
This way, Elementary handles stacking, resizing and moving of the
object by itself, instead of letting it loose and stacked over
everything else.
SVN revision: 48945
Gustavo Sverzut Barbieri [Thu, 13 May 2010 22:02:26 +0000 (22:02 +0000)]
Work around elementary's lack of proper inheritance.
Someday someone should take care to make elementary real smart objects
and benefit from everything it brings... yes, types more, but it is
worth -- and we added macros to help the type-a-lot.
SVN revision: 48831
Iván Briano [Wed, 12 May 2010 21:59:08 +0000 (21:59 +0000)]
Signal edje when clock gets focused.
By Rafael Fonseca
SVN revision: 48789
Carsten Haitzler [Wed, 12 May 2010 16:37:33 +0000 (16:37 +0000)]
add docs.
SVN revision: 48779
Carsten Haitzler [Wed, 12 May 2010 16:32:12 +0000 (16:32 +0000)]
working much better elm config stuff. hs old config sliders still there, now
adding theme tab. not complete tho.
SVN revision: 48778
Luis Felipe Strano Moraes [Wed, 12 May 2010 15:43:54 +0000 (15:43 +0000)]
Create elm_list_item_sorted_insert
Function that include items to an elm list in a sorted way defined by
an Eina_Compare_Cb function.
Author: Bruno Dilly <bdilly@profusion.mobi>
SVN revision: 48777
Carsten Haitzler [Wed, 12 May 2010 01:03:46 +0000 (01:03 +0000)]
theme -> can specify a new theme for an object andit gets inherited. need to
add tests.
SVN revision: 48771
Iván Briano [Tue, 11 May 2010 15:25:01 +0000 (15:25 +0000)]
Let the user choose what digits of the clock are editable.
Patch by Rafael "15 years of experience" Fonseca.
SVN revision: 48757
Carsten Haitzler [Sun, 9 May 2010 16:05:18 +0000 (16:05 +0000)]
if sub scroller bigger than oparent - it's still usable now - u can get to
edge of child then it stops and now parent moves etc.
SVN revision: 48717
Carsten Haitzler [Sun, 9 May 2010 10:46:49 +0000 (10:46 +0000)]
fix list scroller to use ppropeer internal scroller calls.
remove commented out code from elm_scroller
SVN revision: 48712
Carsten Haitzler [Sun, 9 May 2010 02:19:14 +0000 (02:19 +0000)]
oooh lookie here. profiel and config can now be properties on root - and will
be re-fectsh when they change etc. etc. etc. :)
SVN revision: 48701
Carsten Haitzler [Fri, 7 May 2010 15:49:06 +0000 (15:49 +0000)]
re-jig elm config stuff to be in its own file and modularise it a little.
will be modified more soon to support x prop.
SVN revision: 48669
Carsten Haitzler [Fri, 7 May 2010 13:24:29 +0000 (13:24 +0000)]
and do the other instances too.
SVN revision: 48668
Carsten Haitzler [Fri, 7 May 2010 13:21:45 +0000 (13:21 +0000)]
scroller in scroller.... works! well with scrollers for now (elm_scroller).
need to fix up some other instances of use of elm_smart_scroller. it's a 1
liner.
SVN revision: 48667
Massimo Maiurana [Wed, 5 May 2010 18:10:01 +0000 (18:10 +0000)]
updating french and italian translations
SVN revision: 48631
Iván Briano [Mon, 3 May 2010 18:29:02 +0000 (18:29 +0000)]
Signal de edje on focus changes. Can be used to show/hide the spinner buttons based on it.
SVN revision: 48585
Carsten Haitzler [Sun, 2 May 2010 01:44:38 +0000 (01:44 +0000)]
sorry.. elm_widget is internal. dont document it. not to be known outside of
elm. :)
SVN revision: 48535
Tiago Rezende Campos Falcao [Thu, 29 Apr 2010 20:26:41 +0000 (20:26 +0000)]
dont return if choice didnt match
SVN revision: 48436
Tiago Rezende Campos Falcao [Thu, 29 Apr 2010 20:26:38 +0000 (20:26 +0000)]
Update some widgets for type compare with CHOICE type. By Masaki
Author: Thiago Ribeiro Masaki <masaki at profusion.mobi>
SVN revision: 48435
Iván Briano [Wed, 28 Apr 2010 23:14:04 +0000 (23:14 +0000)]
more friendliness with the lispers, and also shuts up valgrind a bit about leaks
SVN revision: 48410
Carsten Haitzler [Wed, 28 Apr 2010 06:13:06 +0000 (06:13 +0000)]
support items in anchorblock/view too.
SVN revision: 48384
Carsten Haitzler [Wed, 28 Apr 2010 02:10:12 +0000 (02:10 +0000)]
ooh add some attribution for emotiocns too.
SVN revision: 48373
Carsten Haitzler [Tue, 27 Apr 2010 08:12:59 +0000 (08:12 +0000)]
some docs on items.
SVN revision: 48357
Carsten Haitzler [Tue, 27 Apr 2010 08:06:42 +0000 (08:06 +0000)]
emoticons!!!! woot woot!
SVN revision: 48356
Michael Blumenkrantz [Tue, 27 Apr 2010 05:43:54 +0000 (05:43 +0000)]
From: Michael Blumenkrantz <mike@zentific.com>
elm.diff is a patch which implements a number of convenience functions
for various widgets, as well as some new features for toolbar and panel.
With the panel widget, I've written a number of calls related to
toolbar items and the selected item in particular, allowing
manipulation of the selection and toolbar items more easily. These
functions are as follows:
+elm_toolbar_item_get_all() returns a Eina_List* of all the toolbar
items
+elm_toolbar_item_get_first() returns the first toolbar item
+elm_toolbar_item_get_last() returns the last toolbar item
+elm_toolbar_item_get_next() returns the item after the
currently selected item
+elm_toolbar_item_select_next() moves the selection to the next valid
item
+elm_toolbar_item_select_first() selects the first valid item
+elm_toolbar_item_select_last() selects the last valid item
+elm_toolbar_item_find_by_label() returns the first Elm_Toolbar_Item
matching "label"
The new panel functions I have written allow for control of the panel's
state from code, and are as follows:
+elm_panel_hidden_set() sets the panel's toggle state to a bool value
and runs the animation
+elm_panel_hidden_get() returns whether the panel is hidden
+elm_panel_toggle() toggles the panel to its other state
The remainder of the functions are just general wd->data returns which
were missing, the functionality of which may be of use to people.
SVN revision: 48355
Iván Briano [Mon, 26 Apr 2010 16:51:03 +0000 (16:51 +0000)]
Let the grid be shrunk when resizing. By Rafael Fonseca.
SVN revision: 48333
Carsten Haitzler [Mon, 26 Apr 2010 14:59:01 +0000 (14:59 +0000)]
use the new item stuff! :):) it works.... wow!
SVN revision: 48330
titan [Mon, 26 Apr 2010 02:34:07 +0000 (02:34 +0000)]
Add the ability to set the way the grid contents are aligned in the
scroller... Set x and y values ranging from 0.0 to 1.0. Default is 0.5
0.5.
SVN revision: 48326
Carsten Haitzler [Sun, 25 Apr 2010 13:13:28 +0000 (13:13 +0000)]
test all combos.
SVN revision: 48310
Carsten Haitzler [Sun, 25 Apr 2010 13:07:48 +0000 (13:07 +0000)]
a test for items... getting there.
SVN revision: 48308
Iván Briano [Fri, 23 Apr 2010 18:04:24 +0000 (18:04 +0000)]
Allow setting group for radios
SVN revision: 48255
Rui Seabra [Wed, 21 Apr 2010 20:55:23 +0000 (20:55 +0000)]
Apply the same fix MEJ did ( marc.info/?l=enlightenment-svn&m=
127157420508183&w=3 ) to more specs
SVN revision: 48213
Vincent Torri [Wed, 21 Apr 2010 07:46:03 +0000 (07:46 +0000)]
* remove shadow declarations
* missing initializer in Evas_Smart_Class (the data field was missing)
SVN revision: 48197
Vincent Torri [Wed, 21 Apr 2010 07:38:25 +0000 (07:38 +0000)]
remove unused parameters
SVN revision: 48196
Iván Briano [Tue, 20 Apr 2010 20:03:05 +0000 (20:03 +0000)]
Set evas focus for some objects when focused. More will come later.
SVN revision: 48179
Iván Briano [Mon, 19 Apr 2010 13:32:37 +0000 (13:32 +0000)]
Reverting formating patch, broke everything and I'm not dissecting it to fix it properly.
SVN revision: 48131
toma [Mon, 19 Apr 2010 01:56:41 +0000 (01:56 +0000)]
Elementary theme format. Using the same technique as listed in the top of the E17 theme. I think it looks better, comments are welcome and I can redo it if need be. With the process written down its pretty easy to revert back and do it again with different settings. Sorry about the masssssive commit...
SVN revision: 48115
Gustavo Sverzut Barbieri [Sun, 18 Apr 2010 00:31:07 +0000 (00:31 +0000)]
Add special values to spinner.
Special value is a string showed instead a numerical one.
By: Rafael Fonseca <rfonseca@profusion.mobi>
SVN revision: 48090
Gustavo Sverzut Barbieri [Sat, 17 Apr 2010 20:21:59 +0000 (20:21 +0000)]
Add elm_scrolled_grid object.
A genlist like grid widget: just the visible objects are actually built.
By: Rafael Fonseca <rfonseca@profusion.mobi>
SVN revision: 48086
Carsten Haitzler [Sat, 17 Apr 2010 14:20:06 +0000 (14:20 +0000)]
test++
SVN revision: 48073
Gustavo Lima Chaves [Thu, 15 Apr 2010 18:00:31 +0000 (18:00 +0000)]
Fixing some compiler warnings on filesector widgets.
SVN revision: 48024
Carsten Haitzler [Mon, 12 Apr 2010 08:27:10 +0000 (08:27 +0000)]
support flush and dump protocol - also add call to do this by requuest from
the app itself.
SVN revision: 47949
Boris Faure [Mon, 12 Apr 2010 08:12:02 +0000 (08:12 +0000)]
elm: add lots of doc! Thanks to Mike (zmike/discomfitor)
SVN revision: 47944
Gustavo Lima Chaves [Fri, 9 Apr 2010 17:52:55 +0000 (17:52 +0000)]
Fix race condition on item selection for file selectors.
Also, fixing bug at file selector button (last selection saving).
SVN revision: 47881
Iván Briano [Thu, 8 Apr 2010 20:53:01 +0000 (20:53 +0000)]
Expose elm_list as external
Patch by Thiago Masaki
SVN revision: 47847
Gustavo Lima Chaves [Thu, 8 Apr 2010 20:36:37 +0000 (20:36 +0000)]
Welcome a new Elementary widget: file selector button.
This is an elm button extended to launch a file selector on click and to callback_call registered funcs
when selection is completed.
Many uses may arise from it, but as a fresh 1st example here comes the first (primitive, but cool) video
player in edje:
externals {
external: "emotion";
external: "elm";
}
collections {
group { name: "main";
parts {
part { name: "video";
type: EXTERNAL;
source: "emotion";
description { state: "default" 0;
rel1 {
offset: 10 10;
}
rel2 {
offset: -11 -61;
}
params {
choice: "engine" "gstreamer";
}
}
}
part { name: "play";
type: RECT;
description { state: "default" 0;
color: 0 255 0 128;
rel1 {
relative: 0 1;
offset: 10 -51;
}
rel2 {
relative: 0.3 1;
offset: -6 -11;
}
}
}
part { name: "pause";
type: RECT;
description { state: "default" 0;
color: 255 0 0 128;
rel1 {
relative: 0.3 1;
offset: 5 -51;
}
rel2 {
relative: 0.6 1;
offset: -6 -11;
}
}
}
part { name: "file_sel_btn";
type: EXTERNAL;
source: "elm/fileselector_button";
description { state: "default" 0;
rel1 {
relative: 0.6 1;
offset: 5 -51;
}
rel2 {
offset: -11 -11;
}
params {
string: "label" "open file";
string: "icon" "file";
}
}
}
programs {
program {
signal: "mouse,clicked,1";
source: "play";
after: "do_play";
}
program {
name: "do_play";
action: PARAM_SET "video" "play" "1";
}
program {
signal: "mouse,clicked,1";
source: "pause";
action: PARAM_SET "video" "play" "0";
}
program {
signal: "file,chosen";
source: "file_sel_btn";
action: PARAM_COPY "file_sel_btn" "path" "video" "file";
after: "do_play";
}
}
}
}
}
Enjoy. I've seen bugs on the fileselector itself wrt to list selection logic.
I'll dig into then soon.
SVN revision: 47846
Iván Briano [Thu, 8 Apr 2010 20:16:21 +0000 (20:16 +0000)]
Assorted fixes to slideshow in lib and externals
Patch by Thiago Masaki
SVN revision: 47845
Iván Briano [Thu, 8 Apr 2010 15:15:22 +0000 (15:15 +0000)]
Fix issues with button autorepeat
Patch by Brian Wang
SVN revision: 47836
Tiago Rezende Campos Falcao [Wed, 7 Apr 2010 21:30:54 +0000 (21:30 +0000)]
Fix some bugs in Genlist/Photocam. By Fidencio
Author: Fabiano Fidêncio <fidencio at profusion.mobi>
SVN revision: 47823
Gustavo Lima Chaves [Wed, 7 Apr 2010 19:37:31 +0000 (19:37 +0000)]
Fixes, fixes...
SVN revision: 47821
Gustavo Lima Chaves [Wed, 7 Apr 2010 17:28:15 +0000 (17:28 +0000)]
One more.
SVN revision: 47818
Gustavo Lima Chaves [Wed, 7 Apr 2010 17:27:58 +0000 (17:27 +0000)]
Note to self: never commit in a hurry.
SVN revision: 47817
Gustavo Lima Chaves [Wed, 7 Apr 2010 17:24:48 +0000 (17:24 +0000)]
Again, and that's all.
SVN revision: 47816
Gustavo Lima Chaves [Wed, 7 Apr 2010 17:24:26 +0000 (17:24 +0000)]
Nasty one, sorry.
SVN revision: 47815
Boris Faure [Wed, 7 Apr 2010 07:37:49 +0000 (07:37 +0000)]
add doc, thanks to Mike Blumenkrantz (zmike)
SVN revision: 47801
Carsten Haitzler [Wed, 7 Apr 2010 01:31:36 +0000 (01:31 +0000)]
patch from disco-man! :)
SVN revision: 47799
Tiago Rezende Campos Falcao [Tue, 6 Apr 2010 14:01:08 +0000 (14:01 +0000)]
Some fixes in external Photocam. By Fidencio
Author: Fabiano Fidêncio <fidencio at profusion.mobi>
SVN revision: 47785
Tiago Rezende Campos Falcao [Tue, 6 Apr 2010 14:01:04 +0000 (14:01 +0000)]
Added get functions in elm_genlist and added external Genlist support. By Fidencio
Author: Fabiano Fidêncio <fidencio at profusion.mobi>
SVN revision: 47784
Gustavo Lima Chaves [Mon, 5 Apr 2010 20:23:30 +0000 (20:23 +0000)]
Elm slideshow as edje external, by Masaki.
SVN revision: 47780
Gustavo Lima Chaves [Mon, 5 Apr 2010 19:38:59 +0000 (19:38 +0000)]
1st use of description field for callback signals.
SVN revision: 47779
Gustavo Lima Chaves [Mon, 5 Apr 2010 19:21:22 +0000 (19:21 +0000)]
Signal description infra for map.
SVN revision: 47778
Gustavo Lima Chaves [Mon, 5 Apr 2010 19:20:48 +0000 (19:20 +0000)]
Fix signal description infra for anchorblock.
SVN revision: 47777
Gustavo Lima Chaves [Mon, 5 Apr 2010 19:20:06 +0000 (19:20 +0000)]
Fix signal description infra for anchorview.
SVN revision: 47776
Gustavo Lima Chaves [Mon, 5 Apr 2010 19:19:16 +0000 (19:19 +0000)]
Signal description infra for file thumb.
SVN revision: 47775
Gustavo Lima Chaves [Mon, 5 Apr 2010 19:18:36 +0000 (19:18 +0000)]
Signal description infra for file selector.
SVN revision: 47774
Carsten Haitzler [Mon, 5 Apr 2010 04:58:43 +0000 (04:58 +0000)]
1. if window is transient for another.. if parent del - nuke reference to it
in transient.
2. addd flush button in genlist test - for exposing memory issues.
SVN revision: 47757
Gustavo Lima Chaves [Thu, 1 Apr 2010 17:34:49 +0000 (17:34 +0000)]
Elm_map exported as edje external.
SVN revision: 47654
Tiago Rezende Campos Falcao [Thu, 1 Apr 2010 17:08:14 +0000 (17:08 +0000)]
Toolbar external dont have icon
SVN revision: 47653
Gustavo Sverzut Barbieri [Thu, 1 Apr 2010 16:04:52 +0000 (16:04 +0000)]
fix stupid error and delete icon.
SVN revision: 47652
Tiago Rezende Campos Falcao [Thu, 1 Apr 2010 14:22:45 +0000 (14:22 +0000)]
External Photocam. By Fidencio
Author: Fabiano Fidêncio <fidencio at profusion.mobi>
SVN revision: 47649
Tiago Rezende Campos Falcao [Thu, 1 Apr 2010 14:22:41 +0000 (14:22 +0000)]
Just some fixes to show changes like horizontal and inverted in editje.By Fidencio
Author: Fabiano Fidêncio <fidencio at profusion.mobi>
SVN revision: 47648
Tiago Rezende Campos Falcao [Thu, 1 Apr 2010 14:22:36 +0000 (14:22 +0000)]
Added get functions in elm progressbar and added elm progressbar support in edje externals.By Fidencio
Author: Fabiano Fidêncio <fidencio at profusion.mobi>
SVN revision: 47647
Tiago Rezende Campos Falcao [Thu, 1 Apr 2010 14:22:32 +0000 (14:22 +0000)]
Added get functions in elm spinner and added elm spinner in edje externals.By Fidencio
Author: Fabiano Fidêncio <fidencio at profusion.mobi>
SVN revision: 47646