Commit Graph

93 Commits

Author SHA1 Message Date
Michael Jennings 0c66bab547 Wed Jan 5 21:23:56 PST 2000 Michael Jennings <mej@eterm.org>
Copyright date updates.


SVN revision: 1860
2000-01-05 17:34:32 +00:00
Michael Jennings b2b525585d Not needed.
SVN revision: 1849
2000-01-04 15:31:12 +00:00
Michael Jennings 7830619d07 Tue Jan 4 14:13:48 PST 2000 Michael Jennings <mej@eterm.org>
Some minor optimizations I did while looking into a bug report.


SVN revision: 1842
2000-01-04 10:46:47 +00:00
Michael Jennings d7aae78488 Mon Jan 3 19:36:16 PST 2000 Michael Jennings <mej@eterm.org>
Fixed a seg fault on large resizes.  Also redid some of the memory
	tracking code to provide more information.


SVN revision: 1837
2000-01-03 16:23:56 +00:00
Michael Jennings ea41c7f739 Mon Jan 3 12:47:59 PST 2000 Michael Jennings <mej@eterm.org>
Fixed the bug with a solid scrollbar not updating colors when the
	focus changed.  Pointed out by cirin <stevenr@houston.rr.com>.


SVN revision: 1824
2000-01-03 09:40:14 +00:00
Michael Jennings 04b6556890 Mon Jan 3 11:14:27 PST 2000 Michael Jennings <mej@eterm.org>
First commit of the new year!  (Notice I didn't say the new millenium,
	since *that* doesn't start until Jan 1, 2001.)

	This should hopefully fix the bug where dead keys would bring up the
	menu.


SVN revision: 1823
2000-01-03 08:07:32 +00:00
Michael Jennings 31afa9e2a8 Thu Dec 30 14:55:59 PST 1999 Michael Jennings <mej@eterm.org>
Finally fixed the seg fault pointed out by Tom Gilbert
	<gilbertt@tomgilbert.freeserve.co.uk> back in mid-September where
	small Eterms with little or no scrollback would crash when receiving
	large amounts of data all at once.

	I also fixed a clearing issue with double buffering, and I worked
	around a really lame gdb/glibc2 bug that has prevented me from using
	gdb with Eterm for ages.


SVN revision: 1804
1999-12-30 12:44:45 +00:00
Michael Jennings b1d55e271d Wed Dec 29 12:32:19 PST 1999 Michael Jennings <mej@eterm.org>
I think I've finally got the menu behavior working right.  Menus now
	move themselves if needed, and exposes are now handled properly.


SVN revision: 1782
1999-12-29 10:36:38 +00:00
Michael Jennings cebe627ab6 Tue Dec 28 11:44:10 PST 1999 Michael Jennings <mej@eterm.org>
Thanks to a cl00 from raster, double buffering is much more efficient
	now. :-)


SVN revision: 1780
1999-12-28 10:05:43 +00:00
Michael Jennings d5373ead6a Tue Dec 21 16:04:39 PST 1999 Michael Jennings <mej@eterm.org>
Fixed a little issue with setting the background pixmap to None via
	the menu.


SVN revision: 1729
1999-12-21 16:04:02 +00:00
Michael Jennings d4edaa77fc Tue Dec 21 13:19:06 PST 1999 Michael Jennings <mej@eterm.org>
Fixed the geometry handling again.  Also fixed the parsing of geometry
	strings like '-0+0'.


SVN revision: 1724
1999-12-21 13:20:32 +00:00
Michael Jennings d9251f002d Mon Dec 20 19:38:40 PST 1999 Michael Jennings <mej@eterm.org>
I fixed a bunch of double-buffering stuff here.  I'm going to use it
	by default on my own Eterms for awhile, and if I don't hit any snags,
	I'll make it the default in the themes.


SVN revision: 1708
1999-12-20 19:52:10 +00:00
Michael Jennings 1b605f362f Mon Dec 20 18:51:10 PST 1999 Michael Jennings <mej@eterm.org>
Son of a Gnea.  How did I ever get away with having *these* frikkin'
	bugs in there?! =P


SVN revision: 1704
1999-12-20 19:08:00 +00:00
Michael Jennings 8a879cc69d Added some fallbacks and such for transparency.
SVN revision: 1611
1999-12-13 17:34:44 +00:00
Michael Jennings ce9352799c Mon Dec 13 10:00:40 PST 1999 Michael Jennings <mej@eterm.org>
A patch from Sung-Hyun Nam <namsh@lgic.co.kr> for some default Korean
        fonts.


