Commit Graph

359 Commits

Author SHA1 Message Date
Ben Boeckel 2fa10866b3 vtk-config: avoid requiring packages in shared installs
The associated targets are not actually used in the export in a shared
build, so there's no need to actually mention them.
2023-08-07 17:27:48 -04:00
Mathieu Westphal 987d39ac31 Adding standard SPDX copyright and license to all vtk modules
Replace 1

cat files.out |  xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================(.|\n)*.*Program:   Visualization Toolkit\n.*Module:.*\n\n  Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n  All rights reserved.\n  See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n.*\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s

Replace 2

cat files.out |  xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================(.|\n)*.*Program:   Visualization Toolkit\n.*Module:.*\n\n  Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n  All rights reserved.\n  See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n.*\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s

Replace 3

cat files.out |  xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n.*Program:.*Visualization Toolkit\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n.*\n.*\n.*\n.*\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s

Replace 4

cat files.out |  xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*Visualization Toolkit\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s

Replace 5

cat files.out |  xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*Visualization Toolkit\n.*Module:.*\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s

Replace 6

cat files.out |  xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*Visualization Toolkit\n.*Module:.*\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n.*=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s

Replace 7

cat files.out |  xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*Visualization Toolkit\n.*Module:.*\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s

Replace 8

cat files.out |  xargs -I %s perl -i~ -0777 -pe 's/\/\*==================================================================\n\n.*Program:.*Visualization Toolkit\n.*Module:.*\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n===================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s

Replace sandia 1

 cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*Visualization Toolkit\n.*Module:.*\n\n-------------------------------------------------------------------------\n.*Copyright 2008 Sandia Corporation.\n.*Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,\n.*the U.S. Government retains certain rights in this software.\n-------------------------------------------------------------------------\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation\n\/\/ SPDX-License-Identifier: LicenseRef-BSD-3-CLAUSE-Sandia-USGov/g' %s

Replace 9

cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*Visualization Toolkit\n.*Module:.*\n.*Language:.*\n\n.*Copyright \(c\) .* Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s

Manual 1

Replace 10

cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*\n.*Module:.*\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s

Replace 11

cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n.*Program:.*\n.*Module:.*\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n.*\n.*\n.*\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s

Replace Valve 1

cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*\n.*Module:.*\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\nParts Copyright Valve Corporation from.*\nunder their BSD license found here:\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright (c) 2015, Valve Corporation\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s

Manual 2

Manual 3

manual 4

manual sandia 1

manual 5

Replace ParaView 1

cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*\n.*Module:.*\n\n.*Copyright \(c\) Sandia Corporation, Kitware Inc.\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright (c) Sandia Corporation, Kitware Inc\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s

Manual Sandia 2

Replace 13

cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n.*=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s

Manual sandia 3

replace 14

cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*\n.*Module:.*\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n.*=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s

Manual sandia 4

Manual 6

manual 7

manual sandia 5

Manual Kitware SAS 1

manual 7

Manual 10

manual 11

manual 12

manual 15

Fix wrong spdx name

Remove useless cmake copyright

Remove useless copyrights

Remove useless copyright and license statement in python files

Removal glsl

cat files.out | xargs -I %s perl -i~ -0777 -pe "s/.*=========================================================================\n.*\n.*Program:.*\n.*Module:.*\n.*\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .*for details.\n.*\n.*\n.*\n.*\n.*\n.*=========================================================================\n//g" %s

Replace sandia accel

cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\/=============================================================================\n.*\n.*Copyright \(c\) Kitware, Inc.\n.*All rights reserved.\n.*See LICENSE.txt for details.\n.*\n.*This.*\n.*the.*\n.*PURPOSE.*\n.*\n.*Copyright 2012 Sandia Corporation.\n.*Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,\n.*the U.S. Government retains certain rights in this software.\n.*\n.*=============================================================================/\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright (c) Kitware, Inc.\n\/\/ SPDX-FileCopyrightText: Copyright 2012 Sandia Corporation.\n\/\/ SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov/g' %s

Manual sandia accel

manual Kitware inc

Manual fixups

Manual 14

Replace 15

cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*\n.*Module:.*\n\n.*Copyright \(c\) Kitware, Inc.\n.*All rights reserved.\n.*See LICENSE file for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s

Manual 16

Removing non-standard file header

cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\/ \-\*\- c\+\+.*\n\n//g' %s

Manual removal non standard header

Adding custom sandia and lanl licenses

Fix missing header common core

Manual missing headers

Add missing sandia

cat files.out  | xargs -I %s perl -i~ -0777 -pe 's/\A\/\/ SPDX-FileCopyrightText.*\n\/\/ SPDX-License-Identifier.*\n\n\/\*\n.*Copyright 2004 Sandia Corporation.\n.*Under.*\n.*license.*\n.*U.*\n.*or.*\n.*statement.*\n \*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright 2004 Sandia Corporation\n\/\/ SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov/g' %s

