]> granicus.if.org Git - graphviz/log
graphviz
5 years agoSquash Centos Dockerfiles yums into fewer layers
Mark Hansen [Sun, 17 May 2020 03:15:17 +0000 (13:15 +1000)]
Squash Centos Dockerfiles yums into fewer layers

This should speed up builds, giving yum some more opportunity for
parallelism, and should decrease the Docker image size because the files
that are 'cleaned up' at the end are no longer in any of the Docker
filesystem layers.

5 years agoTry to fix Windows regression test by putting build first in Path in case other dot...
Stephen C North [Fri, 15 May 2020 16:02:32 +0000 (12:02 -0400)]
Try to fix Windows regression test by putting build first in Path in case other dot.exe are around somewhere

5 years agoMerge branch 'd0651094-084d-4067-80cf-6dc37bb70fd3' into 'master'
Stephen C. North [Fri, 15 May 2020 12:24:45 +0000 (12:24 +0000)]
Merge branch 'd0651094-084d-4067-80cf-6dc37bb70fd3' into 'master'

fix a misuse of agerr

See merge request graphviz/graphviz!1351

5 years agoMerge branch 'd27650d0-4598-4236-b0c9-75444ef17c3b' into 'master'
Stephen C. North [Fri, 15 May 2020 12:24:09 +0000 (12:24 +0000)]
Merge branch 'd27650d0-4598-4236-b0c9-75444ef17c3b' into 'master'

fix out-of-bounds access with labels involving \

Closes #1699

See merge request graphviz/graphviz!1350

5 years agofix a -Wformat-overflow warning with GCC 8.3
Matthew Fernandez [Sat, 9 May 2020 00:16:36 +0000 (17:16 -0700)]
fix a -Wformat-overflow warning with GCC 8.3

5 years agofix: print index instead of pointer value in debugging message
Matthew Fernandez [Sat, 9 May 2020 00:16:18 +0000 (17:16 -0700)]
fix: print index instead of pointer value in debugging message

The .v and .av members of the structs being used here are node_t**s. So the
addition of an integer results in a node_t**. This does not seem like what was
intended to be printed here, but rather the integer value being added. This
issue was found by adding __attribute__((format(printf, 2, 3))) to agerr() and
then using compiler flag -Werror=format.

5 years agofix a misuse of agerr
Matthew Fernandez [Fri, 8 May 2020 03:21:14 +0000 (20:21 -0700)]
fix a misuse of agerr

5 years agofix out-of-bounds access with labels involving \
Matthew Fernandez [Fri, 8 May 2020 02:52:59 +0000 (19:52 -0700)]
fix out-of-bounds access with labels involving \

The following input would result in entering these loops with str == "\":

  digraph structs {
  node [shape=record];
  struct1 [shape=record,label="<f0> left|<f1> mid\ dle|<f2> right"];
  struct2 [shape=record,label="<f0> one| two"];
  struct3 [shape=record,label="hello\nworld |{ b |{c|<h\re> d|e}| f}| g | h"];
  struct1 -> struct2;
  struct1 -> struct3;
  }

This would result in iterating past the end of the array. As reported by
@le3d1ng. Closes #1699.

5 years agoMerge branch 'gshklove_fixes' into 'master'
Stephen C. North [Thu, 7 May 2020 02:03:07 +0000 (02:03 +0000)]
Merge branch 'gshklove_fixes' into 'master'

small fixes for larger graphs

See merge request graphviz/graphviz!1345

5 years agosmall fixes for larger graphs
Gregory Shklover [Thu, 7 May 2020 02:03:07 +0000 (02:03 +0000)]
small fixes for larger graphs

5 years agoMerge branch 'no-malloc-include' into 'master'
Stephen C. North [Thu, 30 Apr 2020 02:38:01 +0000 (02:38 +0000)]
Merge branch 'no-malloc-include' into 'master'

PriorityQueue: don't include deprecated malloc.h

Closes #1696

See merge request graphviz/graphviz!1349

5 years agoPriorityQueue: don't include deprecated malloc.h
Henrik Grimler [Mon, 27 Apr 2020 06:24:34 +0000 (08:24 +0200)]
PriorityQueue: don't include deprecated malloc.h

