Commit Graph

1621 Commits

Author SHA1 Message Date
Cedric BAIL 5826c17db1 * edje: fix edje external module path.
SVN revision: 51251
2010-08-17 13:29:23 +00:00
Tom Hacohen e1491acc3f Elementary: Fixed selection and a possible segfault.
1. Selection now works with the buttons in elementary_test.
2. Selection with ctrl+v does not print ERR:elementary elm_widget.c:1373 _elm_widget_type_check() Passing Object: (nil), of type: '(unknown)' when expecting type: 'entry' anymore.

SVN revision: 51216
2010-08-16 14:52:36 +00:00
Carsten Haitzler 5897ae7d63 adapt to 1.0.0 alpha vers.
SVN revision: 51191
2010-08-16 10:16:39 +00:00
Tom Hacohen 444745cf52 Elementary: Translate <ps> back to paragraph separator.
SVN revision: 51175
2010-08-16 09:06:19 +00:00
Carsten Haitzler 605202bf98 namefix.
SVN revision: 51153
2010-08-16 04:44:45 +00:00
Carsten Haitzler 5a9b7bb96a fix copying - it didnt actually even claim copyright. fix.
SVN revision: 51148
2010-08-16 02:40:32 +00:00
Daniel Juyung Seo e42ab9f072 elm_theme doxygen fix
elm_theme_extension_add() uses eina_list_append() not eina_list_prepend().

Patch by: Daniel Juyung Seo <seojuyung2@gmail.com>



SVN revision: 51116
2010-08-14 15:30:35 +00:00
Tom Hacohen c03e82b7d5 Elementary: Fixed theme to have 'ps' again and removed align=left from textblock (see previous commit for details).
SVN revision: 50983
2010-08-11 06:57:07 +00:00
Carsten Haitzler 67b635e782 wonguk -> happy?
SVN revision: 50980
2010-08-10 23:58:57 +00:00
Iván Briano e4ca468612 Reverting 50929. Too many changes that don't belong and broke stuff.
SVN revision: 50979
2010-08-10 23:13:21 +00:00
Tom Hacohen 464db2d47b Elementary: Update textblock theme to *not* hardcode alignment to the left.
This is still the default in the object, but this allows us to auto-align according to natural text direction without breaking functionality.

SVN revision: 50967
2010-08-10 15:41:41 +00:00
Tom Hacohen 6ee7f97638 Elementary: Update theme to have the 'ps' tag used by textblock.
SVN revision: 50929
2010-08-09 15:48:09 +00:00
Christopher Michael 1900ad84b5 Fix up formatting while I am reading this.
SVN revision: 50914
2010-08-08 23:00:09 +00:00
Gustavo Lima Chaves dace4427be Fixing weird behavior at scrolled entries.
SVN revision: 50842
2010-08-05 18:40:33 +00:00
Iván Briano 530a645192 Don't drop selection when dragging from selected item
SVN revision: 50841
2010-08-05 18:17:05 +00:00
Christopher Michael 03ddd89f5a Set boolean to 1.
SVN revision: 50824
2010-08-04 19:20:52 +00:00
Christopher Michael cd55226643 Rename variable to 'autosave'.
When deleting the notepad, check if autosave is set before writting.



SVN revision: 50823
2010-08-04 19:20:02 +00:00
Lucas De Marchi 3fd31b24a0 Finish unscrewing patch-fu
SVN revision: 50820
2010-08-04 19:00:15 +00:00
Lucas De Marchi 54531a69ed FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Christopher Michael 2d524955e2 Fix padding issues w/ 'scroller'.
Fix content showing up in the 'frame' when scrolled.



SVN revision: 50805
2010-08-04 05:12:48 +00:00
Christopher Michael 1e16f33910 Use the E icon theme (if present) for 'icon desktops' test.
NB - Just an example to see if using getenv("E_ICON_THEME") works
correctly.



SVN revision: 50802
2010-08-04 02:18:44 +00:00
Brett Nash f9a721d4d0 More error returns.
Please people, when you add a function look at what it compiles too.

SVN revision: 50801
2010-08-04 02:03:57 +00:00
Brett Nash 4194c83fc0 elm_notify: Return an invalid enumeration on error.
SVN revision: 50800
2010-08-04 02:03:53 +00:00
Brett Nash de54ffcf23 eina_list: Return false on error.
Maybe Eina_Bool needs a 'file not found' error or something.

SVN revision: 50799
2010-08-04 02:03:45 +00:00
Brett Nash 960624f80d Doesn't anyone check their compiler output?
Don't return random stack cruft on NULL pointer.

SVN revision: 50796
2010-08-04 01:46:41 +00:00
Christopher Michael c4ee716181 Add function to turn off autosave.
Add function to call for 'explicit save'
Use PATH_MAX.
Remove some duplicated code in 'load' function.
Update some doxy.



SVN revision: 50794
2010-08-04 01:09:08 +00:00
Christopher Michael 46871c3405 Fix scroller theme so that horiz & vert 'trough' bars do not run
outside the object (previously the 'runners' could be seen a few
pixels outside the object).



SVN revision: 50793
2010-08-04 00:27:48 +00:00
Iván Briano c48e0e98fa Invalid write, go away, that 'si' thing is freed already.
SVN revision: 50770
2010-08-03 16:46:59 +00:00
Jonathan Atton 76a2b5f2cb Elementary:
- we can get the content of a external object
- a signal can be send to the content of a external object

SVN revision: 50731
2010-08-01 17:29:20 +00:00
Carsten Haitzler 20490e70d8 handle clear being called from genlist item callback (eg selected)
SVN revision: 50590
2010-07-28 08:35:34 +00:00
Mike Blumenkrantz c9182a400c wrong data type
SVN revision: 50580
2010-07-28 03:30:39 +00:00
Mike Blumenkrantz 7a15d7458e no return value
SVN revision: 50579
2010-07-28 03:29:48 +00:00
Davide Andreoli c815aff152 From: Dave Andreoli <dave@gurumeditation.it>
Subject: [E-devel] New elm pager "slide" and "slide_invisible" styles

Hi everyone,
I have done 2 new style for the pager widget:

"slide" and "slide_invisible"

They work different from the other styles: new (pushed) pages
comes from right and the old go out left, while popped pages
goes out from right. It works like the enna browser, or like all the
"browser lists" on iphone.

The patch include the 2 new styles, a new elementary_test
page called "Pager Slide", a little code for elm_pager.c  that was
needed
for the new style to work and simple update for the other existing
styles.

The patch is located at:
http://pastebin.com/jSbg0wb9

I can commit this myself, just give me the go ;)



SVN revision: 50559
2010-07-27 23:43:12 +00:00
Daniele Ricci d6e7a21e30 From: Daniele Ricci <daniele.athome@gmail.com>
Subject: [E-devel] [PATCH] Genlist longpress timeout

Hello,
I've made a patch that makes the genlist capable of configuring the
timeout for the longpress event.

The patch compiles but I haven't tested it yet. However it's very
simple, it should work out of the box.
Patch is the output of "svn diff" from revision 49809.



SVN revision: 50558
2010-07-27 23:36:27 +00:00
Jonathan Atton 8050ddfe99 elementary: add elm_panes in edje external
SVN revision: 50520
2010-07-26 20:33:33 +00:00
Nicolas Aguirre 16dd75499b Enable transition between previous item and the current when elm_slideshow_show is called.
SVN revision: 50431
2010-07-22 16:13:40 +00:00
Massimo Maiurana e8c7c67f7b updating french and italian translations
SVN revision: 50428
2010-07-22 11:50:07 +00:00
Carsten Haitzler 35be1859a0 fix possible null ptr deref
SVN revision: 50422
2010-07-21 23:33:35 +00:00
Bruno Dilly e7bd53447a "Ooops, forgot about edje_external in the previous patch. Can someone apply this for me? Thanks."
By Rafael Fonseca <rfonseca@profusion.mobi>


SVN revision: 50393
2010-07-20 21:51:08 +00:00
Bruno Dilly 7808d77502 Add setters and getters to interval for elm spinner and clock
SVN revision: 50392
2010-07-20 21:38:17 +00:00
Jonathan Atton d3ca0b2466 els_icon : hide the object while the image is preloading
SVN revision: 50390
2010-07-20 19:33:40 +00:00
Luis Felipe Strano Moraes ffe42daedb Better variable naming for elm_thumb.
By: Rafael "15 years experience" Fonseca <rfonseca@profusion.mobi>



SVN revision: 50389
2010-07-20 18:42:59 +00:00
Luis Felipe Strano Moraes eb03502762 After Sachiel's changes about making the edje_object a sub_object of
elm_thumb widget, all the stuff about alignement and crop are not
used anymore.

By: Rafael "15 years experience" Fonseca <rfonseca@profusion.mobi>



SVN revision: 50388
2010-07-20 18:42:21 +00:00
Luis Felipe Strano Moraes f0e322d506 Set size min hint to elm_thumb.
By: Rafael "15 years" Fonseca <rfonseca@profusion.mobi>



SVN revision: 50387
2010-07-20 18:41:04 +00:00
Jonathan Atton 17288ba690 elm_slideshow:
* remove printf
* no more realize the current item in item_add(). The last item is always and it is the previous item of the first item, consequently a new item was built each time a item vas added :/

