Commit Graph

238 Commits

Author SHA1 Message Date
Michael Jennings 718ea96410 Tue Nov 14 17:17:53 PST 2000 Michael Jennings <mej@eterm.org>
Since someone wanted it, if no name is given but an exec line (the -e
	option) is given, the name defaults to the first word in the exec line
	instead of "Eterm-<version>".  For example, Eterm -e ssh foo would get
	the title "ssh".  NOTE:  Most Eterm themes already specify a name, so
	this will not work with those themes.


SVN revision: 3886
2000-11-15 01:30:02 +00:00
Laurence J. Lane 93d6f6907e debian updates
SVN revision: 3874
2000-11-13 18:08:16 +00:00
Michael Jennings efddc15426 Sun Nov 12 12:05:58 PST 2000 Michael Jennings <mej@eterm.org>
Check for _MOTIF_WM_INFO instead of _MOTIF_WM_HINTS to see if the WM
	can handle MWM hints.  This is all raster's fault.


SVN revision: 3869
2000-11-12 20:07:19 +00:00
Michael Jennings 4eef8689d7 Thu Nov 9 20:14:34 PST 2000 Michael Jennings <mej@eterm.org>
Thanks to continuing help from Sung-Hyun Nam <namsh@lgic.co.kr>, I
	finally figured out the double-buffering problem people were seeing.
	And as it turns out, his original patch was correct.  So now it's
	fixed.  Many thanks for his assistance.


SVN revision: 3847
2000-11-10 04:16:41 +00:00
Michael Jennings 9e8120cb88 Thu Nov 9 19:22:18 PST 2000 Michael Jennings <mej@eterm.org>
Fixed the error message bug I noticed.  There's also a big5 fix from
	Chung-Yen Chang <candyz@cle.linux.org.tw>, and I got rid of some
	tiny memory leaks in the X data, the first of which was noticed by
	zed@linuxpower.org.


SVN revision: 3844
2000-11-10 03:26:04 +00:00
Tom Gilbert bb859961aa Actually, I only needed to touch, not reset the screen. This is better.
SVN revision: 3831
2000-11-09 22:55:27 +00:00
Tom Gilbert 4f9e3556d7 Fixed something that's been bugging me for a while. When using the
bigfont/smallfont keys to change between two fonts of the same size (sabvga
and ansi for example), the screen wasn't redrawn to reflect the new font.
Now it is, and I hope I did it right or KainX will destroy me :-)


SVN revision: 3830
2000-11-09 22:48:22 +00:00
Michael Jennings 90a1716cc1 Last bit of libmej cruft.
SVN revision: 3801
2000-11-01 04:18:04 +00:00
Michael Jennings c39cea44f0 Tue Oct 31 19:33:09 PST 2000 Michael Jennings <mej@eterm.org>
Apparently AC_PREFIX() is too stupid to handle programs with hyphens
	in their names.


SVN revision: 3800
2000-11-01 03:33:55 +00:00
Michael Jennings cfc55d409a Fixed the auto-fetch thingie for libast.
SVN revision: 3794
2000-10-31 04:56:13 +00:00
Michael Jennings 8138d895fa Mon Oct 30 07:45:16 PST 2000 Michael Jennings <mej@eterm.org>
Several small changes, like freeing pixmaps which won't be needed
	later, reducing the default Imlib2 cache size to 0 bytes (we don't
	really use it well), and an image path bugfix spotted by Teodor
	Zlatanov <tzz@iglou.com>.

	The big change, of course, is the disappearance of libmej and the new
	dependency on libast, which is now distributed separately.


SVN revision: 3793
2000-10-30 23:05:25 +00:00
Michael Jennings 536efe1a48 Tue Oct 17 10:24:43 PDT 2000 Michael Jennings <mej@eterm.org>
Fixed a typo which caused Makefile.am to break.  Found by Jos� Romildo
	Malaquias <romildo@urano.iceb.ufop.br>.


SVN revision: 3642
2000-10-17 17:28:11 +00:00
Michael Jennings d2a4ef5beb Sun Sep 17 18:54:26 PDT 2000 Michael Jennings <mej@eterm.org>
Fixed XErrors caused by calling XTranslateCoordinates with a pixmap.
	This was visible using the glass theme.


SVN revision: 3522
2000-09-18 01:38:22 +00:00
Michael Jennings f964562863 Sun Sep 17 17:29:26 PDT 2000 Michael Jennings <mej@eterm.org>
Got rid of the useless backing_store option.


