Commit Graph

57 Commits

Author SHA1 Message Date
llane 42439c5598 Feh.
SVN revision: 942
1999-10-21 21:42:35 +00:00
Michael Jennings a54e99b6d5 Tue Oct 19 16:34:51 PDT 1999 Michael Jennings <mej@eterm.org>
This should get rid of all the warnings.  If you're running Linux and
	get warnings about setresuid, setresgid, grantpt, and unlockpt not
	having prototypes, feel free to add the following lines to your copy
	of /usr/include/unistd.h:

	/* Linux- and HP-UX-only setres?id() calls -- mej */
	extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
	extern int setresgid(gid_t rgid, gid_t egid, gid_t sgid);
	/* SVR4 PTY functions */
	extern int grantpt(int fd);
	extern int unlockpt(int fd);


SVN revision: 886
1999-10-19 17:44:02 +00:00
Mandrake 664c44bb96 Tue Oct 19 00:13:17 PDT 1999 Mandrake <mandrake@mandrake.net>
Almost all the warnings are gone.  only 3 remain on my system at home.
    two in command.c (where do I get proper prototypes for grantpt() and
    unlockpt()?) and one in options.c that is bizarre:
    options.c:3433: warning: `%x' yields only last 2 digits of year in some
    locales


SVN revision: 871
1999-10-19 01:22:10 +00:00
Mandrake fd604f2878 Mon Oct 18 23:59:17 PDT 1999 Mandrake <mandrake@mandrake.net>
More warning bashing in Esetroot.c


SVN revision: 869
1999-10-19 01:07:09 +00:00
Mandrake 4c7dd8c3b9 Mon Oct 18 19:33:26 PDT 1999 Mandrake <mandrake@mandrake.net>
Warnings begone!
	    Eterm/src/command.c still has two warnings but I don't know why
		    I didn't get rid fo them.  there are still warnings in
			    Esetroot.c and in Etbg, but I'll fix those later.


SVN revision: 866
1999-10-18 20:43:03 +00:00
Michael Jennings 85006099b6 Tue Oct 12 16:24:20 PDT 1999 Michael Jennings <mej@eterm.org>
Fixed a scrollbar refresh bug pointed out by Sung-Hyun Nam
	<namsh@lgic.co.kr>.


SVN revision: 802
1999-10-12 18:51:56 +00:00
Michael Jennings 8cab1e0245 Mon Oct 11 22:24:12 PDT 1999 Michael Jennings <mej@eterm.org>
Sync after resize in auto mode.


SVN revision: 800
1999-10-12 01:01:32 +00:00
Michael Jennings 8e252e121d Mon Oct 11 16:48:22 PDT 1999 Michael Jennings <mej@eterm.org>
More useless, hackish, and/or poorly-written code meets an untimely
	end.


SVN revision: 799
1999-10-11 19:29:45 +00:00
Michael Jennings 332269133d Mon Oct 11 15:54:52 PDT 1999 Michael Jennings <mej@eterm.org>
Lots of cleanups here, including a couple fixes for bugs noticed by
	Tom Gilbert <gilbertt@tomgilbert.freeserve.co.uk> and Martin Tyler
	<martin@boo.org>.  Also removed the requirement of glibc 2.1 for using
	SVR4-style pty's (/dev/pts/*) under Linux.


SVN revision: 798
1999-10-11 18:37:55 +00:00
Michael Jennings 11b7b87dad Fri Oct 8 15:31:49 PDT 1999 Michael Jennings <mej@eterm.org>
This should fix all the weird menu behavior from time to time (well,
	I hope it does anyway).


SVN revision: 719
1999-10-08 18:49:57 +00:00
Michael Jennings dd84c6abab Thu Oct 7 18:48:31 PDT 1999 Michael Jennings <mej@eterm.org>
Shaved off around 100 KB of memory usage per Eterm by moving more
	code into the shared library, removing lots of unneeded variables, and
	fixing some small leaks here and there.


SVN revision: 710
1999-10-07 22:18:14 +00:00
Michael Jennings fb94fcd0b6 Thu Oct 7 16:39:48 PDT 1999 Michael Jennings <mej@eterm.org>
raster pointed out that the "clicked" image for the scrollbar anchor
	wasn't working.  It is now. :-)


SVN revision: 707
1999-10-07 20:08:55 +00:00
Michael Jennings 83146208c7 Thu Oct 7 16:12:38 PDT 1999 Michael Jennings <mej@eterm.org>
Auto mode has been fixed to work with the newest E.  If you don't have
	the newest E, it won't work.  So don't bug me about it; just upgrade.
	Your version of E must be dated October 7th or later, or all bets are
	off.

	I also cleaned up some stuff to save lots of unnecessary redraws and
	(if you're in auto mode) E IPC transactions.

	A bug in the value set for $IFS was also fixed.  Thanks to Kimball
	Thurston <kimball@sgrail.com> for pointing out my oversight.

	Furthermore, I added a parameter to the --enable-multi-charset option
	for configure.  You can now specify =utf-8 to get UTF-8 fonts for the
	multi-byte mode stuff.  If you pass =kanji (or no value at all), you
	will still get the old Kanji fonts.  If you use multi-byte Eterm and
	have a set of fonts for other setups (Big 5, Cyrillic, etc.), please
	let me know and I'll add a parameter for those too.


SVN revision: 706
1999-10-07 19:47:14 +00:00
Michael Jennings 5df9e64ec8 Mon Oct 4 18:20:15 PDT 1999 Michael Jennings <mej@eterm.org>
A few touch-ups.


SVN revision: 655
1999-10-04 22:24:28 +00:00
Michael Jennings 9fa7268341 Fri Oct 1 11:03:21 PDT 1999 Michael Jennings <mej@eterm.org>
Set $COLORTERM_BCE for better SLang compatibility.


SVN revision: 531
1999-10-01 15:49:18 +00:00
Michael Jennings 1879695199 Wed Sep 29 15:30:47 PDT 1999 Michael Jennings <mej@eterm.org>
Make auto mode work with the terminal background (ETERM_BG) too.
	Sorry raster. :-)


SVN revision: 455
1999-09-29 20:38:29 +00:00
Michael Jennings 35356e00f0 Tue Sep 28 18:54:16 PDT 1999 Michael Jennings <mej@eterm.org>
The config parser is now much more bullet-proof.  A pixmaps.list file
	with too many entries will no longer crash Eterm.


SVN revision: 450
1999-09-29 00:14:05 +00:00
Michael Jennings 3630db17ab Tue Sep 28 14:18:44 PDT 1999 Michael Jennings <mej@eterm.org>
Several fixes here, some of which I forgot to commit a couple days
	ago.  Oopsie. =)


SVN revision: 438
1999-09-28 19:38:43 +00:00
Michael Jennings 5cf9f10625 Fri Sep 24 13:05:40 PDT 1999 Michael Jennings <mej@eterm.org>
The submenu image problem is fixed, and so is the bug where Eterm
	would hang if you had anything in auto mode and restarted E.


SVN revision: 392
1999-09-24 19:08:37 +00:00
Michael Jennings c4163c0062 Thu Sep 23 17:15:27 PDT 1999 Michael Jennings <mej@eterm.org>
Well, we're to the point of asking E to render the submenu image, but
	it keeps returning null pixmaps. =]  I'll have to dig deeper.


SVN revision: 388
1999-09-23 23:27:16 +00:00
Michael Jennings fcc0522f12 Thu Sep 23 15:56:35 PDT 1999 Michael Jennings <mej@eterm.org>
Auto mode lives.  Still a little flaky with the submenu pixmap, but
	everything else seems to work peachily.  It requires an Enlightenment
	themes that contains the needed imageclasses, but that's not hard to
	do.  Here are the classes you need:

	ETERM_BG             Background image
	ETERM_ARROW_UP       Up arrow
	ETERM_ARROW_DOWN     Down arrow
	ETERM_ARROW_LEFT     Left arrow (for future use)
	ETERM_ARROW_RIGHT    Right arrow (for future use)
	ETERM_TROUGH         Scrollbar trough
	ETERM_ANCHOR         Scrollbar anchor
	ETERM_MENU_BOX       Menu background
	ETERM_MENU_ITEM      Menu item
	ETERM_MENU_SUBMENU   Submenu item

	Currently, ETERM_MENU_BOX doesn't work; Eterm uses ETERM_MENU_ITEM
	instead.  This is a design issue I have to fix. :-)  Everything else,
	however, should work as noted above.


SVN revision: 387
1999-09-23 22:14:31 +00:00
Michael Jennings dac3e8e0a5 Wed Sep 22 15:52:01 PDT 1999 Michael Jennings <mej@eterm.org>
The font caching seems to work now, so let me know if you find any
	problems.


SVN revision: 373
1999-09-22 22:15:46 +00:00
Michael Jennings f3c6a56ace Tue Sep 21 20:00:50 PDT 1999 Michael Jennings <mej@eterm.org>
Initial work on font caching.  WARNING:  This code is broken and will
	not compile, but I'm going home anyway.


SVN revision: 362
1999-09-22 02:34:13 +00:00
Michael Jennings bbb476846f Mon Sep 20 21:25:46 PDT 1999 Michael Jennings <mej@eterm.org>
Added support for xterm's property change escape sequence as requested
	by Greg Badros <gjb@cs.washington.edu>, the originator of the
	sequence.


SVN revision: 353
1999-09-21 04:09:53 +00:00
Michael Jennings 23ae8eb96f Mon Sep 20 21:00:46 PDT 1999 Michael Jennings <mej@eterm.org>
Fixed a problem with sticky transparent Eterms not updating their
	background image.


SVN revision: 352
1999-09-21 03:44:17 +00:00
Michael Jennings 5f7d60b3b2 Mon Sep 20 20:33:13 PDT 1999 Michael Jennings <mej@eterm.org>
Frikkin'...!  Well, this should fix the text updating problem with
	transparency, though I swear I don't know why it was crashing before
	and isn't now....


SVN revision: 351
1999-09-21 03:17:48 +00:00
Michael Jennings e700e69dff Mon Sep 20 18:32:01 PDT 1999 Michael Jennings <mej@eterm.org>
Lots of changes here.  First off, this should fix the background draw
	bug with transparency that several people pointed out.  While I was
	at it, I also cleaned up a lot of other related stuff.  Three-state
	images should be a lot more robust now.

	Then again, some stuff may be broken entirely from this, so let me
	know. :-)

	For one thing, the various image modes should work as expected now.
	You can allow and disallow modes for the various widgets.  The
	fallback mode is "solid" now, rather than "image," so you can cause
	a certain widget to refuse to use an image if you want to.  If you
	specify an image without specifying a "mode" line that allows the
	"image" mode, your image will not appear. <-- READ THIS TWICE!  I
	had to go back and fix all the theme files because of this, so you
	will need to remove your current theme directory and allow Eterm's
	"make install" to put the new ones in place; otherwise, everything
	will go back to being solid colors. =]

	Anytime something changes this drastically, there are bound to be
	problems.  Let me know if you find any of them. :)


SVN revision: 348
1999-09-21 01:16:46 +00:00
Michael Jennings e4070d2075 Reverting last change for now. Something's very wrong here.
SVN revision: 347
1999-09-20 23:57:57 +00:00
Michael Jennings 933cb583be Mon Sep 20 16:08:41 PDT 1999 Michael Jennings <mej@eterm.org>
Lots of changes here.  First off, this should fix the background draw
	bug with transparency that several people pointed out.  While I was
	at it, I also cleaned up a lot of other related stuff.  Three-state
	images should be a lot more robust now.

	Then again, some stuff may be broken entirely from this, so let me
	know. :-)

	For one thing, the various image modes should work as expected now.
	You can allow and disallow modes for the various widgets.  The
	fallback mode is "solid" now, rather than "image," so you can cause
	a certain widget to refuse to use an image if you want to.  If you
	specify an image without specifying a "mode" line that allows the
	"image" mode, your image will not appear. <-- READ THIS TWICE!  I
	had to go back and fix all the theme files because of this, so you
	will need to remove your current theme directory and allow Eterm's
	"make install" to put the new ones in place; otherwise, everything
	will go back to being solid colors. =]

	Anytime something changes this drastically, there are bound to be
	problems.  Let me know if you find any of them. :)


SVN revision: 345
1999-09-20 23:08:00 +00:00
Michael Jennings 7ee0bc1332 Thu Sep 16 16:21:22 PDT 1999 Michael Jennings <mej@eterm.org>
Fixed a possible null-byte overflow in the menu code.

	Also, there seems to be a memory leak in XLoadQueryFont() in some
	versions of XFree86 3.9.x, so I removed the unnecessary "font" lines
	from the themes for the time being.


SVN revision: 296
1999-09-16 22:40:44 +00:00
Michael Jennings 17fc1ddb01 Oops. :-)
SVN revision: 281
1999-09-15 01:37:01 +00:00
Michael Jennings 5ee36e0fd6 Tue Sep 14 16:41:08 PDT 1999 Michael Jennings <mej@eterm.org>
Worked around a XF86 3.9.16 (perhaps Xinerama) problem.  Also added
	some XIM changes from Sung-Hyun Nam <namsh@lgic.co.kr> to handle
	buffer overflows.


SVN revision: 274
1999-09-14 23:22:06 +00:00
Michael Jennings 7da9c03c0c Doh.
SVN revision: 262
1999-09-13 19:21:08 +00:00
Michael Jennings 0ac77bdb2f Mon Sep 13 12:23:36 PDT 1999 Michael Jennings <mej@eterm.org>
Removed the tn3270 theme, which nobody uses, and added the cEterm
	theme.  You get the same colors as Alfredo's original script, but
	without all the crap on the command line. :-)


SVN revision: 261
1999-09-13 19:18:20 +00:00
Michael Jennings 0efd3d7465 Wed Sep 8 11:11:00 PDT 1999 Michael Jennings <mej@eterm.org>
Patch from Sung-Hyun Nam <namsh@lgic.co.kr> for the theme files.  Also
	added a timeout for the backtrace attempt so that it hopefully won't
	hang around forever when gdb decides to hang.


SVN revision: 204
1999-09-08 17:57:06 +00:00
Michael Jennings 48b2403b9a Tue Sep 7 13:15:30 PDT 1999 Michael Jennings <mej@eterm.org>
make distcheck works without breaking regular makes now. =P


SVN revision: 192
1999-09-07 20:10:12 +00:00
Michael Jennings 6882c231fa Tue Sep 7 11:43:42 PDT 1999 Michael Jennings <mej@eterm.org>
Added paranoia checks to make sure the desktop pixmap property hasn't
	been corrupted.


SVN revision: 191
1999-09-07 18:36:19 +00:00
Michael Jennings b1cc810fab Fri Sep 3 17:05:02 PDT 1999 Michael Jennings <mej@eterm.org>
Eterm passes "make distcheck" now.  Hurray.


SVN revision: 174
1999-09-03 23:41:25 +00:00
Michael Jennings 8d68cdab81 Fri Aug 27 19:39:26 PDT 1999 Michael Jennings <mej@eterm.org>
Fix fix fix.


SVN revision: 107
1999-08-28 02:40:00 +00:00
Michael Jennings 6735efa7c7 Wed Aug 25 12:28:50 PDT 1999 Michael Jennings <mej@eterm.org>
Applied XIM fix from Sung-Hyun Nam <namsh@lgic.co.kr>.


SVN revision: 94
1999-08-25 19:29:42 +00:00
Michael Jennings e0d712602f Tue Aug 24 13:00:46 PDT 1999 Michael Jennings <mej@eterm.org>
Fixed the bug reported by David Coulson <technoir@linux.com> that
	caused incorrect updates in trans mode.


SVN revision: 93
1999-08-24 20:02:01 +00:00
Michael Jennings 57d71c5b42 Tue Aug 24 12:31:23 PDT 1999 Michael Jennings <mej@eterm.org>
Added more debugging output to pixmap.c to try and locate some bugs.


SVN revision: 92
1999-08-24 19:32:03 +00:00
Michael Jennings 72074a8361 Mon Aug 23 10:33:20 PDT 1999 Michael Jennings <mej@eterm.org>
Fixed a bug where Eterm wouldn't start handling events soon enough.


SVN revision: 79
1999-08-23 17:35:17 +00:00
Michael Jennings dcce6f471c Fri Aug 20 17:28:24 PDT 1999 Michael Jennings <mej@eterm.org>
Fixed a small bug in icon size handling located by Hubert Verstraete
	<hubertv@bigfoot.com>.


SVN revision: 67
1999-08-21 00:30:06 +00:00
Michael Jennings 58a51fe10e Fri Aug 20 16:05:59 PDT 1999 Michael Jennings <mej@eterm.org>
Ugh.  I'd fixed this on my local theme but never on the CVS stuff.
	Sorry, folks.  Thanks to Ashley Penney <ashp@bastard.co.uk> for
	pointing this out.  The F1 key should bring up the menu now, and that
	line should no longer generate a parse error. =)


SVN revision: 66
1999-08-20 23:07:40 +00:00
Michael Jennings b5a445f9da Fri Aug 20 15:21:51 PDT 1999 Michael Jennings <mej@eterm.org>
Damn!  No wonder it's been so fscking slow.  Okay, folks, try
	some shaded transparency now.  I'll bet you'll notice a speed
	difference. :-)


SVN revision: 65
1999-08-20 22:22:59 +00:00
Michael Jennings b89ca88e52 Fri Aug 20 13:23:44 PDT 1999 Michael Jennings <mej@eterm.org>
Since Mr. Kletnieks reminded me that I never finished it, I finally
	implemented support for right-justified menu text. :-)  Now you'll
	know why some of those menus seemed unnecessarily wide.


SVN revision: 64
1999-08-20 20:25:04 +00:00
Michael Jennings 022e3021d3 Thu Aug 19 16:45:36 PDT 1999 Michael Jennings <mej@eterm.org>
Applied patch from Valdis Kletnieks <valdis.kletnieks@vt.edu> which
	reduces the amount of excess space in menus when using proportional
	fonts.


SVN revision: 61
1999-08-19 23:48:05 +00:00
Michael Jennings 52fbe59fac Wed Aug 18 18:17:14 PDT 1999 Michael Jennings <mej@eterm.org>
Apparently, FreeBSD has a timer_t already, so I renamed Eterm's.
	Thanks to Carl Lewis <carl@dpiwe.tas.gov.au> for pointing this out.


SVN revision: 56
1999-08-19 01:22:17 +00:00
Michael Jennings 64a0298be9 Moo.
SVN revision: 55
1999-08-19 00:58:43 +00:00