]> granicus.if.org Git - graphviz/log
graphviz
3 years agoremove unused IntegerVector
Matthew Fernandez [Sat, 26 Jun 2021 04:56:45 +0000 (21:56 -0700)]
remove unused IntegerVector

3 years agoremove unused SparseMatrix_pseudo_diameter_weighted
Matthew Fernandez [Sat, 26 Jun 2021 04:48:29 +0000 (21:48 -0700)]
remove unused SparseMatrix_pseudo_diameter_weighted

3 years agoremove unused SparseMatrix_pseudo_diameter_unweighted
Matthew Fernandez [Sat, 26 Jun 2021 04:43:15 +0000 (21:43 -0700)]
remove unused SparseMatrix_pseudo_diameter_unweighted

3 years agoremove pattern_symmetric_only parameter to SparseMatrix_symmetrize_nodiag
Matthew Fernandez [Sat, 26 Jun 2021 04:33:21 +0000 (21:33 -0700)]
remove pattern_symmetric_only parameter to SparseMatrix_symmetrize_nodiag

This function is only called with FALSE for this argument, so we can propagate
it through and remove the parameter.

3 years agoremove duplicate palette_grey_to_red
Matthew Fernandez [Sat, 26 Jun 2021 04:25:20 +0000 (21:25 -0700)]
remove duplicate palette_grey_to_red

3 years agoremove another unused MAXINT
Matthew Fernandez [Sat, 26 Jun 2021 04:19:29 +0000 (21:19 -0700)]
remove another unused MAXINT

3 years agoremove unused MAXINT
Matthew Fernandez [Sat, 26 Jun 2021 04:18:30 +0000 (21:18 -0700)]
remove unused MAXINT

3 years agoremove unused vector_subtract_from
Matthew Fernandez [Sat, 26 Jun 2021 04:17:00 +0000 (21:17 -0700)]
remove unused vector_subtract_from

3 years agoremove unused vector_add_to
Matthew Fernandez [Sat, 26 Jun 2021 04:15:43 +0000 (21:15 -0700)]
remove unused vector_add_to

3 years agoMerge branch 'smattr/584ca143-13f9-4b18-aecc-1195d5de7644' into 'main'
Matthew Fernandez [Wed, 30 Jun 2021 03:21:51 +0000 (03:21 +0000)]
Merge branch 'smattr/584ca143-13f9-4b18-aecc-1195d5de7644' into 'main'

clean up in lib/common

See merge request graphviz/graphviz!2018

3 years agoreflow some routespl.c code for readability
Matthew Fernandez [Sat, 26 Jun 2021 03:30:48 +0000 (20:30 -0700)]
reflow some routespl.c code for readability

3 years agoremove dead code in get_centroid
Matthew Fernandez [Sat, 26 Jun 2021 03:12:54 +0000 (20:12 -0700)]
remove dead code in get_centroid

The preceding return statement ensures none of the latter part of the function
is reachable. This was introduced in 05674ae147c14ec4ec74b2b6771e04e0c82209b8
and seemingly never noticed.

This commit also drops now-unused variables, as well as the static qualifier
from sum. It is not clear to me what the purpose of making sum static was. It is
a small struct and both its fields are overwritten immediately when entering
this function, so there is no value to retaining it across calls or
BSS-allocating it.

3 years agoremove a micro-optimization in checkpath
Matthew Fernandez [Sat, 26 Jun 2021 03:11:49 +0000 (20:11 -0700)]
remove a micro-optimization in checkpath

Self-stores like this are effectively free on a modern CPU. The branch guarding
this store is more costly than the store itself.

3 years agouse C99 booleans to clarify some ambiguous types in routespl.c
Matthew Fernandez [Sat, 26 Jun 2021 03:11:20 +0000 (20:11 -0700)]
use C99 booleans to clarify some ambiguous types in routespl.c

3 years agoremove unnecessary bracketing in lib/common/routespl.c
Matthew Fernandez [Sat, 26 Jun 2021 02:59:10 +0000 (19:59 -0700)]
remove unnecessary bracketing in lib/common/routespl.c

