1. 16 Dec, 2015 1 commit
    • Johny Mattsson's avatar
      Reworked module registration, removed modules.h · 4e8ef87d
      Johny Mattsson authored
      Module creation & registration now made a lot simpler. In essence,
      each module file is now self-contained and only needs a
      
        NODEMCU_MODULE(MYNAME, "myname", myname_map, luaopen_myname);
      
      line to both be automatically recognised by the Lua initialization
      as well as honor the LUA_USE_MODULES_MYNAME #define.
      4e8ef87d
  2. 12 Dec, 2015 1 commit
    • Johny Mattsson's avatar
      Major cleanup of module registration. · 6b6456be
      Johny Mattsson authored
      As per #810 & #796, only LUA_OPTIMIZE_MEMORY=2 & MIN_OPT_LEVEL=2 are
      supported when building. This commit effects that limitation.
      
      With this change modules/auxmods.h no longer needs to be updated for
      every new module, nor do module writers need to cater for a hypothetical
      LUA_OPTIMIZE_MEMORY < 2 scenario.
      6b6456be
  3. 05 Dec, 2015 1 commit
    • Nick Andrew's avatar
      Remove the lobject.c:88 assertion failures · e9ee9a57
      Nick Andrew authored
      
      
      When lua assertions are enabled, normal operation results in many:
      
      lobject.c:88: (((t1)->tt) == 4)
      lobject.c:88: (((t2)->tt) == 4)
      lobject.c:88: (((t1)->tt) == 4)
      lobject.c:88: (((t2)->tt) == 4)
      lobject.c:88: (((t1)->tt) == 4)
      lobject.c:88: (((t2)->tt) == 4)
      
      It comes from using the pvalue() macro for 3 pointer types, where
      pvalue() also checks the type of pointer and complains through the
      assertion where the type == 4 (TLIGHTUSERDATA).
      
      Use the correct macro according to the type of data being compared
      to eliminate this assertion error.
      Signed-off-by: default avatarNick Andrew <nick@nick-andrew.net>
      e9ee9a57
  4. 03 Dec, 2015 1 commit
  5. 22 Nov, 2015 1 commit
  6. 18 Nov, 2015 1 commit
  7. 08 Nov, 2015 1 commit
  8. 03 Nov, 2015 3 commits
  9. 12 Oct, 2015 3 commits
  10. 05 Apr, 2015 1 commit
  11. 14 Mar, 2015 1 commit
  12. 06 Mar, 2015 3 commits
  13. 01 Mar, 2015 1 commit
  14. 14 Feb, 2015 1 commit
  15. 13 Feb, 2015 3 commits
  16. 12 Feb, 2015 1 commit
  17. 11 Feb, 2015 1 commit
  18. 26 Jan, 2015 1 commit
  19. 25 Jan, 2015 1 commit
  20. 24 Jan, 2015 1 commit
  21. 07 Jan, 2015 1 commit
  22. 06 Jan, 2015 1 commit
  23. 05 Jan, 2015 2 commits
  24. 31 Dec, 2014 1 commit
  25. 30 Dec, 2014 3 commits
  26. 26 Dec, 2014 1 commit
  27. 22 Dec, 2014 1 commit