oweals/cde.git
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

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

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

6 years agodtcm: Coverity 88279
Peter Howkins [Fri, 13 Jul 2018 17:59:43 +0000 (18:59 +0100)]
dtcm: Coverity 88279

6 years agodtcm: Coverity 88056
Peter Howkins [Fri, 13 Jul 2018 17:55:47 +0000 (18:55 +0100)]
dtcm: Coverity 88056

6 years agodtcm: Coverity 87745 and 88154
Peter Howkins [Fri, 13 Jul 2018 17:54:01 +0000 (18:54 +0100)]
dtcm: Coverity 87745 and 88154

6 years agodtcm: Coverity 87364
Peter Howkins [Fri, 13 Jul 2018 17:52:08 +0000 (18:52 +0100)]
dtcm: Coverity 87364

6 years agodtcm: Coverity 88250
Peter Howkins [Fri, 13 Jul 2018 17:49:37 +0000 (18:49 +0100)]
dtcm: Coverity 88250

6 years agodtcm: Coverity 88745
Peter Howkins [Fri, 13 Jul 2018 17:48:31 +0000 (18:48 +0100)]
dtcm: Coverity 88745

6 years agodtcm: Coverity 89232
Peter Howkins [Fri, 13 Jul 2018 17:47:22 +0000 (18:47 +0100)]
dtcm: Coverity 89232

6 years agodtcm: Coverity 89341
Peter Howkins [Fri, 13 Jul 2018 17:44:12 +0000 (18:44 +0100)]
dtcm: Coverity 89341

6 years agodtcm: Coverity 89517
Peter Howkins [Fri, 13 Jul 2018 17:42:56 +0000 (18:42 +0100)]
dtcm: Coverity 89517

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

6 years agodtcm: Coverity 88494
Peter Howkins [Fri, 13 Jul 2018 17:39:35 +0000 (18:39 +0100)]
dtcm: Coverity 88494

6 years agodtcm: Coverity 88079
Peter Howkins [Fri, 13 Jul 2018 17:38:06 +0000 (18:38 +0100)]
dtcm: Coverity 88079

6 years agodtcm: Coverity 89160
Peter Howkins [Fri, 13 Jul 2018 17:36:50 +0000 (18:36 +0100)]
dtcm: Coverity 89160

6 years agodtcm: Coverity 89595
Peter Howkins [Fri, 13 Jul 2018 17:35:25 +0000 (18:35 +0100)]
dtcm: Coverity 89595

6 years agodtcm: Coverity 88253
Peter Howkins [Fri, 13 Jul 2018 17:34:09 +0000 (18:34 +0100)]
dtcm: Coverity 88253

6 years agodtcm: Coverity 89371
Peter Howkins [Fri, 13 Jul 2018 17:32:55 +0000 (18:32 +0100)]
dtcm: Coverity 89371

6 years agodtcm: Coverity 89398
Peter Howkins [Fri, 13 Jul 2018 17:31:25 +0000 (18:31 +0100)]
dtcm: Coverity 89398

6 years agodtcm: Coverity 88778
Peter Howkins [Fri, 13 Jul 2018 17:29:52 +0000 (18:29 +0100)]
dtcm: Coverity 88778

6 years agodtcm: Coverity 89234
Peter Howkins [Fri, 13 Jul 2018 17:28:35 +0000 (18:28 +0100)]
dtcm: Coverity 89234

6 years agodtcm: Coverity 89207
Peter Howkins [Fri, 13 Jul 2018 17:27:08 +0000 (18:27 +0100)]
dtcm: Coverity 89207

6 years agodtcm: Coverity 88326
Peter Howkins [Fri, 13 Jul 2018 17:26:02 +0000 (18:26 +0100)]
dtcm: Coverity 88326

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

6 years agodtcm: Also make sure to reset non pointer fields, so that on future failures they...
Peter Howkins [Fri, 13 Jul 2018 17:22:53 +0000 (18:22 +0100)]
dtcm: Also make sure to reset non pointer fields, so that on future failures they don't return stale data (due to static)

6 years agodtcm: When deleting data, set the pointer to NULL to avoid returning a pointer to...
Peter Howkins [Fri, 13 Jul 2018 17:18:50 +0000 (18:18 +0100)]
dtcm: When deleting data, set the pointer to NULL to avoid returning a pointer to freed data on future errors

6 years agodtcm: Coverity 89544
Peter Howkins [Fri, 13 Jul 2018 17:14:35 +0000 (18:14 +0100)]
dtcm: Coverity 89544

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

6 years agodtcm: Coverity 89535
Peter Howkins [Fri, 13 Jul 2018 17:11:09 +0000 (18:11 +0100)]
dtcm: Coverity 89535

6 years agodtcm: Coverity 89499
Peter Howkins [Fri, 13 Jul 2018 17:09:23 +0000 (18:09 +0100)]
dtcm: Coverity 89499

6 years agodtcm: Coverity 89413
Peter Howkins [Fri, 13 Jul 2018 17:08:12 +0000 (18:08 +0100)]
dtcm: Coverity 89413

6 years agodtcm: Coverity 89081
Peter Howkins [Fri, 13 Jul 2018 17:06:36 +0000 (18:06 +0100)]
dtcm: Coverity 89081

6 years agodtcm: Coverity 88669
Peter Howkins [Fri, 13 Jul 2018 17:04:33 +0000 (18:04 +0100)]
dtcm: Coverity 88669