Adding missing sandia licenses

Adding sandia licenses

Adding missing sandia licenses

Replace sandia

Adding sandia module changes

Use new custom license system

Replace sandia

cat files.out  | xargs -I %s perl -i~ -0777 -pe 's/\A\/\/ SPDX-FileCopyrightText.*\n\/\/ SPDX-License-Identifier.*\n\/\*-------------------------------------------------------------------------\n.*Copyright 2009 Sandia Corporation.\n.*Under the terms of Contract DE-AC04-94AL85000.*\n.*the.*\n-------------------------------------------------------------------------\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright 2009 Sandia Corporation\n\/\/ SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov/g' %s

Adding missing sandia licenses

Sandia final fixup license

Adding missing sandia license

Fix remaining sandia license

Manual LANL license

Replace sandia BSD

cat files.out  | xargs -I %s perl -i~ -0777 -pe 's/\A\/\/ SPDX-FileCopyrightText.*\n\/\/ SPDX-License-Identifier.*\n\/\*----------------------------------------------------------------------------\n.*Copyright \(c\) Sandia Corporation\n.*See Copyright.txt.*\n.*----------------------------------------------------------------------------\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright \(c\) Sandia Corporation\n\/\/ SPDX-License-Identifier: BSD-3-Clause/g' %s

Replace Kitware, Inc.

 cat files.out  | xargs -I %s perl -i~ -0777 -pe 's/\A\/\*=========================================================================\n\n.*Program.*\n.*Module.*\n\n.*Copyright \(c\) Kitware, Inc.\n.*All rights reserved.\n.*See Copyright.txt.*\n\n.*This.*\n.*the.*\n.*PURPOSE.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright \(c\) Kitware, Inc.\n\/\/ SPDX-License-Identifier: BSD-3-Clause/g' %s

Manual ParaView license

Remove useless license statement in cmake files

Manual licenses

Replace lanl

 cat files.out  | xargs -I %s perl -i~ -0777 -pe 's/\A\/\/ SPDX-FileCopyrightText.*\n\/\/ SPDX-License-Identifier.*\n\n\/\*.*\n.*\n.*Copyright \(c\) 2000.*2009.*Lawrence Livermore National Security, LLC\n.*Produced at the Lawrence.*\n.*LLNL-CODE-400124\n.*All rights reserved.\n.*\n.*This.*\n.*see.*\n.*file.*\n.*http.*\n.*\n.*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright \(c\) 2000 - 2009, Lawrence Livermore National Security, LLC\n\/\/ SPDX-License-Identifier: BSD-3-Clause/g' %s

Manual LANL

NVIDIA license impact

Manual Indiana

Manual copyrights

More manual licenses

More manual licenses

Replace Atamai

 cat a.out  | xargs -I %s perl -i~ -0777 -pe 's/\A\/\/ SPDX-FileCopyrightText.*\n\/\/ SPDX-License-Identifier.*\n\/\*.*\n\n.*Copyright \(c\) 2006 Atamai, Inc.\n\nUse.*\nbinary.*\nconditions.*\n\n1.*\n   form.*\n   the.*\n   license.*\n\n2.*\n   notice.*\n   in.*\n   distribution.*\n\n3.*\n   and.*\n\nTHE.*\nWITHOUT.*\nTHE.*\nPURPOSE.*\nMODIFY.*\nBE.*\n.*\nOR.*\nTHE.*\nPOSSIBILITY.*\n\n.*\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright \(c\) 2006 Atamai, Inc.\n\/\/ SPDX-License-Identifier: BSD-3-Clause/g' %s

Manual MIT

Manual licenses

Xdmf2 License

PLY license

Manual VRML licenses

replace Netcdf license

Manual OpenXR license

Manual Licenses

Example Licenses manual

Manual Copyrights and licenses

Manual licensing

Removing empty lines

Manual licenses

Manual final pass

Manual Dicom

Replace all cxx without copyright info

find .  -name "*.cxx" -exec grep -L "SPDX" {} \; | grep -v ThirdParty | grep -v Utilities > files.out

cat files.out |  xargs -I %s perl -i~ -0777 -pe 's/\A(.*)\n/\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-Clause\n$1\n/g' %s

Replace all header missing license

find .  -name "*\.h" -exec grep -L "SPDX" {} \; | grep -v ThirdParty | grep -v Utilities > files.out

cat files.out |  xargs -I %s perl -i~ -0777 -pe 's/\A(.*)\n/\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-Clause\n$1\n/g' %s

Manual from build

Add missing license

Replace copyright.txt

Remove license files

Manual fixes found by building

Fix header testing

Add license in vtkEncodeString

Manual new filters

