1. 15 Dec, 2017 1 commit
  2. 29 Nov, 2017 1 commit
    • Remy Suen's avatar
      Add JavaScript version of `git_tag_peel()` · 19e24053
      Remy Suen authored
      The git_tag_peel() function from libgit2 naturally takes a pointer as
      a parameter for providing the caller with the peeled object. However,
      this kind of API does not make sense in the JavaScript world so we
      need to change the generated code to return the actual object to the
      caller.
      19e24053
  3. 16 Oct, 2017 1 commit
  4. 13 Oct, 2017 1 commit
  5. 12 Sep, 2017 2 commits
  6. 16 Aug, 2017 2 commits
  7. 15 Aug, 2017 1 commit
  8. 10 Aug, 2017 2 commits
  9. 09 Aug, 2017 1 commit
  10. 08 Aug, 2017 2 commits
  11. 02 Aug, 2017 1 commit
  12. 31 Jul, 2017 1 commit
  13. 26 Jul, 2017 1 commit
    • Kurt Berglund's avatar
      Change tree_entry to not be selfFreeing · 62f5be60
      Kurt Berglund authored
      The libgit2 use cases all are instances where the git_tree_entry is owned by the object that returned it. As such this marks the tree_entry as not self freeing. And also updates functions returning one of these to set ownedByThis. This will keep the owning object alive should someone have a reference to a tree_entry.
      
      The git_treebuilder_insert method needed to be marked as not async in order to have access to the owning object. This seems like a case where the generator could be improved should this method need to be async.
      62f5be60
  14. 25 Jul, 2017 3 commits
  15. 13 Apr, 2017 1 commit
    • Remy Suen's avatar
      Expose a proper JavaScript API for TreeEntry's `toObject` · ce2f4e3f
      Remy Suen authored
      libgit2's git_tree_entry_to_object(*) function takes a pointer to
      return a git_object back to the caller. We should remove this in the
      generated code so that the concept of a pointer is not brought over
      to the JavaScript API.
      ce2f4e3f
  16. 14 Feb, 2017 1 commit
  17. 08 Feb, 2017 1 commit
  18. 07 Feb, 2017 1 commit
  19. 06 Feb, 2017 1 commit
    • Remy Suen's avatar
      Make the `message` argument of `Stash.save` optional · a5fa89c7
      Remy Suen authored
      libgit2's git_stash_save function does not actually require the
      message to be set. One will be generated if a message is not given so
      the parameter should be flagged as being optional in NodeGit as well.
      a5fa89c7
  20. 05 Feb, 2017 1 commit
  21. 04 Feb, 2017 1 commit
  22. 30 Jan, 2017 1 commit
  23. 28 Jan, 2017 1 commit
    • Remy Suen's avatar
      Make `Branch.createFromAnnotated` async · 9fa1a326
      Remy Suen authored
      The function was originally synchronous which meant it would return
      something on regardless of whether it succeeded (a branch) or failed
      (an error code). This forces the client to have to check whether the
      returned object is an error code or an object. Change the function to
      be asynchronous instead so that clients can use the resolved or
      rejected promise to easily determine whether the branch was
      successfully created or not.
      9fa1a326
  24. 07 Oct, 2016 2 commits
  25. 26 Jul, 2016 1 commit
    • Kyle Smith's avatar
      Memory management: duplicate time · cdc5767e
      Kyle Smith authored
      it's unsafe to use the signature's time directly since the signature could be freed. Instead duplicate the signature's time when it is requested and set it as self freeing.
      cdc5767e
  26. 20 Jul, 2016 1 commit
  27. 01 Jun, 2016 1 commit
  28. 12 May, 2016 1 commit
  29. 03 May, 2016 1 commit
  30. 27 Apr, 2016 4 commits