SVN revision: 1606
1999-12-13 12:10:50 +00:00
Michael Jennings ea23f130e8 Mon Dec 13 09:42:44 PST 1999 Michael Jennings <mej@eterm.org>
Oops.  I intended to test without multi-charset before committing, but
        I seem to have forgotten to do that.  Lots and lots of people
        submitted various patches for this, but I didn't use any of them.  But
        thanks to all for pointing out my error. :-)


SVN revision: 1603
1999-12-13 11:53:54 +00:00
Michael Jennings 55ddc328cd Fri Dec 10 23:33:16 PST 1999 Michael Jennings <mej@eterm.org>
I finally got around to implementing double-buffering, although it
	seems to still have some issues with font changes.  But if you don't
	change fonts, it works great. :-)

	I also fixed the multibyte font stuff with help from Sung-Hyun Nam
	<namsh@lgic.co.kr>.  There seem to be some new issues here, though,
	with the background pixmap.  But I'm to tired to look deeper tonight.


SVN revision: 1588
1999-12-11 02:06:33 +00:00
Michael Jennings 4af86536a7 Tue Dec 7 22:10:19 PST 1999 Michael Jennings <mej@eterm.org>
Support for RedHat's utempter library and some other fixes.  Thanks to
	Erik Troan <ewt@redhat.com> and Tim Powers <timp@redhat.com> for their
	help with this.


SVN revision: 1547
1999-12-08 01:13:44 +00:00
Michael Jennings b9864e98fe Mon Dec 6 21:53:23 PST 1999 Michael Jennings <mej@eterm.org>
Update our modifier masks when the mappings change.  Note that this
	will supercede any config file settings you have; that's life.


SVN revision: 1529
1999-12-07 01:03:49 +00:00
Michael Jennings 489e161a8e Mon Dec 6 17:30:21 PST 1999 Michael Jennings <mej@eterm.org>
I'm an idiot.  Thanks to Matthew Hawkins <matthew@topic.com.au> for
	catching my blunder.


SVN revision: 1520
1999-12-06 20:42:17 +00:00
Michael Jennings 8856f0a225 Mon Dec 6 14:05:36 PST 1999 Michael Jennings <mej@eterm.org>
Added support for the Pablo Performance Analysis Toolkit
	(http://www-pablo.cs.uiuc.edu/Software/Pablo/pablo.htm).


SVN revision: 1510
1999-12-06 17:20:16 +00:00
Michael Jennings b1994ddf16 Oops.
SVN revision: 1502
1999-12-06 15:34:42 +00:00
Michael Jennings fa9da4f7eb Thu Dec 2 22:18:51 PST 1999 Michael Jennings <mej@eterm.org>
A good number of changes here.  First off, since nobody reported any
	bugs with the new font stuff, I switched the multibyte fonts over to
	use it as well.  They do use the same font index, however, in order to
	keep the sizes matched up.

	I also fixed up the modifier stuff so that Meta and Alt are matched
	by KeySym rather than assuming Mod1.  I also took care of the action
	dispatcher so it would keep up with these changes.

	To go along with this, I added 3 new options and config file
	attributes which allow you to set the modifier that should represent
	Meta, Alt, and NumLock.  This overrides the automatically-detected
	X server settings.

	I also applied some fixes to the XIM code from Sung-Hyun Nam
	<namsh@lgic.co.kr>.


SVN revision: 1482
1999-12-03 02:31:33 +00:00
Michael Jennings c00ecb143c Fri Nov 19 23:05:31 PST 1999 Michael Jennings <mej@eterm.org>
Once again, I've rendered old themes obselete. :-)

	I added a new config file attribute and command-line parameter.  The
	option is --default-font-index, but I wouldn't necessarily use it.
	The config file attribute makes more sense. :-)

	Anyway, your themes will now need to have a line like this:

	    font default <index>

	in the attributes section.  This tells Eterm which font it should use
	on startup.  (<index> is a number between 0 and the highest-numbered
	font you define.)  You can now have up to 256 fonts.  Font 0 is no
	longer necessarily the default font; it is the smallest font.  And the
	larger the font index, the larger the font should be.  (Of course,
	this assumes you want Ctrl-> and Ctrl-< to increase/decrease your font
	size.  In reality, you can have your fonts in any order, and those
	keys will cycle through them in order.)

	Before, font 0 was always the default, and you didn't have much
	freedom in rearranging your fonts.  Plus, you were limited to 5.  Not
	any more. :-)  The new system is much more straight-forward, logical,
	and powerful.

	So please be sure to update your themes by hand, or remove your theme
	directory before installing this new version.  If your theme lacks
	the "font default" line, your Eterms will start with the wrong font.
	:-]