SVN revision: 50386
2010-07-20 18:30:22 +00:00
Jonathan Atton c2ad5fd00c elm_slideshow: pre-calcul the next and the previous items, very usefull if the object is big (like a photo)
SVN revision: 50385
2010-07-20 18:26:22 +00:00
Jonathan Atton cefe73d5dc els_icon: preload the image
SVN revision: 50384
2010-07-20 18:04:37 +00:00
Jonathan Atton a9538e68d0 elm_slideshow: use itc-del to delete the data and not the object.
SVN revision: 50383
2010-07-20 16:36:31 +00:00
Davide Andreoli 935260049c small fix in doc
SVN revision: 50322
2010-07-18 11:56:56 +00:00
Jonathan Atton 56079f7819 elm_hover/hoversel: set a default parent in the constructor. With the edje external type we can not set a parent currently but with this patch we can use theses widgets in specifics conditions (the parent will be the edje group)
SVN revision: 50303
2010-07-17 08:54:51 +00:00
Jonathan Atton 7a8c3ce129 External elm_slideshow: add "string: layout"
SVN revision: 50302
2010-07-17 08:18:04 +00:00
Davide Andreoli 9dc25a32d2 whops, commit also Elementary.h.in I always forbot about it :(
and add the cube also to test2

SVN revision: 50289
2010-07-16 20:47:21 +00:00
Mike Blumenkrantz 3b66bd0ff9 things that are important: not trying to pass off a format string as a buffer size in snprintf :)
SVN revision: 50288
2010-07-16 20:39:17 +00:00
Davide Andreoli 5005200d84 Flip widget: add 2 new flip style:
ELM_FLIP_CUBE_RIGHT, ELM_FLIP_CUBE_LEFT

As you can imagine the new animations make the flip as a rotating cube,
the 2 contents are on 2 different faces.


SVN revision: 50287
2010-07-16 20:30:11 +00:00
Carsten Haitzler 64b374c77f finger waggles! this is to make sure developers actually read docs!
SVN revision: 50277
2010-07-16 06:38:59 +00:00
Carsten Haitzler 99f9670d3f fix formatting, docs and warnings. and bug.
SVN revision: 50276
2010-07-16 06:21:25 +00:00
장효영 b32cbb2a3a From: 장효영 <hyoyoung.chang@samsung.com>
I've added elm_label features. That are fontsize, color, background color and
ellipsis (cutting text to fit widget size) features. Most of the property
setting API is wrapping to label tag set.

The rllipsis feature checks part size and cuts character to fit its size.



SVN revision: 50275
2010-07-16 05:50:45 +00:00
Gustavo Sverzut Barbieri c9e3c7dfbc allow group's min to limit the calculated size.
PS: probably other widgets that use swallow should have this, so
objects that have minimum size of 0x0 (like list/genlist) can be
forced to some size using group.min.



SVN revision: 50274
2010-07-15 23:14:55 +00:00
Christopher Michael d3656fc2b3 Clear gengrid Before deleting the pan object. (also, clear function
already deletes the calc job).



SVN revision: 50273
2010-07-15 22:34:55 +00:00
Jonathan Atton 9793de8b33 Elm_Slideshow: Fix the edje, I hope this time it is correct
Elm_Notify: set orient = -1, else the default orientation (0) will be not set because the orient does not change (see the test in elm_notify_orient_set())

SVN revision: 50270
2010-07-15 17:41:19 +00:00
Jonathan Atton 2ad9cb0ad5 Elm_Slideshow : rollback, remove the possibility to have more than 1 item display at the same time. We need a specific widget to do this with specifics animations.
SVN revision: 50269
2010-07-15 17:09:59 +00:00
Gustavo Sverzut Barbieri 9d7be6a1f4 fix hide/del bug if thumb generation was pending, reuse objects if possible.
As spotted by Brian, we were not cancelling the thumbnail generation
on hide/delete, when the generation finished garbage would be used and
we'd segv. This commit fixes this, also removing the useless
is_generating, as it can be interpreted from wd->id (-1 is not
generating).

As an optimization, we now just delete the view object if it changed
between image and edje (video), otherwise we reuse it.




SVN revision: 50268
2010-07-15 14:29:17 +00:00
Jonathan Atton 974c982095 Elm_Slideshow: Delete correct objects at the correct time. The expose layout bug in specifics condition.
SVN revision: 50263
2010-07-15 09:30:52 +00:00
Gustavo Sverzut Barbieri 6762573b97 Fix elm_thumb smart callback calling
Currently, elm_thumb is passing the wrong pointer to the
smart_callback_call function, so the callbacks are not being
called. The attached patch fix that.

By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 50258
2010-07-14 21:29:10 +00:00
Gustavo Sverzut Barbieri 7f8627f801 fix widgets that were forcing style to be "default".
SVN revision: 50257
2010-07-14 21:14:52 +00:00
Jonathan Atton 3eaecdafbd Elm_Slideshow:
- Add a new layout : expose
- Add a way to display more than 1 slide at a time, the number of slides displayed is defined in the layout

SVN revision: 50256
2010-07-14 21:12:58 +00:00
Gustavo Lima Chaves 6005cc95e7 Elm notify theme apply.
Patch by k-s.



SVN revision: 50252
2010-07-14 19:04:22 +00:00
Jonathan Atton a05015145d Elm_Photo:
- Add a way to display a photo by keeping the ratio AND the theme can display something around the photo (border ...). The way I use is maybe a bit crappy (embryo, offset ...) but I do not know a better way.
 - Add a new style (with a shadow). The default style has no changes
 If you do not like my way, revert the commit and commit your way :)
 
Elm_Slideshow:
 - Use elm_photo in the test
 - Add a black background

SVN revision: 50248
2010-07-14 14:48:21 +00:00
Jonathan Atton b8e248f29c Add a list of "layout" to elm_slideshow. A layout is like a "sub-style". For example the content can take all the slideshow widget (~fullscreen) or not. I do not have finish to work on it.
SVN revision: 50247
2010-07-14 09:07:43 +00:00
Lucas De Marchi e87ed1007b Remove unneeded code with notnull.cocci script
This continues previous commit with more complex places, where it required
more than just removing some "ifs".



SVN revision: 50242
2010-07-14 02:20:30 +00:00
Lucas De Marchi 6325ab86a3 Remove unneeded code with notnull.cocci script
The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:

if (!var) return;
if (var && var->fld) { ... }

It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.


SVN revision: 50241
2010-07-14 02:05:47 +00:00
Bruno Dilly 4c02246e5d Use widget style instead of default on elm index items
SVN revision: 50236
2010-07-13 21:33:12 +00:00
Lucas De Marchi 821160957f ops, copy & past fail
I meant clock_val_down_exit_on_error.



SVN revision: 50211
2010-07-13 02:10:00 +00:00
Lucas De Marchi 51429ba1ec Fix dereference of null pointer
Bug found by Coccinelle with 'isnull.cocci' script (Dereference of an
expression that has been checked to be NULL) [1].

[1] http://www.emn.fr/x-info/coccinelle/rules/isnull.html



SVN revision: 50210
2010-07-13 02:01:52 +00:00
Rafael Fonseca e2c8e29aa8 From: Rafael Fonseca <rfonseca@profusion.mobi>
Subject: [E-devel] [PATCH] [Elementary] Fix flickering issue on
elm_slideshow

Hey guys,

the attached patch solves the issue of the previous image flickering 
after the transition is over on elm_slideshow.



SVN revision: 50190
2010-07-12 01:15:52 +00:00
Carsten Haitzler bae2ede1aa actually ONLy need 1 -I
SVN revision: 50182
2010-07-11 23:39:54 +00:00
Carsten Haitzler 0fec718cb1 also conform to the includes in name-vmaj dir policy
SVN revision: 50181
2010-07-11 23:34:49 +00:00
Jonathan Atton 24f5b1831b Add the elm notify external object
SVN revision: 50180
2010-07-11 21:19:27 +00:00
Lucas De Marchi 5fa0945d28 Constify parameters of elm_widget_drag_*_get functions
Change "Evas_Object*" to "const Evas_Object*" in:
 * elm_widget_drag_lock_x_get()
 * elm_widget_drag_lock_y_get()
 * elm_widget_drag_child_locked_x_get()
 * elm_widget_drag_child_locked_y_get()

By: Fabiano Fidencio <fidencio@profusion.mobi>



SVN revision: 50177
2010-07-10 22:05:37 +00:00
Carsten Haitzler e3679621e0 barf. build. didnt use ethubm cflags. bad!
SVN revision: 50171
2010-07-10 02:31:58 +00:00
Carsten Haitzler ed968a9b0f err should be ethumb_client - not ethumb.
SVN revision: 50170
2010-07-10 02:28:01 +00:00
Gustavo Sverzut Barbieri 340b0b6f5e Fix gengrid usage of item class style.
By: Leandro "acidx" Pereira <leandro@profusion.mobi>



SVN revision: 50136
2010-07-08 23:17:12 +00:00
Bruno Dilly 5e928b9366 Add possibility to get all the items in Gengrid
By Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 50087
2010-07-06 21:14:38 +00:00
Christopher Michael 12e6621218 Fix warning related to Ecore Api changes.
Fix some formatting.



SVN revision: 50085
2010-07-06 20:16:25 +00:00
titan 25ef450968 Patch to fix gengrid item positioning. From Rafael Fonseca.
SVN revision: 50053
2010-07-06 01:23:54 +00:00
ChunEon Park c2758ed8c9 From: ChunEon Park <chuneon.park@samsung.com>
Subject: elm_animator

an animator wrapper - can be attached to an object (and be deleted if
object is deleted) and otherwise call a callback with a 0.0->1.0 value
where along the path you should be etc. etc. - ie handle higher level
animation runs.



SVN revision: 50039
2010-07-04 23:41:48 +00:00
Gustavo Sverzut Barbieri a6be0ef49c Oops, add missing .h and minor issues.
* add const to getter
 * enforce bool is 0/1
 * remove trailing whitespace



SVN revision: 49982
2010-07-01 23:53:17 +00:00
Gustavo Sverzut Barbieri 3a91ec26fb Elm_List separator support.
By: Leandro "acidx" Pereira <leandro@profusion.mobi>


