]>
granicus.if.org Git - graphviz/log
Magnus Jacobsson [Sat, 25 Jul 2020 19:24:30 +0000 (21:24 +0200)]
Update DEVELOPERS.md after fix of automatic MSBuild versioning
Magnus Jacobsson [Sat, 25 Jul 2020 17:34:49 +0000 (19:34 +0200)]
Replace hard-coded MSBuild version with generated
Fixes https://gitlab.com/graphviz/graphviz/-/issues/1745
Magnus Jacobsson [Sat, 25 Jul 2020 17:15:00 +0000 (19:15 +0200)]
Remove windows/include/builddate.h that is now generated
Magnus Jacobsson [Sat, 25 Jul 2020 14:19:39 +0000 (16:19 +0200)]
Add new MSBuild project "version"
Generates windows/include/version.h and windows/include/builddate.h.
Also ensure that the version project is built first by adding a
dependency from the pathplan project which was the first project to be
built before this change.
Includes auto-updated VisualStudioVersion variable in solution file.
Magnus Jacobsson [Sat, 25 Jul 2020 14:17:14 +0000 (16:17 +0200)]
Change to git ignore some files in project root only
E.g. VERSION (aka version on Windows) was ignored in all directories.
Magnus Jacobsson [Thu, 23 Jul 2020 21:13:51 +0000 (23:13 +0200)]
Add shim for python3.exe on Windows
Chocolatey doesn't install python3 as python3.exe, only as python.exe.
Magnus Jacobsson [Thu, 23 Jul 2020 20:40:17 +0000 (22:40 +0200)]
Use tilde instead of dash for dev versions
RPM doesn't support dash in version numbers. From
http://ftp.rpm.org/max-rpm/ch-rpm-file-format.html: 'The only
restriction placed on the version is that it cannot contain a dash
"-".'
See also https://github.com/semver/semver/issues/145.
Magnus Jacobsson [Thu, 23 Jul 2020 17:02:02 +0000 (19:02 +0200)]
Update DEVELOPERS.md with new version numbering
Magnus Jacobsson [Thu, 23 Jul 2020 11:45:34 +0000 (13:45 +0200)]
Change autogen.sh to get version from gen_version.py
Magnus Jacobsson [Thu, 23 Jul 2020 12:28:14 +0000 (14:28 +0200)]
Change CMakeLists.txt to get version from gen_version.py
Magnus Jacobsson [Thu, 23 Jul 2020 15:58:13 +0000 (17:58 +0200)]
Add --committer-date-graphviz option
Magnus Jacobsson [Wed, 22 Jul 2020 18:09:44 +0000 (20:09 +0200)]
Add --committer-date-iso option
Magnus Jacobsson [Wed, 22 Jul 2020 14:15:59 +0000 (16:15 +0200)]
If committer date is not available, set to zero
Magnus Jacobsson [Tue, 21 Jul 2020 15:01:05 +0000 (17:01 +0200)]
Add gen_version.py script
Matthew Fernandez [Sun, 26 Jul 2020 17:48:18 +0000 (10:48 -0700)]
Merge branch 'master' of https://gitlab.com/graphviz/graphviz into
23588b12 -6184-423b-a348-
0364f98b4dee
Matthew Fernandez [Sat, 25 Jul 2020 20:37:31 +0000 (20:37 +0000)]
Merge branch '
6c6f68fb -9872-4d5f-b4c4-
1bc30f4d8e9b ' into 'master'
clean up legacy build scripts and remove non-standard configure exec in autogen.sh
Closes #1630
See merge request graphviz/graphviz!1473
Matthew Fernandez [Sat, 25 Jul 2020 20:08:16 +0000 (20:08 +0000)]
Merge branch '
10cc3882 -064d-491f-9420-
b3cd4a184cbb ' into 'master'
remove Cgraph test fragments
Closes #1768
See merge request graphviz/graphviz!1471
Matthew Fernandez [Tue, 21 Jul 2020 01:00:37 +0000 (18:00 -0700)]
fix: unescaped backslashes in graph labels in xdot output
Variant of #165.
Matthew Fernandez [Tue, 21 Jul 2020 00:54:38 +0000 (17:54 -0700)]
fix: unescaped backslashes in edge labels in xdot output
A variant of #165.
Matthew Fernandez [Tue, 21 Jul 2020 00:18:40 +0000 (17:18 -0700)]
fix: unescaped backslashes in node labels in xdot output
Fixes #165.
Matthew Fernandez [Mon, 20 Jul 2020 14:33:04 +0000 (14:33 +0000)]
Merge branch '
bf07f37f -3fb5-4e00-80d8-
77416f3b1071 ' into 'master'
replace RBTree Assert() with assert()
Closes #1742
See merge request graphviz/graphviz!1461
Matthew Fernandez [Sun, 19 Jul 2020 23:21:19 +0000 (23:21 +0000)]
Merge branch 'subproject-rev2-1477' into 'master'
CMake subproject support - minimal - addresses 1477
See merge request graphviz/graphviz!1466
Matthew Fernandez [Sun, 19 Jul 2020 22:50:45 +0000 (15:50 -0700)]
Merge branch '
d78dd7b6 -6c75-492c-b1d8-
8fd0eaf45be7 ' of ssh://gitlab.com/smattr/graphviz
Matthew Fernandez [Sun, 19 Jul 2020 22:14:23 +0000 (22:14 +0000)]
Merge branch '
643e9f4d -5ec2-46ca-ac43-
33a612fc2e49 ' into 'master'
fix missing parameters to remove_overlap() definition
Closes #1544
See merge request graphviz/graphviz!1468
Matthew Fernandez [Sun, 19 Jul 2020 02:25:16 +0000 (19:25 -0700)]
remove non-standard ./configure step in autogen.sh
Closes #1630.
Matthew Fernandez [Sun, 19 Jul 2020 02:22:42 +0000 (19:22 -0700)]
explicitly run ./configure during CI
Related to #1630.
Matthew Fernandez [Sun, 19 Jul 2020 02:21:49 +0000 (19:21 -0700)]
remove unused CI script
Matthew Fernandez [Sun, 19 Jul 2020 02:18:56 +0000 (19:18 -0700)]
remove unused builder.sh script
Matthew Fernandez [Sat, 18 Jul 2020 18:17:08 +0000 (11:17 -0700)]
remove Cgraph test fragments
Closes #1768.
Matthew Fernandez [Sat, 18 Jul 2020 16:25:15 +0000 (16:25 +0000)]
Merge branch '
340c68ed -f0f6-43b0-aeeb-
551c42c52178 ' into 'master'
fix line numbers in GVPR error reporting
Closes #1594
See merge request graphviz/graphviz!1462
Bob Apthorpe [Thu, 16 Jul 2020 13:29:04 +0000 (08:29 -0500)]
Extended messages for missing formats, layouts. r2
Matthew Fernandez [Wed, 15 Jul 2020 00:17:29 +0000 (00:17 +0000)]
Merge branch 'osx-symbols-1613' into 'master'
Workaround for unresolved symbols in libcommon on OSX
See merge request graphviz/graphviz!1464
Magnus Jacobsson [Tue, 14 Jul 2020 16:35:22 +0000 (16:35 +0000)]
Merge branch 'update-DEVELOPERS.md-after-2.44.1-release' into 'master'
Update DEVELOPERS.md after 2.44.1 release
See merge request graphviz/graphviz!1451
Matthew Fernandez [Sun, 12 Jul 2020 03:07:52 +0000 (20:07 -0700)]
remove no longer used Assert()
Related to #1742.
Matthew Fernandez [Sun, 12 Jul 2020 03:00:27 +0000 (20:00 -0700)]
replace RBTree assertion calls with libc assert() calls
This change uses the idiom `assert(expression && "message")`. This is a way to
attach readable messages to assertion failures in C, as the libc assert
interface has no way to do this natively. Related to #1742.
Matthew Fernandez [Tue, 14 Jul 2020 13:52:04 +0000 (13:52 +0000)]
Merge branch '
6378F0F2 -12A2-4AB8-8A80-
72F7C7F91A55 ' into 'master'
fix: update README CI badges
See merge request graphviz/graphviz!1458
Bob Apthorpe [Fri, 10 Jul 2020 19:05:42 +0000 (19:05 +0000)]
Initial workaround for clang/lld/osx
(cherry picked from commit
992e6c2693c16c2a056efe849c612d0e1ee6d85e )
(cherry picked from commit
1b628544f02f65cc1e54fb9522f0f6ee2542cbc7 )
Matthew Fernandez [Tue, 14 Jul 2020 03:10:07 +0000 (20:10 -0700)]
suppress compile errors from unused remove_overlap() parameters
Related to #1544.
Matthew Fernandez [Tue, 14 Jul 2020 03:02:53 +0000 (20:02 -0700)]
make overlap.h prototypes unconditionally visible to remove_overlap()
This makes it difficult for remove_overlap() definitions to drift out of line
from its declaration without causing a compile error. Related to #1544.
Matthew Fernandez [Tue, 14 Jul 2020 02:56:18 +0000 (19:56 -0700)]
fix: realign non-triangle remove_overlap() with its prototype
There are two definitions of remove_overlap(), one in use when triangulation or
GTS is enabled and the other in use when either of these is disabled. The latter
definition did not match its declaration. As a result, any attempt to use this
function would most likely have resulted in stack corruption. Fixes #1544.
Matthew Fernandez [Tue, 14 Jul 2020 00:44:21 +0000 (17:44 -0700)]
update some legacy Graphviz URLs to HTTPS
Matthew Fernandez [Tue, 14 Jul 2020 00:36:22 +0000 (17:36 -0700)]
fix typo in patchwork man page
This was accidentally introduced by myself in
965aa14cff6a6ac6ec26501a93c7ad27a7887689 .
Bob Apthorpe [Mon, 13 Jul 2020 22:41:13 +0000 (22:41 +0000)]
CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR
Matthew Fernandez [Sun, 12 Jul 2020 17:32:55 +0000 (10:32 -0700)]
fix line numbers in GVPR error reporting
When swallowing a single line comment (C-style "//..." or shell-style "#..."),
lib/gvpr would push the trailing newline into its output buffer as well as
yielding it. The effect of this was that the second stage parsing done by
lib/expr would see two newlines, throwing off its recorded line number by one
for each single line comment. Fixes #1594.
Magnus Jacobsson [Sun, 12 Jul 2020 10:29:30 +0000 (10:29 +0000)]
Merge branch '
509c2d33 -d4f6-4cde-bd74-
1e6bf700d8eb ' into 'master'
Test C examples in CI also on Windows
See merge request graphviz/graphviz!1457
Magnus Jacobsson [Wed, 8 Jul 2020 19:28:30 +0000 (21:28 +0200)]
Include pack_graph from pack into gvc
See https://gitlab.com/graphviz/graphviz/-/issues/1761 for why this
change is duplicated.
Magnus Jacobsson [Wed, 8 Jul 2020 17:17:22 +0000 (19:17 +0200)]
Workaround captured output lost in GitLab CI
Magnus Jacobsson [Tue, 7 Jul 2020 07:29:51 +0000 (09:29 +0200)]
Join path to C sourc file os-independently
Magnus Jacobsson [Mon, 6 Jul 2020 18:06:16 +0000 (20:06 +0200)]
Add run of test_examples.py to Windows CMake test
Magnus Jacobsson [Mon, 6 Jul 2020 17:24:07 +0000 (19:24 +0200)]
Install pytest in Windows CI
Magnus Jacobsson [Mon, 6 Jul 2020 17:22:57 +0000 (19:22 +0200)]
Adapt test_examples.py to Windows
Matthew Fernandez [Sat, 11 Jul 2020 17:36:14 +0000 (17:36 +0000)]
Merge branch '
9bc7e01e -5811-4256-92ed-
85b323261351 ' into 'master'
clean up unused parts of vmalloc
Closes #1757, #1603, #1424, and #975
See merge request graphviz/graphviz!1456
Matthew Fernandez [Sat, 11 Jul 2020 17:03:10 +0000 (17:03 +0000)]
Merge branch 'date2' into 'master'
gv_doc_template.tcl: Pass "-gmt True" to support reproducible dates.
See merge request graphviz/graphviz!1454
Matthew Fernandez [Sat, 11 Jul 2020 15:21:00 +0000 (15:21 +0000)]
Merge branch '
509c2d33 -d4f6-4cde-bd74-
1e6bf700d8eb ' into 'master'
test C examples in CI
See merge request graphviz/graphviz!1455
Matthew Fernandez [Fri, 10 Jul 2020 00:46:53 +0000 (00:46 +0000)]
Merge branch '
4b832e74 -d1b7-45bf-8b80-
32ba42272311 ' into 'master'
remove legacy malloc.h stub
See merge request graphviz/graphviz!1453
Matthew Fernandez [Fri, 10 Jul 2020 00:07:02 +0000 (00:07 +0000)]
Merge branch '
c2a8c9c1 -033c-43dc-82f9-
8424e1da84c6 ' into 'master'
remove some compiler warnings
See merge request graphviz/graphviz!1452
Matthew Fernandez [Thu, 9 Jul 2020 00:51:39 +0000 (17:51 -0700)]
fix: update README CI badges
Matthew Fernandez [Sat, 4 Jul 2020 17:28:35 +0000 (10:28 -0700)]
add compilation of the C examples to the test suite
Matthew Fernandez [Sun, 5 Jul 2020 18:53:42 +0000 (11:53 -0700)]
install Graphviz dev libraries during CI testing
This allows us to begin testing code that compiles and links against Graphviz
libraries.
Matthew Fernandez [Sat, 4 Jul 2020 17:12:05 +0000 (10:12 -0700)]
fix: update simple.c example for latest API
Matthew Fernandez [Sat, 4 Jul 2020 17:11:12 +0000 (10:11 -0700)]
fix: update neatopack.c example for latest API
Matthew Fernandez [Sat, 4 Jul 2020 17:10:16 +0000 (10:10 -0700)]
fix: update dot.c example for latest API
Matthew Fernandez [Sat, 4 Jul 2020 17:09:22 +0000 (10:09 -0700)]
fix: update example.c to latest API
Matthew Fernandez [Sun, 5 Jul 2020 23:59:36 +0000 (16:59 -0700)]
remove unused vmwalk API
Matthew Fernandez [Sun, 5 Jul 2020 23:50:58 +0000 (16:50 -0700)]
remove legacy function prototypes
Matthew Fernandez [Sun, 5 Jul 2020 23:48:19 +0000 (16:48 -0700)]
remove unused vmstat API
Matthew Fernandez [Sun, 5 Jul 2020 23:40:24 +0000 (16:40 -0700)]
remove unused vmset API
Matthew Fernandez [Sun, 5 Jul 2020 23:31:42 +0000 (16:31 -0700)]
remove unused vmregion API
Matthew Fernandez [Sun, 5 Jul 2020 23:23:11 +0000 (16:23 -0700)]
remove unused vmtrbusy API
Matthew Fernandez [Sun, 5 Jul 2020 23:14:10 +0000 (16:14 -0700)]
remove unused vmtrace API
Matthew Fernandez [Sun, 5 Jul 2020 23:02:24 +0000 (16:02 -0700)]
remove undefs of stdlib.h functions that are not relied upon
Matthew Fernandez [Sun, 5 Jul 2020 22:51:36 +0000 (15:51 -0700)]
remove unused vmsize API
Matthew Fernandez [Sun, 5 Jul 2020 22:41:07 +0000 (15:41 -0700)]
remove unused vmalign API
Matthew Fernandez [Sun, 5 Jul 2020 22:32:37 +0000 (15:32 -0700)]
remove unused vmcompact API
Matthew Fernandez [Sun, 5 Jul 2020 22:22:40 +0000 (15:22 -0700)]
remove unused vmdisc API
Matthew Fernandez [Sun, 5 Jul 2020 22:14:27 +0000 (15:14 -0700)]
remove unused vmsegment API
Matthew Fernandez [Sun, 5 Jul 2020 22:03:13 +0000 (15:03 -0700)]
remove unused Vmdebug allocator method
Matthew Fernandez [Sun, 5 Jul 2020 21:55:12 +0000 (14:55 -0700)]
remove unused Vmpool allocator method
Matthew Fernandez [Sun, 5 Jul 2020 21:47:17 +0000 (14:47 -0700)]
remove unused Vmlast allocator method
Matthew Fernandez [Sun, 5 Jul 2020 21:30:15 +0000 (14:30 -0700)]
remove no longer used Vmprofile allocator method
Matthew Fernandez [Sun, 5 Jul 2020 21:09:39 +0000 (14:09 -0700)]
remove malloc interception within vmalloc
Not in use currently. Fixes #975, #1424.
Matthew Fernandez [Sun, 5 Jul 2020 20:48:42 +0000 (13:48 -0700)]
remove VMFL allocation interceptors
These were not in use. There are now more convenient ways to profile allocation.
Matthew Fernandez [Sat, 4 Jul 2020 16:31:16 +0000 (09:31 -0700)]
remove support for vmalloc debugging in libexpr
This is part of a series of changes to refactor libexpr to use the standard
system allocator (malloc) instead of vmalloc.
Matthew Fernandez [Sun, 5 Jul 2020 15:09:52 +0000 (15:09 +0000)]
Merge branch '
B68D1126 -4542-465E-ABB7-
F05DF3258801 ' into 'master'
vector.c cleanup
See merge request graphviz/graphviz!1450
Matthew Fernandez [Sat, 4 Jul 2020 16:52:40 +0000 (16:52 +0000)]
Merge branch '
b470c54b -7fe1-4771-a64e-
963fcf34bc13 ' into 'master'
avoid 'transparent is not a known color' warning
Closes #1449
See merge request graphviz/graphviz!1447
Vagrant Cascadian [Mon, 1 Jun 2020 23:37:44 +0000 (23:37 +0000)]
gv_doc_template.tcl: Pass "-gmt True" to support reproducible dates.
While the code already uses SOURCE_DATE_EPOCH, it also needs to ensure
that the times are emitted in UTC/GMT, otherwise building on machines
configured with different timezones may result in different embedded
timestamps.
Signed-off-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
Matthew Fernandez [Fri, 3 Jul 2020 20:19:57 +0000 (13:19 -0700)]
remove no longer relevant malloc.h detection
Related to #1242.
Matthew Fernandez [Fri, 3 Jul 2020 20:09:44 +0000 (13:09 -0700)]
remove no longer needed malloc.h suppression
Bison only includes the legacy malloc.h header when using alloca() on Windows,
when YYSTACK_USE_ALLOCA is defined. The Graphviz build does not define this for
any generated parsers. Related to #1242.
Matthew Fernandez [Fri, 3 Jul 2020 19:51:05 +0000 (12:51 -0700)]
remove legacy malloc.h includes
This header was superseded by stdlib.h. Related to #1242.
Matthew Fernandez [Fri, 3 Jul 2020 18:21:47 +0000 (11:21 -0700)]
suppress compiler warning from qsort() call
Matthew Fernandez [Fri, 3 Jul 2020 18:00:02 +0000 (11:00 -0700)]
remove use of deprecated pango_cairo_font_map_create_context
This API was deprecated in version 1.22 of Pango [0], released in 2008 [1]. The
one place that supported both the new and old API was still always calling the
old API as the build system does no HAVE_PANGO_FONT_MAP_CREATE_CONTEXT
detection.
[0]: https://developer.gnome.org/pango/stable/pango-Cairo-Rendering.html#pango-cairo-font-map-create-context
[1]: https://gitlab.gnome.org/GNOME/pango/-/commit/
06c4c3a87c7b54d0ca987e27d4478e4078ccf747
Matthew Fernandez [Fri, 3 Jul 2020 17:20:22 +0000 (17:20 +0000)]
Merge branch '
bd40bdf5 -3761-4ae6-b1ef-
f7904ff251ba ' into 'master'
remove some -Wcast-qual compiler warnings
See merge request graphviz/graphviz!1446
Magnus Jacobsson [Tue, 30 Jun 2020 08:49:01 +0000 (10:49 +0200)]
Update DEVELOPERS.md after 2.44.1 release
* Change to use merge request
* Remove obsolete remarks about fork or clone differences
* Update all example commits
* Change to use 2.44.1 in all examples
* Provide more detail a little here and there
* Remove tagging with stable_relase_<version>
* Remove update of web page which is now version agnostic
* Remove TODO section since there's no longer anything to do
Matthew Fernandez [Wed, 1 Jul 2020 00:38:52 +0000 (00:38 +0000)]
Merge branch '
dbdb31b0 -dc0d-4b04-a62e-
767d0fa0868e ' into 'master'
fix memory leak in find_all_cycles()
See merge request graphviz/graphviz!1439
Matthew Fernandez [Wed, 1 Jul 2020 00:03:40 +0000 (00:03 +0000)]
Merge branch '
2B9AE17E -6066-4038-B391-
5C51411ED77D ' into 'master'
remove index.html fragment
See merge request graphviz/graphviz!1443
Matthew Fernandez [Tue, 30 Jun 2020 14:06:49 +0000 (14:06 +0000)]
Merge branch '
5ACFD17E -A8C7-4FE9-80D0-
38DF90EA199D ' into 'master'
fix: remove generated patchwork.1.pdf during distclean
See merge request graphviz/graphviz!1437
Matthew Fernandez [Tue, 30 Jun 2020 02:34:03 +0000 (19:34 -0700)]
delete commented out development code in vector.c
Matthew Fernandez [Tue, 30 Jun 2020 02:32:51 +0000 (19:32 -0700)]
remove unnecessary null deallocator for StringVector
The underlying vector implementation anticipates that the deallocator may be
null, so there is no need for this empty implementation.
Matthew Fernandez [Tue, 30 Jun 2020 02:29:40 +0000 (19:29 -0700)]
remove unnecessary intdeallocator for IntegerVector
The underlying vector implementation anticipates that the destructor may be
null, so there is no need to provide an empty deallocator. We could simply
delete the IntegerVector implementation as nothing is currently using it, but it
looks like it may be of use in dealing with #1554.
Matthew Fernandez [Tue, 30 Jun 2020 02:26:12 +0000 (19:26 -0700)]
check for allocation failure in Vector_new
This function checked if its second allocation to the vector's backing array
failed, but did not check if the original data structure allocation failed. It
is somewhat unlikely callers are currently equipped to handle this failure
anyway, but we may as well be consistent here.