Commit Graph

200 Commits

Author SHA1 Message Date
Mike Blumenkrantz 47162b2c2a module loading now enforces priority for user directories; at some point we should probably figure out how to set up a priority list for /usr/lib vs /usr/local/lib and such
SVN revision: 83206
2013-01-24 08:16:10 +00:00
Mike Blumenkrantz 18bd14af98 module error dialog is no longer remembered across restarts: this caused a crash for me on two different machines, so there's another strange and related bug here somewhere...
SVN revision: 83126
2013-01-23 08:25:54 +00:00
Mike Blumenkrantz 1c4aec432d track module directories, add api for fetching module .desktop files
SVN revision: 82819
2013-01-15 15:33:39 +00:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Mike Blumenkrantz 3d6d8f969c e modules no longer require shutdown or save functions; this should clean up module code a little bit
SVN revision: 82552
2013-01-10 11:31:17 +00:00
Mike Blumenkrantz e5e937b2c2 add conf_comp to module whitelist, use right name for comp module in other places
SVN revision: 82541
2013-01-10 10:03:10 +00:00
Mike Blumenkrantz 0296927048 autoremove comp module from e_config if it was previously existing there
SVN revision: 82528
2013-01-10 08:28:50 +00:00
Mike Blumenkrantz c9aaacdb35 completely block modules named composite from being loaded
SVN revision: 82522
2013-01-10 08:14:15 +00:00
Lucas De Marchi 5efeaedf21 e: remove dropshadow module
dropshadow module conflicts with composite, which will be always enabled
by future commits. Remove the module to allow turning composite as
always-enabled.



