]> granicus.if.org Git - graphviz/log
graphviz
4 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.

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

4 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

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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

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

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

4 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

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

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

4 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

4 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

4 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

4 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

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

4 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

4 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

4 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.

4 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

4 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

4 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

4 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/

4 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

4 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

4 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

4 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

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

4 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

4 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

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

4 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

4 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

4 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

4 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

4 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.

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

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

4 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

4 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

4 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

4 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

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

4 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

4 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

4 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.

4 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

4 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.

4 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

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

4 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

4 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

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

4 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'

4 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'

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

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

4 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'

4 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

4 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'

4 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'

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

4 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

4 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

4 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

4 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.

4 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

4 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

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

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

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

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

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

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

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

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

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

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

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

4 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

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

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

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

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

4 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

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

4 years agofirst working version
Jonathan Zheng [Fri, 10 Jan 2020 18:14:39 +0000 (18:14 +0000)]
first working version

4 years agofirst test
jxz12 [Thu, 9 Jan 2020 12:40:44 +0000 (12:40 +0000)]
first test

4 years agoMerge branch 'include-all-test-files-in-distro' into 'master'
Magnus Jacobsson [Sun, 5 Apr 2020 17:10:59 +0000 (17:10 +0000)]
Merge branch 'include-all-test-files-in-distro' into 'master'

Include all test files in distro

See merge request graphviz/graphviz!1341

4 years agoAdd input and reference files for rtest to dist
Magnus Jacobsson [Sat, 4 Apr 2020 14:14:26 +0000 (16:14 +0200)]
Add input and reference files for rtest to dist

4 years agoAdd input and reference files for vuln test to dist
Magnus Jacobsson [Wed, 1 Apr 2020 07:49:10 +0000 (09:49 +0200)]
Add input and reference files for vuln test to dist

4 years agoAdd helpers and reference files for shapes test to dist
Magnus Jacobsson [Tue, 31 Mar 2020 15:35:32 +0000 (17:35 +0200)]
Add helpers and reference files for shapes test to dist