Commit Graph

433 Commits

Author SHA1 Message Date
Michael Jennings 0bdd7edc63 Mon May 13 18:46:06 2002 Michael Jennings (mej)
Latest Escreen patch from Azundris <hacks@azundris.com>.


SVN revision: 6251
2002-05-13 22:47:08 +00:00
Michael Jennings 6f6ebe924f Sat May 4 11:12:19 2002 Michael Jennings (mej)
Added a --enable-escreen option for those who wish to try it out.
Also fixed the compile with Escreen and profiling are both enabled,
and disabled Escreen debugging.


SVN revision: 6203
2002-05-04 15:12:59 +00:00
Michael Jennings 92ca20bcba Sat May 4 10:23:38 2002 Michael Jennings (mej)
Ran reformat-code on the tree.

Also merged in Azundris' Escreen patch.  It's disabled by default for
the moment pending further testing, but you can enable it manually by
defining ESCREEN.


SVN revision: 6202
2002-05-04 14:25:30 +00:00
Michael Jennings 43bd347fbb Mon Apr 29 21:18:20 2002 Michael Jennings (mej)
Fixed the --install option which hasn't worked for ages.


SVN revision: 6193
2002-04-30 01:19:33 +00:00
Michael Jennings c9ef7c9002 Mon Apr 29 10:48:33 2002 Michael Jennings (mej)
Disable the screen dump escape sequence and implement a save_buff()
script function instead.


SVN revision: 6191
2002-04-29 14:50:43 +00:00
Michael Jennings ba90de6336 Sun Apr 28 10:06:32 2002 Michael Jennings (mej)
Don't require the new libast just yet....


SVN revision: 6189
2002-04-28 14:07:29 +00:00
Michael Jennings f2f2138304 Fri Apr 26 14:34:08 2002 Michael Jennings (mej)
Minor tweak so bottom-docked buttonbars are properly placed.


SVN revision: 6183
2002-04-26 18:35:12 +00:00
Michael Jennings bba5179976 Fri Apr 26 14:28:08 2002 Michael Jennings (mej)
Reverted Charles Clancy's shading patch (from the 21st) since it
breaks 24bpp on Linux.  Hopefully there is a better fix.

Fixed an ASSERT failure in the buttonbar redraw pointed out by
Laurence J. Lane <ljlane@debian.org>.

Also made multiple buttonbars work properly.


SVN revision: 6182
2002-04-26 18:30:48 +00:00
Michael Jennings d6c4f56dcc Wed Apr 24 22:34:59 2002 Michael Jennings (mej)
Fix warning.


SVN revision: 6178
2002-04-25 02:35:52 +00:00
Michael Jennings 498c820020 Wed Apr 24 22:27:51 2002 Michael Jennings (mej)
Save buttonbar info when we save theme settings.


SVN revision: 6177
2002-04-25 02:28:57 +00:00
Michael Jennings 306487a72e Wed Apr 24 16:56:48 2002 Michael Jennings (mej)
Fixed bug where initial options would get parsed even if they were
part of a -e/--exec expression.


SVN revision: 6174
2002-04-24 20:58:00 +00:00
Michael Jennings e23c811747 Tue Apr 23 14:23:00 2002 Michael Jennings (mej)
Redraw the buttonbar properly when moved.  Spotted by Azundris
<hacks@azundris.com>.

Also fixed the display of underlining with fonts lacking descent.


SVN revision: 6166
2002-04-23 18:25:01 +00:00
Michael Jennings 6352ed7629 Mon Apr 22 09:20:26 2002 Michael Jennings (mej)
Fixed the use of an uninitialized variable pointed out by Azundris
<hacks@azundris.com>.


SVN revision: 6162
2002-04-22 13:22:44 +00:00
Michael Jennings 5e2bad6411 Sun Apr 21 14:06:19 2002 Michael Jennings (mej)
A patch from Charles Clancy <tclancy@uiuc.edu> to fix shading on
Solaris.


SVN revision: 6159
2002-04-21 18:07:28 +00:00
Michael Jennings 06d77d4d86 Fri Apr 19 15:35:11 2002 Michael Jennings (mej)
Use safe_print_string() to decode string defines before printing them
in --version output.  This fixes Debian bug #143328, submitted by
Tom Gilbert <tom@linuxbrit.co.uk>.

Also removed '~' from the CUTCHARS compiled-in default.  (It had
already been removed from the themes.)  Makes double-click selection
of URL's easier.  Requested by Laurence J. Lane <ljlane@debian.org>.


SVN revision: 6152
2002-04-19 19:38:54 +00:00
Michael Jennings b3d3c45768 Sun Apr 14 22:34:41 2002 Michael Jennings (mej)
Fixed a bug spotted by Charles Clancy <tclancy@uiuc.edu> that caused
color modifiers to mistakenly be applied to the icon pixmap.


SVN revision: 6132
2002-04-15 01:35:33 +00:00
Michael Jennings a42eb977bf Sun Apr 14 20:55:42 2002 Michael Jennings (mej)
Changed occurances of "noenc" to the correct keyword, "none."  Thanks
to Laurence J. Lane <ljlane@debian.org> for pointing this one out
also.


SVN revision: 6131
2002-04-14 23:56:59 +00:00
Michael Jennings e5edaa19af Mon Apr 8 15:29:27 2002 Michael Jennings (mej)
Fixed a bug spotted by Laurence J. Lane <ljlane@debian.org> with color
settings not being properly saved.


SVN revision: 6111
2002-04-08 20:31:10 +00:00
Michael Jennings e662a53967 Sun Apr 7 21:15:09 2002 Michael Jennings (mej)
Be even more anal when dumping a buffer to a file....


SVN revision: 6110
2002-04-08 02:16:09 +00:00
Michael Jennings c16f0f1e1f Tue Feb 26 10:01:41 2002 Michael Jennings (mej)
Fixed the default fg color and color 7.


SVN revision: 5985
2002-02-26 15:04:05 +00:00
Michael Jennings 3be1081fc4 Mon Feb 25 23:10:59 2002 Michael Jennings (mej)
Fixed a warning that got missed before.  Also removed the colour
scheme that no one liked.  I left it in the Eterm theme, though...just
commented it out.  I also put back the old font lines and commented
those out too.  The Eterm theme config file is intended as a teaching
tool as well as a theme config. :)


SVN revision: 5982
2002-02-26 04:13:57 +00:00
Michael Jennings 24bfa3afb9 Thu Feb 21 19:06:18 2002 Michael Jennings (mej)
I think Ted made the right call for the wrong reason.  I'm adding the
fallback value for CONFIG_BUFF so that people using the older libast
will be able to use 0.9.2.  I'd like to get 0.9.2 out the door soon,
but libast 0.5 is far from ready. :-)


