Commit Graph

503 Commits

Author SHA1 Message Date
azundris e34b876179 evas API foo
SVN revision: 6633
2003-01-24 18:26:13 +00:00
rbdpngn 63e20e7f14 More SPLIT merging.
SVN revision: 6588
2003-01-15 18:29:56 +00:00
rbdpngn ed19a69d65 Added support for shaped window borders. Also reduced each border to be 1 evas
and 1 ebit, with an obscure rectangle covering the client area. Right now, all
borders (except borderless windows) are considered shaped, would be good to
add a way to indicate non-shaped themes.


SVN revision: 6383
2002-08-20 20:23:24 +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 5ec69a803d patch by Azundris <hacks@azundris.com> enabling transparency support for
legacy apps such as eterm, xchat, xemacs etc. Those apps will now be
transparent against the desktop, including icons, iconbar and all, if
configured to be.


SVN revision: 6172
2002-04-24 17:15:13 +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 ca0db777cc patch by Ibukun Olumuyiwa <ibukun@computer.org>. Thanks dude. :)
--
Intersect area for mouse clicks did not cover the entire menu item. Fixed
to use the full dimensions of the menu item evas object instead.


SVN revision: 6072
2002-03-17 22:08:33 +00:00
Till Adam ed15a1fde3 I assume that was a mistake?
SVN revision: 6061
2002-03-12 08:41:42 +00:00
Christopher Rosendahl 1675c75a63 s/free/FREE =)
SVN revision: 6060
2002-03-11 20:03:14 +00:00
Till Adam 0591da01bb ok, embarassing bug. Dont just enherit from observer/observee, call their
cleanup funcs too. This should fix the crashes people have been seeing.
Sorry about that. :(


SVN revision: 6059
2002-03-11 17:35:51 +00:00
Till Adam d9c6cbe3ab add those two. New class E_View_Look.
SVN revision: 6056
2002-03-10 17:24:20 +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 609b356400 remove those, we dont need them anymore
SVN revision: 6047
2002-03-06 21:18:04 +00:00
Till Adam 5ba3515bbe oops, dont do that yet
SVN revision: 6045
2002-03-06 21:02:06 +00:00
Till Adam 6b3626b857 add the files, too
SVN revision: 6043
2002-03-06 20:59:16 +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
Till Adam be25ab672d * remove a bunch of unused variables
* scrollbars should not need to know the dir the view they are part of is in,
  because that can change without further notice. Access the dir through
  scrollbar->view->model->dir and replace the dir with the name of the view for
  named callbacks


SVN revision: 6040
2002-03-05 17:14:10 +00:00
Till Adam e0996f9fa7 I assume Brian meant to do that.
SVN revision: 6039
2002-03-05 16:50:19 +00:00
rephorm 949b22865e wow. now i'm really embarrassed. total brain fart in the commit yesterday. I really apologize.
SVN revision: 6038
2002-03-05 15:58:02 +00:00
rephorm a6da05f8b7 argh. forgot to add these...
thanks for pointing out all my mistakes till :)
hopefully thats everything.


SVN revision: 6037
2002-03-05 15:45:18 +00:00
rephorm b4aaf24a68 i think that should get things back to the way till had them.
for some reason, in e_configure,
  if ((v = e_view_machine_get_view_by_base_window(e->win)))
was acting as though true for all cases (including non views), and was segfaulting, so i made it
  v = e_view_machine_get_view_by_base_window(e->win);
  if (v)

any ideas why this would be necessary?


SVN revision: 6036
2002-03-04 23:57: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 fdb0dbc708 dont refcount the model twice for the first view
SVN revision: 6009
2002-03-02 16:40:57 +00:00
Till Adam e45338be4d shuffle around registering/unregistering of views and view models as per cK's
suggestion
remove unneeded function
remove comments for obvious one liners


SVN revision: 6008
2002-03-02 10:20:07 +00:00
sleuth 4302d0b872 Fix icon display state after dragging to a second instance of the
same dir.

Kevin Brosius <cobra@compuserve.com>


