oweals/cde.git
6 years agodtcalc/calctool.h: Use include stdlib rather than extern declarations
Jon Trulson [Thu, 8 Nov 2018 21:19:25 +0000 (14:19 -0700)]
dtcalc/calctool.h: Use include stdlib rather than extern declarations

6 years agolibDtHelp: Fix another regression caused by Coverity fix, clicking 'Help Manager...
Peter Howkins [Wed, 7 Nov 2018 17:04:59 +0000 (17:04 +0000)]
libDtHelp: Fix another regression caused by Coverity fix, clicking 'Help Manager' works again.

6 years agolibDtHelp: Fix a regression with the Help Index pages caused by an overzealous Coveri...
Peter Howkins [Wed, 7 Nov 2018 01:05:56 +0000 (01:05 +0000)]
libDtHelp: Fix a regression with the Help Index pages caused by an overzealous Coverity fix

6 years agolinux: DtHelp/StringFuncs, enable real iconv() support
Jon Trulson [Mon, 5 Nov 2018 22:33:16 +0000 (15:33 -0700)]
linux: DtHelp/StringFuncs, enable real iconv() support

For some reason, the #include of iconv.h was removed, and dummy stubs
were put in place on linux systems (only).  This caused iconv() calls
to be completely ignored.

Now we use iconv() just like very other OS we support.

6 years agoMerge branch 'master' into cde-next
Jon Trulson [Sun, 4 Nov 2018 17:56:04 +0000 (10:56 -0700)]
Merge branch 'master' into cde-next

6 years agoRepair and simplify installCDE.src:CleanDaemons()
Matthew R. Trower [Tue, 30 Oct 2018 13:56:44 +0000 (08:56 -0500)]
Repair and simplify installCDE.src:CleanDaemons()

6 years agoRestore original `tail` functionality in ttsnoop, with POSIX args
Matthew R. Trower [Wed, 31 Oct 2018 02:16:39 +0000 (21:16 -0500)]
Restore original `tail` functionality in ttsnoop, with POSIX args

6 years agoinstallCDE: fix outputting of missing files on install, caused by C&P error in shells...
Peter Howkins [Thu, 1 Nov 2018 22:19:46 +0000 (22:19 +0000)]
installCDE: fix outputting of missing files on install, caused by C&P error in shellshock fixes

6 years agoClean up UseInstalledX11 logic
Matthew R. Trower [Thu, 25 Oct 2018 10:38:28 +0000 (05:38 -0500)]
Clean up UseInstalledX11 logic

6 years agoAdd default TCLLIB, and allow override in host.def
Matthew R. Trower [Thu, 25 Oct 2018 09:51:52 +0000 (04:51 -0500)]
Add default TCLLIB, and allow override in host.def

Restores build on Sun, and maybe others.

6 years agodbtoman: Improve readability
chase [Sun, 14 Oct 2018 20:02:37 +0000 (15:02 -0500)]
dbtoman: Improve readability

6 years agodtdocbook/instant: add Tcl_GetErrorLine check for older versions of Tcl
Jon Trulson [Sun, 7 Oct 2018 19:28:04 +0000 (13:28 -0600)]
dtdocbook/instant: add Tcl_GetErrorLine check for older versions of Tcl

6 years agoClean up OPENBUGS
chase [Sat, 6 Oct 2018 03:23:32 +0000 (22:23 -0500)]
Clean up OPENBUGS

This patch fixes some wierd word splicing that occured with the importing of
the sources, which caused the last letter of many bugs to be cut off, with
some of them cutting off more, I made my best judgement on what was supposed
to be there.

This patch also gets rid of old bugs and software that CDE no longer includes.

6 years agoRemove hpversion.h from repository
chase [Fri, 5 Oct 2018 20:26:13 +0000 (15:26 -0500)]
Remove hpversion.h from repository

This patch removes hpversion.h from the repository, this also untangles a
lot of ifdef mess. This closes bug CDExc19524.

6 years agoremove ultrix support
chase [Sun, 30 Sep 2018 17:28:53 +0000 (12:28 -0500)]
remove ultrix support

