1. 16 May, 2019 1 commit
  2. 20 Feb, 2019 1 commit
  3. 13 Feb, 2019 1 commit
  4. 08 Feb, 2019 1 commit
  5. 14 Jan, 2019 1 commit
  6. 30 Oct, 2018 1 commit
  7. 18 Jul, 2018 1 commit
    • Victor Poughon's avatar
      REFAC: remove unnecessary calls to c_str · ee124eea
      Victor Poughon authored
      This was done with this script:
      
          #!/bin/bash
      
          set -eou pipefail
      
          # Use C++11 sstream constructor from string
          # Exclude 'ThirdParty' because it uses ossimFilename type
          find Modules/ Examples/ -not -iwholename "*ThirdParty*" -type f -print0 | xargs -0 sed -i -E "s/std::ifstream (.*)\((.*)\.c_str\(\)/std::ifstream \1\(\2/"
          find Modules/ Examples/ -not -iwholename "*ThirdParty*" -type f -print0 | xargs -0 sed -i -E "s/std::ofstream (.*)\((.*)\.c_str\(\)/std::ofstream \1\(\2/"
      
          # Use C++11 ::open(const std::string&) of ifstream, ofstream, etc.
          # Exclude ThirdParty because of ossimFilename type
          find Modules/ Examples/ -not -iwholename "*ThirdParty*" -type f -print0 | xargs -0 sed -i -E "s/\.open\((.*).c_str\(\)/\.open\(\1/"
      
          # No need for c_str when outputing to std::cout and such
          find Modules/ Examples/ -type f -print0 | xargs -0 sed -i -E "s/\.c_str\(\) ?<</ <</"
      
          # Use itk::ExceptionObject::SetDescription and SetLocation string versions
          find Modules/ Examples/ -type f -print0 | xargs -0 sed -i -E "s/e\.SetDescription\((.*)\.c_str\(\)\)/e\.SetDescription\(\1\)/"
          find Modules/ Examples/ -type f -print0 | xargs -0 sed -i -E "s/e\.SetLocation\((.*)\.c_str\(\)\)/e\.SetLocation\(\1\)/"
      
          # Use itksys::SystemTool:: string versions
          find Modules/ Examples/ -type f -print0 | xargs -0 sed -i -E "s/itksys::SystemTools::(.*)\((.*)\.c_str\(\)/itksys::SystemTools::\1\(\2/"
          # Exclude otbLogger because it uses GetCurrentDateTime which does not have a string version
          git checkout --  Modules/Core/Common/src/otbLogger.cxx
          # Exclude test/otbOGRLayerStreamStitchingFilter.cxx because there's a double use which is not compatible with the regex
          git checkout -- Modules/Segmentation/OGRProcessing/test/otbOGRLayerStreamStitchingFilter.cxx
      ee124eea
  8. 14 Jun, 2018 1 commit
  9. 01 Nov, 2017 1 commit
  10. 02 Aug, 2017 1 commit
  11. 08 Mar, 2017 2 commits
  12. 15 Sep, 2016 1 commit
  13. 22 Sep, 2015 1 commit
  14. 16 Sep, 2015 1 commit
    • Rashad Kanavath's avatar
      ENH: Build examples if a dependent module is available. · 9b896a88
      Rashad Kanavath authored
      Earlier one needs all otb modules to build examples. This single commit
      activate an example and its related test if and only if all of its
      dependent module is activated. The check for a module is done using
      <Module>_LOADED cmake variable. With this change, activating
      BUILD_EXAMPLES=ON works flawlessly irrespective of your build configuration.
      9b896a88
  15. 04 May, 2015 1 commit
  16. 22 Feb, 2015 1 commit
  17. 21 Feb, 2015 1 commit
  18. 19 Feb, 2015 1 commit
  19. 18 Feb, 2015 2 commits
  20. 08 Jan, 2015 1 commit
  21. 17 Dec, 2014 1 commit
  22. 28 Oct, 2014 1 commit
  23. 13 Jul, 2014 1 commit
  24. 29 Jan, 2014 1 commit
  25. 15 Nov, 2013 5 commits
  26. 04 Jul, 2013 2 commits
  27. 03 Jul, 2013 3 commits
  28. 02 Jul, 2013 1 commit
  29. 28 Jan, 2013 1 commit
  30. 25 Jan, 2013 2 commits