Skip to content
Commits on Apr 18, 2011
  1. Removed to Xcode 4 warnings, does not do anything to the meaning of t…

    Morten Bøgh committed
    …he code.
  2. Updated gitignore to be Xcode 4 compatible.

    Morten Bøgh committed
Commits on Apr 14, 2011
  1. Fix for defect reported by danielrhodes

    committed
    If a handler has a retain count of 1 and gets released after finishing a download (by being bumped from the buffer), it causes a crash when it tries to add itself to the memory buffer.
    
    This would occur at line 355 in HJMOHandler.m.
    
    I think this can be solved by bumping it from the download buffer after the object has been added to the memory buffe
    
    Signed-off-by: Mark Johnson <markofjohnson@yahoo.com>
  2. @typester

    call default touch end event when onImageTap callback does not set, o…

    typester committed with
    …therwise this view blocks default touch event chain.
Commits on Mar 16, 2011
  1. Fix so that if the managed object user fails to make the managed obje…

    committed
    …ct when asked to do so, or if the network download fails, HJCache removes all traces of the problem object from memory caches and file cache. Eg if a downloaded image is corrupted and can't be made into a UIImage, HJCache removes it from cache so that if that image is managed again, it will be downloaded again, hopefully not corrupted the next time. This prevents problem objects from sticking around in cache and becoming permanent problems.
    
    Signed-off-by: Mark Johnson <markofjohnson@yahoo.com>
Commits on Mar 4, 2011
  1. Added resetLoadingBufferToSize method.

    committed
    Signed-off-by: Mark Johnson <markofjohnson@yahoo.com>
Commits on Mar 3, 2011
  1. removed an old TODO (which was done in a previous checkin)

    committed
    Signed-off-by: Mark Johnson <markofjohnson@yahoo.com>
  2. HJManageImageV now has userInteractionEnabled=NO in its initializer s…

    committed
    …o that it behaves more like a UIImageView by default. You can set userInteractionEnabled=YES if you want it to catch touch events, or set the callback, which will set userInteractionEnabled=YES for you. Be careful in nib files, will need to set userInteractionEnabled correctly.
    
    Signed-off-by: Mark Johnson <markofjohnson@yahoo.com>
  3. A quick proof of urls with spaces in them working correctly.

    committed
    Signed-off-by: Mark Johnson <markofjohnson@yahoo.com>
  4. Managed objects loaded from file cache get added to object managers i…

    committed
    …n memory cache.
    
    In memory cache can be sized to 0 zero if only file caching is desired. (Loading buffer should not be sized to zero or else nothing will ever load from a url.)
    
    Signed-off-by: Mark Johnson <markofjohnson@yahoo.com>
  5. Don't use callbackOnSetImage if the image is nil, so that the callbac…

    committed
    …k doesn't get called durring dealloc.
    
    Signed-off-by: Mark Johnson <markofjohnson@yahoo.com>
Commits on Feb 4, 2011
  1. accounting for the last leak... its an Apple bug, and only in the dem…

    committed
    …o code, not in HJCache proper
    
    Signed-off-by: Mark Johnson <markofjohnson@yahoo.com>
  2. plugged a minor leak

    committed
    Signed-off-by: Mark Johnson <markofjohnson@yahoo.com>
  3. fixed bug where if you store the object manager in the same view you …

    committed
    …are using it, app could crash. Problem was that the object manager could dealloc before the loading handlers, and the callback from the url connection would then try to use the deleted object manager. Fix is to make sure all handlers cancel their urls before deleting the object manager.
    
    Signed-off-by: Mark Johnson <markofjohnson@yahoo.com>
  4. - squashed more bugs due to incomplete deallocs

    committed
    - added a top level table view to pick between the 2 demos, which makes it easier to test for leaks because the object manager and the cells using the managed image will all get dealloced when you go back to the menu
    
    Signed-off-by: Mark Johnson <markofjohnson@yahoo.com>
Commits on Feb 1, 2011
  1. Fixed leaking of the managed object due to unfinished dealloc method.…

    committed
    … Doh!
    
    Signed-off-by: Mark Johnson <markofjohnson@yahoo.com>
Commits on Jan 28, 2011
Commits on Jan 16, 2011
  1. gitignore

    committed
  2. Added some comments.

    committed
    A little clean up.
  3. first version into github

    committed
  4. overview

    committed
  5. first commit

    committed
Something went wrong with that request. Please try again.