6 years agogpftobdf.c: fix long int comiler warnings
chase [Sun, 30 Sep 2018 14:49:27 +0000 (09:49 -0500)]
gpftobdf.c: fix long int comiler warnings

6 years agodebian: misc cleanup
chase [Sun, 30 Sep 2018 01:50:20 +0000 (20:50 -0500)]
debian: misc cleanup

6 years agoMerge branch 'master' into cde-next
Jon Trulson [Sat, 22 Sep 2018 21:50:13 +0000 (15:50 -0600)]
Merge branch 'master' into cde-next

6 years agodocbook.tcl, instant: finish remaining help generation issues with tcl
Jon Trulson [Sat, 22 Sep 2018 18:27:27 +0000 (12:27 -0600)]
docbook.tcl, instant: finish remaining help generation issues with tcl

In this commit, we convert FreeBSD and OpenBSD to use a system version
of TCL (8.6).

We also get rid of the hairy and buggy "CompareI18NStrings" custom Tcl
function and use the newer Tcl's builtin dictionary sort mechanism for
generating the Indexes and Glossaries, which were silently broken in
previous commits.

It was just not possible to use the same Tcl code in modern versions
of Tcl in addition to the ancient version included with CDE - so, now
we will always depend on the system version.  It's been tested with
8.6 and 8.7 versions of Tcl with great results.

6 years agoRemove ancient included tcl code
Jon Trulson [Sat, 22 Sep 2018 18:27:09 +0000 (12:27 -0600)]
Remove ancient included tcl code

6 years agodtdocbook/tcl/tcl.h: Add compatibility defines for old Tcl
Jon Trulson [Thu, 20 Sep 2018 22:50:28 +0000 (16:50 -0600)]
dtdocbook/tcl/tcl.h: Add compatibility defines for old Tcl

dtdocbook/instant has been modified to use a more modern Tcl (8.6),
which means certain functions are not present when we are using the
dtdocbook/tcl (7.5) version of tcl instead of a modern system version.

So, create some defines that should work around this problem.

6 years agoChange version to 2.3.0a (devel)
Jon Trulson [Thu, 20 Sep 2018 22:49:01 +0000 (16:49 -0600)]
Change version to 2.3.0a (devel)

6 years agouse system tcl: clean up Imake files for dtdocbook/instant
Jon Trulson [Wed, 19 Sep 2018 23:49:15 +0000 (17:49 -0600)]
use system tcl: clean up Imake files for dtdocbook/instant

6 years agoinstant: encode 8bit chars to keep Tcl happy
Jon Trulson [Wed, 19 Sep 2018 19:53:20 +0000 (13:53 -0600)]
instant: encode 8bit chars to keep Tcl happy

6 years agodocbook/instant: fix a few more issues
Jon Trulson [Wed, 19 Sep 2018 17:28:48 +0000 (11:28 -0600)]
docbook/instant: fix a few more issues

6 years agodocbook.tcl: fix up some problems using a modern Tcl
Jon Trulson [Wed, 19 Sep 2018 01:02:49 +0000 (19:02 -0600)]
docbook.tcl: fix up some problems using a modern Tcl

One issue that came up was attempting to read array values indexed by
a key that didn't exist when generating indexes and glossaries.

I am not sure why this hasn't been a problem before, but for now, we
simply won't try to emit array values for non-existant array indexes.

6 years agotcl: use the system version, initial work only on linux for now
Jon Trulson [Mon, 17 Sep 2018 19:57:57 +0000 (13:57 -0600)]
tcl: use the system version, initial work only on linux for now

6 years agoil: Remove deprecated files
chase [Thu, 23 Aug 2018 01:10:07 +0000 (20:10 -0500)]
il: Remove deprecated files

6 years agoconfigShlibs.src: Fixup some bugs introduced by previous commits
Jon Trulson [Sun, 26 Aug 2018 22:29:02 +0000 (16:29 -0600)]
configShlibs.src: Fixup some bugs introduced by previous commits

6 years agodtprintegrate: fix shellcheck warnings
chase [Sun, 26 Aug 2018 04:03:02 +0000 (23:03 -0500)]
dtprintegrate: fix shellcheck warnings