We could guard it with `#ifdef HAVE_MALLOC_H` but it is not necessary in any
case, stdlib.h (and possibly malloc.h), are already included by memory.h which
PriorityQueue.c includes.

Should fix https://gitlab.com/graphviz/graphviz/-/issues/1696

5 years agoMerge branch 'use-pytest-as-test-runner' into 'master'
Magnus Jacobsson [Sun, 26 Apr 2020 20:41:59 +0000 (20:41 +0000)]
Merge branch 'use-pytest-as-test-runner' into 'master'

Use pytest as test runner

See merge request graphviz/graphviz!1348

5 years agoGenerate one pytest case for each shape/output_type combination
Magnus Jacobsson [Mon, 20 Apr 2020 21:03:01 +0000 (23:03 +0200)]
Generate one pytest case for each shape/output_type combination

5 years agoAdd pytest for Python 3 to Docker images missing it
Magnus Jacobsson [Mon, 20 Apr 2020 11:42:05 +0000 (13:42 +0200)]
Add pytest for Python 3 to Docker images missing it

5 years agoStop building & testing EOL Ubuntu 19.04
Magnus Jacobsson [Mon, 20 Apr 2020 10:28:32 +0000 (12:28 +0200)]
Stop building & testing EOL Ubuntu 19.04

5 years agoAdd fakeroot to Ubuntu Docker images
Magnus Jacobsson [Mon, 20 Apr 2020 09:06:20 +0000 (11:06 +0200)]
Add fakeroot to Ubuntu Docker images

5 years agoAdd update and --no-install-recommends to all installs in Ubuntu Dockerfiles
Magnus Jacobsson [Mon, 20 Apr 2020 07:24:52 +0000 (09:24 +0200)]
Add update and --no-install-recommends to all installs in Ubuntu Dockerfiles

5 years agoAdd clean up stage to all Dockerfiles
Magnus Jacobsson [Mon, 20 Apr 2020 07:06:13 +0000 (09:06 +0200)]
Add clean up stage to all Dockerfiles

5 years agoAdd python3 to Centos 6 Docker image
Magnus Jacobsson [Mon, 20 Apr 2020 06:01:33 +0000 (08:01 +0200)]
Add python3 to Centos 6 Docker image

5 years agoAdd pytest to Docker images
Magnus Jacobsson [Mon, 20 Apr 2020 06:01:06 +0000 (08:01 +0200)]
Add pytest to Docker images

5 years agoEnable JUnit test reports
Magnus Jacobsson [Sun, 19 Apr 2020 18:55:16 +0000 (20:55 +0200)]
Enable JUnit test reports

5 years agoReplace direct test script execution with pytest
Magnus Jacobsson [Sun, 19 Apr 2020 18:54:54 +0000 (20:54 +0200)]
Replace direct test script execution with pytest

5 years agoAdd test_shapes.py
Magnus Jacobsson [Sun, 19 Apr 2020 16:44:27 +0000 (18:44 +0200)]
Add test_shapes.py

5 years agoAdd test_installation.py
Magnus Jacobsson [Sun, 19 Apr 2020 16:43:55 +0000 (18:43 +0200)]
Add test_installation.py

5 years agoMerge branch 'improve-testing' into 'master'
Magnus Jacobsson [Wed, 22 Apr 2020 04:33:01 +0000 (04:33 +0000)]
Merge branch 'improve-testing' into 'master'

Improve testing

See merge request graphviz/graphviz!1347

5 years agoAvoid having to run ./configure before test
Magnus Jacobsson [Thu, 16 Apr 2020 15:17:54 +0000 (17:17 +0200)]
Avoid having to run ./configure before test

5 years agoMove shapes test code from Makefile to new script
Magnus Jacobsson [Thu, 16 Apr 2020 15:17:12 +0000 (17:17 +0200)]
Move shapes test code from Makefile to new script

5 years agoRemove installation of rpm's not needed for test
Magnus Jacobsson [Thu, 16 Apr 2020 09:43:19 +0000 (11:43 +0200)]
Remove installation of rpm's not needed for test