SVN revision: 6007
2002-03-02 08:57:46 +00:00
Till Adam a87318928e dont remove things from a list you are iterating over, thank you
SVN revision: 6006
2002-03-01 21:55:55 +00:00
Till Adam cf83b660f7 - add e_view_machine_get_view_by_[base|main]_window
- use it in about a zillion places
- now VM->views is only accessed from within e_view_machine.c


SVN revision: 6005
2002-03-01 20:50:46 +00:00
Till Adam 5a88ba9d13 user uses scrollbar -> something happens - better :)
SVN revision: 6004
2002-03-01 18:01:22 +00:00
Till Adam 622a5ccaf2 * dnd operations now only affect the currently focused view
SVN revision: 6003
2002-03-01 16:31:29 +00:00
atmosphere f0e1393763 free bgs when e_view_cleanup is called
SVN revision: 6001
2002-03-01 00:52:44 +00:00
Till Adam 4efdf11ee6 Move e_view_machine_get_model functionality into e_view_set_dir in view.c
where it makes more sense.


SVN revision: 5996
2002-02-27 22:46:14 +00:00
cpk 706a10b1db Did a little codewalk through the view code -- added lots of
segfault protection, renamed get_model_from_realpath() to
view_model_lookup(). Moved the realpath call to view_model_lookup(),
this way we need not rely on the realpath being passed in.
All minor stuff, really.

One thing I noticed: e_view_machine_get_model() is in the wrong
place and should change its name -- it is not related to the view
machine and does not return anything. It should probably become

e_view_register_model()

and live in view.c.

Also, Raster hasn't replied yet to my question regarding
the need for the explicit -lc in Makefile.am. It works fine
here without it and apparently breaks FreeBSD build, so I
think we should remove it.

Fixed a warning in focus.c due to missing icccm.h.

Added "void" to function declarations that don't accept
parameters.


SVN revision: 5994
2002-02-27 21:06:42 +00:00
Till Adam 12fe3a8611 prevent selections in multiple views of the same dir. I do it like this to
keep selection info out of the view_model because it really doesnt belong
there, I think.


SVN revision: 5992
2002-02-27 10:39:08 +00:00
Till Adam 963526152c - use the view->changed flag again and set it whenever necessary (I hope ;)
- hopefully fix core on bsd reported by kirby kuehl


SVN revision: 5988
2002-02-26 21:12:45 +00:00
Till Adam d3625546b5 This is meant to prevent drags from one view of a dir to another view of
the same dir. Kevin, is this the right place to do this?


SVN revision: 5986
2002-02-26 18:56:54 +00:00
Till Adam fd0bd775f6 re-enable drag and drop. Turned out to need only minimal adjustments. Not extensively tested, so I'd appreciate it if
people tried if this works like before.


SVN revision: 5983
2002-02-26 09:24:50 +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 a21dcda8c8 update some docu and comments
SVN revision: 5979
2002-02-25 20:44:58 +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 abf7d8f0ee some patches by Nicolas Pomarede:
LMB will scroll one screen when pressed in the scrollbar area.
Middle and Right MB will move the scroll bar slider to the clicked
position directly.

So this is rather similar to the behaviour we have in standard GTK apps
for example.

Also, I corrected a small bug in view.c and scrollbar.c that could lead to
the scrollbar beeing redrawn outside the view (because "value" was
recalculated before "range" and "max" were set ; and since value depends
on max and range, this could lead to value of value that were too big).

Thanks Nicolas!


SVN revision: 5976
2002-02-24 06:48:14 +00:00
sleuth 1ee238ff53 Enlarge the menu intersection test area so clicking
always starts the app.

Kevin Brosius <cobra@compuserve.com>


SVN revision: 5964
2002-02-21 04:42:50 +00:00
rephorm 419af7eb81 allow drops from the same view.
The matching_drop_attempt flag was set, so it should handle the drop regardless of whether the same view or not, since it checks for the flag later.

Now you can drop icons from the desktop to the iconbar.


SVN revision: 5960
2002-02-20 05:09:00 +00:00
rephorm daf36fd95d clean up the imlib_image
SVN revision: 5959
2002-02-20 04:19:21 +00:00
rephorm d5f6a3f256 drag and drop view icons onto the iconbar to add em. They get the same icon as t
he view gave em, so its a little bland now. Icon changing may come soon.


