Commit Graph

265 Commits

Author SHA1 Message Date
Tom Gilbert 4d1ca43a00 Wed Dec 01 23:05:13 GMT 1999
(gilbertt)

api changes.

Ok. I have added some functions to the api, they are not yet perfect, but
they compile cleanly and don't create any problems. Don't use them yet
though, the api may change.

Window Epplet_create_window(int w,int h,int x,int y,char *title);
void Epplet_window_show(Window win);
void Epplet_window_hide(Window win);
void Epplet_window_destroy(Window win);
void Epplet_window_switch_context(Window newwin);
void Epplet_window_reset_context(void);

All of these functions are in place and work. I have yet to add code to
handle delete_events. At the moment, if you close the dialog window, the
epplet exits. This is clearly not intended ;) I'll fix it tomorrow, its late
here now.

You can even switch context and add widgets to your new window with no
problems ;)

Other things to fix tomorrow is the event handling stuff which assumes only
one window will be around...

I am currently using E-ScreenSave as my test epplet for this code, as I know
only about 2 people use it ;) Try it to see the code working.


SVN revision: 1472
1999-12-01 19:12:33 +00:00
Tom Gilbert f317508254 (please don't notice this KainX)
(please don't notice this KainX)
(please don't notice this KainX)
(please don't notice this KainX)
s/free/XFree
(please don't notice this KainX)
(please don't notice this KainX)
(please don't notice this KainX)
(please don't notice this KainX)


SVN revision: 1463
1999-11-30 16:53:33 +00:00
Tom Gilbert 9ce2ad30c3 Tue Nov 30 17:48:31 GMT 1999
(gilbertt)

E-ScreenShoot.c E-SD.c E-ScreenSave.c

Urm. Should've done this before. Removed some duplication, and one omission
in my cloaking code. Silly really, most people won't notice any difference,
but I will :)


SVN revision: 1462
1999-11-30 14:45:32 +00:00
Michael Jennings 2f3ce3aef4 This should work on Linux 2.0.x now.
SVN revision: 1461
1999-11-30 00:58:32 +00:00
Michael Jennings 3e6a527f10 Mon Nov 29 20:34:40 PST 1999
(KainX)

All the network stats stuff has been moved to a centralized location, and all
the network stats epplets have been converted to use the new functions.  Thus,
all network epplets can now have a portable interface to the data without
having to worry about portability; the backend takes care of it.

I also added copyright statements and a license to all my epplets.  And I
removed my name from the E-Mountbox copyright since my contributions were
negligible. :-)


SVN revision: 1460
1999-11-30 00:52:31 +00:00
Michael Jennings 26747a14ea Those variables were actually needed, cK. :-)
SVN revision: 1459
1999-11-29 23:52:59 +00:00
Michael Jennings 8ab0c9d1cf Mon Nov 29 19:03:00 PST 1999
(KainX)

Applied and modified significantly a patch to support E-NetFlame on Solaris.
Thanks to Tomas Calvo Gomez <tcalvo@tid.es> and Mark Bowyer
<Moredhel@earthling.net> for supplying the Solaris-isms. :-)


SVN revision: 1458
1999-11-29 23:21:26 +00:00
Christian Kreibich 7e989c8e19 Added Epplet_unremember to E-Mountbox. Added layout options to
E-Mixer and updated docs. Tom, change as you see fit, ok?


SVN revision: 1457
1999-11-29 21:50:40 +00:00
Michael Jennings c62780f399 Mon Nov 29 17:08:23 PST 1999
(KainX)

This fixes the bug E-Slides demonstrated in the focus stuff.  Doesn't seem to
break anything else as far as I can tell....


SVN revision: 1456
1999-11-29 21:25:54 +00:00
Michael Jennings 8e16291969 Mon Nov 29 16:03:53 PST 1999
(KainX)

Added support for specifying the width and height (in epplet units, 16 pixels)
of the E-Slides window.  -w <width> and -h <height> are the options.  The
default is the traditional 3x3, of course.  Note that this cannot be done via
config file options since the size is set before the config loader can be
called.


SVN revision: 1455
1999-11-29 20:23:05 +00:00
Tom Gilbert d343608385 Dammit. The random cloak code was slightly off. I screwed it up by removing
an anim without decrementing a number. Fixed.


SVN revision: 1454
1999-11-29 18:31:01 +00:00
Michael Jennings fea3c90571 Damnit, who put C++ comments in? I specifically said not to use them.
SVN revision: 1453
1999-11-29 18:00:00 +00:00
Laurence J. Lane 6c730b1e68 that evil install-data-hook was eating small domestic pets and data
files with "C", "V" or "S" in the name, it had to be stopped


SVN revision: 1452
1999-11-29 11:33:38 +00:00
Tom Gilbert 6680bc8f5d Mon Nov 29 14:08:10 GMT 1999
(gilbertt)

Tidied up E-UrlWatch lots. Its pretty lean now.


SVN revision: 1451
1999-11-29 10:29:22 +00:00
Richard Barnes 10af2854ff More fun with focus...
SVN revision: 1450
1999-11-28 22:59:25 +00:00
Richard Barnes 1a79294f41 Change to something more like ClickToFocus. The gadgets won't *keep* the focus
unless you click them. This probably needs a little more work...


SVN revision: 1449
1999-11-28 22:33:31 +00:00
Richard Barnes c588207445 Make focusing between an epplet and it's gadget's work a little better. Basically added sloppy-focus. The epplet remembers which gadget last had focus and, if none currently have focus and the last_gadget was a textboxes, passes key events to it.
SVN revision: 1448
1999-11-28 22:08:49 +00:00
Tom Gilbert 517bc09e71 Mon Nov 29 01:08:58 GMT 1999
(gilbertt)

Hrm. A segfault with a certain form of url. Fixed.


SVN revision: 1446
1999-11-28 21:31:57 +00:00
Tom Gilbert 1b47bfe241 Ok. This should be better, the list code was a bit messy. Now its super cool
:)


SVN revision: 1445
1999-11-28 20:44:37 +00:00
Tom Gilbert 3c94fbc165 Hrm. Duplicates are no longer added to the popup.
SVN revision: 1435
1999-11-28 19:07:34 +00:00
Tom Gilbert ba3c47ab02 forgot this
SVN revision: 1431
1999-11-28 18:17:44 +00:00
Tom Gilbert 6f5f6103ae Sun Nov 28 21:52:12 GMT 1999
(gilbertt)

Made the screensaver lock command configurable in E-ScreenSave.


SVN revision: 1430
1999-11-28 18:17:18 +00:00
Carsten Haitzler ea9b3ecfc9 atexit() added to E-Time
SVN revision: 1429
1999-11-28 17:53:06 +00:00
Tom Gilbert b0d77efe53 Sun Nov 28 21:06:21 GMT 1999
(gilbertt)

Added a popup containing a history of the urls you launch, of the urls found
in the file being watched. This is cool :)


SVN revision: 1428
1999-11-28 17:31:59 +00:00
Tom Gilbert b3b4eae813 *cough*
Check the return from malloc in the strdup function in utils.c


SVN revision: 1427
1999-11-28 16:32:59 +00:00
Tom Gilbert 6508a63aa4 Sun Nov 28 20:04:45 GMT 1999
(gilbertt)

Fixed some overzealous free()ing (no checks) in Epplet_gadget_destroy()


SVN revision: 1426
1999-11-28 16:31:23 +00:00
Tom Gilbert 3c1f201311 More sensible default options. Please blow away your old configs ;)
SVN revision: 1423
1999-11-28 15:02:28 +00:00
Tom Gilbert 4bf297095d d'oh
SVN revision: 1422
1999-11-27 21:48:24 +00:00
Tom Gilbert b732ee2c88 Sun Nov 28 01:12:11 GMT 1999
(gilbertt)

Added some help dox for E-UrlWatch.


SVN revision: 1421
1999-11-27 21:45:32 +00:00
Tom Gilbert 6637ec0708 well that didn't work
SVN revision: 1420
1999-11-27 18:27:47 +00:00
Tom Gilbert 6c732e8f06 Just trying something
SVN revision: 1419
1999-11-27 18:17:58 +00:00
Richard Barnes 7194de932b Textbox bugfixes (I hope), thanks for bitching, guys *ducks*
SVN revision: 1418
1999-11-27 17:58:33 +00:00
Richard Barnes 962a738516 You can paste to textboxes now....whoopty d00.
SVN revision: 1417
1999-11-27 16:17:16 +00:00
Tom Gilbert 2d446b79dc Hrm. Trying to debug a problem Demonishi was having...
Maybe it'll be ok now?


SVN revision: 1416
1999-11-27 13:03:19 +00:00
Tom Gilbert a9f9e51483 Hrm. Could do with an icon. (Wish I was artistic).
SVN revision: 1415
1999-11-26 21:56:26 +00:00
Tom Gilbert 921c8df941 Sat Nov 26 00:48:19 GMT 1999
(gilbertt)

Added a groovy new noise for E-UrlWatch to make when a new URL is found.
Coolness. Now supports TE ootb.


SVN revision: 1414
1999-11-26 21:34:02 +00:00
Tom Gilbert 4d330ad97b need this now
SVN revision: 1413
1999-11-26 21:17:18 +00:00
Tom Gilbert 2d018c6bf3 *cough*
Note to self:
When you printf an int, it is conventional *not* to use %f :)