6 years agodtappintegrate.src and dtopen.src: fix shellcheck warnings
chase [Sat, 25 Aug 2018 15:06:45 +0000 (10:06 -0500)]
dtappintegrate.src and dtopen.src: fix shellcheck warnings

6 years agoDtsMM.c: Remove null in string
chase [Fri, 24 Aug 2018 21:52:11 +0000 (16:52 -0500)]
DtsMM.c: Remove null in string

6 years agosgmls: remove from repository - we always use nsgmls
Jon Trulson [Sun, 26 Aug 2018 19:17:46 +0000 (13:17 -0600)]
sgmls: remove from repository - we always use nsgmls

This was part of Chase's sgml removal patch, but was not properly
merged by me, leaving the files intact.

6 years agodtfile: Fix up CopyCheckDeletePermission() and CheckDeletePermission
Jon Trulson [Sat, 25 Aug 2018 23:38:48 +0000 (17:38 -0600)]
dtfile: Fix up CopyCheckDeletePermission() and CheckDeletePermission

Remove calls to bogus utility functions in cases where the user is
root and the filesystem in question is an NFS filesystem.

For now, __linux___ and CSRG_BASED machines will use statfs to
determine whether to test delete-ability.  For other systems, just do
the create/delete test always if the user is root.

6 years agoPatch out use of deprecated and now removed ustat(2) function on Linux.
David Cantrell [Tue, 21 Aug 2018 19:41:48 +0000 (15:41 -0400)]
Patch out use of deprecated and now removed ustat(2) function on Linux.

dtfile makes use of ustat(2) on certain systems.  This call has been
deprecated in glibc for a while and now, as of glibc-2.28, it has been
removed.  The recommended replacement is to use statfs(2).

6 years agoDtdocbook: Remove old sgmls program
chase [Tue, 21 Aug 2018 22:56:32 +0000 (17:56 -0500)]
Dtdocbook: Remove old sgmls program

6 years agoRemove old windows support
chase [Sat, 18 Aug 2018 20:57:09 +0000 (15:57 -0500)]
Remove old windows support

6 years agoRemove amoeba support
chase [Sat, 18 Aug 2018 19:58:55 +0000 (14:58 -0500)]
Remove amoeba support

6 years agopost_install: fix shellcheck warnings
chase [Sat, 18 Aug 2018 18:33:35 +0000 (13:33 -0500)]
post_install: fix shellcheck warnings

6 years agoCDE-RUN: Readd binary entries for dtudcfonted
chase [Sun, 12 Aug 2018 17:35:46 +0000 (12:35 -0500)]
CDE-RUN: Readd binary entries for dtudcfonted

6 years agoRefactor and reimplement dtudcfonted
chase [Fri, 27 Jul 2018 21:44:10 +0000 (16:44 -0500)]
Refactor and reimplement dtudcfonted

6 years agoRevert "Disable building of dtudcfonted and dtudcexch"
chase [Mon, 6 Aug 2018 01:37:51 +0000 (20:37 -0500)]
Revert "Disable building of dtudcfonted and dtudcexch"

This reverts commit 7f70748d6572914541c1a170b339720bc6fcf84b.

6 years agoRevert "dtudcfonted, dtudcexch: delete from repository"
chase [Sun, 5 Aug 2018 20:58:15 +0000 (15:58 -0500)]
Revert "dtudcfonted, dtudcexch: delete from repository"

This reverts commit e0036e6167d9cdcb1c7803f23986a4c2e8593e90.

6 years agolinksLast and uncomment: Fix shellcheck warnings
chase [Sun, 12 Aug 2018 15:15:50 +0000 (10:15 -0500)]
linksLast and uncomment: Fix shellcheck warnings

6 years agoinstallCDE.src: Fix shellcheck warnings
chase [Wed, 8 Aug 2018 00:43:15 +0000 (19:43 -0500)]
installCDE.src: Fix shellcheck warnings

6 years agolibDtHelp: Cov 88381
Peter Howkins [Sat, 11 Aug 2018 00:28:57 +0000 (01:28 +0100)]
libDtHelp: Cov 88381

6 years agolibDtHelp: Cov 88365
Peter Howkins [Sat, 11 Aug 2018 00:26:59 +0000 (01:26 +0100)]
libDtHelp: Cov 88365