3 years agoremove casts of vec_get’s return value
Matthew Fernandez [Sat, 26 Jun 2021 02:58:18 +0000 (19:58 -0700)]
remove casts of vec_get’s return value

The vec_get function returns a void* that implicitly coerces to other pointer
types.

3 years agocondense some compound assignments
Matthew Fernandez [Sat, 26 Jun 2021 02:57:29 +0000 (19:57 -0700)]
condense some compound assignments

3 years agoremove __CYCLE_CENTROID and conditional code for when it is undefined
Matthew Fernandez [Sat, 26 Jun 2021 02:51:00 +0000 (19:51 -0700)]
remove __CYCLE_CENTROID and conditional code for when it is undefined

This was unconditionally defined, so remove the alternative that is always
disabled.

3 years agorephrase open coded fmax/fmin in checkpath
Matthew Fernandez [Sat, 26 Jun 2021 02:45:08 +0000 (19:45 -0700)]
rephrase open coded fmax/fmin in checkpath

3 years ago_routesplines: remove unnecessary cast
Matthew Fernandez [Sat, 26 Jun 2021 02:30:07 +0000 (19:30 -0700)]
_routesplines: remove unnecessary cast

pp->data is a void*, which implicitly coerces to a edge_t*.

3 years agoremove commented out code in lib/common
Matthew Fernandez [Sat, 26 Jun 2021 02:26:28 +0000 (19:26 -0700)]
remove commented out code in lib/common

3 years agoremove DONTFIXPATH guards
Matthew Fernandez [Sat, 26 Jun 2021 02:22:41 +0000 (19:22 -0700)]
remove DONTFIXPATH guards

These guards were present in the very first revision of Graphviz, but nothing
has ever defined them.

3 years agoremove NOTNOW-guarded code
Matthew Fernandez [Sat, 26 Jun 2021 02:19:41 +0000 (19:19 -0700)]
remove NOTNOW-guarded code

Nothing in the build defines this.

3 years agoMerge branch 'fix-typos-GD_LIBS-to-GDLIB_LIBS' into 'main'
Matthew Fernandez [Tue, 29 Jun 2021 15:42:50 +0000 (15:42 +0000)]
Merge branch 'fix-typos-GD_LIBS-to-GDLIB_LIBS' into 'main'

Fix a typo GD_LIBS to GDLIB_LIBS in tclpkg/tcldot/Makefile.am

See merge request graphviz/graphviz!2022

3 years agoadd a CHANGELOG.md entry for the GTK→GDLIB change
Matthew Fernandez [Tue, 29 Jun 2021 14:56:18 +0000 (07:56 -0700)]
add a CHANGELOG.md entry for the GTK→GDLIB change

This fix and the GD_LIBS→GDLIB_LIBS fix are both addressing problems that were
introduced in 3fcf096870bffa7d21fceecb56ba26e925073ecb.

3 years agomove GD_LIBS typo fix to Fixes section of CHANGELOG.md
Matthew Fernandez [Tue, 29 Jun 2021 14:52:46 +0000 (07:52 -0700)]
move GD_LIBS typo fix to Fixes section of CHANGELOG.md

3 years agorealign configure.ac after removal of $with_gd conditional
Matthew Fernandez [Tue, 29 Jun 2021 14:51:21 +0000 (07:51 -0700)]
realign configure.ac after removal of $with_gd conditional

3 years agoAvoid cases where `$with_libgd = yes` in spite of `$use_gd != Yes`
Lemures Lemniscati [Mon, 28 Jun 2021 09:14:39 +0000 (18:14 +0900)]
Avoid cases where `$with_libgd = yes` in spite of `$use_gd != Yes`

Such cases would have occurred when
the first `test "x$use_gd" = "x"` [1] is true
and then the third `test "x$use_gd" = "x"` [2] is false.

[1]: Just before `PKG_CHECK_MODULES([GDLIB], [gdlib >= 2.0.33],[`
[2]: Just before `# see if we can use the external gd lib`

3 years agoRemove a redundant `if`-conditional, which is always true in its scope
Lemures Lemniscati [Mon, 28 Jun 2021 09:14:38 +0000 (18:14 +0900)]
Remove a redundant `if`-conditional, which is always true in its scope

