1. 05 Nov, 2017 2 commits
  2. 19 Sep, 2017 1 commit
    • alex@thinkpad's avatar
      Lua: refactored lua_take_semaphore calls · eff9892a27d9
      alex@thinkpad authored
      - checking for success: if (result == 0) instead of if(!result)
      - checking whether "sem" was set: use assert (rather than giving the same error message as a semaphore timeout)
      
      --HG--
      branch : lua_fix
      eff9892a27d9
  3. 25 Mar, 2017 2 commits
  4. 25 Jan, 2017 2 commits
  5. 19 Jun, 2016 1 commit
  6. 28 May, 2016 1 commit
    • David Milligan's avatar
      lua scripting: script unloading and autorun options · aa8ec45bd8c9
      David Milligan authored
      user can disable autorun
      scripts don't autorun until user runs them the first time
      "simple" scripts (no menus or events) don't autorun, only run on demand and unload when finished
      script menu now lists all available scripts, "simple" scripts can be run from here, "complex" scripts can have autorun disabled/enabled from here
      TODO: update docs
      TODO: the 'extra' directory is probably no longer needed
      
      --HG--
      branch : lua_fix
      aa8ec45bd8c9
  7. 18 Apr, 2016 1 commit
  8. 11 Apr, 2016 1 commit
  9. 27 Mar, 2016 1 commit
  10. 22 Mar, 2016 1 commit
    • David Milligan's avatar
      lua scripting: implement 'reflection' for fields of api modules by using a... · fd36ba34f3ae
      David Milligan authored
      lua scripting: implement 'reflection' for fields of api modules by using a custom __pairs metamethod and iterator (cherry picked commits from lua_touch branch)
      
      this allows us to do e.g.:
      for k,v in pairs(camera) do
        printf("%s = %s",k,tostring(v))
      end
      
      should make writing simple, automatic, generic API tests easier
      
      --HG--
      branch : lua_fix
      fd36ba34f3ae
  11. 06 Mar, 2016 1 commit
  12. 13 Jun, 2015 1 commit
  13. 03 May, 2015 1 commit
  14. 23 Apr, 2015 1 commit
  15. 22 Apr, 2015 1 commit
  16. 21 Apr, 2015 1 commit
    • David Milligan's avatar
      lua.mo: API documentation · 34f41250383a
      David Milligan authored
      ldoc specifies 'int' and 'bool' as the types rather than 'integer' and 'boolean'
      enable markdown
      include examples
      
      --HG--
      branch : lua
      34f41250383a
  17. 11 Apr, 2015 1 commit
  18. 10 Apr, 2015 1 commit