Jon Trulson [Thu, 5 Jul 2018 21:48:44 +0000 (15:48 -0600)]
Stable release: 2.3.0
Jon Trulson [Mon, 2 Jul 2018 20:44:58 +0000 (14:44 -0600)]
dwtm/WmResource.c: Stop printing garbage when XmeRenderTableGetDefaultFont() fails.
Jon Trulson [Mon, 2 Jul 2018 01:19:24 +0000 (01:19 +0000)]
slib/mp_rpc_server: TIRPC: force a listen() call on the server socket
With earlier versions of RPC and TIRPC it seems that svctcp_create()
calles listen() on the socket (as seen by debugger and strace).
Tooltalk expects this behavior.
However, with newer systems (ArchLinux 5/18+ and similar bleeding edge
versions of SuSE's equivalent: Tumbleweed), this behavior seems to
have changed.
ttsession goes into an infinite loop trying to accept() a connection
in the TIRPC library (via svc_getreqset()).
It appears listen() is no longer called on the socket when it is
created via svctcp_create(). The hack in this commit, always causes
listen() to be called on the socket, and seems to resolve the problem.
But it is a hack I think. I don't know if this is the correct
behavior of svctcp_create() or we were just lucky before.
Ulrich Wilkens [Thu, 28 Jun 2018 02:29:17 +0000 (04:29 +0200)]
Use installed X11 includes and libs
Matthew R. Trower [Wed, 27 Jun 2018 03:47:09 +0000 (22:47 -0500)]
Fix DtMail compilation on Sun with GCC
Ulrich Wilkens [Wed, 27 Jun 2018 01:55:19 +0000 (03:55 +0200)]
Reenable gcc support on FreeBSD and OpenBSD
Matthew R. Trower [Tue, 12 Jun 2018 00:59:44 +0000 (19:59 -0500)]
Enable building against an arbitrary Motif installation
* Give MotifProjectRoot priority over system libs
* Switch to UseInstalledMotif (but retain necessary imports)
Jon Trulson [Sun, 24 Jun 2018 18:48:14 +0000 (12:48 -0600)]
linux/site.def: use an if !defined() gaurd for DtLocalesToBuild
Without this, you cannot use the command line to select the languages
to build, you would have to edit site.def directly.
With this fix, you can build a language on linux with something like:
make World IMAKE_DEFINES='-DDtLocalesToBuild="de_DE.ISO8859-1 es_ES.ISO8859-1"'
to build the DE (German) and es (Spanish) locales.
Jon Trulson [Wed, 20 Jun 2018 22:59:34 +0000 (16:59 -0600)]
libtt: if local hostname lookup fails, default to localhost
A recurring problem, mainly on the BSD's, and also on some Linux
installations, is a failure for ttsession to start and any clients
trying to attach to it failing due to having a hostname that is not
associated with an IP address.
This is due to code which looks up the hostname, and if it does not
have a valid host record, then TT just fails.
This has required those users to add an alias for their host name in
their /etc/hosts file.
With this commit, this should no longer be necessary. Now, if
_XGethostbyname() fails when looking up the local name, a default of
"localhost" is used, which should always exist.
This was run tested on Linux and FreeBSD 11.1. It was compile tested
on OpenBSD 6.2.
Matthew R. Trower [Tue, 12 Jun 2018 04:10:39 +0000 (23:10 -0500)]
Minor corrections and cleanup to sun.cf
Matthew R. Trower [Tue, 19 Jun 2018 20:25:20 +0000 (15:25 -0500)]
Resolve inconsistent strcasestr availability on Sun
Matthew R. Trower [Mon, 18 Jun 2018 09:20:43 +0000 (04:20 -0500)]
Add SMF service on Sun
Matthew R. Trower [Wed, 13 Jun 2018 10:15:01 +0000 (05:15 -0500)]
imake: Refactor and fix get_sun_compiler_versions()
* Improve maintainability
* Improve robustness
* Correct gcc version detection
* Correct gcc include path detection
Jon Trulson [Fri, 15 Jun 2018 20:52:21 +0000 (13:52 -0700)]
OpenBSD: tone down compiler warnings a bit
So many of these are just noise. Someday maybe we can eliminate
these, but for now they just obscure real problems.
Jon Trulson [Fri, 15 Jun 2018 19:42:52 +0000 (12:42 -0700)]
CDE-ICONS: create compatibility symlinks as relative rather than absolute
Some icons are actually symlinks to other icons, presumably for
compatibility with older systems. These were absolute symlinks. This
commit makes them relative symlinks instead.
Matthew R. Trower [Thu, 14 Jun 2018 03:16:14 +0000 (22:16 -0500)]
nsgml: Resolve symbol collision when building with SunStudio 12.1
Jon Trulson [Fri, 15 Jun 2018 01:05:40 +0000 (01:05 +0000)]
FreeBSD: turn off some warnings
Someday these can be addressed, but for now they are just noise.
Jon Trulson [Fri, 15 Jun 2018 00:00:46 +0000 (00:00 +0000)]
FreeBSD 11: Fix clang (v6) builds
While CDE builds fine with gcc6 on FreeBSD 11, the default clang build
was broken in a few places. This commit allows CDE to build now using
the default clang 6 system compiler.
Jon Trulson [Sat, 9 Jun 2018 00:28:23 +0000 (18:28 -0600)]
XPM: Replace calls to XmeXpm*() with regular Xpm*()
This is no longer needed on modern Motif's.
Jon Trulson [Thu, 14 Jun 2018 18:59:21 +0000 (12:59 -0600)]
OpenBSD 6+: use installed X11 and Motif
This commit removes the need to setup X11 and motif import symlinks
before building CDE. With OpenBSD v6+, the installed versions of X11 and
Motif will be used.
This may work with earlier versions of OpenBSD as well, but I don't
have access to those older versions. If you try it, and it works,
send a patch to the CDE mailing list.
This was tested on OpenBSD 6.2
Jon Trulson [Thu, 14 Jun 2018 19:08:20 +0000 (13:08 -0600)]
building_release_archive: omit '-src' in archive filename
Jon Trulson [Thu, 14 Jun 2018 00:59:38 +0000 (00:59 +0000)]
FreeBSD 11: Don't use imported x11/motif, use installed versions for build
With this patch, the import symlinks for x11 and motif do not need to
be created. The build will use the installed headers in
/usr/local/include/{X11, Xm}.
This will work for FreeBSD 11 only ATM as I don't have older systems
to test with.
It may work for FreeBSD 10 or earlier versions as well. If so, edit
config/cf/FreeBSD.cf and change the OSMajorVersion check for
UseInstalledX11 appropriately. And send a patch to the CDE mailing
list :)
Jon Trulson [Wed, 13 Jun 2018 23:10:35 +0000 (23:10 +0000)]
dtinfo/freebsd: fix a (int)NULL cast in DtSR_SearchEngine.C
This caused a compilation failure using gcc6 on FBSD 11.1-STABLE.
Jon Trulson [Wed, 13 Jun 2018 19:27:46 +0000 (13:27 -0600)]
libDtTerm: Fix for a coredump seen on OpenBSD
chase [Tue, 12 Jun 2018 11:46:08 +0000 (06:46 -0500)]
docnook.tcl: Add shebang
Ulrich Wilkens [Mon, 11 Jun 2018 21:00:41 +0000 (23:00 +0200)]
create .depend files for Solaris+Illumos
chase [Sun, 10 Jun 2018 16:02:07 +0000 (11:02 -0500)]
installCDE.src: remove duplicate code
chase [Sat, 9 Jun 2018 02:01:54 +0000 (21:01 -0500)]
Remove reallyoldsun defines
Jon Trulson [Fri, 8 Jun 2018 19:03:39 +0000 (13:03 -0600)]
cde: change version to 2.2.4a, for a development release
Matthew R. Trower [Mon, 4 Jun 2018 05:34:52 +0000 (00:34 -0500)]
Fix imake segfault on OpenIndiana
Version string changed in distributed GCC6, confusing
get_sun_compiler_versions().
Jon Trulson [Sat, 2 Jun 2018 01:47:41 +0000 (19:47 -0600)]
installCDE: Only install locales that were built
We pass the DtLocalesToBuild to installCDE.src, which can then check
to see what locales were built. We then only install packages for
those locales.
Jon Trulson [Fri, 1 Jun 2018 23:11:15 +0000 (17:11 -0600)]
site.def: Only build C/en_US locales by default for Linux
Jon Trulson [Fri, 1 Jun 2018 19:53:41 +0000 (13:53 -0600)]
linux.cf: disable stripping of installed binaries
The build system should not generally strip binaries - that's up to
the packaging systems (for creating 'release' vs. 'debug' packages for
example).
Jon Trulson [Fri, 1 Jun 2018 17:32:39 +0000 (11:32 -0600)]
installCDE: unset FIGNORE to workaround potential ksh bug
Jon Trulson [Thu, 31 May 2018 23:29:14 +0000 (17:29 -0600)]
configTT: remove inetd support
Jon Trulson [Thu, 31 May 2018 23:23:42 +0000 (17:23 -0600)]
configMin: remove inetd support, 'pam' support
I'm not sure what the pam stuff wanted to do, but it was disabled
anyway and we do not need it. Someday, we will want to integrate with
PAM properly, but this wasn't it.
Jon Trulson [Thu, 31 May 2018 23:17:56 +0000 (17:17 -0600)]
configRun: remove inetd support
I don't believe anyone uses inetd anymore. If you do, you are on your
own.
Jon Trulson [Thu, 31 May 2018 22:54:51 +0000 (16:54 -0600)]
configRun: leave dtmail alone, UDB handles it's perms correctly
chase [Sun, 27 May 2018 18:13:41 +0000 (13:13 -0500)]
cde.desktop: add xpm icon
chase [Sun, 27 May 2018 15:58:08 +0000 (10:58 -0500)]
fix files not registering as scripts
Jon Trulson [Tue, 29 May 2018 18:28:21 +0000 (12:28 -0600)]
dtsession: fix screen saver/locking on linux
The POSIX __linux__ commit broke the special detection on linux used
to determine whether a secure system was in use or not.
This commit reworks the logic a little bit to avoid special casing
linux in main().
It also reworks the logic in CanReAuthenticate() to fix up some issues
"fixed" to correct converity warnings. The logic in this case was
mostly ok, but still didn't account for the proper usage of this
function. Error detection improved somewhat as a result.
chase [Sat, 26 May 2018 20:28:08 +0000 (15:28 -0500)]
cde.desktop:Add keywords to desktop entry
Jon Trulson [Sat, 26 May 2018 19:13:13 +0000 (13:13 -0600)]
dtcm: NULL is not 0
Jon Trulson [Sat, 26 May 2018 19:07:40 +0000 (13:07 -0600)]
libDtCmP: use TIRPC on linux, fix some warnings
Jon Trulson [Sat, 26 May 2018 19:04:57 +0000 (13:04 -0600)]
dtcm/graphics: NULL is not 0
Jon Trulson [Sat, 26 May 2018 18:58:14 +0000 (12:58 -0600)]
rpc.cmsd: use TIRPC on Linux
Jon Trulson [Sat, 26 May 2018 18:36:20 +0000 (12:36 -0600)]
XlationSvc: remove a "'" added in previous spelling commit that causes warnings
chase [Sat, 26 May 2018 16:50:47 +0000 (11:50 -0500)]
Spelling fixes
Jon Trulson [Sat, 26 May 2018 17:56:17 +0000 (11:56 -0600)]
Imake.tmpl: don't delete logfiles (make.log MakeOut)
Jon Trulson [Fri, 25 May 2018 02:07:18 +0000 (20:07 -0600)]
installCDE.src: Add a -destdir <dir> option
Using this option, all files are installed under <dir> rather than
root '/'.
Ulrich Wilkens [Fri, 1 Jun 2018 01:55:10 +0000 (03:55 +0200)]
Fix warnings on FreeBSD
Ulrich Wilkens [Fri, 1 Jun 2018 01:29:42 +0000 (03:29 +0200)]
Fixes for OpenBSD
Ulrich Wilkens [Thu, 31 May 2018 20:50:44 +0000 (22:50 +0200)]
Fix Linux rpc problems with new glibc
Ulrich Wilkens [Thu, 31 May 2018 20:47:27 +0000 (22:47 +0200)]
Fix BSD and Sun problems after coverity fixes
chase [Fri, 25 May 2018 18:51:21 +0000 (13:51 -0500)]
dinstallCDE.src: add linux and *BSD support
Jon Trulson [Fri, 25 May 2018 17:16:04 +0000 (11:16 -0600)]
tt_xdr_utils: fix up some warnings
Jon Trulson [Fri, 25 May 2018 16:23:18 +0000 (10:23 -0600)]
tt_old_db: use TT_DB_OK instead of NULL
Jon Trulson [Fri, 25 May 2018 00:52:53 +0000 (18:52 -0600)]
TermPrimSetUtmp: fix lost define broken by last patch
chase [Thu, 24 May 2018 21:24:41 +0000 (16:24 -0500)]
Use POSIX macros for linux
chase [Thu, 24 May 2018 19:50:03 +0000 (14:50 -0500)]
remove OSF1 support
Jon Trulson [Sun, 20 May 2018 19:00:06 +0000 (13:00 -0600)]
CDE-DEMOS: remove references to Makefile.novell
chase [Sun, 20 May 2018 01:54:27 +0000 (20:54 -0500)]
Use /var/spool instead of /usr/spool and /var/mail instead of /usr/mail
chase [Sun, 20 May 2018 00:50:35 +0000 (19:50 -0500)]
Remove Unixware and openserver support
Jon Trulson [Wed, 16 May 2018 03:18:53 +0000 (21:18 -0600)]
CDE-MAN-DEV.udb: remove extra }, added when UXP support was removed
chase [Wed, 16 May 2018 01:11:08 +0000 (20:11 -0500)]
Remove UXPDS support
chase [Sun, 13 May 2018 18:29:44 +0000 (13:29 -0500)]
sgml-mode.el: fix address, dt-toolbox: delete
chase [Sun, 13 May 2018 17:50:17 +0000 (12:50 -0500)]
cde.desktop: remove deprecated encoding key
chase [Sun, 13 May 2018 00:31:03 +0000 (17:31 -0700)]
Remove examples/motif
chase [Sat, 12 May 2018 23:24:46 +0000 (16:24 -0700)]
Add generated binaries to gitignore from programs/localized/
chase [Sat, 12 May 2018 23:18:11 +0000 (16:18 -0700)]
Remove bsdi support
chase [Sat, 12 May 2018 16:36:25 +0000 (09:36 -0700)]
Add missing license headers on *.hh files and others
Peter Howkins [Tue, 1 May 2018 19:45:55 +0000 (20:45 +0100)]
dtwm: Resolve coverity warnings related to uninitialised variables and missing return statements
Peter Howkins [Tue, 1 May 2018 18:02:14 +0000 (19:02 +0100)]
dtappbuilder: Coverity fixes mostly related to uninitialised variables
Peter Howkins [Mon, 30 Apr 2018 03:11:44 +0000 (04:11 +0100)]
dthelp: Further coverity fixes
Jon Trulson [Mon, 30 Apr 2018 01:44:31 +0000 (19:44 -0600)]
dtfile/File.c: implement a hack to fix Ticket #19, tree icons are black
The real issue seems to be a bug in Motif. The background color for
these tree icons is always black. Depending on what Palette you have
selected, it's possible for the foreground color to be black. When
this happens, you will see a black square since both fg and bg are now
black.
You can select another Palette that works (ie: foreground is white)
and the problem goes away. So, for now, we always force a white
foreground color so the actual symbols are visible in tree mode.
Peter Howkins [Mon, 30 Apr 2018 00:51:15 +0000 (01:51 +0100)]
dticon: Fix broken string length calculation
Peter Howkins [Mon, 30 Apr 2018 00:47:53 +0000 (01:47 +0100)]
dtimsstart: Fix brackets on previous coverity fix
Peter Howkins [Sun, 29 Apr 2018 01:11:23 +0000 (02:11 +0100)]
dtsession: A few extra snprintf's for buffer safety
Peter Howkins [Sat, 28 Apr 2018 22:47:05 +0000 (23:47 +0100)]
dtlogin: Resolve some coverity issues, including those thought previously fixed
Peter Howkins [Sat, 28 Apr 2018 22:12:04 +0000 (23:12 +0100)]
dtfile: batch coverity fixes
Peter Howkins [Sat, 28 Apr 2018 22:09:45 +0000 (23:09 +0100)]
dtimsstart: Fix derp in previoua fix set
Peter Howkins [Sat, 28 Apr 2018 20:44:27 +0000 (21:44 +0100)]
dtimsstart: Coverity fixes
Peter Howkins [Sat, 28 Apr 2018 20:17:28 +0000 (21:17 +0100)]
dtimsstart: Resolve all compiler warnings
Peter Howkins [Sat, 28 Apr 2018 19:34:39 +0000 (20:34 +0100)]
Merge branch 'cde-fixups-1' of ssh://git.code.sf.net/p/cdesktopenv/code into cde-fixups-1
Peter Howkins [Sat, 28 Apr 2018 19:33:44 +0000 (20:33 +0100)]
dticon: coverity fixes
chase [Wed, 18 Apr 2018 11:43:05 +0000 (04:43 -0700)]
Last of the spelling fixed
chase [Wed, 18 Apr 2018 05:00:05 +0000 (22:00 -0700)]
Even more spelling fixed
chase [Thu, 26 Apr 2018 08:00:28 +0000 (01:00 -0700)]
Fix typo in license headers
Peter Howkins [Sat, 28 Apr 2018 01:51:10 +0000 (02:51 +0100)]
dtappbuilder: Further coverity, resource leaks, copy intofixed size buffer and dereference before null checl
chase [Tue, 24 Apr 2018 05:41:14 +0000 (22:41 -0700)]
Small spelling fixes
chase [Tue, 24 Apr 2018 02:49:30 +0000 (19:49 -0700)]
Rewrite csh scripts in sh, use sh instead of csh in scripts
Peter Howkins [Thu, 26 Apr 2018 00:50:33 +0000 (01:50 +0100)]
dtappbuilder: Fix for very wrong sized buffer
Peter Howkins [Thu, 26 Apr 2018 00:36:02 +0000 (01:36 +0100)]
dtappbuilder: Coverity fixes for mising return value and copy into fixed size buffer
Peter Howkins [Tue, 24 Apr 2018 20:55:56 +0000 (21:55 +0100)]
dtappbuilder: Resolve all compiler warnings
Peter Howkins [Tue, 24 Apr 2018 02:57:35 +0000 (03:57 +0100)]
dtlogin: Two additional coverity fixes
Peter Howkins [Tue, 24 Apr 2018 02:25:54 +0000 (03:25 +0100)]
dtinfo: Extra fixes for previous believed fixed things (coverity)
Peter Howkins [Tue, 24 Apr 2018 02:03:06 +0000 (03:03 +0100)]
dtsr: Coverity fixes for string buffer issues
Peter Howkins [Tue, 24 Apr 2018 01:38:56 +0000 (02:38 +0100)]
dtmail: Further Coverity fixes
Peter Howkins [Mon, 23 Apr 2018 23:05:56 +0000 (00:05 +0100)]
libtt: Fixes for Coverity fixes that I thought I'd already fixed.
Peter Howkins [Mon, 23 Apr 2018 02:43:48 +0000 (03:43 +0100)]
dtpdm: Coverity 87632, 87664, 87923