Smalltalk.st
branchjv
changeset 17814 b75a7f0c346b
parent 17807 06cc6c49e291
child 17815 956b46750806
--- a/Smalltalk.st	Tue Nov 30 15:53:23 2010 +0000
+++ b/Smalltalk.st	Mon Dec 20 07:13:27 2010 +0000
@@ -24,7 +24,7 @@
 		BitmapDirName PackageDirName FileInDirName ChangeFileName
 		ImageStartTime ImageRestartTime DemoMode SaveEmergencyImage
 		SpecialObjectArray CallbackSignal KnownPackages
-		ClassesFailedToInitialize HasNoConsole'
+		ClassesFailedToInitialize HasNoConsole IgnoreHalt'
 	poolDictionaries:''
 	category:'System-Support'
 !
@@ -1670,6 +1670,34 @@
     ^ self primitiveFailed
 !
 
+ignoreHalt
+    "return true, if halts are ignored.
+     Usually, this is done in standAlone applications"
+
+    IgnoreHalt isNil ifTrue:[
+        ^  self isStandAloneApp 
+    ].
+    ^ IgnoreHalt
+
+    "Created: / 18-11-2010 / 11:20:16 / cg"
+!
+
+ignoreHalt:aBoolean
+    "control if halts are to be ignored; 
+     usually, this is done in standAlone applications"
+
+    IgnoreHalt := aBoolean
+
+    "
+     Smalltalk ignoreHalt:true.
+     self halt.
+     Smalltalk ignoreHalt:false.
+     self halt.
+    "
+
+    "Created: / 18-11-2010 / 11:20:27 / cg"
+!
+
 vmInstructionTrace:aBoolean
 
 
@@ -2246,6 +2274,8 @@
 
     |packageDir def sourceCodeManager|
 
+    aPackageString = 'stx:libbasic' ifTrue:[^ true].
+
     "/ if there is a projectDefinition, let it load itself...
     def := aPackageString asPackageId projectDefinitionClass.
     def notNil ifTrue:[
@@ -2280,7 +2310,7 @@
      Smalltalk loadPackageWithId:'exept:ctypes'
     "
 
-    "Modified: / 07-12-2006 / 15:04:39 / cg"
+    "Modified: / 16-11-2010 / 17:42:49 / cg"
 !
 
 loadPackage:packageId fromAllSourceFilesInDirectory:aDirectory
@@ -7498,15 +7528,15 @@
 !Smalltalk class methodsFor:'documentation'!
 
 version
-    ^ '$Id: Smalltalk.st 10590 2010-11-09 16:24:28Z vranyj1 $'
+    ^ '$Id: Smalltalk.st 10602 2010-12-20 07:13:27Z vranyj1 $'
 !
 
 version_CVS
-    ^ 'Header: /cvs/stx/stx/libbasic/Smalltalk.st,v 1.944 2010-11-02 09:07:59 cg Exp '
+    ^ 'Header: /cvs/stx/stx/libbasic/Smalltalk.st,v 1.946 2010/11/18 10:26:49 cg Exp '
 !
 
 version_SVN
-    ^ '$Id: Smalltalk.st 10590 2010-11-09 16:24:28Z vranyj1 $'
+    ^ '$Id: Smalltalk.st 10602 2010-12-20 07:13:27Z vranyj1 $'
 ! !
 
 
@@ -7523,3 +7553,4 @@
 
 
 
+