6 years agolibDtHelp: Cov 89129 and 88355
Peter Howkins [Sat, 11 Aug 2018 00:18:45 +0000 (01:18 +0100)]
libDtHelp: Cov 89129 and 88355

6 years agolibDtHelp: Cov 88302
Peter Howkins [Sat, 11 Aug 2018 00:14:03 +0000 (01:14 +0100)]
libDtHelp: Cov 88302

6 years agolibDtHelp: Cov 88890 and 88294
Peter Howkins [Sat, 11 Aug 2018 00:11:04 +0000 (01:11 +0100)]
libDtHelp: Cov 88890 and 88294

6 years agolibDtHelp: Cov 88275
Peter Howkins [Sat, 11 Aug 2018 00:08:17 +0000 (01:08 +0100)]
libDtHelp: Cov 88275

6 years agolibDtHelp: Cov 88262 and 88459
Peter Howkins [Sat, 11 Aug 2018 00:05:01 +0000 (01:05 +0100)]
libDtHelp: Cov 88262 and 88459

6 years agolibDtHelp: Cov 88240
Peter Howkins [Sat, 11 Aug 2018 00:03:23 +0000 (01:03 +0100)]
libDtHelp: Cov 88240

6 years agolibDtHelp: Cov 88209
Peter Howkins [Sat, 11 Aug 2018 00:01:13 +0000 (01:01 +0100)]
libDtHelp: Cov 88209

6 years agolibDtHelp: Cov 88162
Peter Howkins [Fri, 10 Aug 2018 23:58:46 +0000 (00:58 +0100)]
libDtHelp: Cov 88162

6 years agolibDtHelp: Cov 88119
Peter Howkins [Fri, 10 Aug 2018 23:57:11 +0000 (00:57 +0100)]
libDtHelp: Cov 88119

6 years agolibDtHelp: Cov 88109
Peter Howkins [Fri, 10 Aug 2018 23:55:03 +0000 (00:55 +0100)]
libDtHelp: Cov 88109

6 years agolibDtHelp: Cov 174697
Peter Howkins [Fri, 10 Aug 2018 23:53:10 +0000 (00:53 +0100)]
libDtHelp: Cov 174697

6 years agolibDtHelp: Cov 89532
Peter Howkins [Fri, 10 Aug 2018 23:51:59 +0000 (00:51 +0100)]
libDtHelp: Cov 89532

6 years agolibDtHelp: Cov 89524
Peter Howkins [Fri, 10 Aug 2018 23:50:33 +0000 (00:50 +0100)]
libDtHelp: Cov 89524

6 years agolibDtHelp: Cov 89401
Peter Howkins [Fri, 10 Aug 2018 23:47:42 +0000 (00:47 +0100)]
libDtHelp: Cov 89401

6 years agolibDtHelp: Cov 89084
Peter Howkins [Fri, 10 Aug 2018 23:46:06 +0000 (00:46 +0100)]
libDtHelp: Cov 89084

6 years agolibDtHelp: Cov 89012
Peter Howkins [Fri, 10 Aug 2018 23:44:52 +0000 (00:44 +0100)]
libDtHelp: Cov 89012

6 years agolibDtHelp: Cov 88952
Peter Howkins [Fri, 10 Aug 2018 23:43:46 +0000 (00:43 +0100)]
libDtHelp: Cov 88952

6 years agolibDtHelp: Cov 88724
Peter Howkins [Fri, 10 Aug 2018 23:40:36 +0000 (00:40 +0100)]
libDtHelp: Cov 88724

6 years agolibDtHelp: Cov 88526
Peter Howkins [Fri, 10 Aug 2018 23:39:05 +0000 (00:39 +0100)]
libDtHelp: Cov 88526

6 years agolibDtHelp: Cov 88465
Peter Howkins [Fri, 10 Aug 2018 23:37:42 +0000 (00:37 +0100)]
libDtHelp: Cov 88465

6 years agolibDtHelp: Cov 88221
Peter Howkins [Fri, 10 Aug 2018 23:36:29 +0000 (00:36 +0100)]
libDtHelp: Cov 88221

