Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jun 29, 2014
  1. @jakepetroules
  2. @jakepetroules
  3. @jakepetroules
  4. @jakepetroules

    Add __attribute__((noreturn)) to hint for compiler optimizations.

    jakepetroules authored
    exit() logically guarantees the method will never return;
    this attribute allows the compiler to optimize for this case.
  5. @jakepetroules
Commits on Jun 28, 2014
  1. @MaddTheSane

    Finish moving all informal protocols to formal protocols.

    MaddTheSane authored
    Fix improperly-named protocols.
Commits on Jun 20, 2014
  1. @MaddTheSane

    Replace NSAutoreleasePool classes with Autorelease Pool blocks.

    MaddTheSane authored
    They’re faster, even if they’re used outside of ARC.
    Use dispatch functions to spin off new threads.
    Update the Binary Delta tool's class to be better.
Commits on Jun 17, 2014
  1. @pornel

    Modern `if` syntax ;)

    pornel authored
    astyle -t -o -O -c -xM -z2 -U -j -H *.[mhc]
  2. @pornel

    Modern syntax

    pornel authored
Commits on Jun 16, 2014
  1. @zwaldowski @pornel

    Replace deprecated GetProcessForPID.

    zwaldowski authored pornel committed
Commits on Feb 1, 2014
  1. @pornel

    Removed code for 10.4

    pornel authored
  2. @pornel

    Merge remote-tracking branch 'origin/quiet-automatic-update'

    pornel authored
    * origin/quiet-automatic-update:
      Allow manual checks when an install on quit update is pending
      Allow the delegate to trigger a silent install and relaunch
      Support silent relaunches
      Increment the sudden termination counter if installing on quit
      Set up install on quit for critical automatic updates too
      Updating Sparkle.strings for the new, more strongly worded strings that are displayed for a 'critical update'
      Prompts the user to update after a week (rather than a day) if he doesn't quit the app.
      Adding <sparkle:tags> appcast item element, <sparkle:criticalUpdate /> tag
      Fixed a no-autorelease-pool leak.
      We have this check box that says "Automatically download and install updates in the future." But we only download them automatically. We still ask permission again before installing them.
Commits on Jan 31, 2014
  1. @jleandroperez @pornel

    Fixes static analyzer warnings

    jleandroperez authored pornel committed
Commits on Aug 16, 2012
  1. @andymatuschak

    Fixes #133: Sparkle deleting/replacing the wrong executable when it u…

    andymatuschak authored
    -[SUHost installationPath] can return different values before and after
    the installation is performed, because it may attempt to normalize the
    installation path--but only if the normalized version of the path isn't
    already present. Which it would be after the installation had completed.
    Now we only compute the installation path once for the whole installation
Commits on Feb 16, 2012
  1. @mattstevens

    Support silent relaunches

    mattstevens authored
Commits on Feb 13, 2012
  1. @mattstevens
Commits on Feb 7, 2012
  1. @mattstevens

    Pass both host and executable paths to finish_installation

    mattstevens authored
    This fixes pathToRelaunchForUpdater by supporting an executable path
    other than the host bundle path.
Commits on Oct 5, 2011
  1. @andymatuschak

    finish_installation doesn't show any UI if it's not relaunching, sinc…

    andymatuschak authored
    …e those installations were not kicked off by user action.
Commits on Sep 30, 2011
  1. @andymatuschak

    Increased the time required before finish_installation shows a dock i…

    andymatuschak authored
    …con from 1.2 seconds to 5 seconds
Commits on Sep 29, 2011
  1. @andymatuschak

    The finish_installation tool will not relaunch the host app if it's u…

    andymatuschak authored
    …sing the "Install on Quit" functionality.
Commits on Dec 15, 2009
  1. @uliwitness

    Add missing include.

    uliwitness authored
Commits on Dec 14, 2009
  1. @uliwitness

    Make sure that, even on 10.4, we delete our temp folder. Also, we no …

    uliwitness authored
    …longer use the stop-gap measure of trashing the temp folder, we really delete it after successful installation.
  2. @uliwitness
  3. @uliwitness
  4. @uliwitness
Commits on Dec 12, 2009
  1. @jollyjinx

    updated the installer program to show an icon when the installation t…

    jollyjinx authored
    …akes more than 1.2 seconds,
    long installations have a program in the Dock
    short installations just look like the program is restarting
    some variable renaming to no longer have camelCasePath for char *
Commits on Dec 11, 2009
  1. @jollyjinx

    Updating an application now longer shows the installation application…

    jollyjinx authored
    … n the Dock (LSUIElement) , Removed TransformProcessType call as it will force the installer application to show in the Dock.
