Commit Graph

61 Commits

Author SHA1 Message Date
Mike Blumenkrantz 5923846e24 remove e17 preload/precache hacks
SVN revision: 77705
2012-10-10 07:39:08 +00:00
Carsten Haitzler a0d07f5c79 speed up e17's login - reduce disk IO wait.
on my p4 3.4ghz + reiser3fs IO Wait time went from 2.6 to 1.9 seconds
(total login time went from 3.01511 to 2.29971, with 100% cached login time
 being 0.41809)

on my core 2 duo laptop + ext3fs IO Wait time went from 2.05 to 1.15 seconds
(total login time went from 2.50988 to 1.60785, with 100% cached login time
 being 0.45850)

this should speed up e's login a bit... i hope.

note - it is adaptive. it needs you to log in at least once using the current
code as it traps and logs certain file accesses and needs that log to replay
next login.


SVN revision: 26742
2006-10-22 10:03:59 +00:00
Carsten Haitzler 5fc0c33867 nix libe.so and the preload stuff. just remove fromt eh build tree (But keep
in cvs)


SVN revision: 23758
2006-07-08 14:54:41 +00:00
Carsten Haitzler 2005381bbd ehack is baaack! :)
SVN revision: 15057
2005-06-02 14:56:07 +00:00
Carsten Haitzler d59acfc65f this is VERY evil - VERY evil. but its the sanest solution other than code
generation tools (scripts etc.) for generating wads of repetitive code
easily, and keeping the codec higher level logic per ipc call in 1 place.


SVN revision: 15026
2005-05-31 03:01:53 +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
Carsten Haitzler f2b45ed471 bye bye!
SVN revision: 12246
2004-11-25 03:26:33 +00:00
technikolor 79149a8446 Yoink! Say goodbye to GETTEXT in E. Support issues with GT have been tedious and the codebase will be trashed in a month or two anyway, so for all parties concerned there is no reason to keep it. I'm leaving some of the supplimentary files in the repo just incase we descide to do an about-face.
SVN revision: 6649
2003-02-02 23:53:19 +00:00
rbdpngn 63e20e7f14 More SPLIT merging.
SVN revision: 6588
2003-01-15 18:29:56 +00:00
rbdpngn ef34f0818d The -lc flag snuck back in and broke the compile for BSD people again. Anyone
know how this keeps getting added?


SVN revision: 6184
2002-04-26 18:41:59 +00:00
Till Adam b439fa0bb0 remove ferite from the makefiles, so people who _do_ have the right version of
ferite installed dont get error. ;) Sorry bowis, but I blame you for this.


SVN revision: 6158
2002-04-21 07:22:58 +00:00
Till Adam 31292642c3 ok. another big one. I'll write to e-devel about the details.
SVN revision: 6055
2002-03-10 17:23:43 +00:00
Till Adam 3dc62d700e rename E_View_Model to E_Dir. That was a stupid name to begin with. :)
SVN revision: 6042
2002-03-06 20:44:48 +00:00
rephorm ce6d128739 Switched the layout over to using one bits file for layout, separate ones for element graphics (scrollbars / iconbars / etc). This allows more flexible (and cleaner) layout.
Instead of /path/.e_iconbar.bits.db, now uses /path/.e_layout/iconbar.bits.db.
Custom scrollbars can be placed in the .e_layout directory as well.

I should probably move the background db into here also, any objections?

So, to get your iconbar again, move the .e_iconbar[.bits].db to .e_layout/iconbar[.bits].db


SVN revision: 6034
2002-03-04 22:00:16 +00:00
rephorm a7e397198d RIP!
No more epplet support.
It should once again compile regardless of whether ferite is used or not.


SVN revision: 5981
2002-02-26 01:25:35 +00:00
Till Adam 5744b944d6 ok folks, here goes. The multiple view stuff as discussed in lenght. I've managed to get metadata back up, views save
their geometry on close. I'll start getting the documentation back in sync and commenting some more. Could anyone
willing to clean up/fix either the iconbar dnd stuff and/or the regular dnd stuff please announce it, so we dont start
duplicating work. Thanks.


SVN revision: 5977
2002-02-25 18:09:13 +00:00
rephorm dd0f8bf0fd move the background usage over to edb. background.c,h are no longer used.
so if you haven't installed ebg, go get it.


SVN revision: 5860
2002-01-26 02:01:42 +00:00
Carsten Haitzler fb466527e2 how about we build without ferite too? :)
SVN revision: 5857
2002-01-25 00:49:10 +00:00
cpk 74b6161db0 I guess this is necessary to make this build again ...
SVN revision: 5855
2002-01-24 18:19:44 +00:00
rephorm 3e09f77dbd A bunch of little changes.
Added basic iconification implementation, including menu for iconified windows, however this is buggy and doesn't work correctly yet, and is therefore commented out. But maybe someone can take the framework and fix it?

Added ferite wrapping for timers.


SVN revision: 5851
2002-01-24 01:08:52 +00:00
sleuth 2d66390657 Add a rule to rebuild ferite generated code if
e_ferite.fec script is updated.

