]>
granicus.if.org Git - graphviz/log
Mark Hansen [Sun, 14 Feb 2021 04:36:10 +0000 (04:36 +0000)]
Merge branch 'powertools' into 'master'
Attempt fixing CentOS8 Dockerfile
See merge request graphviz/graphviz!1749
Mark Hansen [Sun, 14 Feb 2021 04:35:38 +0000 (15:35 +1100)]
Attempt fixing CentOS8 Dockerfile
Apparently this is now powertools, lowercase:
https://serverfault.com/questions/997896/how-to-enable-powertools-repository-in-centos-8
Towards #1945
Mark Hansen [Sun, 14 Feb 2021 04:32:59 +0000 (04:32 +0000)]
Merge branch '1910' into 'master'
Delete ubuntu-19.10 CI
Closes #1944
See merge request graphviz/graphviz!1748
Mark Hansen [Sun, 14 Feb 2021 04:32:26 +0000 (15:32 +1100)]
Delete ubuntu-19.10 CI
It's discontinued release, can't build Dockerfile any more.
Fixes #1944
Mark Hansen [Sun, 14 Feb 2021 04:20:44 +0000 (04:20 +0000)]
Merge branch 'docker-in-ci' into 'master'
Touch all the Dockerfiles to rebuild them
See merge request graphviz/graphviz!1747
Mark Hansen [Sun, 14 Feb 2021 04:19:54 +0000 (15:19 +1100)]
Touch all the Dockerfiles to rebuild them
And push them to the GitLab Container Registry
There's probably a nicer way to do this, but I'm not sure what it is. Maybe a manual job, or a variable that you can enable to trigger it?
Towards #1943
Mark Hansen [Sun, 14 Feb 2021 04:06:05 +0000 (04:06 +0000)]
Merge branch 'docker-in-ci' into 'master'
Add CI building of all Docker images
See merge request graphviz/graphviz!1746
Mark Hansen [Sun, 14 Feb 2021 03:53:47 +0000 (14:53 +1100)]
Add CI building of all Docker images
Only when we edit their respective Dockerfiles.
Towards #1943
Matthew Fernandez [Sun, 14 Feb 2021 03:37:27 +0000 (03:37 +0000)]
Merge branch 'smattr/
EFD0F12C -1BD3-412D-8DEE-
AF6E0B80C486 ' into 'master'
fix memory leak in mingle
See merge request graphviz/graphviz!1736
Mark Hansen [Sun, 14 Feb 2021 03:23:04 +0000 (03:23 +0000)]
Merge branch 'docker-in-ci' into 'master'
Experimental: build docker image in GitLab CI
See merge request graphviz/graphviz!1745
Matthew Fernandez [Sun, 3 Jan 2021 18:31:22 +0000 (10:31 -0800)]
fix: stop manually managing kdTree memory in mingle
This actually fixes a bug where the first kdTree allocation was being leaked due
to never being deleted. Related to #1832.
Matthew Fernandez [Sun, 3 Jan 2021 18:26:57 +0000 (10:26 -0800)]
remove manual memory management of dists in mingle
Related to #1832.
Matthew Fernandez [Sun, 3 Jan 2021 18:24:16 +0000 (10:24 -0800)]
remove manual memory management of nnIdx in mingle
Related to #1832.
Matthew Fernandez [Sun, 3 Jan 2021 18:20:43 +0000 (10:20 -0800)]
fix typo in mingle comment
Matthew Fernandez [Sun, 3 Jan 2021 18:15:09 +0000 (10:15 -0800)]
remove unnecessary using directive and #includes
This file does not reference any symbols from these.
Mark Hansen [Sun, 14 Feb 2021 02:03:14 +0000 (13:03 +1100)]
Experimental: build docker image in GitLab CI
Starting with just centos7
Following the instructions at https://about.gitlab.com/blog/2019/08/28/building-build-images/.
Haven't set up the environment variables yet.
Matthew Fernandez [Sun, 14 Feb 2021 03:02:22 +0000 (03:02 +0000)]
Merge branch 'smattr/
a8939803 -4471-4750-b95b-
5aa9fcb70802 ' into 'master'
remove unnecessary casts of cdt functions
See merge request graphviz/graphviz!1735
Matthew Fernandez [Sat, 6 Feb 2021 23:30:16 +0000 (15:30 -0800)]
remove no-op cast
Matthew Fernandez [Sat, 6 Feb 2021 23:29:34 +0000 (15:29 -0800)]
remove unnecessary casts of dtsearch() return value
These pointers implicitly coerce.
Matthew Fernandez [Sat, 6 Feb 2021 23:22:54 +0000 (15:22 -0800)]
remove unnecessary casts of dtprev() return value
These pointers implicitly coerce.
Matthew Fernandez [Sat, 6 Feb 2021 23:19:12 +0000 (15:19 -0800)]
remove unnecessary casts of dtlast() return values
These pointers implicitly coerce.
Matthew Fernandez [Sat, 6 Feb 2021 23:14:59 +0000 (15:14 -0800)]
remove unnecessary casts of dtnext() return value
These pointers implicitly coerce.
Matthew Fernandez [Sat, 6 Feb 2021 23:07:07 +0000 (15:07 -0800)]
remove unnecessary cast of dtfirst() return value
These pointers implicitly coerce.
Matthew Fernandez [Sat, 6 Feb 2021 22:57:21 +0000 (14:57 -0800)]
remove unnecessary casts of dtmatch() return values
These pointers implicitly coerce.
Matthew Fernandez [Sun, 14 Feb 2021 02:28:52 +0000 (02:28 +0000)]
Merge branch 'smattr/
87474991 -d226-4c2a-8e48-
daedb4cdde1c ' into 'master'
Keep the edge order in json output (!1728 plus test case)
See merge request graphviz/graphviz!1734
Graph [Wed, 3 Feb 2021 16:17:35 +0000 (00:17 +0800)]
Keep the edge order in json output
Matthew Fernandez [Sat, 6 Feb 2021 21:42:11 +0000 (13:42 -0800)]
expand a wrapper around calloc()
We're about to #include another header in this file that contains its own
conflicting definition of NEW().
Matthew Fernandez [Sat, 6 Feb 2021 20:55:35 +0000 (12:55 -0800)]
add some test cases of the JSON output
Matthew Fernandez [Sun, 14 Feb 2021 01:54:40 +0000 (01:54 +0000)]
Merge branch 'smattr/
DC781A13 -F00C-434C-A18F-
6ACC0AF4B3CC ' into 'master'
clean up some legacy unused config checks
See merge request graphviz/graphviz!1733
Matthew Fernandez [Sat, 6 Feb 2021 21:36:37 +0000 (13:36 -0800)]
fix: remove orphaned MALLOC_H define
The logic to populate this was removed in
59bf93da69561600015ee3f2b747691d52228188 .
Matthew Fernandez [Sat, 6 Feb 2021 21:31:12 +0000 (13:31 -0800)]
remove mstats() detection
Graphviz does not depend on this.
Matthew Fernandez [Sat, 6 Feb 2021 21:30:29 +0000 (13:30 -0800)]
remove mallinfo() detection
Nothing in Graphviz depends on this.
Matthew Fernandez [Sat, 6 Feb 2021 21:29:06 +0000 (13:29 -0800)]
remove mallopt() detection
Nothing in Graphviz depends on this.
Matthew Fernandez [Sat, 13 Feb 2021 21:21:15 +0000 (21:21 +0000)]
Merge branch 'smattr/
34694182 -7a40-4f06-abc7-
e1218f680248 ' into 'master'
fix incorrect PS colors generated by Lefty and enable C99 warnings
See merge request graphviz/graphviz!1730
Matthew Fernandez [Wed, 3 Feb 2021 03:43:58 +0000 (19:43 -0800)]
enable some additional C99 compiler warnings
These can now be turned on without adding warnings to the Autotools build.
Matthew Fernandez [Wed, 3 Feb 2021 03:40:06 +0000 (19:40 -0800)]
fix incorrect colors in Lefty postscript output
This code intended to print color data to its output file in postscript (PS)
format. However it miscalculated the low nibble of each non-zero byte as 1 due
to an incorrect operator. This may have not been noticed in the resulting image
due to low precision. This was exposed by the compiler flag -Wlogical-op. Fixes
#1927.
At first glance, it looks like this could be written without shifting and
masking at all by simply printing the byte padded to width 2, but maybe I am
missing some subtlety.
Matthew Fernandez [Sat, 13 Feb 2021 20:47:16 +0000 (20:47 +0000)]
Merge branch 'smattr/
1FE7F116 -BD57-44DB-A463-
C712472A1CA6 ' into 'master'
add details of updating the website to the release procedure
See merge request graphviz/graphviz!1729
Matthew Fernandez [Wed, 3 Feb 2021 01:48:11 +0000 (17:48 -0800)]
add details of updating the website to the release procedure
This is addressing the following point I made in the 2.46.0 retrospective:
We probably need to incorporate www2.graphviz.org and graphviz.gitlab.io
actions into the release steps in DEVELOPERS.md.
It would be nice to further automate some of this in future.
Matthew Fernandez [Sat, 13 Feb 2021 20:13:28 +0000 (20:13 +0000)]
Merge branch 'smattr/
7654BD6A -00FB-419C-9CEE-
58F314E9471A ' into 'master'
fix HTML validation issues in FAQ.html
See merge request graphviz/graphviz!1727
Matthew Fernandez [Tue, 2 Feb 2021 05:21:26 +0000 (21:21 -0800)]
fix HTML validation issues in FAQ.html
Related to #1861.
Matthew Fernandez [Sat, 13 Feb 2021 19:36:38 +0000 (19:36 +0000)]
Merge branch 'smattr/
E0AA0C62 -2E41-45C8-8F0E-
C7CF13B57772 ' into 'master'
remove Python 2 pytest installation in CI
Closes #1886
See merge request graphviz/graphviz!1726
Matthew Fernandez [Tue, 2 Feb 2021 05:02:58 +0000 (21:02 -0800)]
remove Python 2 pytest installation in CI
We only support running the test suite with Python 3. Closes #1886.
Matthew Fernandez [Sat, 13 Feb 2021 19:02:31 +0000 (19:02 +0000)]
Merge branch 'smattr/
eb990658 -b367-436d-84a5-
fcb9dec533c3 ' into 'master'
remove dead suffix parsing code
Closes #1933
See merge request graphviz/graphviz!1725
Matthew Fernandez [Mon, 1 Feb 2021 03:32:56 +0000 (19:32 -0800)]
delete no longer used strton
Matthew Fernandez [Mon, 1 Feb 2021 03:11:37 +0000 (19:11 -0800)]
remove dead code for suffix handling of parsed numbers
This code attempted to handle a numeric suffix indicating a multiplier (e.g. 'k'
for 1024). However, the preceding logic that constructs a temporary buffer for
it to parse from does not anticipate suffixes and copy them to the buffer. The
(inactive) suffix code is considered only useful for describing file sizes, so
not relevant to enable for Graphviz. Closes #1933.
Matthew Fernandez [Sat, 13 Feb 2021 18:29:22 +0000 (18:29 +0000)]
Merge branch 'smattr/
D1537418 -F027-4305-8650-
1E45D1B2F6B1 ' into 'master'
update Graphviz URLs in comments
See merge request graphviz/graphviz!1724
Matthew Fernandez [Sun, 31 Jan 2021 19:39:37 +0000 (11:39 -0800)]
update Graphviz URLs in comments
Matthew Fernandez [Sat, 13 Feb 2021 17:54:33 +0000 (09:54 -0800)]
Merge 'Start 2.46.2 development series' into master
Matthew Fernandez [Sat, 13 Feb 2021 17:03:53 +0000 (09:03 -0800)]
Start 2.46.2 development series
Matthew Fernandez [Sat, 13 Feb 2021 17:02:13 +0000 (17:02 +0000)]
Merge branch 'smattr/
63291F41 -E610-4E9F-B12E-
1566969C0FDA ' into 'master'
Stable Release 2.46.1
See merge request graphviz/graphviz!1732
Matthew Fernandez [Sat, 6 Feb 2021 19:34:28 +0000 (11:34 -0800)]
Stable Release 2.46.1
Matthew Fernandez [Sat, 6 Feb 2021 19:23:11 +0000 (19:23 +0000)]
Merge branch 'smattr/
DD8B4ECD -399B-4BEF-AD77-
3EF40BA4402E ' into 'master'
Properly fill graphviz_version.h (!1706 plus test case)
See merge request graphviz/graphviz!1723
Kevin Funk [Thu, 21 Jan 2021 10:39:01 +0000 (11:39 +0100)]
Properly fill graphviz_version.h
Make sure the variables used inside the header template are populated.
Prior to this patch we ended up with this in the generated
graphviz_version.h:
#define PACKAGE_VERSION ""
Edit by Matthew Fernandez: Added changelog entry and flipped polarity on the
CMake test case for this.
Matthew Fernandez [Sun, 31 Jan 2021 17:48:06 +0000 (09:48 -0800)]
add a test of PACKAGE_VERSION
Related to !1706.
Matthew Fernandez [Sat, 6 Feb 2021 18:49:51 +0000 (18:49 +0000)]
Merge branch 'smattr/
D39EA669 -23A2-4D0E-A8BD-
7FC55FC1C35E ' into 'master'
apply some C99 to vmalloc
See merge request graphviz/graphviz!1722
Matthew Fernandez [Sun, 31 Jan 2021 01:25:22 +0000 (17:25 -0800)]
#pragma once instead of old-style header guards in vmalloc
These are supported by all recent compilers.
Matthew Fernandez [Sun, 31 Jan 2021 01:24:42 +0000 (17:24 -0800)]
remove Vim modeline markers from vmalloc
These have no effect for non-Vim users or Vim users with modeline disabled.
clang-format is a better modern solution to this problem.
Matthew Fernandez [Sun, 31 Jan 2021 01:21:55 +0000 (17:21 -0800)]
take advantage of some C99 features in vmalloc
Matthew Fernandez [Sun, 31 Jan 2021 02:24:51 +0000 (18:24 -0800)]
compile vmalloc tests with C99
This should have been included in
fe3f9411d2c59b463ab1b64eecfd19f2db55d2fc .
Matthew Fernandez [Sat, 6 Feb 2021 05:26:49 +0000 (05:26 +0000)]
Merge branch 'smattr/
B7B7989C -A893-415A-B27A-
B365C1D44997 ' into 'master'
drop support for Fedora 31
See merge request graphviz/graphviz!1721
Matthew Fernandez [Sun, 31 Jan 2021 01:00:22 +0000 (17:00 -0800)]
drop support for Fedora 31
Fedora 31 was EOLed in November 2020 [0].
[0]: https://lists.fedoraproject.org/archives/list/announce@lists.fedoraproject.org/thread/NU5AENRUFG4XK5D34SJN5FZPLYMZF6ZQ/
Matthew Fernandez [Sun, 31 Jan 2021 00:56:30 +0000 (16:56 -0800)]
move Fedora CMake testing to Fedora 32
Fedora 31 was EOLed in November 2020 [0].
[0]: https://lists.fedoraproject.org/archives/list/announce@lists.fedoraproject.org/thread/NU5AENRUFG4XK5D34SJN5FZPLYMZF6ZQ/
Matthew Fernandez [Sat, 6 Feb 2021 04:32:54 +0000 (04:32 +0000)]
Merge branch 'smattr/
77EC4CE8 -9933-43C1-B3BB-
B9F65F3901ED ' into 'master'
remove alternate vsnprintf code
See merge request graphviz/graphviz!1720
Matthew Fernandez [Sat, 30 Jan 2021 22:00:01 +0000 (14:00 -0800)]
remove some unnecessary casts
Matthew Fernandez [Sat, 30 Jan 2021 21:58:34 +0000 (13:58 -0800)]
remove vsnprintf detection
We no longer depend on this and simply assume vsnprintf is available.
Matthew Fernandez [Sat, 30 Jan 2021 21:51:49 +0000 (13:51 -0800)]
remove alternate vsnprintf paths
As of
fe3f9411d2c59b463ab1b64eecfd19f2db55d2fc , we build with C99 where
vsnprintf is require. Hence we no longer need other code paths.
Matthew Fernandez [Sat, 6 Feb 2021 03:12:28 +0000 (03:12 +0000)]
Merge branch 'smattr/
F614351E -E612-4E14-A869-
F958C2FDF07E ' into 'master'
use release version for generic package version when possible
See merge request graphviz/graphviz!1719
Matthew Fernandez [Sat, 30 Jan 2021 21:05:11 +0000 (13:05 -0800)]
use release version for generic package version when possible
This addresses my comment from the 2.46.0 retrospective:
I realized after the fact that, though the generic package versions have a
restricted format, our release versions fit that format. I.e. we could have
the generated 0.0.287364… versions for commit snapshots, but for packages that
contain a release we could use a version that is the same as the release
version itself, e.g. 2.46.0.
Now generic packages that correspond to a stable release will get the same
generic package version as the release version itself. This should avoid some
user confusion in future.
Matthew Fernandez [Sat, 30 Jan 2021 21:02:11 +0000 (13:02 -0800)]
reorder version computation steps in deployment
Matthew Fernandez [Sat, 30 Jan 2021 21:00:59 +0000 (13:00 -0800)]
abbreviate some use of enumerate()
Matthew Fernandez [Sat, 6 Feb 2021 01:48:15 +0000 (01:48 +0000)]
Merge branch 'smattr/
DA75A76F -4160-460E-8F0E-
E2159B71E1C2 ' into 'master'
migrate test suite to Python 3.6+
Closes #1870
See merge request graphviz/graphviz!1718
Matthew Fernandez [Sat, 2 Jan 2021 03:23:51 +0000 (19:23 -0800)]
use f-strings in Python test scripts
Now that we have Python 3.6 as a base line requirement, we can use f-strings
pervasively. Related to #1870.
Matthew Fernandez [Sat, 2 Jan 2021 04:01:10 +0000 (20:01 -0800)]
use Pathlib for path-typed variables in the test suite
As of Python 3.4, this is the Pythonic way of dealing with file system paths.
Matthew Fernandez [Sat, 2 Jan 2021 03:20:21 +0000 (19:20 -0800)]
set a new base line of Python 3.6 for running the test suite
Closes #1870.
Matthew Fernandez [Fri, 5 Feb 2021 04:41:46 +0000 (04:41 +0000)]
Merge branch 'smattr/
19153a68 -1b2c-4716-962d-
c07b057af4ed ' into 'master'
fix: no longer lose \n within quoted strings
Closes #1931
See merge request graphviz/graphviz!1717
Matthew Fernandez [Sat, 30 Jan 2021 03:01:34 +0000 (19:01 -0800)]
fix: no longer lose \n within quoted strings
9bdd24cae96d01fc6b2a940bc87d27edeb5d84a7 addressed a problem where line number
tracking was not working across new line characters embedded within quoted
strings. However it accidentally unmasked another bug involving a parsing rule
that swallowed new lines which was incorrectly enabled within quoted strings.
Fixes #1931.
Matthew Fernandez [Sat, 30 Jan 2021 02:16:35 +0000 (18:16 -0800)]
test case for #1931
Matthew Fernandez [Wed, 3 Feb 2021 01:32:50 +0000 (01:32 +0000)]
Merge branch 'smattr/
56867813 -653e-4fc1-822a-
4d4f56154de5 ' into 'master'
fix: add header guard to graphviz_version.h
Closes #1929
See merge request graphviz/graphviz!1716
Matthew Fernandez [Wed, 27 Jan 2021 02:25:09 +0000 (18:25 -0800)]
fix: add header guard to graphviz_version.h
To prevent users #including this multiple times getting compiler warnings.
Closes #1929.
Matthew Fernandez [Sun, 31 Jan 2021 03:46:32 +0000 (03:46 +0000)]
Merge branch 'smattr/
850CBB25 -AAEA-471D-BB06-
0C826F1276EF ' into 'master'
some rtest.py tweaks and generate a .tar.xz portable source
Closes #454
See merge request graphviz/graphviz!1715
Matthew Fernandez [Mon, 25 Jan 2021 00:48:38 +0000 (16:48 -0800)]
also build a .tar.xz archive for distribution
Closes #454.
Matthew Fernandez [Mon, 25 Jan 2021 00:24:28 +0000 (16:24 -0800)]
fix: teach rtest.py how to find its default files regardless of CWD
If rtest.py is run from a different directory -- e.g. from a top-level make
check-recursive -- it could not find its default inputs.
Matthew Fernandez [Mon, 25 Jan 2021 00:06:51 +0000 (16:06 -0800)]
fix: make tools findable by rtest.py in a `make check-recursive`
Matthew Fernandez [Sun, 24 Jan 2021 23:57:15 +0000 (15:57 -0800)]
fix path to rtest.py when triggered by `make check-recursive`
Matthew Fernandez [Sun, 31 Jan 2021 01:01:49 +0000 (17:01 -0800)]
Merge !1714 into master
Alex Henrie [Mon, 25 Jan 2021 00:39:37 +0000 (17:39 -0700)]
Remove dead assignments from SparseMatrix_import_matrix_market
Alex Henrie [Mon, 25 Jan 2021 00:29:35 +0000 (17:29 -0700)]
Remove dead assignment from extoken_fn
Alex Henrie [Mon, 25 Jan 2021 00:29:35 +0000 (17:29 -0700)]
Remove dead assignment from makeDotGraph
Alex Henrie [Mon, 25 Jan 2021 00:29:35 +0000 (17:29 -0700)]
Remove dead assignment from GFXinit
Alex Henrie [Mon, 25 Jan 2021 00:29:35 +0000 (17:29 -0700)]
Remove dead assignment from scan_num
Alex Henrie [Mon, 25 Jan 2021 00:29:35 +0000 (17:29 -0700)]
Remove dead assignments from mincross_step
Alex Henrie [Mon, 25 Jan 2021 00:29:35 +0000 (17:29 -0700)]
Remove dead assignment from SparseMatrix_coordinate_form_add_entries
Alex Henrie [Mon, 25 Jan 2021 00:29:35 +0000 (17:29 -0700)]
Remove dead assignment from constrained_majorization_new
Alex Henrie [Mon, 25 Jan 2021 00:29:35 +0000 (17:29 -0700)]
Remove dead assignments from self(Bottom|Top|Right|Left)
Alex Henrie [Mon, 25 Jan 2021 00:29:35 +0000 (17:29 -0700)]
Remove dead assignment from parseSegs
Alex Henrie [Mon, 25 Jan 2021 00:29:35 +0000 (17:29 -0700)]
Remove dead assignment from mincross
Alex Henrie [Mon, 25 Jan 2021 00:29:35 +0000 (17:29 -0700)]
Remove dead assignment from edge_distinct_coloring
Alex Henrie [Mon, 25 Jan 2021 00:29:35 +0000 (17:29 -0700)]
Remove dead assignment from map_path
Matthew Fernandez [Sat, 30 Jan 2021 23:01:57 +0000 (23:01 +0000)]
Merge branch 'smattr/
28CF1899 -48F1-437D-B47E-
F356FBF1EF2B ' into 'master'
remove legacy CVS references
See merge request graphviz/graphviz!1712
Matthew Fernandez [Sun, 24 Jan 2021 21:57:55 +0000 (13:57 -0800)]
remove legacy CVS references
Now that Graphviz lives in Git, these references are no longer relevant. Closes
#1798.