Commit Graph

503 Commits

Author SHA1 Message Date
Carsten Haitzler 261d7f48b1 support ~/.e/e/applications/startup (and restart) dirs. they work likeall
other app dirs - defining a list of apps to start on start (or restart).

also splashscreen will be gone now on restart :)


SVN revision: 12421
2004-12-09 13:56:06 +00:00
Carsten Haitzler b1ea85565e indenting... and remvoe printfs
SVN revision: 12420
2004-12-09 07:30:45 +00:00
doursse 053d8c6b87 flame module added to E. It's not loaded by default
SVN revision: 12402
2004-12-08 17:35:58 +00:00
Carsten Haitzler e50db711e6 save size broken. fixed.
SVN revision: 12378
2004-12-07 00:21:04 +00:00
Carsten Haitzler a45b5fc0ee update commentos
SVN revision: 12376
2004-12-06 15:51:23 +00:00
Carsten Haitzler 11eba0ab41 ewps! fix.
SVN revision: 12368
2004-12-06 06:03:01 +00:00
Carsten Haitzler 2f516dc4ad save modules list and load it again
SVN revision: 12361
2004-12-05 09:34:59 +00:00
Kim Woelders e6dc661ce1 Use ecore_x exported atoms.
SVN revision: 12360
2004-12-05 09:30:59 +00:00
Carsten Haitzler 73f8ea23f1 ibar saves config...
SVN revision: 12359
2004-12-05 08:36:54 +00:00
Carsten Haitzler 7562a08b5a fix up config code so i can do lists and structs etc.
SVN revision: 12357
2004-12-05 07:43:51 +00:00
Carsten Haitzler 0d6917d923 alt+left mouse drag! WHERD!
SVN revision: 12348
2004-12-04 03:55:23 +00:00
Carsten Haitzler ca7b620840 fix 2 icons to be nicer
SVN revision: 12342
2004-12-03 08:56:35 +00:00
Kim Woelders f481fec55c Quiet!
SVN revision: 12338
2004-12-02 18:41:29 +00:00
Carsten Haitzler 81d0ed0945 1. fix a segv on restart with ibar unreffing without a ref
2. add app icons (based off applications/all repository - need to make this a
function of its own though)
3. fix default apps to have name/class info.


SVN revision: 12336
2004-12-02 10:07:51 +00:00
rbdpngn aa5ebc1df0 Knocked off one FIXME. Only handle necessary properties on a window property
change callback.


SVN revision: 12334
2004-12-02 07:43:33 +00:00
Carsten Haitzler edf76bcece 1. new app file examples, 2. app parsing code... etc. etc.
SVN revision: 12333
2004-12-02 07:00:30 +00:00
Carsten Haitzler 5a47862a7e and now support empty dirs with .order files that reference the all dir of
apps.... :)


SVN revision: 12332
2004-12-02 06:35:37 +00:00
Carsten Haitzler 0407e51787 new eapp file format.. now to do the file layout arrangement we discussed...
btw - u'll need to update eet for this...


SVN revision: 12330
2004-12-02 04:24:54 +00:00
Carsten Haitzler 5ce01dc4d3 readme additiosn for the not so careful out there...
wiljanes bg set ipc...


SVN revision: 12323
2004-12-01 07:01:31 +00:00
Carsten Haitzler 080b56ed3d do them hints proper-like
SVN revision: 12306
2004-11-29 07:40:06 +00:00
Carsten Haitzler 3099278cff oops -i broke borderless windows! :)
SVN revision: 12302
2004-11-29 06:12:29 +00:00
Carsten Haitzler 94a6f68326 use the "client" part to determine client window location/size within a border.
SVN revision: 12289
2004-11-28 14:52:56 +00:00
handyande 8f2b2c39d3 Remove note now that the default theme is in cvs - nice one raster :)
Add edge checking for move and resize


SVN revision: 12285
2004-11-27 18:17:21 +00:00
Carsten Haitzler 248f0d9f20 clock module much better now... still resizing is a cludge, doesnt put itself
in a corner properly on start (just top-left at fixed offset) etc. etc. etc.
need sresizing fixed.


SVN revision: 12283
2004-11-27 16:33:22 +00:00
vacuum 7efd095f88 grammar
SVN revision: 12279
2004-11-27 00:10:20 +00:00
handyande 32d027a391 Actually save as we get disabled, so we load same state when re-enabled
SVN revision: 12277
2004-11-26 16:51:12 +00:00
Carsten Haitzler e0cdc11f48 some ACTUAL ipc!!!! wow! you can load, unload, enable, disable and list
modules now via enlightenment_remote (or any app that speaks the protocol
over ipc - INCLUDING apps that want to go insert modules into e when ther
execute)


