oweals/cde.git
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 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 agolib/DtSearch/raima/proto.h: fix OBSD build - don't redef system functions
Jon Trulson [Mon, 9 Jul 2018 19:05:10 +0000 (13:05 -0600)]
lib/DtSearch/raima/proto.h: fix OBSD build - don't redef system functions

Remove redeclaration of system functions (strlen, free, open, etc).
Use the system header files.  That's what they are for.

6 years agoAdd debian packaging files
chase [Sat, 7 Jul 2018 17:21:17 +0000 (12:21 -0500)]
Add debian packaging files

6 years agoMerge branch 'master' into cde-next
Jon Trulson [Fri, 6 Jul 2018 19:19:33 +0000 (13:19 -0600)]
Merge branch 'master' into cde-next

Need to resync before folding current cde-next into master.

6 years agoStable release: 2.3.0 2.3.0
Jon Trulson [Thu, 5 Jul 2018 21:48:44 +0000 (15:48 -0600)]
Stable release: 2.3.0

6 years agoMerge branch 'master' into update-with-master
Jon Trulson [Thu, 5 Jul 2018 20:18:07 +0000 (14:18 -0600)]
Merge branch 'master' into update-with-master

Resync one last time with master for 2.3 release tomorrow.

6 years agottsnoop: resolve coverity 176047, 176046, 176044, 176043, 176042 and 176040
Jon Trulson [Thu, 5 Jul 2018 19:42:36 +0000 (13:42 -0600)]
ttsnoop: resolve coverity 176047, 176046, 176044, 176043, 176042 and 176040

6 years agodtcm: Coverity 174810
Peter Howkins [Wed, 4 Jul 2018 23:10:58 +0000 (00:10 +0100)]
dtcm: Coverity 174810

6 years agodtcm: Coverity 89645
Peter Howkins [Wed, 4 Jul 2018 23:08:55 +0000 (00:08 +0100)]
dtcm: Coverity 89645

6 years agodtcm: Coverity 89641
Peter Howkins [Wed, 4 Jul 2018 23:06:59 +0000 (00:06 +0100)]
dtcm: Coverity 89641

6 years agodtcm: Coverity 89593
Peter Howkins [Wed, 4 Jul 2018 23:05:21 +0000 (00:05 +0100)]
dtcm: Coverity 89593

6 years agodtcm: Coverity 89502
Peter Howkins [Wed, 4 Jul 2018 23:00:57 +0000 (00:00 +0100)]
dtcm: Coverity 89502

6 years agodtcm: Coverity 89439 and 89458
Peter Howkins [Wed, 4 Jul 2018 22:58:03 +0000 (23:58 +0100)]
dtcm: Coverity 89439 and 89458

6 years agodtcm: Coverity 89273
Peter Howkins [Wed, 4 Jul 2018 22:55:29 +0000 (23:55 +0100)]
dtcm: Coverity 89273

6 years agodtcm: Coverity 89113
Peter Howkins [Wed, 4 Jul 2018 22:54:02 +0000 (23:54 +0100)]
dtcm: Coverity 89113

6 years agodtcm: Coverity 89105
Peter Howkins [Wed, 4 Jul 2018 22:52:37 +0000 (23:52 +0100)]
dtcm: Coverity 89105

6 years agodtcm: Coverity 89021
Peter Howkins [Wed, 4 Jul 2018 22:50:31 +0000 (23:50 +0100)]
dtcm: Coverity 89021

6 years agodtcm: Coverity 88871
Peter Howkins [Wed, 4 Jul 2018 22:45:56 +0000 (23:45 +0100)]
dtcm: Coverity 88871

6 years agodtcm: Coverity 88858
Peter Howkins [Wed, 4 Jul 2018 22:43:42 +0000 (23:43 +0100)]
dtcm: Coverity 88858

6 years agodtcm: Coverity 88383
Peter Howkins [Wed, 4 Jul 2018 22:40:58 +0000 (23:40 +0100)]
dtcm: Coverity 88383

6 years agodtcm: Coverity 88214
Peter Howkins [Wed, 4 Jul 2018 22:36:46 +0000 (23:36 +0100)]
dtcm: Coverity 88214

6 years agodtcm: Coverity 89670, 88380 and 88201
Peter Howkins [Wed, 4 Jul 2018 22:31:51 +0000 (23:31 +0100)]
dtcm: Coverity 89670, 88380 and 88201

6 years agodtcm: Coverity 88331 and 88169
Peter Howkins [Wed, 4 Jul 2018 22:26:52 +0000 (23:26 +0100)]
dtcm: Coverity 88331 and 88169

6 years agodtcm: Coverity 88165
Peter Howkins [Wed, 4 Jul 2018 22:23:32 +0000 (23:23 +0100)]
dtcm: Coverity 88165

6 years agodtcm: Coverity 88137
Peter Howkins [Wed, 4 Jul 2018 22:19:16 +0000 (23:19 +0100)]
dtcm: Coverity 88137

