]> granicus.if.org Git - graphviz/log
graphviz
3 years agoremove use of int as size_t in colorxlate
Matthew Fernandez [Wed, 24 Feb 2021 02:14:53 +0000 (18:14 -0800)]
remove use of int as size_t in colorxlate

This removes one -Wconversion and two -Wsign-conversion warnings.

3 years agoremove use of int as size_t in fullColor
Matthew Fernandez [Wed, 24 Feb 2021 02:11:03 +0000 (18:11 -0800)]
remove use of int as size_t in fullColor

This removes two -Wconversion and one -Wsign-conversion warnings.

3 years agoremove use of int as size_t in canontoken
Matthew Fernandez [Wed, 24 Feb 2021 02:00:54 +0000 (18:00 -0800)]
remove use of int as size_t in canontoken

This removes two -Wconversion and one -Wsign-conversion warnings.

3 years agoremove strncmp micro-optimization in rindexOf
Matthew Fernandez [Wed, 24 Feb 2021 01:56:03 +0000 (17:56 -0800)]
remove strncmp micro-optimization in rindexOf

Compilers can do this trick themselves if they decide there is speed to be
gained from it.

3 years agoremove use of int as size_t in rindexOf
Matthew Fernandez [Wed, 24 Feb 2021 01:54:31 +0000 (17:54 -0800)]
remove use of int as size_t in rindexOf

This removes two -Wconversion and one -Wsign-conversion warnings.

3 years agorewrite indexOf
Matthew Fernandez [Wed, 24 Feb 2021 02:06:19 +0000 (18:06 -0800)]
rewrite indexOf

There is a C standard library function that does almost all of this for us. This
removes two -Wconversion and one -Wsign-conversion warnings.

3 years agoremove commented out strdup
Matthew Fernandez [Wed, 24 Feb 2021 01:02:48 +0000 (17:02 -0800)]
remove commented out strdup

This is part of “Extensions to the C Library Part II: Dynamic Allocation
Functions, ISO/IEC TR 24731-2:2010.” It is also slated for inclusion in ISO C23.
In practice, all modern libc implementations provide it.

3 years agoMerge branch 'smattr/487954c2-c50c-4d99-a3d0-a01379415823' into 'master'
Matthew Fernandez [Mon, 1 Mar 2021 16:39:56 +0000 (16:39 +0000)]
Merge branch 'smattr/487954c2-c50c-4d99-a3d0-a01379415823' into 'master'

port rtest2 to pytest and re-enable it

See merge request graphviz/graphviz!1794

3 years agoremove now-legacy rtest2 directory
Matthew Fernandez [Tue, 23 Feb 2021 05:06:28 +0000 (21:06 -0800)]
remove now-legacy rtest2 directory

3 years agoconsolidate ported rtest2 into tests/
Matthew Fernandez [Tue, 23 Feb 2021 04:51:46 +0000 (20:51 -0800)]
consolidate ported rtest2 into tests/

3 years agoport rtest2 to pytest
Matthew Fernandez [Tue, 23 Feb 2021 04:45:15 +0000 (20:45 -0800)]
port rtest2 to pytest

Only two of the reference tests pass, but this is at least the first step
towards resurrecting these.

3 years agodecompress test_reference
Matthew Fernandez [Tue, 23 Feb 2021 04:13:53 +0000 (20:13 -0800)]
decompress test_reference

Git data is already compressed. We do not gain anything by storing compressed
files within the repository.

3 years agoMerge branch 'color-template' into 'master'
Mark Hansen [Mon, 1 Mar 2021 10:59:24 +0000 (10:59 +0000)]
Merge branch 'color-template' into 'master'

Use python template to generate colors.html

See merge request graphviz/graphviz!1819

3 years agoMerge branch 'w3data' into 'master'
Mark Hansen [Mon, 1 Mar 2021 10:55:22 +0000 (10:55 +0000)]
Merge branch 'w3data' into 'master'

