]>
granicus.if.org Git - graphviz/log
Matthew Fernandez [Tue, 16 Jun 2020 00:25:18 +0000 (00:25 +0000)]
Merge branch '
7fce6ce6 -df5b-4bc3-938e-
28db4c30689a ' into 'master'
remove unused agutil
See merge request graphviz/graphviz!1425
Matthew Fernandez [Mon, 15 Jun 2020 13:59:55 +0000 (06:59 -0700)]
Merge branch 'master' of ssh://gitlab.com/graphviz/graphviz into
c7194847 -d161-451c-9644-
72a4c19f8a1b
Magnus Jacobsson [Mon, 15 Jun 2020 11:49:11 +0000 (11:49 +0000)]
Merge branch 'generate-configuration-table' into 'master'
Generate configuration table
See merge request graphviz/graphviz!1423
Magnus Jacobsson [Mon, 15 Jun 2020 10:49:19 +0000 (10:49 +0000)]
Merge branch 'add-developers-guide' into 'master'
Add DEVELOPERS.md with release instructions
See merge request graphviz/graphviz!1401
Magnus Jacobsson [Mon, 15 Jun 2020 09:49:33 +0000 (09:49 +0000)]
Merge branch 'convert-changelog-to-markdown' into 'master'
Convert changelog to markdown
See merge request graphviz/graphviz!1394
Mark Hansen [Mon, 15 Jun 2020 00:49:35 +0000 (00:49 +0000)]
Merge branch '
561bf79c -b7dd-4219-8c72-
e64b33dc5472 ' into 'master'
deallocate memory before exiting mkdefs.c
Closes #1741
See merge request graphviz/graphviz!1430
Matthew Fernandez [Sun, 14 Jun 2020 21:30:14 +0000 (21:30 +0000)]
Merge branch '
4d767af9 -1ea9-455a-b8bf-
c7de2c0f8aed ' into 'master'
remove some compiler warnings
See merge request graphviz/graphviz!1427
Matthew Fernandez [Sun, 14 Jun 2020 21:22:18 +0000 (14:22 -0700)]
deallocate memory before exiting mkdefs.c
The code in mkdef.c gets compiled and executed during Graphviz compilation. When
building with Address Sanitizer enabled, instrumentation is also applied to this
utility during compilation. Usually this is not a problem, but when configuring
ASan to exit with an error on leak detection it would cause the build step that
runs mkdefs to erroneously fail. We now explicitly clean up before exiting
mkdefs, making ASan happy in all configurations. Closes #1741.
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.
This reapplies and corrects commit
b25836334408f719380547942a360a4729d3060f
which was backed out because it caused build failures on Windows.
Matthew Fernandez [Sat, 6 Jun 2020 01:15:55 +0000 (18:15 -0700)]
remove internal prototype for unused function printvis
This reapplies commit
ea510836eb7224517f843c1f1189cbc5a9f34733 which was backed
out due to a CI failure.
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.
This reapplies commit
31dbec0dbb2aa17535faf9093b15b26207497056 which was backed
out due to a CI failure.
Magnus Jacobsson [Sun, 7 Jun 2020 18:34:14 +0000 (20:34 +0200)]
Add generation of compile configuration table to CI
New meta-data job added to test stage
Magnus Jacobsson [Sun, 7 Jun 2020 16:54:30 +0000 (18:54 +0200)]
Add coloring options
Magnus Jacobsson [Sun, 7 Jun 2020 16:05:39 +0000 (18:05 +0200)]
Add --short option
Magnus Jacobsson [Sun, 7 Jun 2020 15:47:15 +0000 (17:47 +0200)]
Add HTML output format
Magnus Jacobsson [Sun, 7 Jun 2020 14:38:20 +0000 (16:38 +0200)]
Add JSON output
Magnus Jacobsson [Sun, 7 Jun 2020 14:05:58 +0000 (16:05 +0200)]
Add ci/generate-configuration-table.py
Magnus Jacobsson [Sun, 7 Jun 2020 14:04:16 +0000 (16:04 +0200)]
Add generation of configure.log to build.sh
Magnus Jacobsson [Sun, 7 Jun 2020 14:03:23 +0000 (16:03 +0200)]
Ensure immediate exit on failure in build.sh
Magnus Jacobsson [Sun, 7 Jun 2020 14:01:49 +0000 (16:01 +0200)]
Change to use bash in build.sh
Magnus Jacobsson [Sun, 7 Jun 2020 14:01:24 +0000 (16:01 +0200)]
Add ci/extract-configure-log.sh
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
Magnus Jacobsson [Tue, 2 Jun 2020 20:14:11 +0000 (22:14 +0200)]
Replace all references to ChangeLog with CHANGELOG.md
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
Magnus Jacobsson [Fri, 5 Jun 2020 11:59:02 +0000 (13:59 +0200)]
Add DEVELOPERS.md with release instructions
Matthew Fernandez [Wed, 10 Jun 2020 00:07:31 +0000 (17:07 -0700)]
remove unused agutil
This code was not called from anywhere and was not being compiled, nor
distributed. Related to #1549.
Matthew Fernandez [Tue, 9 Jun 2020 01:05:41 +0000 (18:05 -0700)]
fix segfault when node fusing encounters the end of a chain
When processing a chain of nodes, rebuild_vlists() would encounter and then
dereference a NULL pointer on reaching the end of the chain. See included test
case for a sample of how to reproduce this. Fixes #1436.
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 [Tue, 2 Jun 2020 19:07:17 +0000 (21:07 +0200)]
Convert changelog to markdown and rewrite latest releases
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