SVN revision: 5967
2002-02-22 00:09:23 +00:00
tzz 2bf446299e CONFIG_BUFF was in libast, duh
SVN revision: 5966
2002-02-21 21:05:16 +00:00
tzz bff50aaeee applied automatic encodings patch, see ChangeLog. Also a minor CONFIG_BUFF
missing define fix.


SVN revision: 5962
2002-02-20 14:44:46 +00:00
Michael Jennings 9da97da220 Tue Feb 12 00:27:03 2002 Michael Jennings (mej)
Ahem.  That was dumb.  Let's just undo that, shall we?


SVN revision: 5922
2002-02-12 05:28:30 +00:00
Michael Jennings fe9407d755 Tue Feb 12 00:05:03 2002 Michael Jennings (mej)
Build and install the latest libast from CVS, then try this again.
Sorry....


SVN revision: 5920
2002-02-12 05:06:31 +00:00
Michael Jennings 2e4967aec3 Mon Feb 4 22:12:28 2002 Michael Jennings (mej)
I would love to know precisely what combination of cosmic catastrophes
conspired to cause me to not do a test build before committing.

Thanks catalyst.


SVN revision: 5900
2002-02-05 03:13:39 +00:00
Michael Jennings 17646c4170 Mon Feb 4 21:13:44 2002 Michael Jennings (mej)
Finally got around to fixing the icon loader....


SVN revision: 5899
2002-02-05 02:14:26 +00:00
Michael Jennings 1ece1388ff Sun Feb 3 15:51:38 2002 Michael Jennings (mej)
Apparently I forgot to commit these copyright date changes. :(


SVN revision: 5895
2002-02-03 20:53:07 +00:00
Michael Jennings 174cec1c80 Tue Jan 29 23:46:18 2002 Michael Jennings (mej)
Improved debugging of image finding problems, and improved reporting
of Imlib2 load errors.


SVN revision: 5882
2002-01-30 04:47:01 +00:00
Michael Jennings 3bd0209d81 Mon Jan 14 13:51:49 2002 Michael Jennings (mej)
Added a server grab around the setting of the root properties and
background.  Suggested by Owen Taylor <otaylor@redhat.com> and Olivier
Chapuis <olivier.chapuis@free.fr>.

Also updated the version number in configure.ac for all those
mor^H^H^Hpeople using Debian unstable. :-)  Fixed a few compiler
warnings too.


SVN revision: 5834
2002-01-14 18:56:15 +00:00
Michael Jennings d5085e3001 Thu Jan 3 12:42:41 2002 Michael Jennings (mej)
This is better.


SVN revision: 5805
2002-01-03 17:44:39 +00:00
Michael Jennings 890147b8ea Thu Jan 3 12:38:54 2002 Michael Jennings (mej)
Fixed the select() call based on info from Paul W Brannan
<pbranna@clemson.edu>.  Also added check for _POSIX_SAVED_IDS.


SVN revision: 5804
2002-01-03 17:41:23 +00:00
Michael Jennings bfec337701 Mon Dec 31 16:28:46 2001 Michael Jennings (mej)
Minor debugging enhancements.


SVN revision: 5795
2001-12-31 21:29:30 +00:00
Michael Jennings a923b86954 Sat Dec 29 15:39:38 2001 Michael Jennings (mej)
Fixed a little-endian bug with 24-bit XImages, added a bit to
init_locale() in an effort to replicate the behavior of the Athena
widgets, and added a -b option to Esetroot based on a patch from
Oliwier Ptak <supergrass@gmx.net>.


SVN revision: 5792
2001-12-29 20:47:49 +00:00
Michael Jennings 36b1140007 Fri Dec 14 15:17:14 2001 Michael Jennings (mej)
termcap fix from Fredrik Svensson <fred@ludd.luth.se> and another
mod to Paul's patch.


SVN revision: 5769
2001-12-14 20:22:27 +00:00
Michael Jennings 7701e6d1e1 Thu Dec 13 15:14:33 2001 Michael Jennings (mej)
An update to a previous patch from Paul Brannan <pbranna@clemson.edu>.


SVN revision: 5768
2001-12-13 20:20:45 +00:00
Michael Jennings 1e97991b6a Mon Dec 3 20:16:39 2001 Michael Jennings (mej)
Patches from Paul Brannan <pbranna@clemson.edu>, Klaus Elsbernd
<elsbernd@dfki.uni-kl.de>, and Derrick Moser
<d2moser@calum.csclub.uwaterloo.ca> which appeared while I was away.
Fixes for mouse wheel reporting and reset handling (Paul), Solaris
portability (Klaus), and XIM (Derrick).

Getting ready to release 0.9.2 soonish.


SVN revision: 5745
2001-12-04 01:22:07 +00:00
Michael Jennings b8e17e5de4 Sun Oct 21 06:15:13 2001 Michael Jennings (mej)
Fixed a couple remaining bugs in 0.9.1, including that really
annoying problem people keeping whining about where Eterm won't build
without Imlib2.  It will now. :P


SVN revision: 5543
2001-10-21 13:21:05 +00:00
Michael Jennings 5fb6ac13f9 Wed Sep 26 23:19:37 2001 Michael Jennings (mej)
Oops.  Let's get rid of that useless code. :P


SVN revision: 5378
2001-09-27 06:21:28 +00:00
Michael Jennings 740a7b7ab8 Thu Sep 6 15:33:37 2001 Michael Jennings (mej)
While I'm at it, here's a patch to fix some escape sequence handling
under vim from Paul W Brannan <pbranna@clemson.edu>.  This patch is
reported to fix problems where vim would come up with underlines.


SVN revision: 5338
2001-09-06 22:38:21 +00:00
Michael Jennings 1d6dde2e15 Thu Sep 6 15:16:05 2001 Michael Jennings (mej)
Argh.  I hate finding stuff like this after a release.  Luckily, it's
not severe.  It only occurs when --default-font-index is specified on
the command line.  Symptoms vary according to how the compiler
arranges certain variables in memory.

Thanks to Richard Lowe <richlowe@richlowe.net> for reporting the
problem.


SVN revision: 5337
2001-09-06 22:26:20 +00:00
Michael Jennings e03f5ed13c Tue Aug 28 00:30:55 2001 Michael Jennings (mej)
Let's see if this fixes the PrintScreen problems....


SVN revision: 5300
2001-08-28 07:36:44 +00:00
Michael Jennings e65a9e34aa Thu Aug 23 14:00:02 2001 Michael Jennings (mej)
I got tired of having to maintain half a gazillion menus.cfg files
considering that the vast majority of them are identical or have
large identical sections.  Thus, I took the m4-based menus.cfg from
the chooser theme and hacked on it a bunch.  I can now regenerate
the menu files for all Eterm themes from a single source file using
the gen-menus script in doc/.

