oweals/cde.git
6 years agolibtt/isrepair.c: coverity CID 86705; uninit ptr read
Jon Trulson [Sun, 1 Apr 2018 20:25:34 +0000 (14:25 -0600)]
libtt/isrepair.c: coverity CID 86705; uninit ptr read

6 years agodtfile/File.c: coverity CID 88919; uninit array read
Jon Trulson [Sun, 1 Apr 2018 20:21:57 +0000 (14:21 -0600)]
dtfile/File.c: coverity CID 88919; uninit array read

6 years agodthelp/Initialize.c: coverity CID 89569; unbounded src buf
Jon Trulson [Sun, 1 Apr 2018 20:16:18 +0000 (14:16 -0600)]
dthelp/Initialize.c: coverity CID 89569; unbounded src buf

6 years agodtcm/props.c: coverity CID 88573; unbounded src buf
Jon Trulson [Sun, 1 Apr 2018 20:04:25 +0000 (14:04 -0600)]
dtcm/props.c: coverity CID 88573; unbounded src buf

6 years agodtexec,DtSvc/MsgLog.c: coverity CID 89585; resource leak
Jon Trulson [Sun, 1 Apr 2018 19:54:22 +0000 (13:54 -0600)]
dtexec,DtSvc/MsgLog.c: coverity CID 89585; resource leak

6 years agodtudcfonted/getfname.c: coverity CID 86392; insecure readlink
Jon Trulson [Sun, 1 Apr 2018 19:45:48 +0000 (13:45 -0600)]
dtudcfonted/getfname.c: coverity CID 86392; insecure readlink

6 years agodtfile: coverity CIDs 88363,88405,89140,89612; insecure readlink
Jon Trulson [Sun, 1 Apr 2018 19:43:48 +0000 (13:43 -0600)]
dtfile: coverity CIDs 88363,88405,89140,89612; insecure readlink

6 years agodtfile/SharedProcs.c: coverity CID 174852; int overflow
Jon Trulson [Sun, 1 Apr 2018 01:12:32 +0000 (19:12 -0600)]
dtfile/SharedProcs.c: coverity CID 174852; int overflow

6 years agolibtt/tt_file_system.C: coverity CID 86024; array vs singlton
Jon Trulson [Sun, 1 Apr 2018 01:05:35 +0000 (19:05 -0600)]
libtt/tt_file_system.C: coverity CID 86024; array vs singlton

6 years agodtmail/MsgScrollingList.C: coverity CID 87360; memset no effect
Jon Trulson [Sun, 1 Apr 2018 00:55:56 +0000 (18:55 -0600)]
dtmail/MsgScrollingList.C: coverity CID 87360; memset no effect

6 years agodtinfo/OutlineListViewMotif.C: coverity CID 87754; memset truncated
Jon Trulson [Sun, 1 Apr 2018 00:53:29 +0000 (18:53 -0600)]
dtinfo/OutlineListViewMotif.C: coverity CID 87754; memset truncated

6 years agocsa/match.c: coverity CID 87204; bad free; WTF
Jon Trulson [Sun, 1 Apr 2018 00:36:22 +0000 (18:36 -0600)]
csa/match.c: coverity CID 87204; bad free; WTF

6 years agodthelp/helpgen.c: coverity CID 175085; use after free
Jon Trulson [Sun, 1 Apr 2018 00:21:14 +0000 (18:21 -0600)]
dthelp/helpgen.c: coverity CID 175085; use after free

6 years agodtfile/Help.c: coverity CID 88484; use after free
Jon Trulson [Sun, 1 Apr 2018 00:11:14 +0000 (18:11 -0600)]
dtfile/Help.c: coverity CID 88484; use after free

6 years agolibtt/process.c: coverity CID 87051; use after free
Jon Trulson [Sun, 1 Apr 2018 00:08:02 +0000 (18:08 -0600)]
libtt/process.c: coverity CID 87051; use after free

6 years agolibtt/db_server_svc.C: coverity CID 87060; string overflow
Jon Trulson [Sun, 1 Apr 2018 00:02:11 +0000 (18:02 -0600)]
libtt/db_server_svc.C: coverity CID 87060; string overflow

