Skip to content
Snippets Groups Projects
  1. Jun 04, 2019
  2. Jun 03, 2019
  3. May 06, 2019
  4. May 03, 2019
  5. Apr 29, 2019
    • Bill Lorensen's avatar
      BUG: Enabled floating point exceptions for tests · 252cad22
      Bill Lorensen authored
      The dynamic analysis tests have uncovered a number of floating point
      exceptions, mainly divide by zero. This MR enables floating point
      exceptions if tests are built with a debug build type and the
      compiler is a gnu compiler.
      
      Safety guards have been added to classes that exhibited exceptions.
      
      TestAdjustLowerBoundForLogPlot.cxx - Tried to take log10 of negative number
      
      TestlinePlotDouble - inf and nan used in test. Disable exceptions
      
      vtkChart.cxx - guards to protect against zero divide
      
      vtkChartBox.cxx - guards to protect against zero divide
      
      vtkInteractiveArea.cxx - trying to take log10 of negative number
      
      vtkPiecewisePointHandleItem.cxx - protect against degenerate lines
      
      vtkAMRSliceFilter.cxx - protect against zero length vector
      
      vtkLagrangianBasicIntegrationModel.cxx - guards to protect against zero divide
      
      UnitTestMultiThreshold - disable exceptions for one test that uses Nan()
      
      vtkIntersectionPolyDataFilter.cxx - guard acos range
      
      vtkPCAStatistics.cxx - guards to protect against zero divide
      
      vtkCubeAxesActor.cxx - guard against log10(0.0)
      
      vtkColorTransferFunction.cxx - guard to protect against zero divide
      
      TestGPURayCastIsosurface.cxx - disable exceptions, possible driver issue
      
      vtkDendrogramItem.cxx - check for degenrate line
      
      vtkDendrogramItem.h - comparison doesn't meet irreflexive requirements
      252cad22
  6. Mar 07, 2019
  7. Mar 05, 2019
  8. Feb 08, 2019
  9. Jan 23, 2019
  10. Jan 08, 2019
  11. Dec 20, 2018
    • Sean McBride's avatar
      Fixed all -Wswitch-enum warnings · 4cb5e34c
      Sean McBride authored
      There were surprisingly few.  The benefit is that when additional enums are added, a warning will point you to consider every switch statement.
      4cb5e34c
  12. Dec 04, 2018
  13. Nov 18, 2018
    • Utkarsh Ayachit's avatar
      Fix vtkChartMatrix to not set invalid size · a11e4c23
      Utkarsh Ayachit authored
      Fixes issue exposed by !4835.
      
      vtkChartMatrix was setting sizes with negative widths/heights on
      internal plots. This was happening during ParaView test playback.
      Fixing vtkChartMatrix to avoid setting invalid sizes, prefer empty sizes
      instead.
      
      Added a few more assert checks in vtkContextClip and
      vtkOpenGLContextDevice2D to catch such issues earlier.
      a11e4c23
  14. Nov 15, 2018
    • Bill Lorensen's avatar
      BUG: Dynamic zero divide errors · dcbf3fcf
      Bill Lorensen authored
      vtkChartBox: replaced a retained, returned pointer with a stored
      value.
      
      vtkChartXY: Added check for range[0] == range[1] and avoid division by zero.
      
      vtkFunctionParser: Added check for division of a vector by 0.0.
      
      vtkUnstructuredGridQuadricDecimation: first time through loop,
      lasterror is 0.0. Avoid division by zero by checking for 0.0.
      dcbf3fcf
  15. Nov 12, 2018
    • Bill Lorensen's avatar
      BUG: Dynamic zero divide errors · 2216de74
      Bill Lorensen authored
      vtkChartBox: replaced a retained, returned pointer with a stored
      value.
      
      vtkChartXY: Added check for range[0] == range[1] and avoid division by zero.
      
      vtkFunctionParser: Added check for division of a vector by 0.0.
      
      vtkUnstructuredGridQuadricDecimation: first time through loop,
      lasterror is 0.0. Avoid division by zero by checking for 0.0.
      2216de74
  16. Oct 27, 2018
  17. Oct 06, 2018
  18. Sep 14, 2018
  19. Sep 13, 2018
  20. Aug 16, 2018
  21. Aug 13, 2018
    • Cory Quammen's avatar
      Fix logic for AdjustLowerBoundForLogPlot · bddd6572
      Cory Quammen authored
      The implementation of vtkChartXY::RecalculatePlotBounds() works with
      either the scaled or unscaled bounds, depending on whether scaling is
      enabled on the axis. However, the logic for handling the
      AdjustLowerBoundForLogPlot flag was not correctly handling the case
      where the bounds were log scaled.
      
      To address this issue, the implementation now uses some logic to
      determine whether log scaling is enabled and adjusts the bounds of the
      plot accordingly.
      
      Added a test for this feature as well.
      bddd6572
    • Cory Quammen's avatar
      Standardize vtkAxis::PrintSelf() · 2a1dc2a1
      Cory Quammen authored
      PrintSelf() should print the member names and values. vtkAxis was
      doing something different.
      2a1dc2a1
  22. Aug 06, 2018
  23. Aug 02, 2018
  24. Aug 01, 2018
    • luz.paz's avatar
      Misc. typos · 0c5f8b4b
      luz.paz authored
      Found via `codespell -q 3 -I ../vtk-whitelist-words.txt --skip="./ThirdParty,./Utilities"`
      0c5f8b4b
  25. Jul 30, 2018
  26. Jul 27, 2018
  27. Jul 26, 2018
  28. Jun 18, 2018
  29. Jun 17, 2018
  30. May 31, 2018
  31. May 30, 2018
  32. May 25, 2018
Loading