Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

  1. 14 Feb, 2018 1 commit
  2. 12 Jan, 2018 1 commit
    • rswindell's avatar
      Added command-line option -C (capital 'C'): · 2596f5e5
      rswindell authored
      - This option instruts JSexec to *not* change the current working directory to
        the control (CTRL) directory
      - This is useful when using jsexec to deal with files and passing relative
        paths or wildcards on the command-line
      - Warning: scripts executed with this option may behave differently than the
        same script executed from SBBS where the current working directory is always
        the CTRL directory.
      2596f5e5
  3. 06 Jan, 2018 1 commit
  4. 30 Dec, 2017 3 commits
  5. 28 Nov, 2017 1 commit
  6. 27 Nov, 2017 1 commit
  7. 13 Nov, 2017 2 commits
  8. 15 Nov, 2016 1 commit
  9. 21 Jan, 2016 1 commit
  10. 05 Dec, 2015 1 commit
    • deuce's avatar
      Send all log messages to statfp (defaults to stderr) instead of confp (defaults · 00b534ac
      deuce authored
      to stdout).
      
      Previous behaviour was:
      1) By default, send error messages to errfp (stderr), and other log messages to
         confp (stdout).
      2) If -e and one of -o or -q are specified, also send a copy of error messages
         to statfp (defaults to stderr, changed to /dev/null by -n)
      3) If -e is specified, also send a copy of error messages to confp (defaults to stdout)
      
      If -e, -o, were both specified, this resulted in an error log entry going into the file
      specified by -e, the file specified by -o, and confp (stdout by default).
      
      New behaviour:
      1) By default, send error messages to errfp (stderr), and other log messages to statfp
         (stderr).
      2) If -e is specified, send error messages to the specified file and statfp (stderr).
      3) Always send status messages to statfp (stderr).
      
      Set up some more stuff for jsdoor...
      
      Call gethostname() since there is no "SCFG value" for it.
      
      Send "status messages" (log messages that aren't errors, and the banner) to
      /dev/null by default (ie: force the "-n" argument)
      
      Send "error messages" (log messages that are error according to log level) to
      "error.log" by default (ie: force the "-eerror.log" argument)
      00b534ac
  11. 25 Nov, 2015 2 commits
  12. 16 Nov, 2015 1 commit
  13. 14 Nov, 2015 1 commit
  14. 10 Nov, 2015 2 commits
  15. 29 Oct, 2015 1 commit
  16. 28 Oct, 2015 1 commit
  17. 07 Oct, 2015 1 commit
  18. 28 Sep, 2015 2 commits
  19. 22 Aug, 2015 1 commit
  20. 25 Apr, 2015 1 commit
    • deuce's avatar
      Fix exit() behaviour by introducing the new js.scope value which is the · f3256d81
      deuce authored
      scripts global scope (as opposed to js.global which is the instance global
      scope), and having exit() define exit_code in js.scope instead of js.global.
      
      This also sets exit_code in js.scope to null when preparing to execute a new
      script.  If a new script starts in the same scope as an old one, the old
      exit_code value will be destroyed.
      
      This should only impact scripts where js.global != js.scope (bbs.exec()ed,
      and mailsrvr)
      f3256d81
  21. 11 Feb, 2013 1 commit
  22. 10 Feb, 2013 1 commit
  23. 24 Dec, 2012 1 commit
  24. 26 Oct, 2012 1 commit
  25. 23 Oct, 2012 1 commit
    • deuce's avatar
      Make the debugger actually useful. · 329a03a3
      deuce authored
      Added backtrace (bt) and up/down commands.
      Allow specifying breakpoints in file:line format for future load()s.
      
      Breakpoints are a small memory leak right now as there's no way to clear them.
      329a03a3
  26. 22 Oct, 2012 3 commits
    • deuce's avatar
      Put js_script back inside js_exec(). · d27bd1ce
      deuce authored
      d27bd1ce
    • deuce's avatar
      Add initial stab at scoping the debugger issue... · ece5cbdf
      deuce authored
      Running jsexec with the -D argument will enter the debugger.  Inside the
      debugger, there are the following commands:
      "r"                runs the script
      "clear"            clears any pending exceptions (mostly useless)
      "break ###"        set a break at the specified line number
      "e <statement>"    eval()uates <statement> in the current frame
      "eval <statement>" also eval()s
      
      This is a proof of concept right now since it's only in jsexec and the command
      parser is a joke.  Eventually, this will also work for ;EXEC scripts in the
      BBS and be even more awesome.  This should be enough to get mcmlxxix off my
      back though.
      ece5cbdf
    • deuce's avatar
      Alphabetize parsed options. · 06e77c3d
      deuce authored
      06e77c3d
  27. 12 Nov, 2011 1 commit
  28. 03 Nov, 2011 1 commit
  29. 29 Oct, 2011 1 commit
  30. 28 Oct, 2011 3 commits