]>
granicus.if.org Git - graphviz/log
Magnus Jacobsson [Thu, 15 Oct 2020 15:01:38 +0000 (17:01 +0200)]
Add changelog notes for CMake dependency bump
Magnus Jacobsson [Wed, 14 Oct 2020 05:19:17 +0000 (07:19 +0200)]
Change minimum required CMake version to 3.1
The $<TARGET_OBJECTS:objLib> generator expression was introduced in
CMake version 3.1.
Matthew Fernandez [Thu, 15 Oct 2020 02:49:12 +0000 (19:49 -0700)]
Merge branch '
0f71798c -c756-4c99-8ef0-
c88e42201de0 ' into HEAD
Matthew Fernandez [Fri, 9 Oct 2020 01:12:26 +0000 (18:12 -0700)]
add a test case for sequential PS graphs
Related to #1845.
Matthew Fernandez [Fri, 9 Oct 2020 01:14:40 +0000 (18:14 -0700)]
add changelog entry for #1845
Matthew Fernandez [Thu, 15 Oct 2020 00:28:12 +0000 (17:28 -0700)]
Merge branch '
9efca080 -662e-4990-a1ff-
40ebd0fd1530 ' into HEAD
Matthew Fernandez [Wed, 7 Oct 2020 03:04:06 +0000 (20:04 -0700)]
remove unnecessary destructor
The compiler-provided default destructor is identical to this, except that the
compiler-provided one can also be inlined.
Matthew Fernandez [Wed, 7 Oct 2020 02:59:05 +0000 (19:59 -0700)]
remove user configuration files in the Visio plugin
These are Visual Studio configuration files for local machine setup. They are
not intended to be committed to version control.
Matthew Fernandez [Tue, 6 Oct 2020 01:14:31 +0000 (18:14 -0700)]
take an early exit when gvprintdouble-ing a "0"
In large graphs, the value being printed is frequently zero and the snprintf in
this function shows up as a minor hotspot. Profiling with
tests/regression_tests/large/long_chain this drops the total snprintf calls
within gvprintdouble from 924019 to 858017. This lowers the contributing runtime
of gvprintdouble to overall execution from 28.89% to 28.12%.
Matthew Fernandez [Sat, 10 Oct 2020 22:40:02 +0000 (22:40 +0000)]
Merge branch '
B494AFA0 -22B1-4119-A751-
D39B7E9BEE9D ' into 'master'
clean up some unused things
See merge request graphviz/graphviz!1603
Matthew Fernandez [Sun, 4 Oct 2020 19:20:22 +0000 (12:20 -0700)]
remove commented out cleanup1 function
Matthew Fernandez [Sun, 4 Oct 2020 19:19:26 +0000 (12:19 -0700)]
remove deprecated AppVeyor config
Windows CI now runs on Gitlab.
Matthew Fernandez [Sun, 4 Oct 2020 19:19:09 +0000 (12:19 -0700)]
remove commented out legacy CI jobs
Matthew Fernandez [Sat, 10 Oct 2020 22:20:01 +0000 (22:20 +0000)]
Merge branch '
b3d77ab1 -ae13-4658-abf2-
1dc937774152 ' into 'master'
remove long lived static global allocation
See merge request graphviz/graphviz!1604
Matthew Fernandez [Sun, 4 Oct 2020 21:04:10 +0000 (14:04 -0700)]
remove now unused AF global
Matthew Fernandez [Sun, 4 Oct 2020 21:00:14 +0000 (14:00 -0700)]
use a local instead of reusing global AF in gvrender_polyline
There is a static global, AF, that is reused for a number of gvrender functions,
but none need to retain previous data stored in this array. This hack presumably
was from a time when allocators were much slower. Refactoring this into a local
allocation makes this function thread safe and removes the need to unnecessarily
prolong the lifetime of this allocation, thus decreasing Graphviz memory usage.
This commit introduces a -Wshadow warning about AF, but that will be removed
when we soon remove the static global.
Matthew Fernandez [Sun, 4 Oct 2020 20:47:27 +0000 (13:47 -0700)]
use a local instead of reusing global AF in gvrender_beziercurve
There is a static global, AF, that is reused for a number of gvrender functions,
but none need to retain previous data stored in this array. This hack presumably
was from a time when allocators were much slower. Refactoring this into a local
allocation makes this function thread safe and removes the need to unnecessarily
prolong the lifetime of this allocation, thus decreasing Graphviz memory usage.
This commit introduces a -Wshadow warning about AF, but that will be removed
when we soon remove the static global.
Matthew Fernandez [Sun, 4 Oct 2020 20:24:07 +0000 (13:24 -0700)]
use a local allocation instead of global hack in gvrender_polygon
There is a static global, AF, that is reused for a number of gvrender functions,
but none need to retain previous data stored in this array. This hack presumably
was from a time when allocators were much slower. Refactoring this into a local
allocation makes this function thread safe and removes the need to unnecessarily
prolong the lifetime of this allocation, thus decreasing Graphviz memory usage.
This commit introduces a -Wshadow warning about AF, but that will be removed
when we soon remove the static global.
Matthew Fernandez [Sun, 4 Oct 2020 19:57:06 +0000 (12:57 -0700)]
remove commented out code in dia plugin
Matthew Fernandez [Sat, 10 Oct 2020 18:02:47 +0000 (18:02 +0000)]
Merge branch '
bf9d8724 -af7d-4811-8924-
cbdd7aa1644d ' into 'master'
remove some unnecessary stack buffers
See merge request graphviz/graphviz!1601
Matthew Fernandez [Sat, 3 Oct 2020 19:18:32 +0000 (12:18 -0700)]
remove use of stack buffer in utf8ToLatin1
For similar reasons to the prior commits.
Matthew Fernandez [Sat, 3 Oct 2020 19:17:19 +0000 (12:17 -0700)]
remove use of stack buffer in latin1ToUTF8
For similar reasons to the prior commit.
Matthew Fernandez [Sat, 3 Oct 2020 19:11:32 +0000 (12:11 -0700)]
remove initial stack buffer usage in htmlEntityUTF8
The agxbuf used in this function is eventually disowned and its backing memory
needs to be heap-allocated to live beyond the duration of the function call. So
there is no advantage to initially allocating it on the stack as it needs to be
subsequently moved to the heap.
Matthew Fernandez [Sat, 3 Oct 2020 19:08:31 +0000 (12:08 -0700)]
remove commented out code in smyrna menu callbacks
Matthew Fernandez [Fri, 9 Oct 2020 14:59:13 +0000 (14:59 +0000)]
Merge branch 'fix-1845' into 'master'
Don't close output file after writing first graph
Closes #1845
See merge request graphviz/graphviz!1605
Matthew Fernandez [Fri, 9 Oct 2020 14:57:41 +0000 (14:57 +0000)]
Merge branch '
8e5a4e12 -19d8-431b-bdd0-
1c86065d6d72 ' into 'master'
add configure option for controlling man page PDF generation
Closes #1763
See merge request graphviz/graphviz!1600
Matthew Fernandez [Sat, 3 Oct 2020 04:03:36 +0000 (21:03 -0700)]
force man page PDF generation in CI portable source build
This forces the CI portable source build to fail if it cannot find a way to
generate PDF versions of man pages.
Related to #1763.
Matthew Fernandez [Sat, 3 Oct 2020 03:54:54 +0000 (20:54 -0700)]
implement --enable-man-pdfs configure option
There are now the following behaviors during configure and compilation:
./configure --enable-man-pdfs ...
PDFs of man pages will be generated using ps2pdf. If ps2pdf is not
installed, pstopdf will be used. If pstopdf is also not installed,
compilation will fail.
./configure --disable-man-pdfs ...
The build will not check for or attempt to generate any PDF versions of man
pages. It is irrelevant whether ps2pdf or pstopdf are installed.
./configure ... (with neither option)
If ps2pdf is found in $PATH, PDFs of man pages are generated using ps2pdf.
If ps2pdf is not found, pstopdf will be looked for and, if found, used to
generate PDFs of man pages. If neither are found, no PDFs of man pages will
be generated and compilation will succeed, omitting these.
Closes #1763.
Matthew Fernandez [Sat, 3 Oct 2020 03:23:07 +0000 (20:23 -0700)]
remove commented out line
Matthew Fernandez [Sat, 3 Oct 2020 02:52:43 +0000 (19:52 -0700)]
remove unused or empty variable expansion in lib/spine
Matthew Fernandez [Sat, 3 Oct 2020 00:37:46 +0000 (17:37 -0700)]
remove commented out configure lines
Magnus Jacobsson [Fri, 9 Oct 2020 05:08:25 +0000 (05:08 +0000)]
Merge branch 'replace-outdated-getopt' into 'master'
Replace outdated getopt
See merge request graphviz/graphviz!1608
Magnus Jacobsson [Sat, 3 Oct 2020 14:17:01 +0000 (16:17 +0200)]
Explicitly specify -? as an option in lib/spine/spine.c
Magnus Jacobsson [Sat, 3 Oct 2020 14:16:01 +0000 (16:16 +0200)]
Explicitly specify -? as an option in sccmap
Magnus Jacobsson [Sat, 3 Oct 2020 14:15:01 +0000 (16:15 +0200)]
Explicitly specify -? as an option in tred2
Magnus Jacobsson [Sat, 3 Oct 2020 14:14:00 +0000 (16:14 +0200)]
Explicitly specify -? as an option in mm2gv
Magnus Jacobsson [Sat, 3 Oct 2020 14:12:27 +0000 (16:12 +0200)]
Explicitly specify -? as an option in dijkstra
Magnus Jacobsson [Sun, 4 Oct 2020 18:58:25 +0000 (20:58 +0200)]
Explicitly specify -? as an option in tred
Magnus Jacobsson [Sun, 4 Oct 2020 18:57:22 +0000 (20:57 +0200)]
Explicitly specify -? as an option in sccmap
Magnus Jacobsson [Sun, 4 Oct 2020 18:56:14 +0000 (20:56 +0200)]
Explicitly specify -? as an option in nop
Magnus Jacobsson [Sun, 4 Oct 2020 18:55:09 +0000 (20:55 +0200)]
Explicitly specify -? as an option in mingle
Magnus Jacobsson [Sun, 4 Oct 2020 18:54:19 +0000 (20:54 +0200)]
Explicitly specify -? as an option in gvpack
Magnus Jacobsson [Sun, 4 Oct 2020 18:53:14 +0000 (20:53 +0200)]
Explicitly specify -? as an option in gvmap
Magnus Jacobsson [Sun, 4 Oct 2020 18:51:58 +0000 (20:51 +0200)]
Explicitly specify -? as an option in gvcolor
Magnus Jacobsson [Sun, 4 Oct 2020 18:50:53 +0000 (20:50 +0200)]
Explicitly specify -? as an option in gc
Magnus Jacobsson [Sun, 4 Oct 2020 18:49:56 +0000 (20:49 +0200)]
Explicitly specify -? as an option in cluster
Magnus Jacobsson [Sun, 4 Oct 2020 18:47:47 +0000 (20:47 +0200)]
Explicitly specify -? as an option in ccomps
Magnus Jacobsson [Sun, 4 Oct 2020 18:45:54 +0000 (20:45 +0200)]
Explicitly specify -? as an option in bcomps
Magnus Jacobsson [Tue, 29 Sep 2020 09:42:30 +0000 (11:42 +0200)]
Add test of unsupported option handling to tools test
Magnus Jacobsson [Sat, 3 Oct 2020 14:06:06 +0000 (16:06 +0200)]
Show usage and exit non-zero for unsupported option in lib/spine/spine.c
Final commit that fixes
https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Sat, 3 Oct 2020 14:04:44 +0000 (16:04 +0200)]
Show usage and exit non-zero for unsupported option in lib/pack/ptest.c
Towards https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Sat, 3 Oct 2020 14:04:22 +0000 (16:04 +0200)]
Show usage and exit non-zero for unsupported option in sccmap
Towards https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Sat, 3 Oct 2020 14:04:07 +0000 (16:04 +0200)]
Show usage and exit non-zero for unsupported option in tred2
Towards https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Sat, 3 Oct 2020 14:03:50 +0000 (16:03 +0200)]
Show usage and exit non-zero for unsupported option in mm2gv
Towards https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Sat, 3 Oct 2020 14:03:37 +0000 (16:03 +0200)]
Show usage and exit non-zero for unsupported option in dijkstra
Towards https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Sat, 3 Oct 2020 14:03:13 +0000 (16:03 +0200)]
Show usage and exit non-zero for unsupported option in smyrna
Towards https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Sat, 3 Oct 2020 14:02:09 +0000 (16:02 +0200)]
Show usage and exit non-zero for unsupported option in lefty
Towards https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Sat, 3 Oct 2020 13:59:40 +0000 (15:59 +0200)]
Show usage and exit non-zero for unsupported option in gvedit
Towards https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Fri, 2 Oct 2020 13:23:25 +0000 (15:23 +0200)]
Show usage and exit non-zero for unsupported option in tred
Towards https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Fri, 2 Oct 2020 13:20:52 +0000 (15:20 +0200)]
Show usage and exit non-zero for unsupported option in sccmap
Towards https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Fri, 2 Oct 2020 13:19:43 +0000 (15:19 +0200)]
Show usage and exit non-zero for unsupported option in nop
Towards https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Fri, 2 Oct 2020 13:17:21 +0000 (15:17 +0200)]
Show usage and exit non-zero for unsupported option in mingle
Towards https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Fri, 2 Oct 2020 13:12:07 +0000 (15:12 +0200)]
Show usage and exit non-zero for unsupported option in gvpack
Towards https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Fri, 2 Oct 2020 13:10:32 +0000 (15:10 +0200)]
Show usage and exit non-zero for unsupported option in gvmap.sh
Towards https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Fri, 2 Oct 2020 13:02:46 +0000 (15:02 +0200)]
Show usage and exit non-zero for unsupported option in gvmap
Towards https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Fri, 2 Oct 2020 12:59:11 +0000 (14:59 +0200)]
Show usage and exit non-zero for unsupported option in gvcolor
Towards https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Fri, 2 Oct 2020 12:57:42 +0000 (14:57 +0200)]
Show usage and exit non-zero for unsupported option in gc
Towards https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Fri, 2 Oct 2020 12:56:10 +0000 (14:56 +0200)]
Show usage and exit non-zero for unsupported option in edgepaint
Towards https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Fri, 2 Oct 2020 12:54:02 +0000 (14:54 +0200)]
Show usage and exit non-zero for unsupported option in cluster
Towards https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Fri, 2 Oct 2020 12:26:09 +0000 (14:26 +0200)]
Show usage and exit non-zero for unsupported option in ccomps
Towards https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Fri, 2 Oct 2020 12:23:00 +0000 (14:23 +0200)]
Show usage and exit non-zero for unsupported option in bcomps
Towards https://gitlab.com/graphviz/graphviz/-/issues/1843.
Magnus Jacobsson [Thu, 10 Sep 2020 18:26:02 +0000 (20:26 +0200)]
Remove windows/getopt
Final commit that fixes
https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:31:18 +0000 (14:31 +0200)]
Remove windows/getopt subproject from Graphviz MSBuild solution
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:30:00 +0000 (14:30 +0200)]
Replace getopt subproject with vcpkg getopt lib for lib/gvprlib in MSBuild
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:28:58 +0000 (14:28 +0200)]
Replace getopt subproject with vcpkg getopt lib for prune in MSBuild
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:28:45 +0000 (14:28 +0200)]
Replace getopt subproject with vcpkg getopt lib for unflatten in MSBuild
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:28:32 +0000 (14:28 +0200)]
Replace getopt subproject with vcpkg getopt lib for tred in MSBuild
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:28:20 +0000 (14:28 +0200)]
Replace getopt subproject with vcpkg getopt lib for sccmap in MSBuild
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:28:03 +0000 (14:28 +0200)]
Replace getopt subproject with vcpkg getopt lib for nop in MSBuild
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:27:18 +0000 (14:27 +0200)]
Replace getopt subproject with vcpkg getopt lib for mm2gv in MSBuild
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:27:03 +0000 (14:27 +0200)]
Replace getopt subproject with vcpkg getopt lib for gxl2gv in MSBuild
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:26:45 +0000 (14:26 +0200)]
Replace getopt subproject with vcpkg getopt lib for gvpack in MSBuild
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:26:32 +0000 (14:26 +0200)]
Replace getopt subproject with vcpkg getopt lib for gvgen in MSBuild
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:26:15 +0000 (14:26 +0200)]
Replace getopt subproject with vcpkg getopt lib for gvcolor in MSBuild
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:25:57 +0000 (14:25 +0200)]
Replace getopt subproject with vcpkg getopt lib for gv2gml in MSBuild
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:25:40 +0000 (14:25 +0200)]
Replace getopt subproject with vcpkg getopt lib for graphml2gv in MSBuild
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:25:15 +0000 (14:25 +0200)]
Replace getopt subproject with vcpkg getopt lib for gml2gv in MSBuild
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:24:54 +0000 (14:24 +0200)]
Replace getopt subproject with vcpkg getopt lib for gc in MSBuild
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:24:40 +0000 (14:24 +0200)]
Replace getopt subproject with vcpkg getopt lib for dijkstra in MSBuild
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:24:24 +0000 (14:24 +0200)]
Replace getopt subproject with vcpkg getopt lib for ccomps in MSBuild
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:24:11 +0000 (14:24 +0200)]
Replace getopt subproject with vcpkg getopt lib for bcomps in MSBuild
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:23:55 +0000 (14:23 +0200)]
Replace getopt subproject with vcpkg getopt lib for acyclic in MSBuild
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:23:39 +0000 (14:23 +0200)]
Replace getopt subproject with vcpkg getopt lib for smyrna in MSBuild
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:23:23 +0000 (14:23 +0200)]
Replace getopt subproject with vcpkg getopt lib for mingle in MSBuild
Also fix edgepaint option parsing in MSBuild by not using Unicode that
for some reason caused the new getopt library to not find any options.
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:23:09 +0000 (14:23 +0200)]
Replace getopt subproject with vcpkg getopt lib for gvmap in MSBuild
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:22:39 +0000 (14:22 +0200)]
Replace getopt subproject with vcpkg getopt lib for edgepaint in MSBuild
Also fix edgepaint option parsing in MSBuild by not using Unicode that
for some reason caused the new getopt library to not find any options.
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Sun, 4 Oct 2020 12:02:32 +0000 (14:02 +0200)]
Replace getopt subproject with vcpkg getopt lib for cmd/tools in CMake
Towards https://gitlab.com/graphviz/graphviz/-/issues/1820.
Magnus Jacobsson [Wed, 16 Sep 2020 06:10:36 +0000 (08:10 +0200)]
Add preinstalled getopt vcpkg library to CMake
Magnus Jacobsson [Wed, 16 Sep 2020 06:10:36 +0000 (08:10 +0200)]
Update submodule to get preinstalled getopt vcpkg library
Magnus Jacobsson [Mon, 28 Sep 2020 19:38:28 +0000 (21:38 +0200)]
Move check for getopt.h to config-checks.cmake