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
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
Carsten Haitzler
111735b63d
1. add elm module internal code. will be used later for things like:
...
* putting policy into modules
* multitouch handling being able to be farmed off to modules
* farming off things that are not compatible with license/code of elm into a
3rd party piece of code via a clean defined interface API
2. fix doc image - dont need it
3. fix toolbar bounce settings. was wrong
SVN revision: 42793
2009-09-29 04:35:35 +00:00
Carsten Haitzler
031439f6d7
and another config value
...
SVN revision: 42668
2009-09-24 07:40:14 +00:00
Carsten Haitzler
c9036091d4
make these friction and config values
...
SVN revision: 42667
2009-09-24 07:35:54 +00:00
Gustavo Sverzut Barbieri
e78b32456a
e_hal_init/shutdown
...
SVN revision: 42634
2009-09-23 00:16:52 +00:00
Iván Briano
e8bf64d566
Improve documentation for Evas, Ecore, Edje and Elementary.
...
Work by:
- Thiago R. Masaki (mostly)
- Fabiano Fidencio
- Gustavo Lima
SVN revision: 42553
2009-09-17 22:39:18 +00:00
Carsten Haitzler
ac18afd6a8
add stderr for dlopen to help find issues
...
SVN revision: 42480
2009-09-14 04:20:51 +00:00
Carsten Haitzler
972b69bb98
1. efreet support.
...
2. edbus init - if u needit
3. efreet init - if u ned it
4. photo widget test/demo
5. icon desktop test... stuff!
SVN revision: 42434
2009-09-12 09:37:29 +00:00
Gustavo Sverzut Barbieri
3489ecb89b
better logging so users can understand why things do not work.
...
SVN revision: 42417
2009-09-11 15:02:07 +00:00
Gustavo Sverzut Barbieri
c4e74d9681
loggify message.
...
SVN revision: 42415
2009-09-11 14:51:25 +00:00
Gustavo Sverzut Barbieri
0d07a5208a
elm using logging, please use new macros.
...
SVN revision: 42409
2009-09-11 14:21:58 +00:00
Carsten Haitzler
580e3911a4
add public api to scroll freeze/hold
...
SVN revision: 42338
2009-09-08 04:40:27 +00:00
Viktor Kojouharov
5fb0b1e786
From: Viktor Kojouharov <vkojouharov@gmail.com>
...
Hi raster, glad you're back. I'm resending some elm patches your way. the
disabled_buttons.diff also needs bt_dis_base.png and bt_dis_hilight.png
from e17's b&w theme.
SVN revision: 41818
2009-08-16 11:35:55 +00:00
Vincent Torri
e2be9d2b24
remove trailing spaces
...
SVN revision: 41261
2009-07-07 06:46:51 +00:00
Cedric BAIL
29adfe9fc8
* elementary: Full switch to Eina data type.
...
SVN revision: 41081
2009-06-17 15:35:19 +00:00
Carsten Haitzler
714f1624f6
fix string for font path env var
...
SVN revision: 41011
2009-06-12 05:34:00 +00:00
Vincent Torri
bc87c3d18f
use the gdi engine on Windows. It has better rotation support.
...
This means that i have to fix ddraw engine :)
SVN revision: 40961
2009-06-08 07:07:21 +00:00
Carsten Haitzler
0106f9ac05
move getenvs to just before use
...
SVN revision: 40879
2009-06-03 14:30:32 +00:00
Carsten Haitzler
a4bf81cef2
elementary doc
...
SVN revision: 40781
2009-05-22 21:01:46 +00:00
Carsten Haitzler
93479d5499
multi-line the docs for main
...
SVN revision: 40744
2009-05-19 14:05:43 +00:00
Carsten Haitzler
29f28236bc
fix - missing call
...
SVN revision: 40742
2009-05-19 13:53:03 +00:00
Carsten Haitzler
20e0973f36
more docs!
...
SVN revision: 40741
2009-05-19 13:50:06 +00:00
Carsten Haitzler
9d7db82782
documentation... more! build! look vaguely ok
...
SVN revision: 40734
2009-05-19 09:29:20 +00:00
Carsten Haitzler
47b9b5bcfe
begin docs inline...
...
SVN revision: 40716
2009-05-18 06:08:53 +00:00
Carsten Haitzler
5c7e2ec144
1. fix box as it didnt hide clipper when it gets empty
...
2. add bouncing at ends for scroller and config for it
3. fix quicklaunch to be cserver-freidnly thanks to its fork tricks
4. add signals to scroller when scrolling and hitting edges
5. pants.
SVN revision: 40549
2009-05-08 11:27:32 +00:00
Carsten Haitzler
e74b5f1cb7
use more rediculously big double
...
SVN revision: 40525
2009-05-06 12:41:23 +00:00
Carsten Haitzler
73f3de55f4
patch from victor to make styles generic - not all widgets support them
...
tho... but calls to set style are now. old calls are left in place, but
likely will be phased out.
SVN revision: 40317
2009-04-23 04:03:27 +00:00
Carsten Haitzler
6e0c99e69f
fixes for some bugs i found, tree ability in genlist (basic not fully done
...
visually yet), and some win util calls added.
SVN revision: 39456
2009-03-13 05:50:38 +00:00
Carsten Haitzler
69440886fc
only build quicklaunch stuff if fork is found.
...
SVN revision: 39303
2009-03-01 09:33:41 +00:00
Carsten Haitzler
fbc56fe2fb
add fps setting.
...
SVN revision: 39272
2009-02-28 07:32:50 +00:00
Carsten Haitzler
e75be2e724
change argv[0] to match quicklanch process name. much better for debugging!
...
SVN revision: 39235
2009-02-26 06:20:41 +00:00
Carsten Haitzler
4e998eac34
1. setsid to children detech from parent
...
2. entry segv fix possibly
3. some formatting for list frees
SVN revision: 39225
2009-02-26 02:13:34 +00:00
Gustavo Sverzut Barbieri
d7829ccd3c
use EINA_LIST_FREE()
...
This macro helps releasing a list of elements in efficient and safe way.
SVN revision: 39217
2009-02-25 20:18:38 +00:00
Gustavo Sverzut Barbieri
d1d91b99df
Move eina list iterations to EINA_LIST_FOREACH variants.
...
By using these macros we can avoid errors and if we need to change
things, we do just in the macro definitions.
SVN revision: 39216
2009-02-25 19:50:45 +00:00
Gustavo Sverzut Barbieri
2e62b41b1b
major warning + cast cleanup.
...
* casts: remove internal "Item" and use "Elm_XXXX_Item" for carousel,
list, genlist and toolbar.
* warning: fix const on lots of getter apis, the object should be
const, and not the return! Of course lists that are returned and
are not supposed to be modified are still returned as const, but
maybe we should return iterators!
* list/genlist: fix selected_set() to be a bit (marginally)
faster. Do not operate if state has not changed and if it did
changed we're sure we're not in the object->selected list.
SVN revision: 39208
2009-02-25 15:54:26 +00:00
Carsten Haitzler
647ef9e4f0
that was silly. actually assign the val
...
SVN revision: 39204
2009-02-25 11:27:01 +00:00
Carsten Haitzler
da3167a027
fix finger size scale with ql
...
SVN revision: 39203
2009-02-25 11:19:49 +00:00
Carsten Haitzler
f7a18a3db9
add quicklauncher infra! elementary_testql uses this infra.
...
SVN revision: 39199
2009-02-25 11:00:07 +00:00
Carsten Haitzler
d88c4d4cab
make finger size match docs!
...
SVN revision: 39075
2009-02-18 05:32:47 +00:00
Carsten Haitzler
4aff7b184a
handle errors and use eina error print.
...
SVN revision: 39066
2009-02-18 00:29:07 +00:00
Carsten Haitzler
1099280784
fix some min size calc issues.
...
fix some theme size calc issues
make all widgets able to... do finger size! this way a ui can be tweaked with
1 value (finger size) if it is to be finger or mouse/stylus driven. and it
was so simple to add in.
work on genlist - beginning to display items and scroll.
SVN revision: 38995
2009-02-11 11:49:43 +00:00
Carsten Haitzler
a8043c0af7
and freee font path too.
...
SVN revision: 38915
2009-02-03 10:28:52 +00:00
Carsten Haitzler
77a09c957a
env vars for font path, image and font cache and even font hintingt
...
SVN revision: 38914
2009-02-03 10:27:52 +00:00
Carsten Haitzler
986fcca059
allow for all widgets.objects to have different scaling factors.
...
add tests for these
add tests for inheriting scaling factor from parent
fix test app to use list now instead of box+buttons (cleaner)
SVN revision: 38909
2009-02-03 05:09:03 +00:00
Vincent Torri
c5d296b658
add Windows XP support
...
SVN revision: 38701
2009-01-22 21:43:07 +00:00
Carsten Haitzler
90f79c27db
1. add carousel start - does nothnig. ignore. copy of toolbar atm to start with
...
2. make elementary be able to determine theme from
PREFIX/share/elementary/themes or ~/.elementary/themes (~/ takes preference)
currently using a delimited list of theme names in order to check like:
mytheme/fallback/morestuff/default
(if the last theme entry is on default it is added explicitly).
this allows multiple theme files bascially to work a bit like a fontset - try
the first one - if not there, try the next and so on. set $ELM_THEME to your
theme setting
3. determine prefix and thus data dir - where system themes go. if it can't
rely on dladdr, or the compiled-in prefix/data dir, you can set $ELM_PREFIX
and/or $ELM_DATA_DIR accordingly.
SVN revision: 38568
2009-01-13 09:20:53 +00:00
Vincent Torri
478ebffb67
Windows CE: use the gdi engine for now
...
SVN revision: 38537
2009-01-10 14:48:30 +00:00
Carsten Haitzler
f05d05fc0e
better kbd focus handling and inwin is there.
...
SVN revision: 38357
2008-12-30 16:19:46 +00:00
Carsten Haitzler
b3aab18f67
and vtorri's wince support for elementary. god forbid. we support windows! :)
...
SVN revision: 38214
2008-12-19 00:34:56 +00:00
Carsten Haitzler
56bb7d664a
toolbar in. not 100% done yet.
...
SVN revision: 38209
2008-12-18 13:38:58 +00:00
Carsten Haitzler
2decf1c941
and now it actually buidls and runs without x support.
...
SVN revision: 38078
2008-12-10 06:43:21 +00:00
Carsten Haitzler
2a41db988e
be able to build without x - so it should work on the fb.. and it does... at
...
leats my mouse and keyboard do - and windows are fullscreen of course... and
really you have a technical limit of 1 window... but hey! that's the fb!
SVN revision: 38077
2008-12-10 06:33:24 +00:00
Carsten Haitzler
08c021a0c6
handle changes in scaling... a bit...
...
SVN revision: 37654
2008-11-15 06:09:04 +00:00
Carsten Haitzler
2620040baa
for now turn off bgpixmap support.
...
SVN revision: 37399
2008-11-02 03:47:45 +00:00
Carsten Haitzler
a337a70cea
add background pixmaps to elm - faster draw/redraw on embedded :) (well..
...
expose events are less of a problem with latency. let's see how it looks).
SVN revision: 36715
2008-10-16 12:03:01 +00:00
Carsten Haitzler
c78abf03be
1. fix scale property fetch
...
2. add hover object - beginning to work. will be used to pop up menus/options
etc.
SVN revision: 36515
2008-10-08 06:38:20 +00:00
Carsten Haitzler
e8ef0d8bab
new elm api - more evas liek and evas/edje freindly. i can mvoe forward now.
...
SVN revision: 36487
2008-10-07 01:23:49 +00:00
Carsten Haitzler
51123a3452
elementary becomes its own tree/lib/test binary
...
SVN revision: 36343
2008-09-30 06:58:56 +00:00