Commit Graph

138 Commits

Author SHA1 Message Date
Carsten Haitzler 5400a9a7f1 elm theme can be copied, referenced and theme flush tries to ONLY
flush a specific theme if told so (and only those widgets and their
children).



SVN revision: 54169
2010-11-05 08:37:31 +00:00
Gustavo Lima Chaves e5ddc241f4 New elm config app's option: engine setting.
SVN revision: 54082
2010-11-01 21:10:14 +00:00
Gustavo Lima Chaves e667a17bc8 Switching elm config's engine variable from enum to string ptr.
SVN revision: 54081
2010-11-01 21:10:07 +00:00
Gustavo Lima Chaves 5113b69035 Elementary profiles managing revamped. Most importantly:
Changes in Elementary Config application's UI now *persist*.
Not doing right now, but should be simple:
- profile deletion
- profile addition



SVN revision: 53977
2010-10-28 20:57:44 +00:00
Carsten Haitzler ef82b1451c 1. need calls return runtime failure if elm doesnt have the feature.
2. elm config dont use desktops if no efreet.



SVN revision: 53945
2010-10-28 04:13:09 +00:00
Tiago Rezende Campos Falcao 116cd3c6dc Setters/Getters fix 1.
Setters can't receive const pointers.
All setter need corresponding getter.

In this patch, i adjust getter in: Bg, Box, Icon, Image, Win and Main.

SVN revision: 53917
2010-10-27 14:38:37 +00:00
Gustavo Lima Chaves 1a0fae3aa9 Little changes at elm profile functios + some new free()-ing helpers.
SVN revision: 53878
2010-10-25 17:36:07 +00:00
Gustavo Lima Chaves b02dd546a4 Profile selection at Elementary config app.
New heading for persistent profile changes/editions.



SVN revision: 53868
2010-10-25 13:08:19 +00:00
Tiago Rezende Campos Falcao 4672a51b0c Remove tests == 0 and != 0
SVN revision: 53787
2010-10-22 21:41:27 +00:00
Tiago Rezende Campos Falcao 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Tiago Rezende Campos Falcao ece2114120 Review type checkers in main and widget
SVN revision: 53732
2010-10-21 18:58:40 +00:00
Carsten Haitzler e05bdd09d7 aaah fix non quicklaunch mode too.
SVN revision: 53703
2010-10-21 04:05:35 +00:00
Carsten Haitzler ebf05b3c57 revert!!!!!!!
SVN revision: 53702
2010-10-21 01:10:30 +00:00
Tiago Rezende Campos Falcao fff738fbe8 Removing more warnings
Using: -Werror -W -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat
-Wformat-security -Wmissing-format-attribute -Wpointer-arith
-Wreturn-type -Wundef -Wwrite-strings

SVN revision: 53683
2010-10-20 17:15:14 +00:00
Gustavo Lima Chaves b577a405d6 Raster?
SVN revision: 53680
2010-10-20 16:51:20 +00:00
Carsten Haitzler 35e9272f4d quicklaunch works again. yes - it's semi-broken. but it works.
SVN revision: 53669
2010-10-20 14:12:17 +00:00
Tiago Rezende Campos Falcao b8ac8c0e80 Added focus_direction_go entry in API.
Also, exported the focus_cycle.

SVN revision: 53659
2010-10-20 12:38:27 +00:00
Bruno Dilly b74069f814 Fix some Wextra complains on elm edje-externals
SVN revision: 53637
2010-10-19 18:25:57 +00:00
Bruno Dilly a109dce782 Fix some wextra complains on elm lib
SVN revision: 53635
2010-10-19 18:24:27 +00:00
Tiago Rezende Campos Falcao b0694a1817 Include docs to focus cycle.
SVN revision: 53618
2010-10-19 14:17:03 +00:00
Tiago Rezende Campos Falcao 3e0c947cde Elm_object_focus give focus to one focusable obj.
SVN revision: 53206
2010-10-08 20:16:52 +00:00
Eduardo de Barros Lima 15d98ebdff Elementary: Don't #define _GNU_SOURCE
Use proper AC_GNU_SOURCE macro in configure.ac instead.



SVN revision: 53168
2010-10-07 21:34:43 +00:00
Tiago Rezende Campos Falcao d959e612eb Adding custom chain to focus.
Added set, get, unset, prepend and append (relative or not).

Set - overwrite the custom chain
Unset - Delete the custom chain
Get- Return the custom chain
Append - append after the relative object or in the end
Prepend - prepend before the relative object or in the start

SVN revision: 53115
2010-10-06 20:24:22 +00:00
Tiago Rezende Campos Falcao a11d03a921 Adding method to output the elm obj tree in dot.
This Debug search all subobjects from one object and put in file all
sub-tree of elementary objects as dot language in file. After you can
use dot(from graphviz) to generate PNG, SVG,... diagram of objects.

SVN revision: 53035
2010-10-04 18:37:48 +00:00
Iván Briano e8ef45befb Focus highlight kinda configurable. More to come when discomfitor feels like implementing it
SVN revision: 53031
2010-10-04 16:55:32 +00:00
Tiago Rezende Campos Falcao 3b04b52ba4 Adding debug option in elementary.
SVN revision: 52966
2010-10-01 19:03:23 +00:00
Tiago Rezende Campos Falcao 66d585a905 Elm_widget_can_focus only return if can have focus.
If want the old comportament, use elm_widget_can_focus_receive_get()

SVN revision: 52684
2010-09-24 14:47:52 +00:00
Christopher Michael 31a6482f50 Minor formatting fix.
SVN revision: 52556
2010-09-21 20:09:29 +00:00
Carsten Haitzler f97edfdd90 move some of quicklaunch into the sub init to reduce fd inheriting
chances. still ecore is an issue.



SVN revision: 52271
2010-09-14 21:58:48 +00:00
Brett Nash ecddd92903 Allow multiple calls to need_ethumb, efree and edbus without messing
everything up.

SVN revision: 52235
2010-09-14 07:01:57 +00:00
Carsten Haitzler 68f5b4119b oooh big cleanup. internal elm widget api cleaned up a bit.
SVN revision: 52178
2010-09-13 07:56:23 +00:00
Lucas De Marchi 3e8419285d Fix common misspellings
Following misspellings were fixed:

accomodate->accommodate
alwyas->always
backgorund->background
beween->between
dependant->dependent
desireable->desirable
doesnt->doesn't
emmitted->emitted
imediately->immediately
ocurred->occurred
sucess->success
ther->the
tranformed->transformed
usefull->useful



SVN revision: 52009
2010-09-09 00:35:43 +00:00
Lucas De Marchi c6a4ea9d2f Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Christopher Michael c391c9c86a Spelling.
SVN revision: 51469
2010-08-20 17:10:35 +00:00
Carsten Haitzler 67b635e782 wonguk -> happy?
SVN revision: 50980
2010-08-10 23:58:57 +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
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 85b65fedf4 expose drag lock (x and y axis).
SVN revision: 49963
2010-07-01 06:59:30 +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
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
Cedric BAIL bdf6efa129 * elementary: fix Ecore API changes.
SVN revision: 49860
2010-06-25 09:58:14 +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
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
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 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 fa58ea8625 elm... version too!
SVN revision: 49284
2010-05-29 09:48:05 +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
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
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