<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[139436] branches/gsoc15-pallet</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/139436">139436</a></dd>
<dt>Author</dt> <dd>ksammons@macports.org</dd>
<dt>Date</dt> <dd>2015-08-17 10:44:37 -0700 (Mon, 17 Aug 2015)</dd>
</dl>
<h3>Log Message</h3>
<pre>Added Rev-Upgrade to Pallet</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#branchesgsoc15palletMacPorts_FrameworkMPMacPortsh">branches/gsoc15-pallet/MacPorts_Framework/MPMacPorts.h</a></li>
<li><a href="#branchesgsoc15palletMacPorts_FrameworkMPMacPortsm">branches/gsoc15-pallet/MacPorts_Framework/MPMacPorts.m</a></li>
<li><a href="#branchesgsoc15palletPalletEnglishlprojMainMenuxib">branches/gsoc15-pallet/Pallet/English.lproj/MainMenu.xib</a></li>
<li><a href="#branchesgsoc15palletPalletGrowlNotificationsh">branches/gsoc15-pallet/Pallet/GrowlNotifications.h</a></li>
<li><a href="#branchesgsoc15palletPalletMPActionLauncherh">branches/gsoc15-pallet/Pallet/MPActionLauncher.h</a></li>
<li><a href="#branchesgsoc15palletPalletMPActionLauncherm">branches/gsoc15-pallet/Pallet/MPActionLauncher.m</a></li>
<li><a href="#branchesgsoc15palletPalletMPActionsControllerh">branches/gsoc15-pallet/Pallet/MPActionsController.h</a></li>
<li><a href="#branchesgsoc15palletPalletMPActionsControllerm">branches/gsoc15-pallet/Pallet/MPActionsController.m</a></li>
<li><a href="#branchesgsoc15palletPalletPalletxcodeprojprojectxcworkspacexcuserdatamrappleseedxcuserdatadUserInterfaceStatexcuserstate">branches/gsoc15-pallet/Pallet/Pallet.xcodeproj/project.xcworkspace/xcuserdata/mrappleseed.xcuserdatad/UserInterfaceState.xcuserstate</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="branchesgsoc15palletMacPorts_FrameworkMPMacPortsh"></a>
<div class="modfile"><h4>Modified: branches/gsoc15-pallet/MacPorts_Framework/MPMacPorts.h (139435 => 139436)</h4>
<pre class="diff"><span>
<span class="info">--- branches/gsoc15-pallet/MacPorts_Framework/MPMacPorts.h        2015-08-17 03:33:04 UTC (rev 139435)
+++ branches/gsoc15-pallet/MacPorts_Framework/MPMacPorts.h        2015-08-17 17:44:37 UTC (rev 139436)
</span><span class="lines">@@ -99,7 +99,12 @@
</span><span class="cx"> */
</span><span class="cx"> - (id)reclaim:(NSError**)sError;
</span><span class="cx">
</span><ins>+/*!
+ @brief Runs the rev-upgrade command.
+ */
+- (id)revupgrade:(NSError**)sError;
</ins><span class="cx">
</span><ins>+
</ins><span class="cx"> /*!
</span><span class="cx"> @brief Synchronizes the ports tree without checking for upgrades to the MacPorts base.
</span><span class="cx"> */
</span></span></pre></div>
<a id="branchesgsoc15palletMacPorts_FrameworkMPMacPortsm"></a>
<div class="modfile"><h4>Modified: branches/gsoc15-pallet/MacPorts_Framework/MPMacPorts.m (139435 => 139436)</h4>
<pre class="diff"><span>
<span class="info">--- branches/gsoc15-pallet/MacPorts_Framework/MPMacPorts.m        2015-08-17 03:33:04 UTC (rev 139435)
+++ branches/gsoc15-pallet/MacPorts_Framework/MPMacPorts.m        2015-08-17 17:44:37 UTC (rev 139436)
</span><span class="lines">@@ -131,6 +131,32 @@
</span><span class="cx">
</span><span class="cx"> #pragma MacPorts API
</span><span class="cx">
</span><ins>+- (id)revupgrade:(NSError **)sError
+{
+ NSString * result = nil;
+ [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"MacPorts_revupgrade_Started" object:nil];
+ [[MPNotifications sharedListener] setPerformingTclCommand:@"revupgrade"];
+
+ //FIXME
+ /*
+ if ([self authorizationMode])
+ {
+ result = [interpreter evaluateStringWithMPHelperTool:@"mportdiagnose" error:sError];
+ }
+ else
+ {
+ result = [interpreter evaluateStringWithPossiblePrivileges:@"mportdiagnose" error:sError];
+ }*/
+
+ result = [interpreter evaluateStringAsString:@"macports::revupgrade \"\"" error:sError];
+
+ [[MPNotifications sharedListener] setPerformingTclCommand:@""];
+ [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"MacPorts_revupgrade_Finished" object:nil];
+
+ return result;
+
+}
+
</ins><span class="cx"> - (id)reclaim:(NSError**)sError
</span><span class="cx"> {
</span><span class="cx"> NSString * result = nil;
</span></span></pre></div>
<a id="branchesgsoc15palletPalletEnglishlprojMainMenuxib"></a>
<div class="modfile"><h4>Modified: branches/gsoc15-pallet/Pallet/English.lproj/MainMenu.xib (139435 => 139436)</h4>
<pre class="diff"><span>
<span class="info">--- branches/gsoc15-pallet/Pallet/English.lproj/MainMenu.xib        2015-08-17 03:33:04 UTC (rev 139435)
+++ branches/gsoc15-pallet/Pallet/English.lproj/MainMenu.xib        2015-08-17 17:44:37 UTC (rev 139436)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
</span><span class="cx"> <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="5056" systemVersion="13C64" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
</span><span class="cx"> <dependencies>
</span><del>- <deployment version="1060" identifier="macosx"/>
</del><ins>+ <deployment version="1060" defaultVersion="1060" identifier="macosx"/>
</ins><span class="cx"> <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="5056"/>
</span><span class="cx"> </dependencies>
</span><span class="cx"> <objects>
</span><span class="lines">@@ -696,12 +696,12 @@
</span><span class="cx"> <rect key="frame" x="6" y="9" width="63" height="12"/>
</span><span class="cx"> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
</span><span class="cx"> <connections>
</span><del>- <binding destination="764" name="animate" keyPath="busy" id="791"/>
</del><span class="cx"> <binding destination="764" name="hidden" keyPath="busy" id="780">
</span><span class="cx"> <dictionary key="options">
</span><span class="cx"> <string key="NSValueTransformerName">NSNegateBoolean</string>
</span><span class="cx"> </dictionary>
</span><span class="cx"> </binding>
</span><ins>+ <binding destination="764" name="animate" keyPath="busy" id="791"/>
</ins><span class="cx"> </connections>
</span><span class="cx"> </progressIndicator>
</span><span class="cx"> <textField verticalHuggingPriority="750" id="781">
</span><span class="lines">@@ -733,7 +733,7 @@
</span><span class="cx"> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
</span><span class="cx"> <popUpButtonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="TB_Install" imagePosition="above" alignment="right" lineBreakMode="truncatingTail" state="on" borderStyle="bezel" imageScaling="proportionallyUpOrDown" inset="2" pullsDown="YES" arrowPosition="noArrow" selectedItem="898" id="896">
</span><span class="cx"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
</span><del>- <font key="font" metaFont="system"/>
</del><ins>+ <font key="font" metaFont="menu"/>
</ins><span class="cx"> <menu key="menu" title="OtherViews" id="897">
</span><span class="cx"> <items>
</span><span class="cx"> <menuItem state="on" image="TB_Install" hidden="YES" id="898"/>
</span><span class="lines">@@ -827,6 +827,11 @@
</span><span class="cx"> <action selector="reclaim:" target="628" id="MDu-KV-96b"/>
</span><span class="cx"> </connections>
</span><span class="cx"> </toolbarItem>
</span><ins>+ <toolbarItem implicitItemIdentifier="24F28DE3-525B-41DE-AA7F-DEF4857BF1AB" label="Rev-Upgrade" paletteLabel="Rev-Upgrade" tag="-1" image="NSCaution" id="gyM-mH-Mv9">
+ <connections>
+ <action selector="revupgrade:" target="628" id="Adk-7S-iro"/>
+ </connections>
+ </toolbarItem>
</ins><span class="cx"> </allowedToolbarItems>
</span><span class="cx"> <defaultToolbarItems>
</span><span class="cx"> <toolbarItem reference="901"/>
</span><span class="lines">@@ -837,12 +842,16 @@
</span><span class="cx"> <toolbarItem reference="645"/>
</span><span class="cx"> <toolbarItem reference="3pR-dv-sVZ"/>
</span><span class="cx"> <toolbarItem reference="iMK-ib-TIq"/>
</span><ins>+ <toolbarItem reference="gyM-mH-Mv9"/>
</ins><span class="cx"> <toolbarItem reference="762"/>
</span><span class="cx"> <toolbarItem reference="423"/>
</span><span class="cx"> <toolbarItem reference="1035"/>
</span><span class="cx"> <toolbarItem reference="426"/>
</span><span class="cx"> <toolbarItem reference="453"/>
</span><span class="cx"> </defaultToolbarItems>
</span><ins>+ <connections>
+ <outlet property="delegate" destination="503" id="mib-8d-vBn"/>
+ </connections>
</ins><span class="cx"> </toolbar>
</span><span class="cx"> </window>
</span><span class="cx"> <window title="Activity" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" hidesOnDeactivate="YES" oneShot="NO" visibleAtLaunch="NO" animationBehavior="default" id="435" customClass="NSPanel">
</span><span class="lines">@@ -858,11 +867,11 @@
</span><span class="cx"> <rect key="frame" x="6" y="26" width="263" height="348"/>
</span><span class="cx"> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
</span><span class="cx"> <clipView key="contentView" id="Wnl-09-Bxi">
</span><del>- <rect key="frame" x="1" y="1" width="261" height="346"/>
</del><ins>+ <rect key="frame" x="1" y="1" width="246" height="330"/>
</ins><span class="cx"> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
</span><span class="cx"> <subviews>
</span><span class="cx"> <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" alternatingRowBackgroundColors="YES" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" rowHeight="40" id="440">
</span><del>- <rect key="frame" x="0.0" y="0.0" width="261" height="346"/>
</del><ins>+ <rect key="frame" x="0.0" y="0.0" width="246" height="330"/>
</ins><span class="cx"> <autoresizingMask key="autoresizingMask"/>
</span><span class="cx"> <size key="intercellSpacing" width="3" height="2"/>
</span><span class="cx"> <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</span><span class="lines">@@ -890,7 +899,7 @@
</span><span class="cx"> </textFieldCell>
</span><span class="cx"> <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
</span><span class="cx"> </tableColumn>
</span><del>- <tableColumn width="25" minWidth="10" maxWidth="3.4028230607370965e+38" id="446">
</del><ins>+ <tableColumn width="10" minWidth="10" maxWidth="3.4028230607370965e+38" id="446">
</ins><span class="cx"> <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
</span><span class="cx"> <font key="font" metaFont="smallSystem"/>
</span><span class="cx"> <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
</span><span class="lines">@@ -905,11 +914,11 @@
</span><span class="cx"> <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
</span><span class="cx"> </clipView>
</span><span class="cx"> <scroller key="horizontalScroller" verticalHuggingPriority="750" horizontal="YES" id="439">
</span><del>- <rect key="frame" x="1" y="331" width="261" height="16"/>
</del><ins>+ <rect key="frame" x="1" y="331" width="246" height="16"/>
</ins><span class="cx"> <autoresizingMask key="autoresizingMask"/>
</span><span class="cx"> </scroller>
</span><span class="cx"> <scroller key="verticalScroller" verticalHuggingPriority="750" horizontal="NO" id="438">
</span><del>- <rect key="frame" x="246" y="1" width="16" height="346"/>
</del><ins>+ <rect key="frame" x="247" y="1" width="15" height="330"/>
</ins><span class="cx"> <autoresizingMask key="autoresizingMask"/>
</span><span class="cx"> </scroller>
</span><span class="cx"> </scrollView>
</span><span class="lines">@@ -1485,6 +1494,7 @@
</span><span class="cx"> <resources>
</span><span class="cx"> <image name="Installed" width="13" height="13"/>
</span><span class="cx"> <image name="NSAdvanced" width="32" height="32"/>
</span><ins>+ <image name="NSCaution" width="32" height="32"/>
</ins><span class="cx"> <image name="NSTrashFull" width="32" height="32"/>
</span><span class="cx"> <image name="TB_Cancel" width="512" height="512"/>
</span><span class="cx"> <image name="TB_Info" width="512" height="512"/>
</span></span></pre></div>
<a id="branchesgsoc15palletPalletGrowlNotificationsh"></a>
<div class="modfile"><h4>Modified: branches/gsoc15-pallet/Pallet/GrowlNotifications.h (139435 => 139436)</h4>
<pre class="diff"><span>
<span class="info">--- branches/gsoc15-pallet/Pallet/GrowlNotifications.h        2015-08-17 03:33:04 UTC (rev 139435)
+++ branches/gsoc15-pallet/Pallet/GrowlNotifications.h        2015-08-17 17:44:37 UTC (rev 139436)
</span><span class="lines">@@ -10,7 +10,7 @@
</span><span class="cx"> /* Defining growl types*/
</span><span class="cx">
</span><span class="cx"> /**/
</span><del>-#define GROWL_TYPES 16
</del><ins>+#define GROWL_TYPES 18
</ins><span class="cx"> #define GROWL_INSTALL 0
</span><span class="cx"> #define GROWL_UNINSTALL 1
</span><span class="cx"> #define GROWL_UPGRADE 2
</span><span class="lines">@@ -18,14 +18,16 @@
</span><span class="cx"> #define GROWL_SELFUPDATE 4
</span><span class="cx"> #define GROWL_DIAGNOSE 5
</span><span class="cx"> #define GROWL_RECLAIM 6
</span><del>-#define GROWL_INSTALLFAILED 7
-#define GROWL_UNINSTALLFAILED 8
-#define GROWL_UPGRADEFAILED 9
-#define GROWL_SYNCFAILED 10
-#define GROWL_DIAGNOSEFAILED 11
-#define GROWL_RECLAIMFAILED 12
-#define GROWL_SELFUPDATEFAILED 13
</del><ins>+#define GROWL_REVUPGRADE 7
+#define GROWL_INSTALLFAILED 8
+#define GROWL_UNINSTALLFAILED 9
+#define GROWL_UPGRADEFAILED 10
+#define GROWL_SYNCFAILED 11
+#define GROWL_DIAGNOSEFAILED 12
+#define GROWL_RECLAIMFAILED 13
+#define GROWL_REVUPGRADEFAILED 14
+#define GROWL_SELFUPDATEFAILED 15
</ins><span class="cx">
</span><span class="cx">
</span><del>-#define GROWL_ALLOPS 14
-#define GROWL_ALLOPSFAILED 15
</del><ins>+#define GROWL_ALLOPS 16
+#define GROWL_ALLOPSFAILED 17
</ins></span></pre></div>
<a id="branchesgsoc15palletPalletMPActionLauncherh"></a>
<div class="modfile"><h4>Modified: branches/gsoc15-pallet/Pallet/MPActionLauncher.h (139435 => 139436)</h4>
<pre class="diff"><span>
<span class="info">--- branches/gsoc15-pallet/Pallet/MPActionLauncher.h        2015-08-17 03:33:04 UTC (rev 139435)
+++ branches/gsoc15-pallet/Pallet/MPActionLauncher.h        2015-08-17 17:44:37 UTC (rev 139436)
</span><span class="lines">@@ -90,6 +90,11 @@
</span><span class="cx"> - (void)reclaim;
</span><span class="cx">
</span><span class="cx"> /*!
</span><ins>+ @brief Runs the revupgrade command.
+ */
+- (void)revupgrade;
+
+/*!
</ins><span class="cx"> @brief Syncs the MacPorts installation in another thread
</span><span class="cx"> */
</span><span class="cx"> - (void)sync;
</span></span></pre></div>
<a id="branchesgsoc15palletPalletMPActionLauncherm"></a>
<div class="modfile"><h4>Modified: branches/gsoc15-pallet/Pallet/MPActionLauncher.m (139435 => 139436)</h4>
<pre class="diff"><span>
<span class="info">--- branches/gsoc15-pallet/Pallet/MPActionLauncher.m        2015-08-17 03:33:04 UTC (rev 139435)
+++ branches/gsoc15-pallet/Pallet/MPActionLauncher.m        2015-08-17 17:44:37 UTC (rev 139436)
</span><span class="lines">@@ -118,6 +118,22 @@
</span><span class="cx">         }
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+- (void)revupgrade
+{
+ errorReceived = NO;
+ NSError * error;
+ [[MPMacPorts sharedInstance] revupgrade:&error];
+ if(errorReceived)
+ {
+ [self sendNotification:GROWL_REVUPGRADEFAILED];
+ }
+ else
+ {
+ [self sendNotification:GROWL_REVUPGRADE];
+ [[NSNotificationCenter defaultCenter] postNotificationName:@"advanceQ" object:nil userInfo:nil];
+ }
+}
+
</ins><span class="cx"> - (void)reclaim
</span><span class="cx"> {
</span><span class="cx"> errorReceived = NO;
</span><span class="lines">@@ -208,6 +224,7 @@
</span><span class="cx">         notificationTitles[GROWL_SYNC] = @"Sync Completed";
</span><span class="cx"> notificationTitles[GROWL_DIAGNOSE] = @"Diagnose Completed";
</span><span class="cx"> notificationTitles[GROWL_RECLAIM] = @"Reclaim Completed";
</span><ins>+ notificationTitles[GROWL_REVUPGRADE] = @"Rev-Upgrade Completed";
</ins><span class="cx">         notificationTitles[GROWL_SELFUPDATE] = @"Selfupdate Completed";
</span><span class="cx">         notificationTitles[GROWL_INSTALLFAILED] = @"Installation Failed";
</span><span class="cx">         notificationTitles[GROWL_UNINSTALLFAILED] = @"Uninstall Failed";
</span><span class="lines">@@ -215,6 +232,7 @@
</span><span class="cx">         notificationTitles[GROWL_SYNCFAILED] = @"Sync Failed";
</span><span class="cx"> notificationTitles[GROWL_DIAGNOSEFAILED] = @"Diagnose Failed";
</span><span class="cx"> notificationTitles[GROWL_RECLAIMFAILED] = @"Reclaim Failed";
</span><ins>+ notificationTitles[GROWL_REVUPGRADEFAILED] = @"Rev-Upgrade Failed";
</ins><span class="cx">         notificationTitles[GROWL_SELFUPDATEFAILED] = @"Selfupdate Failed";
</span><span class="cx">
</span><span class="cx">         notificationTitles[GROWL_ALLOPS] = @"Operations Completed";
</span><span class="lines">@@ -228,6 +246,7 @@
</span><span class="cx">         notificationDescriptions[GROWL_SYNC] = @"Operation completed successfully";
</span><span class="cx"> notificationDescriptions[GROWL_DIAGNOSE] = @"Operation completed successfully";
</span><span class="cx"> notificationDescriptions[GROWL_RECLAIM] = @"Operation completed successfully";
</span><ins>+ notificationDescriptions[GROWL_REVUPGRADE] = @"Operation completed successfully";
</ins><span class="cx">         notificationDescriptions[GROWL_SELFUPDATE] = @"Operation completed successfully";
</span><span class="cx">         notificationDescriptions[GROWL_INSTALLFAILED] = @"Operation Failed";
</span><span class="cx">         notificationDescriptions[GROWL_UNINSTALLFAILED] = @"Operation Failed";
</span><span class="lines">@@ -235,6 +254,7 @@
</span><span class="cx">         notificationDescriptions[GROWL_SYNCFAILED] = @"Operation Failed";
</span><span class="cx"> notificationDescriptions[GROWL_DIAGNOSEFAILED] = @"Operation Failed";
</span><span class="cx"> notificationDescriptions[GROWL_RECLAIMFAILED] = @"Operation Failed";
</span><ins>+ notificationDescriptions[GROWL_REVUPGRADEFAILED] = @"Operation Failed";
</ins><span class="cx">         notificationDescriptions[GROWL_SELFUPDATEFAILED] = @"Operation Failed";
</span><span class="cx">
</span><span class="cx">         notificationDescriptions[GROWL_ALLOPS] = @"All Operations Completed Succesfully";
</span></span></pre></div>
<a id="branchesgsoc15palletPalletMPActionsControllerh"></a>
<div class="modfile"><h4>Modified: branches/gsoc15-pallet/Pallet/MPActionsController.h (139435 => 139436)</h4>
<pre class="diff"><span>
<span class="info">--- branches/gsoc15-pallet/Pallet/MPActionsController.h        2015-08-17 03:33:04 UTC (rev 139435)
+++ branches/gsoc15-pallet/Pallet/MPActionsController.h        2015-08-17 17:44:37 UTC (rev 139436)
</span><span class="lines">@@ -59,6 +59,7 @@
</span><span class="cx"> - (IBAction)sync:(id)sender;
</span><span class="cx"> - (IBAction)diagnose:(id)sender;
</span><span class="cx"> - (IBAction)reclaim:(id)sender;
</span><ins>+- (IBAction)revupgrade:(id)sender;
</ins><span class="cx"> - (IBAction)selfupdate:(id)sender;
</span><span class="cx"> - (IBAction)cancel:(id)sender;
</span><span class="cx"> - (IBAction)toggleInfoPanel: (id) sender;
</span></span></pre></div>
<a id="branchesgsoc15palletPalletMPActionsControllerm"></a>
<div class="modfile"><h4>Modified: branches/gsoc15-pallet/Pallet/MPActionsController.m (139435 => 139436)</h4>
<pre class="diff"><span>
<span class="info">--- branches/gsoc15-pallet/Pallet/MPActionsController.m        2015-08-17 03:33:04 UTC (rev 139435)
+++ branches/gsoc15-pallet/Pallet/MPActionsController.m        2015-08-17 17:44:37 UTC (rev 139436)
</span><span class="lines">@@ -209,6 +209,11 @@
</span><span class="cx">         if (altWasPressed)
</span><span class="cx">                 [self startQueue:nil];
</span><span class="cx"> }
</span><ins>+- (IBAction)revupgrade:(id)sender
+{
+ [tableController open:nil];
+ [self queueOperation:@"revupgrade" portName:@"-" portObject:@"-" variants:0];
+}
</ins><span class="cx">
</span><span class="cx"> - (IBAction)reclaim:(id)sender
</span><span class="cx"> {
</span><span class="lines">@@ -449,6 +454,11 @@
</span><span class="cx"> NSLog(@"We have reclaim");
</span><span class="cx"> [[MPActionLauncher sharedInstance] performSelectorInBackground:@selector(reclaim) withObject:nil];
</span><span class="cx"> }
</span><ins>+ else if([[dict objectForKey:@"operation"] isEqualToString:@"revupgrade"])
+ {
+ NSLog(@"We have revupgrade");
+ [[MPActionLauncher sharedInstance] performSelectorInBackground:@selector(revupgrade) withObject:nil];
+ }
</ins><span class="cx">         }
</span><span class="cx">         else
</span><span class="cx">         {
</span><span class="lines">@@ -504,6 +514,10 @@
</span><span class="cx"> {
</span><span class="cx"> image = [NSImage imageNamed:@"NSTrashFull"];
</span><span class="cx"> }
</span><ins>+ else if([operation isEqualToString:@"revupgrade"])
+ {
+ image = [NSImage imageNamed:@"NSCaution"];
+ }
</ins><span class="cx">         
</span><span class="cx">         //If we have variants, print them out for debugging purposes
</span><span class="cx">         if(variants!=nil)
</span></span></pre></div>
<a id="branchesgsoc15palletPalletPalletxcodeprojprojectxcworkspacexcuserdatamrappleseedxcuserdatadUserInterfaceStatexcuserstate"></a>
<div class="binary"><h4>Modified: branches/gsoc15-pallet/Pallet/Pallet.xcodeproj/project.xcworkspace/xcuserdata/mrappleseed.xcuserdatad/UserInterfaceState.xcuserstate</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
</div>
</body>
</html>