SVN revision: 1410
1999-11-26 16:23:16 +00:00
Tom Gilbert 92ecfe4aad Fri Nov 25 19:17:05 GMT 1999
(gilbertt)

E-UrlWatch

Added support for URL grabbers such as that found in TE/Epic. In the example
of TE, urls are stripped from irc convo, and dumped into ~/.te/.urls
If told to via the config (as it will by default), E-UrlWatch will watch
that file, and will strip out new urls and allow you to view them at the
touch of a button. (Or automatically if you specify). It'll also perform a
configurable command (I use it to play a sound) when a new URL appears.

Other misc cleanups have taken place, and I have very carefully hidden a
couple of juicy bugs. Find them for me, and you win a prize ;)


SVN revision: 1409
1999-11-26 16:08:48 +00:00
Tom Gilbert d0693cdabb Added some debugging code, and tidy, tidy, tidy.
SVN revision: 1407
1999-11-25 17:59:23 +00:00
Tom Gilbert 014e7ab5cc Thu Nov 25 20:48:51 GMT 1999
(gilbertt)

Oops. Fixed a naughty segfault with my shoddy string handling routines.


SVN revision: 1402
1999-11-25 17:42:17 +00:00
Michael Jennings 89085f3eee Wed Nov 24 18:33:45 PST 1999
(KainX)