SVN revision: 49981
2010-07-01 23:48:10 +00:00
Carsten Haitzler 85b65fedf4 expose drag lock (x and y axis).
SVN revision: 49963
2010-07-01 06:59:30 +00:00
Carsten Haitzler 4ee4e9ed5e somone copy & pasted junk into doc comments. bad! fix.
SVN revision: 49962
2010-07-01 06:51:18 +00:00
Brett Nash dee3f41698 TUrn off debug.
SVN revision: 49956
2010-07-01 01:18:32 +00:00
Jonathan Atton 5e1f84da2f elm_map: Add a hidden object to separate maps objects and marker objects. This way markers are always on top of the map.
SVN revision: 49952
2010-06-30 19:26:53 +00:00
Jonathan Atton 03054b1570 Change the map item design
SVN revision: 49950
2010-06-30 17:36:31 +00:00
Brett Nash 64c8e4650d Improvements to cut and paste.
SVN revision: 49947
2010-06-30 13:20:58 +00:00
Bruno Dilly d350f3a293 Change elm functions elm_object_signal_listen to elm_object_signal_callback_add
and elm_object_signal_unlisten to elm_object_signal_callback_del


SVN revision: 49926
2010-06-28 15:32:20 +00:00
Carsten Haitzler a5b8fe1d49 and final post snap - next releasename
SVN revision: 49903
2010-06-27 14:06:10 +00:00
Carsten Haitzler ac0c49e591 snap+release
SVN revision: 49899
2010-06-27 13:45:27 +00:00
Carsten Haitzler 354899f7a2 Snapshot TMP/st/elementary
SVN revision: 49898
2010-06-27 13:33:31 +00:00
Bruno Dilly 6f093b37f5 Set hooks for elm object signal listen and unlisten for elm spinner
SVN revision: 49870
2010-06-25 22:40:42 +00:00
Bruno Dilly 5a2f2ccc72 Set hooks for elm object signal emit, listen and unlisten on elm clock
SVN revision: 49869
2010-06-25 22:40:11 +00:00
Bruno Dilly 8d644e43ed Implement elm_object_signal_listen and unlisten
elm_object_signal_listen add callback(s) for edje object(s) of the widget.
elm_object_signal_unlisten delete this callback.
They're general functions, and every widget should set hooks for these.

It will improve elm extension flexibility. We have already
elm_object_signal_emit to send signals for the widgets theme, adding callbacks
is an expected step.

It provides a way to support sound on widgets. For example, in the elm extension
we could emit "file_to_play", "play", and add a callback with
elm_object_signal_listen for "*", "play". The callback function could use
the signal received to request the file to be played by the backend
sound system.

Certainly we should look for a better way to provide support for sound
on edje, but for now, it does the work. And anyway, it's only a use case
for these new functions.



SVN revision: 49868
2010-06-25 22:38:32 +00:00
Bruno Dilly d7f29ebf7c fix for Ecore API changes on test_genlist
SVN revision: 49867
2010-06-25 22:28:06 +00:00
Vincent Torri c1d92416d8 next try to make it compile on Windows
SVN revision: 49865
2010-06-25 12:14:34 +00:00
Vincent Torri 7f0c910ebf elm_cnp_helper.c is for X11 stuff only
SVN revision: 49864
2010-06-25 11:56:02 +00:00
Cedric BAIL bdf6efa129 * elementary: fix Ecore API changes.
SVN revision: 49860
2010-06-25 09:58:14 +00:00
Brett Nash e8f8913a56 Fix return of hover check.
SVN revision: 49827
2010-06-24 03:02:18 +00:00
Brett Nash dd1dde3483 return NULL, not NULL.
SVN revision: 49826
2010-06-24 03:01:47 +00:00
Carsten Haitzler 643d06dd16 aaah safety delete - nash nash nash. for you.
SVN revision: 49825
2010-06-24 02:54:03 +00:00
Jonathan Atton 02abff6519 elm_notify: recalc everything if the size hint change
SVN revision: 49820
2010-06-23 17:58:08 +00:00
Brett Nash cf917f18e4 Add elm_object_top_widget_get(): Useful for hoversels.
Also useful for arguments about widget_top or top_widget.
After all it's not a widget of type top, but rather the widget at the top.
Your views?  Opinions on a postcard plase.


SVN revision: 49814
2010-06-23 08:51:58 +00:00
Brett Nash cf7ddc517a Elm entry now uses new & improved cut and paste.
SVN revision: 49813
2010-06-23 08:08:17 +00:00
Brett Nash 4d4284614b Improve content negotiation on paste
SVN revision: 49812
2010-06-23 08:02:35 +00:00
Brett Nash 061259fe6c Fix elm->elm copy
SVN revision: 49810
2010-06-23 01:28:57 +00:00
Jonathan Atton 4ed9f35e44 elm_panes : add the horizontal mode
SVN revision: 49801
2010-06-22 19:08:52 +00:00
Jonathan Atton f3b076fba2 remove useless calcul
SVN revision: 49795
2010-06-22 17:27:19 +00:00
Brett Nash eade64e9c2 Add me to authors, and make selection work a bit better.
SVN revision: 49792
2010-06-22 05:12:08 +00:00
Brett Nash 799bf08131 Clarify 'secondary' string.
SVN revision: 49791
2010-06-22 01:25:20 +00:00
Jonathan Atton 777be38c1e refactor elm_panes_left_content* -> elm_panes_content_left*
SVN revision: 49788
2010-06-21 20:58:40 +00:00
Jonathan Atton b903aa847e elm_panes : center the bar
SVN revision: 49787
2010-06-21 20:39:11 +00:00
Jonathan Atton 6ba054f636 elm_panes : - add an animation with 2 arrows while the bar is dragged. - add getter/setter for the size of the left content. - in the test : double click -> open/close the left content
SVN revision: 49786
2010-06-21 20:15:57 +00:00
Iván Briano 1e173716de Fix the usage of API_ENTRY macro in the new funcion _newest_focus_order_get
By: Thiago Ribeiro Masaki <masaki@profusion.mobi>



SVN revision: 49785
2010-06-21 18:16:45 +00:00
Carsten Haitzler e8e922488e fix focus issue if child has focus and is deleted (or in this case not
- hidden) - focuse most recent focused widget.



SVN revision: 49780
2010-06-21 07:39:49 +00:00
Jonathan Atton 8b910bf656 Add a new widget : elm_panes :)
SVN revision: 49773
2010-06-20 16:01:15 +00:00
Cedric BAIL 91ebde1957 * configure.ac: take inept translation a little bit into account.
SVN revision: 49743
2010-06-18 14:45:42 +00:00
Iván Briano dc9ae7395b Avoid returning stack trash, thanks nash.
SVN revision: 49730
2010-06-17 16:09:23 +00:00
Brett Nash bed3589df5 Updates to entry to use selection code.
SVN revision: 49728
2010-06-17 08:50:43 +00:00
Brett Nash 593dc6f068 Fix == and =.
SVN revision: 49727
2010-06-17 08:14:32 +00:00
Brett Nash a75e08268d Add to Makefile.
SVN revision: 49726
2010-06-17 08:07:27 +00:00
Brett Nash 53e4e63b3c Add the Cut and Paste helper code.
SVN revision: 49725
2010-06-17 08:06:07 +00:00
Iván Briano 99ff1921a9 Standardizing elm_<widget>_{icon,content}_set API
elm_<widget>_icon_set was changed to the better form and the signals
was passed to hidden icons when one icon is changed/removed.
Moreover, when changed by {icon,content}_set the old {icon,content}
will be deleted.

By: Fabiano Fidencio <fidencio@profusion.mobi>



SVN revision: 49706
2010-06-16 20:58:09 +00:00
Iván Briano a03476375e Allowing that icon/content can be set as NULL
Now, we can "remove" the icon used for the widget, in editje.

By: Fabiano Fidencio <fidencio@profusion.mobi>



SVN revision: 49705
2010-06-16 20:58:01 +00:00
Iván Briano dea0075e7e Changing internal name from chk to radio
chk is used to check.

By: Fabiano Fidencio <fidencio@profusion.mobi>



SVN revision: 49704
2010-06-16 20:57:51 +00:00
Iván Briano 3b77b92e53 Including icon show/hide in bubble widget
States and program craeted to allow that the user can change/delete
an icon without the icon remain floating on the screen

By: Fabiano Fidencio <fidencio@profusion.mobi>



SVN revision: 49703
2010-06-16 20:57:42 +00:00
Iván Briano 760c3c076d Fixing icon lost of external widgets in editje.
When params_free is made icons/content were deleted.
It's not necessary with the new API for icon/content set in elementary.

By: Fabiano Fidencio <fidencio@profusion.mobi>



SVN revision: 49702
2010-06-16 20:57:33 +00:00
Bruno Dilly 84d84ac0dd Fix max value wrapping calculation of elm spinner.
By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 49683
2010-06-15 15:55:22 +00:00
Bruno Dilly 64c0cbc955 Set signal emit hooks for entry, scroller and scrolled entry.
SVN revision: 49682
2010-06-15 15:04:05 +00:00
Bruno Dilly db550353a8 Add elm_object_signal_emit
This function sends a signal to the edje object of the obj.
It's a general function, and every widget should set a hook for this.

I'm setting a hook only for the spinner now, but soon I will work on other widgets.



SVN revision: 49681
2010-06-15 14:11:13 +00:00
Jonathan Atton 0b41132d70 Add style "fade_invisible" to elm_panel. This style create an invisible panel (no image, we only see the content) and the transition is a fading
SVN revision: 49657
2010-06-12 16:05:48 +00:00
Brett Nash 66605560ad /me shuts up GCC for not understanding this new fangled C code.
SVN revision: 49608
2010-06-10 06:41:50 +00:00
Christopher Michael 05574a433f Don't allow toolbar to be dragable w/ the mouse if scrollable is set
to False.



SVN revision: 49602
2010-06-10 01:21:39 +00:00
Christopher Michael cfb93fbfdd Use proper formatting.
SVN revision: 49597
2010-06-09 21:08:12 +00:00
Gustavo Sverzut Barbieri 459c1ce48c SVN_REPO_PATH envvar during autoconf to use svnversion in there.
Some systems, like the Gentoo, copy the svn contents somewhere before
doing the autoconf, this may result in lack of .svn and thus minor
version "0".

This patch introduces the $SVN_REPO_PATH to say where the svn checkout
containing the ".svn" directory is.



SVN revision: 49594
2010-06-09 18:22:47 +00:00
Gustavo Lima Chaves e6798aa016 Shut up compilation error on OpenSolaris, for this widget.
Here it is, vtorri, sorry :)



