Permalink
Commits on Mar 31, 2011
Commits on Mar 30, 2011
  1. Ref packing support. Complete with a crazy bloated implementation

    using 2 mutexes. With an exception, I think I have a ref packing
    solution that will ensure existing loaded references, even if being
    used simultaneously to the packing process, synchronous or
    asynchronous, deleting/deleted or not, will still work.
    
    The exception? I'm getting a race condition using one of the mutexes, 
    I need to come up with a workaround, as I can't free the lock until
    the object has been created, but I can't create the object until I'm
    back on the main loop, which isn't feasible.
    
    I'm worried I may have to overhaul the objectwrapping system a bit, so
    I create the wrapping object anytime I want, and then wrap it in a V8
    JS object when I hit the main loop. I actually just thought of that
    while I was writing this git commit comment. The more I think about
    it, that may be the solution, and it is a bit of an optimization too,
    as I'll be able to load a git object, create a wrapping object for it,
    load all the data, and then wrap it in a JS object when I come back to
    main thread. That would eliminate the need to go into the EIO
    threadpool a second time too, as well as meaning I can allocate the
    C++ wrapping object in the EIO thread (also a minor improvement).
    
    Will have to work on this tomorrow. Bedtime.
    samcday committed Mar 30, 2011
  2. Updated TODO again.

    samcday committed Mar 30, 2011
  3. Updated TODO.

    samcday committed Mar 30, 2011
  4. Point proven. Go away now.

    samcday committed Mar 30, 2011
  5. LOL. It's late.

    samcday committed Mar 30, 2011
  6. Revert "Revert "Threadpool tested.""

    This reverts commit 03db44f
    samcday committed Mar 30, 2011
  7. Revert "Threadpool tested."

    This reverts commit 85dc04a
    samcday committed Mar 30, 2011
  8. Threadpool tested.

    samcday committed Mar 30, 2011
  9. playing around.

    samcday committed Mar 30, 2011
  10. work on references.

    samcday committed Mar 30, 2011
  11. Working on ref deletions.

    samcday committed Mar 30, 2011
  12. Update todo list.

    samcday committed Mar 30, 2011
  13. More test tidying up.

    samcday committed Mar 30, 2011
  14. Big test cleanup.

    reference_bare_repo fixture is now just that - it's a reference repo
    to test git data retrieval. There is now a helper method to create a
    test repository, which will just make a duplicate of the
    temp_repo_template in the /tmp directory, all write tests are now done
    using these temp repos instead. They have a small set of test objects
    to work with also.
    samcday committed Mar 30, 2011
  15. Cleaned up reference bare repo.

    samcday committed Mar 30, 2011
  16. Added a temp repo template.

    samcday committed Mar 30, 2011
Commits on Mar 29, 2011
  1. Removed rawobj tests.

    samcday committed Mar 29, 2011
  2. Removed tree_entry

    samcday committed Mar 29, 2011
  3. Tag create/save done.

    samcday committed Mar 29, 2011
  4. tree cleanup.

    samcday committed Mar 29, 2011
  5. git_tree_close on Tree dtor.

    samcday committed Mar 29, 2011
  6. Work on tree updates.

    samcday committed Mar 29, 2011
  7. Blob bindings done.

    samcday committed Mar 29, 2011
  8. More work on Blobs.

    samcday committed Mar 29, 2011