Mike Blumenkrantz
2a8d593e8b
add handler for EFREET_EVENT_DESKTOP_CACHE_BUILD to e_order init
...
it's possible that during startup there will never be a CACHE_UPDATE
event, so ensure that an attempt to read occurs by watching this event too
2017-03-03 10:52:24 -05:00
Derek Foreman
73aecd73ab
Replace all timer_add with timer_loop_add
...
So yeah, I've literally used sed to replace every occurrence of
ecore_time_add() with ecore_timer_loop_add() because I'm reasonably
confident that no part of E has a legitimate need for timer based on the
exact current time.
It would be really nice if I'm not wrong. :)
The reason for this is the incredible spew of clock_gettime() calls I'm
seeing on an ARM system (that should have a vdso for gettime, but...)
This can amount to thousands of system calls per second.
#YOLO
2017-02-03 15:52:28 -06:00
Chris Michael
0a94e8ba71
enlightenment: Make E build again with EFL from git
...
sed -i 's/EAPI/E_API/g'
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:13:10 -04:00
Mike Blumenkrantz
471dcb24cb
__UNUSED__ -> EINA_UNUSED
...
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
2015-03-18 18:09:09 -04:00
Marcel Hollerbach
d0d0554170
e_order: Added a function to check if this Efreet entry allready exists
...
Checks if this Efreet_Desktop entry allready exists in the given
E_Order.
2014-11-25 16:18:06 +01:00
Sebastian Dransfeld
3b899f44fe
e: rename applications menu to fit xdg menu spec
2014-06-11 11:08:26 +02:00
Mike Blumenkrantz
ae7ca9105f
Hi,
...
here is a patch.
1. free() already null-checks the passed argument, so it is not
necessary to do 'if(x) free(x)'.
2. Moved some '{free(x); x = NULL}' to E_FREE.
3. In e_start_main.c, 'buf' is allocated with the size of the
two arguments + '=', so we don't need to check for lenght;
we should use sprintf().
thanks
Maxime Villard
SVN revision: 81364
2012-12-19 14:20:34 +00:00
Mike Blumenkrantz
d8edcec5f1
add function for cloning an e_order
...
SVN revision: 79683
2012-11-26 09:36:11 +00:00
Mike Blumenkrantz
33b4036d91
check for file:// when adding to .order file to ensure efreet desktop creation succeeds; fixes dnd with ibar
...
SVN revision: 76860
2012-09-19 12:58:01 +00:00
Mike Blumenkrantz
26ec69b213
formatting
...
SVN revision: 76859
2012-09-19 12:54:08 +00:00
Vincent Torri
c3b0637802
e17: whitespaces--
...
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Sebastian Dransfeld
0a0c4d5209
efreet: Revert changed flag
...
Only send event when cache is actually updated.
SVN revision: 62548
2011-08-18 07:34:02 +00:00
Sebastian Dransfeld
70ed1d3def
e: Ignore efreet cache update on no change
...
SVN revision: 62507
2011-08-16 12:46:47 +00:00
Michael BOUCHAUD
19bdb8b1df
e17: avoid segfault with no xdg menu
...
SVN revision: 59553
2011-05-20 16:19:53 +00:00
Carsten Haitzler
f23a9c7a17
make enlightenment.menu default if applications.menu not found.
...
SVN revision: 59360
2011-05-13 05:49:36 +00:00
Gustavo Sverzut Barbieri
6f2213cb25
convert init/shutdown to EINTERN, move some to _update().
...
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.
Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.
SVN revision: 54795
2010-11-22 15:21:32 +00:00
Sebastian Dransfeld
3c12d4daba
__UNUSED__ last
...
SVN revision: 54193
2010-11-05 18:40:31 +00:00
Christopher Michael
0f8e879386
Add UNUSED where needed.
...
SVN revision: 51359
2010-08-18 21:24:03 +00:00
Lucas De Marchi
6638a10e20
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
Cedric BAIL
c6a118d738
* e: remove warning due to Ecore API change.
...
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Carsten Haitzler
e266915a7b
just nuke 1 line.
...
SVN revision: 49386
2010-06-01 23:49:52 +00:00
Christopher Michael
b525c5defa
Fix formatting.
...
SVN revision: 48169
2010-04-20 18:48:42 +00:00
Sebastian Dransfeld
fadcb01bcb
efreet: better naming
...
SVN revision: 48034
2010-04-15 19:21:03 +00:00
Sebastian Dransfeld
3ad866ca96
e: This isn't true anymore
...
We get our own pointer from efreet util now.
SVN revision: 47517
2010-03-27 20:53:30 +00:00
Sebastian Dransfeld
779ef9e24a
Sync with efreet and some cleanup
...
SVN revision: 47478
2010-03-26 05:34:34 +00:00
Sebastian Dransfeld
be71ec56a9
We do free our efreet_desktop's
...
SVN revision: 46846
2010-03-03 22:10:44 +00:00
Sebastian Dransfeld
cdd86db6ac
Eet cache for efreet desktop
...
SVN revision: 46726
2010-03-01 18:16:32 +00:00
Carsten Haitzler
c5ab22f34a
delay order re-load from monitor signal
...
SVN revision: 46351
2010-02-22 08:04:41 +00:00
Cedric BAIL
f8c05999e4
* e: Cleanup use of Eina data structure.
...
Patch from Peter van de Werken <pwerken-e@a-eskwadraat.nl>.
SVN revision: 41916
2009-08-21 15:08:49 +00:00
Carsten Haitzler
96b6bd54dc
allow for explicitly selecting the system menu file - and tell efreet about
...
it, save/restore it etc. etc. and wizard page to ask for it. note: missing
norma config dialog to select this too!
SVN revision: 37099
2008-10-25 15:18:48 +00:00
Cedric BAIL
1087de2397
Remove Evas list and replace them with Eina list.
...
No change for ->next and ->data access right now, as the patch is already
big enough.
SVN revision: 36962
2008-10-22 11:49:33 +00:00
Cedric BAIL
3d6749983b
Switch to eina_stringshare.
...
This could also change the usage of string share in E17.
SVN revision: 36679
2008-10-15 15:12:56 +00:00
Miculcy Brian
30f57495c1
--old todo comment
...
SVN revision: 32861
2007-11-24 13:26:20 +00:00
Sebastian Dransfeld
6d53b0d420
ref and free desktops for .order files.
...
SVN revision: 30992
2007-07-26 12:29:52 +00:00
Sebastian Dransfeld
f89368f089
Update for changes in efreet.
...
SVN revision: 30987
2007-07-26 11:34:09 +00:00
Peter Wehrfritz
a6553c1a58
*API BREAK* see the discussion in the mailing list. misc and e_modules will follow
...
SVN revision: 30970
2007-07-25 17:01:04 +00:00
Sebastian Dransfeld
805f47b085
Fix warnings.
...
SVN revision: 30367
2007-06-17 07:38:48 +00:00
Christopher Michael
110cf7ab84
Patch from morlenxus to fix .order files that reference a full path.
...
SVN revision: 30302
2007-06-10 11:50:59 +00:00
Carsten Haitzler
b4fc1f0033
winlist patch from jeff - from bug tracker.
...
SVN revision: 30293
2007-06-10 03:51:20 +00:00
rephorm
9c31d7806d
New app selection dialog for ibar/favorites/etc.
...
Desktops are grouped by Category instead of using the applications menu.
SVN revision: 30265
2007-06-07 01:09:24 +00:00
Sebastian Dransfeld
a743981cf4
Don't need to listen for list change. The calls e_order uses should
...
discover the .desktop files whether the cache is filled or not.
SVN revision: 29457
2007-04-10 07:25:25 +00:00
Carsten Haitzler
7eacb34996
during startup ibar keeps re-filling all icons in a tight loop (though still
...
looping ecore) because efreet's idler keeps scanning icons and issuing change
events for everything. this slows things down a lot and causes ibar to be
inactive for a few seconds because icons are being deleted and re-created. i
have "paused" e_order updates until the first list change - that means the
idle scan cache fetch is over and operation is "normal" again - issue a big
change then anyway and so be up to date, but only on scan completion.
SVN revision: 29455
2007-04-09 23:12:24 +00:00
Sebastian Dransfeld
8d2fcce410
TODO++
...
SVN revision: 29422
2007-04-06 11:42:09 +00:00
Sebastian Dransfeld
7b1a6625c5
If a .desktop isn't in a standard location store the full path in the
...
.order file.
SVN revision: 29421
2007-04-06 11:41:23 +00:00
Sebastian Dransfeld
35e12e2e94
Listen for changes in .desktop files.
...
SVN revision: 29420
2007-04-06 11:21:34 +00:00
Sebastian Dransfeld
a2cef5a9ac
Check that path exist before writing to it.
...
SVN revision: 29401
2007-04-05 23:28:34 +00:00
Sebastian Dransfeld
4837644559
Don't stringshare NULL
...
SVN revision: 29400
2007-04-05 23:27:15 +00:00
Christopher Michael
e8aa8ed20b
Remove NULL path check so we can create new .order files if they do not exist.
...
SVN revision: 29399
2007-04-05 23:14:25 +00:00
Sebastian Dransfeld
74ab197e1b
Don't del order objects on shutdown, it's the job of the creators.
...
SVN revision: 29363
2007-04-05 06:06:39 +00:00
Sebastian Dransfeld
4d0bd7c9b5
Keep track of order objects.
...
SVN revision: 29358
2007-04-04 22:25:41 +00:00