6 years agodtcm: Coverity 88113
Peter Howkins [Wed, 4 Jul 2018 22:17:18 +0000 (23:17 +0100)]
dtcm: Coverity 88113

6 years agodtcm: Coverity 88303, 89531 and 89433
Peter Howkins [Wed, 4 Jul 2018 22:09:18 +0000 (23:09 +0100)]
dtcm: Coverity 88303, 89531 and 89433

6 years agodtcm: Coverity 89369
Peter Howkins [Wed, 4 Jul 2018 22:05:57 +0000 (23:05 +0100)]
dtcm: Coverity 89369

6 years agodtcm: Coverity 89287
Peter Howkins [Wed, 4 Jul 2018 22:02:09 +0000 (23:02 +0100)]
dtcm: Coverity 89287

6 years agodtcm: Coverity 89138
Peter Howkins [Wed, 4 Jul 2018 21:59:44 +0000 (22:59 +0100)]
dtcm: Coverity 89138

6 years agodtcm: Coverity 88904
Peter Howkins [Wed, 4 Jul 2018 21:41:46 +0000 (22:41 +0100)]
dtcm: Coverity 88904

6 years agodtcm: Coverity 89452 and 89661
Peter Howkins [Wed, 4 Jul 2018 21:36:39 +0000 (22:36 +0100)]
dtcm: Coverity 89452 and 89661

6 years agodtcm: Coverity 88768, 89297 and 89115
Peter Howkins [Wed, 4 Jul 2018 21:33:03 +0000 (22:33 +0100)]
dtcm: Coverity 88768, 89297 and 89115

6 years agodtcm: Coverity 88741, 88121 and 88692
Peter Howkins [Wed, 4 Jul 2018 21:27:43 +0000 (22:27 +0100)]
dtcm: Coverity  88741, 88121 and 88692

6 years agodtcm: Coverity 88687
Peter Howkins [Wed, 4 Jul 2018 21:16:48 +0000 (22:16 +0100)]
dtcm: Coverity 88687

6 years agodtcm: Coverity 88675
Peter Howkins [Wed, 4 Jul 2018 21:14:31 +0000 (22:14 +0100)]
dtcm: Coverity 88675

6 years agodtcm: Coverity 89212, 88188 and 88636
Peter Howkins [Wed, 4 Jul 2018 21:11:44 +0000 (22:11 +0100)]
dtcm: Coverity 89212, 88188 and 88636

6 years agodtcm: Coverity 88613
Peter Howkins [Wed, 4 Jul 2018 21:09:23 +0000 (22:09 +0100)]
dtcm: Coverity 88613

6 years agodtcm: Coverity 88514
Peter Howkins [Wed, 4 Jul 2018 21:07:44 +0000 (22:07 +0100)]
dtcm: Coverity 88514

6 years agodtcm: Coverity 174711
Peter Howkins [Wed, 4 Jul 2018 20:52:19 +0000 (21:52 +0100)]
dtcm: Coverity 174711

6 years agodtcm: Coverity 88107
Peter Howkins [Wed, 4 Jul 2018 19:23:57 +0000 (20:23 +0100)]
dtcm: Coverity 88107

6 years agodtcm: Coverity 89169
Peter Howkins [Wed, 4 Jul 2018 19:14:18 +0000 (20:14 +0100)]
dtcm: Coverity 89169

6 years agodtcm: Coverity 88468
Peter Howkins [Wed, 4 Jul 2018 18:43:09 +0000 (19:43 +0100)]
dtcm: Coverity 88468

6 years agodtcm: Coverity 88584
Peter Howkins [Wed, 4 Jul 2018 17:15:49 +0000 (18:15 +0100)]
dtcm: Coverity 88584

6 years agodtcm: Coverity 88888
Peter Howkins [Wed, 4 Jul 2018 03:01:43 +0000 (04:01 +0100)]
dtcm: Coverity 88888

6 years agodtcm: Coverity 88353
Peter Howkins [Wed, 4 Jul 2018 02:59:42 +0000 (03:59 +0100)]
dtcm: Coverity 88353

6 years agodtcm: Coverity 88910
Peter Howkins [Wed, 4 Jul 2018 02:57:06 +0000 (03:57 +0100)]
dtcm: Coverity 88910

6 years agodtcm: Coverity 89547
Peter Howkins [Wed, 4 Jul 2018 02:53:58 +0000 (03:53 +0100)]
dtcm: Coverity 89547

6 years agodtcm: Coverity 89621
Peter Howkins [Wed, 4 Jul 2018 02:51:15 +0000 (03:51 +0100)]
dtcm: Coverity 89621

6 years agodtdocbook: Coverity 86683
Peter Howkins [Wed, 4 Jul 2018 01:18:20 +0000 (02:18 +0100)]
dtdocbook: Coverity 86683

