Commit Graph

50 Commits

Author SHA1 Message Date
Carsten Haitzler 2ad7ada913 working on mime typeopening off apps on files and startup instrumentation is
complete


SVN revision: 26737
2006-10-22 02:14:08 +00:00
David Walter Seikel 00dbaa6935 Rationalise the icon code a bit.
SVN revision: 26333
2006-10-03 15:51:58 +00:00
David Walter Seikel d34318fae3 *Idle icon scanning, but it's nsot ready yet, so it's #if'ed out.
*Minor cache tweaks.

*Bit more instrumentation so I can see what the cache code is doing.


SVN revision: 26281
2006-10-01 18:34:54 +00:00
David Walter Seikel 24ff102f10 An idler task to fill in E_App data.
SVN revision: 26229
2006-09-30 07:46:55 +00:00
David Walter Seikel d97e242d0f If the icon was hard coded into the Icon field of the .desktop file,
then we ignore the FDO theme and search algo.


SVN revision: 26218
2006-09-29 12:27:02 +00:00
David Walter Seikel 5f41757cf5 *Once an icon has been found, or found to not exist, save that info in
the E_App, update related aE_Apps, and send trigger change callbacks.

*Have all E_Apps stored in a hash of paths for faster lookup.

*Don't read in all the details of every app at startup, but do scan the
all directory so that we at least know the filenames.  Read in details
when needed.

*When searching the non path info of apps, read in data as needed.

Most app things should be faster now.  Some things may be slower, and
much more testing / tweaking will be done.


SVN revision: 26213
2006-09-29 08:55:39 +00:00
David Walter Seikel cbc5e0f577 Check if the icon theme is different when searching for icons. Keep
track of changes to the icon path in readiness for some cachin'.


SVN revision: 26144
2006-09-25 14:17:42 +00:00
David Walter Seikel d7ac058137 Part of a review of icon searching, to be completed on sunday.
SVN revision: 26025
2006-09-22 14:56:41 +00:00
David Walter Seikel db2b722431 * There was still one cache left over, and it's needed for searching, so
search it and timestamp it.

* App dialog now does all its own .order file mangling.  This is
temporary until e_app is back up to scratch following the cachectomy.


SVN revision: 25857
2006-09-15 17:44:23 +00:00
David Walter Seikel bd51254720 Put the exe and it's parameters back together when needed.
SVN revision: 25575
2006-09-07 08:53:09 +00:00
Carsten Haitzler c2a232bf45 get app from border now - no more zillions of params. also use wm command to
match


SVN revision: 25493
2006-09-05 14:44:28 +00:00
David Walter Seikel 2c403e3e62 Since raster added the ability for fm2 to delete from within .order
files that are displayed as a virtual folder, there is no need for the
all apps app deletion buttons and code.

If you are still having issues with deleting apps, take it up with raster.


SVN revision: 25274
2006-09-01 09:26:55 +00:00
David Walter Seikel d3de4f4e95 Beginning to drag all the basic "show this icon for this app" code
together in one place to make it easy to keep it consistant.


SVN revision: 25273
2006-09-01 09:01:52 +00:00
David Walter Seikel e8b4bace60 Er, and trim the excess.
SVN revision: 25233
2006-08-31 02:27:05 +00:00
David Walter Seikel 59379bbb49 Make app deleting work. Sometimes the crude method is the best.
SVN revision: 25232
2006-08-31 02:21:00 +00:00
David Walter Seikel 3d29c9caf7 Actually display the FDO icons referenced from the FDO .desktop files.
Theme icons and .eaps are searched first.

Still needs some work and a lot of testing.  Also needs optimising,
which will come when I go over the caching code later.

Ibar and ibox modules read the .eap directly, so I need to convert them
seperately.

Next I'll spend some time with valgrind, things are leaking.


SVN revision: 24795
2006-08-16 09:37:14 +00:00
David Walter Seikel b228d7f10d .desktop files supported in .order files now. Full path to .desktop file
required at the moment.

