1. 05 Apr, 2012 1 commit
    • David Gobbi's avatar
      COMP: Fix python module prefix/suffix in vtkMy and vtkLocal. · 26f302fe
      David Gobbi authored
      The two build examples, vtkMy and vtkLocal, were not setting the
      prefix/suffix for the python modules.  On Windows, modules must
      be built with a ".pyd" suffix, because the .dll suffix has been
      deprecated since Python 2.5.  On Linux/Unix/OS X, modules should
      have the "lib" prefix stripped.
      
      Change-Id: I9b9c6bb1d4ab010a46a4b9237afd5d683b21a02e
      26f302fe
  2. 09 Nov, 2010 1 commit
  3. 20 May, 2010 1 commit
    • Mark Olesen's avatar
      Remove vtk(Cxx|Type)RevisionMacro · ecbbf7f7
      Mark Olesen authored and Brad King's avatar Brad King committed
      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.
      ecbbf7f7
  4. 23 Apr, 2010 1 commit
    • Mark Olesen's avatar
      Remove vtk(Cxx|Type)RevisionMacro · 19c55e0e
      Mark Olesen authored and Brad King's avatar Brad King committed
      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
  5. 14 Dec, 2005 1 commit
  6. 09 Dec, 2005 1 commit
  7. 30 Aug, 2005 1 commit
  8. 02 Mar, 2005 1 commit
  9. 01 Mar, 2005 1 commit
    • Brad King's avatar
      ENH: Using variables VTK_INSTALL_BIN_DIR, VTK_INSTALL_LIB_DIR, and... · 0237f1dc
      Brad King authored
      ENH: Using variables VTK_INSTALL_BIN_DIR, VTK_INSTALL_LIB_DIR, and VTK_INSTALL_INCLUDE_DIR for install locations.  They default to the old values (/bin, /lib/vtk, and /include/vtk) but can be changed by parent projects like ParaView to install inner VTK instances in a special location.
      0237f1dc
  10. 19 Aug, 2004 1 commit
  11. 14 Nov, 2003 1 commit
  12. 03 Feb, 2003 1 commit
  13. 09 Dec, 2002 1 commit
  14. 07 May, 2002 1 commit
  15. 11 Apr, 2002 1 commit
  16. 13 Mar, 2002 1 commit
  17. 06 Mar, 2002 2 commits
  18. 22 Jan, 2002 1 commit
  19. 07 Jan, 2002 1 commit
  20. 04 Jan, 2002 1 commit
    • Brad King's avatar
      ENH: Three sweeping changes. · 12947cd1
      Brad King authored
      1.) vtkTypeRevisionMacro is now used in all VTK classes in place of
          vtkTypeMacro.  It invokes the original vtkTypeMacro and then adds
          a protected CollectRevisions method for future use in serialization.
          A corresponding vtkCxxRevisionMacro has been added to every .cxx file
          to implement the CollectRevisions method for each class.  This will
          allow collection of every class revision at run time.  Any new VTK class
          should use vtkTypeRevisionMacro instead of vtkTypeMacro.  The .cxx
          implementation should then have the following line:
            vtkCxxRevisionMacro(vtkFoo, "$Revision: 1.1 $");
          CVS should insert the correct revision number when the class is commited.
      
      2.) vtkTypeMacro now also adds a typedef called "Superclass" to refer to
          the superclass of any VTK class.  All PrintSelf methods have been
          updated to call their superclass's PrintSelf like this:
            this->Superclass::PrintSelf(os,indent);
          This should reduce the number of places that refer to a superclass
          by its actual name.
      
      3.) The standard ::New() method implementation has been replaced with a
          macro.  Instead of an explicitly written implementation to try the
          object factory and then call the new operator, VTK classes should
          instead use the following macro unless they have a special New() method:
            vtkStandardNewMacro(vtkFoo);
          This will implement the New() method in the standard way.  The line
          should appear in the .cxx implementation file, not in the header.
          Using the macro will make it easier to change the standard
          implementation of the method.
      
      Also removed tabs from many files.
      12947cd1
  21. 21 Dec, 2001 2 commits
  22. 20 Dec, 2001 3 commits
  23. 19 Dec, 2001 2 commits