3 years agoFix a typo `GDK` to `[GDLIB]` in a call `PKG_CHECK_MODULES()`
Lemures Lemniscati [Mon, 28 Jun 2021 09:14:37 +0000 (18:14 +0900)]
Fix a typo `GDK` to `[GDLIB]` in a call `PKG_CHECK_MODULES()`

3 years agoRemove a redundant arg `$GD_LIBS`
Lemures Lemniscati [Mon, 28 Jun 2021 09:14:36 +0000 (18:14 +0900)]
Remove a redundant arg `$GD_LIBS`

It might be a typo of `$GDLIB_LIBS`,
and, if so, it is redundant, since `$LDFLAGS` contains `$GDLIB_LIBS`.

3 years agoUpdate CHANGELOG.md
Lemures Lemniscati [Sun, 27 Jun 2021 08:27:48 +0000 (17:27 +0900)]
Update CHANGELOG.md

For https://gitlab.com/graphviz/graphviz/-/merge_requests/2022

3 years agoFix a typo GD_LIBS to GDLIB_LIBS in tclpkg/tcldot/Makefile.am
Lemures Lemniscati [Sun, 27 Jun 2021 08:27:47 +0000 (17:27 +0900)]
Fix a typo GD_LIBS to GDLIB_LIBS in tclpkg/tcldot/Makefile.am

3 years agoMerge branch 'smattr/EFF6337A-A391-409A-9B11-F11C26A76481' into 'main'
Matthew Fernandez [Sat, 26 Jun 2021 23:23:34 +0000 (23:23 +0000)]
Merge branch 'smattr/EFF6337A-A391-409A-9B11-F11C26A76481' into 'main'

CMake: when finding Bison, require ≥3.0

Closes #1916

See merge request graphviz/graphviz!2008

3 years agoCMake: when finding Bison, require ≥3.0
Matthew Fernandez [Sun, 20 Jun 2021 20:07:10 +0000 (13:07 -0700)]
CMake: when finding Bison, require ≥3.0

Commit 4a13c9598ad3d950a251e5d3e5be8d05c59c6214 made the minimum Bison baseline
3.0. This change teaches CMake ths constraint, so using a version of Bison <3.0
now results in a clearer error during configuration rather than a cryptic
failure during build. Closes #1916.

3 years agoMerge branch 'smattr/5c6b4c6f-b22b-49a6-8607-7a4b5caa120a' into 'main'
Matthew Fernandez [Sat, 26 Jun 2021 22:13:43 +0000 (22:13 +0000)]
Merge branch 'smattr/5c6b4c6f-b22b-49a6-8607-7a4b5caa120a' into 'main'

clean up in lib/edgepaint

See merge request graphviz/graphviz!2007

3 years agoremove color_diff and color_diff_sum computation from node_distinct_coloring
Matthew Fernandez [Sun, 20 Jun 2021 19:30:39 +0000 (12:30 -0700)]
remove color_diff and color_diff_sum computation from node_distinct_coloring

Neither of the callers of this function use the results returned in these output
parameters.

3 years agoremove commented out code in node_distinct_coloring.c
Matthew Fernandez [Sun, 20 Jun 2021 19:01:06 +0000 (12:01 -0700)]
remove commented out code in node_distinct_coloring.c

3 years agoremove some variable shadowing in node_distinct_coloring_internal2
Matthew Fernandez [Sun, 20 Jun 2021 18:59:51 +0000 (11:59 -0700)]
remove some variable shadowing in node_distinct_coloring_internal2

Squashes two -Wshadow warnings.

3 years agoremove unused x parameter to splines_intersect
Matthew Fernandez [Sun, 20 Jun 2021 18:52:33 +0000 (11:52 -0700)]
remove unused x parameter to splines_intersect

3 years agoremove unused color_blend_rgb
Matthew Fernandez [Sun, 20 Jun 2021 18:50:14 +0000 (11:50 -0700)]
remove unused color_blend_rgb

