1. 07 Apr, 2019 3 commits
  2. 06 Apr, 2019 2 commits
    • Andrew Price's avatar
      Give onoff mwjs objects a timestamp · 3d5db0e9
      Andrew Price authored
      function handler(ev)
      {
      	switch (ev.type) {
              case "mw_logon":
              case "mw_logoff":
              case "talker_join":
              case "talker_leave":
                      onoff = ev.data;
      		t = new Date(onoff.unixtime * 1000);
      		mw.print("onoff event at: " + t);
      		break;
      	}
      	return true;
      }
      mw.onevent.push(handler);
      3d5db0e9
    • Andrew Price's avatar
      Logon/join/leave/logoff improvements · 3222e3af
      Andrew Price authored
      Don't send separate messages to announce these events, have mw display
      them on receipt of onoff events, if scripted handlers allow it to.
      3222e3af
  3. 04 Apr, 2019 1 commit
  4. 01 Apr, 2019 3 commits
  5. 29 Mar, 2019 4 commits
  6. 28 Mar, 2019 3 commits
  7. 18 Feb, 2019 1 commit
  8. 17 Feb, 2019 2 commits
  9. 07 Dec, 2018 1 commit
  10. 06 Dec, 2018 2 commits
  11. 22 Nov, 2018 1 commit
  12. 19 Nov, 2018 2 commits
  13. 17 Nov, 2018 1 commit
  14. 16 Nov, 2018 2 commits
  15. 11 Nov, 2018 1 commit
  16. 10 Nov, 2018 3 commits
  17. 08 Nov, 2018 1 commit
    • Andrew Price's avatar
      Update to duktape 2.3.0 · 04d73cba
      Andrew Price authored
      Configured with
      
      -UDUK_USE_DUKTAPE_BUILTIN \
      -DDUK_USE_INTERRUPT_COUNTER \
      -DDUK_USE_EXEC_TIMEOUT_CHECK=check_exec_timeout
      04d73cba
  18. 06 Nov, 2018 4 commits
  19. 05 Nov, 2018 3 commits
    • Andrew Price's avatar
      js-duk: Implement exit events · b1196d3a
      Andrew Price authored
      Replaces bind(K_BIND_SHUTDOWN, ...)
      
          function handler(ev)
          {
                  switch (ev.type) {
                  ...
                  case "exit":
                          mrodder = ev.data;
                          if (mrodder)
                                  mw.print("Your mw session was killed by " + mrodder);
                          break;
                  ...
                  }
          }
          mw.onevent.push(handler);
      b1196d3a
    • Andrew Price's avatar
      js-duk: Implement input events · 5b49d551
      Andrew Price authored
      Replaces bind(K_BIND_INPUT, ...).
      
          function handler(ev)
          {
                  switch (ev.type) {
                  ...
                  case "input":
                          line = ev.data;
                          mw.print("You inputted: " + line);
                          mw.say(" " + line + " ");
                          return false; // Suppress normal processing
                  ...
                  }
          }
          mw.onevent.push(handler);
      5b49d551
    • Andrew Price's avatar
      Remove force_list and K_BIND_FORCE · 4dbf0632
      Andrew Price authored
      4dbf0632