1. 10 May, 2017 1 commit
  2. 07 Apr, 2017 1 commit
  3. 03 Apr, 2017 1 commit
  4. 10 Mar, 2017 1 commit
  5. 08 Mar, 2017 2 commits
  6. 17 Nov, 2016 1 commit
  7. 16 Sep, 2016 1 commit
  8. 15 Sep, 2016 1 commit
  9. 26 Jul, 2016 2 commits
  10. 15 Jul, 2016 1 commit
  11. 11 Jul, 2016 2 commits
  12. 08 Jul, 2016 8 commits
  13. 24 Jun, 2016 1 commit
  14. 16 Jun, 2016 1 commit
    • Manuel Grizonnet's avatar
      STYLE: Use ITK_NULLPTR to utilize c++11 features · 0f26e689
      Manuel Grizonnet authored
          Where available, use c++11 features to identify
          potential nullptr usage errors.
      
          python run-clang-tidy.py -clang-tidy-binary ~/software/clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-14.04/bin/clang-tidy -checks=-*,modernize-use-nullptr -header-filter=/home/grizonnetm/projets/otb/src/OTB/Modules/.*/.*/include/.* -j8 -fix -p ~/projets/otb/bin/release/OTB-clang3.8/ ~/projets/otb/src/OTB/Modules/*/*/src/*.cxx ~/projets/otb/src/OTB/Modules/*/*/app/*.cxx ~/projets/otb/src/OTB/Examples/*/*.cxx ~/projets/otb/src/OTB/Modules/*/*/test/*.cxx > ~/temporary/run-clang-tidy-nullptr-log.txt
      
          find . -type f -print -name "*.h" -o -name "*.txx" -o -name "*.cxx" |xargs perl -pi -e 's/nullptr/ITK_NULLPTR/g'
      0f26e689
  15. 13 Jun, 2016 1 commit
    • Manuel Grizonnet's avatar
      ENH: Remove double underscore in header guards (.txx & __otb*_h form) · 82842d15
      Manuel Grizonnet authored
      Used the following command:
      
      find . \( -iname *.txx -and ! -path *ThirdParty* \) -exec perl -pi -w -e 's/__otb(.*)_txx/otb$1_txx/g;' {} \;
      find . \( -iname *.h -and ! -path *ThirdParty* \) -exec perl -pi -w -e 's/__otb(.*)_h/otb$1_h/g;' {} \;
      
      Fixes many, but not all, clang -Wreserved-id-macro warnings.
      82842d15
  16. 10 Jun, 2016 1 commit
    • Manuel Grizonnet's avatar
      ENH: Explicitly recognize virtual functions · 3de2b346
      Manuel Grizonnet authored
          clang-tidy tool can insert missing override keyword as a macro so that missing [optional] virtual identifiers can be easily added.
      
          build otb with clang 3.8 and use cmake option CMAKE_EXPORT_COMPILE_COMMANDS=ON. Most modules and third parties have been activated.
      
          #Save override occurences in otb code
          cd src/Modules ; grep -nR "override" * > ~/temporary/override_otb.txt
      
          #Run clang modernize check using utility script which allow to process the code in parallel
          python run-clang-tidy.py -clang-tidy-binary ~/software/clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-14.04/bin/clang-tidy -checks=-*,modernize-use-override -header-filter=/home/grizonnetm/projets/otb/src/OTB/Modules/.*/.*/include/.* -j8 -fix -p ~/projets/otb/bin/release/OTB-clang3.8/ ~/projets/otb/src/OTB/Modules/*/*/src/*.cxx ~/projets/otb/src/OTB/Examples/*/*.cxx ~/projets/otb/src/OTB/Modules/*/*/test/*.cxx > ~/temporary/run-clang-tidy-log.txt
      
          #Replace override by ITK macro (to maintain compat with c++98)
          find . -type f -print -name "*.h" -o -name "*.txx" |xargs perl -pi -e 's/\ override/\ ITK_OVERRIDE/g'
      3de2b346
  17. 29 Mar, 2016 1 commit
  18. 16 Mar, 2016 1 commit
  19. 18 Feb, 2016 2 commits
  20. 27 Jan, 2016 1 commit
  21. 26 Jan, 2016 1 commit
  22. 22 Jan, 2016 2 commits
  23. 04 Jan, 2016 1 commit
    • Rashad Kanavath's avatar
      ENH: apply spelling.patch from DebianGIS · 8cafd175
      Rashad Kanavath authored
      This is a big one without much harm. It fixes incorrect spelling
      and grammer when packaging OTB 5.0.0 and 5.2.0 for Debian.
      Most of these changes are done by developers at DebianGIS.
      For more info, I include the original patch header below.
      Description: Fix some spelling errors to silence lintian
      enabling  to concentrate on the real problem.
      Author: Andreas Tille <tille@debian.org>
      Author: Rashad Kanavath <rashad.kanavath@c-s.fr>
      Author: Bas Couwenberg <sebastic@xs4all.nl>
      Last-Update: 2015-12-22
      8cafd175
  24. 24 Nov, 2015 1 commit
  25. 20 Nov, 2015 1 commit
  26. 16 Nov, 2015 1 commit
  27. 21 Sep, 2015 1 commit
    • Manuel Grizonnet's avatar
      "BUG: fix missing ITCopyright.txt" · c9a072d0
      Manuel Grizonnet authored
      Following remarks from debian packagers, the ITCopyright.txt was mentioned in
      several files but not available in the Copyright directory.  After contacting
      the contributor Gregoire Mercier, he has suggested to harmonize the copyright for his
      contributions.  Files with GET or IT copyright referenced now the
      IMTCopyright.txt file (Institut Mines Telecom) which was added to the Copyright directory.
      
      Moreover, Gregoire Mercier confirmed that he is not the author of 7 files which
      are mentioning the GET or IT copyright:
      
      Modules/Filtering/Projection/include/otbROIdataConversion.h
      Modules/Filtering/Projection/include/otbROIdataConversion.txx
      Modules/Segmentation/Conversion/test/otbVectorDataRasterizeFilter.cxx
      Modules/Segmentation/Conversion/test/otbVectorDataToLabelImageFilterWithoutReader.cxx
      Modules/Segmentation/Conversion/test/otbPolygonizationRasterizationTest.cxx
      Modules/Segmentation/Conversion/test/otbVectorDataToLabelImageFilter.cxx
      Modules/Segmentation/Conversion/test/otbOGRDataSourceToLabelImageFilter.cxx
      
      Thus, the copyright was also modified for these 7 files (CNES Copyright).
      c9a072d0
  28. 11 Sep, 2015 1 commit