Not fully completed yet.  No icons, probably not fully integrated into
the current cache mechanism.  Some parts may not be entirely correct.

I gotta get some sleep soon, so I'm committing it now, and I'll double
check by updating everything after it's all checked in.

Works for me. (tm)  B-)


SVN revision: 24712
2006-08-14 21:56:13 +00:00
sebastid 73a6413bb0 Delete tmpfile after use.
SVN revision: 24065
2006-07-20 11:19:08 +00:00
Carsten Haitzler f0dae8e901 eap icons update realtime in borders based off on-disk changes etc. etc.
(editing icons seems to work like a charm for me so far).


SVN revision: 22598
2006-05-14 01:13:42 +00:00
Carsten Haitzler 1a1d352ed3 fix dnd to ibar.
SVN revision: 21508
2006-03-25 05:28:57 +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 16bec1dd21 shutdown on restart needs some things to shut down, not all.
SVN revision: 20469
2006-02-15 03:11:36 +00:00
David Walter Seikel 4b77796724 Exe error dialog. Still needs some work, but it's good enough for testing
by the wider community.  Currently only e_app started exe's get this.


SVN revision: 19948
2006-01-21 15:39:03 +00:00
codewarrior 6437ea875a - patch from mista (Efm)
- allow eap image w/h to be changable.


SVN revision: 19808
2006-01-14 21:05:44 +00:00
Carsten Haitzler 912cf96418 centralise getting icon evas object from app
SVN revision: 19038
2005-12-15 07:12:00 +00:00
Carsten Haitzler b6aa138b09 exebuf is ... well.. a bit better now
SVN revision: 19015
2005-12-14 15:54:51 +00:00
codewarrior 5103d613fc - add ability to save eap info to disk
- add ability to create and populate empty eaps


SVN revision: 17896
2005-10-24 21:52:31 +00:00
Carsten Haitzler 8c3e7eba9c clean up header, static and public calls moved around. move eap validity
checkint to a fn.


SVN revision: 17020
2005-09-28 03:35:16 +00:00
sebastid edfb84445a Add equals function for eapps
SVN revision: 16954
2005-09-26 10:03:49 +00:00
Carsten Haitzler 485f1e2a6c I have cleaned up app instance trackign a little. it's a bit complex really,
but works better now, and e now falls back to lookign for startup info and
app instances etc. to try find an icon, and finally uses the icon provided by
the app itself (netwm icon only) :)


SVN revision: 16951
2005-09-26 09:13:44 +00:00
Carsten Haitzler 7dbb6fbe66 a start on the eap cache - it can load and save right now but not update once
saved. its disabled atm.

BUT i have reduced the data needing to be loaded at startup from opening 200
eap files totalling something like 6.5Mb of disk space used (though actual
loads will be less - likely), down to loading 1 file of about 7kb and doing a
stat or 2 on each file (my next phase is to remove the stat on startup here
and cache that info too, and then add in the code to have e slowly run over
the cache data and match it up against real life data and see if its still
valid or not etc. and write it out as well as make sure new caches are
written out whenever eapp dirs change, and then finally make a cmd-line tool
to do it per dir)


SVN revision: 16922
2005-09-24 17:25:48 +00:00
Carsten Haitzler 07f6885df7 use startup notify... see ibar in default.
SVN revision: 16708
2005-09-14 06:39:59 +00:00
sebastid 7c22096a66 Remove some compiler warnings.
SVN revision: 16441
2005-08-31 04:49:05 +00:00
Carsten Haitzler 29ebbfd6d5 icons are now part of the theme and themable from the theme (always
falls back to default of course if theme doesnt provide them) and this
works for EAP icons too - if you give your EAP icons an icon class
like "web_browser" and if the theme provides a theme override for icons of
class "web_browser" then the theme icon is used instead of the .eap internal
image. not surethis is perfect as u want more "specific" and "more general"
levels - maybe i should make the eapp icon class a list of classes the icon
is part of...