I also removed the comments from the theme.cfg files of all themes
except "Eterm" itself.


SVN revision: 5263
2001-08-23 21:04:36 +00:00
Michael Jennings fe2f9eff33 Fri Aug 10 13:55:49 2001 Michael Jennings (mej)
Minor typo...


SVN revision: 5092
2001-08-10 20:56:03 +00:00
Michael Jennings 450ad4f34f Fri Aug 10 13:51:34 2001 Michael Jennings (mej)
I noticed this when I tested the smoked glass theme, but I forgot
about it until Martin Tyler <martin@boo.org> reminded me.  This should
fix the bogus calls to imlib_image_get_filename() etc. when using
transparency and shading.


SVN revision: 5091
2001-08-10 20:52:51 +00:00
Michael Jennings cd4595128b Sun Aug 5 16:15:34 2001 Michael Jennings (mej)
fvwm color thingie patch from Eric West <ericwest@asicaction.com>.


SVN revision: 5047
2001-08-05 23:18:48 +00:00
Michael Jennings f89dff3d3d Sun Aug 5 01:52:51 2001 Michael Jennings (mej)
Okay, first off, I finally found and fixed a typo with regard to the
utempter support on RedHat-based systems.  I doubt it's ever worked
properly (sigh).  Secondly, I added support for throwing Eterm's
termcap entry into the termcap DB on FreeBSD (and possibly other
*BSD-based) systems thanks to info from Kirby Kuehl
<vacuum@technotronic.com>.  And finally, added in a patch from Paul
Brannan <pbranna@clemson.edu> to support some additional escape
sequences for vim.


SVN revision: 5044
2001-08-05 08:57:32 +00:00
Michael Jennings c3d2a57fc8 Mon Jul 23 17:59:18 2001 Michael Jennings (mej)
Fixed the problem where the wrong font would end up in your menus and
buttonbars if you enable multibyte support but don't have a specific
encoding in use.  I also corrected a large number of misplaced
newlines in error messages; I think that was some Perl-fu gone awry.


SVN revision: 4980
2001-07-24 01:00:37 +00:00
Michael Jennings e74bf73276 Mon Jul 23 11:05:45 2001 Michael Jennings (mej)
Well that was dumb.  PNG backgrounds which were tiled rather than
scaled would end up nuking most of the window.  Fixed now.


SVN revision: 4979
2001-07-23 18:06:26 +00:00
Michael Jennings 1d362467ee Sat Jul 21 20:22:26 2001 Michael Jennings (mej)
Although I have yet to be able to reproduce it, I believe this will
fix Debian bug #104393.  I don't think the lower parts of that array
were getting properly zeroed. :(


SVN revision: 4975
2001-07-22 03:25:23 +00:00
Michael Jennings 44b1e5126c Thu Jul 19 12:19:21 2001 Michael Jennings (mej)
Minor fix to correct popup scrollbar handling on startup.


SVN revision: 4965
2001-07-19 19:20:23 +00:00
Michael Jennings e3f87013da Fri Jul 13 17:07:45 2001 Michael Jennings (mej)
This is mostly cosmetic, but fairly important nonetheless.  Saved
config files should not contain the "main" context.


SVN revision: 4947
2001-07-14 00:08:32 +00:00
Michael Jennings 85fdcf3f30 Tue Jul 3 18:01:24 2001 Michael Jennings (mej)
All the docs and themes should now be up-to-date.  Unless a
showstopping bug turns up in the near future, this is pretty much it
for 0.9.1.  Now we just need some testing to make sure there's
nothing horridly wrong....  So you all can test while we finish up
the web site and the backgrounds. :-)


SVN revision: 4919
2001-07-04 01:02:37 +00:00
Michael Jennings c93158a595 Thu Jun 28 19:01:05 2001 Michael Jennings (mej)
Finished updating the man page for 0.9.1.


SVN revision: 4869
2001-06-29 02:01:05 +00:00
Michael Jennings d034d34ab7 Mon Jun 25 17:59:50 2001 Michael Jennings (mej)
This takes care of Debian bug #101777.  Somebody was bitching that the
0-15 colors could no longer be used as values for the -f/-b/-c/etc.
options.  I don't remember that ever being a feature to begin with,
but it took me all of 5 minutes to make it happen, so I figure what
the hell.  Here ya go.


SVN revision: 4858
2001-06-26 01:01:30 +00:00
Michael Jennings afc51e774a Mon Jun 25 17:41:55 2001 Michael Jennings (mej)
Several changes here, many of which come from the Debian bug list or
from bug reports on IRC.  First off, I believe I've fixed an install
issue with the bg/ directory.  I also put an alternative acsc line in
the terminfo file to see if it fixes anything on Debian.  (RH works
fine.)  I removed the "main" context from all the theme files...which
is something I should've done ages ago, but I forgot.

I made a couple things options which were not previously configurable.
The proportional font thingie which shrank the character cell width is
now the --proportional option.  The automatic window gravity on resize
is now the --resize-gravity option.  Both are boolean, and both are
documented in the man page.

And finally, I added the kill() function to the script language.  At
this point it can only take signals as numbers, but that's good enough
for now.


SVN revision: 4857
2001-06-26 00:46:33 +00:00
Michael Jennings 17210b693a Sun Jun 17 11:51:39 2001 Michael Jennings (mej)
Stupid stupid typo.  Originally reported by Bas van Sisseren
<bas@dnd.utwente.nl> in Debian Bug #101161.


SVN revision: 4821
2001-06-17 18:59:32 +00:00
Michael Jennings 0c731576d4 Fri Jun 15 23:41:38 2001 Michael Jennings (mej)
Added a -a/--attribute option for passing config file stuff to the
parser on the command line.  Also got the command line option section
of the man page up to date.  I'll tackle the rest some other time;
it's late. :-)


SVN revision: 4820
2001-06-16 06:46:34 +00:00
Michael Jennings 3a471bb33e Wed Jun 13 21:13:51 PDT 2001 Michael Jennings <mej@eterm.org>
There is now a new mechanism for dealing with the background image
	collection, including a new update script.  Please read the newly-
	rewritten bg/README.backgrounds for details.

	Also, I'm trying to flesh out the Contributors list in that file, but
	my memory isn't cooperating.  So if you contributed one of the
	backgrounds, or know someone who did, please let me know.


SVN revision: 4810
2001-06-14 05:31:09 +00:00
Michael Jennings 379d83a852 Mon Jun 11 22:04:08 PDT 2001 Michael Jennings <mej@eterm.org>
Fixed the --shade and --tint options.  This issue was pointed out by
	Laurence J. Lane <ljlane@debian.org>.