6 years agolibDtHelp: Cov 89366
Peter Howkins [Fri, 10 Aug 2018 23:34:40 +0000 (00:34 +0100)]
libDtHelp: Cov 89366

6 years agolibDtHelp: Cov 89172
Peter Howkins [Fri, 10 Aug 2018 23:32:39 +0000 (00:32 +0100)]
libDtHelp: Cov 89172

6 years agolibDtUtil: Cov 88127
Peter Howkins [Fri, 10 Aug 2018 23:31:12 +0000 (00:31 +0100)]
libDtUtil: Cov 88127

6 years agolibDtUtil: Cov 88123
Peter Howkins [Fri, 10 Aug 2018 23:30:24 +0000 (00:30 +0100)]
libDtUtil: Cov 88123

6 years agolibDtHelp: Cov 88084
Peter Howkins [Fri, 10 Aug 2018 23:27:52 +0000 (00:27 +0100)]
libDtHelp: Cov 88084

6 years agolibDtHelp: Cov 88527
Peter Howkins [Fri, 10 Aug 2018 23:26:42 +0000 (00:26 +0100)]
libDtHelp: Cov 88527

6 years agolibDtHelp: Cov 88839
Peter Howkins [Fri, 10 Aug 2018 23:25:20 +0000 (00:25 +0100)]
libDtHelp: Cov 88839

6 years agolibDtHelp: Cov 89582
Peter Howkins [Fri, 10 Aug 2018 23:24:04 +0000 (00:24 +0100)]
libDtHelp: Cov 89582

6 years agolibDtHelp: Cov 87607
Peter Howkins [Fri, 10 Aug 2018 23:21:18 +0000 (00:21 +0100)]
libDtHelp: Cov 87607

6 years agoMerge branch 'master' into cde-next
Jon Trulson [Thu, 2 Aug 2018 01:18:17 +0000 (19:18 -0600)]
Merge branch 'master' into cde-next

6 years agoRemove redundant motif widgets
chase [Sat, 28 Jul 2018 01:39:03 +0000 (20:39 -0500)]
Remove redundant motif widgets

6 years agoAdd upstream config files
chase [Fri, 27 Jul 2018 22:13:48 +0000 (17:13 -0500)]
Add upstream config files

6 years agotemplates/types.tmpl: make sure to clean up new .dt's on a make clean
Jon Trulson [Fri, 20 Jul 2018 20:15:28 +0000 (14:15 -0600)]
templates/types.tmpl: make sure to clean up new .dt's on a make clean

6 years agoRename "dtapp" to "dtopen"
Jon Trulson [Fri, 20 Jul 2018 02:39:58 +0000 (20:39 -0600)]
Rename "dtapp" to "dtopen"

A great suggestion by Matthew Trower.

6 years agoFinish integrating Antonis's desktop_approots work
Jon Trulson [Fri, 20 Jul 2018 00:39:56 +0000 (18:39 -0600)]
Finish integrating Antonis's desktop_approots work

In addition:

- moved video type detection into a separate file: videoTypes.dt out
  of datatypes.dt.  Also, removed all actions from Antonis' dt files,
  as these are handled by the new actions (listed below).

  Image, postscript, and PDF types definitions are still located in
  datatypes.dt.src

- supports most image files, PDFs, postscript files, and video files
  via dtapp now.

- Added new actions:

  - DisplayImage
  - DisplayVideo
  - DisplayPDF
  - DisplayPS

  All of these call the dtapp_* helpers to locate an appropriate
  program to handle the task.

- Added a camera icon

- standardized the icons used to display the various types - all
  images use the Dtimage icon now, as an example.

- moved the new *.dt files to their proper place in programs/types,
  rather than programs/localized/C/types (my bad).

Please add any further video types into videoTypes.dt, and everything
else (for now) into datatypes.dt.

In the future, we should probably separate these out into
type-specific .dt files.  Also, something should be done about playing
audio files too (maybe DisplayVideo.dt can handle all those too?)

6 years agoAdd actions and types from Antonis Tsolomitis' desktop_approots contribution
Jon Trulson [Thu, 19 Jul 2018 04:53:01 +0000 (22:53 -0600)]
Add actions and types from Antonis Tsolomitis' desktop_approots contribution

