From 8b66d1e8849d1d9dc061e6f608bb01c008319596 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 21 Mar 2021 15:01:34 -0700 Subject: [PATCH] remove remaining references to the DIA format Core support for this was removed in 2009. A partial plugin for this was written but never matured. This was removed in 5243eaac9cbe134fc7935a8c029860632e19d523. This change removes the final dangling references to DIA. Fixes #689. --- CHANGELOG.md | 1 + cmd/dot/osage.1 | 1 - cmd/dot/patchwork.1 | 1 - doc/schema/arguments.xml | 1 - lib/common/const.h | 1 - lib/common/emit.c | 5 ----- tclpkg/tcldot/demo/doted.tcl | 3 --- 7 files changed, 1 insertion(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb600eeff..363398d3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - xdot man page does not document some functions #1957 - Superfluous empty `@param` in documentation #1977 - PIC renderer does not work and probably never has #131 +- dot conversion to dia format #689 ## [2.47.0] - 2021-03-15 diff --git a/cmd/dot/osage.1 b/cmd/dot/osage.1 index 8467dd5e5..a30ab5984 100644 --- a/cmd/dot/osage.1 +++ b/cmd/dot/osage.1 @@ -49,7 +49,6 @@ Traditionally, osage supports the following: \fB\-Tmif\fP (FrameMaker graphics), \fB\-Thpgl\fP (HP pen plotters), and \fB\-Tpcl\fP (Laserjet printers), \fB\-Tpng\fP \fB\-Tgif\fP (bitmap graphics), -\fB\-Tdia\fP (GTK+ based diagrams), \fB\-Timap\fP (imagemap files for httpd servers for each node or edge that has a non\(hynull "href" attribute.), \fB\-Tcmapx\fP (client\(hyside imagemap for use in html and xhtml). diff --git a/cmd/dot/patchwork.1 b/cmd/dot/patchwork.1 index 624497dbd..17b0f51ac 100644 --- a/cmd/dot/patchwork.1 +++ b/cmd/dot/patchwork.1 @@ -43,7 +43,6 @@ Traditionally, patchwork supports the following: \fB\-Tmif\fP (FrameMaker graphics), \fB\-Thpgl\fP (HP pen plotters), and \fB\-Tpcl\fP (Laserjet printers), \fB\-Tpng\fP \fB\-Tgif\fP (bitmap graphics), -\fB\-Tdia\fP (GTK+ based diagrams), \fB\-Timap\fP (imagemap files for httpd servers for each node or edge that has a non\(hynull "href" attribute.), \fB\-Tcmapx\fP (client\(hyside imagemap for use in html and xhtml). diff --git a/doc/schema/arguments.xml b/doc/schema/arguments.xml index 9cea8000a..3487284b5 100644 --- a/doc/schema/arguments.xml +++ b/doc/schema/arguments.xml @@ -20,7 +20,6 @@ - diff --git a/lib/common/const.h b/lib/common/const.h index e62c69890..dc8117e08 100644 --- a/lib/common/const.h +++ b/lib/common/const.h @@ -136,7 +136,6 @@ #define VTX 21 /* visual thought */ #define METAPOST 22 -#define DIA 24 /* dia drawing tool */ #define QPDF 30 /* Quartz paged PDF */ #define QEPDF 31 /* Quartz embedded PDF */ diff --git a/lib/common/emit.c b/lib/common/emit.c index 6fc144d10..ae23ba533 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -4128,11 +4128,6 @@ int gvRenderJobs (GVC_t * gvc, graph_t * g) /* output sorted, i.e. all nodes then all edges */ job->flags |= EMIT_SORTED; break; - case DIA: - /* output in preorder traversal of the graph */ - job->flags |= EMIT_PREORDER - | GVDEVICE_BINARY_FORMAT; - break; default: job->flags |= chkOrder(g); break; diff --git a/tclpkg/tcldot/demo/doted.tcl b/tclpkg/tcldot/demo/doted.tcl index c8ae84abb..f7e752ce8 100755 --- a/tclpkg/tcldot/demo/doted.tcl +++ b/tclpkg/tcldot/demo/doted.tcl @@ -213,7 +213,6 @@ proc saveFileAs {type} { global fileName set cmap {{{CMAP Image Map Files} {.cmap}} {{All Files} *}} - set dia {{{DIA Image Files} {.dia}} {{All Files} *}} set dot {{{DOT Graph Files} {.dot}} {{All Files} *}} set fig {{{FIG Image Files} {.fig}} {{All Files} *}} set gif {{{GIF Image Files} {.gif}} {{All Files} *}} @@ -658,8 +657,6 @@ menu .m.file.m menu .m.file.m.export .m.file.m.export add command -label "CMAP ..." -underline 0 \ -command "saveFileAs cmap" -.m.file.m.export add command -label "DIA ..." -underline 0 \ - -command "saveFileAs dia" .m.file.m.export add command -label "FIG ..." -underline 0 \ -command "saveFileAs fig" .m.file.m.export add command -label "GIF ..." -underline 0 \ -- 2.40.0