Commits on Dec 7, 2009
  1. @uliwitness

    We should now correctly replace renamed apps, trashing the custom-nam…

    uliwitness authored
    …ed one, installing a new one with a default name, and also moving out of the way any existing copy with the default name.
Commits on Dec 4, 2009
  1. @uliwitness

    - finish_installation is now a real bundled app, so it can be localized.

    uliwitness authored
    - It contains its own copy of Sparkle.strings and SUUpdateStatus.nib so it can show its progress prettier
    - We call TransformProcessType() before our first call to [NSApplication sharedApplication], so we can be launched as a command line tool and get a proper window server connection, and so our progress bars animate.
    - We still support the old "relaunch"-style mode of operation, just by not passing the folder to install. This is useful for other relaunch occasions, like setting one's own dock icon flag.
    - To do: Make sample app use the new finish_installation.
  2. @uliwitness

    Merge of changes from SVN repository:

    uliwitness authored
    - Changed NTSynchronousTask to also give the status return value and direct stderror output to the outputData.
    - Changed includes so this builds as part of an app, too, not just as a framework
    - Made sure SUAppcast's dealloc releases some leaked ivars.
    - Added infoURL, extracted from link, that can point to a "more Info" page for download-less URLs
    - Added support for version attribute on item so we can support update notifications that don't include an enclosure (e.g. paid upgrades, or upgrades that would require a system update)
    - Added/improved a few description methods to ease debugging.
    - Added SULog so one can ask for a special log with additional information when there are update issues.
    - Added mayUpdateAndRestart for apps that absolutely, positively can't restart right now (e.g. cuz they're burning a CD and would produce a coaster).
    - Added updaterWillRelaunchApplication delegate method, analogous to the notification. Useful to have app delegate quit helper apps during installation.
    - Made SUBasicUpdateDriver's abortUpdate implicitly retain/autorelease the update driver, because the notification center otherwise releases it and it goes away, causing crashes in superclass's abortUpdate.
    - Merge of SUKeepDownloadOnFailedInstallKey and SUFixedHTMLDisplaySizeKey.
    - Avoid a few warnings about missing prototypes
    - Be paranoid, hdiutil can verify the download again, so let it. Better for internal apps where we turn off DSA checks, too.
    - SUHost has an -installationPath now, independent from the bundlePath, so one can normalize the app name from "MyApp 1.1b4" back to "MyApp" Users assume the file name contains the correct version number when there is one in it. Saves support a few round-trips each time.
    - Be better at threading: Try calling non-thread-safe methods on main thread only, and don't assume delegates know when they need to be thread-safe, call them on main thread where possible.
    - Added a method to put the old copy of the app in the trash. 1.5git changed in this spot, so I didn't actually merge the code that uses it back in yet.
    - Fix version comparison so it doesn't get confused by bracketed build numbers in version strings
    - Make sure cancel button is disabled during extraction, otherwise user would crash.
    - Don't put auto-update window at floating window level. It's huge and can't be switched to background! If you're an NSBGOnly where you need that, turn it on only in that case, but don't generally do such nonsense.
    - Hide release notes view if there aren't any.
    - Test whether we are on dial-up before checking for updates in background. It's not nice to cause (possibly expensive) dial-up periodically.
    - Temporarily comment out DSA complaints for easier testing.
    - Don't store (possibly already invalidated) one-shot NSTimers in an ivar. It's bad style. Retain it instead.
    - Decompress some monster expressions with nested method calls in ternary operators and nested in method calls again.
    - Don't use implicit "id" for params or return types.
    - finish_installation now puts up a progress window, so user knows update is still not finished.
    - Use ThreadSafePreferences (included dummy version that uses regular prefs for projects that don't use ThreadSafePreferences).
    - Todo later: Change finish_installation to be prettier.
  3. @uliwitness

    - More WIP creating finish_installation that waits

    uliwitness authored
    for quit, updates and relaunches the app, so
    updates don't happen while app is still running.
    NSBundle gets royally confused and points to the
    old path (loading new NIBs into the old app in the
    worst case) when you move a running app.
    - Temp folder is now user's desktop, as
    NSTemporaryDirectory() doesn't stay the same
    between two separate apps, and may be emptied on quit.
    - Relaunch gets created in App Support now, for
    same reasons as above.
    - Less dependency on prefix headers, that only leads
    to lazy, un-reusable code.
  4. @uliwitness
Something went wrong with that request. Please try again.