Several changes here to make it build on RHEL/CentOS 8:
- Replace outdated MEMSET() macro with (g)libc memset()
- Update Release field to use `git describe` just like LibAST
- Fix `make distcheck` by adding an uninstall-hook for src/gdb.scr
- At long last, remove the ancient RPM %changelog content
- Fix incompatibility with my traditional choices for CFLAGS
(-O0 -g3) and modern RHEL security/hardening goop which, due to
being implemented in the GCC optimizer, is rendered non-functional
by building with -O0!
- Rename backgrounds tarball so that it doesn't have the Eterm
version in its name since, shockingly, it never changes based on
the version of Eterm!
Fix for CVE-2011-0768, an off-by-one error in handling large pixmap
filenames which resulted in an overflow of a single NUL character if
the filename exceeded PATH_MAX bytes. This bug is NOT exploitable.
Again, thanks to Jonathan Brossard and the team at Toucan System for
responsibly disclosing this vulnerability and to CERT for assisting
with coordination and disclosure.
----------------------------------------------------------------------
SVN revision: 59414
Revert previous patch generated by badnull.cocci script, and apply the new one.
The main difference is that assert and assert-like functions are not touched
anymore.
SVN revision: 51650
Using !! instead of != NULL results in significantly and unacceptably
less readable code, and I refuse to accept those changes.
Unfortunately, since they were all done at once, I have to revert the
whole thing. Oh well. :(
SVN revision: 51583
Apply badzero.cocci, badnull.coci and badnull2.cocci
This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:
code before patch ||code after patch
===============================================================
return a == NULL; return !a;
return a != NULL; return !!a;
func(a == NULL); func(!a);
func(a != NULL); func(!!a);
b = a == NULL; b = !a;
b = a != NULL; b = !!a;
b = a == NULL ? c : d; b = !a ? c : d;
b = a != NULL ? c : d; b = a ? c : d;
other cases:
a == NULL !a
a != NULL a
SVN revision: 51487
Patch from Kim Woelders <kim@woelders.dk> to optimize transparent
Eterms moved an even multiple of the desktop size (i.e., to another
desktop area).
----------------------------------------------------------------------
SVN revision: 22674
Applied patches from Tres Melton <tres@mindspring.com> for SSE2
alignment and other shading-related issues.
----------------------------------------------------------------------
SVN revision: 19521
Added SSE2 support patch thanks to Tres Melton <tres@mindspring.com>
and John Ellson <ellson@research.att.com>.
----------------------------------------------------------------------
SVN revision: 15322
Cleanups and optimizations from Tres Melton <tres@mindspring.com>.
----------------------------------------------------------------------
SVN revision: 15316
Patch from Tres Melton <tres@mindspring.com> to fix 15bpp shading
routines.
----------------------------------------------------------------------
SVN revision: 14679
Patch from Tres Melton <tres@mindspring.com> to correct overflow in
non-MMX 16bpp shading code.
----------------------------------------------------------------------
SVN revision: 14633
Patch from Tres Melton <tres@mindspring.com> to optimize 24-bit and
32-bit non-MMX shading routines.
----------------------------------------------------------------------
SVN revision: 14383
Reverted patch from C. David Wilde <cdw@mylinuxguy.com> which broke
big-endian machines and really didn't fix anything at all. Thanks to
Tres Melton <tres@mindspring.com> for catching this.
----------------------------------------------------------------------
SVN revision: 14381
Patch from C. David Wilde <cdw@mylinuxguy.com> to correct the non-MMX
color modifier routines.
----------------------------------------------------------------------
SVN revision: 14230
Applied patch from Kim Woelders <kim@woelders.dk> to fix setting of
_NET_WM_ICON property.
Fixed a couple warnings.
----------------------------------------------------------------------
SVN revision: 10834
I redid the options variables and constants to try and make things
more standardized, and to make room for future toggles as well. This
should make David Lloyd a bit happier, 'cause now we can get his patch
in here. :)
Hopefully I didn't break anything....
SVN revision: 7370
Fixed a bug with foreground/background color change pointed out by
Thomas <arnognul@tiscali.se>.
Also added support for all the other OSC color change sequences (at
least those for the colors that Eterm uses). The sequences are of
the form "\e];n;color[;color[...]]\a", where n is between 10 and 19.
You can specify up to (20 - n) semicolon-separated colors representing
the following attributes in order: foreground, background, cursor,
mouse pointer, mouse pointer background (*), Tek foreground (*), Tek
background (*), highlight color (*), bold color, and underline color.
Attributes marked with a (*) are ignored by Eterm and may be left
empty, but their trailing semicolons must be present for xterm
compatibility.
For example, to set a white foreground, black background, yellow text
cursor, green mouse cursor, #ffaa00 for bold, and cyan for underline,
you could use either of the following:
echo -e "\e]10;white;black;yellow;green;;;;;#ffaa00;cyan\007"
or
echo -e "\e]10;white\007"
echo -e "\e]11;black\007"
echo -e "\e]12;yellow\007"
echo -e "\e]13;green\007"
echo -e "\e]18;#ffaa00\007"
echo -e "\e]19;cyan\007"
Note that the setting of bold and underline colors using 18 and 19 are
Eterm extensions.
SVN revision: 6739
Same as yesterday, only this time I'm *actually* going to fix the
problem. >:I I should really read more carefully.
While I was at it, I fixed some bad uses of BEG_STRCASECMP().
SVN revision: 6467
Fixed bug pointed out by JC Wong <catalyst@gmx.net> where resizing a
window which had had transparency toggled on would reveal a black spot
at the bottom of the scrollbar.
SVN revision: 6340
Fixed a bug in libscream that caused remote screen sessions to be
resumed with, e.g., "-e ^Uu_" instead of "-e ^Uu".
Applied a bug fix from Bill Allombert <allomber@math.u-bordeaux.fr>
where I was using the wrong variable for loading the icon file from
disk.
Also fixed a problem where PrintScreen would cause Eterm to exit.
Pointed out by Laurence J. Lane <ljlane@debian.org>.
SVN revision: 6336
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
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
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