Commit Graph

24971 Commits

Author SHA1 Message Date
rephorm 515693292b oops. didn't mean to change that.
maybe we should get the prefix for gnome from gnome-config --prefix?


SVN revision: 5852
2002-01-24 01:11:13 +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
Carsten Haitzler 1afbdb13ef ok- fix this back so it works again!
SVN revision: 5848
2002-01-20 06:02:14 +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 0be764a2de Updated deskswitcher to observe desktops and switch the highlighted button automatically upon desk switch.
SVN revision: 5842
2002-01-17 04:33:47 +00:00
rephorm 934f425342 Changed observer/observee system to use E_EVENT's instead of ECORE_EVENT's.
The enum of events is in observer.h, add any you can think of.

Switched desktops over to observer system (which extends objects).

Added ferite functionality for desktop observers. I will probably make functions to observe most of e's subsystems (views, iconbars, etc).
There is probably a small bit of memory leakage in here (and callbacks) because any objects passed along have to have their refcounts increased (so ferite doesn't automatically clean them up, and i haven't put in code to decrease them yet. It should be fairly small, but I'll work on that.

I also changed a few "sprintf(buf..."'s to "snprintf(buf, PATH_MAX..."'s.
Is this the way to go about preventing buffer overflows?

I think that's it.


SVN revision: 5841
2002-01-17 04:32:08 +00:00
rephorm 83dc2cd3fb Generate build_iconbar_db.sh with proper PREFIX
SVN revision: 5839
2002-01-16 17:31:38 +00:00
rephorm e8e42fa701 Cleanup should be static, so it can't be accidentally called externally.
SVN revision: 5837
2002-01-15 02:24:14 +00:00
rephorm 3aa470ed5d this looks better with the default background
SVN revision: 5828
2002-01-12 00:02:43 +00:00
rephorm b89043aa56 epplet data files
SVN revision: 5827
2002-01-11 23:56:22 +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
boris 634bf1692c This should fix0r it
SVN revision: 5825
2002-01-10 20:14:30 +00:00
rephorm 84d0e5b50a convert scrollbar to object system
get rid of compiler warnings


SVN revision: 5823
2002-01-07 01:37:39 +00:00
rephorm 8bbd04e127 hmm. don't know what i was thinking there.
this should work better.


SVN revision: 5822
2002-01-06 21:02:02 +00:00
rephorm 1da030ae9e Keep on scrolling.
As long as you hold down the scroll buttons, it will scroll.


SVN revision: 5821
2002-01-06 20:46:52 +00:00
rephorm 28f489bd50 Allow scrollbars with width/height other than 12
Click in trough scrolls to that point.


SVN revision: 5819
2002-01-06 10:22:31 +00:00
rephorm 267a5ab397 Got rid of compiler warnings.
Added window spacing, so file icons will not appear underneath iconbars.
Currently, icons are placed twice as far from the left/top as the spacing.window.l,t designate. To compensate, the spacing is set to half the actual value. This needs fixing.

It seems as though there are a few other bugs in e_icon_apply_xy() also. (multiple line views don't seem to work quite right, icons on the bottom line are in the middle, and other lines seem right justified. a bit odd).


SVN revision: 5815
2002-01-05 05:01:08 +00:00
rephorm 2c842e0ecf update the script to deal with the new db name
SVN revision: 5809
2002-01-04 04:37:53 +00:00
rephorm 5060bc358f Updated the bits.db to have resistance. Gave it a name that made more sense.
SVN revision: 5808
2002-01-04 04:37:12 +00:00
rephorm cb15f5013c Give the iconbars some substance.
If a bit named Resist with class Decoration is added to .e_iconbar.bits.db, it will resist window movement. Makes it easy to line up windows along the edge of the iconbar. I'll commit an updated default db.


SVN revision: 5807
2002-01-04 04:18:38 +00:00
rephorm e8adca84c5 Give those iconbars some resistance. Nice for lining up windows along the edge of, but not hiding, the iconbar. If a bit named Resist with class Decoration (so it passes events) is added to the .e_iconbar.bits.db, windows will resist the edges of it. I'll commit an updated default one.
SVN revision: 5806
2002-01-04 03:19:26 +00:00
Term ee21c21b85 I should've done this a while back. Sorry about the big number of emails
coming. ;)


SVN revision: 5789
2001-12-22 07:54:57 +00:00
sleuth 17ed728818 Cleanup a couple warnings. Thanks cK!
Kevin Brosius <cobra@compuserve.com>


SVN revision: 5784
2001-12-19 03:30:47 +00:00
sleuth 329a5da29d dnd source icon changes based on drop action requested+target
allowed action.  We can also change cursor/drag window based on the
state info available.  I haven't tackled that yet.

Kevin Brosius <cobra@compuserve.com>


SVN revision: 5765
2001-12-12 23:58:45 +00:00
Carsten Haitzler 3e6abee6ea oops- forgot to cleanup rtimeout handlers if exec succeeded :)
SVN revision: 5762
2001-12-09 12:26:11 +00:00
Laurence J. Lane 797c07030f another missing dependecy
imlib2 suggests imlib2-loaders
e17 depends on imlib2-loaders


