• Mark Olesen's avatar
    Remove vtk(Cxx|Type)RevisionMacro · 19c55e0e
    Mark Olesen authored
    The CVS $Revision$ keyword replacement will no longer maintain these
    macros automatically.  They were used only to implement CollectRevisions
    and vtkObjectBase::PrintRevisions, an API that was never used.
    
    Automated as follows:
    
      pass 0:
      catch templates
      ---------------
      $ git grep 'vtk\(Cxx\|Type\)RevisionMacro' | grep '<'
    
      pass 1:
      main changes
      ---------------
      $ git grep -l '^vtkCxxRevisionMacro' | while read file; do
        echo "$file" 1>&2
        perl -i -ne 'print unless (/^vtkCxxRevisionMacro/ and /\)/)' $file
      done
      $ git grep -l -e 'vtkTypeRevisionMacro(' | while read file; do
        echo "$file" 1>&2
        perl -i -pe 's/vtkTypeRevisionMacro/vtkTypeMacro/g' $file
      done
    
      pass 2:
      verify
      ---------------
      $ git grep 'vtk\(Cxx\|Type\)RevisionMacro'
    
    Fixed multi-line vtkCxxRevisionMacro and templates by hand.
    19c55e0e
Name
Last commit
Last update
..
Testing Loading commit data...
CMakeLists.txt Loading commit data...
README.html Loading commit data...
vtkGenericClip.cxx Loading commit data...
vtkGenericClip.h Loading commit data...
vtkGenericContourFilter.cxx Loading commit data...
vtkGenericContourFilter.h Loading commit data...
vtkGenericCutter.cxx Loading commit data...
vtkGenericCutter.h Loading commit data...
vtkGenericDataSetTessellator.cxx Loading commit data...
vtkGenericDataSetTessellator.h Loading commit data...
vtkGenericGeometryFilter.cxx Loading commit data...
vtkGenericGeometryFilter.h Loading commit data...
vtkGenericGlyph3DFilter.cxx Loading commit data...
vtkGenericGlyph3DFilter.h Loading commit data...
vtkGenericOutlineFilter.cxx Loading commit data...
vtkGenericOutlineFilter.h Loading commit data...
vtkGenericProbeFilter.cxx Loading commit data...
vtkGenericProbeFilter.h Loading commit data...
vtkGenericStreamTracer.cxx Loading commit data...
vtkGenericStreamTracer.h Loading commit data...