Remove w3data.js from this repo

See merge request graphviz/graphviz!1818

3 years agoMerge branch 'lang' into 'master'
Mark Hansen [Mon, 1 Mar 2021 10:52:58 +0000 (10:52 +0000)]
Merge branch 'lang' into 'master'

Generate lang.html with a template

See merge request graphviz/graphviz!1817

3 years agoMerge branch 'no_json' into 'master'
Mark Hansen [Mon, 1 Mar 2021 10:51:44 +0000 (10:51 +0000)]
Merge branch 'no_json' into 'master'

Remove graphviz_json_schema.json copy

See merge request graphviz/graphviz!1816

3 years agoMerge branch 'no-a_' into 'master'
Mark Hansen [Mon, 1 Mar 2021 10:44:16 +0000 (10:44 +0000)]
Merge branch 'no-a_' into 'master'

Remove doc/info/a_{forward,nohead}.dot

See merge request graphviz/graphviz!1815

3 years agoUse python template to generate colors.html
Mark Hansen [Mon, 1 Mar 2021 09:42:10 +0000 (20:42 +1100)]
Use python template to generate colors.html

One step closer to migrating this to the other repo as a jekyll file.

Confirmed with diff that the only differences are extra blank lines,
nothing important.

3 years agoMerge branch 'no-html' into 'master'
Mark Hansen [Mon, 1 Mar 2021 10:12:37 +0000 (10:12 +0000)]
Merge branch 'no-html' into 'master'

Inline html.{1,2,3} files into shapes.html template

See merge request graphviz/graphviz!1814

3 years agoRemove w3data.js from this repo
Mark Hansen [Mon, 1 Mar 2021 09:26:29 +0000 (20:26 +1100)]
Remove w3data.js from this repo

It's been migrated fully to graphviz.gitlab.io docs repo.

No more references in this repo.

3 years agoGenerate lang.html with a template
Mark Hansen [Mon, 1 Mar 2021 09:24:24 +0000 (20:24 +1100)]
Generate lang.html with a template

This is a bit more complex, but it does let us see the entire doc in one
template.

One step closer to being able to generate this in jekyll and have a
single source of truth for this doc.

3 years agoRemove graphviz_json_schema.json copy
Mark Hansen [Mon, 1 Mar 2021 09:11:41 +0000 (20:11 +1100)]
Remove graphviz_json_schema.json copy

This file is used in doc/infosrc/ to generate an HTML table. It's not
used here in this directory, it's just a copy.

This is unused here, not part of the html_DATA Makefile in this
directory.

3 years agoRemove doc/info/a_{forward,nohead}.dot
Mark Hansen [Mon, 1 Mar 2021 09:07:51 +0000 (20:07 +1100)]
Remove doc/info/a_{forward,nohead}.dot

These seem completely unreferenced.

3 years agoInline html.{1,2,3} files into shapes.html template
Mark Hansen [Mon, 1 Mar 2021 08:46:28 +0000 (19:46 +1100)]
Inline html.{1,2,3} files into shapes.html template

shapes.html is the only place these files are used.

Moving them into a template is one step towards being able to build this
file in the other graphviz repo (and having a single source of truth for
this doc)

3 years agoMerge branch 'no-buildkit' into 'master'
Mark Hansen [Sun, 28 Feb 2021 11:19:07 +0000 (11:19 +0000)]
Merge branch 'no-buildkit' into 'master'

Revert "Build docker images with buildkit"

Closes #1963

See merge request graphviz/graphviz!1811

3 years agoMerge branch 'command' into 'master'
Mark Hansen [Sun, 28 Feb 2021 10:54:10 +0000 (10:54 +0000)]
Merge branch 'command' into 'master'

Delete command.html: moved to graphviz.gitlab.io

See merge request graphviz/graphviz!1810

