Skip to content
Snippets Groups Projects
  1. May 22, 2019
  2. Feb 24, 2019
  3. Jan 23, 2019
  4. Dec 04, 2018
  5. Nov 29, 2018
  6. Nov 26, 2018
  7. Jul 13, 2018
  8. May 15, 2018
  9. May 09, 2018
    • Matthias Grob's avatar
      astyle: switch condition to empty string check · 2c56ceec
      Matthias Grob authored
      Thanks to @bkueang 's review comment I switched to an explicit check for
      an empty sting instead of a condition that could be theoretically true
      in other cases and is less readable.
      
      Type "man test" on your terminal to read up what -n stands for.
      2c56ceec
    • Matthias Grob's avatar
      astyle: fix display language dependency · 72db7d33
      Matthias Grob authored
      The shell script which checks the style relies on greping for the
      keyword "Formatted" in the output of astyle. But the program has
      localization support and will output in other languages e.g. german.
      This leads to all style checks always succeeding. I only tested this
      on Windows in Cygwin but I can imagine the problem also exists in
      non-english Ubuntu installations.
      
      Solution is the parameter --formatted of astyle which only produces
      any output if there was something to fix. This allows for a display
      language independent condition for an empty string inside the shell
      script.
      72db7d33
  10. Jan 31, 2018
  11. Oct 17, 2017
  12. Aug 25, 2017
  13. Aug 23, 2017
Loading