SVN revision: 82224
2013-01-04 18:35:22 +00:00
Lucas De Marchi 9a101b9777 e/bluez4: cleanup and fixes
- Change module name in whitelist. Its name is bluez4 since it only
   supports bluez 4 API. The day it (automatically) also supports bluez 5,
   we rename it back.
 - Use eina_stringshare_replace when possible
 - Change huge if (strcmp(icon, "...") return "....." with a table.
 - Don't use stringshare when not needed. There's no reason to
   stringshare the icon, just use the static const ones
 - Sanitize edbus method table
 - Remove bogus NONE entry after NULL in services table
 - Fix coding style
 - Generalize _unset_dev() to work with any list



SVN revision: 82208
2013-01-04 16:13:43 +00:00
Lucas Joia c83d114491 e appmenu: Initial commit of module that show application menus exported by dbus
Patch by: Lucas Joia <lucasjoia@profusion.mobi>



SVN revision: 82178
2013-01-04 13:48:45 +00:00
Mike Blumenkrantz 9e207e6f92 conf2
SVN revision: 82078
2013-01-03 14:47:21 +00:00
José Roberto de Souza 53f67fa86b e/music-control: Add gadget GUI
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 81989
2013-01-02 13:19:49 +00:00
Mike Blumenkrantz 56ef3c37d2 add echievements to module whitelist: I (and others) maintain the hell out of this, so I consider it a real bug if there's a crash
SVN revision: 81633
2012-12-22 10:32:30 +00:00
Mike Blumenkrantz 00cac2c0a4 add function for determining whether modules are still loading
SVN revision: 80640
2012-12-11 10:30:06 +00:00
Mike Blumenkrantz 1eda0a3417 some text fixes from thomasg
SVN revision: 79910
2012-11-30 15:39:17 +00:00
Mike Blumenkrantz 0f46bd2d98 module update event module name is now stringshared
SVN revision: 79691
2012-11-26 10:30:00 +00:00
Cedric BAIL 86d6551006 e: use X property for E_TAINTED to and fix parsing of message to.
SVN revision: 78694
2012-10-31 09:00:23 +00:00
Cedric BAIL 0c356af7e2 e: make it less anoying. Now E17 also remember you tainted it.
SVN revision: 78148
2012-10-18 06:26:57 +00:00
Carsten Haitzler 90b6406b04 add module whitelist with complaints about modules that are not e's
set. after yet more repords of bugs from modules not in core.



SVN revision: 78045
2012-10-16 10:42:01 +00:00
Carsten Haitzler 35773a3241 add config for disabling delayed modules. this actually drastically
speeds up e startup - but this i mean the shelf comes up instantly
populated rather than taking 2 or 3 seconds to figure its life out.



SVN revision: 77558
2012-10-07 10:01:14 +00:00
Sebastian Dransfeld 80b0b615b8 e: Cleanup
Fixes potential invalid memory reads.

Patch by Igor Murzov

SVN revision: 77491
2012-10-04 23:27:01 +00:00
Mike Blumenkrantz 2c53d5b46f ensure e modules end in .so before trying to open them
SVN revision: 77242
2012-10-01 07:30:06 +00:00
Mike Blumenkrantz de494950d0 only print module timing info for modules that successfully load
SVN revision: 75662
2012-08-24 13:34:25 +00:00
Mike Blumenkrantz bc6ec24ec1 no need for strcmp here since these are stringshared
SVN revision: 75658
2012-08-24 13:00:28 +00:00
Mike Blumenkrantz a8beb0950c fix usage of PATH_MAX when not working with files
SVN revision: 75518
2012-08-22 07:02:41 +00:00
Mike Blumenkrantz 2850c28167 add more startup timing info for non-debug builds so people can see what the real startup time of e is
SVN revision: 74469
2012-07-27 06:43:14 +00:00
Mike Blumenkrantz 0f09ff1e46 change delayed module idler to idle enterer to increase responsiveness during startup
SVN revision: 74426
2012-07-26 08:38:32 +00:00
Mike Blumenkrantz 325aaa82ad fix module error dialog text to make more sense
SVN revision: 74415
2012-07-26 06:47:12 +00:00
Mike Blumenkrantz ffd62128c3 formatting
SVN revision: 73149
2012-07-02 10:35:16 +00:00
Chidambar Zinnoury f9e2aba1d4 e dialogs: some more Yes → action label updates.
SVN revision: 72903
2012-06-26 23:23:11 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Vincent Torri c30aaf8dde e17: remove some shadow variables
SVN revision: 70190
2012-04-15 08:09:56 +00:00
Christopher Michael a85cbce2cb E: Use e_util_env_set (more portable). Fix formatting.
SVN revision: 61616
2011-07-23 18:10:11 +00:00
Carsten Haitzler f09e917e18 fix case where we could have x fatal stuff happen during shutdown or
we try use x on shutdown when x io fatal conditions have happened.
x_fatal flag around for that now too. tested. seems to now be happy
and not cause aborts on shutdown when x has gone.



SVN revision: 57075
2011-02-16 05:20:13 +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 3d1a299e06 Let efreet icon return const
We return a pointer to an internal cache, so no need to do strdup. I we
implement a cache, the pointer will be a return from a mmap'ed file, so
no need to do strdup.

A bit late to do an API break, but must be done.

SVN revision: 54372
2010-11-09 20:15:55 +00:00
Sebastian Dransfeld 3c12d4daba __UNUSED__ last
SVN revision: 54193
2010-11-05 18:40:31 +00:00
Lucas De Marchi 25113159a5 Fix common misspellings
Some misspellings were manually reverted since in E there are tons of .po with
phrases in other languages. Other than that all the changes in the following
files were reverted:

 * src/modules/illume/dicts/English_(US).dic
 * src/modules/illume-keyboard/dicts/English_(US).dic


Following misspellings were fixed:

acquited->acquitted
adres->address
adress->address
alreayd->already
aquire->acquire
arbitarily->arbitrarily
cant->can't
Capetown->Cape
carefull->careful
causalities->casualties
Celcius->Celsius
certian->certain
commandoes->commandos
considerd->considered
conveyer->conveyor
dependant->dependent
didnt->didn't
discontentment->discontent
doesnt->doesn't
everytime->every
exemple->example
existance->existence
existant->existent
existince->existence
Farenheit->Fahrenheit
forbad->forbade
funguses->fungi
guage->gauge
guerilla->guerrilla
guerillas->guerrillas
happend->happened
hasnt->hasn't
heros->heroes
inbetween->between
independant->independent
inital->initial
intrusted->entrusted
irregardless->regardless
isnt->isn't
knifes->knives
layed->laid
loosing->losing
marrage->marriage
midwifes->midwives
miniscule->minuscule
monickers->monikers
mroe->more
noone->no one
occured->occurred
omre->more
paralell->parallel
payed->paid
planed->planned
quitted->quit
quizes->quizzes
seperated->separated
seperate->separate
shoudl->should
similiar->similar
simplier->simpler
specifiying->specifying
teh->the
toke->took
torpedos->torpedoes
Tuscon->Tucson
unecessary->unnecessary
useage->usage
usefull->useful
useing->using
waht->what
wanna->want
whith->with
wich->which
withing->within




SVN revision: 52006
2010-09-08 23:59:07 +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
Christopher Michael a824c8a731 Fix formatting & remove whitespace.
SVN revision: 48349
2010-04-26 21:50:53 +00:00
Miculcy Brian b7c95b0a13 When e segfaults during startup (module load), e now disables that module correctly after a restart and tells the user about that. TODO: Disable all modules correctly when not sure which one did the segfault during startup...
SVN revision: 48332
2010-04-26 16:31:33 +00:00
Sebastian Dransfeld 66b667f273 Use efreet_desktop_new where appropriate
efreet_desktop_get (will in time) setup a lot of stuff to monitor
changes. If we just use the results from efreet_desktop_get within one
function and then free, this is unneeded overhead. efreet_desktop_free
will more lightweight (but require a bit more mem alloc).

SVN revision: 46847
2010-03-03 22:10:55 +00:00
Carsten Haitzler 6b09578e94 dont unload - restarts handle that. too unsafe.
SVN revision: 45627
2010-01-27 15:18:51 +00:00
Hannes Janetzek 91211ef9c4 reopen fileman and dialog windows after restart of e.
- modules using e_configure_registry_add must be modified to 
  use registry path as window class for this to work
- fileman now uses e_remember to remember position instead of 
  handling it separately
- added option to window remember for remembering dialogs and 
  fileman windows automatically


SVN revision: 42607
2009-09-21 20:36:35 +00:00
Hannes Janetzek f9477d5e94 --printf, once again..
SVN revision: 42268
2009-09-04 20:41:00 +00:00
Hannes Janetzek 53a673b1e9 fix module unload issue: maybe there are some more places where EINA_LIST_FREE interferes with e_object_del
SVN revision: 42267
2009-09-04 20:26:25 +00:00
Hannes Janetzek 0b2176414b --printf
SVN revision: 42263
2009-09-04 19:43:41 +00:00
Hannes Janetzek df467eb82d e17:shutdown all modules
SVN revision: 42262
2009-09-04 19:43:10 +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
Christopher Michael 7481612296 Formatting & whitespace removal
SVN revision: 40259
2009-04-21 02:07:06 +00:00
Davide Andreoli eb2d1db1dc Icon rename finished. Now we have a fully compliant icon theme :)
now I'm going to fix E-MODULE-EXTRA...


