diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2010-11-15 15:10:06 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-11-15 23:17:10 -0800 |
commit | c626a63f510ec0bcca2fa3f4b4c506ef2f507270 (patch) | |
tree | 600825971d0059d7f0edb841d5ee17682cbd6c5e | |
parent | 176c4a5f0170843534ae3b7bd7da481cdb0929d0 (diff) |
Move around usages of _trace() for greater understanding.
-rw-r--r-- | MobileCydia.mm | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index b7d64e3..8b0ae70 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -3338,8 +3338,6 @@ static NSString *Warning_; return; } - _trace(); - for (pkgSourceList::const_iterator source = list_->begin(); source != list_->end(); ++source) { std::vector<pkgIndexFile *> *indices = (*source)->GetIndexFiles(); for (std::vector<pkgIndexFile *>::const_iterator index = indices->begin(); index != indices->end(); ++index) @@ -3351,8 +3349,6 @@ static NSString *Warning_; } } - _trace(); - { /*std::vector<Package *> packages; packages.reserve(std::max(10000U, [packages_ count] + 1000)); @@ -3396,8 +3392,7 @@ static NSString *Warning_; _trace(); } -} -} CYPoolEnd() } +} } CYPoolEnd() _trace(); } - (void) configure { NSString *dpkg = [NSString stringWithFormat:@"dpkg --configure -a --status-fd %u", statusfd_]; @@ -8106,7 +8101,6 @@ static _finline void _setHomePage(Cydia *self) { [hud setText:UCLocalize("RELOADING_DATA")]; [database_ yieldToSelector:@selector(reloadData) withObject:nil]; - _trace(); if (hud) [self removeProgressHUD:hud]; @@ -8730,9 +8724,11 @@ static _finline void _setHomePage(Cydia *self) { [[container_ view] setBackgroundColor:[UIColor pinStripeColor]]; [self performSelector:@selector(loadData) withObject:nil afterDelay:0]; +_trace(); } - (void) loadData { +_trace(); if (Role_ == nil) { [self showSettings]; return; @@ -9016,7 +9012,6 @@ int main(int argc, char *argv[]) { _pooled Metadata_ = [[[NSMutableDictionary alloc] initWithContentsOfFile:@"/var/lib/cydia/metadata.plist"] autorelease]; _trace(); SectionMap_ = [[[NSDictionary alloc] initWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"Sections" ofType:@"plist"]] autorelease]; - _trace(); if (Metadata_ == NULL) Metadata_ = [NSMutableDictionary dictionaryWithCapacity:2]; |