Review JF
2023-07-25 17:51:01 +02:00
Sean McBride 8ea101aaa9 Fixed / suppressed cppcheck 2.10 warnings 2023-03-13 21:20:05 -04:00
Ben Boeckel 1713f8cc45 cmake: mask Cxx testing directories if only testing Python
This will allow the wheels to use the VTK test suite to validate
themselves.
2022-12-21 07:54:24 -05:00
Ryan Krattiger 95ff3e5413 Add name mangling module test.
This is a UNIX only test.
2022-09-20 16:13:59 -05:00
Ryan Krattiger 65fc526a83 Put VTK symbols inside ABI namespace macros.
VTK_ABI_NAMESPACE_{BEGIN,END} macro is inserted around all VTK symbols.

Exclusions:
 * C interfaces, such as GetVTKVersion and the python module.
 * third-party libraries and external libraries that are not maintained
   by VTK but are part of the VTK repository.
 * Cxx module tests
 * Utilities
 * Wrapping/Tools
2022-09-20 16:13:59 -05:00
Peter Franz 3fb509ea24 Fix vtkCompassWidget, vtkCompassRepresentation
- move vtkCompassRepresentation, vtkCompassWidget out of Geovis/Core to
Interaction/Widgets
- fix vtkCompassRepresentation, vtkCompassWidget to correctly interact
with mouse and render correctly
- add TestCompassWidget interaction/rendering test
2022-08-30 13:16:43 +12:00
Tiffany Chhim 8fa349051b Remove duplicate addition of TestGeoProjectionBounds
The test TestGeoProjectionBounds was added twice in CMakeLists.txt
if the numpy module is found.
2022-07-05 13:23:50 +02:00
Jean Favre 6b5c331263 Update Geovis/Core/Testing/Python/CMakeLists.txt 2022-07-04 18:28:45 +02:00
Jean M. Favre b865af06c1 adding a test to verify the correct bounds of the Mollweide projection 2022-07-04 18:28:15 +02:00
Jean M. Favre 28ee3a1c3c check that numpy is installed before doing the test 2022-07-04 18:08:32 +02:00
Jean M. Favre 379c4012fa adding a test to verify the correct bounds of the Mollweide projection 2022-07-04 18:08:32 +02:00
Jean M. Favre ef004f28e1 use dst instead of src for the projection direction 2022-07-04 18:06:59 +02:00
Sean McBride 2a58f54919 Renamed _InteractionState to eliminate reserved leading underscore
Fixes more -Wreserved-identifier warnings

The old spelling is preserved but deprecated.
2021-12-19 12:18:25 -05:00
Sean McBride b7c358e384 Renamed protected enum _WidgetState to WidgetStateType
Fixes -Wreserved-identifier warning. Underscore + uppercase is reserved.
2021-12-15 12:00:09 -05:00
Dan Lipsa e1d7c16003 Fix regex. 2021-11-30 13:15:00 -05:00
Dan Lipsa 7ae4ce5d6b Add proj test for python. 2021-11-29 17:26:07 -05:00
Dan Lipsa 123d38db72 Fix tidy for testlibproj. 2021-11-23 09:42:12 -05:00
Dan Lipsa ae1341233c Add TestLibProj 2021-11-11 10:12:12 -05:00
David Gobbi 3aa5b82331 Add the VTK_FILEPATH hint to many methods
The VTK_FILEPATH hint enables the use of Python's fspath protocol,
which allows Path objects to used in places where a path to a file
or directory is needed.  This is a convenience for Python users,
who would otherwise have to explicitly convert Path objects to
strings before using them with VTK.
2021-08-20 12:31:16 -06:00
Sankhesh Jhaveri 6a46a5c36c Use three slashes for API sharing documentation comment
Referred to as doxygen member group, comment block inside
`///@{...///@}` is shared by all class members in the block. Prior to
this change, doxygen was not sharing the documentation across members.
The original code was using two slashes: `//@{...//@}`.
2021-04-10 18:55:43 -04:00
Ben Boeckel 4052a892ad clang-tidy: fix `readability-redundant-smartptr-get` lints 2021-04-03 17:47:53 -04:00
Julien Schueller 0325638832 Geovis: Use proj>=5 api
Closes #18130
2021-03-08 10:59:50 +01:00
Ben Boeckel a72fd33761 clang-tidy: fix `readability-delete-null-pointer` lints 2021-02-24 19:36:47 -05:00
Ben Boeckel f9fe2310b0 clang-tidy: fix `modernize-use-equals-default` lints 2021-02-09 12:23:14 -05:00
Michael Migliore 29bfddf455 Add error when PROJ4 string is not valid 2020-10-02 15:59:22 +02:00
David Gobbi cdae83fc94 Remove tests that require ViewsGeovis
This module was removed in VTK 9, but there were still some tests
that used it.
2020-05-28 10:32:56 -06:00
Ben Boeckel 9bcc317e73 Geovis/Core: enable deprecated tests 2020-05-27 16:40:27 -04:00
Sean McBride bd6903ebd9 Corrected some slightly-wrong (70-90 char long) function separator comments
Used this script then manually reverted changes to ThirdParty and the like:

