1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00
Commit graph

1162 commits

Author SHA1 Message Date
Matthew R. Trower
db6de6284f Add SMF service on Sun 2018-06-18 12:18:17 -06:00
Matthew R. Trower
ad1f104bbd imake: Refactor and fix get_sun_compiler_versions()
* Improve maintainability
* Improve robustness
* Correct gcc version detection
* Correct gcc include path detection
2018-06-15 16:20:09 -06:00
Jon Trulson
f840359778 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.
2018-06-15 14:59:04 -06:00
Jon Trulson
c63acbc91a 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.
2018-06-15 13:58:54 -06:00
Matthew R. Trower
6715300820 nsgml: Resolve symbol collision when building with SunStudio 12.1 2018-06-15 11:21:41 -06:00
Jon Trulson
55b4e2f240 FreeBSD: turn off some warnings
Someday these can be addressed, but for now they are just noise.
2018-06-14 19:08:49 -06:00
Jon Trulson
ac883b6972 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.
2018-06-14 18:32:35 -06:00
Jon Trulson
825a504a11 XPM: Replace calls to XmeXpm*() with regular Xpm*()
This is no longer needed on modern Motif's.
2018-06-14 16:50:57 -06:00
Jon Trulson
59b83865ef 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
2018-06-14 14:20:02 -06:00
Jon Trulson
f598ed2358 building_release_archive: omit '-src' in archive filename 2018-06-14 13:08:20 -06:00
Jon Trulson
396eff69f7 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 :)
2018-06-13 19:26:55 -06:00
Jon Trulson
0554f2335f dtinfo/freebsd: fix a (int)NULL cast in DtSR_SearchEngine.C
This caused a compilation failure using gcc6 on FBSD 11.1-STABLE.
2018-06-13 17:57:46 -06:00
Jon Trulson
c1bef9e8d6 libDtTerm: Fix for a coredump seen on OpenBSD 2018-06-13 13:27:46 -06:00
chase
a35a7685b4 docnook.tcl: Add shebang 2018-06-12 17:11:22 -06:00
Ulrich Wilkens
9cfc0c2b40 create .depend files for Solaris+Illumos 2018-06-11 18:08:16 -06:00
chase
a14e0991ce installCDE.src: remove duplicate code 2018-06-10 16:33:47 -06:00
chase
4172308892 Remove reallyoldsun defines 2018-06-09 18:32:42 -06:00
Jon Trulson
0ec25848e9 cde: change version to 2.2.4a, for a development release 2018-06-08 13:03:39 -06:00
Matthew R. Trower
650ce0768f Fix imake segfault on OpenIndiana
Version string changed in distributed GCC6, confusing
get_sun_compiler_versions().
2018-06-04 18:44:35 -06:00
Jon Trulson
fd9e74ae42 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.
2018-06-01 21:20:18 -06:00
Jon Trulson
ad10797184 site.def: Only build C/en_US locales by default for Linux 2018-06-01 19:47:19 -06:00
Jon Trulson
c26dfea26d 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).
2018-06-01 15:40:50 -06:00
Jon Trulson
c7a8cfe18c installCDE: unset FIGNORE to workaround potential ksh bug 2018-06-01 11:32:39 -06:00
Jon Trulson
d2cb2b3659 configTT: remove inetd support 2018-05-31 22:23:19 -06:00
Jon Trulson
9a6bd5d35c 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.
2018-05-31 22:23:19 -06:00
Jon Trulson
2413f0d33f configRun: remove inetd support
I don't believe anyone uses inetd anymore.  If you do, you are on your
own.
2018-05-31 22:23:19 -06:00
Jon Trulson
ff4a9e6a60 configRun: leave dtmail alone, UDB handles it's perms correctly 2018-05-31 22:23:19 -06:00
chase
4bcb47a238 cde.desktop: add xpm icon 2018-05-31 22:23:19 -06:00
chase
a447f12493 fix files not registering as scripts 2018-05-31 22:23:19 -06:00
Jon Trulson
20cad57cd4 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.
2018-05-31 22:23:19 -06:00
chase
ad219d40c3 cde.desktop:Add keywords to desktop entry 2018-05-31 22:23:19 -06:00
Jon Trulson
76b72bc6ec dtcm: NULL is not 0 2018-05-31 22:23:19 -06:00
Jon Trulson
2a77e84e87 libDtCmP: use TIRPC on linux, fix some warnings 2018-05-31 22:23:19 -06:00
Jon Trulson
2bcd57ce33 dtcm/graphics: NULL is not 0 2018-05-31 22:23:19 -06:00
Jon Trulson
ee4a0a37ea rpc.cmsd: use TIRPC on Linux 2018-05-31 22:23:19 -06:00
Jon Trulson
a05ab67e12 XlationSvc: remove a "'" added in previous spelling commit that causes warnings 2018-05-31 22:23:19 -06:00
chase
809c3d8bb6 Spelling fixes 2018-05-31 22:23:19 -06:00
Jon Trulson
8d2fe2486c Imake.tmpl: don't delete logfiles (make.log MakeOut) 2018-05-31 22:23:19 -06:00
Jon Trulson
d6d055c981 installCDE.src: Add a -destdir <dir> option
Using this option, all files are installed under <dir> rather than
root '/'.
2018-05-31 22:23:19 -06:00
Ulrich Wilkens
297b6bd845 Fix warnings on FreeBSD 2018-05-31 22:04:08 -06:00
Ulrich Wilkens
885b65a09a Fixes for OpenBSD 2018-05-31 21:48:07 -06:00
Ulrich Wilkens
07f272122d Fix Linux rpc problems with new glibc 2018-05-31 18:00:22 -06:00
Ulrich Wilkens
16fbb15ecc Fix BSD and Sun problems after coverity fixes 2018-05-31 17:46:03 -06:00
chase
15fb8cea03 dinstallCDE.src: add linux and *BSD support 2018-05-25 12:59:36 -06:00
Jon Trulson
3495287b78 tt_xdr_utils: fix up some warnings 2018-05-25 11:16:04 -06:00
Jon Trulson
7f9634010b tt_old_db: use TT_DB_OK instead of NULL 2018-05-25 10:23:18 -06:00
Jon Trulson
77cdabb8f6 TermPrimSetUtmp: fix lost define broken by last patch 2018-05-24 18:52:53 -06:00
chase
4f5e7fe5e3 Use POSIX macros for linux 2018-05-24 18:22:55 -06:00
chase
164e695cd0 remove OSF1 support 2018-05-24 14:25:26 -06:00
Jon Trulson
3c1736f077 CDE-DEMOS: remove references to Makefile.novell 2018-05-20 13:00:06 -06:00
chase
0fa51f280f Use /var/spool instead of /usr/spool and /var/mail instead of /usr/mail 2018-05-20 12:30:32 -06:00
chase
07900bd93b Remove Unixware and openserver support 2018-05-20 12:13:07 -06:00
Jon Trulson
beea573d17 CDE-MAN-DEV.udb: remove extra }, added when UXP support was removed 2018-05-15 21:18:53 -06:00
chase
8a4f389634 Remove UXPDS support 2018-05-15 20:27:22 -06:00
chase
0f8233dadd sgml-mode.el: fix address, dt-toolbox: delete 2018-05-13 13:13:49 -06:00
chase
4a0c5ed3a8 cde.desktop: remove deprecated encoding key 2018-05-13 13:13:44 -06:00
chase
158fc36af4 Remove examples/motif 2018-05-13 13:12:47 -06:00
chase
8eb01941d3 Add generated binaries to gitignore from programs/localized/ 2018-05-13 13:00:55 -06:00
chase
1a50e1e5a9 Remove bsdi support 2018-05-13 13:00:49 -06:00
chase
3ccf3a8b86 Add missing license headers on *.hh files and others 2018-05-12 15:49:13 -06:00
Peter Howkins
fa29d3776e dtwm: Resolve coverity warnings related to uninitialised variables and missing return statements 2018-05-01 20:45:55 +01:00
Peter Howkins
ad373101d6 dtappbuilder: Coverity fixes mostly related to uninitialised variables 2018-05-01 19:02:14 +01:00
Peter Howkins
48b97a4c41 dthelp: Further coverity fixes 2018-04-30 04:11:44 +01:00
Jon Trulson
c936a8c065 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.
2018-04-29 20:01:43 -06:00
Peter Howkins
cd5d240213 dticon: Fix broken string length calculation 2018-04-30 01:51:15 +01:00
Peter Howkins
ac168d8918 dtimsstart: Fix brackets on previous coverity fix 2018-04-30 01:47:53 +01:00
Peter Howkins
f2c6a48d72 dtsession: A few extra snprintf's for buffer safety 2018-04-29 02:11:23 +01:00
Peter Howkins
e14e74231c dtlogin: Resolve some coverity issues, including those thought previously fixed 2018-04-28 23:47:05 +01:00
Peter Howkins
399c1e08c3 dtfile: batch coverity fixes 2018-04-28 23:12:04 +01:00
Peter Howkins
17a80f4933 dtimsstart: Fix derp in previoua fix set 2018-04-28 23:09:45 +01:00
Peter Howkins
62ee95bce2 dtimsstart: Coverity fixes 2018-04-28 21:44:27 +01:00
Peter Howkins
55c120b287 dtimsstart: Resolve all compiler warnings 2018-04-28 21:17:28 +01:00
Peter Howkins
e524a14c9c Merge branch 'cde-fixups-1' of ssh://git.code.sf.net/p/cdesktopenv/code into cde-fixups-1 2018-04-28 20:34:39 +01:00
Peter Howkins
3193f13070 dticon: coverity fixes 2018-04-28 20:33:44 +01:00
chase
33d2749ea3 Last of the spelling fixed 2018-04-28 12:36:44 -06:00
chase
6d3a19d8f9 Even more spelling fixed 2018-04-28 12:36:33 -06:00
chase
1fe5a550b2 Fix typo in license headers 2018-04-28 12:30:20 -06:00
Peter Howkins
a135a89876 dtappbuilder: Further coverity, resource leaks, copy intofixed size buffer and dereference before null checl 2018-04-28 02:51:10 +01:00
chase
0aa8780fa1 Small spelling fixes 2018-04-25 19:40:19 -06:00
chase
00fc1c54c1 Rewrite csh scripts in sh, use sh instead of csh in scripts 2018-04-25 19:35:49 -06:00
Peter Howkins
73dafa91e7 dtappbuilder: Fix for very wrong sized buffer 2018-04-26 01:50:33 +01:00
Peter Howkins
bb9eef427f dtappbuilder: Coverity fixes for mising return value and copy into fixed size buffer 2018-04-26 01:36:02 +01:00
Peter Howkins
4007d3a460 dtappbuilder: Resolve all compiler warnings 2018-04-24 21:55:56 +01:00
Peter Howkins
ee4c38da0a dtlogin: Two additional coverity fixes 2018-04-24 03:57:35 +01:00
Peter Howkins
3b2d34b5a4 dtinfo: Extra fixes for previous believed fixed things (coverity) 2018-04-24 03:25:54 +01:00
Peter Howkins
a1fb026d86 dtsr: Coverity fixes for string buffer issues 2018-04-24 03:03:06 +01:00
Peter Howkins
3cf92f3741 dtmail: Further Coverity fixes 2018-04-24 02:38:56 +01:00
Peter Howkins
9088d6b54e libtt: Fixes for Coverity fixes that I thought I'd already fixed. 2018-04-24 00:05:56 +01:00
Peter Howkins
d52e9390ec dtpdm: Coverity 87632, 87664, 87923 2018-04-23 03:43:48 +01:00
Peter Howkins
68de09848b Merge branch 'cde-fixups-1' of ssh://git.code.sf.net/p/cdesktopenv/code into cde-fixups-1 2018-04-23 02:21:30 +01:00
Peter Howkins
2f634848ce dtinfo: Fix coverity warning related to using delete not delete [] 2018-04-23 02:20:23 +01:00
chase
07722f5c13 More spelling fixes 2018-04-22 12:15:08 -06:00
chase
1817f335c6 Fix various spelling errors 2018-04-22 12:14:43 -06:00
Peter Howkins
22071fd62a libtt: Further coverity fixes 2018-04-20 22:57:47 +01:00
Peter Howkins
f905d25392 dtmail: resolve coverity warnings related to uninitialised members in C++ classes 2018-04-20 02:36:24 +01:00
Peter Howkins
3464e80165 nsgmls: resolve coverity warnings related to uninitialed members in C++ classes 2018-04-20 01:00:01 +01:00
Peter Howkins
6e7e9d91e1 dtinfo: Resolve coverity warnings related to uninitialised members of classes 2018-04-19 23:25:47 +01:00
Peter Howkins
02d43dabe6 libtt: Coverity fixes related to uninitialised fields in classes. 2018-04-18 01:28:03 +01:00
Peter Howkins
caef8edac0 various: You cannot use the destination of snprintf as one of the srcs, undefined 2018-04-14 01:23:48 +01:00
Peter Howkins
b410e644c0 dtwm: Fix window menus caused by using destination as param to snprintf 2018-04-14 00:32:03 +01:00
Peter Howkins
9b4b82c1f0 dthelp: coverity fixes 2018-04-13 20:26:23 +01:00
Peter Howkins
fee6003be1 libtt: More coverity fixes 2018-04-13 19:08:50 +01:00
Jon Trulson
17101b6f4c 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.
2018-04-12 21:00:34 -06:00
Peter Howkins
13d3e1db50 dtlogin: coverity fixes 2018-04-13 00:54:04 +01:00
Peter Howkins
4e9dc6c50b dtterm: coverity fixes 2018-04-12 21:29:49 +01:00
Jon Trulson
ae6b787c66 dtbuilder/Imakefile: fix clean target to remove dtbuilder executable 2018-04-12 13:38:38 -06:00
Jon Trulson
a1e23fe130 dtfile/FileOp: CID 175228 2018-04-12 11:58:34 -06:00
Jon Trulson
07fe841363 dtfile/FileDialog: CID 175220 2018-04-12 11:45:38 -06:00
Jon Trulson
1321d4c299 dtfile/SharedProcs: CID 175229 2018-04-12 11:30:59 -06:00
Jon Trulson
8e4b6605bf dtfile/dtcopy/sharedFuncs: CID 175225 2018-04-12 11:21:06 -06:00
Jon Trulson
fd5fe65616 dtfile/Desktop: CID 175219,175222,175223,175226,175227 2018-04-12 11:10:42 -06:00
Peter Howkins
691dffb076 lidtsvc: coverity fixes 2018-04-12 01:38:02 +01:00
Peter Howkins
91bb9a037a libtt: resolve coverity issues related to double close() 2018-04-12 00:04:13 +01:00
Peter Howkins
680f79aac3 ttsnoop: resolve some compiler warnings 2018-04-11 23:37:34 +01:00
Jon Trulson
7c3c03388a dtfile/Encaps: CID 174844 2018-04-11 16:25:52 -06:00
Jon Trulson
d8d8508fe3 dtfile/Main: CID 89623 2018-04-11 16:25:52 -06:00
Jon Trulson
c73ad48482 dtfile/dtcopy/dosync: CID 89374 2018-04-11 16:25:52 -06:00
Jon Trulson
1fa5834c60 dtfile/Menu: CID 89222 2018-04-11 16:25:52 -06:00
Jon Trulson
43a5b19ea0 dtfile/dtcopy/fsrtns: CID 88868,88128 2018-04-11 16:25:52 -06:00
Jon Trulson
3ba5c25a55 dtfile/Directory: CID 88835,89096,89446,89469,89498 2018-04-11 16:25:52 -06:00
Jon Trulson
ca7c8308e1 dtfile/Command: CID 88819 2018-04-11 16:25:52 -06:00
Jon Trulson
7d77cc21e0 linux.cf: Add -Wno-unused-result to C flags
There are several hundred of these and unless you intend to fix them,
they are just compiler noise.  If someone does want to go back and
redo all of these, then they can just re-enable this warning.
2018-04-11 16:25:52 -06:00
Jon Trulson
4ddbc11557 dtfile/FileOp: CID 88744,89337,89546 2018-04-11 16:25:52 -06:00
Jon Trulson
aa2a529e25 dtfile/Trash: CID 88638,88815,89061,89614 2018-04-11 16:25:52 -06:00
Jon Trulson
54f8982c61 dtfile/Help: CID 88598 2018-04-11 16:25:52 -06:00
Jon Trulson
141bfca04e dtfile/FileMgr: CID 88441,89025,174801 2018-04-11 16:25:52 -06:00
Jon Trulson
e2162e0800 dtfile/Find: CID 88258,87250 2018-04-11 16:25:52 -06:00
Jon Trulson
32e8827cbc dtfile/IconWindow: CID 88242,88702,89030 2018-04-11 16:25:52 -06:00
Jon Trulson
19d824c2cc dtfile/dtcopy/sharedFuncs: CID 88204,88291,88852,88861,88876 2018-04-11 16:25:52 -06:00
Jon Trulson
51b7590c63 dtfile/File: CID 88195,88595,88627,88794 2018-04-11 16:25:52 -06:00
Jon Trulson
d30719f3a2 dtfile/SharedProcs: CID 88158,88337,89104,89118 2018-04-11 16:25:52 -06:00
Jon Trulson
dd03c9cbf7 dtfile/FileDialog: CID 88141,88451,88658,89058 2018-04-11 16:25:52 -06:00
Jon Trulson
7e61925f1b dtfile/Desktop: CID 88133,88159,88339,88798,89331,89466 2018-04-11 16:25:52 -06:00
Jon Trulson
694b6ef5eb dtfile/Prefs: CID 88095,88407,89162,89164,89283,89445 2018-04-11 16:25:52 -06:00
Peter Howkins
30ad8e35e5 libtt: Resolve coverity warnings 2018-04-11 19:31:03 +01:00
Peter Howkins
db88cb0d13 dtpad: resove coverity issues 2018-04-11 18:05:06 +01:00
Jon Trulson
56b53a30a1 Reimplement reverted commit 7fa35c to fix readlink() issues
Original implementation:

