Commit Graph

84 Commits

Author SHA1 Message Date
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
Carsten Haitzler 78d729a57b make symbol hiding actually work - fix some bugs, fixme's adjust bugs and
TODO, add exe history and actually use it etc.


SVN revision: 19313
2005-12-27 17:16:58 +00:00
Carsten Haitzler 71040b0586 module config dialog
SVN revision: 19089
2005-12-17 11:21:54 +00:00
Carsten Haitzler a3d5f5c28d a lot more use of stringshare.
SVN revision: 18823
2005-12-04 12:03:59 +00:00
Carsten Haitzler d8c635f964 more stringshare work
SVN revision: 18816
2005-12-03 15:39:25 +00:00
Carsten Haitzler 6dc9647fa8 handle NULL config strings. some of them anyway
SVN revision: 18616
2005-11-23 12:55:55 +00:00
Carsten Haitzler 58debcf280 also use util strcmp
SVN revision: 18182
2005-11-01 02:44:08 +00:00
Carsten Haitzler bdb2c25d5a if module doesnt init - give up.
SVN revision: 18181
2005-11-01 02:41:58 +00:00
tsauerbeck f31a511494 added valgrind support
SVN revision: 17245
2005-10-06 18:49:53 +00:00
sebastid 3902aa20ea Correct the icon for the dialog.
Correct the name for the button.
Focus the button.
(From ilLogict).


SVN revision: 17201
2005-10-05 16:44:41 +00:00
tsauerbeck 032de93a2e don't call ecore_file_get_dir() with NULL
SVN revision: 17088
2005-09-30 14:10:28 +00:00
sebastid 50fc338b77 Set functions to null since we close the handle
SVN revision: 17066
2005-09-29 14:11:03 +00:00
sebastid f4498d11a3 New modapi!
If a module fails to load, don't unload it. Mark it with an error flag,
and ask the user if he wants to unload it.


SVN revision: 16918
2005-09-24 13:42:05 +00:00
sebastid d22fe46e46 Set correct title.
SVN revision: 16877
2005-09-23 17:54:43 +00:00
sebastid 74f0aa00c7 Move module api check to module loader.
SVN revision: 16873
2005-09-23 17:13:47 +00:00
Dan Sinclair 9288298ae8 - move the common code to a function in the e_modules file.
SVN revision: 16851
2005-09-22 18:17:18 +00:00
Dan Sinclair 02a815f78a - remove config.h from e.h and put it into the .c files that need it.
e.h is an installed header so modules can be written outside the e tree.
  config.h isn't installed by e. so, if the module dosen't have a config.h
  and the local directory in their include path the build will fail.


SVN revision: 16719
2005-09-14 20:19:44 +00:00