3 years agoremove unused color_blend_rgbstring
Matthew Fernandez [Sun, 20 Jun 2021 18:49:05 +0000 (11:49 -0700)]
remove unused color_blend_rgbstring

3 years agoreturn errors from node_distinct_coloring via the return value, rather than flag
Matthew Fernandez [Sun, 20 Jun 2021 18:47:58 +0000 (11:47 -0700)]
return errors from node_distinct_coloring via the return value, rather than flag

This makes things simpler for readers, callers, as well as the compiler.

3 years agoremove commented out code in edge_distinct_coloring.c
Matthew Fernandez [Sun, 20 Jun 2021 18:39:52 +0000 (11:39 -0700)]
remove commented out code in edge_distinct_coloring.c

3 years agoremove unused lab_gamut_from_file
Matthew Fernandez [Sun, 20 Jun 2021 18:36:50 +0000 (11:36 -0700)]
remove unused lab_gamut_from_file

3 years agofix: incorrect failure diagnosis in lab_gamut_quadtree call
Matthew Fernandez [Sun, 20 Jun 2021 18:34:35 +0000 (11:34 -0700)]
fix: incorrect failure diagnosis in lab_gamut_quadtree call

This function can only fail due to exhausting memory, not due to the lab_gamut
file failing to be opened. As per the previous commit, this file is no longer
relevant as the gamut information is in the source itself.

3 years agoremove unused gamut_file parameter to lab_gamut_quadtree
Matthew Fernandez [Sun, 20 Jun 2021 18:23:31 +0000 (11:23 -0700)]
remove unused gamut_file parameter to lab_gamut_quadtree

Commit 5649b9fa3dd7699750cfd69753ab4d54d29e469f added the gamut data in the
source code itself, so it does not need to be read in from a file.

3 years agoMerge branch 'smattr/2738CB52-612E-47E9-8950-4DA41DAB9A7D' into 'main'
Matthew Fernandez [Sat, 26 Jun 2021 20:06:30 +0000 (20:06 +0000)]
Merge branch 'smattr/2738CB52-612E-47E9-8950-4DA41DAB9A7D' into 'main'

some clean up around usage of zmalloc

See merge request graphviz/graphviz!2010

3 years agoremove some commented out code in gvusershape_open
Matthew Fernandez [Mon, 21 Jun 2021 00:54:01 +0000 (17:54 -0700)]
remove some commented out code in gvusershape_open

3 years agoremove unnecessary cast in gvusershape_open
Matthew Fernandez [Mon, 21 Jun 2021 00:52:33 +0000 (17:52 -0700)]
remove unnecessary cast in gvusershape_open

The result of find_user_shape, shape_desc*, implicitly coerces to void*.

3 years agoremove redundant error check in gvusershape_open
Matthew Fernandez [Mon, 21 Jun 2021 00:50:58 +0000 (17:50 -0700)]
remove redundant error check in gvusershape_open

The zmalloc function calls exit() on failure, so there is not need to check its
return value for out-of-memory.

3 years agoremove unnecessary cast in gvjobs_next
Matthew Fernandez [Mon, 21 Jun 2021 00:49:53 +0000 (17:49 -0700)]
remove unnecessary cast in gvjobs_next

The result of zmalloc, void*, implicitly coerces to all other pointer types.

3 years agoremove redundant error check in gvNEWcontext
Matthew Fernandez [Mon, 21 Jun 2021 00:48:41 +0000 (17:48 -0700)]
remove redundant error check in gvNEWcontext

The zmalloc function calls exit() on failure, so there is not need to check its
return value for out-of-memory.

3 years agoremove redundant error check in push_obj_state
Matthew Fernandez [Mon, 21 Jun 2021 00:47:31 +0000 (17:47 -0700)]
remove redundant error check in push_obj_state

The zmalloc function calls exit() on failure, so there is not need to check its
return value for out-of-memory.

3 years agoMerge branch 'smattr/3FE7CC37-7FE8-4BD6-9C4E-C4A17C4ACB68' into 'main'
Matthew Fernandez [Sat, 26 Jun 2021 18:44:53 +0000 (18:44 +0000)]
Merge branch 'smattr/3FE7CC37-7FE8-4BD6-9C4E-C4A17C4ACB68' into 'main'

