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
Peter Howkins [Mon, 23 Apr 2018 01:21:30 +0000 (02:21 +0100)]
Merge branch 'cde-fixups-1' of ssh://git.code.sf.net/p/cdesktopenv/code into cde-fixups-1
Peter Howkins [Mon, 23 Apr 2018 01:20:23 +0000 (02:20 +0100)]
dtinfo: Fix coverity warning related to using delete not delete []
chase [Wed, 18 Apr 2018 01:10:17 +0000 (18:10 -0700)]
More spelling fixes
chase [Tue, 17 Apr 2018 12:25:38 +0000 (05:25 -0700)]
Fix various spelling errors
Peter Howkins [Fri, 20 Apr 2018 21:57:47 +0000 (22:57 +0100)]
libtt: Further coverity fixes
Peter Howkins [Fri, 20 Apr 2018 01:36:24 +0000 (02:36 +0100)]
dtmail: resolve coverity warnings related to uninitialised members in C++ classes
Peter Howkins [Fri, 20 Apr 2018 00:00:01 +0000 (01:00 +0100)]
nsgmls: resolve coverity warnings related to uninitialed members in C++ classes
Peter Howkins [Thu, 19 Apr 2018 22:25:47 +0000 (23:25 +0100)]
dtinfo: Resolve coverity warnings related to uninitialised members of classes
Peter Howkins [Wed, 18 Apr 2018 00:28:03 +0000 (01:28 +0100)]
libtt: Coverity fixes related to uninitialised fields in classes.
Peter Howkins [Sat, 14 Apr 2018 00:23:48 +0000 (01:23 +0100)]
various: You cannot use the destination of snprintf as one of the srcs, undefined
Peter Howkins [Fri, 13 Apr 2018 23:32:03 +0000 (00:32 +0100)]
dtwm: Fix window menus caused by using destination as param to snprintf
Peter Howkins [Fri, 13 Apr 2018 19:26:23 +0000 (20:26 +0100)]
dthelp: coverity fixes
Peter Howkins [Fri, 13 Apr 2018 18:08:50 +0000 (19:08 +0100)]
libtt: More coverity fixes
Jon Trulson [Thu, 12 Apr 2018 00:48:53 +0000 (18:48 -0600)]
Enable TIRPC support for Linux
This is enabled by default. To disable, add:
in the config/cf/site.def or host.def file.
You will need to have the libtirpc-dev package installed.
The benefit is that you will no longer need to run rpcbind in insecure
mode (the -i option). There are other benefits we may be able to take
advantage of in the future, like supporting IPV6 for ToolTalk.
Peter Howkins [Thu, 12 Apr 2018 23:54:04 +0000 (00:54 +0100)]
dtlogin: coverity fixes
Peter Howkins [Thu, 12 Apr 2018 20:29:49 +0000 (21:29 +0100)]
dtterm: coverity fixes
Jon Trulson [Thu, 12 Apr 2018 19:38:38 +0000 (13:38 -0600)]
dtbuilder/Imakefile: fix clean target to remove dtbuilder executable
Jon Trulson [Thu, 12 Apr 2018 17:58:34 +0000 (11:58 -0600)]
dtfile/FileOp: CID 175228
Jon Trulson [Thu, 12 Apr 2018 17:45:38 +0000 (11:45 -0600)]
dtfile/FileDialog: CID 175220
Jon Trulson [Thu, 12 Apr 2018 17:30:59 +0000 (11:30 -0600)]
dtfile/SharedProcs: CID 175229
Jon Trulson [Thu, 12 Apr 2018 17:21:06 +0000 (11:21 -0600)]
dtfile/dtcopy/sharedFuncs: CID 175225