5 years agoAdd installation test
Magnus Jacobsson [Wed, 15 Apr 2020 15:34:43 +0000 (17:34 +0200)]
Add installation test

5 years agoMake test jobs depend only on build job for their own os
Magnus Jacobsson [Tue, 14 Apr 2020 20:21:19 +0000 (22:21 +0200)]
Make test jobs depend only on build job for their own os

5 years agoMerge branch 'add-build-of-ubuntu-20.04' into 'master'
Magnus Jacobsson [Wed, 22 Apr 2020 03:41:38 +0000 (03:41 +0000)]
Merge branch 'add-build-of-ubuntu-20.04' into 'master'

Add build of ubuntu 20.04

See merge request graphviz/graphviz!1346

5 years agoUse any python version for python bindings
Magnus Jacobsson [Sun, 12 Apr 2020 14:39:03 +0000 (16:39 +0200)]
Use any python version for python bindings

In order to work on Ubuntu 20.04 which does not have a "python" lib,
only "python3" and "python2".

See https://www.fosslinux.com/26413/ubuntu-20-04-lts-focal-fossa-set-to-remove-python-2.htm.

Also needed was to replace pyversion which found only Python 2
versions. Possibly this can done in a better way by someone who
understands Debian packaging in general and Lintian in particular.

See https://lintian.debian.org/tags/debian-pyversions-is-obsolete.html.

5 years agoAdd build & test stage for Ubuntu 20.04
Magnus Jacobsson [Sun, 12 Apr 2020 15:15:03 +0000 (17:15 +0200)]
Add build & test stage for Ubuntu 20.04

5 years agoAdd Dockerfile for Ubuntu 20.04
Magnus Jacobsson [Sun, 12 Apr 2020 14:52:32 +0000 (16:52 +0200)]
Add Dockerfile for Ubuntu 20.04

5 years agoMerge branch 'add-test-stage' into 'master'
Magnus Jacobsson [Mon, 13 Apr 2020 07:21:14 +0000 (07:21 +0000)]
Merge branch 'add-test-stage' into 'master'

Add test stage

See merge request graphviz/graphviz!1344

5 years agoUse specific Python version to run shapes.py
Magnus Jacobsson [Sun, 12 Apr 2020 06:31:51 +0000 (08:31 +0200)]
Use specific Python version to run shapes.py

The script runs fine with both Python 2 and Python 3, but on
e.g. Fedora 31, Centos 8 & Ubuntu 20.04 there is no "python"
program. Only "python2" and "python3".

For some rationale regarding Centos 8, see
https://www.liquidweb.com/kb/how-to-install-python-on-centos-8/

5 years agoInstall only RPM's needed for test
Magnus Jacobsson [Sat, 11 Apr 2020 11:37:24 +0000 (13:37 +0200)]
Install only RPM's needed for test

5 years agoAdd test stage for Centos 6-8 & Fedora 29-33
Magnus Jacobsson [Sat, 11 Apr 2020 10:00:40 +0000 (12:00 +0200)]
Add test stage for Centos 6-8 & Fedora 29-33

5 years agoMove test code from .gitlab-ci.yml to new ci/test.sh script
Magnus Jacobsson [Sat, 11 Apr 2020 09:36:02 +0000 (11:36 +0200)]
Move test code from .gitlab-ci.yml to new ci/test.sh script

5 years agoMove build code from .gitlab-ci.yml to new ci/build.sh script
Magnus Jacobsson [Sat, 11 Apr 2020 09:13:13 +0000 (11:13 +0200)]
Move build code from .gitlab-ci.yml to new ci/build.sh script

5 years agoAdd Dockerfile for Fedora 30
Magnus Jacobsson [Sun, 5 Apr 2020 13:11:52 +0000 (15:11 +0200)]
Add Dockerfile for Fedora 30

5 years agoAdd test for Ubuntu 19.04
Magnus Jacobsson [Wed, 1 Apr 2020 10:50:04 +0000 (12:50 +0200)]
Add test for Ubuntu 19.04

5 years agoAdd test for Ubuntu 18.04
Magnus Jacobsson [Wed, 1 Apr 2020 10:49:55 +0000 (12:49 +0200)]
Add test for Ubuntu 18.04