Commit: 7fa35cA
dtfile: coverity CIDs 88363,88405,89140,89612; insecure readlink

That commit caused dtfile to be unable to resolve symbolic links and
was later reverted.  This commit reimplements the fixes correctly, and
should hopefully still resolve the coverity issues as well.
2018-04-10 19:12:58 -06:00
Peter Howkins
10468068ac dthelp: more coverity fixes 2018-04-11 02:07:55 +01:00
Jon Trulson
f4e3cb8327 dthelp/FormatUtils: fix coredump in dthelpgen due to free() of a bad address 2018-04-10 16:30:25 -06:00
Jon Trulson
88cbe518a4 installCDE/linux: don't try to edit/modify /etc/inetd.conf if it does not exist
Modern systems use xinetd anyway, so this code just creates useless
junk and error messages on installation.
2018-04-10 13:44:29 -06:00
Jon Trulson
6fff16a049 Remove admin/man, *nameswitch; none of this is pertinent anymore 2018-04-10 12:52:36 -06:00
Jon Trulson
ad01bb2067 Remove admin/bin; none of this is pertinent anymore 2018-04-10 12:52:32 -06:00
Jon Trulson
0ec76e2912 Remove admin/BuildTools; none of this is pertinent anymore 2018-04-10 12:52:25 -06:00
Jon Trulson
4ca27ae51a Remove admin/BuildTools/fnrclone/; obsolete junk 2018-04-10 12:32:28 -06:00
Jon Trulson
9a3a9e3010 Revert "dtfile: coverity CIDs 88363,88405,89140,89612; insecure readlink"
This reverts commit 7fa35c29c4.
2018-04-05 15:44:37 -06:00
Jon Trulson
70f85d77cc dtfile/sharedFuncs: CID 88085; resource leak 2018-04-05 13:28:04 -06:00
Jon Trulson
caa95ba67c dtfile: define MAX_PATH to PATH_MAX rather than 1024, also CID 87557 2018-04-05 12:49:06 -06:00
Peter Howkins
494fd64314 dtinfo/dtinfogen: Fix segfault introduced by over zealously fixing coverity resource leak 2018-04-05 18:16:10 +01:00
Peter Howkins
bc28c20524 dtinfo: fix coverity issues related to null checks after dereference 2018-04-04 22:42:06 +01:00
Peter Howkins
2b15c4057e dtinfo: Fix coverity issues for resource leaks 2018-04-04 22:07:10 +01:00