Commit Graph

221 Commits

Author SHA1 Message Date
Michael Jennings d6cf164837 Thu May 24 00:14:54 PDT 2001 Michael Jennings <mej@eterm.org>
Finally got the selection stuff cleaned up.  Hopefully this will be
	the last time I have to deal with it for awhile.  While I was at it,
	I implemented incremental selection transfers.  Unfortunately, it
	doesn't seem like too many people support it.  kedit doesn't, and it's
	broken in Emacs (*grumble*).  Works in gvim though.


SVN revision: 4784
2001-05-24 07:17:03 +00:00
Michael Jennings bd1ed42760 This is work in progress, cleaning up the selection stuff. Still more to
do, though.


SVN revision: 4777
2001-05-19 06:56:45 +00:00
Michael Jennings ff68bdd1c9 Wed May 16 18:09:55 PDT 2001 Michael Jennings <mej@eterm.org>
I made several corrections to the terminfo entry noted by Thomas
	Dickey <dickey@herndon4.his.com>:

	 - Removed cvvis.  It wasn't actually supported and thus conflicted
	   with cnorm.
	 - Removed kf0, which conflicted with kf10.
	 - Added the CPR (u6) capability which I inadvertantly omitted.

	I also removed the extraneous identities, keeping only "Eterm" and
	"Eterm-color".

	In a similar vein, I enabled the u8/u9 handshake while keeping the
	ENQ (^E) response disabled.


SVN revision: 4773
2001-05-17 01:50:12 +00:00
Michael Jennings a722c163f7 Wed May 9 23:03:20 PDT 2001 Michael Jennings <mej@eterm.org>
Fixed the handling of menus larger than the screen, an issue noted by
	Laurence J. Lane <ljlane@debian.org>.  While I was at it, I also made
	the pointer move along with the menu when a move is necessary.


SVN revision: 4752
2001-05-10 06:06:08 +00:00
Michael Jennings a286152df9 Wed May 9 17:18:11 PDT 2001 Michael Jennings <mej@eterm.org>
Fixed several bugs in the saving of settings and the support of
	scripts in menus.  Also fixed the definition of term_name in the theme
	files as pointed out by Laurence J. Lane <ljlane@debian.org>.


SVN revision: 4750
2001-05-10 00:20:15 +00:00
Michael Jennings 0291d6b7a1 Tue May 8 19:53:56 PDT 2001 Michael Jennings <mej@eterm.org>
You can now create key, mouse button, menu item, and buttonbar button
	bindings which trigger the parsing of a "script."  I've thrown in a
	few functions already to replace some icky escape sequences; there
	will be many more functions forthcoming, although I don't know how
	many of them (if any) will make it in prior to release.

	The usage is pretty simple.  Where before you might've said:

	    action string "\e]6;70\a"

	you would now say:

	    action script "exit();"

	You can call as many functions as you like per script.  Use a
	semi-colon (';') to separate each function call.  If you only call
	one function, the ';' is optional.  If you aren't passing parameters
	to the function, the parentheses are also optional.  Parameters are
	separated by commas and/or whitespace.

	Valid functions currently are:

	    die():     die() is a synonym for exit().
	    exec():    exec() is a synonym for spawn().
	    exit():    Exit Eterm.  Takes an optional exit code or message.
	    quit():    quit() is a synonym for exit().
	    save():    Save the config.  Specify "theme" to save the theme
	               config.  Also takes an optional path & filename.
	    search():  Search the scrollback buffer for a string.
	    spawn():   Spawns a sub-program.  Defaults to "Eterm".

	You will need the libast dated today to build and run this Eterm.
	You will also need to update your themes.


SVN revision: 4748
2001-05-09 03:14:18 +00:00
Michael Jennings dc861870c3 A bit more before I head home.
SVN revision: 4739
2001-05-08 05:27:26 +00:00
Michael Jennings 07bae6a264 We're getting awfully close....
SVN revision: 4738
2001-05-08 05:17:36 +00:00
Michael Jennings 7f40cf6a9e Fri May 4 23:56:12 PDT 2001 Michael Jennings <mej@eterm.org>
Lots of spec file cleanups and fixes.  Also nuked a couple lousy
	backgrounds.


SVN revision: 4730
2001-05-05 06:57:28 +00:00
Michael Jennings 0f0b050510 Sat Apr 28 12:08:56 PDT 2001 Michael Jennings <mej@eterm.org>
Fixed handling of color modifiers for transparency in the disabled
	state.  Bug pointed out by Hans Engren <h@ns.engren.org>.


SVN revision: 4676
2001-04-28 19:10:26 +00:00
Michael Jennings f4db67f427 Thu Feb 8 17:23:13 PST 2001 Michael Jennings <mej@eterm.org>
Somehow I managed to be think strcpy but type strcat.  Oops.


SVN revision: 4177
2001-02-09 01:24:28 +00:00
Michael Jennings 19b7d524df Sat Feb 3 18:25:45 PST 2001 Michael Jennings <mej@eterm.org>
Applied a patch from Sung-Hyun Nam <namsh@lgic.co.kr> to fix a seg
	fault bug in multi-byte pasting.


