Nicolas Cellier uploaded a new version of SMBase to project The Trunk:
http://source.squeak.org/trunk/SMBase-tpr.141.mcz
==================== Summary ====================
Name: SMBase-tpr.141
Author: tpr
Time: 18 January 2019, 4:24:49.815196 pm
UUID: 4997d27a-e261-41e0-b019-7723c85a5c1b
Ancestors: SMBase-cmm.140
First step towards improving the SM loading stuff; allow up to 3 attempts to help with handling network slowness etc.
Next step should be using a webclient instead of the httpsocket and getting somewhat nice eror handling.
=============== Diff against SMBase-cmm.140 ===============
Item was changed:
----- Method: SMSqueakMap>>loadFullFrom: (in category 'private') -----
+ loadFullFrom: aServerName
+ "Contact the SqueakMap at aServerName, building the the url for this version and load a full map from scratch.
+ Allow several retries in case of net slowness etc."
+ | url zipped attempts mapContents |
+ url := 'http://' , aServerName , '/loadgz?mapversion=' , SMSqueakMap version , '&checkpoint=' , checkpointNumber asString.
+ attempts := 0.
- loadFullFrom: aServerName
- "Contact the SqueakMap at the url <aSqueakMapUrl>
- and load a full map from scratch."
+ [attempts := attempts + 1.
+ zipped := HTTPSocket httpGet: url.
+ zipped isString
+ ifTrue: ["awful legacy way to detect net error - use a proper technique
+ when the httpsocket can be replaced with a webclient. For now, raise a generic exception"
+ NetworkError signal]]
+ on: NetworkError
+ do: [:ex |
+ attempts >= 3
+ ifTrue: [self halt: 'Unable to load SqueakMap map update after ' , attempts asString , ' attempts'].
+ ex retry].
+
+ mapContents := zipped contents.
+ ((self checkVersion: mapContents)
+ and: [mapContents ~= 'UPTODATE'])
+ ifTrue: [self saveCheckpoint: mapContents.
+ self reload]!
- | url zipped |
- url := 'http://', aServerName, '/loadgz?mapversion=', SMSqueakMap version, '&checkpoint=', checkpointNumber asString.
- Transcript show: 'Fetch: ', (Time millisecondsToRun: [ zipped := (HTTPSocket httpGet: url) contents]) asString, ' ms';cr.
- Transcript show: 'Size: ', zipped size asString, ' bytes';cr.
- ((self checkVersion: zipped) and: [zipped ~= 'UPTODATE'])
- ifTrue:[
- Transcript show: 'Save checkpoint to disk: ', (Time millisecondsToRun: [
- self saveCheckpoint: zipped]) asString, ' ms';cr.
- Transcript show: 'Full reload from checkpoint: ', (Time millisecondsToRun: [
- self reload]) asString, ' ms';cr.]!
Marcel Taeumel uploaded a new version of ReleaseBuilder to project The Trunk:
http://source.squeak.org/trunk/ReleaseBuilder-mt.209.mcz
==================== Summary ====================
Name: ReleaseBuilder-mt.209
Author: mt
Time: 3 March 2020, 12:44:30.810812 pm
UUID: fda56e02-cd0c-834f-a6d2-d91771a8a19a
Ancestors: ReleaseBuilder-mt.208
Bump Trunk version to 6.0alpha. The trunk is open again for contributions! Yay! :-)
=============== Diff against ReleaseBuilder-mt.208 ===============
Item was changed:
----- Method: ReleaseBuilder class>>initialize (in category 'class initialization') -----
initialize
QAndA ifNil: [self clearQAndA].
"We have to be after AutoStart so that Morphic is up and running."
Smalltalk addToStartUpList: ReleaseBuilder after: AutoStart.
+ SystemVersion newVersion: 'Squeak6.0alpha'!
- SystemVersion newVersion: 'Squeak5.3'!
Marcel Taeumel uploaded a new version of ReleaseBuilder to project The Trunk:
http://source.squeak.org/trunk/ReleaseBuilder-mt.208.mcz
==================== Summary ====================
Name: ReleaseBuilder-mt.208
Author: mt
Time: 3 March 2020, 12:28:11.466812 pm
UUID: 8e130da6-cb1a-b14e-8627-ef0e7a587926
Ancestors: ReleaseBuilder-mt.207
Set release version 5.3. (This MC version will be copied to the release repo.)
=============== Diff against ReleaseBuilder-mt.207 ===============
Item was changed:
----- Method: ReleaseBuilder class>>initialize (in category 'class initialization') -----
initialize
QAndA ifNil: [self clearQAndA].
"We have to be after AutoStart so that Morphic is up and running."
Smalltalk addToStartUpList: ReleaseBuilder after: AutoStart.
+ SystemVersion newVersion: 'Squeak5.3'!
- SystemVersion newVersion: 'Squeak5.3rc3'!
Marcel Taeumel uploaded a new version of Help-Squeak-TerseGuide to project The Trunk:
http://source.squeak.org/trunk/Help-Squeak-TerseGuide-mt.14.mcz
==================== Summary ====================
Name: Help-Squeak-TerseGuide-mt.14
Author: mt
Time: 3 March 2020, 11:07:27.469491 am
UUID: 87e7e249-d004-d64e-ad05-a64fcc1dec1f
Ancestors: Help-Squeak-TerseGuide-jr.13
Prepare Squeak 5.3 Release --- Adds last-minute fixes to terse guide to make it identical to the one on squeak.org.
=============== Diff against Help-Squeak-TerseGuide-jr.13 ===============
Item was changed:
----- Method: TerseGuideHelp class>>character (in category 'pages') -----
character
"This method was automatically generated. Edit it using:"
"TerseGuideHelp edit: #character"
+ ^(HelpTopic
- ^HelpTopic
title: 'Character'
contents:
'| x y b |
x := $A. "character assignment"
y := x isLowercase. "test if lower case"
y := x isUppercase. "test if upper case"
y := x isLetter. "test if letter"
y := x isDigit. "test if digit"
y := x isAlphaNumeric. "test if alphanumeric"
+ y := x isSeparator. "test if separator char"
- y := x isSeparator. "test if seperator char"
y := x isVowel. "test if vowel"
y := x digitValue. "convert to numeric digit value"
y := x asLowercase. "convert to lower case"
y := x asUppercase. "convert to upper case"
y := x asciiValue. "convert to numeric ascii value"
y := x asString. "convert to string"
b := $A <= $B. "comparison"
y := $A max: $B.
+ !!' readStream nextChunkText)
+ key: #character;
+ shouldStyle: true;
+ yourself!
- !!' readStream nextChunkText!
Item was changed:
----- Method: TerseGuideHelp class>>introduction (in category 'pages') -----
introduction
"This method was automatically generated. Edit it using:"
"TerseGuideHelp edit: #introduction"
^(HelpTopic
title: 'General'
contents:
'Allowable characters:
- a-z
- A-Z
- 0-9
- .+/\*~<>@%|&?
- blank, tab, cr, ff, lf
Variables:
+ - Variables must be declared before use
+ - Shared vars must begin with uppercase
+ - Local vars must begin with lowercase
+ - Reserved names: self, super, thisContext, true, false, and nil
- - variables must be declared before use
- - shared vars must begin with uppercase
- - local vars must begin with lowercase
- - reserved names: nil, true, false, self, super, and Smalltalk
Variable scope:
+ - Global: defined in current environment (that is usually Smalltalk) and accessible by all objects in system
+ - Special (reserved): self, super, thisContext, true, false, and nil
- - Global: defined in Dictionary Smalltalk and accessible by all objects in system
- - Special: (reserved) Smalltalk, super, self, true, false, & nil
- Method Temporary: local to a method
- Block Temporary: local to a block
- Pool: variables in a Dictionary object
- Method Parameters: automatic local vars created as a result of message call with params
- Block Parameters: automatic local vars created as a result of value: message call
- Class: shared with all instances of one class & its subclasses
- Class Instance: unique to each instance of a class
- Instance Variables: unique to each instance
"Comments are enclosed in quotes - like this"
Period (.) is the statement separator
!!' readStream nextChunkText)
key: #introduction;
shouldStyle: false;
yourself!
Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-mt.1138.mcz
==================== Summary ====================
Name: System-mt.1138
Author: mt
Time: 3 March 2020, 11:06:27.208491 am
UUID: fb9a6434-89c1-c047-bc19-aacd885932eb
Ancestors: System-mt.1137
Prepare Squeak 5.3 Release --- Adds missing contributor Tom Beckmann (tobe).
=============== Diff against System-mt.1137 ===============
Item was changed:
----- Method: SystemNavigation class>>privateAuthorsRaw (in category 'class initialization') -----
(excessive size, no diff calculated)