6 years agodthelp/htag/malloc: coverity CID 86955; use after free
Jon Trulson [Sat, 31 Mar 2018 23:52:27 +0000 (17:52 -0600)]
dthelp/htag/malloc: coverity CID 86955; use after free

6 years agodtmail/DtMailRc.C: coverity CID 88975; use after free
Jon Trulson [Sat, 31 Mar 2018 23:46:53 +0000 (17:46 -0600)]
dtmail/DtMailRc.C: coverity CID 88975; use after free

6 years agodtfile/Main.c: coverity CID 89623; uninit var
Jon Trulson [Sat, 31 Mar 2018 23:34:40 +0000 (17:34 -0600)]
dtfile/Main.c: coverity CID 89623; uninit var

6 years agodtfile/sharedFuncs.c: coverity CID 88625; use after free
Jon Trulson [Sat, 31 Mar 2018 23:25:35 +0000 (17:25 -0600)]
dtfile/sharedFuncs.c: coverity CID 88625; use after free

6 years agodtfile/SharedProcs.c: coverity CID 89068; use after free
Jon Trulson [Sat, 31 Mar 2018 23:21:34 +0000 (17:21 -0600)]
dtfile/SharedProcs.c: coverity CID 89068; use after free

6 years agodtinfo/MixedGen.C: coverity CID 89495; use after free
Jon Trulson [Sat, 31 Mar 2018 20:42:22 +0000 (14:42 -0600)]
dtinfo/MixedGen.C: coverity CID 89495; use after free

6 years agodtspcd: coverity CID 174742; potential NULL derefs
Jon Trulson [Sat, 31 Mar 2018 20:24:13 +0000 (14:24 -0600)]
dtspcd: coverity CID 174742; potential NULL derefs

6 years agodtinfo/DtSR: coverity CID 88552; memory corruption
Jon Trulson [Sat, 31 Mar 2018 20:17:36 +0000 (14:17 -0600)]
dtinfo/DtSR: coverity CID 88552; memory corruption

6 years agodtinfo/TextParser.C: coverity CID 89054; mem corruption
Jon Trulson [Sat, 31 Mar 2018 20:07:28 +0000 (14:07 -0600)]
dtinfo/TextParser.C: coverity CID 89054; mem corruption

6 years agolibDtWidget: Resolve some Coverity warnings
Peter Howkins [Fri, 30 Mar 2018 23:15:05 +0000 (00:15 +0100)]
libDtWidget: Resolve some Coverity warnings

6 years agodtpdmd: Resolve some coverity warnings
Peter Howkins [Fri, 30 Mar 2018 22:48:00 +0000 (23:48 +0100)]
dtpdmd: Resolve some coverity warnings

6 years agodtcreate: Resolve coverity issues
Peter Howkins [Fri, 30 Mar 2018 22:35:39 +0000 (23:35 +0100)]
dtcreate: Resolve coverity issues

6 years agodtudcfonted: Resolve further coverity issues
Peter Howkins [Fri, 30 Mar 2018 21:09:47 +0000 (22:09 +0100)]
dtudcfonted: Resolve further coverity issues

6 years agodtcalc: resolve coverity issues
Peter Howkins [Fri, 30 Mar 2018 19:24:04 +0000 (20:24 +0100)]
dtcalc: resolve coverity issues

6 years agodthelp: compiler warning and coverity warning fixes
Peter Howkins [Wed, 28 Mar 2018 23:21:44 +0000 (00:21 +0100)]
dthelp: compiler warning and coverity warning fixes

6 years agolibtt: Resolve some compiler warnings
Peter Howkins [Wed, 28 Mar 2018 20:34:08 +0000 (21:34 +0100)]
libtt: Resolve some compiler warnings

6 years agoCDE-RUN: remove osf bindings
Jon Trulson [Wed, 28 Mar 2018 18:49:53 +0000 (12:49 -0600)]
CDE-RUN: remove osf bindings

