Commit Graph

34 Commits

Author SHA1 Message Date
rbdpngn 63e20e7f14 More SPLIT merging.
SVN revision: 6588
2003-01-15 18:29:56 +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
cpk 630bf3c408 Efsd updates. Now I remember what I forgot in the efsd commit comment --
I changed the name of some of the convenience calls from efsd_reply_...
to efsd_event_... because they're no longer applicable to reply events
only.

I've also hooked in a cleanup function for Efsd when E exits, and
duplicated memory when accessing a returned metadata string.


SVN revision: 5736
2001-11-26 01:10:48 +00:00
Carsten Haitzler 3cbfb2d937 working on the iconbar. it now accepts scroll arrows in the iconbar bit - u
can scroll around 9if you have too many icons to fit) it also will clip the
icons to the icon area. also u can scroll the icons up and down the bar to a
position you like. a new test iconbar bit to demo this too.


SVN revision: 5726
2001-11-24 05:54:32 +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 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 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
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 ce769c8f21 and... working on virtual desktops.. moved desktop view to be a normal
client window thats just borderless, layer 1 etc. goign to add desktop masks
for client borders next (ie what desktops a client window lives on or
not)... in theory we have desktop areas and desktosp implimented now. :)


SVN revision: 5426
2001-10-05 03:19:11 +00:00
cpk 9449e40c1d Introduced typedefs for the most common enums that were #defines, and
added e_border_set_gravity which really needn't be a macro.


SVN revision: 5406
2001-09-30 22:24:24 +00:00
Carsten Haitzler ed40162775 been working offline.. wheeeheee! :)
SVN revision: 5374
2001-09-24 21:21:25 +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 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 897f37f43d * make it more split upo (better in this case)
* get rid of more wranings
* get rid of useless code (how the hell it compiled AND ran with missing
symbols... beats me -  but it was working)


SVN revision: 5018
2001-07-31 01:12:02 +00:00
Carsten Haitzler e6570df917 fix some warnings.. and use $DISPLAY by default (0:0 isn't really a display
name), errr... yeah... need to virtualize efsd launching.. someday... what
if efsd isnt in the $PATH ? oh well.. for now it needs to be :)


SVN revision: 5016
2001-07-30 23:46:07 +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 f1689e5a66 clean up a little
SVN revision: 5013
2001-07-30 06:21:28 +00:00
Carsten Haitzler 24ef0b62db detect other wm's.... :)
SVN revision: 4538
2001-04-08 02:24:13 +00:00
Carsten Haitzler 7f37672226 keybindings work... yayayayayya :)
SVN revision: 4390
2001-03-18 01:16:47 +00:00
Carsten Haitzler bc5be0a810 slightly more errr... mature things for packing... working on it..
all oo... :)


SVN revision: 4356
2001-03-08 23:30:42 +00:00
Carsten Haitzler 1c4fca628d and main.c
SVN revision: 4338
2001-03-06 20:35:37 +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 f3e2ca146f been working on E............ needs efsd now, desktops are now views, new
background, lists directory, cleaned up some bugs here and there,
errrr...... cleaned up menu code and some fixups, added fs abstraction init
and working on it....


SVN revision: 4192
2001-02-12 18:58:51 +00:00
cpk 9cc55ff857 I'm commenting this out so people stop complaining about 100% cpu.
SVN revision: 4188
2001-02-11 18:54:04 +00:00
Carsten Haitzler f744c4833b fs layer in... using efsd... :) primitive for now
SVN revision: 4182
2001-02-09 08:13:16 +00:00
Carsten Haitzler 337d961729 clean code.. star work on views code - will have to modify desktop code a
bit to handle swallowing of a view instead of its own thing - but thats easy.