SVN revision: 4807
2001-06-12 05:14:09 +00:00
Michael Jennings c3f775c1b5 Mon Jun 11 17:49:55 PDT 2001 Michael Jennings <mej@eterm.org>
Okay, first off, I removed 3 scaled backgrounds.  See www.kainx.org or
	my post to enlightenment-devel for details.

	Second, I redid the default bindings for the mouse wheel.  Basically,
	the wheel alone will scroll by pages.  Ctrl+wheel will scroll by pages
	in groups of 5.  Shift+wheel will scroll by a single line.  If you
	hold down the Alt key, the same combinations will work the same way,
	but instead of scrolling within Eterm, they'll scroll the application
	in the terminal (by sending PgUp/PgDn and up/down arrows).  This works
	in less, bash, and any other application which groks those keys.

	I also added a --without-mousewheel option to configure that will turn
	off the default scrollwheel bindings.  Of course, you can always use
	action bindings in the config file to bind/rebind these any way you
	like.

	While I was at it, I found and fixed a bug in the handling of the
	Alt and Meta keys.

	I added a scroll() function to the script stuff which allows you to
	bind keys/buttons to scroll up and down.  While I was at it, I added
	comments to script.c for each function you can use.

	And finally, the config file parser was moved to libast.


SVN revision: 4806
2001-06-12 01:04:45 +00:00
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
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 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 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
Michael Jennings 47e8788bc8 Wed May 31 22:34:12 PDT 2000 Michael Jennings <mej@eterm.org>
Okay, first off I need to thank Marius Gedminas <mgedmin@takas.lt>.
	Not only did he point out several issues, he was even willing to send
	a patch. :-)

	This commit includes Marius' patch which keeps MappingNotify events
	from overriding users' modifier settings.  It also includes a fix to
	a seg fault that he pointed out when menus were loaded without the
	menu imageclass having been defined.

	He also pointed out that --pause tends to sit and spin, taking up 100%
	of the CPU time.  Funny how E-Cpu never seemed to get too bent out of
	shape over it, but he was indeed correct.

	Thus I have fixed it, and while doing so, I have changed the way it
	works.  It no longer waits for a keypress per se.  Actually, it just
	ignores the fact that its child went away and keeps right on taking
	X events.  There are a few exceptions though.  Either ESC or Ctrl-C
	will exit a paused Eterm.  Any other input that doesn't have special
	meaning to Eterm will be ignored.  (Shift-PgUp and Shift-PgDn still
	work however, as do any action bindings you may have.)


SVN revision: 2739
2000-06-01 05:24:47 +00:00
Michael Jennings cf3f7ca572 Tue May 30 08:49:43 PDT 2000 Michael Jennings <mej@eterm.org>
Fix to multibyte screen rendering from Sung-Hyun Nam
	<namsh@lgic.co.kr>.


SVN revision: 2730
2000-05-30 15:32:49 +00:00
Michael Jennings 47d87f02b0 Sun May 28 14:45:03 PDT 2000 Michael Jennings <mej@eterm.org>
My attempt to track down the strange X errors have revealed that a
	pixmap given to me by Imlib2 is getting freed somehow behind my back.
	Probably because this part of Imlib2 hadn't been tested before Eterm
	was converted. =P

	It doesn't seem to happen in XFree86 4.0; I'm wondering if XFree 4 is
	smart enough to detect double-frees of old XID's and just ignore them?
	Well, I'm going to have to add some debugging code to Imlib2 and see
	if I can track down where it's freeing my pixmaps.  But I have some
	errands to run first, so I'm going to commit this for now.  It
	shouldn't actually change any functionality.


SVN revision: 2722
2000-05-28 21:28:31 +00:00
Michael Jennings e64307644d Fri May 26 20:43:03 PDT 2000 Michael Jennings <mej@eterm.org>
Okay, there are a few changes here.  First off, I made multi-byte font
	support the default now, as long as you have ISO 10646 fonts.  In
	order to do this, I made the default encoding type "Latin1" so as not
	to interfere with 8-bit ISO 8859-1 characters.  This means that if you
	relied on the default multi-byte encoding method to be SJIS, you'll
	need to update your theme files.

	I also set it up so that Eterm will ignore SIGHUP, at least until I do
	something with it (like reloading the theme or something).

	I fixed the proportional font size algorithm.  If there is more than
	a 3-pixel variance between the minimum and maximum sizes for glyphs in
	a proportional font, Eterm will set the size to 2 standard deviations
	above the average width.  This is so that they won't look so spread
	out and ugly, but it still doesn't look perfect.  Not much I can do on
	that front...terminals must have fixed-width columns.

	And then there's the biggie.  I put in the ability to configure the
	now-infamous font effects.  I left a black drop shadow in as the
	default, but you can now customize it via the --font-fx option or in
	the config file using "font effects <stuff>" in the attributes
	context.  You can even use "fx" instead of "effects" for short.

	So what goes in the <stuff> part?  Well, you have several options.
	To use a single-color outline, say "outline <color>".  Likewise, a
	single-color drop shadow is "shadow [corner] <color>"; "bottom_right"
	is the default corner if you don't specify one.  For a 3-D embossed
	look, "emboss <dark_color> <light_color>".  The opposite, a carved-
	out look, can be had with "carved <dark_color> <light_color>".  (Of
	course, with those last two, the 3-D look will only work if you
	choose the colors wisely.)

	Those are all the shortcuts.  The long way is to specify a series of
	corner/color pairs, like "tl blue" for top-left blue, or
	"bottom_right green".  You can abbreviate using "tl," "tr," "bl," or
	"br," or you can spell out "top_left," "top_right," "bottom_left," or
	"bottom_right."  If you omit a corner name, the first one defaults to
	top-left, the second to top-right, and so on as listed above.


SVN revision: 2714
2000-05-27 03:41:22 +00:00
Michael Jennings dda8ccf31f Thu May 4 00:32:45 PDT 2000 Michael Jennings <mej@eterm.org>
Added new shade/tint routines, including some done in MMX assembly, by
	Willem Monsuwe <willem@stack.nl>.  Thanks Willem!  These should prove
	to be faster than the old stuff, probably by quite a bit.


SVN revision: 2595
2000-05-04 07:22:07 +00:00
Michael Jennings e6facd5833 Wed May 3 21:04:37 PDT 2000 Michael Jennings <mej@eterm.org>
Fixed a bug in the handling of resize events thanks to a tip from
	Teodor Zlatanov <tzz@iglou.com>.  While I was at it, I also fixed a
	couple remaining issues with the popup menu system.  You shouldn't
	get any more cases where items remain selected after you've moved your
	mouse off of the menu, or where a submenu would stay up even though
	another menuitem is selected.