SVN revision: 39495
2009-03-15 17:41:46 +00:00
Davide Andreoli fc66fc7c73 More icon renamed, for more info look at default.edc (around line 22650). I'm keeping there a mapping between e old names and fdo ones.
SVN revision: 39374
2009-03-05 02:39:50 +00:00
Cedric BAIL db419867dd * estickies,
* etk,
	* PROTO/exalt,
	* E-MODULES-EXTRA/diskio,
	* E-MODULES-EXTRA/drawer,
	* E-MODULES-EXTRA/penguins,
	* E-MODULES-EXTRA/slideshow,
	* E-MODULES-EXTRA/mail,
	* E-MODULES-EXTRA/forecasts,
	* E-MODULES-EXTRA/iiirk,
	* E-MODULES-EXTRA/places,
	* e,
	* ewl,
	* ecore,
	* elitaire,
	* entrance,
	* e_dbus,
	* efreet: Here we go, move from Ecore_List to Eina_List.

	NOTE: This patch is huge, I did test it a lot, and I hope nothing is
	broken. But if you think something change after this commit, please
	contact me ASAP.


SVN revision: 39200
2009-02-25 11:03:47 +00:00
Cedric BAIL 773d102291 This commit is huge. I did test it a lot on my computer, and it run fine here.
But is so big i fear i could have broken some piece of code. So report any wrong
behaviour to me (cedric on #edevelop).

So moving e17 and efreet to eina_hash. With a little efreet API break so they
must come together.


SVN revision: 38185
2008-12-17 15:33:43 +00:00
Carsten Haitzler 16b2dc8697 make extra syscon actions able to be disabled.
illume disables its extra syscon actiosn when they are not appropriate
fix next/prev window list buttons to really keep a logical order going
correctly.



SVN revision: 37813
2008-11-27 01:50:00 +00:00
Sebastian Dransfeld 92ff3dab37 Fix callback for list sorting.
SVN revision: 37202
2008-10-27 07:33:21 +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
Sebastian Dransfeld 3199439ed8 fix against efreet API breakage
SVN revision: 35492
2008-08-14 20:49:37 +00:00
Carsten Haitzler 0a8ffffa5f add in gadman for desktop. happy dave! :)
SVN revision: 34610
2008-05-19 04:37:34 +00:00
Carsten Haitzler 65438bc3ab printf--
SVN revision: 33918
2008-03-04 12:20:50 +00:00
Carsten Haitzler d2efd2f4c1 and shut down modules in 2 runs. 1. disable and save, then actually free.
SVN revision: 33917
2008-03-04 11:48:39 +00:00
Carsten Haitzler ac82ddd658 if a module entry is null - skip it safely. same with name of module being
null..


