Commit Graph

  • 5e0aba3458 Don't forget to compile the erlang files Carlos Martín Nieto 2013-07-26 03:04:08 +02:00
  • 0d1c0e8f8e Add documentation and defaults to the NIF compiler Carlos Martín Nieto 2013-07-26 02:05:07 +02:00
  • bef56fd74c Check if the project exports a nif function Carlos Martín Nieto 2013-07-26 01:06:13 +02:00
  • 99b7108d74 Implement the Enumerable protocol for Tree Carlos Martín Nieto 2013-07-25 00:15:47 +02:00
  • 52a6f72fef Provide geef_tree:count/1 Carlos Martín Nieto 2013-07-24 23:55:54 +02:00
  • bed2e19ede Pass the args as a list to the compiler Carlos Martín Nieto 2013-07-24 23:41:22 +02:00
  • 08ca3b33c2 Search through a list of compilers to compile the NIF Carlos Martín Nieto 2013-07-23 13:54:39 +02:00
  • dea0eef8dc Compile the NIF directly Carlos Martín Nieto 2013-07-22 03:06:14 +02:00
  • bf2a59dbf2 Fix some dialyzer warnings Carlos Martín Nieto 2013-07-17 10:37:00 +02:00
  • ed6654fe59 Update README Carlos Martín Nieto 2013-07-12 18:38:18 +02:00
  • ff4eb2301a Merge pull request #1 from edescourtis/master Carlos Martín Nieto 2013-06-19 13:55:25 -07:00
  • 8e9a64af9a Older versions of Erlang (R15B02) don't have erlang:binary_to_integer/2 Eric des Courtis 2013-06-18 16:18:55 -04:00
  • 328b2c4b4b Allow getting a tree entry by position Carlos Martín Nieto 2013-06-12 02:34:53 +02:00
  • bd44d3f6b0 Oops: make sig tests pass Carlos Martín Nieto 2013-06-12 02:19:21 +02:00
  • b671c5110e Implement Access for Geef.Tree Carlos Martín Nieto 2013-06-12 00:05:04 +02:00
  • 2f20e18b56 Refactor elixir code Carlos Martín Nieto 2013-06-11 23:01:28 +02:00
  • 44dbf9a78b Make mix compile the NIF as well Carlos Martín Nieto 2013-06-11 17:31:32 +02:00
  • 9d222df593 Initial signature test Carlos Martín Nieto 2013-06-11 16:34:02 +02:00
  • f8f791296a Put the ref tests under the same function Carlos Martín Nieto 2013-06-09 02:19:53 +02:00
  • e8684471c0 Add ref shorthand function Carlos Martín Nieto 2013-06-09 02:12:31 +02:00
  • 042156d843 Bind ref name dwim Carlos Martín Nieto 2013-06-07 17:55:16 +02:00
  • 8244057d75 Use a macro to convert Geef.Object to :geef_object Carlos Martín Nieto 2013-06-07 10:58:24 +02:00
  • a0ded06b7a Create a record for tree entries Carlos Martín Nieto 2013-06-06 14:08:53 +02:00
  • 267353ea21 Wrap the rest of the object modules in elixir Carlos Martín Nieto 2013-06-06 11:14:57 +02:00
  • f82f47c025 Wrap :geef_pkt with elixir Carlos Martín Nieto 2013-06-06 10:42:22 +02:00
  • a80b7bc221 Use elixir names for elixir records Carlos Martín Nieto 2013-06-06 01:48:15 +02:00
  • d21d2cb9b0 Keep an object's id in the record Carlos Martín Nieto 2013-06-05 22:15:40 +02:00
  • 525fae1ee6 Don't forget mix.exs Carlos Martín Nieto 2013-06-05 21:42:47 +02:00
  • 133c1004ea Rename the object module to geef_obj Carlos Martín Nieto 2013-06-05 21:32:34 +02:00
  • ac3d2d03fe Rename the ref record to geef_reference Carlos Martín Nieto 2013-06-05 21:14:04 +02:00
  • 1df7939d4c Better elixir example in README Carlos Martín Nieto 2013-06-05 01:46:01 +02:00
  • 9f82af2ac3 Add odb and reference wrappers Carlos Martín Nieto 2013-06-05 01:40:08 +02:00
  • 21c5c8ca2d Add experimental elixir Geef.Repository wrapper Carlos Martín Nieto 2013-06-05 00:57:19 +02:00
  • 370acd05ce More correct spec for pkt Carlos Martín Nieto 2013-06-05 00:18:00 +02:00
  • 8eaad74c3a Avoid going into the NIF for resolving an oid ref Carlos Martín Nieto 2013-06-05 00:17:27 +02:00
  • 9f500e3fa0 Release binaries after creating writable copy Carlos Martín Nieto 2013-06-04 23:37:03 +02:00
  • 369a2e5151 Add convenience geef_pkt:line([]) -> [] Carlos Martín Nieto 2013-06-02 00:02:11 +02:00
  • bd510de1e3 Also parse "done" lines Carlos Martín Nieto 2013-05-31 13:56:49 +02:00
  • 3ec3c454c8 geef_object:type/1 helper for elixir Carlos Martín Nieto 2013-05-30 03:50:45 +02:00
  • 0e644be825 Add tag-peeling support Carlos Martín Nieto 2013-05-30 03:39:51 +02:00
  • f410083711 Simplify the pkt parsing code Carlos Martín Nieto 2013-05-28 19:13:49 +02:00
  • 75e3d5416c Better handling of flush, short lines Carlos Martín Nieto 2013-05-28 17:57:45 +02:00
  • ecb7cdfc23 Parse protocol requests Carlos Martín Nieto 2013-05-28 09:18:58 +02:00
  • 03f43d3265 pkt: parse want and have lines Carlos Martín Nieto 2013-05-27 10:56:19 +02:00
  • 23baf9a8b0 Fix pkt-line length Carlos Martín Nieto 2013-05-27 02:50:45 +02:00
  • dacbbbc20e Add a simple protocol helper Carlos Martín Nieto 2013-05-27 02:18:25 +02:00
  • 523b20d70a ref: return {ok, Name} tuple for the name in the NIF Carlos Martín Nieto 2013-05-27 01:55:13 +02:00
  • b79c606725 Remove references to ref type filtering Carlos Martín Nieto 2013-05-27 01:31:54 +02:00
  • 2ebfc7b4d3 Complete the definition of the index_entry record Carlos Martín Nieto 2013-05-27 01:07:04 +02:00
  • 7b1dacffc7 Convert geef_odb to a gen_server Carlos Martín Nieto 2013-05-23 10:49:00 +02:00
  • 41113f3221 Rename geef_oid:fmt -> hex Carlos Martín Nieto 2013-05-13 11:49:49 +02:00
  • 604388a76d Keep the reference name as part of the record Carlos Martín Nieto 2013-05-13 11:46:07 +02:00
  • dfdb4cbb54 README: use highlighted code block, talk about elixir Carlos Martín Nieto 2013-05-13 11:06:37 +02:00
  • 4a2f2e8ab2 Namespace the records Carlos Martín Nieto 2013-05-13 10:55:18 +02:00
  • cc8124a6b9 Accept an iolist in the revwalk Carlos Martín Nieto 2013-05-12 15:02:54 +02:00
  • 75c591a089 Forgot to move one call to geef_nif Carlos Martín Nieto 2013-05-12 15:02:31 +02:00
  • 1077a055dc Remove geef_ref:target/1, use the record Carlos Martín Nieto 2013-05-11 04:01:55 +02:00
  • d84338742e Update README Carlos Martín Nieto 2013-05-10 12:14:58 +02:00
  • 1621871387 Simpify rm_r Carlos Martín Nieto 2013-05-04 01:02:21 +02:00
  • fc80d6d836 Rename geef_tree:bypath -> get Carlos Martín Nieto 2013-05-04 00:25:06 +02:00
  • 3f4d51c0e1 Simple version of index_add Carlos Martín Nieto 2013-05-03 14:05:00 +02:00
  • a5bbfa681b Use the right function for the index ctor Carlos Martín Nieto 2013-05-03 13:41:36 +02:00
  • b420b61c19 Clean up after the repo tests Carlos Martín Nieto 2013-05-02 19:40:01 +02:00
  • 616a358dc7 Prefer binary realloc to self-managed buffers Carlos Martín Nieto 2013-05-02 13:09:51 +02:00
  • ef7d2d5490 Return {error, enonmem} in OOM situations Carlos Martín Nieto 2013-05-02 11:37:35 +02:00
  • 0aa11d8532 Allow creation of refs Carlos Martín Nieto 2013-05-02 06:24:15 +02:00
  • 9d7139d604 ref: store the target in the record Carlos Martín Nieto 2013-05-02 03:53:07 +02:00
  • 0127730f6b Add geef_index:read_tree() Carlos Martín Nieto 2013-04-26 14:32:07 +02:00
  • 0a71085a40 Introduce geef_index Carlos Martín Nieto 2013-04-25 12:42:44 +02:00
  • 65227fe85b Move nif functions to geef_nif Carlos Martín Nieto 2013-04-25 11:05:57 +02:00
  • 54d9e8b63a Add lookup/2 to the specific types Carlos Martín Nieto 2013-04-22 01:57:53 +02:00
  • 3adfa507c0 Fix geef_ref:lookup/2 Carlos Martín Nieto 2013-04-21 17:14:36 +02:00
  • 353995a2da Properly stop the repo and revwalk servers Carlos Martín Nieto 2013-04-10 20:11:07 +02:00
  • d0034b1142 Add a test for revwalk Carlos Martín Nieto 2013-04-10 19:08:05 +02:00
  • 7a1a079a5a Make revwalk a gen_server Carlos Martín Nieto 2013-04-10 15:20:46 +02:00
  • 4f507b8146 Make the repo a gen_server Carlos Martín Nieto 2013-04-06 18:34:02 +02:00
  • 58aff1e129 Add revwalk support Carlos Martín Nieto 2013-04-02 17:12:43 +02:00
  • 011068f51c Expose reference_name_to_id Carlos Martín Nieto 2013-04-02 07:30:02 +02:00
  • 7de2b5f4b6 Return error messages as binaries Carlos Martín Nieto 2013-04-02 06:28:50 +02:00
  • 24c78039a8 Fix typo in README Carlos Martín Nieto 2013-04-01 16:46:25 +03:00
  • 5a3e0e0f34 Remove geef:hex_to_raw Carlos Martín Nieto 2013-04-01 15:10:02 +02:00
  • f41ff25a59 Expose git_libgit2_version Carlos Martín Nieto 2013-04-01 15:08:05 +02:00
  • c2d1acbbe6 Write a few docs Carlos Martín Nieto 2013-03-31 23:17:51 +02:00
  • 2dcd701c53 Implement a dummy upgrade function Carlos Martín Nieto 2013-03-31 22:24:20 +02:00
  • 2d1d1456ec Bind repository discovery Carlos Martín Nieto 2013-03-31 22:20:35 +02:00
  • 29217c65fe Update README example API Carlos Martín Nieto 2013-03-31 21:23:50 +02:00
  • aa1ba5bfa5 Have geef_odb:exists take an oid properly Carlos Martín Nieto 2013-03-31 21:10:26 +02:00
  • 8d7fbb1ec5 Add a couple more tests Carlos Martín Nieto 2013-03-30 15:11:29 +01:00
  • d546274f8c Add geef_repo:odb Carlos Martín Nieto 2013-03-30 15:11:13 +01:00
  • 125e132af9 Add geef_odb:write Carlos Martín Nieto 2013-03-30 14:19:05 +01:00
  • 5ee6b055e9 tree: don't use a record for tree entry Carlos Martín Nieto 2013-03-28 05:39:26 +01:00
  • 7987f35e58 Add a way to get a blob's size and content Carlos Martín Nieto 2013-03-02 14:34:16 +01:00
  • c1660ec259 Add ebin/ and .enunit to the ignore rules Carlos Martín Nieto 2013-03-02 12:43:17 +01:00
  • d0bdfecf4b Add a basic blob wrapper Carlos Martín Nieto 2013-03-02 12:42:47 +01:00
  • 94c5ece71c Makefile: make test depend on compile Carlos Martín Nieto 2013-03-02 12:34:21 +01:00
  • 9b2a053848 Add object id lookup Carlos Martín Nieto 2013-03-02 03:27:40 +01:00
  • d62511515d Remove unused variable, remember to capitalise variables Carlos Martín Nieto 2013-03-02 03:12:44 +01:00
  • 361c9ddb27 Let geef_object:lookup also be an iolist Carlos Martín Nieto 2013-03-02 03:10:42 +01:00
  • b5b68cce8b Allow getting a tree entry Carlos Martín Nieto 2013-03-02 02:56:58 +01:00
  • 1807ba4374 Don't shout every time the NIF is loaded Carlos Martín Nieto 2013-03-01 19:59:00 +01:00