Major restructuring and cleanup.  I think the new standard should be pretty
self-explanatory, but let me know if you have any questions.  CVS developers,
PLEASE read epplets/Makefile.am carefully to see how it all works now.

Icons are stored in epplets/icons/ and are installed into
$EROOT/epplet_icons/.  All miscellaneous data files (including images) are
stored in epplets/<epplet name>-data/ and are installed into
$EROOT/epplet_data/<epplet name>/.  Also note that, if you're going to use the
same old aircut3.ttf and bg.png in your help section, add your epplet's name
to NEED_BG and NEED_FONT in epplets/Makefile.am.  Do NOT commit duplicates of
those two files.


SVN revision: 1394
1999-11-24 23:36:51 +00:00
Tom Gilbert 893ccf7d6a tidying the looks of E-UrlWatch
SVN revision: 1393
1999-11-24 18:02:28 +00:00
Michael Jennings 715f7a2a62 Wed Nov 24 12:11:04 PST 1999
(KainX)

Added checks for epplet image classes on startup.  Adapted from a patch by
Troy Pesola <troy.pesola@network.com>.


SVN revision: 1392
1999-11-24 17:16:39 +00:00
Tom Gilbert b00a41b4e9 Wed Nov 24 20:11:57 GMT 1999
(gilbertt)

E-UrlWatch.

Now displays the url it launches, and scrolls long urls back and forth, so
you can see 'em.


SVN revision: 1391
1999-11-24 17:13:47 +00:00
Tom Gilbert a5df9b1bdb Whoops.
SVN revision: 1390
1999-11-24 15:36:59 +00:00
Tom Gilbert e6787866ee Wed Nov 24 18:29:19 GMT 1999
(gilbertt)

E-UrlWatch.

Changed size. Added buttons to allow several different "modes" of action.
When you have a url in the X paste buffer, each button will grab the url,
and perform a configurable action upon it. The three are www, ftp, and get.
The default is gnome-moz-remote for the first two, and wget for the third.
The epplet is extremely ugly right now, but I'm working on the code atm, so
ignore that :)

More cool stuff to come :)


SVN revision: 1389
1999-11-24 15:35:07 +00:00
Tom Gilbert e73575f1d3 Tue Nov 23 23:26:47 GMT 1999
(gilbertt)

Now save all urls processed to ~/.Urls

Auto e-mailing to your mom is not yet supported.


SVN revision: 1385
1999-11-23 20:39:49 +00:00
Tom Gilbert cbca3d5cd6 What just happened?
I added these files, commited, and then cvs removed them for me...

Bizarre!


SVN revision: 1384
1999-11-23 20:16:04 +00:00
Tom Gilbert a11c775d15 forgot this little baby
SVN revision: 1383
1999-11-23 19:52:52 +00:00