[squeak-dev] Daily Commit Log

commits at source.squeak.org commits at source.squeak.org
Fri Mar 5 23:55:03 UTC 2010


Changes to Trunk (http://source.squeak.org/trunk.html) in the last 24 hours:

http://lists.squeakfoundation.org/pipermail/packages/2010-March/002904.html

Name: Collections-cmm.325
Ancestors: Collections-nice.324

Added Dictionary>>#at:ifPresent:ifAbsent:.  

When Dictionary already offers #at:ifPresent: and #at:ifAbsent: api, it is natural to expect, and better to write:

	d
		at: key
		ifPresent: [ : found | .... ]
		ifAbsent: [ ... ]

than:

	(d
		at: key
		ifPresent: [ : found | ... ])
		ifNil: 
			[ "absent"
			... ].
		
The new 5-line method relies on the legacy #at:ifPresent:.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2010-March/002905.html

Name: CollectionsTests-ar.151
Ancestors: CollectionsTests-ar.150

Add tests for at:ifPresent:ifAbsent: (illustrating a bug in the implementation).

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2010-March/002906.html

Name: Collections-ar.326
Ancestors: Collections-cmm.325

Fix implementation of at:ifPresent:ifAbsent:.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2010-March/002907.html

Name: EToys-ar.63
Ancestors: EToys-dtl.62

Remove two unused methods.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2010-March/002908.html

Name: Traits-ar.281
Ancestors: Traits-nice.280

Fix a tiny buglet in Traits using #includes: instead of #includesKey: for its name.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2010-March/002909.html

Name: Kernel-ar.416
Ancestors: Kernel-ar.415

Remove last remaining uses of SyntaxError to indicate non-interactive compile.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2010-March/002910.html

Name: Monticello-ar.377
Ancestors: Monticello-ar.376

Remove last remaining uses of SyntaxError to indicate non-interactive compile.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2010-March/002911.html

Name: Compiler-ar.131
Ancestors: Compiler-nice.130

Having removed the last uses of SyntaxError to indicate non-interactive compile, simplify Parser/Compiler>>interactive to just test for non-nil requestor.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2010-March/002912.html

Name: Morphic-laza.373
Ancestors: Morphic-cmm.372

Fix if user aborts path selection

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2010-March/002913.html

Name: KernelTests-cmm.142
Ancestors: KernelTests-ul.141

Incorporated test demonstrating broken Year>>#previous, for leap years.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2010-March/002914.html

Name: Kernel-cmm.417
Ancestors: Kernel-ar.416

Imcorporated fix for Year>>#previous, for leap years.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2010-March/002915.html

Name: System-cmm.276
Ancestors: System-cmm.275

Added ability to resetKnownLocales.  Otherwise, once the image is started, there is no API for doing this.  Also applied a fix of an apparent bug in NaturalLanguageTranslator class>>#loadAvailableExternalLocales.

=============================================



More information about the Squeak-dev mailing list