sccmap
tred
unflatten
+gml2gv
+gmlparse.[ch]
+gmlscan.c
+y.output
+y.tab.[ch]
*.pdf
CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake
/*******************************************************************/
/* The following usually aren't changed. */
/*******************************************************************/
-/* Define if you want the old codegens */
-#define WITH_CODEGENS 1
-
/* Define if you don't want on-demand plugin loading */
#define DISABLE_LTDL 1
/*******************************************************************/
/* The following usually aren't changed. */
/*******************************************************************/
-/* Define if you want the old codegens */
-#define WITH_CODEGENS 1
-
/* Define if you don't want on-demand plugin loading */
#define DISABLE_LTDL 1
#AC_CHECK_LIB([xml2], [main])
#AC_CHECK_LIB([z], [main])
-dnl -----------------------------------
-dnl old codegens
-
-AC_ARG_WITH(codegens,
- [AS_HELP_STRING([--with-codegens=no],[use old codegens])],
- [],[with_codegens=no])
-
-if test "x$with_codegens" = "xyes"; then
- use_codegens="Yes"
- AC_DEFINE(WITH_CODEGENS,1,[Define if you want the old codegens])
-else
- use_codegens="No (disabled by default - deprecated)"
-fi
-AM_CONDITIONAL(WITH_CODEGENS, [test "x$use_codegens" = "xYes"])
-
dnl -----------------------------------
dnl ElectricFence support for debugging
echo ""
echo "options:"
echo " cgraph: $use_cgraph"
-echo " codegens: $use_codegens"
echo " digcola: $use_digcola"
echo " expat: $use_expat"
echo " fontconfig: $use_fontconfig"
<LI> Change directory to $ROOT and run configure:<BR>
<CODE>
<PRE>
-./configure -C --prefix=$INSTALLROOT --without-gdk-pixbuf --with-mylibgd --disable-swig --without-x --disable-tcl --without-ipsepcola --with-codegens --enable-shared --disable-static --with-freetype=$GTKDIR/lib --enable-ltdl $PANGOFLAGS --without-gtk --without-gtkgl
+./configure -C --prefix=$INSTALLROOT --without-gdk-pixbuf --with-mylibgd --disable-swig --without-x --disable-tcl --without-ipsepcola --enable-shared --disable-static --with-freetype=$GTKDIR/lib --enable-ltdl $PANGOFLAGS --without-gtk --without-gtkgl
</PRE>
</CODE>
CLEANFILES = core *.gv.* *.png .xvpics/*
-# CODEGEN_FORMATS = -Tdia -Thpgl -Tmif -Tmp -Tpic -Tpcl -Tvtx
-CODEGEN_FORMATS =
-
test:
$(top_builddir)/cmd/dot/dot \
-Tcanon -Tgv -Tplain -Tplain-ext -Txdot \
-Tpng:cairo -Tpng:gd -Tpng:cairo:gd -Tpng:cairo:cairo -Tpng:gd:gd \
-Tps -Tps2 -Tps:lasi -Tps:cairo -Tpdf \
-Tsvg -Tsvg:cairo -Tsvgz -Tvrml \
- $(CODEGEN_FORMATS) -O $(GRAPHS)
+ -O $(GRAPHS)
ins_test:
dot \
-Tcanon -Tgv -Tplain -Tplain-ext -Txdot \
-Tpng:cairo -Tpng:gd -Tpng:cairo:gd -Tpng:cairo:cairo -Tpng:gd:gd \
-Tps -Tps2 -Tps:lasi -Tps:cairo -Tpdf \
-Tsvg -Tsvg:cairo -Tsvgz -Tvrml \
- $(CODEGEN_FORMATS) -O $(GRAPHS)
+ -O $(GRAPHS)
# for i in $(GRAPHS); do \
# echo "dot $$i"; \
CLEANFILES = core *.gv.* *.png .xvpics/*
-# CODEGEN_FORMATS = -Tdia -Thpgl -Tmif -Tmp -Tpic -Tpcl -Tvtx
-CODEGEN_FORMATS =
-
test:
$(top_builddir)/cmd/dot/dot -Kneato \
-Tcanon -Tgv -Tplain -Tplain-ext -Txdot \
-Tjpg -Tpdf -Tfig -Tgif -Tpng \
-Tps -Tps2 -Tps:lasi -Tps:cairo -Tpdf \
-Tsvg -Tsvg:cairo -Tsvgz -Tvrml \
- $(CODEGEN_FORMATS) -O $(GRAPHS)
+ -O $(GRAPHS)
# for i in $(GRAPHS); do \
# echo "neato $$i"; \
geomprocs.h colorprocs.h const.h macros.h pointset.h
NOINST_GENERATED_HDRS = colortbl.h htmltable.h htmlparse.h htmllex.h
-GD_CODEGENS =
-CODEGENS = $(GD_CODEGENS) diagen.o hpglgen.o mifgen.o mpgen.o picgen.o vtxgen.o
-
OBJS = arrows.o colxlate.o fontmetrics.o \
args.o memory.o globals.o htmllex.o htmlparse.o htmltable.o input.o \
pointset.o postproc.o routespl.o splines.o psusershape.o \
timing.o labels.o ns.o shapes.o utils.o geom.o \
- output.o emit.o $(CODEGENS)
+ output.o emit.o
libcommon.a : $(OBJS)
$(RM) libcommon.a
/* Implementation of HTML-like tables.
*
- * The CodeGen graphics model, especially with integral coodinates, is
+ * The (now purged) CodeGen graphics model, especially with integral coodinates, is
* not adequate to handle this as we would like. In particular, it is
* difficult to handle notions of adjacency and correct rounding to pixels.
* For example, if 2 adjacent boxes bb1.UR.x == bb2.LL.x, the rectangles
tl.layout = ti->layout;
tl.width = ti->size;
tl.height = paras[i].lfsize;
-
tl.just = 'l';
+
p_.x = p.x;
-#if 0
-/* or */
- tl.just = 'c';
- p_.x = p.x + (ti->size/2.0);
-#endif
gvrender_textpara(job, p_, &tl);
p.x += ti->size;
ti++;
* This translation is done when libexpat scans the input.
*/
- /* atomic unit of text emitted using a single htmlfont_t */
+ /* atomic unit of text emitted using a single htmlfont_t */
typedef struct {
char *str;
PostscriptAlias *postscript_alias;
double size, yoffset_layout, yoffset_centerline;
} textitem_t;
- /* line of textitems_t */
+ /* line of textitems_t */
typedef struct {
textitem_t *items;
short nitems;
gvc->common.info[1], gvc->common.info[2]);
}
- /* configure for available plugins and codegens */
- /* needs to know if "dot -c" is set (gvc->common.config) */
- /* must happen before trying to select any plugins */
+ /* configure for available plugins */
+ /* needs to know if "dot -c" is set (gvc->common.config) */
+ /* must happen before trying to select any plugins */
gvconfig(gvc, gvc->common.config);
if (gvc->common.config)
exit (0);
${common_SRCDIR}/emit.c
)
-SET(common_codegen_SRCS
- ${common_SRCDIR}/diagen.c
- ${common_SRCDIR}/figgen.c
- ${common_SRCDIR}/hpglgen.c
- ${common_SRCDIR}/mifgen.c
- ${common_SRCDIR}/mpgen.c
- ${common_SRCDIR}/picgen.c
- ${common_SRCDIR}/vtxgen.c
- ${common_SRCDIR}/xdgen.c
-)
-
set(common_generated_SRCS
${common_SRCDIR}/colortbl.h
${common_SRCDIR}/htmlparse.h
set(common_SRCS
${common_base_SRCS}
- ${common_codegen_SRCS}
${common_generated_SRCS}
)
boolean usershape;
} shape_desc;
-#include "usershape.h" /* usershapes needed by gvc even w/o CODEGENS */
+#include "usershape.h" /* usershapes needed by gvc */
typedef struct nodequeue {
node_t **store, **limit, **head, **tail;
void common_init_node_opt(node_t * n, int shape_init_flag)
{
char *str;
- ND_width(n) =
+ ND_width(n) =
late_double(n, N_width, DEFAULT_NODEWIDTH, MIN_NODEWIDTH);
ND_height(n) =
late_double(n, N_height, DEFAULT_NODEHEIGHT, MIN_NODEHEIGHT);
#endif
/* default to no builtins, demand loading enabled */
gvc = gvNEWcontext(NULL, TRUE);
- gvconfig(gvc, FALSE); /* configure for available plugins and codegens */
+ gvconfig(gvc, FALSE); /* configure for available plugins */
return gvc;
}
agattr(NULL, AGNODE, "label", NODENAME_ESC);
#endif
gvc = gvNEWcontext(builtins, demand_loading);
- gvconfig(gvc, FALSE); /* configure for available plugins and codegens */
+ gvconfig(gvc, FALSE); /* configure for available plugins */
return gvc;
}
};
struct gvplugin_available_s {
- gvplugin_available_t *next; /* next plugin in linked list, or NULL */
- const char *typestr; /* type string, e.g. "png" or "ps" */
- int quality; /* programmer assigned quality
- ranking within type (+ve or -ve int)
- - codegens have quality = 0 */
- gvplugin_package_t *package; /* details of library containing plugin */
+ gvplugin_available_t *next; /* next plugin in linked list, or NULL */
+ const char *typestr; /* type string, e.g. "png" or "ps" */
+ int quality; /* Programmer assigned quality ranking within type (+ve or -ve int).
+ First implementation of type should be given "0" quality */
+ gvplugin_package_t *package; /* details of library containing plugin */
gvplugin_installed_t *typeptr; /* pointer to jumptable for plugin,
or NULL if not yet loaded */
};
/*
* Terminology:
*
- * package - e.g. libgvplugin_cairo.so, or table of codegen builtins.
+ * package - e.g. libgvplugin_cairo.so
* api - e.g. render
* type - e.g. "png", "ps"
*/
typedef struct {
int id; /* an id that is only unique within a package
of plugins of the same api.
- A codegen id is unique in in the set of codegens.
A renderer-type such as "png" in the cairo package
has an id that is different from the "ps" type
in the same package */
*.lo
.deps
.libs
+gdefs.h
+mkdefs
Makefile
Makefile.in
*.pdf
GDTCLFT = $(top_srcdir)/tclpkg/gdtclft/gdtclft.c
endif
-libtcldot_la_SOURCES = tcldot.c no_builtins.c $(CODEGENS) $(GDTCLFT)
+libtcldot_la_SOURCES = tcldot.c no_builtins.c $(GDTCLFT)
libtcldot_la_CPPFLAGS = $(AM_CPPFLAGS) -DDEMAND_LOADING=1
libtcldot_la_LDFLAGS = -no-undefined
libtcldot_la_LIBADD += $(LIBGEN_LIBS) $(ICONV_LIBS) $(MATH_LIBS)
-libtcldot_builtin_la_SOURCES = tcldot.c tcldot_builtins.c $(CODEGENS) $(GDTCLFT)
+libtcldot_builtin_la_SOURCES = tcldot.c tcldot_builtins.c $(GDTCLFT)
libtcldot_builtin_la_CPPFLAGS = $(AM_CPPFLAGS) -DDEMAND_LOADING=1
libtcldot_builtin_la_LDFLAGS =
/* create a GraphViz Context and pass a pointer to it in clientdata */
gvc = gvNEWcontext(lt_preloaded_symbols, DEMAND_LOADING);
- /* configure for available plugins and codegens */
+ /* configure for available plugins */
gvconfig(gvc, FALSE);
#ifndef TCLOBJ
esac
done
-echo ./configure -C --prefix=$INSTALLROOT $GDKPIXBUF --with-mylibgd --disable-swig --without-x --without-tclsh --without-ipsepcola --with-codegens $SHAREFLAGS --with-freetype=$GTKDIR/lib $LTDLFLAGS $PANGOFLAGS
-./configure -C --prefix=$INSTALLROOT $GDKPIXBUF --with-mylibgd --disable-swig --without-x --without-tclsh --without-ipsepcola --with-codegens $SHAREFLAGS --with-freetype=$GTKDIR/lib $LTDLFLAGS $PANGOFLAGS
+echo ./configure -C --prefix=$INSTALLROOT $GDKPIXBUF --with-mylibgd --disable-swig --without-x --without-tclsh --without-ipsepcola $SHAREFLAGS --with-freetype=$GTKDIR/lib $LTDLFLAGS $PANGOFLAGS
+./configure -C --prefix=$INSTALLROOT $GDKPIXBUF --with-mylibgd --disable-swig --without-x --without-tclsh --without-ipsepcola $SHAREFLAGS --with-freetype=$GTKDIR/lib $LTDLFLAGS $PANGOFLAGS