SVN revision: 4169
2001-02-06 08:23:36 +00:00
Carsten Haitzler d7bf736ca2 e17 does..... MENUS!
SVN revision: 4076
2001-01-02 23:10:12 +00:00
Carsten Haitzler 79e0f41973 more virtualization
SVN revision: 3992
2000-12-14 19:36:33 +00:00
Carsten Haitzler 22aa9d2a5d Sorry guys.. I had to revert a bunch of changes.. that's life.. but READ the
following (it's in the README now)

-------------------------------------------------------------------------------
                       Enlightenment 0.17.0 CVS Code....
-------------------------------------------------------------------------------
       The Rasterman - raster@valinux.com, raster@rasterman.com


*******************************************************************************
**************** READ THIS! It is of the UTMOST IMPORTANCE! *******************
*******************************************************************************

This is the source code for Enlightenment 0.17 - If you got this you got it
from Enlightenment's CVS repository - or from someone who took it out of
the CVS repository.

The CVS repository is full of code *IN DEVELOPMENT* - that often means it's
in the middle of being worked on and may install strange things in strange
places, make a mess, and may not even be compatible with a final release. If
you at all use this code, you are HEAVILY URGED, when it is finally released,
to remove all traces of anything this CVS code base has installed on your
system (it is COMPLETELY up to you to keep track of that - do NOT expect any
help), and then install the full release on a cleaned system. Don't come
asking "can I just keep using CVS" oonce things are released - thqat is the
reason I pu this paragraph here - so you don't ask. The asnwer is the same
as above - if there is a proper final release use that. CVS is really only
for those havily hacking on the code.

Now we have that warning over and done with. How to build and install from
CVS?

$ ./autogen.sh && make
$ su
Password:
<- as root ->
# make install

You should be able to use the binary of enlightenment as a window manager.

you might be advised for cleanliness to do
$ ./autogen.sh --prefix=/usr/local/e-17

so it installs relative to the /usr/local/e-17 directory and keeps all the
e-17 development code and data in that tree so it is easily removed when the
time codes.



NOTES: Read these carefully!

Enlightenment does not check for previously running Window Managers right
now - so you need to make sure no other WM is running - E will not do that
for you.

Enlightenment has no menus or keybindings or any way of launching
applications right now - you'll have to figure out an alternative way of
doing it.

Enlightenment only handles a small subset of ICCCM and thus will have bugs -
some applications will not behave correctly and may apear in odd spots or
not resize or place themselves properly etc. Expect this - it's code being
worked on. Just be happy it does as much as it already does.

Enlightenment RELIES on lots of libraires that have been written. Ecore,
Ebits, Evas, Edb, Imlib2 just to mention a few. Especially Ebits, Ecore and
Evas change in CVS often - you will need the absolute latest of these if you
wish Enlightenment 0.17 code to run properly or compile. If you update
Enlightenment from CVS update these too to get any changes they have in
their trees.

If you plan on working on the code... STOP! don't rush in and work on it -
even if you have CVS commit access - EXPECT me (Raster) to revert any changes
you make if you do this - regardless of the changes and how much work you
put into them. First read the code well and LEARN it. If you have questions
about some of the more obscure hidden program flow - ASK - but don't go
tampering with it - Enlightenment 0.17's code is much more complex and
intricate than E 0.16 - but at the same time it's much cleaner and more
object oriented. Learn it well first. Some parts of E 0.17 are "hacked" with
hard-coded stuff, just so, for now, it works. They will be virtualized and
imporved over time. If you have plans - tell me about them first - discuss
them before you go impliment them. I know I already have a lot of the
components of E 0.17's code planned in my head - but I won't get to them for
a while - and if people go impliment or hack bad stuff in, it means I have to
spend lots of time fixing something that is bad in the first place, or we
end up doing duplicate work. There *IS* a plan - believe it or not - but to
be honest - it's more complex and large than I can just write down in a
README, so talk about your ideas first. I'm going to be ruthless in keeping
the code neat, clean and free of nasty hacks (except ones I put in as
temporary stop-gap measures to make the thing work - since I know where
those are and what I need to do to do it right). If you can't find me or I
don't reply to your e-mail - don't get impatient - just wait. I currently
have no network access at home, so I'm doing a chunk of code offline. I'll
get to your mail and queries as time allows.

If you have problems with the code or bugs to report, kindly forward them to
/dev/null (the code is in now way or form ready for bug reports - I don't
want crap filling my mailbox).

I hope that clears things up for now.


SVN revision: 3976
2000-12-11 20:08:38 +00:00
Carsten Haitzler dfe5d7091a e 0.17 ...... :)
SVN revision: 3961
2000-12-08 22:54:42 +00:00