SVN revision: 2594
2000-05-04 03:54:28 +00:00
Michael Jennings 8d2b2125c3 Doh. I broke Imlib2-based builds. =P
SVN revision: 2591
2000-05-02 23:53:27 +00:00
Michael Jennings 4bb04764b3 Tue May 2 16:56:47 PDT 2000 Michael Jennings <mej@eterm.org>
After getting sick of hearing people whining about the obscure error
	messages that resulted from trying to build without pixmap support, I
	hacked it until it at least built without it.  I also added warnings
	to configure.in so that people would know if that happened.

	It's still not very happy running that way, which is something I need
	to fix.  But hopefully it will stop the whining.

	Yeah, right. =P


SVN revision: 2590
2000-05-02 23:46:08 +00:00
Michael Jennings afda3ff59a Thu Apr 27 19:54:28 PDT 2000 Michael Jennings <mej@eterm.org>
Made some changes to the build process that should fix things for
	people without shared library dependencies working.


SVN revision: 2570
2000-04-28 02:42:26 +00:00
Michael Jennings 3c8fa7809d Tue Apr 25 11:45:15 PDT 2000 Michael Jennings <mej@eterm.org>
Updated per changes to Imlib2 API.


SVN revision: 2536
2000-04-25 18:33:08 +00:00
Michael Jennings b3f1428d23 Mon Apr 24 20:43:00 PDT 2000 Michael Jennings <mej@eterm.org>
Found the Imlib2 bug and fixed it, so revert this hack.


SVN revision: 2534
2000-04-25 03:30:45 +00:00
Michael Jennings cd259557d7 Mon Apr 24 18:46:25 PDT 2000 Michael Jennings <mej@eterm.org>
Work around that polka-dot-making Imlib2 problem until it can be
	fixed properly.


SVN revision: 2531
2000-04-25 01:38:42 +00:00
Michael Jennings 94b6a6d426 Tue Apr 18 23:55:42 PDT 2000 Michael Jennings <mej@eterm.org>
Added the pixmap beveling support back in so that the glass theme will
	work again.  Once again, you poor 8 bpp saps are SOL.

	I also added the icon support back in, along with a new built-in icon
	courtesy of Brian McFee <keebler@sandwich.net>.


SVN revision: 2501
2000-04-19 06:46:03 +00:00
Michael Jennings 1e9bf450c4 Mon Apr 17 22:25:27 PDT 2000 Michael Jennings <mej@eterm.org>
I fixed the problem reported by Joakim Bodin <bodin@dreamhosted.com>
	with spawned processes.  Also fixed Esetroot as reported by Wayne
	Johnson <bigman1@alltel.net>.

	Support for buttons higher than 5 was also added to the action
	bindings code for those (like me) with IntelliMouse Explorers and
	XFree86 4.0. :-)


SVN revision: 2494
2000-04-18 05:16:00 +00:00
Michael Jennings 84e12faee3 Thu Apr 13 21:15:03 PDT 2000 Michael Jennings <mej@eterm.org>
Fixed an image loading problem.


SVN revision: 2489
2000-04-14 04:02:42 +00:00
Michael Jennings bf64d68ef5 Wed Apr 12 21:46:41 PDT 2000 Michael Jennings <mej@eterm.org>
Fixed auto mode problems.  That was a really dumb oversight.


SVN revision: 2479
2000-04-13 04:34:33 +00:00
Michael Jennings dfc718de71 Wed Apr 12 21:18:19 PDT 2000 Michael Jennings <mej@eterm.org>
This is the initial commit with Imlib2 support.  READ THIS CAREFULLY.
	There is important information in this commit message that will keep
	you from getting screwed.

	First off, support for Imlib 1.x is GONE.  It is no longer supported
	as of now.  If you want to continue using it, do NOT install this
	version.  I tried to support both for awhile, but the code ended up
	being way too ugly and hackish.  Imlib2 is the future.  And trust me,
	when you see what we do with this future, you'll be happy for the
	switch.

	The good news is that most of the basics work.  Transparency still
	works, and the basic image stuff works.  Most users won't notice any
	major problems, so long as your Imlib2 is 100% up-to-date.

	However, a few things still don't work:

	1.  Auto mode is a bit broken.  You'll get X errors in XFree86 4.0.
	Don't use it if you're running XFree 4.

	2.  Color modifiers for images don't work.  At all.

	3.  Transparency shading/tinting will not work in 8bpp or lower.  Life
	blows sometimes.  Sorry.  Time for a real video card. :-)

	4.  The built-in icon is broken.

	5.  You WILL need to update your theme.cfg files.  The borders on the
	horizontal and vertical bar images were incorrect when combined with
	the new anti-aliased scaling.  The horizontal bars should have a right
	border of 3.  Vertical bars should have a bottom border of 3.  The
	menu images should have both right *and* bottom borders of 3.  You can
	either make those changes by hand, or use the --with-theme-update
	option to autogen.sh.  Your call.

	I think that covers everything I've run into.  I will point out that
	I don't really take advantage of a lot of the Imlib2 features just
	yet.  My first priority is to make all the stuff that worked before
	work again (or at least the important stuff).  Then I'll work on
	new features.

	So there it is.  If you're not ready for it, don't use it.  But if you
	are, I hope you like it.


SVN revision: 2478
2000-04-13 04:19:05 +00:00
Michael Jennings 505ae12785 Oops.
SVN revision: 2444
2000-04-07 02:10:15 +00:00
Michael Jennings ac4f703548 Wed Apr 5 21:48:39 PDT 2000 Michael Jennings <mej@eterm.org>
There are now two different sets of settings you can save.  You can
	save user settings, which are the things that one would generally
	consider to be user-specific (toggles, text colors, etc.).  You can
	also save theme settings, which saves *everything*, including the
	stuff that user settings don't include (like imageclasses, menus,
	etc.).  Settings are saved to user.cfg and theme.cfg, respectively.

	Also, Eterm will now detect if it cannot write to the location from
	which it got the theme (i.e., a system-wide directory), and will fall
	back on ~/.Eterm/themes/<theme>.  It WILL create this directory tree
	if it does not already exist.

	Hopefully this will make more people happy. :-)


SVN revision: 2440
2000-04-06 04:52:52 +00:00
Michael Jennings d922e2ce53 Mon Apr 3 16:42:06 PDT 2000 Michael Jennings <mej@eterm.org>
Added a --buttonbar option to force on/off all your buttonbars.


SVN revision: 2423
2000-04-03 23:43:15 +00:00
Michael Jennings f2badab9b8 Fri Mar 31 15:12:37 PST 2000 Michael Jennings <mej@eterm.org>
Added the escape sequence for the "no input" option.  "\e]6;27\a".


