Edgar J. De Cleene | 1 Sep 01:22
Picon
Favicon

Re: Status of Tests in trunk


On 8/31/09 7:05 PM, "Bert Freudenberg" <bert <at> freudenbergs.de> wrote:

>> What is the status of ScripLoader anyway. Is this replaced by
>> ReleaseBuilder?
> 
> By the MCM updater.
> 
> - Bert -

Could unload ScripLoader and ReleaseBuilder in trunk image?
Both was in repositories and if any wish load later when needed.
Still a reduced , safe , modular Squeak is a good thing IMHO

Edgar

David Farber | 1 Sep 03:45

Red box Re: All Clear (and Monticello issues)


On Aug 31, 2009, at 3:17 AM, Edgar J. De Cleene wrote:

> <Picture 1.jpg>

Edgar, thanks for the picture.  It reminded me of a question I've  
been wanting to ask for while.  Does anyone know how revive a morph  
after an error leaves it with the redbox and yellow x?  Last time  
this happened to me, I couldn't even locate the code responsible for  
handling this error state and drawing the redbox with yellow x

David


Andreas Raab | 1 Sep 03:53
Picon
Picon

Re: Red box Re: All Clear (and Monticello issues)

David Farber wrote:
> Edgar, thanks for the picture.  It reminded me of a question I've been 
> wanting to ask for while.  Does anyone know how revive a morph after an 
> error leaves it with the redbox and yellow x?  Last time this happened 
> to me, I couldn't even locate the code responsible for handling this 
> error state and drawing the redbox with yellow x

Look at the senders of #errorOnDraw to find the places that deal with 
it. The short version is that the system catches errors in drawOn: 
methods and then walks the stack trying to turn off drawing for the 
morph in question. You can re-enable drawing by getting the handles on 
the crossed-out morph, and from the debug halo choose "start drawing again".

Cheers,
   - Andreas

commits | 1 Sep 05:13
Favicon

The Inbox: Compiler-tfel.75.mcz

A new version of Compiler was added to project The Inbox:
http://source.squeak.org/inbox/Compiler-tfel.75.mcz

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

Name: Compiler-tfel.75
Author: tfel
Time: 1 September 2009, 5:13:15 am
UUID: c0548007-a567-49ac-81ed-f0df3a098e65
Ancestors: Compiler-tfel.74

MethodNode>>generateWith:using:

Nuked the method according to Andreas' request on the mailinglist

=============== Diff against Compiler-tfel.74 ===============

Item was removed:
- ----- Method: MethodNode>>generateWith:using: (in category 'code generation') -----
- generateWith: trailer using: aCompiledMethodClass
- 	"The receiver is the root of a parse tree. Answer a CompiledMethod. The
- 	argument, trailer, is the references to the source code that is stored with 
- 	every CompiledMethod."
- 
- 	| blkSize nLits stack strm nArgs method literals |
- 	self generate: trailer ifQuick: 
- 		[:m |  method := m.
- 		method properties: properties.
- 		^ method].
- 	nArgs := arguments size.
(Continue reading)

commits | 1 Sep 05:18
Favicon

The Trunk: Morphic-ar.165.mcz

Andreas Raab uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-ar.165.mcz

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

Name: Morphic-ar.165
Author: ar
Time: 31 August 2009, 8:14:46 am
UUID: 2f9b8fc0-01c7-6942-98bd-ce0775a45e9f
Ancestors: Morphic-ar.164

Disable style choices in the font chooser dialog for now since its users don't expect the font to be
emphasized already. This will need more work and is too confusing at this point (and too easy to break).

=============== Diff against Morphic-ar.164 ===============

Item was changed:
  ----- Method: FontChooserTool>>buildWith: (in category 'toolbuilder') -----
  buildWith: builder
  	"Create the ui for the browser"
  	"ToolBuilder open: self"
  	| windowSpec |