6 years agodtcm: Coverity 88647
Peter Howkins [Fri, 13 Jul 2018 17:03:00 +0000 (18:03 +0100)]
dtcm: Coverity 88647

6 years agodtcm: Coverity 88631
Peter Howkins [Fri, 13 Jul 2018 17:01:23 +0000 (18:01 +0100)]
dtcm: Coverity 88631

6 years agodtcm: When freeing pointer, set the pointer to NULL, so that on future failures you...
Peter Howkins [Fri, 13 Jul 2018 16:59:21 +0000 (17:59 +0100)]
dtcm: When freeing pointer, set the pointer to NULL, so that on future failures you don't return a pointer to freed data

6 years agodtcm: Coverity 88575
Peter Howkins [Fri, 13 Jul 2018 16:57:53 +0000 (17:57 +0100)]
dtcm: Coverity 88575

6 years agodtcm: Coverity 88505
Peter Howkins [Fri, 13 Jul 2018 16:55:59 +0000 (17:55 +0100)]
dtcm: Coverity 88505

6 years agodtcm: Coverity 88336
Peter Howkins [Fri, 13 Jul 2018 16:54:20 +0000 (17:54 +0100)]
dtcm: Coverity 88336

6 years agodtcm: Coverity 88272
Peter Howkins [Fri, 13 Jul 2018 16:52:14 +0000 (17:52 +0100)]
dtcm: Coverity 88272

6 years agodtcm: Coverity 88235
Peter Howkins [Fri, 13 Jul 2018 16:50:21 +0000 (17:50 +0100)]
dtcm: Coverity 88235

6 years agodtcm: Coverity 88225
Peter Howkins [Fri, 13 Jul 2018 16:49:06 +0000 (17:49 +0100)]
dtcm: Coverity 88225

6 years agodtcm: Coverity 88168
Peter Howkins [Fri, 13 Jul 2018 16:47:01 +0000 (17:47 +0100)]
dtcm: Coverity 88168

6 years agodtcm: Coverity 174819
Peter Howkins [Fri, 13 Jul 2018 16:39:03 +0000 (17:39 +0100)]
dtcm: Coverity 174819

6 years agodtcm: Coverity 174713
Peter Howkins [Fri, 13 Jul 2018 16:37:55 +0000 (17:37 +0100)]
dtcm: Coverity 174713

6 years agodtcm: Coverity 87931
Peter Howkins [Fri, 13 Jul 2018 16:34:42 +0000 (17:34 +0100)]
dtcm: Coverity 87931

6 years agodtcm: Coverity 89686
Peter Howkins [Fri, 13 Jul 2018 16:29:29 +0000 (17:29 +0100)]
dtcm: Coverity 89686

6 years agodtcm: Coverity 89667
Peter Howkins [Fri, 13 Jul 2018 16:27:41 +0000 (17:27 +0100)]
dtcm: Coverity 89667

6 years agodtcm: Coverity 89275
Peter Howkins [Fri, 13 Jul 2018 16:24:16 +0000 (17:24 +0100)]
dtcm: Coverity 89275

6 years agodtcm: Coverity 89182
Peter Howkins [Fri, 13 Jul 2018 16:22:49 +0000 (17:22 +0100)]
dtcm: Coverity 89182

6 years agodtcm: Coverity 89043
Peter Howkins [Fri, 13 Jul 2018 16:22:04 +0000 (17:22 +0100)]
dtcm: Coverity 89043

6 years agodtcm: Coverity 88899
Peter Howkins [Fri, 13 Jul 2018 16:21:04 +0000 (17:21 +0100)]
dtcm: Coverity 88899

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

6 years agodtcm: Coverity 88762
Peter Howkins [Fri, 13 Jul 2018 16:16:20 +0000 (17:16 +0100)]
dtcm: Coverity 88762

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

6 years agodtcm: Coverity 88917
Peter Howkins [Fri, 13 Jul 2018 16:12:23 +0000 (17:12 +0100)]
dtcm: Coverity 88917

6 years agodtcm: Coverity 88860
Peter Howkins [Fri, 13 Jul 2018 16:11:31 +0000 (17:11 +0100)]
dtcm: Coverity 88860

6 years agodtcm: Coverity 88648
Peter Howkins [Fri, 13 Jul 2018 16:10:26 +0000 (17:10 +0100)]
dtcm: Coverity 88648

6 years agodtcm: Coverity 88334
Peter Howkins [Fri, 13 Jul 2018 16:09:34 +0000 (17:09 +0100)]
dtcm: Coverity 88334

6 years agodtcm: Coverity 88243
Peter Howkins [Fri, 13 Jul 2018 16:08:48 +0000 (17:08 +0100)]
dtcm: Coverity 88243

6 years agodtcm: Coverity 88236
Peter Howkins [Fri, 13 Jul 2018 16:07:56 +0000 (17:07 +0100)]
dtcm: Coverity 88236

6 years agodtcm: Fix typo
Peter Howkins [Fri, 13 Jul 2018 16:07:15 +0000 (17:07 +0100)]
dtcm: Fix typo

6 years agodtcm: Coverity 88080
Peter Howkins [Fri, 13 Jul 2018 16:05:42 +0000 (17:05 +0100)]
dtcm: Coverity 88080

6 years agodtcm: Increase buffer size to prevent warning
Peter Howkins [Fri, 13 Jul 2018 16:03:19 +0000 (17:03 +0100)]
dtcm: Increase buffer size to prevent warning