SVN revision: 2401
2000-03-31 23:13:57 +00:00
Michael Jennings 94f00a7923 Thu Mar 30 20:34:10 PST 2000 Michael Jennings <mej@eterm.org>
Quick little option -q/--no-input.  It keeps Eterm from accepting
	keyboard input, and keeps the window manager from focusing it.  Useful
	for log tailers and such, maybe.  This feature was requested by
	Peter Ward <than@ilm.com>.  I will be adding an escape sequence to
	toggle this.


SVN revision: 2398
2000-03-31 04:38:01 +00:00
Michael Jennings cb9af45db1 These two files don't do much at the moment. I'm hoping someone else might
take these and run with them.  I'm sick of looking at them.


SVN revision: 2383
2000-03-30 02:37:01 +00:00
Michael Jennings 4835a373b6 Tue Mar 28 18:42:09 PST 2000 Michael Jennings <mej@eterm.org>
Tint by number or color, and shade by percentage, are now available
	via the "\e]6;2;" escape sequence.  For example, "\e]6;2;shade;10\a"
	will shade the background by 10%.  "\e]6;2;tint;lightblue\a" will give
	the background a light blue tint.  "\e]6;2;shade;sa;30\a" will give a
	30% shade to the scrollbar anchor.


SVN revision: 2370
2000-03-29 02:44:41 +00:00
Michael Jennings 2d1e1a8e07 Tue Mar 28 12:31:06 PST 2000 Michael Jennings <mej@eterm.org>
You can tint by X color values (like "grey75" or "MidnightBlue" or
	"#8080ff").  Severely twisted. :-)


SVN revision: 2363
2000-03-28 20:32:42 +00:00
Michael Jennings 411c5312c9 Mon Mar 27 19:08:03 PST 2000 Michael Jennings <mej@eterm.org>
--shade and --tint have returned with the same syntax as before.


SVN revision: 2357
2000-03-28 03:08:46 +00:00
Michael Jennings 46c04cd733 Mon Mar 27 12:48:09 PST 2000 Michael Jennings <mej@eterm.org>
Some quick fixes from Cale Gibbard <gibbard@bfree.on.ca> for the color
	changing stuff.


SVN revision: 2352
2000-03-27 20:49:34 +00:00
Michael Jennings 6d3c3ff6dc Fri Mar 24 18:16:02 PST 2000 Michael Jennings <mej@eterm.org>
Added a patch from Kimball Thurston <kimball@sgrail.com> for XIM.  I
	also added support for two new escape sequences at the request of
	Cale Gibbard <gibbard@bfree.on.ca>.  "\e]Pnrrggbb" can now be used
	to modify the color palette at runtime, and "\e]R" will restore the
	defaults.  These are compatible with the Linux console.


SVN revision: 2323
2000-03-25 02:18:14 +00:00
Michael Jennings 22160247e4 Fri Mar 17 18:27:51 PST 2000 Michael Jennings <mej@eterm.org>
I added accelerated scrollwheel support.  I also added a #define in
	src/feature.h for specifying the number of lines of context to keep
	when paging up or down.

	Also, we're back to the old behavior where home on input won't be
	triggered unless the key pressed has an associated string value.  I
	went back on this because Shift causing a jump to the bottom was
	really annoying when trying to Shift-PgUp or Shift-PgDown.  Sorry,
	Darren, but you lose.


SVN revision: 2270
2000-03-18 04:55:14 +00:00
Michael Jennings f54c3eeb6e Rats.
SVN revision: 2236
2000-03-15 03:20:30 +00:00
Michael Jennings 4d1fd23d7e Tue Mar 14 19:11:26 PST 2000 Michael Jennings <mej@eterm.org>
Some further fixes for inline functions, 2 new winop actions, brand
	new and improved profiling macros, some miscellaneous fixes for SGI
	from Kimball Thurston <kimball@sgrail.com>, and more robust checking
	in the pasting code.


SVN revision: 2235
2000-03-15 03:17:45 +00:00
Michael Jennings c9a97e46be Wed Mar 8 19:35:36 PST 2000 Michael Jennings <mej@eterm.org>
Added a new --pipe-name option to allow Eterm to read from a console
	device/tty/pipe other than /dev/console.  This is useful for folks on
	Debian, where "console" messages actually go to the /dev/xconsole
	named pipe rather than to /dev/tty0.


SVN revision: 2212
2000-03-09 03:38:31 +00:00
Michael Jennings 607268f595 Mon Mar 6 21:11:13 PST 2000 Michael Jennings <mej@eterm.org>
Added a new option.  -0 (that's a zero) or --itrans will invoke the
	immotile optimization for transparency, so named because it works best
	on windows that don't move around much on the desktop.  It works even
	better for windows that are sticky between desktops.  So if you have
	logging windows (running tail -f and the like) that are shaded/tinted,
	you definitely want to have this.  It will even benefit ordinary Eterm
	windows, provided you don't move them around a lot.  Eterms that do
	not change desktops may be better off with the other way; Eterms that
	are not shaded or tinted at all will not behave any differently.

	Here's the technical explanation for those who are interested.  The
	old (and still the default) behavior is for Eterm to check to see if
	any color modifiers are applied to the image_bg class, and if so, to
	make a copy of the *entire* desktop image which is then shaded/tinted
	appropriately.  It then snapshots a portion of that for the actual
	background.  This way, if the Eterm window is moved, all the shading
	and tinting will have already been done, so all it has to do is grab
	another portion of the desktop and use it.  However, this involves a
	LOT of calculations (one per pixel of the desktop pixmap) on startup
	and at every desktop switch.

	The immotile optimization is intended to reverse that logic by
	optimizing for windows that do not move (hence the term "immotile").
	It takes the snapshot of the desktop pixmap and applies any shading
	or tinting *after* taking the portion it needs.  This requires much
	fewer calculations on startup and when changing desktops, but the
	entire set of calculations must be repeated whenever the window is
	moved.  This is fine for small windows or windows that don't move
	very often, but that's not always the case.  So it is to your
	advantage to pick one or the other depending on how you use each
	particular theme or window.

	Two notes.  One, keep in mind that the -0/--itrans option doesn't
	*activate* transparency; you still need -O/--trans for that.  Two,
	this does not affect Eterms with no color modifiers applied to the
	background.  In that case, Eterm still references the existing
	desktop pixmap to save memory.


SVN revision: 2191
2000-03-07 05:30:33 +00:00
Michael Jennings 32a72bb631 Fri Mar 3 21:05:11 PST 2000 Michael Jennings <mej@eterm.org>
Tom Gilbert <gilbertt@tomgilbert.freeserve.co.uk> spotted a fallback
	issue with colors which I have now fixed.  Tom, your e-mail address is
	too damned long.  Just thought you should know.


SVN revision: 2181
2000-03-04 05:07:14 +00:00
Michael Jennings 2234e70dd9 Fri Mar 3 20:23:37 PST 2000 Michael Jennings <mej@eterm.org>
I did some optimizations for expose handling and full-screen redraws.
	It will have a greater impact on those who don't use double buffering.
	:-)