3 years agoMerge branch 'mv-tcl' into 'master'
Mark Hansen [Sun, 28 Feb 2021 10:52:21 +0000 (10:52 +0000)]
Merge branch 'mv-tcl' into 'master'

Move doc/info/*.tcl build scripts to doc/infosrc

See merge request graphviz/graphviz!1807

3 years agoRevert "Build docker images with buildkit"
Mark Hansen [Sun, 28 Feb 2021 10:44:40 +0000 (21:44 +1100)]
Revert "Build docker images with buildkit"

This reverts commit e8c5df0ad943cf2ab1c657165900928c3f6f7d3b.

Fixes #1963

3 years agoMerge branch 'formats2' into 'master'
Mark Hansen [Sun, 28 Feb 2021 10:39:00 +0000 (10:39 +0000)]
Merge branch 'formats2' into 'master'

Delete mkoutput.py

See merge request graphviz/graphviz!1809

3 years agoMerge branch 'formats' into 'master'
Mark Hansen [Sun, 28 Feb 2021 10:32:14 +0000 (10:32 +0000)]
Merge branch 'formats' into 'master'

Adapt mkoutput.py to generate YAML for jekyll

See merge request graphviz/graphviz!1808

3 years agoDelete command.html: moved to graphviz.gitlab.io
Mark Hansen [Sun, 28 Feb 2021 10:22:47 +0000 (21:22 +1100)]
Delete command.html: moved to graphviz.gitlab.io

3 years agoDelete mkoutput.py
Mark Hansen [Sun, 28 Feb 2021 09:55:00 +0000 (20:55 +1100)]
Delete mkoutput.py

Output generation has moved to graphviz.gitlab.io repo.

Towards #1962.

3 years agoAdapt mkoutput.py to generate YAML for jekyll
Mark Hansen [Sun, 28 Feb 2021 09:51:14 +0000 (20:51 +1100)]
Adapt mkoutput.py to generate YAML for jekyll

This is towards #1962. The output yaml-front-matter HTML can be used as input to jekyll.

3 years agoMerge branch 'buildkit' into 'master'
Mark Hansen [Sun, 28 Feb 2021 07:50:09 +0000 (07:50 +0000)]
Merge branch 'buildkit' into 'master'

Build docker images with buildkit

See merge request graphviz/graphviz!1804

3 years agoMove .tcl build scripts to infosrc
Mark Hansen [Sun, 28 Feb 2021 07:32:20 +0000 (18:32 +1100)]
Move .tcl build scripts to infosrc

This is where all the other build scripts live.

And it's where the input to these files lives.

3 years agoMerge branch 'smattr/6efacd71-1ee2-422c-a843-1765f184956a' into 'master'
Matthew Fernandez [Sun, 28 Feb 2021 07:26:15 +0000 (07:26 +0000)]
Merge branch 'smattr/6efacd71-1ee2-422c-a843-1765f184956a' into 'master'

fix buffer overflow in unflatten

See merge request graphviz/graphviz!1791

3 years agoRemove doc/info/*.gv
Mark Hansen [Sun, 28 Feb 2021 07:25:57 +0000 (18:25 +1100)]
Remove doc/info/*.gv

These files are not referenced by any HTML.

3 years agoRemove doc/info/*.png
Mark Hansen [Sun, 28 Feb 2021 06:58:00 +0000 (17:58 +1100)]
Remove doc/info/*.png

There are no references to any of these files left.

They're all hosted now over at the graphviz.gitlab.io main docs repo.

No need for this duplication.

3 years agoBuild docker images with buildkit
Mark Hansen [Sun, 28 Feb 2021 06:43:51 +0000 (17:43 +1100)]
Build docker images with buildkit

Buildkit is the newer, faster way to build docker images.

For one, buildkit doesn't send the entire repo as build context.

3 years agoRemove gifs from doc/info
Mark Hansen [Sun, 28 Feb 2021 06:39:32 +0000 (17:39 +1100)]
Remove gifs from doc/info

These are now hosted over at graphviz.gitlab.io repo -- the main docs repo.

3 years agomore strongly type some boolean variables
Matthew Fernandez [Mon, 22 Feb 2021 03:12:31 +0000 (19:12 -0800)]
more strongly type some boolean variables

3 years agoremove an open coded NULL
Matthew Fernandez [Mon, 22 Feb 2021 03:10:31 +0000 (19:10 -0800)]
remove an open coded NULL

3 years agoremove unnecessary bracketing in unflatten
Matthew Fernandez [Mon, 22 Feb 2021 03:07:43 +0000 (19:07 -0800)]
remove unnecessary bracketing in unflatten

3 years agoswap an sprintf for an snprintf
Matthew Fernandez [Mon, 22 Feb 2021 03:02:39 +0000 (19:02 -0800)]
swap an sprintf for an snprintf

Towards #1950.

3 years agofix buffer overflow in unflatten
Matthew Fernandez [Mon, 22 Feb 2021 03:01:10 +0000 (19:01 -0800)]
fix buffer overflow in unflatten

GCC 8.3.0 with -Wformat-overflow is capable of noticing that the sprintf in this
function can overflow the target buffer.

3 years agoMerge branch 'smattr/BF97B15D-EDF2-4F74-B79D-E3C0E7E2124F' into 'master'
Matthew Fernandez [Sun, 28 Feb 2021 06:24:55 +0000 (06:24 +0000)]
Merge branch 'smattr/BF97B15D-EDF2-4F74-B79D-E3C0E7E2124F' into 'master'

fix GVPR's ability to comprehend absolute paths on Windows

Closes #1780

See merge request graphviz/graphviz!1790

3 years agoMerge branch 'redir' into 'master'
Mark Hansen [Sun, 28 Feb 2021 06:04:40 +0000 (06:04 +0000)]
Merge branch 'redir' into 'master'

Redirect doc files to graphviz.org

See merge request graphviz/graphviz!1802

3 years agofix: detect absolute paths correctly in GVPR on Windows
Matthew Fernandez [Sun, 3 Jan 2021 00:00:19 +0000 (16:00 -0800)]
fix: detect absolute paths correctly in GVPR on Windows

This code was incorrectly depending on WIN32_DLL which was not defined when the
source file was built. Rather than addressing this directly, we make gvpr comply
more accurately with its man page:

  If progfile contains a slash character, the name is taken as the pathname of
  the file.

We now look for a path separator, backslash on Windows and forward slash on
anything else. Fixes #1780.

3 years agotest case for #1780
Matthew Fernandez [Sat, 2 Jan 2021 23:59:19 +0000 (15:59 -0800)]
test case for #1780

3 years agoRedirect more duplicate docs to graphviz site
Mark Hansen [Sun, 28 Feb 2021 03:15:05 +0000 (14:15 +1100)]
Redirect more duplicate docs to graphviz site

I've deleted schema.html instead of redirecting because it's not
intended to be shown as a top-level page on its own, but rather included
in another page as a subtree.

Towards https://gitlab.com/graphviz/graphviz.gitlab.io/-/issues/39

3 years agochmod -x todo.html
Mark Hansen [Sun, 28 Feb 2021 03:05:09 +0000 (14:05 +1100)]
chmod -x todo.html

No need for this to be executable. It doesn't have a #! line.

3 years agoRedirect doc files to graphviz.org
Mark Hansen [Sun, 28 Feb 2021 02:54:40 +0000 (13:54 +1100)]
Redirect doc files to graphviz.org

The canonical location for these docs is in the graphviz.gitlab.io repo,
and it's extra work to maintain them in both places. The files have
gotten a bit out of sync, and have been migrated to markdown in the
other repo.

Adding the redirects ensures that they point at the latest versions with
the latest changes.

3 years agoMerge branch 'smattr/18D8E0C0-7D8C-46F2-93F8-78506439944D' into 'master'
Matthew Fernandez [Sat, 27 Feb 2021 20:11:38 +0000 (20:11 +0000)]
Merge branch 'smattr/18D8E0C0-7D8C-46F2-93F8-78506439944D' into 'master'

remove strcmp micro-optimizations

See merge request graphviz/graphviz!1788

3 years agoremove strcmp micro-optimizations
Matthew Fernandez [Mon, 4 Jan 2021 00:16:23 +0000 (16:16 -0800)]
remove strcmp micro-optimizations

Modern compilers can do these tricks themselves, so we are better off writing
more straightforward readable code.

3 years agoMerge branch 'smattr/F47441CD-2230-40EC-BADB-64374F9272ED' into 'master'
Matthew Fernandez [Sat, 27 Feb 2021 19:11:45 +0000 (19:11 +0000)]
Merge branch 'smattr/F47441CD-2230-40EC-BADB-64374F9272ED' into 'master'

don't clone the history of submodules in Windows CI tasks

See merge request graphviz/graphviz!1787

3 years agodon't clone the history of submodules in Windows CI tasks
Matthew Fernandez [Sun, 21 Feb 2021 17:58:06 +0000 (09:58 -0800)]
don't clone the history of submodules in Windows CI tasks

The Windows builds only need the tip of these repositories, so no need to spend
time and bandwidth retrieving their history.

3 years agoMerge branch 'smattr/BD4AB1A8-8439-48CA-8E01-7E1A407AAB82' into 'master'
Matthew Fernandez [Sat, 27 Feb 2021 18:35:42 +0000 (18:35 +0000)]
Merge branch 'smattr/BD4AB1A8-8439-48CA-8E01-7E1A407AAB82' into 'master'

remove sed as a Windows build dependency

See merge request graphviz/graphviz!1786

3 years agoremove use of sed in CMake files
Matthew Fernandez [Sun, 21 Feb 2021 05:35:01 +0000 (21:35 -0800)]
remove use of sed in CMake files

We now no longer need sed in either CMake or Visual Studio, removing it as a
build dependency on Windows.

3 years agoremove use of sed in Visual Studio files
Matthew Fernandez [Sun, 21 Feb 2021 05:18:38 +0000 (21:18 -0800)]
remove use of sed in Visual Studio files

It should now be possible to build Graphviz using Visual Studio on Windows
without sed installed.

3 years agoteach version script how to output CPP definitions
Matthew Fernandez [Sun, 21 Feb 2021 05:15:33 +0000 (21:15 -0800)]
teach version script how to output CPP definitions

3 years agoremove use of sed hacks in autogen.sh to get version components
Matthew Fernandez [Sun, 21 Feb 2021 05:06:34 +0000 (21:06 -0800)]
remove use of sed hacks in autogen.sh to get version components

3 years agoadd flags to version script to print individual version components
Matthew Fernandez [Sun, 21 Feb 2021 04:56:25 +0000 (20:56 -0800)]
add flags to version script to print individual version components

Currently unused.

3 years agomove patch version adjustment earlier in version script
Matthew Fernandez [Sun, 21 Feb 2021 04:38:49 +0000 (20:38 -0800)]
move patch version adjustment earlier in version script

This has no relevant effect right now, but will be useful for upcoming changes
that need to see the updated patch version when branching on what to output.

3 years agoMerge branch 'smattr/2EA29827-1F04-461D-8980-B91F4AD999F4' into 'master'
Matthew Fernandez [Fri, 26 Feb 2021 06:16:30 +0000 (06:16 +0000)]
Merge branch 'smattr/2EA29827-1F04-461D-8980-B91F4AD999F4' into 'master'

more precise dependencies for CI build tasks

Closes #1959

See merge request graphviz/graphviz!1799

3 years agomore precise dependencies for CI build tasks
Matthew Fernandez [Fri, 26 Feb 2021 04:48:55 +0000 (20:48 -0800)]
more precise dependencies for CI build tasks

This is an optimization that allows, e.g., the ubuntu18-04-build task to start
as soon as its Docker image is available and the portable source tarball has
been built. Prior to this change, this task would also block on all the other
docker_build_* tasks. Closes #1959.

3 years agoMerge branch 'smattr/5a886023-3f7d-4966-81ba-dae26ba1ae43' into 'master'
Matthew Fernandez [Fri, 26 Feb 2021 01:27:22 +0000 (01:27 +0000)]
Merge branch 'smattr/5a886023-3f7d-4966-81ba-dae26ba1ae43' into 'master'

remove ksh as a build/test dependency

See merge request graphviz/graphviz!1764

3 years agouse the user's default shell for gvmap.sh
Matthew Fernandez [Fri, 19 Feb 2021 04:40:17 +0000 (20:40 -0800)]
use the user's default shell for gvmap.sh

This removes a dependency on ksh. It is still possible to run this script under
ksh, but it is also now possible to run it under e.g. Bash.

3 years agoport gvmap.sh to POSIX-compatible syntax
Matthew Fernandez [Fri, 19 Feb 2021 04:33:21 +0000 (20:33 -0800)]
port gvmap.sh to POSIX-compatible syntax

This retains the ability to run this script with ksh, while also paving the way
for moving to a POSIX shell.

3 years agoremove unused clean up trap handler in gvmap
Matthew Fernandez [Fri, 19 Feb 2021 03:55:45 +0000 (19:55 -0800)]
remove unused clean up trap handler in gvmap

Nothing creates the files that this handler tries to delete, so it is not
necessary.

3 years agoMerge branch 'add-pylint' into 'master'
Matthew Fernandez [Thu, 25 Feb 2021 15:45:28 +0000 (15:45 +0000)]
Merge branch 'add-pylint' into 'master'

add pylint job

See merge request graphviz/graphviz!1784

3 years agoAdd Python dependencies as requirements.txt
swaldhoer [Sat, 20 Feb 2021 19:25:50 +0000 (20:25 +0100)]
Add Python dependencies as requirements.txt
Add linting of Python scripts

3 years agoMerge branch 'smattr/0f3b0ef5-6a75-43f6-9d83-bb0784b8282f' into 'master'
Matthew Fernandez [Wed, 24 Feb 2021 17:09:16 +0000 (17:09 +0000)]
Merge branch 'smattr/0f3b0ef5-6a75-43f6-9d83-bb0784b8282f' into 'master'

unify some Windows and non-Windows code

See merge request graphviz/graphviz!1763

3 years agoremove manual memory management of rectangle array
Matthew Fernandez [Thu, 18 Feb 2021 05:15:54 +0000 (21:15 -0800)]
remove manual memory management of rectangle array

This unifies some Windows and non-Windows code, removes some unwise VLAs, and
removes the need to manually deallocate this array, making the code less error
prone. We could go further with removing manual allocations, but for now this is
a minimal net improvement.

3 years agounify some array allocation across Windows and non-Windows
Matthew Fernandez [Thu, 18 Feb 2021 05:01:25 +0000 (21:01 -0800)]
unify some array allocation across Windows and non-Windows

Just because GCC/Clang support variable length arrays, does not mean they are a
good idea. Using heap allocated memory for this is safer. This way we also get
to maintain a single code path. This adds some new compiler warnings, but
they're in line with the issues we already know (namely, passing int values as
allocation sizes).

3 years agounify some fopen code across Windows and non-Windows
Matthew Fernandez [Thu, 18 Feb 2021 04:53:54 +0000 (20:53 -0800)]
unify some fopen code across Windows and non-Windows

The mode flag 'b' is a no-op on POSIX, so we can use the same code everywhere.

3 years agoremove bool shims in diffimg
Matthew Fernandez [Thu, 18 Feb 2021 04:35:36 +0000 (20:35 -0800)]
remove bool shims in diffimg

Now that we build with C99, the existence of this support is guaranteed to be
supplied in stdbool.h.

3 years agoremove commented out _WIN32 block
Matthew Fernandez [Thu, 18 Feb 2021 04:34:41 +0000 (20:34 -0800)]
remove commented out _WIN32 block

3 years agoMerge branch 'ci5' into 'master'
Mark Hansen [Wed, 24 Feb 2021 10:19:53 +0000 (10:19 +0000)]
Merge branch 'ci5' into 'master'

Change Docker context to be the repo root

See merge request graphviz/graphviz!1796

3 years agoChange Docker context to be the repo root
Mark Hansen [Wed, 24 Feb 2021 09:52:57 +0000 (20:52 +1100)]
Change Docker context to be the repo root

See https://stackoverflow.com/a/24540011/171898 and
https://docs.docker.com/engine/reference/builder/#usage

The directory passed to docker is the context. Previously we changed
directory into `ci/$IMAGE` then passed `.` as the "context".

Passing a subdir as context prevents any inclusion of files outside the
context, which isn't what we want: we want to include `requirements.txt`
from the root.

So instead, pass the entire repo as "context", and use the "-f" flag to
set the Dockerfile used.

Should help with #1743 and !1784

3 years agoMerge branch 'smattr/1840627B-C284-4D16-B0FC-2DEB1CA88F30' into 'master'
Matthew Fernandez [Tue, 23 Feb 2021 05:49:10 +0000 (05:49 +0000)]
Merge branch 'smattr/1840627B-C284-4D16-B0FC-2DEB1CA88F30' into 'master'

remove remaining Vim modeline comments

See merge request graphviz/graphviz!1762

3 years agoremove remaining Vim modeline comments
Matthew Fernandez [Wed, 17 Feb 2021 01:06:33 +0000 (17:06 -0800)]
remove remaining Vim modeline comments

These have no effect in non-Vim editors or for Vim users that have modeline
disabled. A more modern way to achieve this is clang-format. This commit was
achieved with

  $ find . -type f \( -iname "*.cs" -or -iname "*.y" -or -iname "*.l" -or \
    -iname "*.m" -or -iname "*.c" -or -iname Makeile.am -or -iname "*.cpp" -or \
    -iname "*.h" \) -exec sed -i '' -e ':a' -e 'N' -e '$!ba' -e \
    's/\/\* vim:set [^\n]*\n\n//g' "{}" \;

and then manually collecting some further ones that were missing by this filter.

3 years agoMerge branch 'jarrodmillman:changelog-typo'
Matthew Fernandez [Tue, 23 Feb 2021 01:01:45 +0000 (17:01 -0800)]
Merge branch 'jarrodmillman:changelog-typo'

3 years agoFix release typo
Jarrod Millman [Mon, 22 Feb 2021 18:56:39 +0000 (10:56 -0800)]
Fix release typo

3 years agoMerge branch 'ci5' into 'master'
Mark Hansen [Mon, 22 Feb 2021 21:14:09 +0000 (21:14 +0000)]
Merge branch 'ci5' into 'master'

Revert "Revert "Only run macOS CI on graphviz/graphviz repo""

See merge request graphviz/graphviz!1792

3 years agoRevert "Revert "Only run macOS CI on graphviz/graphviz repo""
Mark Hansen [Mon, 22 Feb 2021 09:33:10 +0000 (20:33 +1100)]
Revert "Revert "Only run macOS CI on graphviz/graphviz repo""

This reverts commit 77c3b048f198798791193a028a77bf903a5b325e.

And replaces the variable with something that doesn't sound like a
GitLab predefined environment variable, to avoid surprise.

Towards #1951

https://docs.gitlab.com/ee/ci/variables/predefined_variables.html

3 years agoMerge branch 'smattr/37F06C45-6BC7-4617-AA19-99B187958B1C' into 'master'
Matthew Fernandez [Sun, 21 Feb 2021 18:06:42 +0000 (18:06 +0000)]
Merge branch 'smattr/37F06C45-6BC7-4617-AA19-99B187958B1C' into 'master'

remove a useless conditional #include block

See merge request graphviz/graphviz!1759

3 years agoremove a useless conditional #include block
Matthew Fernandez [Fri, 12 Feb 2021 01:17:39 +0000 (17:17 -0800)]
remove a useless conditional #include block

3 years agoMerge branch 'smattr/c92aba1c-f53c-429e-acfd-8c323bdc0654' into 'master'
Matthew Fernandez [Sun, 21 Feb 2021 00:55:32 +0000 (00:55 +0000)]
Merge branch 'smattr/c92aba1c-f53c-429e-acfd-8c323bdc0654' into 'master'

some clean up of JSON back end

See merge request graphviz/graphviz!1756

3 years agosquash some -Wunused-parameter warnings
Matthew Fernandez [Sun, 14 Feb 2021 19:50:08 +0000 (11:50 -0800)]
squash some -Wunused-parameter warnings

3 years agoabbreviate some code for comma-separated JSON
Matthew Fernandez [Sun, 14 Feb 2021 19:48:44 +0000 (11:48 -0800)]
abbreviate some code for comma-separated JSON

3 years agoremove some unnecessary bracketing
Matthew Fernandez [Sun, 14 Feb 2021 19:48:19 +0000 (11:48 -0800)]
remove some unnecessary bracketing

3 years agoremove commented out alternate write_subgs implementation
Matthew Fernandez [Sun, 14 Feb 2021 19:30:59 +0000 (11:30 -0800)]
remove commented out alternate write_subgs implementation

3 years agoMerge branch 'smattr/65a6d0ab-fc93-4d90-8a02-286d0922e43f' into 'master'
Matthew Fernandez [Sun, 21 Feb 2021 00:19:04 +0000 (00:19 +0000)]
Merge branch 'smattr/65a6d0ab-fc93-4d90-8a02-286d0922e43f' into 'master'

remove regex usage and associated RxSpencer dependency

Closes #1919

See merge request graphviz/graphviz!1757

3 years agoremove RxSpencer dependency
Matthew Fernandez [Sun, 14 Feb 2021 18:43:17 +0000 (10:43 -0800)]
remove RxSpencer dependency

Closes #1919.

3 years agoremove use of regex in smyrna
Matthew Fernandez [Sun, 14 Feb 2021 18:40:12 +0000 (10:40 -0800)]
remove use of regex in smyrna

This "regex" was only ever used to match literals like "R" and the empty string.
Related to #1919.

3 years agoremove unused smyrna file
Matthew Fernandez [Sun, 14 Feb 2021 18:31:14 +0000 (10:31 -0800)]
remove unused smyrna file

3 years agoremove use of regex for parsing SVG attributes
Matthew Fernandez [Sun, 14 Feb 2021 18:27:02 +0000 (10:27 -0800)]
remove use of regex for parsing SVG attributes

Related to #1919.

3 years agoadd a test of user shapes
Matthew Fernandez [Sun, 14 Feb 2021 17:43:25 +0000 (09:43 -0800)]
add a test of user shapes

3 years agoMerge branch 'smattr/005D38E6-E842-4522-B368-616652003649' into 'master'
Matthew Fernandez [Sat, 20 Feb 2021 23:41:55 +0000 (23:41 +0000)]
Merge branch 'smattr/005D38E6-E842-4522-B368-616652003649' into 'master'

fix HTML validation errors

Closes #1861

See merge request graphviz/graphviz!1758

3 years agofix HTML validation errors in graphviz.html
Matthew Fernandez [Sun, 14 Feb 2021 22:05:19 +0000 (14:05 -0800)]
fix HTML validation errors in graphviz.html

Fixes #1861.