SVN revision: 33575
2008-01-24 00:56:21 +00:00
Carsten Haitzler 6840a4f977 boys and girls... animals and vegetables... pokemon and spatial anomolies
lend me your ears, for i come to break code, not to praise it!

module api getting kicked about. 1. modapi calls for config and about are gone
core module api call for about dialog gone (not needed anymore). use module
.desktops for about info in description. config should go via the config
panel calls to register stuff.... wherd... to... ma homieoes!


SVN revision: 32231
2007-10-31 12:21:02 +00:00
Carsten Haitzler a960cd070b move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will
probably die as it's already got legacy funcion methods for layer etc. stuff.


SVN revision: 31161
2007-08-04 13:12:43 +00:00
Sebastian Dransfeld 80d118c3e9 formatting
SVN revision: 31129
2007-08-03 05:34:33 +00:00
Carsten Haitzler 9bdd051457 add delayed module loading in idle time. moduels can register if they
should/can be delayed or not.


SVN revision: 31087
2007-07-29 10:24:56 +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
Christopher Michael 8c20c3a819 Add an event for when a module gets loaded/unloaded. Event structure consits
of module name, and a bool for enabled/disabled. This allows the 'Shelf
Contents' dialog to be dynamically updated when a module loads/unloads.

Change Modules config dialog to use an event.


SVN revision: 30839
2007-07-16 02:15:37 +00:00
Christopher Michael bd51b88a80 Remove unused struct (left over from when modules were listed in the menu)
SVN revision: 30838
2007-07-16 01:29:25 +00:00
Sebastian Dransfeld 318788a78c Safe looping on shutdown.
SVN revision: 29368
2007-04-05 11:51:35 +00:00
Sebastian Dransfeld f6dc1dc1cc Remove stale code.
Fix comments.


SVN revision: 29159
2007-03-25 22:45:00 +00:00
Sebastian Dransfeld f072a0b62d Although modules use .desktop files, they are not E_Apps.
Use Efreet_Desktop directly on the .desktop files.


SVN revision: 28993
2007-03-24 09:27:40 +00:00
Sebastian Dransfeld 17c1154371 Remove old code.
SVN revision: 28984
2007-03-24 07:02:09 +00:00
Sebastian Dransfeld 72faedfbe3 Formatting
SVN revision: 28963
2007-03-23 18:34:28 +00:00
Sebastian Dransfeld 5c4c704dea #if 0 unused code.
SVN revision: 27598
2006-12-28 14:15:10 +00:00
Sebastian Dransfeld 941564999b Fix border icon drag.
e_app_* functions should have E_App arg first.


SVN revision: 27593
2006-12-28 13:43:30 +00:00
David Walter Seikel 0973d242c0 Removed some more obsolete .eap code.
SVN revision: 26553
2006-10-12 14:27:52 +00:00
Carsten Haitzler 1f561a3ca2 printf--
SVN revision: 25357
2006-09-02 12:52:20 +00:00
Carsten Haitzler 2546e3536c fix module dialog icons
SVN revision: 25356
2006-09-02 12:51:29 +00:00
David Walter Seikel 9b37ece08c module.desktop almost working, but e_module_dialog_show has issues with
it.  Probably something silly.