Kevin Brosius <cobra@compuserve.com>


SVN revision: 5847
2002-01-19 22:22:38 +00:00
rephorm 455555b3ce Epplets!
Quite a bit has been implemented. Check the data/epplets dir for examples.

Currently the only loading method is a file called .e_epplets.bits.db which contains bits whose names are equal to the epplet name, and whose geometry is the default epplet geometry (unless overridden in the script).

The idea being that one could set up an entire desktop epplet layout within one file, making it easily transferable.

So, to use epplets make sure you copy the default epplets.bits.db to ~/.e/desktop/default/.e_epplets.bits.db

Also, make sure you update ebits


SVN revision: 5826
2002-01-11 23:53:20 +00:00
Carsten Haitzler 7880065bff add block system.. not quite functional yet.. but will be needed...
now iconbars can have their buttons "disabled" whislt apps launch.. tis a
nasty trick with an ld_preload... has caveats.. if youdsont set it as on it
wont be used atm.


SVN revision: 5748
2001-12-06 08:06:52 +00:00
Carsten Haitzler 5bc865839e you can now remember the location of a window.. will add more here.. oh yeah..
window menus too... just close and rememebr location there for now... needs
more things :)


SVN revision: 5731
2001-11-25 07:18:49 +00:00
Carsten Haitzler 1404c92c07 <merge merge merge> :)
SVN revision: 5619
2001-11-04 07:38:42 +00:00
cpk a708bdfd42 * More cleanups. I took out everything related only to icon handling
from the view code, and put it into icons.[ch].

* Added the relative desktop move path from Alan Schmitt.


SVN revision: 5616
2001-11-03 14:55:21 +00:00
cpk 454d2b917a * replaced printf()s with D()s.
* cleaned up functions in utils in file utils and others, there's a
new file.[ch] for the file-related helpers.
* Added stat info to E_Icon, watch how directories become grayed when
you cannot access them :)


SVN revision: 5610
2001-11-03 09:07:40 +00:00
cpk 80c5db9c3c Erm .. let's use this only when needed ...
SVN revision: 5608
2001-11-02 17:34:47 +00:00
cpk 02379472ae Alright, I spent some time now reading e17's code. Here's what
I've changed, this is big, so read this carefully :)

* I've added debugging macros for messages and function call
tracing. Usage:

  D("Creating item %i %i %i\n", x, y, z);

Define DEBUG to use the D macro.

  D_ENTER;
  D_RETURN;
  D_RETURN_(x);

These are for call tracing. Use D_RETURN_(x) when returning
something from a function. Define DEBUG_NEST to use this.

* added iconbar header file to Makefile.am
* added proper new()/cleanup() calls for E_Delayed_Action;

* I've completely rewritten the object and observer handling. Bye
bye macros, this was nasty. It'll be hard enough to avoid leaks
with usecounting in C. We now basically have the same system as gtk.
There's a clear separation of observer and object code now.
An E_Object by itself has nothing to do with observing or being
observed, therefore, there are now E_Observers and E_Observees
that are derived from E_Object. IMPORTANT: The cleanup system now
reflects the reference count system, therefore, all ..._free()
calls are now static, because the destructor should never be called explicitly, but implicitly through e_object_unref(). The object handling
now is as follows:

  - The cleanup functions clean up everything that is contained in
a struct, but NOT the struct itself. Instead of the final
free() call, they call the destructor of the base class. The
calls will walk up the hierarchy and clean up what's contained in
every struct, and the final e_object_cleanup() will free the
structure itself. E_Delayed_Action is a good example.

  - The only calls that influence the reference count are
e_object_ref() and e_object_unref(). If you need to do things
before an object gets destroyed, you can query the use count using
e_object_get_usecount() and check if it's equal to 1. So this:

  OBJ_UNREF(b);
  OBJ_IF_FREE(b)
   {
     ecore_window_reparent(e->win, 0, 0, 0);
     e_icccm_release(e->win);
     OBJ_FREE(b);
   }

   now is this:

  if (e_object_get_usecount(E_OBJECT(b)) == 1)
    {
      ecore_window_reparent(e->win, 0, 0, 0);
      e_icccm_release(e->win);
    }

   e_object_unref(E_OBJECT(b));

object.h and observer.h are completely commented, it shouldn't be
too hard to understand. This'll need to be documented in the manual
anyway.

* E_Objects are now used in lots of places where void* were used as
pointers to objects before, especially in the actions code. This is
obviously better, as it will generate compiler warnings when people
want to pass things to functions that expect E_Objects. This could
probably be more restrictive.

* Added typedefs for the function prototypes in E_Action_Impl. Those
fat signatures were just painful to read in the function
declarations/implementations.

* I've also tried to give parameters more useful names. Calling an
object "o" is a lot of fun when you want to grep for it.

* Included is also Graham's latest menu.c patch. Sorry for the
delay, Graham.

