Grant Paul [Sun, 7 Nov 2010 05:41:31 +0000 (22:41 -0700)]
Changed launch to show pinstripes (finally!) Updated Default.png images to for the change. However, the iPad still refuses to launch in landscape no matter what I do to the Info.plist -- could anyone else check this part out?
Grant Paul [Sat, 6 Nov 2010 20:41:16 +0000 (13:41 -0700)]
Improved handling of the refresh sequence.
Specifically, it now no longer shows "Loading Data" and act strange when the internet connection is very slow, and it doesn't even run that check in the case of some partial-connection scenarios where it is still attempting to determine connection status while reloading (due to an install, etc).
Also, removed the "Reloading Data" when cancelling the refresh bar (and fixed another bug cancelling the bar, as well).
Finally, made a small formatting change to the changes badge to remove redundant code.
NSSize does not exist on the iPhone: Cydia therefore uses a truncated Cocoa header designed to remap usages of NSSize; using NSMakeSize therefore breaks the SDK build.
Grant Paul [Sat, 16 Oct 2010 20:57:35 +0000 (13:57 -0700)]
Improved Queuing for cleaner code and better operation. Now it reloads the current view when exiting a queue and while starting it, and it has a much cleaner method of adding the "Q_D" badge.
Grant Paul [Sat, 16 Oct 2010 07:54:01 +0000 (00:54 -0700)]
Use NSMakeSize rather than CGSizeMake for creating a NSSize -- if it's stored in a NSValue using -valueWithSize:, then it's an NSSize, not a CGSize. It's a CGSize if you use -valueWithCGSize:.
Fix the default custom button behaviour for commercial packages. My understanding of the previous system was flawed enough to cause this- now, the custom button's behaviour is in _customButtonClicked, and the default customButtonClicked calls it instead of reloadButtonClicked. This is based on the original {_,__}rightButtonClicked methods.
Fix the custom button problem - applyRightButton was overriding BrowserView's support for custom buttons. We now just expose a default right button that is used in BrowserView's applyRightButton. Minor visual artifact: The 'Install' button flashes for non-commercial packages as it changes between loading/not-loading. Slightly better behaviour than before: AlwaysReload == 1 means the button is called 'Reload'.
Fix the warnings when building with AlwaysReload=0, and fix the action button for AlwaysReload=1 (actionButtonClicked -> customButtonClicked, to match the superclass, so there's an implementation to fall through to if AlwaysReload==1)
Use drawAtPoint:forWidth:withFont:lineBreakMode: instead of drawAtPoint:forWidth:withFont:ellipsis:, as the latter is deprecated and actually crashes now for some reason.
Grant Paul [Mon, 4 Oct 2010 04:46:40 +0000 (21:46 -0700)]
Changed the package preferences controller to use UITableView rather than the private UIPreferencesTable; also, it uses UISwitch rather than _UISwitchSlider, since that's gone in 4.2.
Grant Paul [Sun, 3 Oct 2010 19:38:23 +0000 (12:38 -0700)]
Use a static value for the width of the confirm prompt to prevent it from scrolling on the iPad, where device-width isn't always the same as the real width we want.
Grant Paul [Sun, 3 Oct 2010 08:40:54 +0000 (01:40 -0700)]
Fixed crash when resigning active (call, lock screen, etc) -- the superclass does not provide an implementation. (Crash was introduced in a previous commit, when I fixed the "hang on resuming after lockscreen" bug.)
Grant Paul [Sun, 3 Oct 2010 08:35:15 +0000 (01:35 -0700)]
Completed new "Who Are You?" panel. Details:
- Fixed strange crash (introduced with last commit).
- Changed to a "form sheet" style of view controller on the iPad"
- Added Settings under the "Sources" tab on the iPad (where else to put it?)
- Changed English localization to reflect the above iPad change, and made the _EX role descriptions more useful.
Ryan Petrich [Sun, 26 Sep 2010 08:48:43 +0000 (02:48 -0600)]
Add External Status API
status stored in the com.saurik.Cydia.status register: 0 = clean, 1 = installing, 2 = installed and requires confirmation to respring/reboot/etc
com.saurik.Cydia.status is notify_post'ed when status changes