[squeak-dev] The Trunk: Files-dtl.185.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Dec 8 21:13:55 UTC 2020


David T. Lewis uploaded a new version of Files to project The Trunk:
http://source.squeak.org/trunk/Files-dtl.185.mcz

==================== Summary ====================

Name: Files-dtl.185
Author: dtl
Time: 8 December 2020, 4:13:54.809395 pm
UUID: 722a668c-0449-4292-8076-fe77438b3ddd
Ancestors: Files-eem.184

Let DoItFirstTest>>startup invoke DoItFirst>>reevaluateCwd. If a DoItFirst command line option has specified a new FileDirectory default, apply it now.

=============== Diff against Files-eem.184 ===============

Item was changed:
  ----- Method: FileDirectory class>>startUp (in category 'name utilities') -----
  startUp
  	"Establish the platform-specific FileDirectory subclass. Do any platform-specific startup."
  	self setDefaultDirectoryClass.
  
  	self setDefaultDirectory: (self dirPathFor: Smalltalk imageName).
  
  	Preferences startInUntrustedDirectory 
  		ifTrue:[	"The SecurityManager may override the default directory to prevent unwanted write access etc."
  				self setDefaultDirectory: SecurityManager default untrustedUserDirectory.
  				"Make sure we have a place to go to"
  				DefaultDirectory assureExistence].
  	Smalltalk openSourceFiles.
+ 	(Smalltalk classNamed: #DoItFirst) ifNotNil: [ :doit | doit perform: #reevaluateCwd ].
  !



More information about the Squeak-dev mailing list