Commit Graph

2833 Commits

Author SHA1 Message Date
Olivier Poitrey e5b05c3109 Merge pull request #539 from sibljon/patch-1
Update argument list for example in README
2013-10-27 10:37:50 -07:00
Jonathan Sibley 00c200b8c1 Update argument list for example in README 2013-10-27 09:53:00 -07:00
Olivier Poitrey 3645b6f41b Merge pull request #537 from raylillywhite/patch-1
Fix link to "Who Uses SDWebImage" wiki page
2013-10-25 13:41:14 -07:00
Ray Lillywhite 1d6ace1886 Fix link to "Who Uses SDWebImage" wiki page 2013-10-25 10:20:34 -07:00
Olivier Poitrey 8830781f8f Merge pull request #534 from pixable/ios-background
iOS Background: Provide background option through the manager
2013-10-23 11:29:55 -07:00
Luis Solano Bonet 81d6bf91a9 Provide background option through the manager 2013-10-23 14:20:12 -04:00
Luis Solano Bonet c79e6ffe04 Add option to continue download in background 2013-10-22 15:21:30 -07:00
Olivier Poitrey 5df0eafc92 Fix WebP target 2013-10-04 11:43:27 -07:00
Olivier Poitrey 94f51343b8 Merge pull request #522 from redhand/master
Removed strong reference to UIImageView in nested block
2013-09-30 22:17:29 -07:00
Pete Koat 83f476ba8f Merge branch '63d60d9' 2013-09-30 17:09:33 -07:00
Pete Koat 63d60d9826 Removed strong reference to UIImageView which was causing a crash in the nested block. 2013-09-30 17:02:32 -07:00
Olivier Poitrey 9820cafe9b Merge pull request #498 from donholly/master
Added and exposed some methods that allow to check if an image exists on...
2013-09-20 11:03:18 -07:00
Olivier Poitrey 340db263fa Remove WebP support from default target and add a dedicated target
Too many people have issue with WebP library dependancy.
2013-09-20 10:53:11 -07:00
Olivier Poitrey 03d28fee03 Only use the runloop with timeout on iOS 5 (fix #497) 2013-09-20 10:46:35 -07:00
Olivier Poitrey 0076bb9a55 Share schema so it can be used by Xcode bots 2013-09-20 10:45:35 -07:00
Don 8a2ae7e547 Fixed styling to match rs/SDWebImage repo 2013-09-12 13:45:11 -07:00
Don 547345c7f5 Added and exposed some methods that allow to check if an image exists on disk without taking it off disk and decompressing it first. Makes for a nice performance boost when checking if many files exist in the disk cache already 2013-09-12 11:58:43 -07:00
Olivier Poitrey 2bded38216 Merge pull request #487 from Gabro/patch-1
Enforced presence of a completedBlock in downloadWithURL:options:progress:completed
2013-08-29 07:41:34 -07:00
Gabriele Petronella 5bbddae80d Updated doc marking the completedBlock parameter of downloadWithURL:options:progress:completed as required 2013-08-29 13:03:33 +01:00
Gabriele Petronella f37474d5c8 Enforced presence of a completedBlock in downloadWithURL:options:progress:completed:
This method bails out in case of a missing `completedBlock`. While this makes sense (downloading the image without a completion block and not doing anything with it is pointless), a client passing a empty block is not informed about the mistake.

`NSParameterAssert` validates the input and it informs the client about bad usage of the API.
2013-08-29 12:46:15 +01:00
Olivier Poitrey 22cd4e49c4 Fix xcode project settings 2013-08-27 16:23:59 -07:00
Olivier Poitrey 7e2763a500 Merge pull request #479 from longlongjump/master
Fix long running requests
2013-08-23 08:19:52 -07:00
Eugene 16e1a1fff6 Fix long running requests 2013-08-23 00:49:45 +03:00
Olivier Poitrey 76d2fc8d0e Update project to comply with Xcode 5 2013-08-20 16:25:27 -07:00
Olivier Poitrey 8c295cfe80 Update webp to upstream head 2013-08-19 18:44:27 -07:00
Olivier Poitrey a0df1a0dc2 Merge pull request #472 from ikesyo/webp-subspec
Use 'default_subspec' and separate the WebP support to its sub-spec
2013-08-14 08:48:41 -07:00
Syo Ikeda 6f3debd7a2 Fix sub-spec dependency 2013-08-14 16:57:20 +09:00
Syo Ikeda bbf0b5c0e6 Use 'default_subspec' and separate the WebP support to its sub-spec
This removes unnecessary dependency to 'libwebp' for users who don't need WebP support.
2013-08-14 16:02:06 +09:00
Olivier Poitrey 67a28d90ef Change version to 3.4 2013-08-13 10:22:25 -07:00
Olivier Poitrey 9f1ac247e7 Merge pull request #471 from PinchProject/hotfix/fast_enumeration_fix
The callbacksForURL: method in SDWebImageDownloader should return a copy of the mutable array!
2013-08-13 05:51:31 -07:00
Kevin Cador f356b86c29 The callbacksForURL: method of SDWebImageDownloader now returns a copied array. This should fix the crash in multithread environment such as:
Collection <__NSArrayM: 0x226d9310> was mutated while being enumerated.
2013-08-13 10:40:46 +02:00
Matt Pennig fa987a1818 Canceling the SDWebImageOperation will also cancel the expensive disk cache query operation. 2013-08-11 23:12:55 -07:00
Olivier Poitrey ffd9e02e1e Update README.md 2013-08-11 13:16:47 -07:00
Olivier Poitrey 4540745382 Fix the dead thread bug on iOS 5 (fix #466) 2013-08-09 15:08:05 -07:00
Olivier Poitrey 5f12cabdac Fix unreleased operation (fix #466, fix #444) 2013-08-09 00:39:46 -07:00
Olivier Poitrey 5dd219ffa7 Try to fix the thread block (#399) 2013-08-08 12:44:54 -07:00
Olivier Poitrey 1e63f33a85 Always call the completedBlock from main thread (fix #397)
This is not a good practice but doing otherwise leads to a lot of mistakes
2013-08-07 21:15:32 -07:00
Olivier Poitrey 3a6d9481c9 Call handlers on the main thread synchronously to enhance responsivity (fix #462) 2013-08-07 21:07:59 -07:00
Olivier Poitrey f07a34da59 Fix downloadImageWithURL:options:progress:completed returning nil (fix #464) 2013-08-07 20:53:34 -07:00
Olivier Poitrey 8b37b16f45 Merge branch 'master' of git://github.com/gringoireDM/SDWebImage into gringoireDM-master 2013-07-31 13:54:40 -07:00
Chang Luo fb196ead9b Added background clean disk to UIApplicationDidEnterBackgroundNotification #306 2013-07-31 13:45:04 -07:00
Giuseppe Lanza 6faa7bfcb5 added multiple download of images for animationImages property of UIImageView 2013-07-30 17:14:52 +02:00
masarusanjp 282e817919 Use an empty string to if str was NULL. 2013-07-11 11:12:33 +02:00
Olivier Poitrey b3895a5124 Merge pull request #446 from tissak/master
Tiny Doc fix
2013-07-07 02:51:18 -07:00
Tony Issakov b54f530925 Update README.md
Minor fix to callback arguments. NSData included now.
2013-07-07 12:46:04 +08:00
Olivier Poitrey 42468464b5 Merge pull request #444 from hsoi/scrolling-lockup
Break a retain cycle
2013-07-05 08:31:48 -07:00
John C. Daub 95277bae45 Break a retain cycle 2013-07-05 09:58:20 -05:00
Olivier Poitrey 834ffada11 Merge pull request #436 from jparise/unused-callbacksForURL
Remove an unused call to -callbacksForURL:.
2013-06-27 13:19:12 -07:00
Jon Parise 4a4e496171 Remove an unused call to -callbacksForURL:.
We don't currently signal cancellation via a callback.
2013-06-27 10:16:25 -07:00
Olivier Poitrey 8a95ce759c Merge pull request #434 from jparise/calculate-size
Add -calculateSizeWithCompletionBlock:.
2013-06-25 23:50:31 -07:00