introduce branch-tuning support

See merge request graphviz/graphviz!2011

3 years agomark verbose reporting in gvParseArgs as unlikely
Matthew Fernandez [Mon, 21 Jun 2021 00:44:59 +0000 (17:44 -0700)]
mark verbose reporting in gvParseArgs as unlikely

This indicates to the compiler it should predict the condition of this branch as
false in its optimization choices.

3 years agoadd macros for branch-tuning optimization
Matthew Fernandez [Mon, 21 Jun 2021 00:40:20 +0000 (17:40 -0700)]
add macros for branch-tuning optimization

3 years agoMerge branch 'smattr/D9E1B66F-05C1-4156-960B-F48BF3FA06EC' into 'main'
Matthew Fernandez [Sat, 26 Jun 2021 17:28:07 +0000 (17:28 +0000)]
Merge branch 'smattr/D9E1B66F-05C1-4156-960B-F48BF3FA06EC' into 'main'

add a better way of indicating unreachable code

See merge request graphviz/graphviz!2009

3 years agofix some comment typos
Matthew Fernandez [Sun, 20 Jun 2021 21:18:12 +0000 (14:18 -0700)]
fix some comment typos

3 years agoswap assertion in agdelrec for a call to UNREACHABLE
Matthew Fernandez [Sun, 20 Jun 2021 21:16:24 +0000 (14:16 -0700)]
swap assertion in agdelrec for a call to UNREACHABLE

This removes some -Wstring-conversion warnings when building with Clang, due to
the expression `!"unreachable"`. It also teaches the compiler it can more
aggressively optimize this switch.

3 years agoswap assertion in setattr for a call to UNREACHABLE
Matthew Fernandez [Sun, 20 Jun 2021 21:11:33 +0000 (14:11 -0700)]
swap assertion in setattr for a call to UNREACHABLE

This removes some -Wstring-conversion warnings when building with Clang, due to
the expression `!"unreachable"`. It also teaches the compiler it can more
aggressively optimize this switch.

3 years agoadd a macro for optimizing unreachable code
Matthew Fernandez [Sun, 20 Jun 2021 21:09:41 +0000 (14:09 -0700)]
add a macro for optimizing unreachable code

3 years agoMerge branch 'smattr/C266706C-CF93-4076-8F45-297A35F08DDC' into 'main'
Matthew Fernandez [Sat, 26 Jun 2021 16:39:44 +0000 (16:39 +0000)]
Merge branch 'smattr/C266706C-CF93-4076-8F45-297A35F08DDC' into 'main'

only enable -Wtrampolines and -Wlogical-op for compilers that support them

Closes #2066

See merge request graphviz/graphviz!2004

3 years agoonly enable -Wtrampolines and -Wlogical-op for compilers that support them
Matthew Fernandez [Fri, 18 Jun 2021 15:07:27 +0000 (08:07 -0700)]
only enable -Wtrampolines and -Wlogical-op for compilers that support them

This fixes an issue where these flags were enabled for Clang, despite it not
supporting them. This did not fail the build, but produced a lot of noisy
warning output about unsupported flags. Closes #2066.

3 years agoMerge branch 'smattr/d7229a4a-c7dd-4aaa-bbd2-016b3839b8e1' into 'main'
Matthew Fernandez [Sat, 26 Jun 2021 05:15:33 +0000 (05:15 +0000)]
Merge branch 'smattr/d7229a4a-c7dd-4aaa-bbd2-016b3839b8e1' into 'main'

test cases for ortho routing bugs and typo fix in eqEndSeg

Closes #2047

See merge request graphviz/graphviz!2006

3 years agoremove excess bracketing in eqEndSeg
Matthew Fernandez [Sat, 19 Jun 2021 20:19:04 +0000 (13:19 -0700)]
remove excess bracketing in eqEndSeg

3 years agofix typo in eqEndSeg
Matthew Fernandez [Sat, 19 Jun 2021 20:16:56 +0000 (13:16 -0700)]
fix typo in eqEndSeg