SVN revision: 2180
2000-03-04 04:25:23 +00:00
Michael Jennings 202912084a Thu Mar 2 21:40:09 PST 2000 Michael Jennings <mej@eterm.org>
This fixes yet another resize-to-crash bug, this time with various
	applications which use the secondary screen (mutt, mc, vim, etc.).
	The fix is deceptively simple and does not convey the fact that it
	took around 3 hours to track this bastard down.  Credit to Marc Merlin
	<marc@merlins.org> for first pointing this out and for helping me
	track it down.  And credit to Gray Watson for dmalloc, which has saved
	my ass once again.


SVN revision: 2172
2000-03-03 05:43:53 +00:00
Michael Jennings 1ce4f9c088 Thu Mar 2 09:47:30 PST 2000 Michael Jennings <mej@eterm.org>
Right.  How the hell did I miss that?!  Thanks again Valdis.


SVN revision: 2169
2000-03-02 17:48:30 +00:00
Michael Jennings 8e9f100232 Wed Mar 1 18:37:18 PST 2000 Michael Jennings <mej@eterm.org>
I'm still not done with the commenting work I've been doing, but I've
	made some fixes, so I figured it was time to commit what I've done so
	far.

	I've added support for multi-byte selection/pastes from programs like
	Netscape, thanks in part to a patch from Yasuyuki Furukawa
	<yasu@on.cs.keio.ac.jp>.  I've also applied a bugfix for pty
	allocation on Irix from David Kaelbling <drk@sgi.com>, a display
	bugfix pointed out by Valdis Kletnieks <Valdis.Kletnieks@vt.edu>, and
	a fix for a missing menu in the auto theme discovered by someone on
	IRC.

	I've also added quite a few comments to term.c to help people grok
	the parsing of escape sequences a little better.


SVN revision: 2168
2000-03-02 03:31:41 +00:00
Michael Jennings d2ca8950e1 Fri Feb 18 21:09:29 PST 2000 Michael Jennings <mej@eterm.org>
Okay, I've added a new option to configure.  --config-buffer-size=NNNN
	will set the theme parser's line buffer size.  What does this mean?
	Well, this determines how big a line being parsed can get at any one
	stage of parsing.  So if you use %dirscan() on a large directory, or
	you use %random() on a large list, or you simply have some very large
	lines in your config file, making this buffer size larger will enable
	them to be handled.  The down side to this is that your Eterms will
	appear to take up more memory.  In reality they don't, since all that
	memory gets freed, but it isn't returned to the OS until Eterm exits,
	and the RSS won't go down unless part or all of Eterm is swapped out
	by the OS.  So you've been warned. :-)

	For those who didn't go digging by themselves, what I added yesterday
	were three new builtin functions:

	%get(variable)         Retrieves the value of a theme variable
	%put(variable value)   Sets the value of a theme variable
	%put(variable)         Removes a theme variable
	%dirscan(directory)    Returns a list of the files in a directory

	Everything here should be fairly self-explanatory.  The variables
	are internal to Eterm.  They will last until Eterm exits, so you
	can refer to them in later theme files, unless of course you call
	%put() with a variable but no value (which removes the variable).
	Also note that %dirscan() returns only the filenames, not the
	full pathnames.  This is for two reasons:  One, you already know the
	path to the file since you specified it.  Two, it enables handling of
	directories with larger numbers of files since the path isn't
	uselessly duplicated for each entry it generates.

	These new functions will be the backbone for a new random background
	system since the *.list files are rather clumsy in a lot of ways.  I
	am not yet sure how it will work exactly, but I know I'll need these
	functions to do it. :-)


SVN revision: 2104
2000-02-19 06:29:37 +00:00
Michael Jennings 5a2899ac7f Thu Feb 17 21:38:23 PST 2000 Michael Jennings <mej@eterm.org>
Fixed a bug in the menu code reported by Sung-Hyun Nam
	<namsh@lgic.co.kr>.  There's also some new stuff here, but I haven't
	tried testing it at *all*, so I'm not prepared to talk about it.


SVN revision: 2093
2000-02-18 05:39:39 +00:00
Michael Jennings 98797354ac Thu Feb 17 15:13:20 PST 2000 Michael Jennings <mej@eterm.org>
Fixed a bug with background colors and proportional fonts.  Also added
	an escape sequence, \e]30;<filename>\a, to dump the scrollback buffer
	to a file.  You will not get colors, or bold, or underlining, or any
	other rendering information.  Just the text.  Linebreaks will appear
	as they do on the screen.


SVN revision: 2090
2000-02-17 23:15:19 +00:00
Michael Jennings 738565cd80 Wed Feb 16 14:58:51 PST 2000 Michael Jennings <mej@eterm.org>
Fix the XIM input positioning to work with the buttonbar.


SVN revision: 2082
2000-02-16 22:59:54 +00:00
Michael Jennings af082c9a22 Tue Feb 15 19:31:04 PST 2000 Michael Jennings <mej@eterm.org>
The buttonbar can now be toggled on and off both in the config file
	and via an escape sequence.  The themes in CVS use Ctrl-Shift-Button3.
	You can also specify in the config file whether to dock the buttonbar
	at the top or the bottom of the Eterm window.  You can't move it on
	the fly yet, but that will come.

	I also fixed resizing so that the term window didn't redraw itself
	unnecessarily.  Hopefully I didn't break anything in the process.  :-)

	Plus, I fixed poor handling of X-generated ConfigureNotify events, and
	the terminfo stuff is now done at install time instead of build time.


SVN revision: 2077
2000-02-16 03:37:34 +00:00
Michael Jennings 16580dfd29 Mon Feb 14 16:35:01 PST 2000 Michael Jennings <mej@eterm.org>
Oops.  Little variable clash there.  Always ended up with
	$ETERM_*_ROOT set to "in".  I finally got around to investigating it.
	:-)


