1. 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
  2. 24 Mar, 2016 1 commit
  3. 16 Mar, 2016 1 commit
  4. 06 Jan, 2016 1 commit
  5. 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
  6. 24 Nov, 2015 3 commits
  7. 21 Nov, 2015 1 commit
  8. 20 Nov, 2015 2 commits
  9. 02 Nov, 2015 1 commit
  10. 27 Oct, 2015 1 commit
  11. 13 Oct, 2015 1 commit
  12. 29 Sep, 2015 1 commit
  13. 22 Sep, 2015 1 commit
  14. 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
  15. 17 Sep, 2015 1 commit
  16. 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
  17. 11 Sep, 2015 1 commit
  18. 21 Aug, 2015 1 commit
  19. 19 Aug, 2015 2 commits
  20. 18 Aug, 2015 1 commit
  21. 09 Jul, 2015 1 commit
  22. 08 Jul, 2015 1 commit
  23. 04 May, 2015 1 commit
  24. 21 Apr, 2015 1 commit
  25. 16 Apr, 2015 2 commits
  26. 03 Apr, 2015 1 commit
  27. 02 Apr, 2015 1 commit
  28. 24 Mar, 2015 2 commits
  29. 20 Mar, 2015 1 commit
  30. 13 Mar, 2015 1 commit
  31. 12 Mar, 2015 1 commit
  32. 05 Mar, 2015 1 commit
  33. 02 Mar, 2015 1 commit
  34. 27 Feb, 2015 1 commit