This fixes a typo which was causing this function to check equality incorrectly.
Unfortunately this seems to have no effect on any open ortho-related bugs.
Closes #2047.

3 years agoadd a test case for #144
Matthew Fernandez [Sat, 19 Jun 2021 18:41:24 +0000 (11:41 -0700)]
add a test case for #144

3 years agoadd a test case for #1658
Matthew Fernandez [Sat, 19 Jun 2021 18:00:39 +0000 (11:00 -0700)]
add a test case for #1658

3 years agoadd a test case for #56
Matthew Fernandez [Sat, 19 Jun 2021 17:56:56 +0000 (10:56 -0700)]
add a test case for #56

3 years agoadd a test case for #1880
Matthew Fernandez [Sat, 19 Jun 2021 17:55:00 +0000 (10:55 -0700)]
add a test case for #1880

3 years agoadd a test case for #1856
Matthew Fernandez [Sat, 19 Jun 2021 17:51:34 +0000 (10:51 -0700)]
add a test case for #1856

3 years agoadd a test case for #1990
Matthew Fernandez [Sat, 19 Jun 2021 17:01:22 +0000 (10:01 -0700)]
add a test case for #1990

3 years agoadd a test case for #14
Matthew Fernandez [Sat, 19 Jun 2021 16:57:46 +0000 (09:57 -0700)]
add a test case for #14

3 years agoadd a test case for #1408
Matthew Fernandez [Sat, 19 Jun 2021 16:53:25 +0000 (09:53 -0700)]
add a test case for #1408

3 years agoMerge branch 'smattr/d00934a1-c2db-4d93-b033-bfda973477bf' into 'main'
Matthew Fernandez [Sat, 26 Jun 2021 03:47:34 +0000 (03:47 +0000)]
Merge branch 'smattr/d00934a1-c2db-4d93-b033-bfda973477bf' into 'main'

more clean up in lib/sparse

See merge request graphviz/graphviz!2005

3 years agoremove unused SparseMatrix_scaled_by_vector
Matthew Fernandez [Sat, 19 Jun 2021 21:14:37 +0000 (14:14 -0700)]
remove unused SparseMatrix_scaled_by_vector

3 years agoremove unused lib/sparse macros
Matthew Fernandez [Sat, 19 Jun 2021 21:07:01 +0000 (14:07 -0700)]
remove unused lib/sparse macros

3 years agoremove unused dump_coordinates
Matthew Fernandez [Sat, 19 Jun 2021 21:01:28 +0000 (14:01 -0700)]
remove unused dump_coordinates

3 years agoremove unused SparseMatrix_read_dot
Matthew Fernandez [Sat, 19 Jun 2021 21:00:22 +0000 (14:00 -0700)]
remove unused SparseMatrix_read_dot

3 years agoremove prototype for unimplemented function
Matthew Fernandez [Sat, 19 Jun 2021 20:58:53 +0000 (13:58 -0700)]
remove prototype for unimplemented function

This function was removed in 32ad37113a52a6818b19c6ab0554bed224da2a1d, but its
prototype was left behind.

3 years agoremove unused makeDotGraph
Matthew Fernandez [Sat, 19 Jun 2021 20:50:25 +0000 (13:50 -0700)]
remove unused makeDotGraph

3 years agoremove unused convert_edge_labels_to_nodes
Matthew Fernandez [Sat, 19 Jun 2021 20:49:02 +0000 (13:49 -0700)]
remove unused convert_edge_labels_to_nodes

3 years agoremove unused assign_random_edge_color
Matthew Fernandez [Sat, 19 Jun 2021 20:48:00 +0000 (13:48 -0700)]
remove unused assign_random_edge_color

3 years agoremove unused edgelist_export
Matthew Fernandez [Sat, 19 Jun 2021 20:47:03 +0000 (13:47 -0700)]
remove unused edgelist_export

3 years agoremove unused hue2rgb_real
Matthew Fernandez [Sat, 19 Jun 2021 20:44:37 +0000 (13:44 -0700)]
remove unused hue2rgb_real

