Commit Graph

34 Commits

Author SHA1 Message Date
sleuth 813f640d06 XFree86 XCursor sample support. No change with a default install, but if you grab the new behaviour.db and change /desktops/cursors/e_native to 0, then E will use your local XCursor setup. Check out the edevel mailing list for a theme I've tried. XCursor support is only available in XFree86 4.3.0.
Also allow different fonts for borders vs. menus.  This adds links in /usr/local/share/enlightenment/fonts (default install) for a menu.ttf and a text.ttf file.  text.tff is the font used for border text/window titles.  menu.ttf will be used for menus.  No change by default, but you'll need to re-run autogen.sh & make install for the links to be created automatically.

Update AUTHORS

Kevin Brosius <cobra@compuserve.com>


SVN revision: 6751
2003-03-08 12:51:06 +00:00
rbdpngn 63e20e7f14 More SPLIT merging.
SVN revision: 6588
2003-01-15 18:29:56 +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
Till Adam e752aabcd1 fix annoying redraw bug (finally) and hide it under an indent run ;)
SVN revision: 6016
2002-03-03 10:40:07 +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 dbc39567f3 buffer overflow prevention....
SVN revision: 5853
2002-01-24 06:15:40 +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 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 fdadaabb1b shuffle files around in cvs.. simplify the default data layout as setup will
cp most of it and lay it out in /.e eventually anyway (and if u dont like
the idea of cping the files - we can symlink too - but e_setup will take
care of this... eventually.. might start work on it now i have fixed things
- though personally i think i should make it cp to start so your user config
is independant of the system and wont suddenyl chaneg cause the system one
did... but again... can be made an option)


SVN revision: 5729
2001-11-25 03:12:59 +00:00
Carsten Haitzler 8de0fe9c67 shuffling data around - i had waay too much heirachy before.. too complex.
keep it simple. will eventually have e_setup copy the defaults into your
homedir anyway...


SVN revision: 5718
2001-11-18 04:32:28 +00:00
Carsten Haitzler b97bed253d iconbar.. err.. scale down icons AND set image fill (thanks for pointing out
corey), and errr.. segvs in menu changes fixed.. :)


SVN revision: 5687
2001-11-13 21:26:20 +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 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 8e5adf71a6 much cleaner iconboar. ok - right now it doesn't scroll. use the buidl
scritp again (pass in a directory path to set up.. i'd suggest

mkdir ~/.e
mkdir ~/.e/desktop
mkdir ~/.e/desktop/default
build_iconbar_db.sh ~/.e/desktop/default

the scritp is a bit smaller now :)


SVN revision: 5519
2001-10-19 09:13:18 +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
cpk a41a7d8875 * Replaced all the 4096's with PATH_MAX, added a default setting if
it doesn't exist.

* Renamed E_Action_Proto to E_Action_Impl. I think that's more intuitive

* Renamed the xxx_go functions to xxx_cont. It took me a while to understand the difference between "start" and "go".

* Some line wrapping and cosmetics.


SVN revision: 5475
2001-10-12 20:13:01 +00:00
Carsten Haitzler 4b8d85b97d i've been working on the railroad... all the long long day...
(config code to read in arbitary data structs from db's... will use)


SVN revision: 5454
2001-10-09 15:01:58 +00:00
Carsten Haitzler ed40162775 been working offline.. wheeeheee! :)
SVN revision: 5374
2001-09-24 21:21:25 +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 3718f7ecb2 efsd respawnign by e17 is more robust now...
SVN revision: 5078
2001-08-09 23:48:40 +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 fb16d6bf5d use the new background code & system.... yay yay :)
SVN revision: 5006
2001-07-29 03:26:39 +00:00
Carsten Haitzler d59543dbc2 work on fixing up the desktop code...... :)
SVN revision: 4939
2001-07-12 16:40:13 +00:00
Carsten Haitzler 436d208d15 fix configure request bug... (actually size info getting bug)
SVN revision: 4436
2001-03-22 18:10:08 +00:00
Carsten Haitzler a2d80b9359 add a backing bit! :)
SVN revision: 4344
2001-03-07 03:21:14 +00:00
Carsten Haitzler c475bb9bbd actually use user local configs...
SVN revision: 4224
2001-02-15 22:55:39 +00:00
Carsten Haitzler 4d2a90ee09 errrrr - copy config files (not data for now) to ~/.e if theyarent there
SVN revision: 4223
2001-02-15 22:49:59 +00:00
Carsten Haitzler 7fe641df37 oooooh - look at this - the desktop left click menu is......... CONFIGURABLE
yes - it generates it from a..... DATABASE - there's a script that builds the
menu - it's a default set - but easily editable in the script (an example of
how to build a menu db - but... eventually we'd need a gui.) This only builds
a menu from a db file - it also monitors it for changes and updates the menu
to match any changes that happen. I need to write later a fs menu builder that
builds a menu from the filing system.


SVN revision: 4164
2001-02-03 17:17:07 +00:00
Carsten Haitzler d7bf736ca2 e17 does..... MENUS!
SVN revision: 4076
2001-01-02 23:10:12 +00:00
Carsten Haitzler ce2c13f424 borders moved around. much cleaner way of selecting borders now
SVN revision: 3995
2000-12-15 21:27:23 +00:00
Carsten Haitzler fe31736fb5 move code around... neater...
SVN revision: 3993
2000-12-14 23:13:08 +00:00
Carsten Haitzler 79e0f41973 more virtualization
SVN revision: 3992
2000-12-14 19:36:33 +00:00
Carsten Haitzler 21009504f9 first cut at virtualizing
SVN revision: 3988
2000-12-14 00:12:16 +00:00