SVN revision: 5958
2002-02-20 03:47:13 +00:00
atmosphere d41b943d28 use a little more of the bg code in views
SVN revision: 5953
2002-02-18 14:42:57 +00:00
atmosphere 751ea8b62c clean up bgs properly(i think)
The old background code(background.c) had
e_object_init(E_OBJECT(bg), (E_Cleanup_Func) e_background_cleanup);
in the e_background_new function which isn't being used anymore

I don't fully understand the way the E_Object stuff would work with this or
if this is ok since ebg is its own separate library now.


SVN revision: 5943
2002-02-16 22:39:19 +00:00
rephorm 984f643abb reorder or remove iconbar icons by moving them around on the iconbar or moving them off of it.
SVN revision: 5942
2002-02-15 22:45:11 +00:00
rephorm dbcb4acf5e add epplet dir to evas font list.
so, epplet specific fonts go in epplet dir, not in data/fonts


SVN revision: 5907
2002-02-08 19:22:13 +00:00
sleuth 12d31ee35f Fix gnome menu generation.
Kevin Brosius <cobra@compuserve.com>


SVN revision: 5901
2002-02-06 02:05:49 +00:00
sleuth e291598f98 Minor printf cleanup.
Kevin Brosius <cobra@compuserve.com>


SVN revision: 5891
2002-02-03 08:32:31 +00:00
rephorm 38ac2443ca Epplets run from ~/.e/desktop/default/.e_epplets/eppletName/eppletName.fe
(copy em manually for now)

Get epplets to keep track of the ebits / evas objects they create, so they can be cleaned up later.

Also, some small epplet API changes.
When creating Ebits / EvasObjects, pass a path relative to the .fe file rather than the full path. Usually, you just need a file name, which should be in the same dir as the epplet.

if a file named layout.bits.db exists in an epplet's dir, it is used for the default layout (location) of that epplet rather than whatever is in ~/.e/desktop/default/.e_epplets.bits.db. Only use this if a specific size/location of the epplet is necessary. (just create one dummy image in the bits with the name of the epplet, and its location/size relative to the entire view) Note, try to not use this, as user customizability is important...

I will eventually make it so that if a ui.bits.db exists, it will automatically be loaded as the main bits file, and set as epplet.bits in the script. (Can't get object creation from within a .fec to work correctly yet...) This would remove the need for the setBits() call.


SVN revision: 5881
2002-01-30 03:16:33 +00:00
rephorm 195f2407e9 This should fix the iconified menu segfaulting problem. The menu now get rebuilt when you middle click, if things have changed.
SVN revision: 5877
2002-01-28 05:41:29 +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
rephorm f4711b90b1 Windows will now be on top when you uniconify them, and will not reappear on their old desktop if you move around while they are iconified.
Also, added some event types.


SVN revision: 5859
2002-01-25 19:41:02 +00:00
Carsten Haitzler ec6114213b maybe try this?
SVN revision: 5858
2002-01-25 02:02:28 +00:00
Carsten Haitzler fb466527e2 how about we build without ferite too? :)
SVN revision: 5857
2002-01-25 00:49:10 +00:00
cpk 857704ec32 This one didn't exist ...
SVN revision: 5856
2002-01-24 18:22:54 +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 ffcb25ea12 E_EVENT system is now a bit map, allowing one observer to watch MANY events, for instance: E_EVENT_BORDER_ICONIFY | E_EVENT_BORDER_UNICONIFY | E_EVENT_BORDER_NEW, etc. I also made it so that the current event is passed when notifying, so that if watching multiple events, you can do different things for each.
added an e_observer_notify_all_observees() to notify all existing observees of things, such as the creation of a border. This way, an observer can watch for E_EVENT_BORDER_NEW events and register all new borders.

Iconification! Click that iconify button. Then click the middle button on the desktop to get a menu of iconified apps to uniconify. This menu is a decent example of using the observer code to avoid polling or rebuilding more than necessary. Next, maybe instead of completely rebuilding each time something changes, maybe it should dynamically add or remove the respective menu items?