SVN revision: 1344
1999-11-20 05:17:29 +00:00
Michael Jennings eeab8b0a87 Fri Nov 19 18:43:58 PST 1999 Michael Jennings <mej@eterm.org>
Fixed some other stuff I found, and cleaned up the remaining
	occurances of calls to the old scrollbar_show() function.


SVN revision: 1343
1999-11-20 00:51:26 +00:00
Michael Jennings eec575c1e3 Fri Nov 19 16:55:22 PST 1999 Michael Jennings <mej@eterm.org>
Okay, I think I have everything back in working order.  PLEASE test
	this thoroughly, as an awful lot has changed.  Let me know what I
	broke. :)


SVN revision: 1339
1999-11-19 23:21:09 +00:00
Michael Jennings c58c7d411b Thu Nov 18 21:47:02 PST 1999 Michael Jennings <mej@eterm.org>
I've rewritten almost the entire scrollbar.  It mostly works, but it
	still has issues.  I've put an #error directive in so that it won't
	compile; take it out if you *really* wanna try it.  It's much more
	efficient than before.


SVN revision: 1333
1999-11-19 04:05:24 +00:00
Michael Jennings 5894debb3a Wed Nov 17 18:34:43 PST 1999 Michael Jennings <mej@eterm.org>
Some selection changes and escape sequence fixes.  You can now
	specify multiple color modifier commands in a single escape sequence.
	You can also remove any existing color modifiers using "clear".


SVN revision: 1324
1999-11-18 01:21:26 +00:00
Michael Jennings b6305595a7 Typo fix.
SVN revision: 1317
1999-11-16 00:55:07 +00:00
Michael Jennings 5b5d19e63b Mon Nov 15 13:20:05 PST 1999 Michael Jennings <mej@eterm.org>
Two more bugs fixed.  One, Trevor Powell <vulpine@zikzak.net> spotted
	an issue with left-side scrollbars which is now fixed.  Two...um...
	ahem.  Fixed the auto mode titlebar thing.  *cough*  Turns out I was
	doing something stupid with my IPC window (i.e., not having one) that
	caused E to ignore lots of events on my window.  Oops, sorry folks.
	raster has given me the cl00bat beating, so it's fixed now. :-]


SVN revision: 1314
1999-11-15 20:33:44 +00:00
Michael Jennings 25345b9511 Added some debugging stuff to prove that the title-setting issue is NOT an
Eterm bug.


SVN revision: 1293
1999-11-13 03:51:58 +00:00
Michael Jennings 1b2977a3d4 Fri Nov 12 19:37:35 PST 1999 Michael Jennings <mej@eterm.org>
Okay, I've fixed a lot here.  First off, I fixed the bug Gnea
	<gnea@rochester.rr.com> pointed out with toggling Max Size in E.
	Turned out to be a symptom of a much larger problem, but it should be
	fixed now.  Then I corrected the XIM issues pointed out by Sung-Hyun
	Nam <namsh@lgic.co.kr> and Jerome De Greef
	<jerome_degreef@hotmail.com>, as well as a stupid typo on my part that
	Jerome happened upon.  Next I fixed the bug Adam Lucas
	<ALucas@wcom.net> spotted with changing the scrollbar type.  While
	fixing that, I also fixed changing the scrollbar width.  Both
	operations are a lot smoother and cleaner now.


SVN revision: 1292
1999-11-13 03:15:18 +00:00
Michael Jennings e6e0a230e6 Fri Nov 12 17:55:05 PST 1999 Michael Jennings <mej@eterm.org>
This should bring the technical reference up-to-date.  Eterm IPC is
	now documented for the first time.


SVN revision: 1290
1999-11-13 01:29:53 +00:00
Michael Jennings 9cc86a983b Thu Nov 11 18:25:07 PST 1999 Michael Jennings <mej@eterm.org>
The man page should now be up-to-date for Eterm 0.9.  Please check it
	to make sure. :-)  I also fixed a few minor nits here.


SVN revision: 1259
1999-11-12 02:12:20 +00:00
Michael Jennings 1848961d4c Mon Nov 8 20:17:50 PST 1999 Michael Jennings <mej@eterm.org>
All the settings should save now, so if something doesn't work or I
	missed something, report it as a bug.

	HOWEVER!  Keep in mind that "Save Settings..." saves to a file called
	user.cfg in the current theme directory.  This means two things.  One,
	if you do not have write permissions to the current theme directory
	($ETERM_THEME_ROOT), it will fail.  Two, if you save settings to the
	default (Eterm) theme, these settings will override ALL your other
	themes!  If you save settings to the default theme, you better expect
	to get those settings everywhere, unless the other themes also contain
	user.cfg files.