SVN revision: 49557
2010-06-07 19:01:37 +00:00
Christopher Michael e82a5156eb Don't need to get canonical build & host twice.
SVN revision: 49555
2010-06-07 17:28:25 +00:00
Bruno Dilly e66e89422e oops--
Setting timer handle to NULL when canceling cb function =/


SVN revision: 49554
2010-06-07 14:19:38 +00:00
Bruno Dilly 8214ddb83d oops - forgot to return CALLBACK_CANCEL on elm_clock
SVN revision: 49553
2010-06-07 13:43:07 +00:00
Bruno Dilly 37250a5ab6 This patch make it possible to ask elm_thumb for the generated thumbnail
path.

By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 49550
2010-06-06 22:15:27 +00:00
Bruno Dilly 8932085312 Del spin timer on elm_spinner del_hook
SVN revision: 49549
2010-06-06 22:09:48 +00:00
Bruno Dilly 0ba2c62314 Make clock set mode consistent with spinners
It will change values while the user keep arrows pressed.



SVN revision: 49548
2010-06-06 22:08:50 +00:00
Vincent Torri 58011e3859 fix prototype of elm_clock_digit_edit_get() too
SVN revision: 49547
2010-06-06 20:22:27 +00:00
Vincent Torri 53d60fdcf3 use Elm_Clock_Digedit instead of unsigned int
SVN revision: 49546
2010-06-06 20:19:26 +00:00
Carsten Haitzler cfb2f080c1 restore after snap/release
SVN revision: 49540
2010-06-06 17:43:03 +00:00
Carsten Haitzler 984033a7df Snapshot TMP/st/elementary
SVN revision: 49539
2010-06-06 17:27:07 +00:00
Carsten Haitzler d40e2a6574 post-snap anr release.. reset svn back.. this time for real.
SVN revision: 49526
2010-06-06 17:17:52 +00:00
Carsten Haitzler 9da7cfc4db Snapshot TMP/st/elementary
SVN revision: 49522
2010-06-06 16:43:00 +00:00
Carsten Haitzler 564b65511d post release - move relname to pre-svn again.
SVN revision: 49506
2010-06-06 16:23:16 +00:00
Carsten Haitzler 11793e8b68 Snapshot TMP/st/elementary
SVN revision: 49503
2010-06-06 16:08:32 +00:00
Brett Nash 4856ef5dc0 Scrolled entry doc format update
SVN revision: 49475
2010-06-06 04:44:54 +00:00
Brett Nash 1e41a6cfdb Minor fix to documentation formatting
SVN revision: 49474
2010-06-06 04:32:41 +00:00
Brett Nash 5e39da8d53 Don't deref a pointer before we check it.
SVN revision: 49473
2010-06-06 04:09:56 +00:00
Fabiano Fidêncio 7746e8b514 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
2010-06-05 13:12:45 +00:00
Carsten Haitzler 1bc500518c dont need that anymore.
SVN revision: 49466
2010-06-05 05:30:59 +00:00
Carsten Haitzler ad6ec2e43e oops - typo. fix.
SVN revision: 49465
2010-06-05 04:34:00 +00:00
Carsten Haitzler 4d58c10c09 init imf in elm_main. saves de-init and re-inti when entires are around.
SVN revision: 49442
2010-06-04 05:14:35 +00:00
Carsten Haitzler b32e586072 change svnversion shell goop to nuke sed and just use tr to delete
unwanted goop.



SVN revision: 49429
2010-06-04 01:04:24 +00:00
Rafael Fonseca 24feacfa4c From: Rafael Fonseca <rfonseca@profusion.mobi>
As requested, I've changed the widget name. Let me know about any
issues.



SVN revision: 49411
2010-06-03 12:53:14 +00:00
Iván Briano eeeae8a9df Let git-svn users get the right revision number to be used as version.
SVN revision: 49407
2010-06-03 07:40:54 +00:00
Carsten Haitzler f1f63da308 nopw svn revision works again.
SVN revision: 49344
2010-05-31 03:12:45 +00:00
Carsten Haitzler 64a9cf83ca fix - if no svn tree, then it will pretend to be a release.
SVN revision: 49343
2010-05-31 01:59:22 +00:00
Carsten Haitzler fa58ea8625 elm... version too!
SVN revision: 49284
2010-05-29 09:48:05 +00:00
Mike Blumenkrantz cde85d6a55 remove test panel 2, add in top panel test
SVN revision: 49224
2010-05-27 09:03:22 +00:00
Mike Blumenkrantz 25aef82253 this was close, but not quite the right variable name
SVN revision: 49223
2010-05-27 09:02:44 +00:00
Mike Blumenkrantz 2c44eda4e0 kill off some unused variables, return values on some widtype check fails
SVN revision: 49222
2010-05-27 09:01:41 +00:00
Bruno Dilly 46762b882e 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
2010-05-26 03:08:10 +00:00
Bruno Dilly 7d57c9c432 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
2010-05-25 13:36:20 +00:00
Bruno Dilly 156c0ad0a0 Add new test for flip widget, using flips inside of a flip.
This test shows a bug in current flip implementation.



SVN revision: 49194
2010-05-25 13:17:00 +00:00
Mike Blumenkrantz feafca280f sighhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
SVN revision: 49176
2010-05-24 08:28:23 +00:00
Mike Blumenkrantz 7a283dbdf0 fix smart_object_add param order (hooray for Sachiel at 4:30am!)
SVN revision: 49175
2010-05-24 08:26:18 +00:00
Bruno Dilly a5fa20a9ab Adding function to set cell selected in elm_scrolled_grid
By: Rafael Fonseca



SVN revision: 49173
2010-05-23 23:54:16 +00:00
Bruno Dilly bb3868efb5 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
2010-05-23 23:44:36 +00:00
Bruno Dilly 0fa431bcc0 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
2010-05-23 23:41:32 +00:00
Christopher Michael de41ec04e3 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
2010-05-21 19:26:57 +00:00
Christopher Michael 364c11ca14 Fix compiler warnings ... yes, they were fairly harmless, but I hate
seeing warnings during compile, especially when they are easily
corrected.



SVN revision: 49109
2010-05-21 17:16:42 +00:00
Andreas Volz 317230f240 added a usage hint about casting int to void* and back
SVN revision: 49071
2010-05-20 18:00:33 +00:00
Bruno Dilly b93adb9b7c Implements elm_object_focus_get that returns if the object is focused.
SVN revision: 49005
2010-05-19 13:17:02 +00:00
Bruno Dilly 00371747b9 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
2010-05-18 18:23:11 +00:00
Iván Briano 5a19ae8a8b 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
2010-05-17 17:36:43 +00:00
Gustavo Sverzut Barbieri ad18100ff3 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
2010-05-13 22:02:26 +00:00
Iván Briano 0e397de63c Signal edje when clock gets focused.
By Rafael Fonseca


SVN revision: 48789
2010-05-12 21:59:08 +00:00
Carsten Haitzler 5d79733553 add docs.
SVN revision: 48779
2010-05-12 16:37:33 +00:00
Carsten Haitzler 1c2f713799 working much better elm config stuff. hs old config sliders still there, now
adding theme tab. not complete tho.



SVN revision: 48778
2010-05-12 16:32:12 +00:00
Luis Felipe Strano Moraes 8e692f5686 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
2010-05-12 15:43:54 +00:00
Carsten Haitzler d888b71dba theme -> can specify a new theme for an object andit gets inherited. need to
add tests.



SVN revision: 48771
2010-05-12 01:03:46 +00:00
Iván Briano cd097950e4 Let the user choose what digits of the clock are editable.
Patch by Rafael "15 years of experience" Fonseca.


SVN revision: 48757
2010-05-11 15:25:01 +00:00
Carsten Haitzler 2ae7757e30 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
2010-05-09 16:05:18 +00:00
Carsten Haitzler 63f9c12ad1 fix list scroller to use ppropeer internal scroller calls.
remove commented out code from elm_scroller



SVN revision: 48712
2010-05-09 10:46:49 +00:00
Carsten Haitzler 4de621bd64 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
2010-05-09 02:19:14 +00:00
Carsten Haitzler 6a2932cfbc 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
2010-05-07 15:49:06 +00:00
Carsten Haitzler 6ef532ddae and do the other instances too.
SVN revision: 48668
2010-05-07 13:24:29 +00:00
Carsten Haitzler 83286a1d84 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
2010-05-07 13:21:45 +00:00
Massimo Maiurana 40ce24bd97 updating french and italian translations
SVN revision: 48631
2010-05-05 18:10:01 +00:00
Iván Briano 91b4652e87 Signal de edje on focus changes. Can be used to show/hide the spinner buttons based on it.
SVN revision: 48585
2010-05-03 18:29:02 +00:00
Carsten Haitzler 27012f5b0e sorry.. elm_widget is internal. dont document it. not to be known outside of
elm. :)



SVN revision: 48535
2010-05-02 01:44:38 +00:00
Tiago Rezende Campos Falcao cd6fc4f7d0 dont return if choice didnt match
SVN revision: 48436
2010-04-29 20:26:41 +00:00
Tiago Rezende Campos Falcao 8186783f89 Update some widgets for type compare with CHOICE type. By Masaki
Author:    Thiago Ribeiro Masaki <masaki at profusion.mobi>

