Peter Howkins [Thu, 28 Jun 2018 03:10:42 +0000 (04:10 +0100)]
dtcm: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:09:20 +0000 (04:09 +0100)]
dtcalc: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:08:35 +0000 (04:08 +0100)]
dtappbuilder: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:07:44 +0000 (04:07 +0100)]
dsdm: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:06:47 +0000 (04:06 +0100)]
libtt: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:01:19 +0000 (04:01 +0100)]
libDtTerm: Change to ANSI function definition
Peter Howkins [Thu, 28 Jun 2018 02:58:49 +0000 (03:58 +0100)]
libDtSvc: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 02:56:02 +0000 (03:56 +0100)]
libDtMrm: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 02:54:49 +0000 (03:54 +0100)]
libcsa: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 02:53:31 +0000 (03:53 +0100)]
libDtHelp: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 02:51:33 +0000 (03:51 +0100)]
dbtoman: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 02:49:38 +0000 (03:49 +0100)]
config/util: Change to ANSI function definitions
Peter Howkins [Mon, 25 Jun 2018 00:24:31 +0000 (01:24 +0100)]
dtfile: Remove define MULTIBYTE which is always on for CDE
Peter Howkins [Sun, 24 Jun 2018 23:20:55 +0000 (00:20 +0100)]
dtwm: In CDE we always build with MULTIBYTE support, disable unused singlebyte only
chase [Sun, 24 Jun 2018 19:15:00 +0000 (14:15 -0500)]
Remove apollo support
chase [Sun, 24 Jun 2018 12:22:21 +0000 (07:22 -0500)]
Remove macII support
chase [Sun, 24 Jun 2018 19:23:57 +0000 (14:23 -0500)]
linux.cf: Remove permissive flag
Jon Trulson [Sun, 24 Jun 2018 21:46:55 +0000 (15:46 -0600)]
Merge branch 'master' into cde-next
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.
Peter Howkins [Sat, 23 Jun 2018 23:50:56 +0000 (00:50 +0100)]
dthelp: Convert all K&R function definitions to ANSI (C90) standard
Peter Howkins [Sat, 23 Jun 2018 00:38:03 +0000 (01:38 +0100)]
dthelp: Remove spectaculaly obsolete MSDOS support
Peter Howkins [Fri, 22 Jun 2018 23:48:36 +0000 (00:48 +0100)]
dthelp: Remove always on macro M_NOPAR which was just there to support ancient compilers that don't have 'void'
Peter Howkins [Fri, 22 Jun 2018 19:40:47 +0000 (20:40 +0100)]
dthelp: Remove define M_PROTO that was always turned on (for all platforms) that enabled ANSI not K&R function prototypes
Peter Howkins [Thu, 21 Jun 2018 02:04:32 +0000 (03:04 +0100)]
dtwm: Remove define MWM_QATS_PROTOCOL that has to be always off for dtwm, obsolete, unavailable mwm test suite support
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
Peter Howkins [Wed, 20 Jun 2018 00:11:17 +0000 (01:11 +0100)]
dtwm: Remove define MOTIF_ONE_DOT_ONE, backwards compatibility for motif 1.1, CDE as a whole requires 2.1
Peter Howkins [Tue, 19 Jun 2018 23:46:58 +0000 (00:46 +0100)]
dtwm: Remove WSM define, that is always on for CDE
Peter Howkins [Tue, 19 Jun 2018 19:50:50 +0000 (20:50 +0100)]
dtwm: remove define MINIMAL_DT which is always on for CDE
Peter Howkins [Tue, 19 Jun 2018 19:25:58 +0000 (20:25 +0100)]
dtwm: Remove id strings related to historic version control system used before CDE was opened.
Peter Howkins [Tue, 19 Jun 2018 18:57:29 +0000 (19:57 +0100)]
dtwm: Remove the define PANELIST, it is always on for dtwm
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