SVN revision: 15951
2005-07-30 07:46:05 +00:00
Carsten Haitzler 9d1a7da7e9 also support matching window roles
SVN revision: 15597
2005-07-01 04:41:34 +00:00
Carsten Haitzler 5c5ae983d7 todo--
SVN revision: 15596
2005-07-01 04:09:30 +00:00
sebastid b1041e45f7 Start xdnd integration.
shutdown dnd subsytem after modules.
Cleanup drop handlers on module shutdown.


SVN revision: 15242
2005-06-10 21:26:50 +00:00
Carsten Haitzler 747900bff1 an app action - that launches an app - looked up by varios means (exe, name,
generic, filename)

the parameters to the "app" action can be

  name: Gnome Terminal
OR
  name: XMMS
OR
  exe: xmms
OR
  exe: gimp
OR
  generic: Web Browser
OR
  generic: Terminal
OR
  file: xterm.eapp
OR
  file: gimp.eapp

as a sample...


SVN revision: 15053
2005-06-02 08:25:14 +00:00
sebastid 954a7a11f6 Icon dragging in the ibar.
SVN revision: 14579
2005-05-03 17:27:42 +00:00
sebastid b64b058d06 Can drag eapps from the ibar and drop them again. Will result in multiple
of the same eapp! But fortunately it doesn't get saved.


SVN revision: 14574
2005-05-03 13:44:43 +00:00
sebastid cf3c1ecc68 Cleanup of eapp code. The old code didn't handle all events well, so
references are now shallow copies of the original.


SVN revision: 14251
2005-04-19 15:11:45 +00:00
sebastid a1e7a376d8 New app subsystem. Seems to work :)
SVN revision: 13457
2005-02-21 16:21:13 +00:00
sebastid 80e87df59e Wrap text, indent
SVN revision: 13412
2005-02-17 17:40:54 +00:00
Carsten Haitzler 4f54c588e1 seb's patch...
SVN revision: 13222
2005-02-07 13:51:09 +00:00
rbdpngn b6c300dd69 Add type checking for the various E objects.
SVN revision: 13053
2005-01-22 06:58:34 +00:00
Carsten Haitzler e88c2ac1a6 fix up include system so u canhave one struct directly reference another (put
typedefs in separate section and include twice...


SVN revision: 12928
2005-01-12 16:03:09 +00:00
Carsten Haitzler 261d7f48b1 support ~/.e/e/applications/startup (and restart) dirs. they work likeall
other app dirs - defining a list of apps to start on start (or restart).

also splashscreen will be gone now on restart :)


SVN revision: 12421
2004-12-09 13:56:06 +00:00
Carsten Haitzler 81d0ed0945 1. fix a segv on restart with ibar unreffing without a ref
2. add app icons (based off applications/all repository - need to make this a
function of its own though)
3. fix default apps to have name/class info.


SVN revision: 12336
2004-12-02 10:07:51 +00:00
Carsten Haitzler 462b2aa404 hidden symbol support
SVN revision: 12253
2004-11-25 05:31:21 +00:00
Carsten Haitzler 5e2388c886 _ _ _ _ _____ ___
| | | | ___| | | |  ___| __ ___  ___ _______  ___   / _ \__   _____ _ __
| |_| |/ _ \ | | | |_ | '__/ _ \/ _ \_  / _ \/ __| | | | \ \ / / _ \ '__|
|  _  |  __/ | | |  _|| | |  __/  __// /  __/\__ \ | |_| |\ V /  __/ |
|_| |_|\___|_|_| |_|  |_|  \___|\___/___\___||___/  \___/  \_/ \___|_|


I put E17's wm code into cvs. Hell is freezing over. Duke Nukem Forever will
be out next week. Snowballls take up residence in Hell. The Fat Lady sings.
The End is nigh...

:)


SVN revision: 12247
2004-11-25 03:37:45 +00:00