1. 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
  2. 12 Nov, 2011 1 commit
  3. 03 Nov, 2011 1 commit
  4. 29 Oct, 2011 1 commit
  5. 28 Oct, 2011 3 commits
  6. 26 Oct, 2011 1 commit
  7. 19 Oct, 2011 1 commit
  8. 18 Oct, 2011 1 commit
  9. 17 Oct, 2011 1 commit
  10. 16 Oct, 2011 2 commits
  11. 14 Oct, 2011 1 commit
  12. 11 Oct, 2011 1 commit
  13. 10 Oct, 2011 1 commit
  14. 09 Oct, 2011 3 commits
  15. 08 Oct, 2011 1 commit
  16. 30 Aug, 2011 1 commit
  17. 27 Apr, 2011 1 commit
  18. 28 Jun, 2010 1 commit
  19. 02 Apr, 2010 1 commit
  20. 19 Mar, 2010 1 commit
  21. 13 Mar, 2010 3 commits
  22. 12 Mar, 2010 1 commit
  23. 21 Aug, 2009 1 commit
    • deuce's avatar
      Various fixes for Turbo C++ · 5a67738c
      deuce authored
      Mostly they seem to be using unsigned long rather than DWORD for Win32 API
      calls.
      5a67738c
  24. 18 Aug, 2009 1 commit
  25. 17 Aug, 2009 1 commit
  26. 14 Aug, 2009 2 commits
    • rswindell's avatar
      When executing (not loading) a script from a file, 3 new properties are · 71d44c8f
      rswindell authored
      created:
      js.exec_path - full path and filename of file executed
      js.exec_dir - directory of executed file
      js.exec_file - filename executed (with no path)
      71d44c8f
    • rswindell's avatar
      Added JS load() search path extensibility: · f45e2156
      rswindell authored
      Configurable via ctrl/sbbs.ini file JavaScriptLoadPath key value
      (comma-separate listed of search directories), default value is "load".
      This list is exposed in the JS object model via the js.load_path_list array
      (may be modified by scripts).
      For JSexec, the default load path list may be over-ridden with the '-i' option.
      For relative load paths (e.g. not beginning with '/' or '\'), the path is
      assumed to be a sub-directory of the (configurable) mods or exec directories
      and is searched accordingly.
      So, by default, load("somefile.js") will search in this order:
      mods/load/somefile.js
      exec/load/somefile.js
      mods/somefile.js
      exec/somefile.js
      f45e2156
  27. 18 Feb, 2009 1 commit
  28. 24 Jan, 2009 2 commits
  29. 20 Dec, 2008 1 commit