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

1609 commits

Author SHA1 Message Date
Jon Trulson
2f6f1d2afb 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?)
2018-07-19 19:52:40 -06:00
Jon Trulson
2b41b84c33 Add actions and types from Antonis Tsolomitis' desktop_approots contribution 2018-07-19 18:58:17 -06:00
Jon Trulson
d4450d7551 databases/: remove ancient crufty scripts 2018-07-19 18:58:17 -06:00
Jon Trulson
cd38de99e4 Add icons from Antonis Tsolomitis desktop_approots contribution 2018-07-19 18:57:37 -06:00
Jon Trulson
5259022498 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.
2018-07-19 18:57:20 -06:00
Peter Howkins
e2f1df0c8b dtcm: Coverity 89185 2018-07-13 19:26:38 +01:00
Peter Howkins
10a0f55b4a dtcm: Coverity 89051 2018-07-13 19:25:15 +01:00
Peter Howkins
6d7525e174 dtcm: Coverity 88955 2018-07-13 19:24:11 +01:00
Peter Howkins
f4a5433f32 dtcm: Coverity 88884 2018-07-13 19:23:05 +01:00
Peter Howkins
3af957e308 dtcm: Coverity 88382 2018-07-13 19:19:58 +01:00
Peter Howkins
a0edcdcc42 dtcm: Coverity 88069 2018-07-13 19:16:00 +01:00
Peter Howkins
67fb14c52b dtcm: Coverity 87942 2018-07-13 19:14:45 +01:00
Peter Howkins
8950afd36a dtcm: Coverity 87565 2018-07-13 19:13:13 +01:00
Peter Howkins
c7a649afb9 dtcm: Coverity 88006 2018-07-13 19:11:29 +01:00
Peter Howkins
3a4527980d dtcm: Coverity 89313 2018-07-13 19:06:58 +01:00
Peter Howkins
f6886761da dtcm: Coverity 176055 2018-07-13 19:05:33 +01:00
Peter Howkins
9e038c8b2b dtcm: Coverity 89685 2018-07-13 19:04:37 +01:00
Peter Howkins
e718778ead dtcm: Coverity 89111 2018-07-13 19:02:57 +01:00
Peter Howkins
28170c2a62 dtcm: Coverity 88533 2018-07-13 19:01:47 +01:00
Peter Howkins
4908fbb49a dtcm: Coverity 88350 2018-07-13 19:00:54 +01:00
Peter Howkins
8f5048d54f dtcm: Coverity 88279 2018-07-13 18:59:43 +01:00
Peter Howkins
6826ecc3d3 dtcm: Coverity 88056 2018-07-13 18:55:47 +01:00
Peter Howkins
4be7b85e01 dtcm: Coverity 87745 and 88154 2018-07-13 18:54:01 +01:00
Peter Howkins
dfa296e34e dtcm: Coverity 87364 2018-07-13 18:52:08 +01:00
Peter Howkins
8e11140662 dtcm: Coverity 88250 2018-07-13 18:49:37 +01:00
Peter Howkins
cc79da451b dtcm: Coverity 88745 2018-07-13 18:48:31 +01:00
Peter Howkins
c2c9c01051 dtcm: Coverity 89232 2018-07-13 18:47:22 +01:00
Peter Howkins
ce9bc0603a dtcm: Coverity 89341 2018-07-13 18:44:12 +01:00
Peter Howkins
c4940d8f78 dtcm: Coverity 89517 2018-07-13 18:42:56 +01:00
Peter Howkins
cad7519b46 dtcm: Coverity 88200 2018-07-13 18:41:13 +01:00
Peter Howkins
261adc44d0 dtcm: Coverity 88494 2018-07-13 18:39:35 +01:00
Peter Howkins
2e0716d5cf dtcm: Coverity 88079 2018-07-13 18:38:06 +01:00
Peter Howkins
1563031cd8 dtcm: Coverity 89160 2018-07-13 18:36:50 +01:00
Peter Howkins
a047b0be0e dtcm: Coverity 89595 2018-07-13 18:35:25 +01:00
Peter Howkins
abf0b710b7 dtcm: Coverity 88253 2018-07-13 18:34:09 +01:00
Peter Howkins
67e1ccffc6 dtcm: Coverity 89371 2018-07-13 18:32:55 +01:00
Peter Howkins
1dfff588d6 dtcm: Coverity 89398 2018-07-13 18:31:25 +01:00
Peter Howkins
8edba6be7b dtcm: Coverity 88778 2018-07-13 18:29:52 +01:00
Peter Howkins
49f7c0afa0 dtcm: Coverity 89234 2018-07-13 18:28:35 +01:00
Peter Howkins
24c4935c08 dtcm: Coverity 89207 2018-07-13 18:27:08 +01:00
Peter Howkins
a0bcb1ebf7 dtcm: Coverity 88326 2018-07-13 18:26:02 +01:00
Peter Howkins
11908ababe dtcm: Coverity 88206 2018-07-13 18:24:58 +01:00
Peter Howkins
de3993130a dtcm: Also make sure to reset non pointer fields, so that on future failures they don't return stale data (due to static) 2018-07-13 18:22:53 +01:00
Peter Howkins
bd82f93d1c dtcm: When deleting data, set the pointer to NULL to avoid returning a pointer to freed data on future errors 2018-07-13 18:18:50 +01:00
Peter Howkins
e3b77b6cb2 dtcm: Coverity 89544 2018-07-13 18:14:35 +01:00
Peter Howkins
80d5547e00 dtcm: Coverity 89542 2018-07-13 18:13:01 +01:00
Peter Howkins
364fa12f7b dtcm: Coverity 89535 2018-07-13 18:11:09 +01:00
Peter Howkins
c7e9625629 dtcm: Coverity 89499 2018-07-13 18:09:23 +01:00
Peter Howkins
622c2e541f dtcm: Coverity 89413 2018-07-13 18:08:12 +01:00
Peter Howkins
803d0f94e5 dtcm: Coverity 89081 2018-07-13 18:06:36 +01:00