SVN revision: 3520
2000-09-18 00:13:07 +00:00
Michael Jennings 7666c71c9b Sun Sep 17 13:05:13 PDT 2000 Michael Jennings <mej@eterm.org>
When shaded, rely on Enlightenment rather than X for accurate x/y
	position information.  This fixes a bug pointed out by Gnea
	<gnea@rochester.rr.com>.


SVN revision: 3509
2000-09-17 19:50:02 +00:00
Michael Jennings 44d33b6fec Sun Sep 17 11:51:16 PDT 2000 Michael Jennings <mej@eterm.org>
Added ability to track Imlib2-created pixmaps via libmej.


SVN revision: 3507
2000-09-17 18:35:14 +00:00
Michael Jennings 3265f73e3a Fri Sep 15 14:48:51 PDT 2000 Michael Jennings <mej@eterm.org>
Really stupid typo on my part pointed out by Sung-Hyun Nam
	<namsh@lgic.co.kr>.


SVN revision: 3479
2000-09-15 21:31:52 +00:00
Michael Jennings e8e531ce7d Teeny tiny omission.
SVN revision: 3336
2000-09-06 05:43:22 +00:00
Michael Jennings c567ebcf33 Fri Sep 1 21:03:53 PDT 2000 Michael Jennings <mej@eterm.org>
I'm working on some deallocators now.  The idea is that when Eterm
	exits and memory debugging is on, several routines get called to free
	the in-use memory (menus, font cache, etc.) that we still know about.
	Anything left after that would be either unavoidable leaks (like
	environment variables...read the putenv() man page sometime...sigh)
	or genuine memory leaks that need fixing.  I'm down to about 4.5K of
	leftover malloc'd memory now.  Making progress....


SVN revision: 3295
2000-09-02 04:12:16 +00:00
Michael Jennings e1573e95c8 Fri Sep 1 15:25:28 PDT 2000 Michael Jennings <mej@eterm.org>
Okay, everything seems hunky-dorey now.  If you have memory debugging
	turned on, exiting Eterm will give a dump of the leftover allocated
	memory including where it came from and how much there is.  You'll
	also get a listing of all the remaining Pixmap ID's and GC ID's along
	with where they were created.

	I also added some macros to the debugging stuff in libmej.h so that
	if you pass the --without-debugging option to ./configure, it will
	optimize out all the ASSERT and REQUIRE goop.  This will make it
	harder to trap bugs before they cause problems, so don't do it if you
	want to help development, but if speed is critical to you, give it a
	shot.


SVN revision: 3294
2000-09-01 22:14:17 +00:00
Michael Jennings f1bf2bfb54 Fri Sep 1 00:39:41 PDT 2000 Michael Jennings <mej@eterm.org>
That should fix the crashes.  Somehow I managed to temporarily forget
	about pointer arithmetic.  And somehow I thought trying to dereference
	a pixmap ID would be a good thing.  Sigh.  I need sleep.


SVN revision: 3292
2000-09-01 07:23:08 +00:00
Michael Jennings cdbb53b4bf Thu Aug 31 23:02:10 PDT 2000 Michael Jennings <mej@eterm.org>
Still more big changes.  Working on adding pixmap and GC tracking to
	libmej using the existing allocation tracking routines.


SVN revision: 3291
2000-09-01 05:46:04 +00:00
Michael Jennings d981295368 Thu Aug 31 11:22:30 PDT 2000 Michael Jennings <mej@eterm.org>
Crap.  That was not supposed to be committed.


SVN revision: 3285
2000-08-31 18:05:14 +00:00
Michael Jennings 9a6507f458 Wed Aug 30 22:58:18 PDT 2000 Michael Jennings <mej@eterm.org>
Massive reorganization/rewrite to libmej.  It should now be 100%
	independent of Eterm.  There still may be some gremlins in the memory
	debugging code, so don't use too high a number with --debug....


SVN revision: 3282
2000-08-31 05:41:44 +00:00
Michael Jennings eb4400feea Tue Aug 22 21:35:50 PDT 2000 Michael Jennings <mej@eterm.org>
This should fix the selection problems between Eterm and other apps.


SVN revision: 3242
2000-08-23 04:18:34 +00:00
Michael Jennings f86bba3775 Tue Aug 22 21:21:20 PDT 2000 Michael Jennings <mej@eterm.org>
Color modifiers for images now work once again.  Please report any
	problems you find with them as soon as possible; I want to get 0.9.1
	out the door in the fairly near future since the TODO list for 0.9.2
	is already sizeable.


SVN revision: 3241
2000-08-23 04:04:55 +00:00
Michael Jennings 8f89a08af4 Move along, nothing to see here.
SVN revision: 2919
2000-07-15 07:12:09 +00:00
Michael Jennings 9d19817dfa Wed Jul 12 22:35:34 PDT 2000 Michael Jennings <mej@eterm.org>
Added a --cache option (and the config file attribute "cache") to
	facilitate changing the Imlib2 cache size.


