[138670] branches/gsoc15-pallet

ksammons at macports.org ksammons at macports.org
Wed Jul 15 11:01:07 PDT 2015


Revision: 138670
          https://trac.macports.org/changeset/138670
Author:   ksammons at macports.org
Date:     2015-07-15 11:01:07 -0700 (Wed, 15 Jul 2015)
Log Message:
-----------
Pallet Branch: Added NSLog and exit statement for debugging a crash.

Modified Paths:
--------------
    branches/gsoc15-pallet/MacPorts_Framework/MPMacPorts.m
    branches/gsoc15-pallet/MacPorts_Framework/portProcessInit.tcl
    branches/gsoc15-pallet/Pallet/Pallet.xcodeproj/project.xcworkspace/xcuserdata/mrappleseed.xcuserdatad/UserInterfaceState.xcuserstate
    branches/gsoc15-pallet/Pallet/PortsTableController.m

Modified: branches/gsoc15-pallet/MacPorts_Framework/MPMacPorts.m
===================================================================
--- branches/gsoc15-pallet/MacPorts_Framework/MPMacPorts.m	2015-07-15 17:55:03 UTC (rev 138669)
+++ branches/gsoc15-pallet/MacPorts_Framework/MPMacPorts.m	2015-07-15 18:01:07 UTC (rev 138670)
@@ -176,7 +176,7 @@
         result = [interpreter evaluateStringWithPossiblePrivileges:@"mportdiagnose" error:sError];
     }*/
     
-    result = [interpreter evaluateStringAsString:@"set foo diagnose::main \"--quiet\"; return $foo" error:sError];
+    result = [interpreter evaluateStringAsString:@"diagnose::main \"--quiet\"" error:sError];
     
     NSLog(@"RESULT: %@", result);
     

Modified: branches/gsoc15-pallet/MacPorts_Framework/portProcessInit.tcl
===================================================================
--- branches/gsoc15-pallet/MacPorts_Framework/portProcessInit.tcl	2015-07-15 17:55:03 UTC (rev 138669)
+++ branches/gsoc15-pallet/MacPorts_Framework/portProcessInit.tcl	2015-07-15 18:01:07 UTC (rev 138670)
@@ -39,8 +39,6 @@
 #in macports.tcl. Note optionslist is not being used for now
 set mp_empty_list [list]
 proc mportuninstall {portname {version ""} {revision ""} {variants 0} {optionslist ""} } {
-    puts "Test"
-    exit
 	if {[catch {registry_uninstall::uninstall $portname $version $revision $variants [array get options]} result]} {
 		
 			global errorInfo
@@ -99,6 +97,7 @@
 }
 
 proc mportupgrade {portname} {
+    puts "I'm upgrading this stuff in portProcessInit.tcl, man."
     array set depscache {}
 	if {[catch {macports::upgrade $portname "port:$portname" [array get global_variations] [array get variations] [array get options] depscache} result]} {
 			

Modified: branches/gsoc15-pallet/Pallet/Pallet.xcodeproj/project.xcworkspace/xcuserdata/mrappleseed.xcuserdatad/UserInterfaceState.xcuserstate
===================================================================
(Binary files differ)

Modified: branches/gsoc15-pallet/Pallet/PortsTableController.m
===================================================================
--- branches/gsoc15-pallet/Pallet/PortsTableController.m	2015-07-15 17:55:03 UTC (rev 138669)
+++ branches/gsoc15-pallet/Pallet/PortsTableController.m	2015-07-15 18:01:07 UTC (rev 138670)
@@ -79,6 +79,8 @@
         [self setPredicate:[NSPredicate predicateWithFormat:@"name LIKE '*'"]];
     }
     
+    NSLog(@"HERE");
+    exit(1);
     NSScrollView* tableScrollView = [portsTableView enclosingScrollView];
     
     NSScrollView* predicateEditorScrollView = [predicateEditor enclosingScrollView];
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150715/f3919f2f/attachment.html>


More information about the macports-changes mailing list