SVN revision: 48435
2010-04-29 20:26:38 +00:00
Iván Briano 123c0140de more friendliness with the lispers, and also shuts up valgrind a bit about leaks
SVN revision: 48410
2010-04-28 23:14:04 +00:00
Carsten Haitzler 5b26300221 support items in anchorblock/view too.
SVN revision: 48384
2010-04-28 06:13:06 +00:00
Carsten Haitzler a910cf6db7 ooh add some attribution for emotiocns too.
SVN revision: 48373
2010-04-28 02:10:12 +00:00
Carsten Haitzler 85a924c9e2 some docs on items.
SVN revision: 48357
2010-04-27 08:12:59 +00:00
Carsten Haitzler 88bee2cadb emoticons!!!! woot woot!
SVN revision: 48356
2010-04-27 08:06:42 +00:00
Michael Blumenkrantz e571b14068 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
2010-04-27 05:43:54 +00:00
Iván Briano 9c45d6aac5 Let the grid be shrunk when resizing. By Rafael Fonseca.
SVN revision: 48333
2010-04-26 16:51:03 +00:00
Carsten Haitzler 52e86cb31c use the new item stuff! :):) it works.... wow!
SVN revision: 48330
2010-04-26 14:59:01 +00:00
titan 5aaf50253f 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
2010-04-26 02:34:07 +00:00
Carsten Haitzler 353571dccc test all combos.
SVN revision: 48310
2010-04-25 13:13:28 +00:00
Carsten Haitzler ad1ae1694a a test for items... getting there.
SVN revision: 48308
2010-04-25 13:07:48 +00:00
Iván Briano 13015087f4 Allow setting group for radios
SVN revision: 48255
2010-04-23 18:04:24 +00:00
Rui Seabra 9a7485dda2 Apply the same fix MEJ did ( http://marc.info/?l=enlightenment-svn&m=127157420508183&w=3 ) to more specs
SVN revision: 48213
2010-04-21 20:55:23 +00:00
Vincent Torri 86d5c41583 * remove shadow declarations
* missing initializer in Evas_Smart_Class (the data field was missing)


SVN revision: 48197
2010-04-21 07:46:03 +00:00
Vincent Torri 291c607e15 remove unused parameters
SVN revision: 48196
2010-04-21 07:38:25 +00:00
Iván Briano 2bec9f57d8 Set evas focus for some objects when focused. More will come later.
SVN revision: 48179
2010-04-20 20:03:05 +00:00
Iván Briano b051659645 Reverting formating patch, broke everything and I'm not dissecting it to fix it properly.
SVN revision: 48131
2010-04-19 13:32:37 +00:00
toma 271e9a1920 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
2010-04-19 01:56:41 +00:00
Gustavo Sverzut Barbieri 8a23d2a6b7 Add special values to spinner.
Special value is a string showed instead a numerical one.

By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 48090
2010-04-18 00:31:07 +00:00
Gustavo Sverzut Barbieri 37d6782967 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
2010-04-17 20:21:59 +00:00
Carsten Haitzler 93fa196620 test++
SVN revision: 48073
2010-04-17 14:20:06 +00:00
Gustavo Lima Chaves 24b1c5d025 Fixing some compiler warnings on filesector widgets.
SVN revision: 48024
2010-04-15 18:00:31 +00:00
Carsten Haitzler 7aceaa4a41 support flush and dump protocol - also add call to do this by requuest from
the app itself.



SVN revision: 47949
2010-04-12 08:27:10 +00:00
Boris Faure 1ca26086db elm: add lots of doc! Thanks to Mike (zmike/discomfitor)
SVN revision: 47944
2010-04-12 08:12:02 +00:00
Gustavo Lima Chaves bf7c032627 Fix race condition on item selection for file selectors.
Also, fixing bug at file selector button (last selection saving).



SVN revision: 47881
2010-04-09 17:52:55 +00:00
Iván Briano 07d91767cd Expose elm_list as external
Patch by Thiago Masaki


SVN revision: 47847
2010-04-08 20:53:01 +00:00
Gustavo Lima Chaves 23b65bc2de 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
2010-04-08 20:36:37 +00:00
Iván Briano 7c413d98dd Assorted fixes to slideshow in lib and externals
Patch by Thiago Masaki


SVN revision: 47845
2010-04-08 20:16:21 +00:00
Iván Briano 415e38c50c Fix issues with button autorepeat
Patch by Brian Wang


SVN revision: 47836
2010-04-08 15:15:22 +00:00
Tiago Rezende Campos Falcao 58ffdf8254 Fix some bugs in Genlist/Photocam. By Fidencio
Author:    Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47823
2010-04-07 21:30:54 +00:00
Gustavo Lima Chaves ad9e7cb93b Fixes, fixes...
SVN revision: 47821
2010-04-07 19:37:31 +00:00
Gustavo Lima Chaves 0a90fa0886 One more.
SVN revision: 47818
2010-04-07 17:28:15 +00:00
Gustavo Lima Chaves a760186ea8 Note to self: never commit in a hurry.
SVN revision: 47817
2010-04-07 17:27:58 +00:00
Gustavo Lima Chaves 7caba8955b Again, and that's all.
SVN revision: 47816
2010-04-07 17:24:48 +00:00
Gustavo Lima Chaves 6985d6383e Nasty one, sorry.
SVN revision: 47815
2010-04-07 17:24:26 +00:00
Boris Faure 97dfb904e9 add doc, thanks to Mike Blumenkrantz (zmike)
SVN revision: 47801
2010-04-07 07:37:49 +00:00
Carsten Haitzler 0e56acdbcb patch from disco-man! :)
SVN revision: 47799
2010-04-07 01:31:36 +00:00
Tiago Rezende Campos Falcao baa7e26d78 Some fixes in external Photocam. By Fidencio
Author:    Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47785
2010-04-06 14:01:08 +00:00
Tiago Rezende Campos Falcao ffaa68c266 Added get functions in elm_genlist and added external Genlist support. By Fidencio
Author:    Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47784
2010-04-06 14:01:04 +00:00
Gustavo Lima Chaves 07702cd2f3 Elm slideshow as edje external, by Masaki.
SVN revision: 47780
2010-04-05 20:23:30 +00:00
Gustavo Lima Chaves 10baacf024 1st use of description field for callback signals.
SVN revision: 47779
2010-04-05 19:38:59 +00:00
Gustavo Lima Chaves a446b18538 Signal description infra for map.
SVN revision: 47778
2010-04-05 19:21:22 +00:00
Gustavo Lima Chaves b15b3376b6 Fix signal description infra for anchorblock.
SVN revision: 47777
2010-04-05 19:20:48 +00:00
Gustavo Lima Chaves 32a79e1c61 Fix signal description infra for anchorview.
SVN revision: 47776
2010-04-05 19:20:06 +00:00
Gustavo Lima Chaves ef78e544f1 Signal description infra for file thumb.
SVN revision: 47775
2010-04-05 19:19:16 +00:00
Gustavo Lima Chaves 31d1a343c5 Signal description infra for file selector.
SVN revision: 47774
2010-04-05 19:18:36 +00:00
Carsten Haitzler 31c4f0349c 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
2010-04-05 04:58:43 +00:00
Gustavo Lima Chaves 6d3534b6f8 Elm_map exported as edje external.
SVN revision: 47654
2010-04-01 17:34:49 +00:00
Tiago Rezende Campos Falcao 46282c0f44 Toolbar external dont have icon
SVN revision: 47653
2010-04-01 17:08:14 +00:00
Gustavo Sverzut Barbieri 92342eca82 fix stupid error and delete icon.
SVN revision: 47652
2010-04-01 16:04:52 +00:00
Tiago Rezende Campos Falcao 6b3e8c6be5 External Photocam. By Fidencio
Author: Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47649
2010-04-01 14:22:45 +00:00
Tiago Rezende Campos Falcao 8428f91d63 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
2010-04-01 14:22:41 +00:00
Tiago Rezende Campos Falcao eb475b53bd 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
2010-04-01 14:22:36 +00:00
Tiago Rezende Campos Falcao c00911ee84 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
2010-04-01 14:22:32 +00:00
Tiago Rezende Campos Falcao c8823541a4 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
2010-04-01 14:22:26 +00:00
Tiago Rezende Campos Falcao 147ae448e0 Free params in Toolbar external
SVN revision: 47644
2010-04-01 14:22:21 +00:00
Gustavo Lima Chaves a1228094fd Elm_fileselector as edje external.
SVN revision: 47634
2010-03-31 20:19:55 +00:00
Gustavo Lima Chaves 39507a1c57 Oops.
SVN revision: 47633
2010-03-31 19:14:32 +00:00
Gustavo Lima Chaves 8483246729 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
2010-03-31 19:08:51 +00:00
Cedric BAIL 341d5cff52 * elementary: Add elm_toolbar_item_selected_get and some const.
Patch by Mike Blumenkrantz (zmike) <mike@zentific.com>.


SVN revision: 47629
2010-03-31 16:38:37 +00:00
Tiago Rezende Campos Falcao b30117f449 Don't forget to shutdown ethumb. By Fonseca
Author:    Rafael Fonseca <rfonseca at profusion.mobi>

SVN revision: 47624
2010-03-31 12:38:58 +00:00
Gustavo Sverzut Barbieri 587bfbac42 shutdown all resources.
SVN revision: 47623
2010-03-31 12:06:12 +00:00
Tiago Rezende Campos Falcao 5884ebfb18 Toolbar External
SVN revision: 47608
2010-03-30 20:42:01 +00:00
Tiago Rezende Campos Falcao 5dd010bb26 Hoversel External
SVN revision: 47607
2010-03-30 20:41:56 +00:00
Gustavo Lima Chaves 9a8981530d Elm anchorblock edje external support. Same progress as anchorview's.
SVN revision: 47606
2010-03-30 18:38:02 +00:00
Gustavo Lima Chaves 5f686476b5 Anchorview exported to edje.
Just text exported, for now.
TODO: make editje pass *unescaped* text down to this property.



SVN revision: 47604
2010-03-30 17:21:47 +00:00
Cedric BAIL 549bb1a0d6 * elementary: fix segv due to double free. But more is needed to fix
efreet usage by elm icon test.