SVN revision: 2917
2000-07-13 05:18:46 +00:00
Michael Jennings 49b05abd47 Mon Jul 10 20:01:53 PDT 2000 Michael Jennings <mej@eterm.org>
We no longer care about gravity.  This should help Sawfish users.


SVN revision: 2913
2000-07-11 02:44:28 +00:00
Michael Jennings 7dc3b7cafb Mon Jul 10 14:28:28 PDT 2000 Michael Jennings <mej@eterm.org>
Two more patches from Marius Gedminas <mgedmin@takas.lt>.  The first
	one allows for customization of the message displayed when Eterm goes
	into pause mode.  There are actually two; one goes in the titlebar,
	and the other is displayed in the text window.

	His second patch makes Eterm's behavior a little smarter when it
	resizes itself.  It tries to figure out which quadrant of the screen
	it's on and resizes in the most appropriate direction.  (For example,
	Ctrl-GreaterThan on an Eterm in the lower right corner will cause the
	upper left corner of the Eterm to move; the lower right corner will
	stay put.)

	Thanks again to Marius for saving me time by sending patches. :-)


SVN revision: 2912
2000-07-10 21:14:56 +00:00
Michael Jennings 6c2fb97641 Fri Jul 7 11:45:49 PDT 2000 Michael Jennings <mej@eterm.org>
Some more bits from last night's work.


SVN revision: 2908
2000-07-07 18:29:10 +00:00
Michael Jennings b05a37a6af Thu Jul 6 23:56:54 PDT 2000 Michael Jennings <mej@eterm.org>
I think I've finally fixed all those XPolyText8() errors with pixmap
	support disabled.  Solid color mode buttonbars seem to work now also.


SVN revision: 2907
2000-07-07 06:41:12 +00:00
Michael Jennings 2319bab108 Wed Jul 5 20:48:10 PDT 2000 Michael Jennings <mej@eterm.org>
Dammit.  I missed an occurance of XA_COMPOUND_TEXT().


SVN revision: 2906
2000-07-06 03:30:42 +00:00
Michael Jennings 1cab57d8d8 Wed Jul 5 20:07:09 PDT 2000 Michael Jennings <mej@eterm.org>
Hopefully this will fix the problem where the titlebar wouldn't always
	get updated with the pause mode message.


SVN revision: 2905
2000-07-06 02:49:45 +00:00
Michael Jennings d5b5f49ae8 Wed Jul 5 19:48:10 PDT 2000 Michael Jennings <mej@eterm.org>
The multibyte font size patches caused weird behavior if your
	multibyte font sizes didn't match your regular font sizes for those
	who don't actually use the multibyte support.  So I fixed that.  I
	also fixed the XA_TEXT problem for people using old/broken X.


SVN revision: 2904
2000-07-06 02:32:08 +00:00
Michael Jennings 9648bcd0a0 Wed Jul 5 18:31:39 PDT 2000 Michael Jennings <mej@eterm.org>
Several people have asked for the spec file to be in the tarball so
	that rpm -ta <tarball> works properly.  I've put it in there, but I
	don't recommend doing it that way.  I use /usr/local as my prefix, and
	there's a good chance I'll forget to change it before doing a dist
	tarball.

	I also put some dummy crap in pixmap.h so that compiling without
	Imlib2.h works again.


SVN revision: 2903
2000-07-06 01:17:20 +00:00
Michael Jennings b4fbe2a9a0 Mon Jul 3 12:50:00 PDT 2000 Michael Jennings <mej@eterm.org>
I think this --pause mechanism will be agreeable to everyone.  You can
	once again exit with any key (well, any key that has an actual
	character/string associated with it by X...not Insert, Home, etc.),
	but keys Eterm uses (like Shift-PgUp) will still work as expected.


SVN revision: 2902
2000-07-03 19:33:55 +00:00
Michael Jennings db2f3e7394 Mon Jul 3 12:17:53 PDT 2000 Michael Jennings <mej@eterm.org>
Marius Gedminas <mgedmin@takas.lt> reported a couple of issues back
	when he was on his bug-spotting binge that I didn't have time to fix
	just then.  Well, now I've fixed them.  ~/.Eterm/user.cfg will now
	be found if there isn't a theme-specific one; this allows you to have
	a single user.cfg which specifies some options you want all your
	Eterms to have.

	Along those same lines, the action code now searches for duplicate
	bindings and changes the existing one rather than adding a new one
	to the end of the list.  This allows bindings in user.cfg to override
	those in theme.cfg (as they should).  Also, bindings are added in
	reverse order, so newer ones (like in user.cfg) take precedence over
	older ones (like in theme.cfg) if there is a conflict (e.g., if your
	theme.cfg binds "anymod button2" and user.cfg binds "ctrl button2,"
	user.cfg wins).