SVN revision: 5759
2001-12-09 05:05:25 +00:00
Carsten Haitzler a429866d9b aaah - oops - yeah.. no iw as trying to remove the extraneous \r\n at the
end.. i forgot to append to the right spot in the string.. i've simplified
it now :)


SVN revision: 5758
2001-12-09 01:24:44 +00:00
sleuth 2663676042 Broken multi-file drops...
Kevin Brosius <cobra@compuserve.com>


SVN revision: 5757
2001-12-08 21:07:44 +00:00
Carsten Haitzler 3e72ecf27a aha! ok... lots of stuff here...
1. now xdnd works to apps:
   tested:
     gmc
     mozilla
     xmms
     ee
2. dnd works bewteen e17 views too

3. cleaned up a little (the uri format was a little wrong)

4. notice fixme's - yes we need to have ways of copying and moving etc. files.
   efm did this - imho right. right mouse drag always pops up a menu asking
   what you want to do. left mosue drag always moves. current shift+left
   copies. we can add ctrl+left links etc. - but these shoudl eventually
   be configurable. i think this will keep everyone happy.


SVN revision: 5756
2001-12-08 06:34:06 +00:00
sleuth c300cb9506 Don't de-select icons unless they are removed from the view.
(Also fixes case if you remove a file behind E's back.)
Free items on icon deletion.

Kevin Brosius <cobra@compuserve.com>


SVN revision: 5754
2001-12-08 04:11:48 +00:00
rbdpngn 23ac2be6cf D'oh! That previous 2 liner should have been a 1 liner. :-) Forgot to remove a
an unused variable.


SVN revision: 5750
2001-12-06 22:33:35 +00:00
rbdpngn 306cd85ff4 2 liner to fix some selection artifacts left behind when dragging files to
other views.


SVN revision: 5749
2001-12-06 22:32:04 +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
sleuth 510d0ded29 Preliminary dnd support. Dragging from and to views works, with a
default mode of move.  Hold 'shift' for copy.  No visible feedback
of actions occurs yet, but you'll see the view update as soon as efsd
reports the file changes.  Tested, but be careful around files you care
about.  Moves and copys use efsd_move and efsd_copy, without the force
option.  So source files will not overwrite the destination if it exists.

Kevin Brosius <cobra@compuserve.com>


SVN revision: 5747
2001-12-06 02:50:17 +00:00
Carsten Haitzler b37fcf166e and... dont sync db on window close...
and dont kepe menu up if kbd/mouse couldnt be grabbed


SVN revision: 5742
2001-11-30 01:03:03 +00:00
Carsten Haitzler ee82a15d31 add stuff to e_setup.. dialog has buttons now. fixed bug with view with bg
addition not working.


SVN revision: 5738
2001-11-26 13:08:34 +00:00
cpk bba90a0090 Oops, that was not for public consumption :)
SVN revision: 5737
2001-11-26 01:20:24 +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 0ce64e39cf and in an optimising spree i broke the bg reload if you replaced the file..
fix fix fix :)


SVN revision: 5734
2001-11-25 12:49:39 +00:00
Carsten Haitzler f6b9e19fce there we go.. fix fix
SVN revision: 5733
2001-11-25 12:40:08 +00:00
Carsten Haitzler 7df33c208a ok - some changes to default settings.. alt_right mouse on windows pops up
window menu. ctrl+alt+insert execs eterm... it wasnt in the default script
to build the dbs'
the scritp also had some mdos done to it before by others that sisnt use the
environemtn variables that devined numerics for actions....
also now menus can remember much more.. as can e. save and load on demand..
the remember things are menu check items... might have a big arse dialog
eventually for this... but for now this is all good :)


SVN revision: 5732
2001-11-25 08:32:54 +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 f576dfb703 img_export.. for peoel to list possible exportable imaged from dbs and export
them to png's


SVN revision: 5730
2001-11-25 03:46:24 +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 e0fe7d8826 oops - only resist windows that are... VISIBLE! :)
SVN revision: 5728
2001-11-25 02:43:40 +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
Carsten Haitzler 84fae7ac6d mah mah mah... fixed soem initial placement probs related to being too keen
on changing borders all the time.. shoudl be more efficent and faster now too


SVN revision: 5722
2001-11-20 07:01:53 +00:00
Carsten Haitzler d90ac55831 consolidate.. consolidate..
SVN revision: 5721
2001-11-18 21:43:50 +00:00
Carsten Haitzler 7e0be252dc centralise all the bg handling in views...
SVN revision: 5720
2001-11-18 21:28:35 +00:00
Carsten Haitzler 63a1f60f6e and make the metada get for view bg go thru the same path.
SVN revision: 5719
2001-11-18 21:09:07 +00:00