SVN revision: 47589
2010-03-30 11:17:17 +00:00
Carsten Haitzler 2f17c7c339 avoid adding timer to item that is not realized...
SVN revision: 47582
2010-03-30 05:42:56 +00:00
Iván Briano d7517b304a Also kill timer on genlist_clear
SVN revision: 47580
2010-03-30 05:26:14 +00:00
Carsten Haitzler 2fd70ad255 eek 2 longtimer dels.. move to end anyway.
SVN revision: 47579
2010-03-30 05:22:34 +00:00
Carsten Haitzler 2ae3d5f457 long timer del - on item del. why didnt this happen before?
SVN revision: 47578
2010-03-30 05:19:00 +00:00
Iván Briano 9fc0f17a49 Delete long press timer on item deletion
SVN revision: 47576
2010-03-30 05:03:57 +00:00
Gustavo Lima Chaves 3240d746eb Elm notepad on edje_externals.
Still lacking properties exported, will come with more powerful param. types, further.



SVN revision: 47569
2010-03-29 20:53:00 +00:00
Gustavo Lima Chaves 3451411326 New elm widget exported to edje: bubble.
SVN revision: 47559
2010-03-29 17:19:35 +00:00
Carsten Haitzler a22555c551 avoid norender when doing initial queued block - it's limited to 1 block
anyway.



SVN revision: 47550
2010-03-29 02:27:26 +00:00
Carsten Haitzler 31321fb483 add test case for longpress and selected in genlist.
SVN revision: 47522
2010-03-28 01:44:56 +00:00
Sebastian Dransfeld f1ff260f2d efreet_util_init gone
SVN revision: 47512
2010-03-27 19:58:21 +00:00
Carsten Haitzler a9560949f5 fix unrealizesd dragging item issue.
SVN revision: 47502
2010-03-27 04:17:01 +00:00
Gustavo Sverzut Barbieri c83883b8ef call elm_init otherwise applications that still did not will fail.
SVN revision: 47499
2010-03-27 01:24:40 +00:00
Gustavo Sverzut Barbieri 64bc9152d5 allow init to be called multiple times.
SVN revision: 47498
2010-03-27 01:24:21 +00:00
Gustavo Sverzut Barbieri 86bf257913 fix _elm_widget_type_check() to return FALSE on failure.
SVN revision: 47497
2010-03-27 01:19:44 +00:00
Gustavo Sverzut Barbieri 5d36cbef7a allow elm_init() being called with NULL argc/argv.
SVN revision: 47496
2010-03-27 01:19:05 +00:00
Gustavo Sverzut Barbieri 68321b408a ops, forgot some signals.
SVN revision: 47489
2010-03-26 11:25:55 +00:00
Gustavo Sverzut Barbieri 9c951bc6fc Describe more widgets callbacks.
These are all that Editje support now :-) Add others later as
required, but patches are welcome!



SVN revision: 47488
2010-03-26 10:59:56 +00:00
Iván Briano c70784c37c Adding focus and unfocused smart callbacks for entry
SVN revision: 47481
2010-03-26 06:46:31 +00:00
Iván Briano efccbe07e8 Make someone else assume responsibility when Elementary is not the father.
SVN revision: 47479
2010-03-26 05:44:30 +00:00
Sebastian Dransfeld 182023bb85 Sync with efreet and some cleanup
SVN revision: 47478
2010-03-26 05:34:34 +00:00
Iván Briano 679b233813 _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
2010-03-26 05:20:30 +00:00
Carsten Haitzler d8f22e5020 password mode - really dont allow selecting of passwords form password fields.
SVN revision: 47467
2010-03-26 04:45:11 +00:00
Iván Briano b01e9fc400 NULL pointer after deleting timer to avoid bitching later
Patch by Brian Wang


SVN revision: 47462
2010-03-26 03:17:05 +00:00
Gustavo Sverzut Barbieri 439a3bd492 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
2010-03-26 00:58:14 +00:00
Gustavo Sverzut Barbieri ed5cb0e7f3 Simplify state_set and just apply values that were explicitly set.
SVN revision: 47458
2010-03-25 20:17:34 +00:00
Gustavo Sverzut Barbieri d1d996f13d 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
2010-03-25 18:10:25 +00:00
Cedric BAIL 96657f33af * elementary: enable wheel in slider.
SVN revision: 47454
2010-03-25 17:47:48 +00:00
Gustavo Sverzut Barbieri f48ba4fb22 Some missing getters...
I'm working on edje_externals param_get/param_set and they will need
these functions.



SVN revision: 47450
2010-03-25 17:27:00 +00:00
Carsten Haitzler 59961838f1 return "" if conv is null anyway (as thats a "" src string)
SVN revision: 47441
2010-03-25 05:13:59 +00:00
Carsten Haitzler 9ed7a42108 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
2010-03-24 10:00:50 +00:00
Carsten Haitzler 29e61e39cb longpress <- for dan!
SVN revision: 47414
2010-03-24 08:54:59 +00:00
Gustavo Sverzut Barbieri 06d14ed245 const and -Wextra, come on guys! :-/
SVN revision: 47409
2010-03-24 03:06:00 +00:00
Tiago Rezende Campos Falcao 97ae653c9f Externals Make Scrolled Entry Editable. By Kubo
Author:    Raphael Kubo da Costa <kubo at profusion.mobi>

SVN revision: 47400
2010-03-23 19:48:40 +00:00
Carsten Haitzler 9705f7dbe1 (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
2010-03-23 04:46:53 +00:00
Gustavo Sverzut Barbieri 8ef9ff019e 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
2010-03-23 00:06:32 +00:00
Gustavo Sverzut Barbieri 45fb5c7947 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
2010-03-22 21:38:32 +00:00
Gustavo Sverzut Barbieri dbd9fcce4d 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
2010-03-22 21:36:59 +00:00
Carsten Haitzler 1ec47d82f0 test elm_entry_markup_to_utf8
SVN revision: 47363
2010-03-22 05:52:05 +00:00
Vincent Torri be6a95129a support Windows file system
patch by Nicolas Aguirre


SVN revision: 47346
2010-03-19 18:24:58 +00:00
Carsten Haitzler 2257453fe4 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
2010-03-17 01:08:39 +00:00
Gustavo Sverzut Barbieri 7462246b63 reorganize genlist functions in header to make more sense.
SVN revision: 47294
2010-03-16 15:43:49 +00:00
Gustavo Sverzut Barbieri abe1f4275a Typedefs to help bindings, type less and make things easier to identify.
SVN revision: 47292
2010-03-16 15:31:38 +00:00
Carsten Haitzler 5328f8ff8e add new test.
SVN revision: 47289
2010-03-16 12:42:24 +00:00
Carsten Haitzler d0f6e1fff2 test entries in a layout - works just fine! so bug--
SVN revision: 47283
2010-03-16 09:22:47 +00:00
Carsten Haitzler 643fcd2f7d bug-- and.. bug++
SVN revision: 47276
2010-03-16 04:11:47 +00:00
Carsten Haitzler 85994cc72f off by 1 - just noticed now!
SVN revision: 47273
2010-03-16 03:28:39 +00:00
Gustavo Sverzut Barbieri 53ac1c8682 sort tests, add index.
Idea by Lucas de Marchi, implementation by myself.

It's not as fancy as it could be, since elm_list does not have an
animated "bring-in" as genlist... but I added a macro to make it easy
to migrate to genlist later without lots of changes...




SVN revision: 47272
2010-03-16 02:15:37 +00:00
Carsten Haitzler 546b20d49a bug change
SVN revision: 47271
2010-03-16 01:36:29 +00:00
Gustavo Sverzut Barbieri bbfce69db0 fix compile without ethumb...
SVN revision: 47246
2010-03-15 19:30:24 +00:00
Gustavo Sverzut Barbieri 8a9bcd4f54 packaging ethumb support for elementary.
SVN revision: 47241
2010-03-15 18:46:27 +00:00
Gustavo Sverzut Barbieri 37de81817f Add elm_thumb object to Elementary.
The elm_thumb object interacts with ethumb to create a thumbnail.

By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 47240
2010-03-15 18:34:04 +00:00
Carsten Haitzler 5ba7d227a9 bug++ :(
SVN revision: 47236
2010-03-15 13:51:54 +00:00
Carsten Haitzler c8f0e965af bug-- note
SVN revision: 47233
2010-03-15 09:45:16 +00:00
Carsten Haitzler 0971e213ab bug -= 2;
SVN revision: 47230
2010-03-15 02:34:27 +00:00
Carsten Haitzler 8f34a43231 aaah typo! fix from lupan.
SVN revision: 47225
2010-03-14 22:33:52 +00:00
Carsten Haitzler 74a985e916 bug++ :(
SVN revision: 47206
2010-03-14 13:02:00 +00:00
Carsten Haitzler cf87e22450 bug--
SVN revision: 47205
2010-03-14 12:59:12 +00:00
Carsten Haitzler b87feb067a bug--.. and unfortunately.. bug++
SVN revision: 47203
2010-03-14 12:27:21 +00:00
Carsten Haitzler 4f306d1607 note some bugs i found... to be fixed. at least i know them. :) (and have a
test case).



SVN revision: 47199
2010-03-14 08:21:22 +00:00
Carsten Haitzler 5ceae54321 fix more runtime wornings... added ELM_ERROR_ABORT! :)
SVN revision: 47195
2010-03-14 03:48:22 +00:00
Gustavo Sverzut Barbieri e01d72fe26 Use eina_stringshare_replace to avoid crashes.
By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 47187
2010-03-13 21:01:26 +00:00
Gustavo Sverzut Barbieri 95db33e2c9 Adding space between icon and label in elementary list/slider.
By: Fabiano Fidêncio <fidencio@profusion.mobi>

NOTE: maybe it would be better to have a signal to say if it is
      with/without icon and add the space only if icon AND
      label... but label is pretty common, so it is fine.



SVN revision: 47170
2010-03-12 22:04:23 +00:00
Carsten Haitzler 7be6ec6ff8 get rid of forced scrollbars in scroller.
SVN revision: 47131
2010-03-11 08:13:20 +00:00
Carsten Haitzler 6c46e85395 remove newline stuff.
SVN revision: 47130
2010-03-11 08:08:15 +00:00
Carsten Haitzler c86c9ea795 and make entry api's acutally work - and be tested.
SVN revision: 47127
2010-03-11 06:35:07 +00:00
Carsten Haitzler ebd8928997 aaah eeek - wrong call. fixed.
SVN revision: 47107
2010-03-10 14:08:47 +00:00
Carsten Haitzler 7a7c28294b mark brokenness for now - will fix.
SVN revision: 47104
2010-03-10 13:40:15 +00:00
Carsten Haitzler 990bdd476a fix up test - set no allow focus and no propagate so buttons dont snarf focus
form entries.



SVN revision: 47102
2010-03-10 13:24:38 +00:00
Carsten Haitzler 0c5ae56027 more comprehensive test for entry - there are bugs, this will let me test and
fix.



SVN revision: 47101
2010-03-10 07:58:29 +00:00
Carsten Haitzler ca93701c55 remove deprecated calls (been deprecated for a while now)
SVN revision: 47100
2010-03-10 07:21:10 +00:00
Carsten Haitzler 27a1fc9a9c more warning--
SVN revision: 47099
2010-03-10 06:46:28 +00:00
Carsten Haitzler 23d121c6e7 take that - more warning--
SVN revision: 47098
2010-03-10 04:13:34 +00:00
Carsten Haitzler 310810413c and some more warning--
SVN revision: 47097
2010-03-10 03:47:33 +00:00
Carsten Haitzler df611db335 more wanring-- and safety checks.
SVN revision: 47096
2010-03-10 00:31:54 +00:00
Vincent Torri b07e49d435 remove unused parameter in the library.
I won't do this everyday, and i won't touch the tests.


SVN revision: 47093
2010-03-09 17:51:30 +00:00
Carsten Haitzler f3034c8196 more members for newer struct - init to null.
SVN revision: 47092
2010-03-09 16:56:31 +00:00
Carsten Haitzler 8599a54123 more warnning fixes!
SVN revision: 47087
2010-03-09 16:46:13 +00:00
Carsten Haitzler 58f0a50c45 more warning -- - and fix a lot of formatting in elm_map and some bugs lurking.
SVN revision: 47082
2010-03-09 16:27:46 +00:00
Carsten Haitzler 6e5836950a warning-- more
SVN revision: 47078
2010-03-09 14:42:41 +00:00
Carsten Haitzler d32e700fe3 more warning fixes!
SVN revision: 47076
2010-03-09 11:42:53 +00:00
Carsten Haitzler 6792e2db2c warning fix 1. :)
SVN revision: 47074
2010-03-09 07:30:48 +00:00
Carsten Haitzler 91e01aa86e patch from discomfitor <- check type of widget on api call and return if not
the right type