SVN revision: 5854
2002-01-24 08:12:12 +00:00
rephorm dbc39567f3 buffer overflow prevention....
SVN revision: 5853
2002-01-24 06:15:40 +00:00
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
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 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 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 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 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
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
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 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
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 c12f765fef and handle delete
SVN revision: 5710
2001-11-17 04:21:48 +00:00
Carsten Haitzler 61e8ed8286 and handle adds
SVN revision: 5709
2001-11-17 04:19:02 +00:00
Carsten Haitzler febd6d0d43 bacgkroudns of views now watch for the background file to change... if it
does.. the background changes - hand for setting your own root bg.. just use
ebony.. save it and:

cp file.bg.db ~/.e.desktop/default/.e_background.bg.db


SVN revision: 5708
2001-11-17 02:45:43 +00:00
cpk abb253be30 :)
SVN revision: 5700
2001-11-16 11:34:30 +00:00
Carsten Haitzler be884f0c49 errrr. yeah...
SVN revision: 5699
2001-11-16 07:23:08 +00:00
Carsten Haitzler 2bb9a1b0ab hhm - smart placement got borked... fixed
click to focus works pretty much swell now.. except for that mass of
comments i put in....

err... icccm focus modes handled 100% properly

err.. yeah. that.


SVN revision: 5697
2001-11-16 05:39:34 +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
Christopher Rosendahl eca3aa7476 this works somewhat better =)
SVN revision: 5673
2001-11-11 02:11:36 +00:00
cpk eabc91dd28 This should fix the "can't kill window" bugs. Well at least those I
was able to reproduce. I've fixed the reference counting on borders,
reference counts are now only modified where the references actually
change.

PLEASE: if we don't want to end up dead in the water with the reference
counts, it'll be absolutely necessary to not just increment them here
and there. When you store a pointer in a data structure somewhere,
increment the counter. When you remove the pointer from the structure,
decrement. Do NOT modify the counters anywhere else.

Unfortunately I cannot enforce this in C.


SVN revision: 5661
2001-11-09 01:11:44 +00:00
cpk a24c265be9 Yikes! I've committed some major crap that contained leftovers from Efsd.
Okay. The "can't kill windows" bugs people are seeing are because of
broken refcount handling. I'm looking into it right now.


SVN revision: 5660
2001-11-08 23:54:38 +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 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
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
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 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 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 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
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
cpk d0d83ea1ca Mhmm ... I need that over here?
SVN revision: 5473
2001-10-12 17:30:26 +00:00
Carsten Haitzler 864b65a1ce oops :)
SVN revision: 5466
2001-10-10 21:38:42 +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 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 94b8a4d832 work work work :)
SVN revision: 5438
2001-10-08 06:53:26 +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
Carsten Haitzler aec66cb567 and make it 0.01 secs :)
SVN revision: 5413
2001-10-02 03:30:29 +00:00
Carsten Haitzler 56723c4207 hook in idle handler to flush efsd queue :)
SVN revision: 5412
2001-10-02 03:29:57 +00:00
Carsten Haitzler 133b01836c fs now uses efsd_flush mechanism... and view records x,y - but efsd
currently segv's if u load up /dev in my tests... :)


SVN revision: 5409
2001-10-01 05:23:42 +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 499279afa1 err. dont need to anymore :)
SVN revision: 5392
2001-09-28 08:41:48 +00:00
Carsten Haitzler 3c6f25ef2a nooo nooo nooo... don't do that.
SVN revision: 5390
2001-09-28 08:13:46 +00:00
Carsten Haitzler 41f318bc37 don't leak that either... :)
SVN revision: 5389
2001-09-28 07:50:00 +00:00
Carsten Haitzler 280482a5a8 oops. leak. fix. :)
SVN revision: 5385
2001-09-28 03:20:20 +00:00
rbdpngn 115592b91e Enabled the Alt-Tab action, and fixed border.c so that the action works
correctly.


SVN revision: 5377
2001-09-25 22:10:33 +00:00
Carsten Haitzler 1e810437ae go go go... :)
SVN revision: 5376
2001-09-25 16:37:00 +00:00
Carsten Haitzler 72c864e88f and now add the stuff i forgot to add...
SVN revision: 5375
2001-09-24 21:25:13 +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
hendryx 6228476075 OK, you can now have individual backgrounds for diffrent directories now.
Just set the full path and file name in the metadata for that directory
under the key "/view/background" (you'll have to use efsdsh to set it right
now).


