]>
granicus.if.org Git - graphviz/log
Magnus Jacobsson [Sat, 4 Sep 2021 13:32:11 +0000 (15:32 +0200)]
ci/build.sh: CMake: use OSTYPE to determine if on macOS
OSTYPE is a built-in variable in bash and exists on all operating
systems.
Matthew Fernandez [Mon, 6 Sep 2021 18:23:19 +0000 (18:23 +0000)]
Merge branch 'generated-cmake-dep' into 'main'
Ensure correct file-level dependency
See merge request graphviz/graphviz!2142
Matthew Fernandez [Mon, 6 Sep 2021 17:45:33 +0000 (10:45 -0700)]
add CHANGELOG entry for prior commit
Cameron Lowell Palmer [Sun, 5 Sep 2021 09:20:40 +0000 (11:20 +0200)]
Ensure correct file-level dependency for generated file in cmake generated projects
When using ninja parallel compilation, it is possible that the generated ninja
file might not create the necessary files, color_lib and svgcolor_lib, before
they are needed and this results in a failed build. Providing an absolute path
to depend on in the add_custom_command rectifies the situation.
Closes #2119
Matthew Fernandez [Sun, 5 Sep 2021 18:52:19 +0000 (18:52 +0000)]
Merge branch 'smattr/
1264c66c -9666-43b2-b04a-
877f0d54f2be ' into 'main'
remove `make check` Python targets
Closes #2112
See merge request graphviz/graphviz!2131
Matthew Fernandez [Wed, 1 Sep 2021 02:53:57 +0000 (19:53 -0700)]
remove `make check` Python targets
The current Graphviz test suite is orchestrated via Pytest and assumes it is
dealing with an installed Graphviz (e.g. headers and libraries available in
expected locations). The legacy Autotools check targets gave the incorrect
impression that this was the current test suite and it was expected to pass. It
has not been possible to run these legacy test scripts for a long time.
This commit removes the legacy testing pieces to avoid future confusion. In
future it may be useful to plumb the current Pytest test suite to the Autotools
post-install test targets (`make installcheck`).
Closes #2112.
Matthew Fernandez [Sun, 5 Sep 2021 17:51:22 +0000 (17:51 +0000)]
Merge branch 'smattr/
24AB31CD -C80E-4E3C-905F-
C63B2C4382DD ' into 'main'
some typo fixes
See merge request graphviz/graphviz!2133
Matthew Fernandez [Wed, 1 Sep 2021 14:56:20 +0000 (07:56 -0700)]
ps_font_equiv.h: remove unused 'DARWIN' branch
The macro defined on macOS is `__APPLE__`, not `DARWIN`. The build system
conditionally defines `DARWIN`, but config.h is not included in this file so
that has no effect. The else case of this logic is the same as the `DARWIN` case
so removing this has no effect.
Matthew Fernandez [Wed, 1 Sep 2021 14:54:22 +0000 (07:54 -0700)]
fix message typo in D bindings configuration
Matthew Fernandez [Wed, 1 Sep 2021 14:53:39 +0000 (07:53 -0700)]
remove Fedora 26 legacy comment
Matthew Fernandez [Sat, 4 Sep 2021 17:10:06 +0000 (17:10 +0000)]
Merge branch 'smattr/
623e3f1a -6199-44f5-9e36-
ee92e01a7630 ' into 'main'
fix various problems with the Javascript bindings
See merge request graphviz/graphviz!2129
Matthew Fernandez [Tue, 31 Aug 2021 03:35:24 +0000 (20:35 -0700)]
default the Javascript bindings to JSC
SWIG is capable of targeting three Javascript runtimes when generating code:
JSC, V8, and NodeJS. One of these needs to be selected at generation time; there
is no default. In future it may be desirable to target the more popular of
these, NodeJS, but for now we leave it with the traditional JSC.
There are still multiple blockers to enabling this fully in the build system:
1. The configuration setup checks for a `js` binary. I do not know what this
is. Maybe it is intending to check for `jsc`, the JSC compiler?
2. Even if that were true, this is the wrong thing to check for. Generation of
bindings and their compilation requires not a Javascript compiler but the
runtime’s C/C++ headers. For JSC, JavaScriptCore/JavaScript.h.
Matthew Fernandez [Tue, 31 Aug 2021 03:10:08 +0000 (20:10 -0700)]
use a less error prone pattern for output filenames in the bindings Makefile
Matthew Fernandez [Tue, 31 Aug 2021 03:02:39 +0000 (20:02 -0700)]
fix Javascript binding generation
This appears to have been copied from D bindings without updating the output
filename.
Matthew Fernandez [Tue, 31 Aug 2021 02:59:20 +0000 (19:59 -0700)]
fix various typos in Javascript bindings configuration
This appears to have been copied from the D bindings in
aebb9927a3670e02a0c3e83933dfea3c7bf8dbbe , with numerous text chunks taken
verbatim.
Matthew Fernandez [Sat, 4 Sep 2021 16:14:56 +0000 (16:14 +0000)]
Merge branch 'smattr/
F500167B -4E3B-48CB-B3CC-
D74707171300 ' into 'main'
yet more Pylint warning squashing
See merge request graphviz/graphviz!2136
Matthew Fernandez [Thu, 2 Sep 2021 03:32:52 +0000 (20:32 -0700)]
test_shapes.py: address missing docstrings
Matthew Fernandez [Thu, 2 Sep 2021 03:30:41 +0000 (20:30 -0700)]
rtest.py: remove shadowing of 'TEST'
Matthew Fernandez [Thu, 2 Sep 2021 03:28:39 +0000 (20:28 -0700)]
rtest.py: remove 'OUTDIR' parameter to 'doDiff'
This parameter is available as a global. This change removes a Pylint
redefined-outer-name warning.
Matthew Fernandez [Thu, 2 Sep 2021 03:26:54 +0000 (20:26 -0700)]
rtest.py: remove 'REFDIR' parameter to 'doDiff'
This parameter is available as a global. This change removes a Pylint
redefined-outer-name warning and a Pylint too-many-arguments warning.
Matthew Fernandez [Thu, 2 Sep 2021 03:22:31 +0000 (20:22 -0700)]
rtest.py: remove unused TESTNAME
Every usage of this within this file is actually referring to a closer variable
that shadows this global.
Matthew Fernandez [Thu, 2 Sep 2021 03:18:17 +0000 (20:18 -0700)]
rtest.py: address Pylint missing-function-docstring warnings
Matthew Fernandez [Thu, 2 Sep 2021 03:13:24 +0000 (20:13 -0700)]
shapes.py: remove variable shadowing
Squashes Pylint redefined-outer-name warnings.
Matthew Fernandez [Sat, 4 Sep 2021 04:22:29 +0000 (04:22 +0000)]
Merge branch 'smattr/
07ffb8b9 -aba1-45d9-a6b4-
abf34e9278e4 ' into 'main'
ellipse.c clean up
See merge request graphviz/graphviz!2125
Matthew Fernandez [Sun, 29 Aug 2021 19:36:47 +0000 (12:36 -0700)]
change ellipse.c #if STANDALONE to #ifdef
From later usage of this macro in the same file, it looks like this is what was
intended. Squashes a -Wundef build warning.
Matthew Fernandez [Sun, 29 Aug 2021 19:33:08 +0000 (12:33 -0700)]
genEllipticPath: remove shadowing of 'etaB' variable
Matthew Fernandez [Sun, 29 Aug 2021 19:31:56 +0000 (12:31 -0700)]
genEllipticPath: remove shadowing of 'dEta' variable
Matthew Fernandez [Sun, 29 Aug 2021 19:30:21 +0000 (12:30 -0700)]
endPath: remove shadowing of global 'path' variable
Matthew Fernandez [Sun, 29 Aug 2021 19:29:36 +0000 (12:29 -0700)]
curveTo: remove shadowing of global 'path' variable
Matthew Fernandez [Sun, 29 Aug 2021 19:27:57 +0000 (12:27 -0700)]
lineTo: remove shadowing of global 'path' variable
Matthew Fernandez [Sun, 29 Aug 2021 19:27:05 +0000 (12:27 -0700)]
moveTo: remove shadowing of global 'path' variable
Matthew Fernandez [Sun, 29 Aug 2021 19:23:37 +0000 (12:23 -0700)]
genEllipticPath: remove shadowing of global 'path' variable
Matthew Fernandez [Sun, 29 Aug 2021 19:20:25 +0000 (12:20 -0700)]
remove some unused struct names
Matthew Fernandez [Sun, 29 Aug 2021 19:18:02 +0000 (12:18 -0700)]
genEllipticPath: remove 'degree' parameter
This function is only ever called with the argument 3.
Matthew Fernandez [Sun, 29 Aug 2021 19:08:31 +0000 (12:08 -0700)]
genEllipticPath: remove 'threshold' parameter
This is always called with the same threshold.
Matthew Fernandez [Sun, 29 Aug 2021 19:05:58 +0000 (12:05 -0700)]
remove now-unused hand rolled boolean type
Matthew Fernandez [Sun, 29 Aug 2021 19:05:26 +0000 (12:05 -0700)]
endPath: remove 'close' parameter
This function is only ever called with the argument true.
Matthew Fernandez [Sun, 29 Aug 2021 19:04:10 +0000 (12:04 -0700)]
genEllipticPath: remove 'isSlice' parameter
This function is only ever called with the argument true.
Matthew Fernandez [Sun, 29 Aug 2021 19:01:20 +0000 (12:01 -0700)]
genEllipticPath: remove unnecessary bracketing
Matthew Fernandez [Sun, 29 Aug 2021 18:58:51 +0000 (11:58 -0700)]
genEllipticPath: use a C99 bool instead of boolean type
Matthew Fernandez [Sat, 4 Sep 2021 03:26:15 +0000 (03:26 +0000)]
Merge branch 'smattr/
CC730FC7 -8FD1-477A-B0A9-
3F40CD40836A ' into 'main'
clean up in lib/common
See merge request graphviz/graphviz!2126
Matthew Fernandez [Mon, 30 Aug 2021 00:38:47 +0000 (17:38 -0700)]
findStopColor: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:38:11 +0000 (17:38 -0700)]
gvRenderJobs: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:37:15 +0000 (17:37 -0700)]
style_token: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:36:09 +0000 (17:36 -0700)]
emit_clusters: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:33:29 +0000 (17:33 -0700)]
init_job_viewport: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:31:38 +0000 (17:31 -0700)]
init_job_dpi: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:30:47 +0000 (17:30 -0700)]
init_gvc: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:29:55 +0000 (17:29 -0700)]
xdotBB: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:28:41 +0000 (17:28 -0700)]
expandBB: rephrase open coding to fmax, fmin
Matthew Fernandez [Mon, 30 Aug 2021 00:26:17 +0000 (17:26 -0700)]
emit_edge_label: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:25:26 +0000 (17:25 -0700)]
remove unnecessary void* casts in calls to strdup_and_subst_obj
These pointers implicitly coerce.
Matthew Fernandez [Mon, 30 Aug 2021 00:25:08 +0000 (17:25 -0700)]
emit_begin_edge: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:21:19 +0000 (17:21 -0700)]
emit_edge_graphics: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:19:47 +0000 (17:19 -0700)]
taperfun: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:19:20 +0000 (17:19 -0700)]
bothfunc: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:18:34 +0000 (17:18 -0700)]
nonefunc: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:18:15 +0000 (17:18 -0700)]
revfunc: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:17:39 +0000 (17:17 -0700)]
forfunc: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:16:59 +0000 (17:16 -0700)]
multicolor: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:15:05 +0000 (17:15 -0700)]
emit_attachment: use a more appropriate type for 's' local
Matthew Fernandez [Mon, 30 Aug 2021 00:12:02 +0000 (17:12 -0700)]
emit_node: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:11:25 +0000 (17:11 -0700)]
emit_begin_node: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:09:58 +0000 (17:09 -0700)]
setup_page: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:08:35 +0000 (17:08 -0700)]
emit_xdot: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:05:37 +0000 (17:05 -0700)]
init_job_pagination: use fmax instead of open coding
Matthew Fernandez [Mon, 30 Aug 2021 00:05:26 +0000 (17:05 -0700)]
init_job_pagination: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:01:19 +0000 (17:01 -0700)]
firstlayer: remove unnecessary bracketing
Matthew Fernandez [Mon, 30 Aug 2021 00:00:08 +0000 (17:00 -0700)]
init_layering: remove unnecessary bracketing
Matthew Fernandez [Sun, 29 Aug 2021 23:58:58 +0000 (16:58 -0700)]
map_output_bspline: remove unnecessary bracketing
Matthew Fernandez [Sun, 29 Aug 2021 23:58:09 +0000 (16:58 -0700)]
bisect: remove unnecessary bracketing
Matthew Fernandez [Sun, 29 Aug 2021 23:55:52 +0000 (16:55 -0700)]
isFilled: return a C99 bool instead of int
Matthew Fernandez [Sun, 29 Aug 2021 23:52:34 +0000 (16:52 -0700)]
rename 'ifFilled' to 'isFilled'
From the leading comment, this is what it was intended to be called.
Matthew Fernandez [Sun, 29 Aug 2021 23:51:37 +0000 (16:51 -0700)]
stripedBox: remove unnecessary bracketing
Matthew Fernandez [Sun, 29 Aug 2021 23:50:58 +0000 (16:50 -0700)]
wedgedEllipse: remove unnecessary bracketing
Matthew Fernandez [Sun, 29 Aug 2021 23:49:08 +0000 (16:49 -0700)]
checkClusterStyle: remove unnecessary bracketing
Matthew Fernandez [Sun, 29 Aug 2021 23:47:46 +0000 (16:47 -0700)]
getObjId: remove unnecessary bracketing
Matthew Fernandez [Sun, 29 Aug 2021 23:47:08 +0000 (16:47 -0700)]
layerPagePrefix: remove unnecessary bracketing
Matthew Fernandez [Sun, 29 Aug 2021 23:45:55 +0000 (16:45 -0700)]
colorseg_t: use a C99 bool for 'hasFraction' field
Matthew Fernandez [Sun, 29 Aug 2021 23:45:14 +0000 (16:45 -0700)]
isRect: remove unnecessary bracketing
Matthew Fernandez [Sun, 29 Aug 2021 23:44:45 +0000 (16:44 -0700)]
isRect: use a C99 bool return type instead of boolean
Matthew Fernandez [Sun, 29 Aug 2021 23:43:51 +0000 (16:43 -0700)]
interpretCRNL: use a C99 bool for 'backslash_seen' local
Matthew Fernandez [Sun, 29 Aug 2021 23:43:10 +0000 (16:43 -0700)]
remove some open coded NULLs
Matthew Fernandez [Sun, 29 Aug 2021 23:41:27 +0000 (16:41 -0700)]
parse_style: use a C99 bool for 'in_parens' local
Matthew Fernandez [Sun, 29 Aug 2021 23:40:31 +0000 (16:40 -0700)]
parse_style: use a C99 bool for 'is_first' local
Matthew Fernandez [Sun, 29 Aug 2021 23:39:39 +0000 (16:39 -0700)]
is_style_delim: use a C99 bool return type instead of boolean
Matthew Fernandez [Sun, 29 Aug 2021 23:38:37 +0000 (16:38 -0700)]
nodeIntersect: use a C99 bool for 'explicit' local
Matthew Fernandez [Sun, 29 Aug 2021 23:37:32 +0000 (16:37 -0700)]
emit_edge_graphics: use a C99 bool for 'tapered' local
Matthew Fernandez [Sun, 29 Aug 2021 23:36:47 +0000 (16:36 -0700)]
node_in_box: use a C99 bool return type instead of boolean
Matthew Fernandez [Sun, 29 Aug 2021 23:35:53 +0000 (16:35 -0700)]
clust_in_layer: use a C99 bool return type instead of boolean
Matthew Fernandez [Sun, 29 Aug 2021 23:35:05 +0000 (16:35 -0700)]
edge_in_layer: remove unnecessary bracketing
Matthew Fernandez [Sun, 29 Aug 2021 23:34:42 +0000 (16:34 -0700)]
edge_in_layer: use a C99 bool return type instead of boolean
Matthew Fernandez [Sun, 29 Aug 2021 23:34:01 +0000 (16:34 -0700)]
node_in_layer: remove unnecessary bracketing
Matthew Fernandez [Sun, 29 Aug 2021 23:33:38 +0000 (16:33 -0700)]
node_in_layer: use a C99 bool return type instead of boolean
Matthew Fernandez [Sun, 29 Aug 2021 23:32:45 +0000 (16:32 -0700)]
write_node_test: use a C99 bool return type instead of boolean
Matthew Fernandez [Sun, 29 Aug 2021 23:32:10 +0000 (16:32 -0700)]
write_edge_test: use a C99 bool return type instead of boolean
Matthew Fernandez [Sun, 29 Aug 2021 23:31:34 +0000 (16:31 -0700)]
validpage: remove unnecessary bracketing
Matthew Fernandez [Sun, 29 Aug 2021 23:30:57 +0000 (16:30 -0700)]
validpage: use a C99 bool return type instead of boolean
Matthew Fernandez [Sun, 29 Aug 2021 23:30:16 +0000 (16:30 -0700)]
validlayer: remove unnecessary bracketing
Matthew Fernandez [Sun, 29 Aug 2021 23:29:57 +0000 (16:29 -0700)]
validlayer: use a C99 bool return type instead of boolean