1. 12 Mar, 2021 1 commit
  2. 06 Jan, 2021 2 commits
  3. 17 Jul, 2020 1 commit
  4. 23 Jun, 2020 2 commits
  5. 07 Apr, 2020 1 commit
  6. 10 Feb, 2020 1 commit
    • Sébastien Villemot's avatar
      Further improvements to parsing of arguments on the MATLAB command-line · ae59f4dc
      Sébastien Villemot authored
      Under GNU/Linux and macOS, double-quote arguments before passing them to the
      shell. In particular, this allows passing single-quotes within those arguments.
      
      We therefore have to escape the four characters that are interpreted within
      double-quoted strings in POSIX shells: \, ", $ and `
      
      On Windows, also systematically escape the backslashes.
      
      Also move display of arguments before escaping, so that it remains readable.
      
      Ref. #1696
      ae59f4dc
  7. 29 Jan, 2020 1 commit
  8. 23 Jan, 2020 1 commit
    • Sébastien Villemot's avatar
      Fix the handling of options nopreprocessoroutput, onlyjson and onlymacro when... · d3e90a8d
      Sébastien Villemot authored
      Fix the handling of options nopreprocessoroutput, onlyjson and onlymacro when they appear at the top of the .mod file
      
      The nopathchange is still not supported in this context, so document it.
      
      Also recommend the whitespace-separated syntax instead of the comma-separated
      syntax, since the latter is inconsistent with the way options are passed on the
      command-line.
      
      Closes: #1667
      d3e90a8d
  9. 21 Jan, 2020 1 commit
  10. 06 Jan, 2020 1 commit
  11. 20 Dec, 2019 1 commit
  12. 06 Dec, 2019 2 commits
    • Houtan Bastani's avatar
      dynare.m: simplify code · dec7d4fd
      Houtan Bastani authored
      dec7d4fd
    • Houtan Bastani's avatar
      fix uncommon bug in parsing dynare command line options · 3a223e9c
      Houtan Bastani authored
      previously, `nopathchange` and `nopreprocessoroutput` were set even if they were values instead of option names.
      
      `nopathchange` would further remove all options that contained `'nopathchange'`
      
      e.g. `dynare example1.mod savemacro=nopathchange` would erroneously set `nopathchange` to true and would delete the `savemacro` option altogether
      
      In the fix, just check that the match starts in position 1 as, if the argument passed is longer than the matching pattern (e.g. nopathchangee), the preprocessor will stop processing with a usage error
      3a223e9c
  13. 27 Nov, 2019 1 commit
  14. 09 Oct, 2019 1 commit
  15. 03 Oct, 2019 1 commit
  16. 05 Sep, 2019 1 commit
  17. 20 May, 2019 1 commit
  18. 20 Dec, 2018 1 commit
    • Sébastien Villemot's avatar
      Restore behavior of 'nolog' option · f363c3da
      Sébastien Villemot authored
      The option had been broken by 0e77815e.
      
      This option cannot be entirely handled at the preprocessor level, since the
      main log file is created at the MATLAB/Octave level. Handle it via a dedicated
      regular expression.
      f363c3da
  19. 19 Dec, 2018 1 commit
  20. 13 Nov, 2018 3 commits
  21. 29 Oct, 2018 1 commit
  22. 28 Jun, 2018 1 commit
  23. 27 Jun, 2018 1 commit
  24. 06 Jun, 2018 2 commits
  25. 05 Jun, 2018 2 commits
  26. 16 May, 2018 2 commits
  27. 16 Feb, 2018 2 commits
  28. 14 Nov, 2017 2 commits
  29. 28 Sep, 2017 1 commit
  30. 08 Sep, 2017 1 commit