5 years agoUse template for test
Magnus Jacobsson [Wed, 1 Apr 2020 10:12:01 +0000 (12:12 +0200)]
Use template for test

5 years agoAdd test stage and ubuntu19-10-test
Magnus Jacobsson [Mon, 30 Mar 2020 14:28:29 +0000 (16:28 +0200)]
Add test stage and ubuntu19-10-test

5 years agofix warning from dot -c being run too early because of rpm dependency ordering
John Ellson [Sun, 12 Apr 2020 23:54:50 +0000 (19:54 -0400)]
fix warning from dot -c being run too early because of rpm dependency ordering

5 years agoMerge branch 'drand48-weak' into 'master'
John Ellson [Sun, 12 Apr 2020 21:04:40 +0000 (21:04 +0000)]
Merge branch 'drand48-weak' into 'master'

make drand48 weak

See merge request graphviz/graphviz!1343

5 years agodon't remove any foreign plugins that other packages may have installed
John Ellson [Sun, 12 Apr 2020 15:59:18 +0000 (11:59 -0400)]
don't remove any foreign plugins that other packages may have installed

5 years agotry to fix failure to run 'dot -c' on centos 6. This change also removes support...
John Ellson [Sun, 12 Apr 2020 15:35:26 +0000 (11:35 -0400)]
try to fix failure to run 'dot -c' on centos 6.  This change also removes support for binary rpm relocation.

5 years agomake drand48 weak
Antoine du HAMEL [Wed, 22 Jan 2020 16:05:33 +0000 (17:05 +0100)]
make drand48 weak

5 years agoupdate ChangeLog
John Ellson [Thu, 9 Apr 2020 20:23:27 +0000 (16:23 -0400)]
update ChangeLog

5 years agoapplying RH's graphviz-2.42.2-ocaml-allow-const-cast.patch
John Ellson [Thu, 9 Apr 2020 20:18:22 +0000 (16:18 -0400)]
applying RH's graphviz-2.42.2-ocaml-allow-const-cast.patch

5 years agoapplying RH's graphviz-2.42.2-dotty-menu-fix.patch
John Ellson [Thu, 9 Apr 2020 20:14:20 +0000 (16:14 -0400)]
applying RH's graphviz-2.42.2-dotty-menu-fix.patch

5 years agoapplying RH's graphviz-2.42.2-coverity-scan-fixes.patch
John Ellson [Thu, 9 Apr 2020 20:11:58 +0000 (16:11 -0400)]
applying RH's graphviz-2.42.2-coverity-scan-fixes.patch

5 years agoUpdate ChangeLog with thanks to Jonathan Zeng for SGD
Magnus Jacobsson [Wed, 8 Apr 2020 09:16:36 +0000 (11:16 +0200)]
Update ChangeLog with thanks to Jonathan Zeng for SGD

5 years agoStart 2.45 development series
Magnus Jacobsson [Wed, 8 Apr 2020 08:53:22 +0000 (10:53 +0200)]
Start 2.45 development series

5 years agoStable Release 2.44.0 2.44.0 stable_release_2.44.0
Magnus Jacobsson [Wed, 8 Apr 2020 07:03:23 +0000 (09:03 +0200)]
Stable Release 2.44.0

5 years agotry adding to lib/pathplan/CMakeLists.txt
John Ellson [Wed, 8 Apr 2020 00:26:20 +0000 (20:26 -0400)]
try adding  to lib/pathplan/CMakeLists.txt

5 years agoRevert "try removing recently added in lib/gvc/CMakeLists.txt"
John Ellson [Wed, 8 Apr 2020 00:05:59 +0000 (20:05 -0400)]
Revert "try removing recently added  in lib/gvc/CMakeLists.txt"

This reverts commit 7f2ecd7fb13dc8de67139e3fa6e1405d31e6f210.

5 years agotry removing recently added in lib/gvc/CMakeLists.txt
John Ellson [Tue, 7 Apr 2020 22:45:45 +0000 (18:45 -0400)]
try removing recently added  in lib/gvc/CMakeLists.txt