SVN revision: 47073
2010-03-09 06:15:39 +00:00
Carsten Haitzler b9f621228a more comprehensive flip test with multiple children etc.
SVN revision: 47072
2010-03-09 04:00:08 +00:00
Gustavo Sverzut Barbieri f838c2a17a fix FALSE -> EINA_FALSE.
SVN revision: 47001
2010-03-08 15:17:10 +00:00
Vincent Torri 23f3dae076 fix compilation on mac os x
based on a patch by Leif Middelschulte


SVN revision: 46911
2010-03-06 16:46:08 +00:00
Gustavo Sverzut Barbieri 1c3a3b2a5d enable forcing dependencies and ignoring auto-detect/automagic.
SVN revision: 46849
2010-03-03 22:34:57 +00:00
Gustavo Sverzut Barbieri 708ffb6d79 Fix position in notify widget
Content was going outside of notify widget.

By: Lucas De Marchi <lucas.demarchi@profusion.mobi>



SVN revision: 46839
2010-03-03 19:02:01 +00:00
Carsten Haitzler 25d1ec7d80 fix genlist delete item in callback bug
SVN revision: 46781
2010-03-02 08:47:40 +00:00
김지훈 243d30a28f From: 김지훈 <jihoon48.kim@samsung.com>
Subject: elc_scrolled_entry.c patch for adding callback

elm_scrolled_entry is consists of a scroller and entry, but it does not trasmit
the below signals:
 
 - cursor,changed
 - anchor,clicked
 - selection,start
 - selection,changed
 - selection,cleared
 - selection,paste
 - selection,copy
 - selection,cut
 - longpressed
 


SVN revision: 46780
2010-03-02 08:17:13 +00:00
Gustavo Sverzut Barbieri fca2fb30c9 fix most llvm/gcc real bugs.
SVN revision: 46762
2010-03-02 01:27:08 +00:00
Carsten Haitzler a50e54830e hmm that should have been argv i think
SVN revision: 46759
2010-03-02 01:14:36 +00:00
Carsten Haitzler 9ade1a11cc llvm shhhhhh! (not a real fix)
SVN revision: 46757
2010-03-02 01:04:38 +00:00
Gustavo Sverzut Barbieri e77524000b being extra careful and verbose on elm_entry_entry_get().
For some reason, we're getting text without the <br> and it is
crashing. Instead of crashing, be loud about that error and bail.