SVN revision: 12276
2004-11-26 12:20:38 +00:00
Carsten Haitzler 94c79d788a and here is some substance
SVN revision: 12275
2004-11-26 11:11:05 +00:00
handyande 8d98eefed0 Added clock module - read notes at top of e_mod_main.c to try it out
SVN revision: 12274
2004-11-26 10:59:26 +00:00
Carsten Haitzler b4f2e2e030 slightly tidier if's - spec up to pre10
SVN revision: 12273
2004-11-26 10:57:58 +00:00
azundris 0dd8ecf2b9 * don't bomb if modules aren't found (temporary fix)
SVN revision: 12272
2004-11-26 10:55:51 +00:00
handyande 8d87a9f379 Added clock module - read notes at top of e_mod_main.c to try it out
SVN revision: 12271
2004-11-26 10:53:38 +00:00
Carsten Haitzler a031379afe fix aspect hint handling
SVN revision: 12267
2004-11-26 06:15:02 +00:00
Carsten Haitzler 53eddc4b65 fix moa!
SVN revision: 12260
2004-11-25 15:39:11 +00:00
Carsten Haitzler 4d2bb6fdd9 focusy grabbie bits work...
SVN revision: 12259
2004-11-25 15:32:36 +00:00
Carsten Haitzler 935e1291ef openoffice is happier
SVN revision: 12258
2004-11-25 14:57:48 +00:00
Carsten Haitzler 70d83c18a7 mwm hints being done properly...
SVN revision: 12257
2004-11-25 14:09:49 +00:00
Carsten Haitzler 462b2aa404 hidden symbol support
SVN revision: 12253
2004-11-25 05:31:21 +00:00
Carsten Haitzler c0bb100a15 e17 can restart (from the menu) i NEED this now i'm using it... :)
SVN revision: 12248
2004-11-25 04:07:48 +00:00
Carsten Haitzler 5e2388c886 _ _ _ _ _____ ___
| | | | ___| | | |  ___| __ ___  ___ _______  ___   / _ \__   _____ _ __
| |_| |/ _ \ | | | |_ | '__/ _ \/ _ \_  / _ \/ __| | | | \ \ / / _ \ '__|
|  _  |  __/ | | |  _|| | |  __/  __// /  __/\__ \ | |_| |\ V /  __/ |
|_| |_|\___|_|_| |_|  |_|  \___|\___/___\___||___/  \___/  \_/ \___|_|


I put E17's wm code into cvs. Hell is freezing over. Duke Nukem Forever will
be out next week. Snowballls take up residence in Hell. The Fat Lady sings.
The End is nigh...

:)


SVN revision: 12247
2004-11-25 03:37:45 +00:00
Carsten Haitzler f2b45ed471 bye bye!
SVN revision: 12246
2004-11-25 03:26:33 +00:00
sleuth e5841f4bfe Let's not do the add unless it's needed. Rather nasty side
effect there :)

Kevin Brosius <cobra@compuserve.com>


SVN revision: 6934
2003-05-24 13:22:52 +00:00
sleuth c85a9b2f8c Finish basic sticky window support.
Kevin Brosius <cobra@compuserve.com>


SVN revision: 6933
2003-05-24 12:02:29 +00:00
Adam Kisiel fca4d85677 Add fixup for some small annoying bugs:
- bordermenu is now properly regenerated for each window
- sticky windows are now properly placed
- destroying a sticky window or a window on a desktop different than
  the current one does not produce a segmentation violation anymore
- switching desktops while moving the window moves the window to the
  new desktop
- moving focused window out of the current desktop switches the focus
  to the next available window or root window if neccessary


SVN revision: 6843
2003-04-09 11:39:10 +00:00
sleuth 78dbd1acf9 Plug cursor leak in new XCursor support, only impacts those additions.
Plug a pre-existing key_grab leak.  e17 was leaving passive grabs in
the server and not releasing them.  Looks like a bug in the new config parts.

Kevin Brosius <cobra@compuserve.com>


SVN revision: 6755
2003-03-08 23:55:57 +00:00
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
sleuth 7a390816d3 And fixup desktop switching when windows are closed/loose focus.
Which recreates the focus problem.  Try this instead.  Cleanup focus switching
on app destruction, plus retain focus when no app is on a desktop.

Kevin Brosius <cobra@compuserve.com>


SVN revision: 6675
2003-02-07 17:18:00 +00:00
sleuth 4760f8227e And fixup desktop switching when windows are closed/loose focus.
Kevin Brosius <cobra@compuserve.com>


SVN revision: 6664
2003-02-06 04:50:56 +00:00
sleuth 422fe23bfe Squash nasty focus bug. Let me know if this makes click-to-focus any
worse, I haven't tested that.

Kevin Brosius <cobra@compuserve.com>


SVN revision: 6663
2003-02-05 23:07:30 +00:00
technikolor 79149a8446 Yoink! Say goodbye to GETTEXT in E. Support issues with GT have been tedious and the codebase will be trashed in a month or two anyway, so for all parties concerned there is no reason to keep it. I'm leaving some of the supplimentary files in the repo just incase we descide to do an about-face.
SVN revision: 6649
2003-02-02 23:53:19 +00:00
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