Permalink
Switch branches/tags
Nothing to show
Commits on Mar 28, 2011
  1. call default touch end event when onImageTap callback does not set, o…

    typester committed Mar 28, 2011
    …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…

    markofjohnson committed Mar 16, 2011
    …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.

    markofjohnson committed Mar 4, 2011
    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)

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

    markofjohnson committed Mar 3, 2011
    …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.

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

    markofjohnson committed Mar 3, 2011
    …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…

    markofjohnson committed Mar 3, 2011
    …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…

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

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

    markofjohnson committed Feb 4, 2011
    …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

    markofjohnson committed Feb 4, 2011
    - 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.…

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

    markofjohnson committed Jan 16, 2011
  2. Added some comments.

    markofjohnson committed Jan 16, 2011
    A little clean up.
  3. first version into github

    markofjohnson committed Jan 16, 2011
  4. overview

    markofjohnson committed Jan 16, 2011
  5. first commit

    markofjohnson committed Jan 16, 2011