]>
granicus.if.org Git - graphviz/log
Magnus Jacobsson [Sun, 2 Jan 2022 21:11:48 +0000 (22:11 +0100)]
plugin/gd: define GVDLL to ensure correct storage-class attributes
An upcoming commit will change the storage-class attributes to be
controlled by the GVDLL symbol in gvplugin_gd.c.
Without this change, errors like this would occur:
EXEC : error : failed to resolve gvplugin_gd_LTX_library in C:\Users\magja\graphviz\Debug\Graphviz\bin\gvplugin_gd.dll
Towards https://gitlab.com/graphviz/graphviz/-/issues/2173.
Magnus Jacobsson [Sun, 2 Jan 2022 18:23:28 +0000 (19:23 +0100)]
plugin/gd: [nfc] remove whitespace in preprocessor directives in gvplugin_gd.c
Magnus Jacobsson [Sun, 2 Jan 2022 18:21:54 +0000 (19:21 +0100)]
plugin/dot_layout: use GVDLL instead of _WIN32 to enable dllexport storage-class attribute in gvplugin_dot_layout.c
Towards https://gitlab.com/graphviz/graphviz/-/issues/2173.
Magnus Jacobsson [Sun, 2 Jan 2022 21:11:48 +0000 (22:11 +0100)]
plugin/dot_layout: define GVDLL to ensure correct storage-class attributes
An upcoming commit will change the storage-class attributes to be
controlled by the GVDLL symbol in gvplugin_dot_layout.c.
Without this change, errors like this would occur:
EXEC : error : failed to resolve gvplugin_dot_layout_LTX_library in C:\Users\magja\graphviz\Debug\Graphviz\bin\gvplugin_dot_layout.dll
Towards https://gitlab.com/graphviz/graphviz/-/issues/2173.
Magnus Jacobsson [Sun, 2 Jan 2022 18:21:09 +0000 (19:21 +0100)]
plugin/dot_layout: [nfc] remove whitespace in preprocessor directives in gvplugin_dot_layout.c
Magnus Jacobsson [Sun, 2 Jan 2022 18:13:30 +0000 (19:13 +0100)]
plugin/core: use GVDLL instead of _WIN32 to enable dllexport storage-class attribute in gvplugin_core.c
Towards https://gitlab.com/graphviz/graphviz/-/issues/2173.
Magnus Jacobsson [Sun, 2 Jan 2022 18:13:30 +0000 (19:13 +0100)]
plugin/core: [nfc] remove whitespace in preprocessor directives in gvplugin_core.c
Magnus Jacobsson [Mon, 10 Jan 2022 17:10:56 +0000 (17:10 +0000)]
Merge branch 'install-python-with-nuget' into 'main'
CI: install Python with nuget instead of with choco
See merge request graphviz/graphviz!2392
Matthew Fernandez [Mon, 10 Jan 2022 16:48:16 +0000 (16:48 +0000)]
Merge branch 'smattr/
DFDACC2F -624B-4360-BC9C-
9B2A116EB11C ' into 'main'
more boolean → modernization
See merge request graphviz/graphviz!2391
Magnus Jacobsson [Sun, 9 Jan 2022 22:34:55 +0000 (23:34 +0100)]
ci: install python with nuget in windows-cygwin-build-using-autogen job
Magnus Jacobsson [Sun, 9 Jan 2022 22:32:45 +0000 (23:32 +0100)]
ci: remove now obsolete choco cache from windows-msbuild-Win32-debug-build job
Magnus Jacobsson [Sun, 9 Jan 2022 22:31:55 +0000 (23:31 +0100)]
ci: remove now obsolete choco cache from windows-msbuild-Win32-release-build job
Magnus Jacobsson [Sun, 9 Jan 2022 22:31:40 +0000 (23:31 +0100)]
ci: remove now obsolete choco cache from windows-cmake-x64-debug-build job
Magnus Jacobsson [Sun, 9 Jan 2022 22:31:26 +0000 (23:31 +0100)]
ci: remove now obsolete choco cache from windows-cmake-x64-release-build job
Magnus Jacobsson [Sun, 9 Jan 2022 22:31:06 +0000 (23:31 +0100)]
ci: remove now obsolete choco cache from windows-cmake-Win32-debug-build job
Magnus Jacobsson [Sun, 9 Jan 2022 22:30:54 +0000 (23:30 +0100)]
ci: remove now obsolete choco cache from windows-cmake-Win32-release-build job
Magnus Jacobsson [Sun, 9 Jan 2022 17:02:12 +0000 (18:02 +0100)]
ci: install python with nuget in windows_build_definition job template
Magnus Jacobsson [Sun, 9 Jan 2022 22:34:02 +0000 (23:34 +0100)]
ci: remove now obsolete choco cache from windows-mingw64-cmake-build job
Commit
3f4d8dfc07899d113ddc49e2610b669113ea2810 removed the use of the
choco cache, but missed to remove the cache itself from this job.
Magnus Jacobsson [Sun, 9 Jan 2022 22:33:04 +0000 (23:33 +0100)]
ci: remove now obsolete choco cache from windows-mingw32-cmake-build job
Commit
3f4d8dfc07899d113ddc49e2610b669113ea2810 removed the use of the
choco cache, but missed to remove the cache itself from this job.
Magnus Jacobsson [Sun, 9 Jan 2022 22:30:10 +0000 (23:30 +0100)]
ci: remove now obsolete choco cache from windows-mingw64-build-step2-make job
Commit
3f4d8dfc07899d113ddc49e2610b669113ea2810 removed the use of the
choco cache, but missed to remove the cache itself from this job.
Magnus Jacobsson [Sun, 9 Jan 2022 22:30:01 +0000 (23:30 +0100)]
ci: remove now obsolete choco cache from windows-mingw64-build-step1-configure job
Commit
3f4d8dfc07899d113ddc49e2610b669113ea2810 removed the use of the
choco cache, but missed to remove the cache itself from this job.
Magnus Jacobsson [Sun, 9 Jan 2022 22:29:45 +0000 (23:29 +0100)]
ci: remove now obsolete choco cache from windows-mingw32-build-step2-make job
Commit
3f4d8dfc07899d113ddc49e2610b669113ea2810 removed the use of the
choco cache, but missed to remove the cache itself from this job.
Magnus Jacobsson [Sun, 9 Jan 2022 22:29:25 +0000 (23:29 +0100)]
ci: remove now obsolete choco cache from windows-mingw32-build-step1-configure job
Commit
3f4d8dfc07899d113ddc49e2610b669113ea2810 removed the use of the
choco cache, but missed to remove the cache itself from this job.
Matthew Fernandez [Mon, 10 Jan 2022 00:49:59 +0000 (16:49 -0800)]
is_internal_to_cluster; return a C99 bool instead of an ambiguous int
Matthew Fernandez [Mon, 10 Jan 2022 00:49:14 +0000 (16:49 -0800)]
is_nonconstraint: return a C99 bool instead of an ambiguous int
Matthew Fernandez [Mon, 10 Jan 2022 00:48:35 +0000 (16:48 -0800)]
is_empty: return a C99 bool instead of an ambigous int
Matthew Fernandez [Mon, 10 Jan 2022 00:47:26 +0000 (16:47 -0800)]
is_cluster: return a C99 bool instead of an ambiguous int
Matthew Fernandez [Mon, 10 Jan 2022 00:46:00 +0000 (16:46 -0800)]
is_a_cluster: return a C99 bool instead of ambiguous int
This function was already morally returning a boolean value.
Matthew Fernandez [Mon, 10 Jan 2022 00:44:32 +0000 (16:44 -0800)]
mapbool: take a 'const char*' parameter instead of 'char*'
This parameter is not modified internally.
Matthew Fernandez [Mon, 10 Jan 2022 00:43:32 +0000 (16:43 -0800)]
mapbool: return a C99 bool instead of a boolean
Matthew Fernandez [Mon, 10 Jan 2022 00:34:27 +0000 (16:34 -0800)]
mapBool: take a 'const char*' parameter instead of 'char*'
This parameter is not modified within the function.
Matthew Fernandez [Mon, 10 Jan 2022 00:32:23 +0000 (16:32 -0800)]
mapBool: use C99 bools for boolean parameters
Note that this required a somewhat awkward work around in `getAdjustMode` that
was abusing being able to fit something other than a boolean into the type used
for booleans.
Matthew Fernandez [Mon, 10 Jan 2022 00:16:21 +0000 (16:16 -0800)]
late_bool: use C99 bools for boolean parameters
Matthew Fernandez [Mon, 10 Jan 2022 00:08:35 +0000 (16:08 -0800)]
ortho segment: remove unused 'flipped' member
Matthew Fernandez [Sun, 9 Jan 2022 16:56:53 +0000 (08:56 -0800)]
node_distinct_coloring: take 'weightedQ' parameter as a C99 bool
Matthew Fernandez [Sun, 9 Jan 2022 16:50:52 +0000 (08:50 -0800)]
gvmap plot_dot_map: use a C99 bool for local 'plot_polyQ'
Matthew Fernandez [Sun, 9 Jan 2022 16:50:20 +0000 (08:50 -0800)]
gvprintpointflist: replace a boolean literal with C99 bool 'true'
Magnus Jacobsson [Mon, 10 Jan 2022 15:05:06 +0000 (15:05 +0000)]
Merge branch 'unify-storage-class-declarations-in-xdot' into 'main'
Unify storage class declarations in xdot
See merge request graphviz/graphviz!2390
Magnus Jacobsson [Sun, 2 Jan 2022 18:05:22 +0000 (19:05 +0100)]
xdot: [nfc] align storage-class declarations to Graphviz standard in xdot.h
Magnus Jacobsson [Sun, 2 Jan 2022 18:04:22 +0000 (19:04 +0100)]
xdot: [nfc] remove useless default extern declaration of functions in xdot.h
Magnus Jacobsson [Sun, 2 Jan 2022 18:01:59 +0000 (19:01 +0100)]
xdot: use GVDLL instead of _WIN32 to control storage-class attributes in xdot.h
Towards https://gitlab.com/graphviz/graphviz/-/issues/2173.
Magnus Jacobsson [Sun, 2 Jan 2022 17:36:33 +0000 (18:36 +0100)]
xdot: [nfc] remove whitespace in preprocessor directives in xdot.h
Magnus Jacobsson [Mon, 3 Jan 2022 06:20:54 +0000 (07:20 +0100)]
xdot: MSBuild: define GVDLL to ensure correct storage-class attributes
An upcoming commit will change the storage-class attributes in
xdot.h to be controlled by the GVDLL symbol.
Without this change, errors like this would occur in lib/gvc:
LINK : fatal error LNK1104: cannot open file 'C:\Users\magja\graphviz\Debug\Graphviz\bin\xdot.lib'
Done building project "gvc.vcxproj" -- FAILED.
Towards https://gitlab.com/graphviz/graphviz/-/issues/2173.
Magnus Jacobsson [Mon, 10 Jan 2022 14:01:54 +0000 (14:01 +0000)]
Merge branch 'misc-nfc-unify-storage-class-declarations' into 'main'
Miscellaneous non-functional changes to unify storage class declarations
See merge request graphviz/graphviz!2389
Magnus Jacobsson [Sun, 2 Jan 2022 17:28:39 +0000 (18:28 +0100)]
sfio: [nfc] rename EXTERN macro to SFIO_API in sfio.h
Magnus Jacobsson [Sun, 2 Jan 2022 17:07:18 +0000 (18:07 +0100)]
ortho: [nfc] align storage-class declarations to Graphviz standard in ortho.h
Magnus Jacobsson [Sun, 2 Jan 2022 17:05:36 +0000 (18:05 +0100)]
lib/gvpr: [nfc] remove extra _WIN32 condition to apply storage-class attributes in gvpr.h
This is a non-functional change since this code is guarded with GVDLL
which is only ever defined when _WIN32 is defined.
Magnus Jacobsson [Sun, 2 Jan 2022 17:04:19 +0000 (18:04 +0100)]
lib/gvpr: [nfc] remove whitespace in preprocessor directives in gvpr.h
Magnus Jacobsson [Sun, 2 Jan 2022 17:02:13 +0000 (18:02 +0100)]
gvc: [nfc] remove useless default extern declaration of functions in gvc.h
Magnus Jacobsson [Sun, 2 Jan 2022 16:28:35 +0000 (17:28 +0100)]
edgepaint: [nfc] align storage-class declarations to Graphviz standard in lab_gamut.h
Magnus Jacobsson [Sun, 2 Jan 2022 16:26:52 +0000 (17:26 +0100)]
edgepaint: [nfc] rename EXTERN macro to LAB_GAMUT_API in lab_gamut.h
Magnus Jacobsson [Sun, 2 Jan 2022 17:12:32 +0000 (18:12 +0100)]
pathutil: [nfc] remove useless default extern declaration of functions in vis.h
Magnus Jacobsson [Sun, 2 Jan 2022 17:11:52 +0000 (18:11 +0100)]
pathplan: [nfc] remove useless comments in vis.h
Magnus Jacobsson [Sun, 2 Jan 2022 17:10:26 +0000 (18:10 +0100)]
pathplan: [nfc] remove useless default extern declaration of functions in pathutil.h
Magnus Jacobsson [Sun, 2 Jan 2022 17:08:29 +0000 (18:08 +0100)]
pathplan: [nfc] remove useless comments in pathutil.h
Magnus Jacobsson [Sun, 2 Jan 2022 16:07:13 +0000 (17:07 +0100)]
pathplan: CMake: [nfc] remove useless definition of _BLD_pathplan
This symbol is not used anywhere.
Magnus Jacobsson [Sun, 2 Jan 2022 16:07:13 +0000 (17:07 +0100)]
pathplan: [nfc] remove useless definition of _BLD_pathplan in pathutil.h
This symbol is not used anywhere.
Magnus Jacobsson [Mon, 10 Jan 2022 13:02:24 +0000 (13:02 +0000)]
Merge branch 'fix-mingw-cmake-builds-and-add-tests' into 'main'
Fix MinGW CMake builds and add tests
Closes #2176 and #1780
See merge request graphviz/graphviz!2387
Magnus Jacobsson [Tue, 4 Jan 2022 14:16:13 +0000 (15:16 +0100)]
ci: add windows-mingw32-cmake-test job
Magnus Jacobsson [Tue, 4 Jan 2022 14:16:13 +0000 (15:16 +0100)]
ci: add windows-mingw64-cmake-test job
Magnus Jacobsson [Thu, 6 Jan 2022 13:39:29 +0000 (14:39 +0100)]
add ci/mingw-test.sh
Magnus Jacobsson [Tue, 4 Jan 2022 08:01:27 +0000 (09:01 +0100)]
ci/mingw-install.sh: install python-pip
Magnus Jacobsson [Fri, 7 Jan 2022 14:58:35 +0000 (15:58 +0100)]
test_1408: don't expect failure on MinGW
It's unclear why this test does not fail on MinGW when if fails on
other OSes. The NDEBUG symbols is not defined in MinGW builds and
assertions have been verified to be enabled.
Magnus Jacobsson [Tue, 4 Jan 2022 09:37:12 +0000 (10:37 +0100)]
gvtest.py: correct compiler used on MinGW
Magnus Jacobsson [Sun, 9 Jan 2022 11:28:42 +0000 (12:28 +0100)]
CMake: ensure PangoCairo is found on MinGW
This makes the PNG format available in CMake builds with MinGW.
Magnus Jacobsson [Fri, 7 Jan 2022 19:17:49 +0000 (20:17 +0100)]
CMake: ensure Cairo is found on MinGW
Magnus Jacobsson [Fri, 7 Jan 2022 21:42:20 +0000 (22:42 +0100)]
plugin/pango: print font map when verbose for all platforms
This effectively reverts commit
2029d4bf76360aba04a0ca779058caba7682e1e9 .
Fixes this error with CMake on MinGW when compiled with -Werror:
C:/Users/magja/graphviz/plugin/pango/gvgetfontlist_pango.c:477:1: error: 'printFontMap' defined but not used [-Werror=unused-function]
477 | printFontMap (gv_font_map*gv_fmap, int sz)
| ^~~~~~~~~~~~
Magnus Jacobsson [Sat, 8 Jan 2022 07:51:36 +0000 (08:51 +0100)]
plugin/pango: include common/globals.h in gvgetfontlist_pango.c
An upcoming commit which enables code that uses the Verbose global
variable would otherwise cause this error:
gvgetfontlist_pango.obj : error LNK2019: unresolved external symbol _Verbose referenced in function _get_font_mapping [C:\GitLab-Runner\builds\magjac\graphviz\build\plugin\pango\gvplugin_pango.vcxproj]
C:\GitLab-Runner\builds\magjac\graphviz\build\plugin\pango\Release\gvplugin_pango.dll : fatal error LNK1120: 1 unresolved externals [C:\GitLab-Runner\builds\magjac\graphviz\build\plugin\pango\gvplugin_pango.vcxproj]
Magnus Jacobsson [Sat, 8 Jan 2022 09:43:36 +0000 (10:43 +0100)]
plugin/pango: MSBuild: define GVDLL to ensure correct storage-class attributes
An upcoming commit which enables code that uses the Verbose global
variable would otherwise cause this error:
gvgetfontlist_pango.obj : error LNK2001: unresolved external symbol _Verbose
Towards https://gitlab.com/graphviz/graphviz/-/issues/2173.
Magnus Jacobsson [Fri, 7 Jan 2022 13:03:00 +0000 (14:03 +0100)]
gvpr: correct fix for absolute paths to work also on MinGW
Fixes https://gitlab.com/graphviz/graphviz/-/issues/1780 on MinGW.
Without this fix, test_1780 fails:
__________________________________ test_1780 __________________________________
Traceback (most recent call last):
File "C:/Users/magja/graphviz2/rtest/test_regression.py", line 594, in test_1780
subprocess.check_call(["gvpr", "-f", clustg], stdin=subprocess.DEVNULL)
File "C:/tools/msys64/mingw64/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gvpr', '-f', WindowsPath('C:/Users/magja/graphviz2/cmd/gvpr/lib/clustg')]' returned non-zero exit status
4294967295 .
---------------------------- Captured stderr call -----------------------------
gvpr: gvpr
Usage: gvpr gvpr
Magnus Jacobsson [Sun, 9 Jan 2022 10:14:48 +0000 (11:14 +0100)]
plugin/pango: work around CMake not generating DLLs with version numbers on MinGW
Fixes https://gitlab.com/graphviz/graphviz/-/issues/2176.
Magnus Jacobsson [Sun, 9 Jan 2022 10:14:48 +0000 (11:14 +0100)]
plugin/neato_layout: work around CMake not generating DLLs with version numbers on MinGW
Towards https://gitlab.com/graphviz/graphviz/-/issues/2176.
Magnus Jacobsson [Sun, 9 Jan 2022 10:14:48 +0000 (11:14 +0100)]
plugin/gdiplus: work around CMake not generating DLLs with version numbers on MinGW
Towards https://gitlab.com/graphviz/graphviz/-/issues/2176.
Magnus Jacobsson [Sun, 9 Jan 2022 10:14:48 +0000 (11:14 +0100)]
plugin/gd: work around CMake not generating DLLs with version numbers on MinGW
Towards https://gitlab.com/graphviz/graphviz/-/issues/2176.
Magnus Jacobsson [Sun, 9 Jan 2022 10:14:48 +0000 (11:14 +0100)]
plugin/dot_layout: work around CMake not generating DLLs with version numbers on MinGW
Towards https://gitlab.com/graphviz/graphviz/-/issues/2176.
Magnus Jacobsson [Sun, 9 Jan 2022 10:14:48 +0000 (11:14 +0100)]
plugin/core: work around CMake not generating DLLs with version numbers on MinGW
Towards https://gitlab.com/graphviz/graphviz/-/issues/2176.
Magnus Jacobsson [Tue, 4 Jan 2022 08:02:35 +0000 (09:02 +0100)]
CMake: detect "dot -c" failure when running cpack
This reveals this error when "dot -c" is executed when running cpack
on MinGW:
CPack: Create package using ZIP
CPack: Install projects
CPack: - Install project: Graphviz []
CMake Error at C:/Users/magja/graphviz2/cmake/configure_plugins.cmake:38 (execute_process):
execute_process abnormal exit: Access violation
Call Stack (most recent call first):
C:/Users/magja/graphviz2/build/cmd/dot/cmake_install.cmake:91 (include)
C:/Users/magja/graphviz2/build/cmd/cmake_install.cmake:42 (include)
C:/Users/magja/graphviz2/build/cmake_install.cmake:60 (include)
CPack Error: Error when generating package: Graphviz
See https://gitlab.com/graphviz/graphviz/-/issues/2176.
Matthew Fernandez [Mon, 10 Jan 2022 00:49:12 +0000 (00:49 +0000)]
Merge branch 'smattr/
B7A7E3A2 -8D16-48E6-A2EE-
1E56CD300DF2 ' into 'main'
delete unused header constants
See merge request graphviz/graphviz!2382
Matthew Fernandez [Sat, 8 Jan 2022 02:01:11 +0000 (18:01 -0800)]
API BREAK: remove unused '_DUMMY_ELEM'
ISO C99 and C++11 both permit trailing commas in enum members. Graphviz has been
compiled using C99 since
fe3f9411d2c59b463ab1b64eecfd19f2db55d2fc and C++11
since
a74e0e104e114bcf890eb8419a0bf02a22e01d84 . This wart was not removed
previously as removing it was considered an API break not worth doing. The
upcoming release is projected to bump the major version number, making breaks
like this more acceptable.
Matthew Fernandez [Sat, 8 Jan 2022 01:49:56 +0000 (17:49 -0800)]
API BREAK: remove unused 'MAXSHORT' definition
The last use of this was removed in
580fa88477fa59aca01e405c986c686ceee21b5f .
But its definition was retained in this header as removing it was considered an
API break not worth causing. The upcoming release is projected to bump the major
version number, so we can now remove it.
Matthew Fernandez [Sat, 8 Jan 2022 01:40:03 +0000 (17:40 -0800)]
API BREAK: remove local 'INT_MAX' and 'INT_MIN' definitions
These constants are defined in ISO C to be available in limits.h, but were
commonly available pre-ISO C too. These definitions remained here for legacy
reasons, because removing them was considered an API break and not worth doing
for this minor clean up. However the upcoming release is projected to involve a
major version number bump.
Magnus Jacobsson [Sun, 9 Jan 2022 20:45:26 +0000 (20:45 +0000)]
Merge branch 'unify-storage-class-declarations-in-common' into 'main'
Unify storage-class declarations in common headers with Graphviz standard
See merge request graphviz/graphviz!2386
Magnus Jacobsson [Sun, 2 Jan 2022 09:59:00 +0000 (10:59 +0100)]
common: [nfc] remove useless default extern declaration of functions in memory.h
Magnus Jacobsson [Sun, 2 Jan 2022 11:47:45 +0000 (12:47 +0100)]
plugin/visio: use only the GVDLL symbol enable storage-class attributes in gvplugin_visio.c
Anything that depends on storage-class attributes already define both
GVC_EXPORTS and WIN32_DLL.
Magnus Jacobsson [Sun, 2 Jan 2022 15:48:14 +0000 (16:48 +0100)]
MSBuild: remove now obsolete definition of WIN32_DLL from all project files
Magnus Jacobsson [Sun, 2 Jan 2022 15:36:20 +0000 (16:36 +0100)]
pack: autotools: remove now obsolete definition of _BLD_gvc
Magnus Jacobsson [Sun, 2 Jan 2022 15:36:06 +0000 (16:36 +0100)]
pack: CMake: remove now obsolete definition of _BLD_gvc
Magnus Jacobsson [Sun, 2 Jan 2022 15:35:55 +0000 (16:35 +0100)]
ortho: autotools: remove now obsolete definition of _BLD_gvc
Magnus Jacobsson [Sun, 2 Jan 2022 15:35:42 +0000 (16:35 +0100)]
ortho: CMake: remove now obsolete definition of _BLD_gvc
Magnus Jacobsson [Sun, 2 Jan 2022 15:35:27 +0000 (16:35 +0100)]
gvc: autotools: remove now obsolete definition of _BLD_gvc
Magnus Jacobsson [Sun, 2 Jan 2022 15:35:11 +0000 (16:35 +0100)]
gvc: CMake: remove now obsolete definition of _BLD_gvc
Magnus Jacobsson [Sun, 2 Jan 2022 15:34:57 +0000 (16:34 +0100)]
common: autotools: remove now obsolete definition of _BLD_gvc
Magnus Jacobsson [Sun, 2 Jan 2022 15:34:42 +0000 (16:34 +0100)]
common: CMake: remove now obsolete definition of _BLD_gvc
Magnus Jacobsson [Sun, 2 Jan 2022 15:31:16 +0000 (16:31 +0100)]
gvc: remove useless definition of _BLD_gvc in gvusershape.c
This symbols is already defined by all build systems that depend on
it.
Magnus Jacobsson [Sun, 2 Jan 2022 15:22:28 +0000 (16:22 +0100)]
common: use only GVC_EXPORTS to control storage-class attributes in global.h
Anything that depends on storage-class attributes already define both
GVC_EXPORTS and _BLD_gvc.
Magnus Jacobsson [Sun, 2 Jan 2022 11:47:45 +0000 (12:47 +0100)]
common: use only the GVDLL symbol enable storage-class attributes in global.h
Anything that depends on storage-class attributes already define both
GVC_EXPORTS and WIN32_DLL.
Magnus Jacobsson [Sun, 2 Jan 2022 13:08:50 +0000 (14:08 +0100)]
osage: MSBuild: define GVDLL to ensure correct storage-class attributes
An upcoming commit will change the storage-class attributes in
globals.h to be controlled only by the GVDLL symbol, not also by the
WIN32_DLL symbol.
Without this change, errors like this would occur:
osage.lib(osageinit.obj) : error LNK2001: unresolved external symbol _Ndim
Towards https://gitlab.com/graphviz/graphviz/-/issues/2173.
Magnus Jacobsson [Sun, 2 Jan 2022 13:08:50 +0000 (14:08 +0100)]
patchwork: MSBuild: define GVDLL to ensure correct storage-class attributes
An upcoming commit will change the storage-class attributes in
globals.h to be controlled only by the GVDLL symbol, not also by the
WIN32_DLL symbol.
Without this change, errors like this would occur:
patchwork.lib(patchworkinit.obj) : error LNK2001: unresolved external symbol _Ndim
Towards https://gitlab.com/graphviz/graphviz/-/issues/2173.
Magnus Jacobsson [Sun, 2 Jan 2022 13:08:50 +0000 (14:08 +0100)]
twopigen: MSBuild: define GVDLL to ensure correct storage-class attributes
An upcoming commit will change the storage-class attributes in
globals.h to be controlled only by the GVDLL symbol, not also by the
WIN32_DLL symbol.
Without this change, errors like this would occur:
twopigen.lib(twopiinit.obj) : error LNK2001: unresolved external symbol _Ndim
Towards https://gitlab.com/graphviz/graphviz/-/issues/2173.
Magnus Jacobsson [Sun, 2 Jan 2022 10:31:27 +0000 (11:31 +0100)]
sfdp: MSBuild: define GVDLL to ensure correct storage-class attributes
An upcoming commit will change the storage-class attributes in
globals.h to be controlled only by the GVDLL symbol, not also by the
WIN32_DLL symbol.
Without this change, errors like this would occur:
sfdp.lib(spring_electrical.obj) : error LNK2001: unresolved external symbol _Verbose
Towards https://gitlab.com/graphviz/graphviz/-/issues/2173.