Commit Graph

107 Commits

Author SHA1 Message Date
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
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 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
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
Sebastian Dransfeld f1ff260f2d efreet_util_init gone
SVN revision: 47512
2010-03-27 19:58:21 +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 5d36cbef7a allow elm_init() being called with NULL argc/argv.
SVN revision: 47496
2010-03-27 01:19:05 +00:00
Gustavo Sverzut Barbieri 06d14ed245 const and -Wextra, come on guys! :-/
SVN revision: 47409
2010-03-24 03:06:00 +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
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
Carsten Haitzler 27a1fc9a9c more warning--
SVN revision: 47099
2010-03-10 06:46:28 +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 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
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
Carsten Haitzler a50e54830e hmm that should have been argv i think
SVN revision: 46759
2010-03-02 01:14:36 +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
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 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
Lionel Landwerlin b73c6c1aec From: Lionel Landwerlin <llandwerlin@gmail.com>
Subject: [E-devel] [PATCH] Elementary: Added directfb support



SVN revision: 45331
2010-01-19 15:34:24 +00:00
Carsten Haitzler 06d2876baf well it needed to be done finallly - elm has config files and profiles - just
like big brother e.



SVN revision: 45280
2010-01-18 09:38:52 +00:00
Carsten Haitzler d574bf68f7 1. fix list theme adapting - simply never got callbac ks to handle iot,
that's why!
2. make cmd-line tool to set scale, theme, finger size (more later) - used
this to test this and fix it.
3. cmd-line tool... also uses elm - and... as a result... also has a dialog
sayint its doing something - and... it can get a gui config later too!



SVN revision: 45175
2010-01-15 09:32:43 +00:00
xcomputerman 9e644e73a2 Add in SDL support (needed for WebOS). Admittedly this has not been actually checked out yet,
but it will be shortly and it does no evil


SVN revision: 45080
2010-01-13 08:17:15 +00:00
Carsten Haitzler cc406d10dd add unfocus call.
SVN revision: 45012
2010-01-10 02:18:50 +00:00
Vincent Torri c9f4c5b56d fix spelling. Patch by 'misc'
SVN revision: 44943
2010-01-07 08:00:49 +00:00
Gustavo Sverzut Barbieri 0feec55afb elm_policy_set() and friends. easy way to quit app when last window is closed.
SVN revision: 44090
2009-12-01 13:32:48 +00:00
Carsten Haitzler 07eee5720e use all dem cursor api's... and module it up bro
SVN revision: 44088
2009-12-01 11:03:14 +00:00
Vincent Torri 787cc28cff elm_object_scale_set() returns nothing
SVN revision: 44043
2009-11-29 16:02:05 +00:00
Christopher Michael 956b35a669 Set edje frametime once during init
Set edje scale once during init.



SVN revision: 43695
2009-11-15 01:52:25 +00:00
Carsten Haitzler 97f0feec59 add extra safety checks.
SVN revision: 43199
2009-10-22 12:08:20 +00:00
Carsten Haitzler 0f07a18010 allow/disallow focusing of objects explicitly
SVN revision: 43193
2009-10-22 08:04:34 +00:00
Carsten Haitzler 71f6c6475c fix #ifdef - thanks to Vincent Pomageot for spotting it
SVN revision: 42959
2009-10-08 09:31:15 +00:00