Commit Graph

34 Commits

Author SHA1 Message Date
Dan Kortschak
b34a300801 all: fix capitalisation of Gonum
This fixes the capitalisation of Gonum where it refers to the project rather
than the GitHub organisation or repository. The text of CONTRIBUTORS also
is fixed to reflect the reality that contributors may have contributed to
other repositories within the project.
2019-11-16 21:25:28 +10:30
Dan Kortschak
6747f05f2d graph/formats/dot,travis: update gocc version 2019-03-12 06:16:55 +10:30
Dan Kortschak
3b3c374240 graph/formats/dot/fuzz: add fuzzer function and corpus
The fuzz corpus was seeded with a small number of hand crafted examples
and occasionally augmented manually by identifying code paths that were
not touched and adding text to target those. Then iterating.
2019-03-07 19:50:19 +10:30
Dan Kortschak
75c68f713c graph/formats/dot/internal: add tests for a fuzz data corpus 2019-03-07 19:50:19 +10:30
Dan Kortschak
6df7f4be3a graph/formats/dot/testdata: don't clone the full history 2019-03-06 21:21:16 +10:30
Dan Kortschak
eb0539d9f4 graph/formats/gexf12: check error 2019-01-27 21:39:27 +10:30
Dan Kortschak
45a3ddb340 cytoscapejs: fix optional field marshaling and helper type naming 2018-10-26 23:42:21 +10:30
Dan Kortschak
f0982070f5 graph/formats: add packages for serialising graphs to js rendering engines 2018-10-20 06:39:27 +10:30
Dan Kortschak
056846ef7e gexf12: make slice fields plural and break words apart 2018-10-13 18:53:13 +10:30
Dan Kortschak
406984d374 gexf12: do not use pointers on simple types 2018-10-13 06:13:25 +10:30
Dan Kortschak
59eac3d17e gexf12: fix omitable and unbounded attributes 2018-10-13 06:13:25 +10:30
Dan Kortschak
f48f3e4ab3 graph/formats/gexf12: new package for handling GEXF1.2 graph description files
This was largely written by aqwari.net/xml/cmd/xsdgen working on the XSD
files available from the gephy/gexf specs repository[1], with some help;
the specs use includes which cause xsdgen to fail, so I manually
in-lined the includes.

The generated code was then edited to make optional attributes exist on
pointers, to reduce the length of labels to within reasonably normal Go
idiom and removing unnecessary namespacing.

The package is versioned since the format appears to arbitrarily be
updated.

[1]81ba4e7ccd/specs/1.2draft
2018-10-11 16:48:29 +10:30
Dan Kortschak
36be7e6faa travis: check for copyright headers 2018-09-05 16:54:43 +09:30
Dan Kortschak
9b6dcf36f0 all: fix up missing or malformatted package doc comments 2018-06-07 19:37:48 +09:30
Egon Elbre
51a14e5e72 graph/formats/dot: allow unicode inside html 2018-06-03 22:10:54 +09:30
J. Holmes
cb2511e4c8 encoding/dot: support edge ports on Unmarshal/decode 2018-04-16 14:31:32 +09:30
kortschak
805531d142 all: change capitalization of gonum in license header 2017-11-02 06:54:08 +10:30
mewmew
7e53ef2fae all: use fixdocs tool to store package documentation in doc.go
Add copyright header to doc.go

Keep original comment style (e.g. line comments and block comments).

Fix doc comments containing multiple line comments.

Remove vanity imports from all files except doc.go.

Fixes #12.

The source code of fixdocs is located at:
https://play.golang.org/p/7RtYLzldsO
2017-08-16 14:26:00 +02:00
mewmew
ac48587c92 Revert "all: use fixdocs tool to store package documentation in doc.go"
This reverts commit b2982a3e50.
2017-08-16 14:21:05 +02:00
mewmew
b2982a3e50 all: use fixdocs tool to store package documentation in doc.go
Add copyright header to doc.go

Keep original comment style (e.g. line comments and block comments).

Fix doc comments containing multiple line comments.
2017-08-16 14:07:36 +02:00
mewmew
5b4711aa15 Revert "all: use fixdocs tool to store package documentation in doc.go"
This reverts commit b0a98102dc.
2017-08-16 14:07:17 +02:00
mewmew
b0a98102dc all: use fixdocs tool to store package documentation in doc.go
Add copyright header to doc.go

Keep original comment style (e.g. line comments and block comments).
2017-08-16 14:02:26 +02:00
mewmew
7eaea7c428 Revert "all: use fixdocs tool to store package documentation in doc.go"
This reverts commit 00292b2d57.
2017-08-16 14:01:36 +02:00
mewmew
00292b2d57 all: use fixdocs tool to store package documentation in doc.go
Add copyright header to doc.go
2017-08-16 13:56:50 +02:00
mewmew
a37fef5a6d Revert "all: use fixdocs tool to store package documentation in doc.go"
This reverts commit 963877e5f5.
2017-08-16 13:54:16 +02:00
mewmew
963877e5f5 all: use fixdocs tool to store package documentation in doc.go 2017-08-16 13:19:00 +02:00
kortschak
159a37d657 graph/formats/dot/internal: update gocc version to cfc6e12 2017-08-16 19:16:28 +09:30
mewmew
4e95d5c920 graph/formats/dot: simplify parser generator Makefile
Gocc now generated output which conforms to gofmt
(goccmack/gocc#36 has been resolved).

Simplify the Makefile by removing the goimports invokation.
2017-07-24 20:54:05 +09:30
kortschak
14abf35139 graph/formats/dot: rename Kind* => *Kind 2017-07-19 18:12:06 +09:30
kortschak
985e8b2155 travis: add code generation checks for graph/formats/dot/... 2017-07-19 18:12:06 +09:30
kortschak
ee9686e444 blas,graph,lapack: fix imports and code generation 2017-05-26 12:39:54 +09:30
kortschak
37850ca814 all: add canonical imports 2017-05-25 16:07:18 +09:30
Brendan Tracey
d33397aa65 all: change import paths 2017-05-23 00:03:03 -06:00
Brendan Tracey
059a6c43f9 graph: imported graph as a subtree 2017-05-23 00:02:59 -06:00