Commit Graph

24750 Commits

Author SHA1 Message Date
cpk cec9c8746c Better ...
SVN revision: 5654
2001-11-08 00:37:15 +00:00
cpk 7fee20982b E17 architecture sketch ...
SVN revision: 5653
2001-11-08 00:30:18 +00:00
boris 0bbc3ae37d fix for ferite's D() macro - i will fix this in ferite 0.99.2
SVN revision: 5633
2001-11-06 00:34:57 +00:00
cpk dc57333ca9 *cough* :)
SVN revision: 5623
2001-11-04 21:49:48 +00:00
Carsten Haitzler 1404c92c07 <merge merge merge> :)
SVN revision: 5619
2001-11-04 07:38:42 +00:00
cpk c728727b17 * s/mulit/multi/ :)
* slight improvement in the menu handling -- when something was selected,
don't pop up menus when the user just clicks, but only unselect
everything. I think it's pretty irritating when the user just wants to
get rid of the selection and keeps getting menu popups.


SVN revision: 5617
2001-11-03 15:33:21 +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 59b09b8121 Dammit. Sorry.
SVN revision: 5615
2001-11-03 11:47:07 +00:00
cpk 381e4bbd54 Oops. This leaks. Drip drip.
SVN revision: 5614
2001-11-03 10:59:17 +00:00
cpk c1299402ad dumdedum ...
SVN revision: 5612
2001-11-03 09:21:51 +00:00
cpk 7d1f797075 Removed some debugging output etc.
SVN revision: 5611
2001-11-03 09:18:50 +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 ea3fcaaa4b Doco generation. sigh.
SVN revision: 5607
2001-11-02 17:28:19 +00:00
cpk b4e3cb64ed Oops, that's just my installation.
SVN revision: 5606
2001-11-02 17:13:56 +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
cpk 59eda55bb7 Updated manual ...
SVN revision: 5604
2001-11-01 23:55:39 +00:00
cpk f70c75f5c7 I've started to read the code again and added comments here and there.
Also updated the manual.


SVN revision: 5603
2001-11-01 23:54:48 +00:00
Laurence J. Lane 691c596477 various stuff
SVN revision: 5600
2001-10-31 21:39:50 +00:00
Carsten Haitzler 6266018527 aaah..
click to focus actually works now.. wheeee :) as does alt+drag and other
bindings u can add to a window.... :)


SVN revision: 5596
2001-10-30 11:07:12 +00:00
Term 0986c3331b This probably has a little overkill, but it actually works. Otherwise,
e_setup does not work properly.

I'm sure there's a cleaner way; I'm just interested in having it work at all,
while keeping it from conflicting with an install of E16.


SVN revision: 5587
2001-10-29 05:59:26 +00:00
Carsten Haitzler 5f9d9c46b8 oops - and give ourselves out 8 pixels padding too :)
SVN revision: 5584
2001-10-28 01:47:11 +00:00
Carsten Haitzler 3333bd5114 move the dialog a bit
SVN revision: 5583
2001-10-28 01:42:51 +00:00
Carsten Haitzler d41f8eacfa blim. i just had to do this :) too much fun :)
SVN revision: 5582
2001-10-28 01:38:54 +00:00
cpk d23f3877e6 The kernel folks really shouldn't be too proud of this script.
SVN revision: 5581
2001-10-26 20:10:03 +00:00
cpk 6aa31f2bcc Oh-oh. That was just for efsd.
SVN revision: 5565
2001-10-24 22:33:57 +00:00
Carsten Haitzler 0bde17579d iconbar reloads now :)
SVN revision: 5562
2001-10-24 11:17:44 +00:00
cpk 37e79eaea4 * enum for the background type (image/gradient/solid)
* removed mode field in E_Background_Layer which wasn't used


SVN revision: 5550
2001-10-21 22:36:56 +00:00
Carsten Haitzler 0a579b214a aaaaaaaah keybind + desktop unflimness fixed :)
SVN revision: 5549
2001-10-21 22:30:56 +00:00
cpk 6e3d8783ca * Patch from Graham McDonald to skip separators in menus
* Hooked menu.c into documentation system
* s/ecore/e/ in some places


SVN revision: 5548
2001-10-21 22:16:00 +00:00
cpk 79ef2ccbe9 Created a documentation skeleton and changed the comments in iconbar.c
so that they're useful for the documentation system.


SVN revision: 5547
2001-10-21 22:03:36 +00:00
Carsten Haitzler 1a24c75a76 spinny logo to waste cpu :)
SVN revision: 5545
2001-10-21 14:02:53 +00:00
Carsten Haitzler 0573986281 start on setup tool data
SVN revision: 5541
2001-10-21 09:36:40 +00:00
Carsten Haitzler fbb4254b70 start on setup tool...
SVN revision: 5540
2001-10-21 09:35:57 +00:00
Carsten Haitzler 6bb8a6a3d2 we shoudl never have had intl in cvs... and add some work on the setup tool
SVN revision: 5536
2001-10-20 09:01:54 +00:00
Carsten Haitzler 232c634a3a make all the bits decorative
SVN revision: 5535
2001-10-20 06:21:15 +00:00
Carsten Haitzler 65a78e8947 iconbar now auto-reload when u twiddle with the files. YAY! :)
SVN revision: 5534
2001-10-20 06:13:12 +00:00
Carsten Haitzler 2ba3aebf1a aaah cleaner... :)
SVN revision: 5525
2001-10-19 15:58:56 +00:00
Carsten Haitzler b4a251128b blim! brightness now fades out after mouse out
SVN revision: 5524
2001-10-19 15:56:19 +00:00
Carsten Haitzler c41e134668 oooh.. we animate! :) and comments to show how it's done :)
SVN revision: 5523
2001-10-19 14:35:39 +00:00
Carsten Haitzler 7850711392 add tools makefile
SVN revision: 5522
2001-10-19 13:44:49 +00:00
Carsten Haitzler ba4e1cf47b allow for .e_background.bg.db to be the background for a dir...
SVN revision: 5521
2001-10-19 10:19:10 +00:00
Carsten Haitzler b7fde63e68 beat me silly. comments. hope this helps people learn a bit. i don't know if
i can comment like this all over as it takes a fair bit of time and effort.

i'll try here and there though.


SVN revision: 5520
2001-10-19 10:04:48 +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 5d2c820b96 sellys "no mor eleaks" applied :)
SVN revision: 5517
2001-10-19 02:02:56 +00:00
rbdpngn 0c9a548095 Needed to be updated to the new ecore api. Now e will compile with ferite
support enabled.


SVN revision: 5513
2001-10-18 18:33:04 +00:00
cpk cfa8aace26 Oopsie ... bit too much!
SVN revision: 5512
2001-10-17 22:53:23 +00:00
cpk 27379cbd44 Back with another one of those blockrockin' BUILDS :o)
* Should compile against new ecore. Yay!
* Cleaned up iconbar code a good deal (no c++ comments!)


SVN revision: 5511
2001-10-17 22:34:27 +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 c89e94b735 iconbar code :)
SVN revision: 5506
2001-10-17 09:53:07 +00:00