6 years agoRemove old cruft: osf/* and utils/prog*
Jon Trulson [Wed, 28 Mar 2018 18:15:04 +0000 (12:15 -0600)]
Remove old cruft: osf/* and utils/prog*

The osf/ stuff includes uil, wml, etc - we expect these to be provided
by Motif, and make no attempt to build them in CDE, so no need for
them.

The only program in utils/prog/ is an ancient verion of lndir that we
do not need for CDE.  If you need lndir for some reason, use the
laters version from Xorg, usually installed via the xutils-dev
package.

6 years agodtcalc: resolve coverity issues
Peter Howkins [Wed, 28 Mar 2018 01:24:27 +0000 (02:24 +0100)]
dtcalc: resolve coverity issues

6 years agodtscpd: resolve compiler and coverity warnings
Peter Howkins [Wed, 28 Mar 2018 01:08:36 +0000 (02:08 +0100)]
dtscpd: resolve compiler and coverity warnings

6 years agodtcudcfonted: Resolve compiler and coverity warnings
Peter Howkins [Wed, 28 Mar 2018 00:29:28 +0000 (01:29 +0100)]
dtcudcfonted: Resolve compiler and coverity warnings

6 years agodtdocbook: glibc 2.27 drops support for matherr() support in math.h
Peter Howkins [Tue, 27 Mar 2018 02:55:32 +0000 (03:55 +0100)]
dtdocbook: glibc 2.27 drops support for matherr() support in math.h

6 years agodtcalc: change from obsoleted MAXFLOAT to FLT_MAX from std C
Peter Howkins [Tue, 27 Mar 2018 02:25:58 +0000 (03:25 +0100)]
dtcalc: change from obsoleted MAXFLOAT to FLT_MAX from std C

6 years agodtksh: Linux modern glibc compile HACK prevent system wide definition of __FILE that...
Peter Howkins [Tue, 27 Mar 2018 00:51:58 +0000 (01:51 +0100)]
dtksh: Linux modern glibc compile HACK prevent system wide definition of __FILE that we define to Sfio_t

6 years agodtksh: make sure you can still build on linux older c library too
Peter Howkins [Fri, 23 Mar 2018 04:17:17 +0000 (04:17 +0000)]
dtksh: make sure you can still build on linux older c library too

6 years agodtksh: HACKY fix for compilation on later linux C library where FILE definition has...
Peter Howkins [Fri, 23 Mar 2018 01:51:39 +0000 (01:51 +0000)]
dtksh: HACKY fix for compilation on later linux C library where FILE definition has moved

6 years agoChange dtmmdb class from tuple to mmdb_tuple
Peter Howkins [Wed, 21 Mar 2018 01:03:31 +0000 (01:03 +0000)]
Change dtmmdb class from tuple to mmdb_tuple

6 years agoChange how read and write errors are detected on fstream based streams.
Peter Howkins [Wed, 21 Mar 2018 01:01:09 +0000 (01:01 +0000)]
Change how read and write errors are detected on fstream based streams.

6 years agoResolve some compiler warnings
Peter Howkins [Sun, 18 Mar 2018 00:21:51 +0000 (00:21 +0000)]
Resolve some compiler warnings

6 years agoFixed for wrong cased filename on depends creation
Peter Howkins [Sun, 18 Mar 2018 00:20:55 +0000 (00:20 +0000)]
Fixed for wrong cased filename on depends creation

6 years agoResolve some coverity warnings
Peter Howkins [Thu, 8 Mar 2018 23:03:21 +0000 (23:03 +0000)]
Resolve some coverity warnings

6 years agoRemove needless zeroing after calloc
Michael McConville [Sat, 9 Dec 2017 09:33:44 +0000 (02:33 -0700)]
Remove needless zeroing after calloc

7 years agoFix typographical error
Cody Kotichas [Tue, 8 Aug 2017 07:32:33 +0000 (00:32 -0700)]
Fix typographical error

7 years agodtappbuilder: Add patches from Robert Pangrazio fixing coredumps
Jon Trulson [Sun, 6 Aug 2017 00:49:07 +0000 (18:49 -0600)]
dtappbuilder: Add patches from Robert Pangrazio fixing coredumps

7 years agolibtt: pass proper flags to getfsstat, log error message and exit if it fails
alx [Sat, 29 Jul 2017 13:10:54 +0000 (15:10 +0200)]
libtt: pass proper flags to getfsstat, log error message and exit if it fails

7 years agoAdd in an example .desktop session file for other X session managers (not dtlogin)
Peter Howkins [Sun, 16 Apr 2017 18:07:21 +0000 (19:07 +0100)]
Add in an example .desktop session file for other X session managers (not dtlogin)
Suitable for kdm/gdm/lightdm etc

7 years agoChange pid wait types to int on Linux as well. Fixes compile issue
Peter Howkins [Tue, 11 Apr 2017 19:40:43 +0000 (20:40 +0100)]
Change pid wait types to int on Linux as well. Fixes compile issue
in dtudc programs on ubuntu 16.10+

7 years agoDtMail translations and improvements of vcal2xampia.awk
Edmond ORIGNAC [Mon, 2 Jan 2017 18:52:41 +0000 (19:52 +0100)]
DtMail translations and improvements of vcal2xampia.awk

dtmail: messages of the 'Mail Retrieval' menu of dtmail  were left untranslated.
French, Italian, Spanish translations were added.
vcal2xapia.awk: capacity to handle UTC+n timezones and TODO items added.

7 years agoManual page for vcal2xapia.awk
Edmond ORIGNAC [Mon, 2 Jan 2017 18:57:11 +0000 (19:57 +0100)]
Manual page for vcal2xapia.awk

7 years agodtksh/sfio: resolved a naming collision on FreeBSD 11
alx [Fri, 30 Dec 2016 01:43:57 +0000 (02:43 +0100)]
dtksh/sfio: resolved a naming collision on FreeBSD 11

7 years agottsession: don't segfault if host name isn't properly set
alx [Fri, 30 Dec 2016 00:35:38 +0000 (01:35 +0100)]
ttsession: don't segfault if host name isn't properly set

7 years agodtlogin: center the mouse pointer on the login screen on multi-head setups
alx [Fri, 30 Dec 2016 00:31:09 +0000 (01:31 +0100)]
dtlogin: center the mouse pointer on the login screen on multi-head setups

7 years agodtfile: added Xinerama support to dialog positioning routines
alx [Fri, 30 Dec 2016 00:28:43 +0000 (01:28 +0100)]
dtfile: added Xinerama support to dialog positioning routines

7 years agolibDtSvc: added Xinerama support to _DtMessageDialog
alx [Fri, 30 Dec 2016 00:21:40 +0000 (01:21 +0100)]
libDtSvc: added Xinerama support to _DtMessageDialog

8 years agoPatches from pkgsrc-WIP
Swift Griggs [Fri, 5 Aug 2016 16:47:57 +0000 (10:47 -0600)]
Patches from pkgsrc-WIP

8 years agodtwm: basic multihead(xinerama only) support
Matthew R. Trower [Thu, 23 Jun 2016 07:25:00 +0000 (02:25 -0500)]
dtwm: basic multihead(xinerama only) support

* maximization (also partially fixes strange Firefox behaviour)
* sane initial window placement

Firefox is stranger than most; it appears to maximize to double
X Screen width even on single head displays.  Fixed (on multihead).

8 years agorelease: update version to 2.2.4, update HISTORY 2.2.4
Jon Trulson [Sun, 19 Jun 2016 18:46:29 +0000 (12:46 -0600)]
release: update version to 2.2.4, update HISTORY

8 years agocontrib: some enhancements to the scrotps provided by Edmond Orignac
Jon Trulson [Sun, 19 Jun 2016 02:18:52 +0000 (20:18 -0600)]
contrib: some enhancements to the scrotps provided by Edmond Orignac

8 years agodtlogin: FreeBSD build fix
Ulrich Wilkens [Sun, 12 Jun 2016 16:55:18 +0000 (18:55 +0200)]
dtlogin: FreeBSD build fix

8 years agoFix dtinfo document build on OpenBSD
Ulrich Wilkens [Fri, 10 Jun 2016 04:31:28 +0000 (06:31 +0200)]
Fix dtinfo document build on OpenBSD

8 years agodtlogin: openbsd build fix
Pascal de Bruijn [Thu, 9 Jun 2016 15:49:07 +0000 (17:49 +0200)]
dtlogin: openbsd build fix

Amend ced27aa1f69a7c41bdf67f8d39f786899947aa26 to prevent openbsd
make from failing because of the tab.

8 years agocall fclose(infile) after print_progress()
Giacomo Comes [Tue, 7 Jun 2016 14:31:28 +0000 (10:31 -0400)]
call fclose(infile) after print_progress()

The function print_progress uses the pointer infile.
If fclose is called before print_progress then the build process
can fail to build the files:
  doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.d99
  doc/C/cde.dti/CDEDOC/dtsearch/dtsearch.ocf
  doc/C/cde.dti/cde.oli
To fix the issue move the call fclose(infile) after print_progress()

8 years agoUse /var/spool instead of /usr/spool on linux
Giacomo Comes [Tue, 7 Jun 2016 08:52:58 +0000 (04:52 -0400)]
Use /var/spool instead of /usr/spool on linux

8 years agodtstyle: remove some accidentally commited debug code
Peter Howkins [Thu, 21 Apr 2016 00:48:40 +0000 (01:48 +0100)]
dtstyle: remove some accidentally commited debug code

8 years agodtstyle: backdrops, allow jpg/png if motif supports it
Peter Howkins [Thu, 21 Apr 2016 00:43:27 +0000 (01:43 +0100)]
dtstyle: backdrops, allow jpg/png if motif supports it
add file extensions to all types but .pm/.bm. This lets XmGetPixmap() load them.

8 years agoDisable all code related to libXp
Peter Howkins [Wed, 20 Apr 2016 19:17:22 +0000 (20:17 +0100)]
Disable all code related to libXp
deprecated and mostly no longer included on current OSes

8 years agodtfile: Enable FILE_MAP_OPTIMIZE on Linux. This avoids unnecessary tt_file_netfile...
alx [Mon, 18 Apr 2016 17:49:07 +0000 (19:49 +0200)]
dtfile: Enable FILE_MAP_OPTIMIZE on Linux. This avoids unnecessary tt_file_netfile calls on local host.

8 years agodtwm: Resolved some compiler warnings
alx [Sun, 17 Apr 2016 10:58:31 +0000 (12:58 +0200)]
dtwm: Resolved some compiler warnings

8 years agodtwm: 0 is not NULL
alx [Sun, 17 Apr 2016 10:55:53 +0000 (12:55 +0200)]
dtwm: 0 is not NULL

8 years agodtsession: Enable X11 screensaver extension on FreeBSD
alx [Sun, 17 Apr 2016 10:04:23 +0000 (12:04 +0200)]
dtsession: Enable X11 screensaver extension on FreeBSD

8 years agodtlogin: Enable XDM authentication on FreeBSD
alx [Sun, 17 Apr 2016 09:55:41 +0000 (11:55 +0200)]
dtlogin: Enable XDM authentication on FreeBSD

8 years agodtfile: Enable FILE_MAP_OPTIMIZE on FreeBSD. This avoids unnecessary tt_file_netfile...
alx [Sun, 17 Apr 2016 09:05:48 +0000 (11:05 +0200)]
dtfile: Enable FILE_MAP_OPTIMIZE on FreeBSD. This avoids unnecessary tt_file_netfile calls on local host.

8 years agodtappbuilder: replace accidental %a with %% in write_func_as_strings()
Jon Trulson [Fri, 18 Dec 2015 17:28:37 +0000 (10:28 -0700)]
dtappbuilder: replace accidental %a with %% in write_func_as_strings()

8 years agodbtoman: fix missing arg to fprintf
Jon Trulson [Fri, 18 Dec 2015 17:00:12 +0000 (10:00 -0700)]
dbtoman: fix missing arg to fprintf

8 years agottcp: fix missing arg to fprintf
Jon Trulson [Fri, 18 Dec 2015 16:55:20 +0000 (09:55 -0700)]
ttcp: fix missing arg to fprintf

9 years agodtlogin: don't use crypt(3) on openbsd
Pascal de Bruijn [Sat, 28 Nov 2015 18:04:40 +0000 (19:04 +0100)]
dtlogin: don't use crypt(3) on openbsd

des support has been removed from crypt(3) on openbsd since version 5.8

9 years agodtlogin: use XDM authentication instead of MIT/DES on linux
Jon Trulson [Thu, 26 Nov 2015 21:08:23 +0000 (14:08 -0700)]
dtlogin: use XDM authentication instead of MIT/DES on linux

9 years agoksh: fix up shipin for more modern systems WRT test and wc
Jon Trulson [Sun, 22 Nov 2015 22:37:40 +0000 (15:37 -0700)]
ksh: fix up shipin for more modern systems WRT test and wc

Patch submitted by Giacomo Comes.

9 years agoFix FreeBSD 10.2 build
Ulrich Wilkens [Wed, 21 Oct 2015 16:49:07 +0000 (18:49 +0200)]
Fix FreeBSD 10.2 build

9 years agoDtWidget: resolved some compiler warnings
alx [Thu, 23 Jul 2015 18:51:47 +0000 (20:51 +0200)]
DtWidget: resolved some compiler warnings

9 years agoDtWidget: added appropriate KeyPress event handler to DtIcon widget
alx [Thu, 23 Jul 2015 18:27:20 +0000 (20:27 +0200)]
DtWidget: added appropriate KeyPress event handler to DtIcon widget

9 years agodtfile: fixed ambiguity in the translation table
alx [Thu, 23 Jul 2015 18:03:23 +0000 (20:03 +0200)]
dtfile: fixed ambiguity in the translation table

9 years agodtfile: fixed file view scrolling with Page Up/Down keys
alx [Thu, 23 Jul 2015 18:01:22 +0000 (20:01 +0200)]
dtfile: fixed file view scrolling with Page Up/Down keys

9 years agodtfile: 0 is not NULL
alx [Sat, 11 Jul 2015 20:54:31 +0000 (22:54 +0200)]
dtfile: 0 is not NULL

9 years agodticon: KeySym is not char
alx [Thu, 2 Jul 2015 20:44:13 +0000 (22:44 +0200)]
dticon: KeySym is not char

9 years agodtfile: fixed double free in copy/move collision handler
alx [Thu, 2 Jul 2015 20:38:08 +0000 (22:38 +0200)]
dtfile: fixed double free in copy/move collision handler

9 years agodtsession: fixed errorlog rotation
alx [Thu, 2 Jul 2015 20:35:33 +0000 (22:35 +0200)]
dtsession: fixed errorlog rotation

9 years agoChanged memcpy() to memmove() to stop coredumping on OpenBSD 5.7.
Douglas Carmichael [Sun, 21 Jun 2015 08:39:01 +0000 (03:39 -0500)]
Changed memcpy() to memmove() to stop coredumping on OpenBSD 5.7.

9 years agoPatches to enable compilation on OpenBSD 5.7/FreeBSD 10.1.
Douglas Carmichael [Sun, 14 Jun 2015 16:10:36 +0000 (11:10 -0500)]
Patches to enable compilation on OpenBSD 5.7/FreeBSD 10.1.

9 years agoprograms/dtappintegrate: make PATH include /bin.
Isaac Dunham [Mon, 15 Jun 2015 04:17:30 +0000 (21:17 -0700)]
programs/dtappintegrate: make PATH include /bin.

Without this, we fail without the /usr merge because 'date' is
unavailable.

9 years agocde: update HISTORY for 2.2.3 release 2.2.3
Jon Trulson [Sat, 9 May 2015 23:09:11 +0000 (17:09 -0600)]
cde: update HISTORY for 2.2.3 release

9 years agocde: change revision to 2.2.3
Jon Trulson [Sat, 9 May 2015 22:58:46 +0000 (16:58 -0600)]
cde: change revision to 2.2.3

9 years agodtscreen: don't use old version of round() on linux either
Jon Trulson [Sat, 9 May 2015 22:37:04 +0000 (16:37 -0600)]
dtscreen: don't use old version of round() on linux either

9 years agoRemove warnings on Linux with glibc 2.20
Ulrich Wilkens [Fri, 8 May 2015 22:39:05 +0000 (00:39 +0200)]
Remove warnings on Linux with glibc 2.20