SVN revision: 25346
2006-09-02 11:58:53 +00:00
David Walter Seikel 1a54ae1937 Oops--
SVN revision: 25337
2006-09-02 10:01:55 +00:00
David Walter Seikel 816872b607 Modules can use module.desktop instead of module.eap now. module.edj is
also currently supported for those too lazy to write a .desktop, just
rename your module.eap.


SVN revision: 25332
2006-09-02 09:19:19 +00:00
Carsten Haitzler a9e7340190 you're all goign to kill me :) but here goes - i broke the dialog and config
dialog api's - added name and class params so u can set the name and class -
so users can later use things like rememebr to rememebr where a dialog will
go for usability and convenience.


SVN revision: 24691
2006-08-14 15:22:46 +00:00
sebastid 904af4dfdc Remove old comment
SVN revision: 24458
2006-08-08 01:46:41 +00:00
Carsten Haitzler bcce7b2397 detect crashes at startup or early and enable "safe mode" so if you hit
restart e will not load modules - maybe safe mode should also restore default
theme and other things too later...


SVN revision: 24321
2006-07-30 19:34:05 +00:00
Christopher Michael 9911cc4fc3 Fix module api warning dialog. The params were switched. Should read better
now.


SVN revision: 23723
2006-07-05 21:23:42 +00:00
Christopher Michael 73a7ba6011 As per HandyAndE request, this patch gives ability for modules config
dialogs to show their icon in their config dialog by passing in the
module_eap path to the config_dialog_new function as the icon parameter ie:

e_config_dialog_new(con, module_name, eap_path, 0, v, data);

Update E core modules to use this ability.
Fix dropshadow config dialog to fit in 640x480.


SVN revision: 23682
2006-07-03 07:35:44 +00:00
Christopher Michael cfcb069c8f If we Do have the eap, then we can set the dialog icon to it.
SVN revision: 23666
2006-07-02 19:34:51 +00:00
Christopher Michael 98336582fa This is slightly better, allows for passing module as NULL, and still
getting a generic module_dialog.


SVN revision: 23664
2006-07-02 19:25:34 +00:00
Christopher Michael 17475003db Module about dialogs now show the module icon in the dialog, and the border.
Note: This breaks e_modules until I get them fixed.


SVN revision: 23660
2006-07-02 18:55:33 +00:00
Carsten Haitzler 3a2144cad0 nice little overhaul of module related stuff. moduels now finally RELY on
module.eap files being installed - and using the e_apps api to load them and
ask for a name. Also icon is expected to be in this file too and i have
removed the info func call from modules as well as config_menu, module menus,
and other cruft in moduel structs. this also means revving the module api
version and saving users from a "if i recompile it will work" thing. :)
moduels need serious updates, not just a recompile for this. your modules
WILL break.


SVN revision: 23045
2006-06-01 06:44:37 +00:00
stffrdhrn 218717c8dc Clean up compile warnings:
* char * -> const char * for stringshare strings
 * char * -> const char * where needed in functions
 * remove unused vars in some places


SVN revision: 20912
2006-03-02 12:03:48 +00:00
Carsten Haitzler 47e7c5f243 cross-compile fixes, (odd that this didnt screw up before when i did some
cross-compiling of e for arm), illogict patches too :)


SVN revision: 20552
2006-02-18 04:35:35 +00:00
Carsten Haitzler ebf9cca1ed ok - turn off visibility stuff for e -0 for some reason just the dropshadow
module has problems with memcpy and memset... but its identical to everything
else and i dont see why it doesnt work and others do... weird.


SVN revision: 19679
2006-01-10 04:23:43 +00:00
sebastid 6a638a7806 Fix EAPI warnings.
SVN revision: 19597
2006-01-07 10:39:46 +00:00
handyande 63ccd7f154 It seems to me that the dlerror here is not useful, so this replaces the (null) that always seems to be printed
SVN revision: 19418
2005-12-30 12:49:45 +00:00