find . -iname "*.cxx" -exec sed -i '' s:^//-----------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//----------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//---------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//--------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//-------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//-----------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//----------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//---------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//--------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//-------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//--------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//---------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//----------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//-----------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//-------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//--------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//---------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +

find . -iname "*.cxx" -exec sed -i '' s:^//\ -----------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ ----------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ ---------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ --------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ -------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ ------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ -----------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ ----------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ ---------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ --------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ -------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ --------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ ---------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ ----------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ -----------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ ------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ -------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ --------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
find . -iname "*.cxx" -exec sed -i '' s:^//\ ---------------------------------------------------------------------------------------$:\/\/\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-:g {} +
2020-05-06 12:43:59 -04:00
Sean McBride 346d3d7286 Merge branch 'release-rendering-review-release' into release-rendering-review 2020-04-30 17:05:21 -04:00
Sean McBride 2593b8ab75 Added some consts
This will allow one day making those getters return const
2020-04-29 08:58:31 -04:00
Hans Johnson f118a65a65 STYLE: Prefer = default to explicitly trivial implementations
This check replaces default bodies of special member functions with
= default;. The explicitly defaulted function declarations enable more
opportunities in optimization, because the compiler might treat
explicitly defaulted functions as trivial.

Additionally, the C++11 use of = default more clearly expreses the
intent for the special member functions.
2020-04-22 13:21:18 -05:00
Sean McBride 3a92e0762c Fixed many clang-tidy inconsistent-declaration-parameter-name warnings
clang-tidy's auto-fix favours the name in the declaration, but it's not necessarily the better one, so I did use my judgement to choose between the declaration vs definition's name.

Sometimes comments had to be adjusted too.
2020-03-13 11:13:27 -04:00
Ken Martin 0a62a1fffb an assortment of minor compiler warnings etc
Just cleaning up some cruft
2020-01-09 10:11:04 -05:00
Cory Quammen 4e71b795d3 Add missing override keywords for destructors
Remove a few unnecessary virtual keywords as well.
2019-12-11 10:57:26 -05:00
Allison Vacanti 5ab1d844e7 Actually deprecate vtkDataArrayIteratorMacro.
Use dispatch/ranges instead.
2019-11-22 15:42:44 -05:00
Kitware Robot ac76fe1636 clang-format: reformat using clang-format-8
Run the `clang-format.bash` script to update all our C and C++ code to a
new style defined by `.clang-format`.  Use `clang-format` version 8.0.

* If you reached this commit for a line in `git blame`, re-run the blame
  operation starting at the parent of this commit to see older history
  for the content.

* See the parent commit for instructions to rebase a change across this
  style transition commit.
2019-11-18 13:02:47 -05:00
Kitware Robot 40f8c44d7e clang-format: remove semicolons from definitions
clang-format treats them as declarations and formats accordingly.
2019-11-18 13:02:07 -05:00
Kitware Robot 3add3bc930 clang-format: sort header include statements
Includes a few changes related to extraneous whitespace fixes and
deduplication of headers as well.
2019-11-13 08:47:29 -05:00
Allison Vacanti be39b25111 vtkCellArray redesign to enable random access.
See the vtkCellArray.h class docs for details.
2019-11-12 08:12:35 -05:00
Dan Lipsa b153542ce3 Fix ComputeUTMZone 2019-10-31 11:24:37 -04:00
Dan Lipsa a701db7b7f Add ComputeUTMZone 2019-07-23 10:23:45 -04:00
Julien Schueller 297d1d8350 Add libproj 6.0 compatibility
Closes #17554
2019-05-31 16:17:28 +02:00
Ken Martin 174552be43 try addressing gdal multithread issue
is causing a race condition
2019-03-06 13:18:49 -05:00
Ken Martin 85a56e8ef7 remove some code marked legacy in 8.2
cleaning up some 8.2 legacy code
2019-03-04 11:24:37 -05:00
Ben Boeckel 0e2442de6d vtkGDALRasterConverter: avoid a shadowing warning 2019-01-14 15:09:04 -05:00
luz.paz ff14c90bff Misc. typo fixes
Found via `codespell`
2019-01-13 09:54:38 -05:00
Ben Boeckel b3f6f12692 vtkGeovisGDAL: update to the new module system 2019-01-08 08:20:33 -05:00
Utkarsh Ayachit ecfb7ea3cb vtkGeovisCore: update to the new module system 2019-01-08 08:20:32 -05:00
Ben Boeckel 4974df28f7 testing: add CMake files for testing directories 2019-01-08 08:16:51 -05:00