SVN revision: 4165
2001-02-04 02:27:27 +00:00
Michael Jennings 9ed171fc55 Thu Feb 1 19:02:51 PST 2001 Michael Jennings <mej@eterm.org>
Jeff Blank <jfb@mr-happy.com> pointed out that Sun's Workshop Pro
	compiler defines __SVR4 but not __svr4__ or SVR4.  This has now been
	accounted for.


SVN revision: 4162
2001-02-02 03:06:06 +00:00
Michael Jennings e92c71dbf1 Thu Jan 18 14:56:03 PST 2001 Michael Jennings <mej@eterm.org>
Just noticed that the preprocessing files weren't getting removed
	properly.  Oops. :-)


SVN revision: 4125
2001-01-18 23:09:15 +00:00
Michael Jennings f5b30dedad Wed Jan 10 12:58:31 PST 2001 Michael Jennings <mej@eterm.org>
Added a spec file for Linux-Mandrake which was contributed (ages ago)
	by Joakim Bodin <bodin@dreamhosted.com>.  I don't plan on maintaining
	this, so I hope he does. :-)

	Also applied a menu change which I am hoping will fix an infinite
	recursion bug in the menu system pointed out on SourceForge by
	Jonathan S. Keim <jonkeim@princeton.edu>.


SVN revision: 4108
2001-01-10 21:07:11 +00:00
Michael Jennings 3272085924 Tue Jan 2 18:28:57 PST 2001 Michael Jennings <mej@eterm.org>
Applied a couple patches I'd overlooked in my inbox.  Sebastian
	Dransfeld <sebastid@stud.ntnu.no> added a config file option to
	duplicate the behavior of the --buttonbar command-line option.  He
	also updated the man page, something I usually put off until just
	before I do a release. :-)

	I also went back and redid the way Eterm does backquote execution to
	avoid a potential race condition.


SVN revision: 4083
2001-01-03 02:34:10 +00:00
Michael Jennings adef701271 Throwing these in there so I can work on them from home. Don't even bother
looking at them yet.


SVN revision: 4066
2000-12-29 23:01:32 +00:00
Michael Jennings 683627b0e9 Fri Dec 29 14:39:09 PST 2000 Michael Jennings <mej@eterm.org>
Moved the HAVE_SAVED_UIDS define into a configure option so that the
	FreeBSD folks will have an easier time with it.

	Fixed "make distcheck" which broke at some point.

	That X stuff in clean_exit() should only happen if we're debugging.
	Nobody but me should have to deal with those random hangs. :-)

	Added a patch for multibyte cursor support from Michael C. Wu
	<keichii@iteration.net> and Sung-Hyun Nam <namsh@lgic.co.kr>, along
	with some other FreeBSD-related patches from Mr. Wu.


SVN revision: 4065
2000-12-29 22:59:13 +00:00
Michael Jennings f6c6837bf9 Minor fix to the patch from the other day.
SVN revision: 3922
2000-11-26 04:59:38 +00:00
Michael Jennings 30106904c3 Fri Nov 24 18:53:13 PST 2000 Michael Jennings <mej@eterm.org>
At the request of Snow-Man <sfrost@snowman.net>, I added the build
	date to the output of --version.  While I was at it, I also added the
	RCS ident strings.

	I also applied a patch from Sung-Hyun Nam <namsh@lgic.co.kr> that
	fixes XIM-related seg faults during clean-up.


SVN revision: 3919
2000-11-25 02:55:40 +00:00
Michael Jennings c5a4111615 Got rid of some overkill
SVN revision: 3902
2000-11-17 18:39:22 +00:00
Michael Jennings 205d8cad8f Fix make distcheck.
SVN revision: 3899
2000-11-17 07:59:11 +00:00
Michael Jennings c7fde09c44 Thu Nov 16 16:27:09 PST 2000 Michael Jennings <mej@eterm.org>
This time it really works.  No, I mean it this time.  Seriously.


SVN revision: 3897
2000-11-17 00:27:53 +00:00
Michael Jennings a472d182b7 Thu Nov 16 16:20:19 PST 2000 Michael Jennings <mej@eterm.org>
Well, it would've worked just fine if not for a stupid typo. =P


SVN revision: 3896
2000-11-17 00:21:26 +00:00
Michael Jennings 2b30d160f4 Thu Nov 16 16:40:54 PST 2000 Michael Jennings <mej@eterm.org>
VA bought some licenses for Insure++, so I've been using it to audit
	Eterm.  These are just the initial results of the collaboration; there
	will most likely be more.  So far things are looking pretty good.  I
	just wish Insure++ had more helpful messages.  I'd really love to be
	able to track down those reads/writes involving freed pointers that
	it claims to have found in Imlib2....

	I also had to try and make the build work without MMX.  I did so; I
	just hope it still works *with* MMX.... =)


SVN revision: 3895
2000-11-16 23:45:01 +00:00
Michael Jennings 1bcfa73217 Wed Nov 15 14:20:13 PST 2000 Michael Jennings <mej@eterm.org>
As requested by Chris Morton <chris.morton@ericsson.com>, I added
	support for the SunCut, SunCopy, SunPaste, and SunFront keys.  The 1st
	3 operate on the xclipboard-managed "ClipBoard" buffer.  The SunFront
	key will activate Eterm's "steal focus" mechanism.


SVN revision: 3891
2000-11-15 22:21:02 +00:00
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
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 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 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