3 years agoMerge branch 'smattr/4776D4AA-9B85-4010-BF10-ED5243311BE9' into 'main'
Matthew Fernandez [Sat, 26 Jun 2021 02:26:48 +0000 (02:26 +0000)]
Merge branch 'smattr/4776D4AA-9B85-4010-BF10-ED5243311BE9' into 'main'

clean up in lib/cgraph/io.c

See merge request graphviz/graphviz!2012

3 years agoUpdate CHANGELOG.md
Mark Hansen [Sat, 26 Jun 2021 01:17:46 +0000 (01:17 +0000)]
Update CHANGELOG.md

For https://gitlab.com/graphviz/graphviz/-/merge_requests/2017

3 years agoMerge branch 'fix-path-of-gvc.def' into 'main'
Mark Hansen [Sat, 26 Jun 2021 01:00:54 +0000 (01:00 +0000)]
Merge branch 'fix-path-of-gvc.def' into 'main'

Fix a path of gvc.def specified in libgvc_la_LDFLAGS (WITH_WIN32)

See merge request graphviz/graphviz!2017

3 years agoFix a path of gvc.def specified in libgvc_la_LDFLAGS (WITH_WIN32)
Lemures Lemniscati [Sat, 26 Jun 2021 00:20:02 +0000 (09:20 +0900)]
Fix a path of gvc.def specified in libgvc_la_LDFLAGS (WITH_WIN32)

3 years agoremove some unnecessary bracketing in memiofread
Matthew Fernandez [Tue, 22 Jun 2021 04:08:33 +0000 (21:08 -0700)]
remove some unnecessary bracketing in memiofread

3 years agoremove unnecessary cast in memiofread
Matthew Fernandez [Tue, 22 Jun 2021 04:06:41 +0000 (21:06 -0700)]
remove unnecessary cast in memiofread

A void* implicitly coerces to an rdr_t*.

3 years agoremove unnecessary cast in ioflush
Matthew Fernandez [Tue, 22 Jun 2021 04:05:58 +0000 (21:05 -0700)]
remove unnecessary cast in ioflush

The function fflush takes a FILE* to which void* implicitly coerces.

3 years agoremove unnecessary cast in ioputstr
Matthew Fernandez [Tue, 22 Jun 2021 04:05:18 +0000 (21:05 -0700)]
remove unnecessary cast in ioputstr

The function fputs takes a FILE* as its second argument, to which void*
implicitly coerces.

3 years agosquash a -Wsign-conversion warning in iofread
Matthew Fernandez [Tue, 22 Jun 2021 04:03:49 +0000 (21:03 -0700)]
squash a -Wsign-conversion warning in iofread

The preceding call to fgets can only have returned at most bufsize - 1
characters, so it is safe to downcast the size_t result of strlen to an int.

3 years agoremove unnecessary cast in iofread
Matthew Fernandez [Tue, 22 Jun 2021 04:03:05 +0000 (21:03 -0700)]
remove unnecessary cast in iofread

The function fgets takes a FILE* as its third argument, to which void*
implicitly coerces.

3 years agoMerge branch 'smattr/5a012c5d-e9c4-4395-97b1-ef472d03fc83' into 'main'
Matthew Fernandez [Fri, 25 Jun 2021 15:27:28 +0000 (15:27 +0000)]
Merge branch 'smattr/5a012c5d-e9c4-4395-97b1-ef472d03fc83' into 'main'

clean up in cmd/gvmap

See merge request graphviz/graphviz!2014

3 years agofix some comment typos
Matthew Fernandez [Wed, 23 Jun 2021 01:33:15 +0000 (18:33 -0700)]
fix some comment typos

3 years agoremove some unnecessary bracketing
Matthew Fernandez [Wed, 23 Jun 2021 01:32:22 +0000 (18:32 -0700)]
remove some unnecessary bracketing

3 years agoremove dynamic allocation capability of power_method for eigs
Matthew Fernandez [Wed, 23 Jun 2021 01:13:42 +0000 (18:13 -0700)]
remove dynamic allocation capability of power_method for eigs

The behavior to dynamically allocate memory for eigs was not documented (unlike
the parameter eigv). However, the only caller was not using this anyway. This
commit removes it to ease ongoing maintenance.