Skip to content
Snippets Groups Projects
  1. Jan 06, 2015
  2. Jan 05, 2015
  3. Jan 04, 2015
  4. Jan 03, 2015
    • Wuzzy's avatar
      Rewrite lua_api.txt into Markdown format · 800d912b
      Wuzzy authored
      Just Markdown, no variant of it. File name intentionally
      not changed to “lua_api.md” because of fear to break references
      to that file. The file can still be renamed later.
      800d912b
  5. Dec 30, 2014
  6. Dec 29, 2014
  7. Dec 28, 2014
  8. Dec 25, 2014
  9. Dec 20, 2014
  10. Dec 14, 2014
  11. Dec 12, 2014
  12. Dec 10, 2014
  13. Dec 06, 2014
  14. Nov 29, 2014
    • Ciaran Gultnieks's avatar
      Improve Lua API documentation · c30346ea
      Ciaran Gultnieks authored
      Changes:
        * Add extra documentation for remove_item.
      
          This isn't as silly as it sounds: iterate a list containing items with
          unique metadata each, and remove_item the first one you find, placing
          into a different - fine, except the remove will invariably remove the
          wrong one, leading to items being duplicated and others destroyed.
      
          Arguably it's a bug, and Inventory::removeItem should actually remove
          the item you tell it to. (i.e. if the passed ItemStack has metadata,
          match it). But it seems reasonable to just document the behaviour
          more clearly.
      
       * Improve string_to_pos documentation.
       * Clarify dig_node documentation (return value).
       * Better on_step documentation.
       * get_nodemeta -> get_meta.
       * Other minor fixes.
      c30346ea
  15. Nov 27, 2014
  16. Nov 13, 2014
  17. Oct 29, 2014
  18. Oct 22, 2014
  19. Oct 19, 2014
  20. Oct 18, 2014
  21. Oct 05, 2014
  22. Oct 02, 2014
  23. Sep 21, 2014
  24. Sep 20, 2014
  25. Sep 12, 2014
  26. Sep 01, 2014
  27. Aug 25, 2014
  28. Aug 23, 2014
    • Zeno-'s avatar
      Fix seg fault if popping from empty stack (L-system trees) · f33d3169
      Zeno- authored
      See: https://github.com/minetest/minetest/issues/1525
      
      Background
      Wuzzy2: If you attempt to spawn a L-system tree with minetest.spawn_tree, you can make Minetest crash if it is attempted to pop an empty stack.
      
      ShadowNinja: This shouldn't cause a segmentation fault, but it should throw a Lua error
      
      Commit Description
      This commit throws a Lua error instead of causing a segmentation fault. The server will still "crash" but will include a Lua backtrace.
      
      L-Systems fix randomness
      Unless a random seed is provided (via Lua treedef) seed the PRNG with a different seed for each tree
      Resolves: https://github.com/minetest/minetest/issues/1469
      
      Fix l-system crash when treedef random_level not set by Lua
      f33d3169
Loading