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
Tiago Rezende Campos Falcao [Thu, 1 Apr 2010 14:22:26 +0000 (14:22 +0000)]
Added get functions in elm clock and added elm clock support in edje externals. By Fidencio
Author: Fabiano Fidêncio <fidencio at profusion.mobi>
SVN revision: 47645
Tiago Rezende Campos Falcao [Thu, 1 Apr 2010 14:22:21 +0000 (14:22 +0000)]
Free params in Toolbar external
SVN revision: 47644
Gustavo Lima Chaves [Wed, 31 Mar 2010 20:19:55 +0000 (20:19 +0000)]
Elm_fileselector as edje external.
SVN revision: 47634
Gustavo Lima Chaves [Wed, 31 Mar 2010 19:14:32 +0000 (19:14 +0000)]
Oops.
SVN revision: 47633
Gustavo Lima Chaves [Wed, 31 Mar 2010 19:08:51 +0000 (19:08 +0000)]
Elm_thumb as an edje external.
There's a bug while adding it at Editje: it will draw itself over the part moving knob.
Fixing it later.
SVN revision: 47632
Cedric BAIL [Wed, 31 Mar 2010 16:38:37 +0000 (16:38 +0000)]
* elementary: Add elm_toolbar_item_selected_get and some const.
Patch by Mike Blumenkrantz (zmike) <mike@zentific.com>.
SVN revision: 47629
Tiago Rezende Campos Falcao [Wed, 31 Mar 2010 12:38:58 +0000 (12:38 +0000)]
Don't forget to shutdown ethumb. By Fonseca
Author: Rafael Fonseca <rfonseca at profusion.mobi>
SVN revision: 47624
Gustavo Sverzut Barbieri [Wed, 31 Mar 2010 12:06:12 +0000 (12:06 +0000)]
shutdown all resources.
SVN revision: 47623
Tiago Rezende Campos Falcao [Tue, 30 Mar 2010 20:42:01 +0000 (20:42 +0000)]
Toolbar External
SVN revision: 47608
Tiago Rezende Campos Falcao [Tue, 30 Mar 2010 20:41:56 +0000 (20:41 +0000)]
Hoversel External
SVN revision: 47607
Gustavo Lima Chaves [Tue, 30 Mar 2010 18:38:02 +0000 (18:38 +0000)]
Elm anchorblock edje external support. Same progress as anchorview's.
SVN revision: 47606
Gustavo Lima Chaves [Tue, 30 Mar 2010 17:21:47 +0000 (17:21 +0000)]
Anchorview exported to edje.
Just text exported, for now.
TODO: make editje pass *unescaped* text down to this property.
SVN revision: 47604
Cedric BAIL [Tue, 30 Mar 2010 11:17:17 +0000 (11:17 +0000)]
* elementary: fix segv due to double free. But more is needed to fix
efreet usage by elm icon test.
SVN revision: 47589
Carsten Haitzler [Tue, 30 Mar 2010 05:42:56 +0000 (05:42 +0000)]
avoid adding timer to item that is not realized...
SVN revision: 47582
Iván Briano [Tue, 30 Mar 2010 05:26:14 +0000 (05:26 +0000)]
Also kill timer on genlist_clear
SVN revision: 47580
Carsten Haitzler [Tue, 30 Mar 2010 05:22:34 +0000 (05:22 +0000)]
eek 2 longtimer dels.. move to end anyway.
SVN revision: 47579
Carsten Haitzler [Tue, 30 Mar 2010 05:19:00 +0000 (05:19 +0000)]
long timer del - on item del. why didnt this happen before?
SVN revision: 47578
Iván Briano [Tue, 30 Mar 2010 05:03:57 +0000 (05:03 +0000)]
Delete long press timer on item deletion
SVN revision: 47576
Gustavo Lima Chaves [Mon, 29 Mar 2010 20:53:00 +0000 (20:53 +0000)]
Elm notepad on edje_externals.
Still lacking properties exported, will come with more powerful param. types, further.
SVN revision: 47569
Gustavo Lima Chaves [Mon, 29 Mar 2010 17:19:35 +0000 (17:19 +0000)]
New elm widget exported to edje: bubble.
SVN revision: 47559
Carsten Haitzler [Mon, 29 Mar 2010 02:27:26 +0000 (02:27 +0000)]
avoid norender when doing initial queued block - it's limited to 1 block
anyway.
SVN revision: 47550
Carsten Haitzler [Sun, 28 Mar 2010 01:44:56 +0000 (01:44 +0000)]
add test case for longpress and selected in genlist.
SVN revision: 47522
Sebastian Dransfeld [Sat, 27 Mar 2010 19:58:21 +0000 (19:58 +0000)]
efreet_util_init gone
SVN revision: 47512
Carsten Haitzler [Sat, 27 Mar 2010 04:17:01 +0000 (04:17 +0000)]
fix unrealizesd dragging item issue.
SVN revision: 47502
Gustavo Sverzut Barbieri [Sat, 27 Mar 2010 01:24:40 +0000 (01:24 +0000)]
call elm_init otherwise applications that still did not will fail.
SVN revision: 47499
Gustavo Sverzut Barbieri [Sat, 27 Mar 2010 01:24:21 +0000 (01:24 +0000)]
allow init to be called multiple times.
SVN revision: 47498
Gustavo Sverzut Barbieri [Sat, 27 Mar 2010 01:19:44 +0000 (01:19 +0000)]
fix _elm_widget_type_check() to return FALSE on failure.
SVN revision: 47497
Gustavo Sverzut Barbieri [Sat, 27 Mar 2010 01:19:05 +0000 (01:19 +0000)]
allow elm_init() being called with NULL argc/argv.
SVN revision: 47496
Gustavo Sverzut Barbieri [Fri, 26 Mar 2010 11:25:55 +0000 (11:25 +0000)]
ops, forgot some signals.
SVN revision: 47489
Gustavo Sverzut Barbieri [Fri, 26 Mar 2010 10:59:56 +0000 (10:59 +0000)]
Describe more widgets callbacks.
These are all that Editje support now :-) Add others later as
required, but patches are welcome!
SVN revision: 47488
Iván Briano [Fri, 26 Mar 2010 06:46:31 +0000 (06:46 +0000)]
Adding focus and unfocused smart callbacks for entry
SVN revision: 47481
Iván Briano [Fri, 26 Mar 2010 05:44:30 +0000 (05:44 +0000)]
Make someone else assume responsibility when Elementary is not the father.
SVN revision: 47479
Sebastian Dransfeld [Fri, 26 Mar 2010 05:34:34 +0000 (05:34 +0000)]
Sync with efreet and some cleanup
SVN revision: 47478
Iván Briano [Fri, 26 Mar 2010 05:20:30 +0000 (05:20 +0000)]
_elm_log_dom is not available outside of libelementary.so and EAPIfying it doesn't sound like a good idea. So let's just have another variable named like it in the externals module so we can reuse the log macros defined in elm_priv.h
SVN revision: 47468
Carsten Haitzler [Fri, 26 Mar 2010 04:45:11 +0000 (04:45 +0000)]
password mode - really dont allow selecting of passwords form password fields.
SVN revision: 47467
Iván Briano [Fri, 26 Mar 2010 03:17:05 +0000 (03:17 +0000)]
NULL pointer after deleting timer to avoid bitching later
Patch by Brian Wang
SVN revision: 47462
Gustavo Sverzut Barbieri [Fri, 26 Mar 2010 00:58:14 +0000 (00:58 +0000)]
Proxy Elementary widget signals to Edje.
Add support to automatic proxy events from Elementary to Edje using
callbacks described with Evas_Smart_Cb_Description and set to
Evas_Smart_Class or per-instance with
evas_object_smart_callbacks_descriptions_set().
Right now elm_widget is not subclassable, so there is no way to define
class signals, just instance signals.
Just doing it for button, lots of widgets to do... If you can help,
please follow the process:
* see example at src/lib/elm_button.c, copy it.
* read your widget documentation at Elementary.h
* grep for evas_object_smart_callback_call(), see if they are all
documented in Elementary.h, or if there are some missing. Fix Elementary.h
* paste and change based on fixed Elementary.h My recommendation is
to create "static const char []" variables and replace all
evas_object_smart_callback_call() with that, to force sync.
With callback descriptions pre-defined and using the same pointer with
a custom variation evas_object_smart_callback_call_ptr() we may later
optimize signal calling heavily, removing the requirement to call
eina_stringshare_add()/eina_stringshare_del() and also not mixing all
the callbacks in teh same list, instead having an array for defined
signals, and a list from there. These optimizations are not in, but
they are easily added later without breaking the API/ABI.
SVN revision: 47461
Gustavo Sverzut Barbieri [Thu, 25 Mar 2010 20:17:34 +0000 (20:17 +0000)]
Simplify state_set and just apply values that were explicitly set.
SVN revision: 47458
Gustavo Sverzut Barbieri [Thu, 25 Mar 2010 18:10:25 +0000 (18:10 +0000)]
Port to new Edje EXTERNAL API goodies!
Now it is possible to change labels and lots of other parameters
directly through Edje's API.
BIG FAT NOTE: this is a convenience that comes with a reasonable
price. If you have hot paths, like loops, then avoid calling this
and use the object directly. This functions add a cost to check
edje, then find the part, then get the type, then get the
param_set/param_get methods, then calling it, then finding the
parameters using strcmp(), then checking the type and just then it
will call the actual method. So whenever possible, just call the
method directly.
Due the reasoning of the "big fat note" I'm adding this inside edje
externals only. The code would be almost the same to expose it in
Elementary.h as elm_widget_property_set/get, but then I know people
would misuse it... actually this kind of stuff could be easily ported
to Evas smart object, but then abuse and slowness will hunt us
foreveeeeer...
SVN revision: 47457
Cedric BAIL [Thu, 25 Mar 2010 17:47:48 +0000 (17:47 +0000)]
* elementary: enable wheel in slider.
SVN revision: 47454
Gustavo Sverzut Barbieri [Thu, 25 Mar 2010 17:27:00 +0000 (17:27 +0000)]
Some missing getters...
I'm working on edje_externals param_get/param_set and they will need
these functions.
SVN revision: 47450
Carsten Haitzler [Thu, 25 Mar 2010 05:13:59 +0000 (05:13 +0000)]
return "" if conv is null anyway (as thats a "" src string)
SVN revision: 47441
Carsten Haitzler [Wed, 24 Mar 2010 10:00:50 +0000 (10:00 +0000)]
when adding items to genlist - if there is no block yet, or a block that is
incomplete - always calc a block worth immediately.
SVN revision: 47416
Carsten Haitzler [Wed, 24 Mar 2010 08:54:59 +0000 (08:54 +0000)]
longpress <- for dan!
SVN revision: 47414
Gustavo Sverzut Barbieri [Wed, 24 Mar 2010 03:06:00 +0000 (03:06 +0000)]
const and -Wextra, come on guys! :-/
SVN revision: 47409
Tiago Rezende Campos Falcao [Tue, 23 Mar 2010 19:48:40 +0000 (19:48 +0000)]
Externals Make Scrolled Entry Editable. By Kubo
Author: Raphael Kubo da Costa <kubo at profusion.mobi>
SVN revision: 47400
Carsten Haitzler [Tue, 23 Mar 2010 04:46:53 +0000 (04:46 +0000)]
(remove useless edje_object_scale_sets's on objects that are not edje objects)
but more importantly - fix list to actually have a specific theme/base for it
SVN revision: 47381
Gustavo Sverzut Barbieri [Tue, 23 Mar 2010 00:06:32 +0000 (00:06 +0000)]
Add a theme hook to elm_scrolled_entry
This patch makes it possible to specify a different style to an
elm_scrolled_entry. Worked fine in ewebkit-demo.
By: Raphael Kubo da Costa <kubo@profusion.mobi>
SVN revision: 47376
Gustavo Sverzut Barbieri [Mon, 22 Mar 2010 21:38:32 +0000 (21:38 +0000)]
Edje EXTERNAL should use as parent the first elm_widget so focus chain
is correct.
This patch should fix issues with multiple entries not being able to
focus, if not, let me know.
SVN revision: 47375
Gustavo Sverzut Barbieri [Mon, 22 Mar 2010 21:36:59 +0000 (21:36 +0000)]
Enable check of Elementary widgets and getting the first widget that
is parent of an Evas_Object.
With these in place, one can check if the given object is an elmentary
widget and query for the first widget that is parent, so we can add
them and keep focus chain correct, useful for Edje externals, patch to
follow.
SVN revision: 47374
Carsten Haitzler [Mon, 22 Mar 2010 05:52:05 +0000 (05:52 +0000)]
test elm_entry_markup_to_utf8
SVN revision: 47363
Vincent Torri [Fri, 19 Mar 2010 18:24:58 +0000 (18:24 +0000)]
support Windows file system
patch by Nicolas Aguirre
SVN revision: 47346
Carsten Haitzler [Wed, 17 Mar 2010 01:08:39 +0000 (01:08 +0000)]
example of how to work around heirachy to go back up the tree - but wont work
for going bck down. i.e. - focus.
SVN revision: 47302
Gustavo Sverzut Barbieri [Tue, 16 Mar 2010 15:43:49 +0000 (15:43 +0000)]
reorganize genlist functions in header to make more sense.
SVN revision: 47294
Gustavo Sverzut Barbieri [Tue, 16 Mar 2010 15:31:38 +0000 (15:31 +0000)]
Typedefs to help bindings, type less and make things easier to identify.
SVN revision: 47292
Carsten Haitzler [Tue, 16 Mar 2010 12:42:24 +0000 (12:42 +0000)]
add new test.
SVN revision: 47289