SVN revision: 1214
1999-11-08 18:28:48 +00:00
Michael Jennings a1d79cbefe Mon Nov 8 18:46:52 PST 1999 Michael Jennings <mej@eterm.org>
Saving settings now works, for the most part.  Still some stuff to get
	cleaned up, but it's basically there now.


SVN revision: 1212
1999-11-08 16:52:29 +00:00
Michael Jennings da6c1894fb Fri Nov 5 13:04:36 PST 1999 Michael Jennings <mej@eterm.org>
Fixed a small geometry bug pointed out by Sung-Hyun Nam
	<namsh@lgic.co.kr>.


SVN revision: 1183
1999-11-05 11:46:33 +00:00
Michael Jennings e8e8127832 Tue Nov 2 16:53:56 PST 1999 Michael Jennings <mej@eterm.org>
Several bugs fixed here, most notably a potential seg fault in
	Esetroot, and remembering an Eterm's size works again.  Also a minor
	redraw speedup.  And %exec() now works properly instead of just
	causing Eterm to crash. :-)


SVN revision: 1153
1999-11-02 16:08:57 +00:00
Michael Jennings dfed60dd34 Fri Oct 29 16:43:19 PDT 1999 Michael Jennings <mej@eterm.org>
You can now apply additional color modifiers to the various widgets
	in transparent mode that further modify the background.  So, in other
	words, you could have a scrollbar anchor that, in the normal state,
	is darker than the transparent background, and in selected/clicked
	state, is brighter.  Or any variation on that theme. :-)

	Once you've got this version going, try the following changes to your
	trans theme's config file:

	    begin image
	      type anchor
	      mode trans allow image trans auto
	      state normal
	      file bar_vertical_1.png
              geom :scale
              border 3 3 2 2
              cmod image 192
              bevel up 1 1 1 1
              state selected
              file bar_vertical_2.png
              geom :scale
              border 3 3 2 2
              cmod image 320
              bevel up 1 1 1 1
            end image

	You'll see what I'm talking about. :-)


SVN revision: 1043
1999-10-29 15:47:25 +00:00
Michael Jennings 04bba08a8b Thu Oct 28 20:11:15 PDT 1999 Michael Jennings <mej@eterm.org>
Fixed a couple problems pointed out by Joel Lesher
	<filgy@blazenet.net> and Rahsheen Porter <strider@cipher.neuplanet.cx>
	regarding tinted/shaded transparency and a typo in the auto mode
	theme file.  Doh!


SVN revision: 1038
1999-10-28 19:22:35 +00:00
Michael Jennings 91187b41b2 Thu Oct 28 16:09:26 PDT 1999 Michael Jennings <mej@eterm.org>
Nothing really important here.  I may have fixed the refresh problem
	that a lot of people see when switching desktops and IRC-ing in an
	Eterm, but I'm not sure.  And I have once again discovered (well,
	re-discovered actually) that the remaining bits of rxvt code in the
	scrollbar are smelly piles of poop that I really need to get around
	to fixing one of these days.


SVN revision: 1032
1999-10-28 15:22:58 +00:00
Michael Jennings c554f5917e Thu Oct 28 13:12:17 PDT 1999 Michael Jennings <mej@eterm.org>
I fixed the popup scrollbar bug with transparency, but I fixed lots
	more than that.  I removed a lot of duplicate event handling, lots of
	duplicate redraws, and lots of unnecessary transparency updates.  In
	doing so, I fixed the latency problem people had been reporting with
	several shaded/tinted transparent Eterms while changing desktops.  I
	also threw solid color transparency support in the mix while I was at
	it.  All in all, you should notice significant speedups in transparent
	Eterms.


SVN revision: 1031
1999-10-28 14:02:35 +00:00
Michael Jennings 5c930667ec Wed Oct 27 18:46:04 PDT 1999 Michael Jennings <mej@eterm.org>
Fixed lots of issues revealed by the -ansi -pedantic flags.  The only
	warnings you get with those flags now are implicit declaration
	warnings for non-ANSI functions and warnings specific to certain OS's
	and their non-ANSI implementations of ANSI functions, neither of
	which I can do much about. :-)


SVN revision: 1010
1999-10-27 18:10:40 +00:00
Michael Jennings 9ce25b6ae7 Wed Oct 27 17:36:35 PDT 1999 Michael Jennings <mej@eterm.org>
Modified libtool flags per recommendation of HJ Lu <hjl@gnu.org>.


SVN revision: 1008
1999-10-27 17:00:37 +00:00
Michael Jennings dad7bc5f2c Wed Oct 27 14:11:11 PDT 1999 Michael Jennings <mej@eterm.org>
64-bit cleanliness changes.


SVN revision: 998
1999-10-27 13:39:30 +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 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