+ 	self offerStyleList ifTrue:[
+ 		windowSpec := self buildWindowWith: builder specs: {
+ 			(0 <at> 0 corner: 0.4 <at> 0.4) -> [self buildFontListWith: builder].
+ 			(0.4 <at> 0 corner: 0.8 <at> 0.4) -> [self buildStyleListWith: builder].
+ 			(0.8 <at> 0 corner: 1.0 <at> 0.4) -> [self buildPointSizeListWith: builder].
+ 			(0.0 <at> 0.4 corner: 1.0 <at> 0.88) -> [self buildPreviewPaneWith: builder].
+ 			(0.0 <at> 0.88 corner: 1 <at> 1) -> [self buildButtonBarWith: builder].
+ 		}.
(Continue reading)

commits | 1 Sep 05:20
Favicon

The Trunk: Compiler-tfel.75.mcz

Andreas Raab uploaded a new version of Compiler to project The Trunk:
http://source.squeak.org/trunk/Compiler-tfel.75.mcz

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

Name: Compiler-tfel.75
Author: tfel
Time: 1 September 2009, 5:13:15 am
UUID: c0548007-a567-49ac-81ed-f0df3a098e65
Ancestors: Compiler-tfel.74

MethodNode>>generateWith:using:

Nuked the method according to Andreas' request on the mailinglist

=============== Diff against Compiler-cwp.73 ===============

Item was removed:
- ----- Method: MethodNode>>generateWith:using: (in category 'code generation') -----
- generateWith: trailer using: aCompiledMethodClass
- 	"The receiver is the root of a parse tree. Answer a CompiledMethod. The
- 	argument, trailer, is the references to the source code that is stored with 
- 	every CompiledMethod."
- 
- 	| blkSize nLits stack strm nArgs method |
- 	self generate: trailer ifQuick: 
- 		[:m |  method := m.
- 		method properties: properties.
- 		^ method].
- 	nArgs := arguments size.
(Continue reading)

commits | 1 Sep 09:39
Favicon

The Trunk: Collections-ar.123.mcz

Andreas Raab uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-ar.123.mcz

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

Name: Collections-ar.123
Author: ar
Time: 1 September 2009, 12:38:06 pm
UUID: e7432274-e18a-1e43-a002-f3ab261bd465
Ancestors: Collections-tfel.122

Some fixes for RWBinaryOrTextStream which was too agressive optimizing some paths. Also fixes
Character>>codePoint: which has no reason to raise an exception for values > 256.

=============== Diff against Collections-tfel.122 ===============

Item was added:
+ ----- Method: RWBinaryOrTextStream>>upTo: (in category 'accessing') -----
+ upTo: anObject 
+ 	"Answer a subcollection from the current access position to the 
+ 	occurrence (if any, but not inclusive) of anObject in the receiver. If 
+ 	anObject is not in the collection, answer the entire rest of the receiver."
+ 	| newStream element species |
+ 	species := isBinary ifTrue:[ByteArray] ifFalse:[String].
+ 	newStream := WriteStream on: (species new: 100).
+ 	[self atEnd or: [(element := self next) = anObject]]
+ 		whileFalse: [newStream nextPut: element].
+ 	^newStream contents!

Item was changed:
(Continue reading)

commits | 1 Sep 09:47
Favicon

The Trunk: Network-jcg.35.mcz

Joshua Gargus uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-jcg.35.mcz

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

Name: Network-jcg.35
Author: jcg
Time: 1 September 2009, 12:46:48 pm
UUID: 03bb9532-5287-40b1-bb29-ea33c8c3d4fd
Ancestors: Network-ar.34

Use 'foo base64Encoded' instead of '(Base64MimeConverter mimeEncode: foo readStream) contents'.

=============== Diff against Network-ar.34 ===============

Item was changed:
  ----- Method: HTTPSocket class>>httpPost:args:user:passwd: (in category 'get the page') -----
  httpPost: url args: args user: user passwd: passwd
  	| authorization |
+ 	authorization := (user , ':' , passwd) base64Encoded.
- 	authorization := (Base64MimeConverter mimeEncode: (user , ':' , passwd) readStream) contents.
  	^self 
  		httpPostDocument: url args: args accept: '*/*' 
  		request: 'Authorization: Basic ' , authorization , CrLf!

Item was changed:
  ----- Method: HTTPSocket class>>proxyUser:password: (in category 'proxy settings') -----
  proxyUser: userName password: password
  	"Store  HTTP 1.0 basic authentication credentials
  	Note: this is an ugly hack that stores your password
(Continue reading)

commits | 1 Sep 09:49
Favicon

The Trunk: CollectionsTests-ar.92.mcz

Andreas Raab uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-ar.92.mcz

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

Name: CollectionsTests-ar.92
Author: ar
Time: 1 September 2009, 12:48:39 pm
UUID: 1fd2d9a7-d875-4d44-9f11-7fae6489c982
Ancestors: CollectionsTests-ar.91

Tests covering the changes in RWBinaryOrTextStream and Character.

=============== Diff against CollectionsTests-ar.91 ===============

Item was added:
+ TestCase subclass: #RWBinaryOrTextStreamTest
+ 	instanceVariableNames: ''
+ 	classVariableNames: ''
+ 	poolDictionaries: ''
+ 	category: 'CollectionsTests-Streams'!

Item was added:
+ ----- Method: RWBinaryOrTextStreamTest>>testUpToEnd (in category 'tests') -----
+ testUpToEnd
+ 	
+ 	| stream |
+ 	stream := RWBinaryOrTextStream on: String new.
+ 	stream nextPutAll: 'world'; reset.
+ 	self assert: stream upToEnd = 'world'.
(Continue reading)

commits | 1 Sep 09:49
Favicon

The Trunk: CollectionsTests-jcg.92.mcz

Joshua Gargus uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-jcg.92.mcz

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

Name: CollectionsTests-jcg.92
Author: jcg
Time: 1 September 2009, 12:49:22 pm
UUID: ed08053a-039e-4407-9565-e3c8d84149f1
Ancestors: CollectionsTests-ar.91

Additional tests for Base64MimeConverterTest:
- test that it works on ByteArrays too
- test convenience method #base64Encoded
- test that mimeEncode: doesn't first reset input stream.

=============== Diff against CollectionsTests-ar.91 ===============

Item was added:
+ ----- Method: Base64MimeConverterTest>>testOnByteArray (in category 'tests') -----
+ testOnByteArray
+ 	self assert: ('Hi There!!' base64Encoded = 'Hi There!!' asByteArray base64Encoded)!

Item was changed:
  ----- Method: Base64MimeConverterTest>>setUp (in category 'initialize-release') -----
  setUp
+ 	message := 'Hi There!!' readStream.
+ !
- 	message := ReadWriteStream on: (String new: 10).
- 	message nextPutAll: 'Hi There!!'.!
(Continue reading)


Gmane