SVN revision: 5317
2001-09-02 17:42:26 +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 0b8cc67996 another silly example. this is just a menu items to switch desktops
SVN revision: 5282
2001-08-25 20:47: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
boris c3e5bf60e7 bah. this stops the middle click and changes it to a double middle click
SVN revision: 5270
2001-08-24 09:16:30 +00:00
Carsten Haitzler 8fc1fc1d22 this shoudl make backgrounds faster... i was too paranoid... how about
people just make good background files? :)


SVN revision: 5205
2001-08-18 08:19:37 +00:00
Carsten Haitzler 6f97fe1bbf yay.. leak gone :)
SVN revision: 5189
2001-08-17 00:57:41 +00:00
Carsten Haitzler b6571f600c efsd_ops() leaks. not sure what you want cK? have the monitor func free the
ops or have the app do it? you dont seem to have any code to free the ops
created in libefsd.. so i'm not sure what you intend? :)


SVN revision: 5187
2001-08-17 00:27:02 +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
Christopher Rosendahl 6347565356 Apply patch from Bobby Potter <bobby@sylow.southwestern.edu>.
To fix segfault if a->params is NULLL same goes for a->key...
I still have some problems over here which im going to look into right now.


SVN revision: 5167
2001-08-15 13:31:13 +00:00
Carsten Haitzler a20ab0c6ff errr... make scrollbars come and go if we need them or not :)
SVN revision: 5136
2001-08-13 07:34:06 +00:00
Carsten Haitzler 14f5d57ee5 work work.. smell smell - scrollbars in and mostly functioning
SVN revision: 5135
2001-08-13 06:35:14 +00:00
Carsten Haitzler 3718f7ecb2 efsd respawnign by e17 is more robust now...
SVN revision: 5078
2001-08-09 23:48:40 +00:00
Mandrake 4f45e7b8f0 Oops, don't need that printf
SVN revision: 5066
2001-08-08 23:18:14 +00:00
Mandrake 619bcacc97 actions.c:
Now the "Execute" action actually does something useful, like, say, execute
the contents of the parameters :)

scrollbar.c:
removed 2 warnings


SVN revision: 5065
2001-08-08 23:16:35 +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 23e05d4d83 * fix apps menu
* cp -> tar


SVN revision: 5045
2001-08-05 12:48:18 +00:00
cpk 03eb745b51 Efsd updates ...
SVN revision: 5036
2001-08-02 22:43:59 +00:00
Carsten Haitzler 0a62a11943 wheeeee
SVN revision: 5031
2001-08-02 05:08:49 +00:00
Carsten Haitzler 82c3eaeda2 and make that text abstraction do..... outlines! :)
SVN revision: 5028
2001-08-02 00:54:09 +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
Carsten Haitzler bd45e5475d add a different view bg... and oops - adopted desktop window.. dont do that :)
SVN revision: 5025
2001-08-01 09:22:40 +00:00
Carsten Haitzler ff60ed35c1 oops - and dont keep starting efsd if we don't need it :)
SVN revision: 5022
2001-08-01 05:22:39 +00:00
Carsten Haitzler a9c76621d2 wooop. views now remember size & location by storing it in meta data....
they also defer show until meta data for dir has either failed retrieval or
succeeded. this is cool yyayayayya! :)


SVN revision: 5021
2001-08-01 04:45:14 +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 7cedcff3f5 Stuff I forgot ...
SVN revision: 5015
2001-07-30 17:14:45 +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 4a267b8d77 dont need to sort....
SVN revision: 5012
2001-07-30 05:40:49 +00:00
cpk 32b49c8a6a Efsd updates -- the file monitoring requests for files and directories
have been merged into one call. Instead of efsd_start_monitor_dir() and
efsd_start_monitor_file(), use efsd_start_monitor() now and specify
whether you want directory monitoring via the final flag parameter.
Same goes for efsd_stop_monitor() now.


SVN revision: 5007
2001-07-29 14:39:23 +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 78bb51a943 ok// double click on dir's opens window and starts monitor...... but efsd isnt
responding with file exists events.... at all..... hrrrmmm... oddd....