6 years agodatabases/: remove ancient crufty scripts
Jon Trulson [Thu, 19 Jul 2018 01:13:41 +0000 (19:13 -0600)]
databases/: remove ancient crufty scripts

6 years agoAdd icons from Antonis Tsolomitis desktop_approots contribution
Jon Trulson [Thu, 19 Jul 2018 00:35:04 +0000 (18:35 -0600)]
Add icons from Antonis Tsolomitis desktop_approots contribution

6 years agoAdd a new script, dtapp, used to locate and run various helper programs
Jon Trulson [Wed, 18 Jul 2018 19:45:49 +0000 (13:45 -0600)]
Add a new script, dtapp, used to locate and run various helper programs

This script is located in /usr/dt/bin/dtapp, and is then symlinked to
various helpers that can be used in DT actions to run programs.

The various helpers currently installed are:

dtapp_vimage - view an image file, override with DTAPP_VIMAGE.
Defaults to xv, display, and gimp, in that order.

dtapp_vpdf - view a PDF file, override with DTAPP_VPDF.  Defaults to
okular, xpdf

dtapp_vps - view a postscript file, override with DTAPP_VPS.  Defaults
to mgv, gv

dtapp_vvideo - view a video file, override with DTAPP_VVIDEO.
Defaults to vlc, ffplay.

When a request is made to view one of these files, the list of viewers
will be tried, in order, until one is found.  If none are found, an
error message will be displayed.  Add overrides to your ~/.dtprofile
file.

We can add more dtapp commands and defaults for them as needed.

This is in preparation for integrating Antonis Tsolomitis' extended
actions and icon files, coming up in future commits.

6 years agodtcm: Coverity 89185
Peter Howkins [Fri, 13 Jul 2018 18:26:38 +0000 (19:26 +0100)]
dtcm: Coverity 89185

6 years agodtcm: Coverity 89051
Peter Howkins [Fri, 13 Jul 2018 18:25:15 +0000 (19:25 +0100)]
dtcm: Coverity 89051

6 years agodtcm: Coverity 88955
Peter Howkins [Fri, 13 Jul 2018 18:24:11 +0000 (19:24 +0100)]
dtcm: Coverity 88955

6 years agodtcm: Coverity 88884
Peter Howkins [Fri, 13 Jul 2018 18:23:05 +0000 (19:23 +0100)]
dtcm: Coverity 88884

6 years agodtcm: Coverity 88382
Peter Howkins [Fri, 13 Jul 2018 18:19:58 +0000 (19:19 +0100)]
dtcm: Coverity 88382

6 years agodtcm: Coverity 88069
Peter Howkins [Fri, 13 Jul 2018 18:16:00 +0000 (19:16 +0100)]
dtcm: Coverity 88069

6 years agodtcm: Coverity 87942
Peter Howkins [Fri, 13 Jul 2018 18:14:45 +0000 (19:14 +0100)]
dtcm: Coverity 87942

6 years agodtcm: Coverity 87565
Peter Howkins [Fri, 13 Jul 2018 18:13:13 +0000 (19:13 +0100)]
dtcm: Coverity 87565

6 years agodtcm: Coverity 88006
Peter Howkins [Fri, 13 Jul 2018 18:11:29 +0000 (19:11 +0100)]
dtcm: Coverity 88006

6 years agodtcm: Coverity 89313
Peter Howkins [Fri, 13 Jul 2018 18:06:58 +0000 (19:06 +0100)]
dtcm: Coverity 89313

6 years agodtcm: Coverity 176055
Peter Howkins [Fri, 13 Jul 2018 18:05:33 +0000 (19:05 +0100)]
dtcm: Coverity 176055

6 years agodtcm: Coverity 89685
Peter Howkins [Fri, 13 Jul 2018 18:04:37 +0000 (19:04 +0100)]
dtcm: Coverity 89685

6 years agodtcm: Coverity 89111
Peter Howkins [Fri, 13 Jul 2018 18:02:57 +0000 (19:02 +0100)]
dtcm: Coverity 89111