SVN revision: 2076
2000-02-15 00:36:43 +00:00
Michael Jennings 42fde9c99d Thu Feb 10 15:10:01 PST 2000 Michael Jennings <mej@eterm.org>
This is the first public availability of the work thus far on Eterm
	0.9.1.  There's quite a bit of new stuff here.

	* Added scrollbar thumb support.

	* Completely redid the terminfo/termcap stuff.  The terminfo file is
	now compiled (by tic) and installed by default (unless you specify
	--without-terminfo).  The config files still say xterm, though,
	because some programs (like SLang and GNU mc) use the silly algorithm
	of "Is $TERM set to xterm?" to detect mouse reporting support in a
	terminal. =P  But if you don't ever use xterm, you can use Eterm's
	termcap and just name it "xterm" instead.  Thanks to Marius Gedminas
	<mgedmin@takas.lt> for his patch that started this whole revamp.

	* Added the kEsetroot script for KDE users from Dax Games
	<dgames@isoc.net>.

	* You can now configure the Home and End emulation via --with-home=
	and --with-end= options to configure.  The --with-terminfo option is
	also new, and --enable-xim is now the default.

	* Added a new image state, disabled, for when Eterm loses focus.  This
	is supported by all widgets (well, all those that could possibly be
	on screen when Eterm lost focus), even the background image.  So you
	could actually have all your images darken on focus out and restore
	to normal on focus in.

	* Widget colors formerly dealt with as colors (menu text color,
	scrollbar color, etc.) are now handled by the imageclasses.  Each
	image state can have a foreground and background color defined.  The
	current exception is the background image; I hope to add that later.
	The foreground is the text color and the background is the object
	color (for solid color mode).  So menu text color is set by the menu
	imageclass.  And again, for unfocused colors, use the disabled state
	of the imageclass.

	* Proportionally-spaced fonts are now handled much better.  They are
	still forced into evenly-spaced columns (it's a terminal for crying
	out loud!) but at least you don't end up with Eterm's wider than your
	screen. :-)

	* Home on refresh is gone, as is home on echo.  It's now much simpler.
	There are two options:  home on output, and home on input, the former
	being a combination of echo and refresh.  Also, keypresses that don't
	necessarily have corresonding output can trigger a home on input,
	like Ctrl-End or whatever...ones that don't have special meaning.
	Credit to Darren Stuart Embry <dse@louisville.edu> for pointing out
	this issue and the one with "m-" in font names.

	* I finally got around to re-merging the new parser stuff from my
	work on the Not Game.  Closed up some old potential behavior quirks
	with theme parsing.

	* Added a new escape sequence to fork-and-exec a program.  Also added
	a scrollback search capability to highlight all occurances of a string
	in your scrollback buffer.  Use the new "Etsearch" utility to access
	it.  "Etsearch string" to search for a string, then "Etsearch" by
	itself to reset the highlighting.

	* And of course, the biggie.  Eterm now supports a completely-
	customizeable buttonbar.  Not a menubar, a buttonbar.  It can have an
	arbitrary number of buttons, and each button can perform an action,
	just like a menuitem.  So a button could bring up a menu (like a
	menubar) or launch a program (like a launchbar) or perform an
	operation (like a toolbar).  Each button can have an icon, text, or
	both.  And you can have buttons left- or right-justified in the
	buttonbar.  You will eventually be able to have an arbitrary number
	of buttonbars, but I'm still working on that.

	As with any change this big, things could very easily be broken.  So
	beware. :-)  I have tested this myself, and everything seems to work,
	but I can't test every possibility.  Let me know if you find anything
	that's broken, and enjoy!


SVN revision: 2048
2000-02-11 00:25:07 +00:00
Michael Jennings 9a0e0ce8fc RH fixes.
SVN revision: 2004
2000-02-01 20:17:08 +00:00
Michael Jennings dea5fcb0cc Hopefully this fixes that hard-to-reproduce crash....
SVN revision: 2001
2000-02-01 06:01:25 +00:00
Michael Jennings c61eca1900 Try this....
SVN revision: 1974
2000-01-25 21:26:16 +00:00
Michael Jennings 8cb728ab7f Fri Jan 21 12:52:26 PST 2000 Michael Jennings <mej@eterm.org>
Fixed an off-by-one error in the scrollbar click-handling pointed out
	by Malcolm Tredinnick <malcolmt@smart.net.au>.


SVN revision: 1958
2000-01-21 20:53:49 +00:00
Michael Jennings baa4e7ee51 Tue Jan 18 21:17:24 PST 2000 Michael Jennings <mej@eterm.org>
Finally got around to adding a bevel to the edges and solid-color
	menus.  Also added arrows for submenus.


SVN revision: 1950
2000-01-19 05:18:14 +00:00
Michael Jennings b329b52608 Tue Jan 18 20:16:01 PST 2000 Michael Jennings <mej@eterm.org>
Updated the menu files to include all the new images in the background
	collection.  Also fixed a bug with solid-color menus and menus where
	the selected state was not defined.


SVN revision: 1949
2000-01-19 04:17:20 +00:00
Michael Jennings 369cb91d6d Tue Jan 18 16:47:54 PST 2000 Michael Jennings <mej@eterm.org>
Some background-related changes since I'm redoing the backgrounds
	collection (i.e., removing the cool-but-too-busy-or-bright pics).


SVN revision: 1943
2000-01-19 00:49:05 +00:00
Michael Jennings 0350f7dead Mon Jan 17 13:27:52 PST 2000 Michael Jennings <mej@eterm.org>
Fix XK_KP_Insert and XK_KP_Delete to respond to the application keypad
	setting.


SVN revision: 1935
2000-01-17 21:29:27 +00:00
Michael Jennings b452a54bee Mon Jan 17 13:09:37 PST 2000 Michael Jennings <mej@eterm.org>
Fixed the faulty assumption that font->per_char is always non-NULL.


SVN revision: 1934
2000-01-17 21:10:44 +00:00
Michael Jennings 0739b291c2 Fri Jan 14 16:34:13 PST 2000 Michael Jennings <mej@eterm.org>
Fixed a minor emulation problem pertaining to the down arrow on the
	keypad thanks to a patch from Marius Gedminas <mgedmin@takas.lt>.


SVN revision: 1918
2000-01-15 00:37:22 +00:00
Michael Jennings 67e4e8d959 Tue Jan 11 23:47:36 PST 2000 Michael Jennings <mej@eterm.org>
More fixes with menus and transparency.  After you build this version,
	check out the brand new "glass" theme at http://www.eterm.org/.  It
	looks sweet. :-)


SVN revision: 1905
2000-01-12 07:49:02 +00:00
Michael Jennings 48000815d7 Mon Jan 10 16:55:51 PST 2000 Michael Jennings <mej@eterm.org>
Fixed some transparency issues noticed by keebler
	<keebler@sandwich.net>.


SVN revision: 1887
2000-01-10 11:48:13 +00:00
Michael Jennings 8654a43109 Mon Jan 10 14:47:33 PST 2000 Michael Jennings <mej@eterm.org>
Fixed the problem with menus in auto mode.


SVN revision: 1884
2000-01-10 09:41:12 +00:00
Michael Jennings 653e879909 Fri Jan 7 20:11:48 PST 2000 Michael Jennings <mej@eterm.org>
A patch from Sung-Hyun Nam <namsh@lgic.co.kr> to improve multi-byte
	font configuration in the default theme files.


SVN revision: 1870
2000-01-07 15:51:22 +00:00
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