SVN revision: 2901
2000-07-03 19:08:41 +00:00
Michael Jennings 892e32ec86 Wed Jun 28 14:14:53 PDT 2000 Michael Jennings <mej@eterm.org>
Oops!  The font size patch from the other day broke without multibyte
	font support enabled, which meant the XFree86 3.3.x people were
	screwed.  Fixed now.


SVN revision: 2893
2000-06-28 20:57:52 +00:00
Michael Jennings e458986d63 Mon Jun 26 16:54:04 PDT 2000 Michael Jennings <mej@eterm.org>
Between myself and Marius Gedminas <mgedmin@takas.lt>, I think we
	licked that BCE issue that was talked about on the mutt-dev list.


SVN revision: 2891
2000-06-26 23:37:05 +00:00
Michael Jennings 20dd18b325 Mon Jun 26 09:50:37 PDT 2000 Michael Jennings <mej@eterm.org>
Another multi-byte font support patch from Sung-Hyun Nam
	<namsh@lgic.co.kr>.


SVN revision: 2890
2000-06-26 16:33:23 +00:00
Michael Jennings 2a5d87d204 Tue Jun 20 20:01:07 PDT 2000 Michael Jennings <mej@eterm.org>
Patch from Sung-Hyun Nam <namsh@lgic.co.kr> to fix multi-byte font
	handling when the ISO-8859 font size doesn't match the multi-byte font
	size.


SVN revision: 2846
2000-06-21 02:44:29 +00:00
Michael Jennings 93c90b74bb Sat Jun 17 19:52:25 PDT 2000 Michael Jennings <mej@eterm.org>
Patch from Martin Grimm <grimm.martin@gmx.de> to fix the parsing of
	the font fx stuff.


SVN revision: 2818
2000-06-18 02:35:07 +00:00
Michael Jennings a6f80249cf Fri Jun 16 13:29:59 PDT 2000 Michael Jennings <mej@eterm.org>
Merged in a patch from Ariel Glenn <ariel@columbia.edu> to do mirrored
	image tiling in Esetroot.


SVN revision: 2785
2000-06-16 20:13:09 +00:00
Michael Jennings b24a23a052 Mon Jun 12 19:18:56 PDT 2000 Michael Jennings <mej@eterm.org>
Fixed an old rxvt bug in the handling of "\e[0m".  I *really* wish I
	had time to rewrite that damned thing.  Such a piece of crap.  Thanks
	again to Marius Gedminas <mgedmin@takas.lt> for pointing it out.


SVN revision: 2780
2000-06-13 02:02:06 +00:00
Michael Jennings 1130cf37f8 Mon Jun 12 13:33:39 PDT 2000 Michael Jennings <mej@eterm.org>
Fixes from Willem Monsuwe <willem@stack.nl> to his MMX routines.


SVN revision: 2778
2000-06-12 20:16:43 +00:00
Michael Jennings 63475cb86c Sat Jun 10 11:38:36 PDT 2000 Michael Jennings <mej@eterm.org>
Some terminfo fixes, also from Marius Gedminas <mgedmin@takas.lt>.


SVN revision: 2774
2000-06-10 18:21:35 +00:00
Michael Jennings 63a63fbec3 Fri Jun 9 22:33:29 PDT 2000 Michael Jennings <mej@eterm.org>
Fixed a seg fault when resizing to one row while on the secondary
	screen.  I have no clue how that bug crept in there all of a sudden,
	but thanks to Marius Gedminas <mgedmin@takas.lt> for pointing it out.


SVN revision: 2772
2000-06-10 05:16:26 +00:00
Michael Jennings 9286591200 Thu Jun 1 20:05:49 PDT 2000 Michael Jennings <mej@eterm.org>
Dammit!  I did something really stupid.  For anyone who doesn't know
	already, calling X from a signal handler is a NO-NO.  The *really*
	stupid part is that I already KNEW that!  *slaps self*


SVN revision: 2745
2000-06-02 02:48:47 +00:00
Michael Jennings c59b324201 Thu Jun 1 19:31:18 PDT 2000 Michael Jennings <mej@eterm.org>
Fix a potential DoS pointed out on BUGTRAQ by Kit Knox
	<kit@rootshell.com>.


SVN revision: 2744
2000-06-02 02:13:46 +00:00