6 years agodoc/util/dbtoman: Coverity 88750
Peter Howkins [Wed, 4 Jul 2018 01:11:12 +0000 (02:11 +0100)]
doc/util/dbtoman: Coverity 88750

6 years agodoc/util/dbtoman: Coverity 89668
Peter Howkins [Wed, 4 Jul 2018 01:09:06 +0000 (02:09 +0100)]
doc/util/dbtoman: Coverity 89668

6 years agodoc/util/dbtoman: Coverity 88244
Peter Howkins [Wed, 4 Jul 2018 01:07:10 +0000 (02:07 +0100)]
doc/util/dbtoman: Coverity 88244

6 years agodtdocbook: Coverity 86996
Peter Howkins [Wed, 4 Jul 2018 01:01:15 +0000 (02:01 +0100)]
dtdocbook: Coverity 86996

6 years agodtdocbook: Coverity 86763
Peter Howkins [Wed, 4 Jul 2018 00:59:42 +0000 (01:59 +0100)]
dtdocbook: Coverity 86763

6 years agodtprintinfo: Coverity 88447
Peter Howkins [Wed, 4 Jul 2018 00:57:52 +0000 (01:57 +0100)]
dtprintinfo: Coverity 88447

6 years agodtprintinfo: Coverity 89669
Peter Howkins [Wed, 4 Jul 2018 00:55:44 +0000 (01:55 +0100)]
dtprintinfo: Coverity 89669

6 years agodtprintinfo: Coverity 88097
Peter Howkins [Wed, 4 Jul 2018 00:53:56 +0000 (01:53 +0100)]
dtprintinfo: Coverity 88097

6 years agodtprintinfo: Coverity 88683
Peter Howkins [Wed, 4 Jul 2018 00:51:43 +0000 (01:51 +0100)]
dtprintinfo: Coverity 88683

6 years agodtprintinfo: Coverity 88650
Peter Howkins [Wed, 4 Jul 2018 00:49:50 +0000 (01:49 +0100)]
dtprintinfo: Coverity 88650

6 years agodtprintinfo: Coverity 89488
Peter Howkins [Wed, 4 Jul 2018 00:47:31 +0000 (01:47 +0100)]
dtprintinfo: Coverity 89488

6 years agodtprintinfo: Coverity 89561
Peter Howkins [Wed, 4 Jul 2018 00:45:39 +0000 (01:45 +0100)]
dtprintinfo: Coverity 89561

6 years agodtprintinfo: Coverity 88414
Peter Howkins [Wed, 4 Jul 2018 00:43:29 +0000 (01:43 +0100)]
dtprintinfo: Coverity 88414

6 years agolibDtHelp: Coverity 88440
Peter Howkins [Wed, 4 Jul 2018 00:40:12 +0000 (01:40 +0100)]
libDtHelp: Coverity 88440

6 years agolibDtHelp: 88550
Peter Howkins [Wed, 4 Jul 2018 00:38:14 +0000 (01:38 +0100)]
libDtHelp: 88550

6 years agolibDtHelp: Coverity 88665
Peter Howkins [Wed, 4 Jul 2018 00:36:03 +0000 (01:36 +0100)]
libDtHelp: Coverity 88665

6 years agolibDtHelp: Coverity 88906
Peter Howkins [Wed, 4 Jul 2018 00:34:02 +0000 (01:34 +0100)]
libDtHelp: Coverity 88906

6 years agolibDtHelp: Coverity 88813
Peter Howkins [Wed, 4 Jul 2018 00:32:53 +0000 (01:32 +0100)]
libDtHelp: Coverity 88813

6 years agolibDtHelp: Coverity 89548
Peter Howkins [Wed, 4 Jul 2018 00:31:19 +0000 (01:31 +0100)]
libDtHelp: Coverity 89548

6 years agolibDtHelp: Coverity 88776
Peter Howkins [Wed, 4 Jul 2018 00:29:49 +0000 (01:29 +0100)]
libDtHelp: Coverity 88776

6 years agodtcm: Coverity 89265
Peter Howkins [Wed, 4 Jul 2018 00:26:39 +0000 (01:26 +0100)]
dtcm: Coverity 89265

6 years agodtcm: Coverity 88481
Peter Howkins [Wed, 4 Jul 2018 00:22:34 +0000 (01:22 +0100)]
dtcm: Coverity 88481

6 years agodtcm: Coverity 88902
Peter Howkins [Wed, 4 Jul 2018 00:20:03 +0000 (01:20 +0100)]
dtcm: Coverity 88902

6 years agodtcm: Coverity 89037
Peter Howkins [Wed, 4 Jul 2018 00:15:12 +0000 (01:15 +0100)]
dtcm: Coverity 89037

6 years agodtcm: Coverity 88587
Peter Howkins [Wed, 4 Jul 2018 00:13:43 +0000 (01:13 +0100)]
dtcm: Coverity 88587