SVN revision: 4943
2001-07-13 01:22:10 +00:00
Carsten Haitzler d59543dbc2 work on fixing up the desktop code...... :)
SVN revision: 4939
2001-07-12 16:40:13 +00:00
cpk 5a524ed26c Efsd convenience functions in place ...
SVN revision: 4865
2001-06-27 23:06:28 +00:00
Carsten Haitzler 2f249e1020 errr - fix that view to compile with current efsd and make a note..
SVN revision: 4838
2001-06-19 03:40:51 +00:00
Carsten Haitzler e9d5f13344 handle if efsd goes away and restart it... also have abackoff timeout to try
restarting efsd... :)


SVN revision: 4673
2001-04-26 20:41:23 +00:00
Carsten Haitzler 24ef0b62db detect other wm's.... :)
SVN revision: 4538
2001-04-08 02:24:13 +00:00
cpk 57cc6bd68a Efsd update...
SVN revision: 4528
2001-04-07 18:27:00 +00:00
cpk 761a2815d4 Efsd update ...
SVN revision: 4482
2001-04-03 00:23:01 +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 718be21b4b fix fix fix clean fix :)
SVN revision: 4475
2001-03-31 23:50:22 +00:00
Carsten Haitzler afb38c8d86 i hate it when i make my wm just "not work" :)
SVN revision: 4461
2001-03-27 19:05:31 +00:00
Carsten Haitzler d2316ad2f6 aaaah much smoother opaque resiz.e. we're all happy now :)
SVN revision: 4460
2001-03-27 19:02:37 +00:00
Carsten Haitzler 3afd37d998 "detailed" mimetype fallback now available... :)
SVN revision: 4453
2001-03-26 07:21:39 +00:00
Carsten Haitzler d7057ba6a8 use mime types to determine icon.. if u lok in icons - you'll get he idea -
its just mime types exactly splatted out into a dir struct with .db at the
end (falling back to default.db and unknonw/unknown/db in the end if it cant
fall backto default.db)

now what i need is to talk to cK and get the file magic/mime type stuff to
beocme smarter even that it is.. so currently it sees a tar.gz file - it
looks at the magic and boom.. it thinks is a gzip file.. thats correct.. but
theres mroe to it.. now it woudl be good if the magic stuff coudl now also
inspect the inside of the gzip (ie use zlib in this case) and start lookign
ro a tar header to see if tis a tar.gz.... now if it si a tar.gz.. try
getting the file list and seeing if there are telltale signs of it being a
theme tarball or such (though this lats step may be going too far)

efsd definitely needs ot cache mime type though. that much i'm certain of :)
its not fast at all actually doing file magic on every file... every time
the directory is "loaded" :)

but excellent work! another pat on the back for ck :)


SVN revision: 4451
2001-03-25 21:37:09 +00:00
Carsten Haitzler 78193c99bf oops - now right menu works reliably... slight booboo :)
SVN revision: 4445
2001-03-25 02:47:41 +00:00
Carsten Haitzler a6c47e5205 and NOw we can open up /dev/ and not have E bog down into a completely
non-interactive state... this works like a charm... love it.. GOOD WORK cK!
Excellent job.. this is actually what i originally thought we shoudl do (be
able to send not just filename but also stat,mimetype etc. info along in one
go with efsd doing in one lump) but i thought it might wokr ok as we had it
before.. and it wasnt... so my original hunch was right... and it's working
like a complete charmer. GOOD JOB! i'ts beginging to get to the point where
we can do something.... WHEEEEEEEEEE congrats cK. now... i wish we had more
cK's out there... (whoever is in munich out there buy cK a beer or 10)


SVN revision: 4443
2001-03-24 03:18:17 +00:00
cpk afdb663ac9 Passing the stat call as an option to efsd_start_monitor instead
of separate calling ...


SVN revision: 4441
2001-03-23 00:47:25 +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 a76afe3961 and skip entires that done have files... :)
SVN revision: 4425
2001-03-21 04:42:59 +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 49685ab578 aaaaaaaaaaaaaah fix fix fix.. now i handle that focus grab return thing a
bit better... now the keybindings for loweirng and raisign and stuff work
100% right


SVN revision: 4423
2001-03-21 03:07:17 +00:00
Carsten Haitzler 4143f0353f multiple desktops... BAD BAD BAD hack (alt F1-F8 take u to them) - just
thoguth i'd see how well ti really works in real life... not to bad actually
:)


