1. 20 Feb, 2021 3 commits
  2. 19 Feb, 2021 1 commit
  3. 18 Feb, 2021 3 commits
  4. 12 Feb, 2021 5 commits
  5. 11 Feb, 2021 8 commits
  6. 10 Feb, 2021 1 commit
  7. 09 Feb, 2021 1 commit
  8. 08 Feb, 2021 1 commit
  9. 07 Feb, 2021 4 commits
  10. 06 Feb, 2021 1 commit
  11. 04 Feb, 2021 2 commits
  12. 31 Jan, 2021 3 commits
  13. 30 Jan, 2021 3 commits
  14. 29 Jan, 2021 2 commits
    • Vinícius dos Santos Oliveira's avatar
      Remove errc::failed_to_load_module · 45a7843e
      Vinícius dos Santos Oliveira authored
      Thanks to the change in the previous commit, we now have more
      informative error reasons (e.g. EISDIR) and no longer have a need for
      errc::failed_to_load_module.
      
      Usually removing error codes is a bad practice (a big NO-NO), but the
      project is very very young and nobody will e affected by this change.
      45a7843e
    • Vinícius dos Santos Oliveira's avatar
      Fix directory detection on module loading · 877e1f07
      Vinícius dos Santos Oliveira authored
      Previous code relied on underlying IO operations failing in case the
      user tried to open a directory as lua source code. However, the
      underlying IO operations (`lseek()` comes to notice) were succeeding on
      dir fds. The code would then crash right after.
      
      Now we perform a spurious 1-byte read() sooner in the code to force the
      invalid file proper detection.
      
      Fixes #9
      877e1f07
  15. 26 Jan, 2021 1 commit
  16. 17 Jan, 2021 1 commit
    • Vinícius dos Santos Oliveira's avatar
      Refactor push(std::errc::*) calls · 95d078ad
      Vinícius dos Santos Oliveira authored
      This commit introduces a small template trickery to embed extra data
      into the error object. There are places that were already adding extra
      information to error objects. The template trickery only makes the task
      more convenient.
      95d078ad