5 years agoRevert "Revert "Merge branch 'Grimler/graphviz-malloc.h-problem'""
John Ellson [Tue, 7 Apr 2020 22:23:34 +0000 (18:23 -0400)]
Revert "Revert "Merge branch 'Grimler/graphviz-malloc.h-problem'""

This reverts commit 27592b90bfae96b68e8b52639be2bd827116bf92.

5 years agoRevert "Merge branch 'Grimler/graphviz-malloc.h-problem'"
John Ellson [Tue, 7 Apr 2020 03:24:00 +0000 (03:24 +0000)]
Revert "Merge branch 'Grimler/graphviz-malloc.h-problem'"

This reverts merge request !1332

5 years agoCMakeLists.txt versioning again ...
John Ellson [Tue, 7 Apr 2020 00:04:44 +0000 (20:04 -0400)]
CMakeLists.txt versioning again ...

5 years agoupdate ChangeLog to show merging activity
John Ellson [Mon, 6 Apr 2020 23:26:59 +0000 (19:26 -0400)]
update ChangeLog to show merging activity

5 years agomanually set reasonable version number in CMakeLists.txt
John Ellson [Mon, 6 Apr 2020 22:56:44 +0000 (18:56 -0400)]
manually set reasonable version number in CMakeLists.txt

5 years agoMerge branch 'ndowens/graphviz-master'
John Ellson [Mon, 6 Apr 2020 22:53:56 +0000 (18:53 -0400)]
Merge branch 'ndowens/graphviz-master'

5 years agoMerge branch 'FeepingCreature/graphviz-fix/issue-1671-hang-with-virtual-edge-loop'
John Ellson [Mon, 6 Apr 2020 22:44:37 +0000 (18:44 -0400)]
Merge branch 'FeepingCreature/graphviz-fix/issue-1671-hang-with-virtual-edge-loop'

5 years agoMerge branch 'jannick01/graphviz-tred-output-removed-edges'
John Ellson [Mon, 6 Apr 2020 22:38:26 +0000 (18:38 -0400)]
Merge branch 'jannick01/graphviz-tred-output-removed-edges'

5 years agoMerge branch 'sgd'
John Ellson [Mon, 6 Apr 2020 19:28:07 +0000 (15:28 -0400)]
Merge branch 'sgd'

5 years agoMerge branch 'CristiFati0/graphviz-master'
John Ellson [Mon, 6 Apr 2020 19:20:07 +0000 (15:20 -0400)]
Merge branch 'CristiFati0/graphviz-master'

5 years agoMerge branch 'Grimler/graphviz-cross-compilation-fix'
John Ellson [Mon, 6 Apr 2020 19:14:19 +0000 (15:14 -0400)]
Merge branch 'Grimler/graphviz-cross-compilation-fix'

5 years agoresolve conflict by adding both: mips64 and riscv64
John Ellson [Mon, 6 Apr 2020 19:12:18 +0000 (15:12 -0400)]
resolve conflict by adding both: mips64 and riscv64

5 years agoMerge branch 'Grimler/graphviz-malloc.h-problem'
John Ellson [Mon, 6 Apr 2020 18:59:28 +0000 (14:59 -0400)]
Merge branch 'Grimler/graphviz-malloc.h-problem'

5 years agoMerge branch 'Grimler/graphviz-bcopy-fix'
John Ellson [Mon, 6 Apr 2020 18:53:52 +0000 (14:53 -0400)]
Merge branch 'Grimler/graphviz-bcopy-fix'

5 years agodisable Ubuntu18-10 builds - EOL
John Ellson [Mon, 6 Apr 2020 18:36:46 +0000 (14:36 -0400)]
disable Ubuntu18-10 builds - EOL

5 years agoadd randomkit.[ch] to vcxproj files
John Ellson [Mon, 6 Apr 2020 18:28:05 +0000 (14:28 -0400)]
add randomkit.[ch] to vcxproj files

5 years agoadd sgd.[ch] to vxproj files
John Ellson [Mon, 6 Apr 2020 17:11:24 +0000 (13:11 -0400)]
add sgd.[ch] to vxproj files