The source of the real bug is still unknown :-(



SVN revision: 46747
2010-03-01 23:23:53 +00:00
Christopher Michael 69cb69d24b Fix doxy typo.
SVN revision: 46704
2010-03-01 16:20:39 +00:00
Carsten Haitzler 0bad44f5db allow icon window to resize for testing.
SVN revision: 46676
2010-03-01 02:20:41 +00:00
Carsten Haitzler 185bec1265 1. fix child stuff .. smart object members.. that was just bad of me.. oops.
swapped params. i should have known better. *spank* and .. add visible "u
clikced here" tests to launcher test.



SVN revision: 46582
2010-02-27 15:14:34 +00:00
Carsten Haitzler ee7d419109 stop using round - no need
SVN revision: 46553
2010-02-27 05:20:28 +00:00
Carsten Haitzler 6a7271084d slight change in drag events vs scrolling on_hold to fix small "distance
race" issue.



SVN revision: 46505
2010-02-26 06:30:17 +00:00
Gustavo Sverzut Barbieri de624fa62f allow disabling automagic to discover efreet, eweather and edbus
SVN revision: 46489
2010-02-25 21:36:12 +00:00
Iván Briano d3d03fe793 Remove unused variables and use correct functions for objects. Now that scrolled_entry is used for the Entry scrolled test, the button callbacks can't be reused.
SVN revision: 46444
2010-02-24 21:53:51 +00:00
Christopher Michael 7b48a5bc95 Add case for keyboard geometry changing. (not completely handled yet, but
conformant widget does get notified now).



SVN revision: 46403
2010-02-23 20:54:39 +00:00
김재환 02bda69e48 From: 김재환 <jae.hwan.kim@samsung.com>
Subject: Request for "block,clicked" callback event of elm_notify



SVN revision: 46354
2010-02-22 09:48:21 +00:00
Rui Seabra 74fb262fb0 Better values fro url and source.
SVN revision: 46350
2010-02-21 19:40:32 +00:00
Rui Seabra 4999604192 RPM spec for elementary.
SVN revision: 46349
2010-02-21 19:18:26 +00:00
Tiago Rezende Campos Falcao e8eac2e2ca Fix swallow.end align in elm.list items. By Masaki
Author:    Thiago Ribeiro Masaki <masaki at profusion.mobi>

SVN revision: 46322
2010-02-19 19:56:44 +00:00
Christopher Michael debae61a2d Updates to elm_conform and elm_win code for new illume2.
SVN revision: 46288
2010-02-19 02:33:17 +00:00
Jonathan Atton 2a4110d17e Set the content after the content is added as sub object
SVN revision: 46259
2010-02-17 22:49:27 +00:00
Carsten Haitzler bb903322bb oh dear. how did that go unnoticed. it SHOULD use steal!
SVN revision: 46238
2010-02-17 05:26:16 +00:00
Carsten Haitzler 95a21ab82c be more robust and fall baack to software x11 engine - but warn.
SVN revision: 46230
2010-02-17 02:15:52 +00:00
Gustavo Sverzut Barbieri 878e97e600 Update to new event callback signature.
SVN revision: 46208
2010-02-16 13:00:31 +00:00
Jonathan Atton 9b0cf3bf62 Improve the theme of elm_menu
SVN revision: 46166
2010-02-14 14:09:18 +00:00
Iván Briano c2ca925f67 Make Entry Scrolled test look a bit better.
SVN revision: 46115
2010-02-12 15:22:51 +00:00
이상진 1ed46d09fb From: 이상진 <lsj119@samsung.com>
I am attaching another patches for transparent window.

1. Use RGB Visual.
2. Set destination_alpha in ecore_evas for alpha composite in evas.
3. add Function
   - Ecore_Evas_Engine_Func->fn_transparent_set
   - ecore_evas_transparent_set , ecore_evas_transparent_get
   - elm_win_transparent_set, elm_win_transparent_get




SVN revision: 46106
2010-02-12 05:31:26 +00:00
WonGuk Jeong 86a10db9fc From: WonGuk Jeong <wonguk.jeong@samsung.com>
There are two API requests of elm_table

elm_table_unpack()
elm_table_clear()



SVN revision: 46105
2010-02-12 03:50:19 +00:00
Vincent Torri e939816544 fix returned values
SVN revision: 46081
2010-02-11 16:13:41 +00:00
Carsten Haitzler 5a8adbf9b7 add some callback tests.
SVN revision: 46049
2010-02-10 15:11:16 +00:00
이상진 957fc1e3e2 From: 이상진 <lsj119@samsung.com>
Patch for rotate with resize

(some formatting fixed too like ecore patch)



SVN revision: 46047
2010-02-10 14:38:08 +00:00
Iván Briano ceb6345b7f Improve scrolled_entry a bit, it's still open for more love though.
Move test_conformant to use scrolled_entry.


SVN revision: 46012
2010-02-09 15:43:17 +00:00
Cedric BAIL e829005e60 * elementary: Remove dependencie on ecore-txt.
SVN revision: 46011
2010-02-09 14:17:31 +00:00
Gustavo Sverzut Barbieri a8777010c6 Convert test_entry to elm_scrolled_entry.
Reduce code duplication and also test the scrolled entry version.

Stéphane BAULAND



SVN revision: 46010
2010-02-09 13:21:46 +00:00
Gustavo Sverzut Barbieri e3171c7c82 yet another trailing whitespace deletion.
last try with CIA-49 bot at #edevelop :-/


SVN revision: 46005
2010-02-09 03:34:23 +00:00
Gustavo Sverzut Barbieri 296853c141 delete trailing whitespace.
this is more to test http://cia.vc and their project match with our
crazy project structure.



SVN revision: 46004
2010-02-09 03:27:11 +00:00
Gustavo Sverzut Barbieri 195f67f0f9 delete trailing whitespace.
SVN revision: 46003
2010-02-09 03:04:18 +00:00
Christopher Michael f87a7d374d Add initial doxy for conformant widget.
SVN revision: 46000
2010-02-09 02:46:19 +00:00
Christopher Michael 35ab7b4144 Add Doxy for illume stuff.
SVN revision: 45937
2010-02-06 17:31:09 +00:00
Christopher Michael 075108fc10 Don't set window type here. Causes problems w/ layout.
SVN revision: 45934
2010-02-06 16:56:18 +00:00
Carsten Haitzler e93dab4295 fix launcher test to scale a bit better.
SVN revision: 45927
2010-02-06 07:29:10 +00:00
Carsten Haitzler 02205965c4 more tests
SVN revision: 45893
2010-02-05 08:17:21 +00:00
Carsten Haitzler a9295a655d code+comments.
SVN revision: 45891
2010-02-05 06:14:50 +00:00
xcomputerman 8cf715a619 OpenGL/SDL support (still buggy, but probably not elm's fault)
SVN revision: 45880
2010-02-04 18:34:44 +00:00
Carsten Haitzler 56aba6a22b 1. fix conforman stuff to actually respect min size of content. it never did.
2. more comprehensive test.



SVN revision: 45863
2010-02-04 09:08:02 +00:00
Carsten Haitzler fb06522eb4 allow genlist items to be "display only" - eg used as spacers or state
indicators, section markers etc.



SVN revision: 45862
2010-02-04 08:06:41 +00:00
Carsten Haitzler 5bdddad833 and optimise getting stripped version
SVN revision: 45834
2010-02-03 15:27:57 +00:00
Carsten Haitzler 1b3cb72426 a little more cleanliness and cleaning up of vars not needed when changes
happen



SVN revision: 45833
2010-02-03 15:26:14 +00:00
Iván Briano 8bebfdc02b Trigger "changed" callback when value is changed with the entry, fix typo and focus entry when it's shown.
SVN revision: 45823
2010-02-02 22:10:56 +00:00
Cedric BAIL 085f4e23f4 * elementary: Fix elementary build without X.
SVN revision: 45804
2010-02-02 13:55:55 +00:00
Carsten Haitzler 9de61445ba distcheck fix
SVN revision: 45801
2010-02-02 10:52:37 +00:00
Carsten Haitzler bf5471e700 mini config app - live changed scaling and finger size. needed to really show
what elementary is about!



SVN revision: 45800
2010-02-02 10:09:07 +00:00
Sebastian Dransfeld 2356db9d22 Remove Ecore_Txt
SVN revision: 45791
2010-02-02 04:50:04 +00:00
Carsten Haitzler e905ed0ad5 typo fix
SVN revision: 45789
2010-02-02 02:54:22 +00:00
Carsten Haitzler 131ac8349a demo++
SVN revision: 45778
2010-02-01 16:46:26 +00:00
Carsten Haitzler 525bde3ce8 that was meant to be load too.
SVN revision: 45775
2010-02-01 14:16:38 +00:00
Sebastian Dransfeld abe8dfc614 Ecore_Str.h -> Eina
SVN revision: 45745
2010-01-30 22:22:46 +00:00
Iván Briano 1f9f880037 Don't set text in entries for now. It has big issues with state changes.
SVN revision: 45704
2010-01-29 15:16:22 +00:00
Gustavo Sverzut Barbieri 4b886debcf spinner uses format specified by user in its entry-form.
Tries to use the same format as specified by user with
elm_spinner_label_format_set() when allowing entry to type text.

This avoids the ugly "123.00000000" when editing integers, as done in
the color chooser of editje.



SVN revision: 45643
2010-01-27 20:16:43 +00:00
Gustavo Sverzut Barbieri 108da05a3a spinner: just set the value if conversion to float worked, otherwise ignore it.
Instead of using atof() and always getting a value (even if 0 when
invalid), check if conversion to float worked and if not just revert
to last value, ignoring the input.

I'm being quite tolerant here, allowing spaces at end.



SVN revision: 45632
2010-01-27 19:34:45 +00:00
Carsten Haitzler 2f71270e54 note- genlist has issues with the deferred calc of size.
SVN revision: 45626
2010-01-27 10:19:54 +00:00
Carsten Haitzler 956dc8bdbd extra checks for selection
SVN revision: 45625
2010-01-27 09:23:54 +00:00
Carsten Haitzler 4c7d60f86c dont reset mapbuf all the time!
SVN revision: 45622
2010-01-27 06:20:12 +00:00
Carsten Haitzler 750533f751 fix scroll animator
SVN revision: 45621
2010-01-27 06:12:29 +00:00
Carsten Haitzler 7e1b2be19d better - n mapbufs
SVN revision: 45619
2010-01-27 04:57:57 +00:00
Carsten Haitzler a8cd33d016 formatting a bit in theme.... panel still.. not.. formatted...
SVN revision: 45618
2010-01-27 04:20:04 +00:00
Carsten Haitzler 0cee32572c fix proeprly
SVN revision: 45617
2010-01-27 04:08:42 +00:00
Christopher Michael 1e0f1b2210 No space at all if indicator & softkey are not present.
SVN revision: 45616
2010-01-27 04:03:22 +00:00
Carsten Haitzler 9e085018bf animators should tick off at defined intervals from a 0 point so all
animators from all apps are in sync - or try to be.



SVN revision: 45615
2010-01-27 03:59:23 +00:00
Christopher Michael ffc9efb9d9 Handle property changes for conformant widget.
Don't hardcode size to 32 (but kept a small buffer of 1 pixel).



SVN revision: 45609
2010-01-27 01:48:18 +00:00
Carsten Haitzler 6a73fa3764 4 not 4 screens for launcher test
SVN revision: 45581
2010-01-26 10:59:26 +00:00
Carsten Haitzler fbb103cfca label preferred line wrap width set thing.
SVN revision: 45576
2010-01-26 08:42:37 +00:00
Carsten Haitzler f7a8067a66 more launcher test code.... and mapbuf object used by launcher test code.
SVN revision: 45575
2010-01-26 08:17:26 +00:00
Cedric BAIL 99cea068ba * ecore: Move ecore_job inside ecore.
Patch from Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com>.


SVN revision: 45570
2010-01-25 21:59:21 +00:00
Tiago Rezende Campos Falcao 435abed395 Adding Module Name to Externals
SVN revision: 45566
2010-01-25 20:30:39 +00:00
Iván Briano 6f6ebbfaa6 Remove unused variable and don't create icons if there's no icon set
SVN revision: 45564
2010-01-25 19:56:45 +00:00
Iván Briano 66d310cf5b Fix typo and prototype
SVN revision: 45559
2010-01-25 18:52:05 +00:00
Gustavo Lima Chaves 500a0ffdd7 Adding more size hints to external object's icons.
Patch by Fabiano Fidêncio.



SVN revision: 45553
2010-01-25 14:24:15 +00:00
Carsten Haitzler 0460f51cff new test.
SVN revision: 45545
2010-01-25 09:07:10 +00:00
Carsten Haitzler cb8c22cde4 genlist - get realized items call! add!
SVN revision: 45543
2010-01-25 05:54:31 +00:00
Carsten Haitzler dd7ed79b3c add test for floating objects (they can slide in etc. andnot be already
packed inside the view) and... fix issues with pan based objects clipping to
vieport etc. etc.



SVN revision: 45542
2010-01-25 03:53:36 +00:00
Christopher Michael 708ca2cb9f If we are setting the window as a quickpanel, set some other properties also
(focus, window type, skip_pager, etc).

Add function for setting quickpanel zone (zone integer being 0-based).



SVN revision: 45529
2010-01-24 20:05:09 +00:00
Christopher Michael 5a719b953d Add elm_win functions for get/set of quickpanel priorities.
SVN revision: 45511
2010-01-24 10:21:54 +00:00
Christopher Michael 23a8daed87 Add elm_win function(s) for get/set of quickpanel.
SVN revision: 45510
2010-01-24 10:12:57 +00:00
Carsten Haitzler 602a2db2d7 brian's button autorepeat core code.
SVN revision: 45504
2010-01-24 01:53:37 +00:00
Carsten Haitzler 591957a330 1. brian wang's patch for setting item count in a block, and homogenous
genlist mode, button repeat stuff. thanks very muchly

also - i added calc idler self-timer check. if it spends more than 1
frametime (time between frames - this is what it deems as "too much") on
calculation, then it breaks the idle and goes back to mainloop. could make it
half a frametime - but this will do for now.



SVN revision: 45479
2010-01-23 09:07:20 +00:00
Christopher Michael 93edc1c626 Reduce elm noise (add #if 0 around printf).
SVN revision: 45470
2010-01-22 23:04:01 +00:00
Iván Briano 507a2cde73 Icons for available externals, how exciting.
SVN revision: 45449
2010-01-22 20:07:47 +00:00
Carsten Haitzler 419472ac52 oops - back to 4. should make this configurable. but solutions is in comments
atm



SVN revision: 45441
2010-01-22 12:38:42 +00:00
Carsten Haitzler 29aab80df2 mouse up on icon emit clicked - fix.
SVN revision: 45440
2010-01-22 12:36:32 +00:00
Carsten Haitzler 9427ae2682 move scroll back to event handling - test
SVN revision: 45439
2010-01-22 12:02:39 +00:00
Carsten Haitzler 585b56485d bigger image! easier to see on high dpi!
SVN revision: 45436
2010-01-22 10:00:14 +00:00