]>
granicus.if.org Git - graphviz/log
Matthew Fernandez [Sat, 13 Jun 2020 21:21:30 +0000 (14:21 -0700)]
fix empty content in man page PDFs
Commit
67a4546f95ae463db7cc3e6270d7fb32a848de7c inadvertently removed spaces in
this makefile causing the Groff commands to silently fail. Fixes #1734.
Matthew Fernandez [Sat, 13 Jun 2020 02:30:19 +0000 (02:30 +0000)]
Revert "Merge branch '
13EFFB86 -601F-4F93-9FCF-
BB3F6E981794 ' into 'master'"
This reverts merge request !1402
Matthew Fernandez [Sat, 13 Jun 2020 02:00:24 +0000 (02:00 +0000)]
Merge branch '
13EFFB86 -601F-4F93-9FCF-
BB3F6E981794 ' into 'master'
remove some compiler warnings
See merge request graphviz/graphviz!1402
Matthew Fernandez [Fri, 12 Jun 2020 14:57:43 +0000 (14:57 +0000)]
Merge branch '
A48431E1 -2EF5-44DB-8F6B-
7B09F2F7C0E6 ' into 'master'
remove some unused parts of libsfio
See merge request graphviz/graphviz!1403
Matthew Fernandez [Fri, 12 Jun 2020 14:11:44 +0000 (14:11 +0000)]
Merge branch '
77ae047b -a5d9-481f-8bb4-
605d46ec53a0 ' into 'master'
remove dmalloc support
See merge request graphviz/graphviz!1404
Matthew Fernandez [Thu, 11 Jun 2020 14:12:17 +0000 (14:12 +0000)]
Merge branch '
86d8b326 -d35e-41ea-a9a8-
ba0042f7ef1c ' into 'master'
fix: anticipate duplicate nodes in UF_union()
Closes #1682
See merge request graphviz/graphviz!1421
Matthew Fernandez [Mon, 8 Jun 2020 14:27:33 +0000 (07:27 -0700)]
Merge branch 'master' of ssh://gitlab.com/graphviz/graphviz into
c0489a9d -1e5a-4e6c-a8b0-
5a677e1be494
Mark Hansen [Mon, 8 Jun 2020 01:39:26 +0000 (01:39 +0000)]
Merge branch 'ndotguide' into 'master'
Remove ndotguide.tex
Closes #206
See merge request graphviz/graphviz!1422
Mark Hansen [Mon, 8 Jun 2020 01:19:15 +0000 (01:19 +0000)]
Merge branch 'delete-commented' into 'master'
Delete commented out code, fixes an HTML warning
See merge request graphviz/graphviz!1418
Mark Hansen [Mon, 8 Jun 2020 01:04:58 +0000 (11:04 +1000)]
Remove ndotguide.tex
All the Makefiles refer to dotguide.tex, and this is unused.
Looks like this was created in 2010 as an experiment but never used.
Closes #206
Mark Hansen [Sun, 7 Jun 2020 10:13:30 +0000 (20:13 +1000)]
Delete commented out code, fixes an HTML warning
Upstreaming of
https://gitlab.com/graphviz/graphviz.gitlab.io/-/merge_requests/133
Matthew Fernandez [Sun, 7 Jun 2020 21:47:33 +0000 (14:47 -0700)]
fix: anticipate duplicate nodes in UF_union()
It is possible to construct (invalid) input to Graphviz that leads to two copies
of the same node being encountered during UF_union(). Previously this would
cause an integer overflow. This was detectable with Undefined Behavior Sanitizer
using the following input:
digraph G { {rank=same a b n A;C;E;G;I;K;M;O;Q;S;U;W;Y;
B;D;F;H;J;L;N;P;R;T;V;X;Z; }
a{rank=same a b A;C;E;G;I;K;M;O;Q;S;U;W;Y B;D;F;H;J;L;N;P;R;T;V;X;Z;
}Courier6;
} ?
We now anticipate this scenario and handle it gracefully, copying the pattern
from UF_union() in lib/spine/union_find.c. Fixes #1682. This issue was
originally found by the Google Autofuzz project.
Magnus Jacobsson [Sun, 7 Jun 2020 19:36:17 +0000 (19:36 +0000)]
Merge branch 'fix-test-reports-missing-in-ci' into 'master'
Correct path to test report (now really)
See merge request graphviz/graphviz!1420
Magnus Jacobsson [Sun, 7 Jun 2020 19:10:41 +0000 (21:10 +0200)]
Correct path to test report (now really)
Magnus Jacobsson [Sun, 7 Jun 2020 18:39:10 +0000 (18:39 +0000)]
Merge branch 'fix-test-reports-missing-in-ci' into 'master'
Correct path to test report
Closes #1733
See merge request graphviz/graphviz!1419
Magnus Jacobsson [Sun, 7 Jun 2020 18:16:52 +0000 (20:16 +0200)]
Correct path to test report
Fixes https://gitlab.com/graphviz/graphviz/-/issues/1733
Broke in https://gitlab.com/graphviz/graphviz/-/commit/
8b51a82287fe23a282e2933ffe321c200ddf797e
Mark Hansen [Sun, 7 Jun 2020 10:15:43 +0000 (10:15 +0000)]
Merge branch 'font-ol' into 'master'
Fix error, not legal to have <ol> inside <font>
See merge request graphviz/graphviz!1417
Mark Hansen [Sun, 7 Jun 2020 09:54:30 +0000 (09:54 +0000)]
Merge branch 'it' into 'master'
Replace <it> with <i>
See merge request graphviz/graphviz!1416
Mark Hansen [Sun, 7 Jun 2020 09:51:22 +0000 (19:51 +1000)]
Fix error, not legal to have <ol> inside <font>
Mark Hansen [Sun, 7 Jun 2020 09:40:59 +0000 (09:40 +0000)]
Merge branch 'caption' into 'master'
Move caption to top of table.
See merge request graphviz/graphviz!1415
Mark Hansen [Sun, 7 Jun 2020 09:40:35 +0000 (09:40 +0000)]
Merge branch 't' into 'master'
Replace <t> with <code>
See merge request graphviz/graphviz!1414
Mark Hansen [Sun, 7 Jun 2020 09:40:14 +0000 (09:40 +0000)]
Merge branch 'lte' into 'master'
Escape all <= in HTML context
See merge request graphviz/graphviz!1413
Mark Hansen [Sun, 7 Jun 2020 09:38:44 +0000 (19:38 +1000)]
Replace <it> with <i>
Think it was just a typo. There's no IT tag.
Upstreaming of
https://gitlab.com/graphviz/graphviz.gitlab.io/-/merge_requests/123
Mark Hansen [Sun, 7 Jun 2020 09:24:25 +0000 (19:24 +1000)]
Move caption to top of table.
Caption is required to be just after the table element.
Upstreaming
https://gitlab.com/graphviz/graphviz.gitlab.io/-/merge_requests/121
Mark Hansen [Sun, 7 Jun 2020 09:19:15 +0000 (19:19 +1000)]
Replace <t> with <code>
Looks like this was just a typo, probably intending <tt> (teletype).
Mirror image of
https://gitlab.com/graphviz/graphviz.gitlab.io/-/merge_requests/120
Mark Hansen [Sun, 7 Jun 2020 09:13:52 +0000 (09:13 +0000)]
Merge branch 'escape-gt' into 'master'
Escape some more angle brackets
See merge request graphviz/graphviz!1412
Mark Hansen [Sun, 7 Jun 2020 09:11:59 +0000 (19:11 +1000)]
Escape all <= in HTML context
Mirror image of
https://gitlab.com/graphviz/graphviz.gitlab.io/-/merge_requests/119/
Mark Hansen [Sun, 7 Jun 2020 09:05:42 +0000 (09:05 +0000)]
Merge branch 'lt' into 'master'
Escape all "<"s that are not part of an HTML tag
See merge request graphviz/graphviz!1411
Mark Hansen [Sun, 7 Jun 2020 08:56:52 +0000 (18:56 +1000)]
Escape some more angle brackets
Mirror image of
https://gitlab.com/graphviz/graphviz.gitlab.io/-/merge_requests/116
Mark Hansen [Sun, 7 Jun 2020 08:49:46 +0000 (18:49 +1000)]
Escape all "<"s that are not part of an HTML tag
Mirror image of
https://gitlab.com/graphviz/graphviz.gitlab.io/-/merge_requests/114/
Mark Hansen [Sun, 7 Jun 2020 08:48:16 +0000 (08:48 +0000)]
Merge branch 'close-td' into 'master'
Close TD tags
See merge request graphviz/graphviz!1410
Mark Hansen [Sun, 7 Jun 2020 08:01:42 +0000 (08:01 +0000)]
Merge branch 'spacer' into 'master'
Remove obsolete SPACER element.
See merge request graphviz/graphviz!1409
Mark Hansen [Sun, 7 Jun 2020 08:01:02 +0000 (18:01 +1000)]
Close TD tags
Mirror image of
https://gitlab.com/graphviz/graphviz.gitlab.io/-/merge_requests/109
Mark Hansen [Sun, 7 Jun 2020 07:59:30 +0000 (07:59 +0000)]
Merge branch 'pp' into 'master'
Replace a <PP> element with <P>
See merge request graphviz/graphviz!1408
Mark Hansen [Sun, 7 Jun 2020 07:47:13 +0000 (07:47 +0000)]
Merge branch 'ci' into 'master'
Close <ul> tag.
See merge request graphviz/graphviz!1407
Mark Hansen [Sun, 7 Jun 2020 07:46:12 +0000 (17:46 +1000)]
Remove obsolete SPACER element.
Mirror image of
https://gitlab.com/graphviz/graphviz.gitlab.io/-/merge_requests/107
Mark Hansen [Sun, 7 Jun 2020 07:36:15 +0000 (17:36 +1000)]
Replace a <PP> element with <P>
Upstreaming
https://gitlab.com/graphviz/graphviz.gitlab.io/-/merge_requests/105
Mark Hansen [Sun, 7 Jun 2020 07:31:32 +0000 (17:31 +1000)]
Close <ul> tag.
Mirror image of
https://gitlab.com/graphviz/graphviz.gitlab.io/-/merge_requests/104
Mark Hansen [Sun, 7 Jun 2020 05:34:34 +0000 (05:34 +0000)]
Merge branch 'ci' into 'master'
Remove Ubuntu 18.10 images from .gitlab-ci.yml
See merge request graphviz/graphviz!1405
Mark Hansen [Sun, 7 Jun 2020 05:18:55 +0000 (15:18 +1000)]
Remove Ubuntu 18.10 images from .gitlab-ci.yml
Canonical has turned down the servers for the apt repos, they won't
build again.
Matthew Fernandez [Sat, 6 Jun 2020 19:50:06 +0000 (12:50 -0700)]
remove dmalloc support
Dmalloc is a library for debugging allocation problems [0]. Though it can be
useful, these days its functionality is subsumed by Valgrind and Address
Sanitizer. These two are simpler to use and more precise/detailed than dmalloc.
[0]: https://dmalloc.com/
Matthew Fernandez [Sat, 6 Jun 2020 00:05:52 +0000 (17:05 -0700)]
remove unused sffcvt.c
Matthew Fernandez [Wed, 3 Jun 2020 01:52:47 +0000 (18:52 -0700)]
remove some no longer used libsfio constants
Matthew Fernandez [Wed, 3 Jun 2020 01:46:39 +0000 (18:46 -0700)]
remove unused sfmove.c
The sfmove functionality was not called from anywhere in the Graphviz tree and
libsfio is not shipped during install, so we can safely assume no users are
relying on this. Note that the MSBuild changes were made untested as I don't
have a Windows machine available to test on.
Matthew Fernandez [Sat, 6 Jun 2020 01:38:09 +0000 (18:38 -0700)]
mark some static functions as such
This removes 92 -Wmissing-prototypes warnings on GCC 8.3.
Matthew Fernandez [Sat, 6 Jun 2020 01:15:55 +0000 (18:15 -0700)]
remove internal prototype for unused function printvis
Matthew Fernandez [Sat, 6 Jun 2020 01:01:11 +0000 (18:01 -0700)]
more precise definition of vec_new
Unfortunately a definition/declaration with no parameters in older C is
ambiguous. Explicitly saying 'void' tells the compiler this takes no arguments.
This silences a -Wstrict-prototypes warning on GCC 8.3.
Matthew Fernandez [Sat, 6 Jun 2020 00:57:51 +0000 (17:57 -0700)]
Merge branch 'master' of https://gitlab.com/graphviz/graphviz into
404928d6 -665c-4979-af16-
5e9fdd91336e
Matthew Fernandez [Sat, 6 Jun 2020 00:55:43 +0000 (17:55 -0700)]
Merge branch 'master' of https://gitlab.com/graphviz/graphviz into
b2108122 -f2f7-4e5a-9d70-
52681500d63a
Matthew Fernandez [Sun, 17 May 2020 23:23:26 +0000 (16:23 -0700)]
fix: uniformly treat margin as unsigned in pack.c
Although margin is an unsigned int in pack_info, it was being passed around as a
signed int within pack.c. UBSan identified seven undefined overflows that
happened as a result of this with the following input:
digraph G {rLn pack=-11335142740g}er-
Fixes #1681. Several of these were also pointed to by -Wsign-conversion compiler
warnings.
Matthew Fernandez [Sat, 30 May 2020 02:10:19 +0000 (19:10 -0700)]
fix memory leak due to config text
We now no longer retain pointers to this variable internally, so we can
unconditionally free it. Fixes #1543.
Matthew Fernandez [Sat, 30 May 2020 02:01:39 +0000 (19:01 -0700)]
duplicate backing memory for plugin typestr
Following this change, plugins no longer retain a typestr pointer that was
malloced elsewhere. This lets the memory for plugins be manged more orthogonally
to other concerns. Related to #1543.
Matthew Fernandez [Sat, 30 May 2020 01:25:53 +0000 (18:25 -0700)]
mark gvplugin_api input as const
Matthew Fernandez [Sat, 30 May 2020 01:10:33 +0000 (18:10 -0700)]
mark string arguments to gvplugin_package_record() as const
Matthew Fernandez [Sun, 31 May 2020 21:07:38 +0000 (14:07 -0700)]
remove micro-optimization in MEMCPY
This optimization for short memcpys can be performed by the compiler and/or libc
these days. Related to #1723.
Matthew Fernandez [Sun, 31 May 2020 21:04:49 +0000 (14:04 -0700)]
remove MEMCPY wrapper and expand it everywhere
This removes one of two MEMCPY macros and replaces invocations of it with its
trivial expansion. This makes it more obvious that the remaining MEMCPY calls
are seeing the one remaining MEMCPY definition. Related to #1723.
Matthew Fernandez [Sun, 31 May 2020 20:14:19 +0000 (13:14 -0700)]
remove some unused macros
Matthew Fernandez [Sun, 31 May 2020 18:39:21 +0000 (11:39 -0700)]
fix some comment typos
Matthew Fernandez [Wed, 3 Jun 2020 00:56:21 +0000 (17:56 -0700)]
remove unused gvbuffstderr.c
The functions in this file seem to have only been used for past testing. They
are not exposed in gvc.h, so we can safely assume no users are calling them.
Fixes #1708.
Magnus Jacobsson [Fri, 5 Jun 2020 13:01:22 +0000 (13:01 +0000)]
Merge branch 'replace-symlink-kludge-with-libedit-devel' into 'master'
Change to install libedit-devel instead of symlinking
See merge request graphviz/graphviz!1400
Magnus Jacobsson [Fri, 5 Jun 2020 10:01:00 +0000 (10:01 +0000)]
Merge branch 'add-rtest' into 'master'
Add rtest
See merge request graphviz/graphviz!1395
Magnus Jacobsson [Fri, 5 Jun 2020 09:09:20 +0000 (09:09 +0000)]
Merge branch 'fix-neato-mode-hier' into 'master'
Fix mode=hier in neato
Closes #1726
See merge request graphviz/graphviz!1393
Magnus Jacobsson [Tue, 2 Jun 2020 22:05:12 +0000 (00:05 +0200)]
Change to install libedit-devel instead of symlinking
Thanks @ellson
Magnus Jacobsson [Wed, 3 Jun 2020 11:33:16 +0000 (13:33 +0200)]
Remove python interpreter selection. Always use python3
Mark Hansen [Wed, 3 Jun 2020 11:28:31 +0000 (11:28 +0000)]
Merge branch 'entity-reference' into 'master'
Terminate > html entity references
See merge request graphviz/graphviz!1399
Mark Hansen [Wed, 3 Jun 2020 10:36:20 +0000 (20:36 +1000)]
Terminate > html entity references
Fixes #33
Mark Hansen [Wed, 3 Jun 2020 11:03:30 +0000 (11:03 +0000)]
Merge branch 'templates' into 'master'
Use jinja2.PackageLoader
See merge request graphviz/graphviz!1398
Mark Hansen [Tue, 2 Jun 2020 11:25:54 +0000 (21:25 +1000)]
Use jinja2.PackageLoader
This resolves the path to the templates/ folder relative to the python
package (templates.py).
The FileSystemLoader was relative to current working directory.
After this, it doesn't matter what your current working directory is.
Mark Hansen [Wed, 3 Jun 2020 10:40:14 +0000 (10:40 +0000)]
Merge branch 'consolidate' into 'master'
Extract common Jinja2 environment code
See merge request graphviz/graphviz!1397
Mark Hansen [Tue, 2 Jun 2020 11:23:26 +0000 (21:23 +1000)]
Extract common Jinja2 environment code
Into one file.
Matthew Fernandez [Sat, 30 May 2020 19:58:28 +0000 (12:58 -0700)]
fix documentation links
Fixes #1621.
Magnus Jacobsson [Mon, 1 Jun 2020 04:52:53 +0000 (06:52 +0200)]
Use test code and data from git repo in CI
Before this, the test code and data from the portable source was used,
but we didn't want to add all the rtest reference files to the
portable source so this is a better solution. It also removes the need
to rebuild the portable soruce when testing local changes to the
tests during development.
Magnus Jacobsson [Sun, 31 May 2020 16:07:43 +0000 (18:07 +0200)]
Remove trailing whitespace
Magnus Jacobsson [Sun, 31 May 2020 15:46:41 +0000 (17:46 +0200)]
Add rtest to CI
Magnus Jacobsson [Sun, 31 May 2020 15:41:10 +0000 (17:41 +0200)]
Add output of success when verbose
Magnus Jacobsson [Sun, 31 May 2020 15:36:57 +0000 (17:36 +0200)]
Refactor python interpreter selection
Magnus Jacobsson [Sun, 31 May 2020 15:36:02 +0000 (17:36 +0200)]
Install graphviz-gd rpm and deps to get png
Magnus Jacobsson [Sun, 31 May 2020 14:41:02 +0000 (16:41 +0200)]
Change to use installed diffimg in rtest.sh
Magnus Jacobsson [Sat, 4 Apr 2020 14:15:51 +0000 (16:15 +0200)]
Add ksh to Ubuntu 18.04 & 19.10 Dockerfiles. Needed for rtest
Magnus Jacobsson [Fri, 3 Apr 2020 15:46:27 +0000 (17:46 +0200)]
Temporarily disable unstable fdp test
This was originally thought to be a bug, see
https://gitlab.com/graphviz/graphviz/-/issues/1690, but it's the
expected behavior.
Magnus Jacobsson [Fri, 3 Apr 2020 14:59:58 +0000 (16:59 +0200)]
Update linux.x86 rtest url_dot.*map* reference files with sligthly changed coordinates
Magnus Jacobsson [Fri, 3 Apr 2020 14:53:34 +0000 (16:53 +0200)]
Update linux.x86 rtest gv reference files with sligthly changed coorinates
Magnus Jacobsson [Fri, 3 Apr 2020 14:51:59 +0000 (16:51 +0200)]
Remove redundant attributes from rtest linux.x86 reference data
Magnus Jacobsson [Fri, 3 Apr 2020 14:11:56 +0000 (16:11 +0200)]
Remove obsolete samearrowhead/tail attributes from rtest reference data
Magnus Jacobsson [Fri, 3 Apr 2020 14:04:34 +0000 (16:04 +0200)]
Remove obsolete samearrowhead/tail attributes from rtest input data
Magnus Jacobsson [Fri, 3 Apr 2020 13:06:35 +0000 (15:06 +0200)]
Update linux.x86 rtest svg reference files
Compared old and new images by visual inspection and found no
differences except:
html2_dot.svg: Color names used instead of hex codes which gives
different shades of gray. Seems to conform to SVG color scheme
according to https://www.graphviz.org/doc/info/colors.html. Slightly
different edge contact point.
url_dot.svg: Color names used instead of hex codes which gives
different shades of green and gray. Seems to conform to SVG color
scheme according to https://www.graphviz.org/doc/info/colors.html.
cairo_dot_cairo.svg: Old has white background. New has
transparent. This seems ok since the default bgcolor is <none>
according to https://www.graphviz.org/doc/info/attrs.html#a:bgcolor.
Magnus Jacobsson [Fri, 3 Apr 2020 10:10:27 +0000 (12:10 +0200)]
Update linux.x86 rtest ps & ps2 reference files
Compared old and new images by visual inspection and found no
differences except:
size_ex_dot.ps: A huge graph with slightly different edge routing.
Magnus Jacobsson [Fri, 3 Apr 2020 09:34:31 +0000 (11:34 +0200)]
Update linux.x86 rtest png reference files
Compared old and new images by visual inspection and found no
differences except:
decorate_dot.png: Quite different aspect ratio. Size changed from 1413
x 2963 to 1191 x 1644. Some text overlap in the new one.
fdp_clus_fdp.png: Edge overlap nodes in the old one. The new one is
ok.
Magnus Jacobsson [Fri, 3 Apr 2020 09:18:56 +0000 (11:18 +0200)]
Set rtest exit status to total number of errors
Magnus Jacobsson [Mon, 30 Mar 2020 14:34:12 +0000 (16:34 +0200)]
Disable non-working ksh version check
John Ellson [Tue, 2 Jun 2020 17:32:02 +0000 (13:32 -0400)]
back out LATEST softlink changes to unbreak pipeline
John Ellson [Tue, 2 Jun 2020 17:04:13 +0000 (13:04 -0400)]
do the same for the md5
Magnus Jacobsson [Tue, 2 Jun 2020 16:58:10 +0000 (18:58 +0200)]
Update ChangeLog
John Ellson [Tue, 2 Jun 2020 16:31:58 +0000 (12:31 -0400)]
maintain a graphviz-LATEST.tar.gz softlink to simplify the web page linkage
Magnus Jacobsson [Tue, 2 Jun 2020 14:22:22 +0000 (16:22 +0200)]
Fix mode=hier in neato
Fixes https://gitlab.com/graphviz/graphviz/-/issues/1726.
The bug was introduced in
443592f1e8950df88f6df9c71b60667c9ad98006
Mark Hansen [Tue, 2 Jun 2020 11:30:03 +0000 (11:30 +0000)]
Merge branch 'inline-all-shapes' into 'master'
Inline shapes.3 into shapes.html.j2
See merge request graphviz/graphviz!1392
Mark Hansen [Tue, 2 Jun 2020 11:28:35 +0000 (11:28 +0000)]
Merge branch 'shapes-html' into 'master'
Inline shapes.1 and shapes.2 into shapes.html.j2
See merge request graphviz/graphviz!1391
Mark Hansen [Tue, 2 Jun 2020 11:06:37 +0000 (21:06 +1000)]
Inline shapes.3 into shapes.html.j2
Now shapes.html.j2 is a complete template for the shapes.html page.
Mark Hansen [Tue, 2 Jun 2020 11:03:54 +0000 (11:03 +0000)]
Merge branch 'shapes-html' into 'master'
Update shapes.html to match output of mkshhtml.py
See merge request graphviz/graphviz!1390
Mark Hansen [Tue, 2 Jun 2020 10:50:29 +0000 (20:50 +1000)]
Inline shapes.1 and shapes.2 into shapes.html.j2