5 years agoadd '#ifdef __cplusplus' wrapper to sgd.h to try to fix windows build error
John Ellson [Mon, 6 Apr 2020 15:01:32 +0000 (11:01 -0400)]
add '#ifdef __cplusplus' wrapper to sgd.h to try to fix windows build error

5 years agoDon't build anything for tags
Magnus Jacobsson [Mon, 6 Apr 2020 08:53:36 +0000 (10:53 +0200)]
Don't build anything for tags

Appveyor fails if an attempt is made to build the same version again.

5 years agoMove back to 2.43 development series
Magnus Jacobsson [Mon, 6 Apr 2020 07:39:27 +0000 (09:39 +0200)]
Move back to 2.43 development series

5 years agoStable Release 2.42.4 2.42.4 stable_release_2.42.4
Magnus Jacobsson [Mon, 6 Apr 2020 06:00:22 +0000 (08:00 +0200)]
Stable Release 2.42.4

5 years agoremoved MODEL_MDS for now
Jonathan Zheng [Sat, 22 Feb 2020 14:42:43 +0000 (14:42 +0000)]
removed MODEL_MDS for now

5 years agofixed weighted shortest paths calculation
Jonathan Zheng [Sat, 22 Feb 2020 14:06:38 +0000 (14:06 +0000)]
fixed weighted shortest paths calculation

5 years agoupdated documentation
Jonathan Zheng [Mon, 3 Feb 2020 14:45:24 +0000 (14:45 +0000)]
updated documentation

5 years agofixed indentation
Jonathan Zheng [Fri, 17 Jan 2020 11:09:25 +0000 (11:09 +0000)]
fixed indentation

5 years agoremoved some comments
Jonathan Zheng [Fri, 17 Jan 2020 11:07:41 +0000 (11:07 +0000)]
removed some comments

5 years agofixed initial_positions segfault
Jonathan Zheng [Fri, 17 Jan 2020 10:50:08 +0000 (10:50 +0000)]
fixed initial_positions segfault

5 years agoignored multiedges in subset model
Jonathan Zheng [Fri, 17 Jan 2020 01:24:32 +0000 (01:24 +0000)]
ignored multiedges in subset model

5 years agoadded subset model
Jonathan Zheng [Thu, 16 Jan 2020 23:17:22 +0000 (23:17 +0000)]
added subset model

5 years agoundid changes to types.h
Jonathan Zheng [Thu, 16 Jan 2020 21:12:20 +0000 (21:12 +0000)]
undid changes to types.h

5 years agodijkstra is now fast!
Jonathan Zheng [Thu, 16 Jan 2020 21:01:45 +0000 (21:01 +0000)]
dijkstra is now fast!

5 years agorandomkit added
Jonathan Zheng [Thu, 16 Jan 2020 14:49:43 +0000 (14:49 +0000)]
randomkit added

5 years agorandomkit is good but not worth. Other optimizations needed
Jonathan Zheng [Thu, 16 Jan 2020 14:29:13 +0000 (14:29 +0000)]
randomkit is good but not worth. Other optimizations needed

5 years agomade dijkstra clearer
Jonathan Zheng [Thu, 16 Jan 2020 00:19:18 +0000 (00:19 +0000)]
made dijkstra clearer

5 years agofixed more indentation
Jonathan Zheng [Wed, 15 Jan 2020 17:38:07 +0000 (17:38 +0000)]
fixed more indentation

5 years agofixed indentation
Jonathan Zheng [Wed, 15 Jan 2020 17:32:07 +0000 (17:32 +0000)]
fixed indentation

5 years agopinned nodes working
Jonathan Zheng [Wed, 15 Jan 2020 17:30:03 +0000 (17:30 +0000)]
pinned nodes working

5 years agoverbosity added. nodes can be pinned but shortest paths still calculated for every...
Jonathan Zheng [Tue, 14 Jan 2020 15:47:20 +0000 (15:47 +0000)]
verbosity added. nodes can be pinned but shortest paths still calculated for every node TODO

5 years agoremoved unnecessary print
Jonathan Zheng [Fri, 10 Jan 2020 23:15:09 +0000 (23:15 +0000)]
removed unnecessary print