SVN revision: 4412
2001-03-20 03:15:05 +00:00
Carsten Haitzler f3fdf7d846 and get rid of that printf!
SVN revision: 4391
2001-03-18 01:18:08 +00:00
Carsten Haitzler 7f37672226 keybindings work... yayayayayya :)
SVN revision: 4390
2001-03-18 01:16:47 +00:00
Carsten Haitzler 86e401ab9d some optimizations... and fixes :) thats all
SVN revision: 4381
2001-03-16 20:12:03 +00:00
Carsten Haitzler d1077ae93e been playing.. :)
SVN revision: 4379
2001-03-16 01:14:42 +00:00
Carsten Haitzler cf59a01878 ipc updates...
SVN revision: 4365
2001-03-12 01:01:10 +00:00
Carsten Haitzler 41cabbdf27 ooooh... nup.. dotn allwoe resizes ayt all while shaded.. bad bad bad...
SVN revision: 4363
2001-03-10 23:22:49 +00:00
Carsten Haitzler 94220456db oops typo :)
SVN revision: 4362
2001-03-09 19:20:11 +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 f7b571fb1b packign classes... :)
SVN revision: 4354
2001-03-08 19:33:54 +00:00
Carsten Haitzler 845efd93f7 oops - fix fix :)
SVN revision: 4347
2001-03-07 08:40:54 +00:00
Carsten Haitzler 4189f19a1f all of the entry box ecept text is now configurable with bits... some
primitive ugly ones there....


SVN revision: 4346
2001-03-07 08:18:39 +00:00
Carsten Haitzler fc53223c09 none of that thanks! :)
SVN revision: 4345
2001-03-07 03:22:16 +00:00
Carsten Haitzler a2d80b9359 add a backing bit! :)
SVN revision: 4344
2001-03-07 03:21:14 +00:00
Carsten Haitzler 2bcf0abe09 oops clip selection :)
SVN revision: 4340
2001-03-06 20:53:46 +00:00
Carsten Haitzler 1c4fca628d and main.c
SVN revision: 4338
2001-03-06 20:35:37 +00:00
Carsten Haitzler a7ba7e38a2 ipc... :)
SVN revision: 4337
2001-03-06 20:34:58 +00:00
Carsten Haitzler 9deae6546b entry auto-scrolls now so the cursor is always visible
SVN revision: 4335
2001-03-06 19:57:46 +00:00
Carsten Haitzler 35cd461c8c ctrl+f & ctrl+_b now supported
SVN revision: 4334
2001-03-06 19:26:55 +00:00
Carsten Haitzler dad3312cb8 clean that code up.. woop.. nice and clean! :)
SVN revision: 4330
2001-03-06 18:01:50 +00:00
Carsten Haitzler ec7f81fa76 handle callbacks
SVN revision: 4329
2001-03-06 16:40:57 +00:00
Carsten Haitzler ceab19042f and you go handle those pesky selection clear events.. and we're done
a full-featured 1 line text entry box (minus text scrolling - i think
i'll add that)


SVN revision: 4327
2001-03-06 15:40:27 +00:00
Carsten Haitzler fc803eeb1e it does pastes out of entry boxes (code needs some smartening up - but it
works!)


SVN revision: 4323
2001-03-06 07:59:21 +00:00
Carsten Haitzler 123a82d5bd insert key now does it too... and one printf less
SVN revision: 4318
2001-03-06 02:10:43 +00:00
Carsten Haitzler bdbf267aeb woop- middle button pastes and works! :)
SVN revision: 4317
2001-03-06 02:09:32 +00:00
Carsten Haitzler 49b72fb9fd selection area works just fine... and current hitting the insert key (or
middle mouse) inserts the string "inserted" - its currently a matter of
trying to fetch that string for insertion :) i'm going to figure out how to
do that next :)


SVN revision: 4312
2001-03-05 08:19:13 +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
cpk ac29391497 Efsd updates ...
SVN revision: 4303
2001-03-04 01:15:39 +00:00
Carsten Haitzler 0025ffc093 use efsd to read the links :)
SVN revision: 4288
2001-02-26 22:59:54 +00:00