* I've added checks to the menu code that make sure that menus
don't pop up when they're empty (which resulted in a little useless
rectangle).

I guess that's it for now. Sorry if I broke anything, but this was
necessary imho.


SVN revision: 5605
2001-11-02 17:07:52 +00:00
Carsten Haitzler c8e0c7f7be iconbar code.. and some work i was doing on click to focus... having a
problem... not sure what it is actually... but will fix it :)


SVN revision: 5507
2001-10-17 09:53:44 +00:00
Carsten Haitzler 226325673c added match hooks. #if 0'd out right now. need to think how exactly i planon
matching.. keepign ti simple yet useful. imho i think just matching on name
and/or class woudl be enough as the majority fo apps provide this properly :)

now how to store the match rules and load them is next.. and probably handle
launching apps to "restart on login" too :)


SVN revision: 5439
2001-10-08 07:32:54 +00:00
Carsten Haitzler ed40162775 been working offline.. wheeeheee! :)
SVN revision: 5374
2001-09-24 21:21:25 +00:00
Carsten Haitzler f98201f9af add these.. and the changes.. nothing useful yet :)
SVN revision: 5352
2001-09-14 14:33:57 +00:00
Carsten Haitzler 349a1016c6 started work on guides (for rubber banding etc.) and changed code to match
ebits changes... (sorry everyone.. ebtis changes needed doing)


SVN revision: 5333
2001-09-06 13:20:35 +00:00
boris 125f101b7c no need for ferite. fun.
SVN revision: 5315
2001-08-31 13:10:26 +00:00
boris 2ff101b6b1 fix0r
SVN revision: 5286
2001-08-25 21:59:31 +00:00
boris bad5da3d33 Ok this has got some initial support with ferite, currently you can only
assign ferite scripts to menus see data/scripts/build_app_menu_db.sh and look
at the exit menu item as an example. you will need ferite - i suggest that
you use cvs ferite as this is what I am developing this against. This, my
friends, is the first step of many :)


SVN revision: 5280
2001-08-25 19:51:48 +00:00
Carsten Haitzler 68f5a95f2e strdup wrapped... and err.. looking for a mem leak.. anyone got insure++ ?
SVN revision: 5174
2001-08-16 08:45:37 +00:00
Carsten Haitzler dd30bfa6e8 add skeleton of scrollbar code... more meat to be added...
SVN revision: 5048
2001-08-07 02:50:22 +00:00
Carsten Haitzler e8e462159f pass make distcheck :)
SVN revision: 5027
2001-08-02 00:13:52 +00:00
Carsten Haitzler fc25a6f20d use cp -dpR instead of -ar (it seems bsd doesnt like -a).
add abstraction for recording view geometry metadata,
put geometry recording on a self-resetting timeout so efsd doesnt thrash
the disk whenever you move or resize windows.
clean out some unused code.


SVN revision: 5026
2001-08-01 23:14:06 +00:00
cpk 637e5ce74b Okay Raster, don't shoot me. I've cleaned up the whole thing. I've
added header files for most of the logical units, which greatly
reduces the size of e.h. The dependencies are probably still a bit
too dense, I'll look at that next. Things don't get rebuilt completely
any more when efsd is updated. I've also started command line options.
Only version info and the display variable are recognized so far.
I see no warnings here on my machine. Hope I didn't break anything.


SVN revision: 5014
2001-07-30 16:59:37 +00:00
Carsten Haitzler aaabd199fa ok- fixes i did over the weekend... committed :) yay :)
SVN revision: 4479
2001-04-02 19:03:55 +00:00
Carsten Haitzler e59150b4a8 e17 can build apps menu (right mosue click on desktop) from
"/usr/share/gnome/apps" dir now (/usr/share/pixmaps is hardcoded to pixmap
dir... need to figre this right... but it can be done...) :) qworks quite
ok.. :)


SVN revision: 4424
2001-03-21 04:39:45 +00:00
Carsten Haitzler 7f37672226 keybindings work... yayayayayya :)
SVN revision: 4390
2001-03-18 01:16:47 +00:00
Carsten Haitzler d1077ae93e been playing.. :)
SVN revision: 4379
2001-03-16 01:14:42 +00:00
Carsten Haitzler f7b571fb1b packign classes... :)
SVN revision: 4354
2001-03-08 19:33:54 +00:00
Carsten Haitzler a7ba7e38a2 ipc... :)
SVN revision: 4337
2001-03-06 20:34:58 +00:00
Carsten Haitzler 786eb441fc fs.c updated for efsd changes
entry.c started.. workingon entry box code... its actually not THAT hard... :)
all i have left is to do selections in an entry box (and do X clipboard stuff)
amnd be able to do pastes from the X clipboard. (and delete selections when
u type when a selection is up and the rest of the selection logic) - but for
a basic textbox... it works :)


SVN revision: 4311
2001-03-05 03:04:33 +00:00
Carsten Haitzler d017f50c20 oooooooooh shelf.c.... :)
SVN revision: 4244
2001-02-17 23:03:13 +00:00