Changes to Trunk (http://source.squeak.org/trunk.html) in the last 24 hours:
http://lists.squeakfoundation.org/pipermail/packages/2009-November/001884.h…
Name: Morphic-kb.251
Ancestors: Morphic-ar.250
fix: TheMainWorldDockingBar picks shows new project subclasses automatically in its New Project menu.
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2009-November/001885.h…
Name: Collections-nice.213
Ancestors: Collections-ar.212
Support for literal ByteArray #[1 2 3]
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2009-November/001886.h…
Name: Compiler-nice.98
Ancestors: Compiler-cwp.97
Add support for literal ByteArray #[1 2 3]
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2009-November/001887.h…
Name: Morphic-dtl.252
Ancestors: Morphic-kb.251
Add instance methods originally from class side of Project
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2009-November/001888.h…
Name: System-dtl.176
Ancestors: System-nice.175
Remove remaining direct Morphic dependencies from class side of Project
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2009-November/001889.h…
Name: KernelTests-nice.112
Ancestors: KernelTests-ul.111
Grab a few tests from Pharo
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2009-November/001890.h…
Name: System-dtl.177
Ancestors: System-dtl.176
Bug fix - Change Project class>>deletingProject to use isKindOf: Project. Still need to factor out ProjectViewMorph dependencies in this method.
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2009-November/001891.h…
Name: Kernel-nice.306
Ancestors: Kernel-ul.305
Speed up highBit and lowBit according to http://bugs.squeak.org/view.php?id=7113
This is usefull for algorithms like DSA.
This version has a cache of known result for bytes.
Prerequisite: ByteArray literals #[]
{
[100000 timesRepeat: [123456798 highBit]] timeToRun.
[100000 timesRepeat: [122 highBit]] timeToRun.
[100000 timesRepeat: [12 highBit]] timeToRun.
[100000 timesRepeat: [3950591 lowBit]] timeToRun.
[100000 timesRepeat: [3950592 lowBit]] timeToRun.
[100000 timesRepeat: [8 lowBit]] timeToRun.
[100000 timesRepeat: [(-1073741824) lowBit]] timeToRun.
}
"OLD" #(186 139 138 92 165 134 1965) /
"NEW" #(115 96 96 83 97 79 743)
"SPEED UP FACTOR" collect: [:e | e roundTo: 0.1]
-> #(1.6 1.4 1.4 1.1 1.7 1.7 2.6)
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2009-November/001892.h…
Name: Multilingual-nice.64
Ancestors: Multilingual-nice.63
Get rid of some ugly getSystemAttribute: 1002
There is an explicitely named message #osVersion to just do that
The named one seems a bit more future proof to me than assembleur like hardcoded values
==== ERROR ===
Error: subscript is out of bounds: 0
27 November 2009 9:22:48 pm
VM: unix - a SmalltalkImage
Image: Squeak3.7 [latest update: #5989]
SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /home/squeaksource
Trusted Dir /home/squeaksource/secure
Untrusted Dir /home/squeaksource/My Squeak
Array(Object)>>error:
Receiver: #(#xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xDelimiter #xDe...etc...
Arguments and temporary variables:
aString: 'subscript is out of bounds: 0'
Receiver's instance variables:
#(#xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xDelimiter #xDe...etc...
Array(Object)>>errorSubscriptBounds:
Receiver: #(#xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xDelimiter #xDe...etc...
Arguments and temporary variables:
index: 0
Receiver's instance variables:
#(#xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xDelimiter #xDe...etc...
Array(Object)>>at:
Receiver: #(#xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xDelimiter #xDe...etc...
Arguments and temporary variables:
index: 0
Receiver's instance variables:
#(#xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xDelimiter #xDe...etc...
Parser(Scanner)>>scanToken
Receiver: a Parser
Arguments and temporary variables:
Receiver's instance variables:
source: a ReadStream
mark: 21
hereChar: $
aheadChar: $
token: 'supportedLanguages'
tokenType: #xDelimiter
currentComment: an OrderedCollection('Return the languages that this class supp...etc...
buffer: a WriteStream
typeTable: #(#xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xBinary #xB...etc...
here: 'supportedLanguages'
hereType: #word
hereMark: 1
hereEnd: 18
prevMark: 1
prevEnd: nil
encoder: nil
requestor: nil
parseNode: nil
failBlock: [] in Parser>>initPattern:notifying:return: {[^ nil]}
requestorOffset: 0
tempsMark: nil
doitFlag: nil
--- The full stack ---
Array(Object)>>error:
Array(Object)>>errorSubscriptBounds:
Array(Object)>>at:
Parser(Scanner)>>scanToken
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Parser(Scanner)>>xDoubleQuote
Parser(Scanner)>>scanToken
Parser>>advance
Parser>>init:notifying:failBlock:
Parser>>initPattern:notifying:return:
Parser>>parseSelector:
ChangeList>>scanCategory:class:meta:stamp:
ChangeList>>scanCategory
[] in ChangeList>>scanFile:from:to: {[:bar | [file position < stopPosition] whileTrue: [bar value: file positi...]}
ProgressInitiationException>>defaultAction
UndefinedObject>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
ProgressInitiationException(Exception)>>signal
ProgressInitiationException>>display:at:from:to:during:
ProgressInitiationException class>>display:at:from:to:during:
String>>displayProgressAt:from:to:during:
ChangeList>>scanFile:from:to:
FilePackage>>fileInFrom:
MCStReader>>loadDefinitions
MCStReader(MCSnapshotReader)>>definitions
[] in MCMczReader>>extractDefinitionsFrom: {[:rc | reader := rc on: member contentStream text. definitions addAll: rea...]}
MCStReader class(Object)>>ifNotNilDo:
MCMczReader>>extractDefinitionsFrom:
[] in MCMczReader>>loadDefinitions {[:m | self extractDefinitionsFrom: m]}
OrderedCollection>>do:
MCMczReader>>loadDefinitions
MCMczReader(MCVersionReader)>>definitions
MCMczReader(MCVersionReader)>>snapshot
[] in SSDiffyTextWriter>>writeVersion:for: {[ancestor ifNil: [self writeSnapshot: reader snapshot] ifNotNil: [patch ...]}
BlockContext>>on:do:
SSDiffyTextWriter>>writeVersion:for:
SSEMailSubscription>>versionAdded:to:
[] in SSProject>>versionAdded: {[each new versionAdded: aVersion to: self]}
[] in BlockContext>>newProcess {[self value. Processor terminateActive]}
Previous message: [Pkg] The Trunk: Kernel-nice.306.mcz
Next message: [Pkg] The Trunk: Multilingual-nice.65.mcz
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Packages
mailing list
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2009-November/001893.h…
Name: Multilingual-nice.65
Ancestors: Multilingual-nice.64
http://bugs.squeak.org/view.php?id=6086
In the process of #detectLineEndConvention a primitive fails trying to obtain the position of '/dev/stdout'.
Re-Install fix from Kph compatible with latests changes.
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2009-November/001894.h…
Name: System-nice.178
Ancestors: System-dtl.177
Remove two more uggly SmalltalkImage current getSystemAttribute: 1002
IMO SmalltalkImage current osVersion is a bit more future proof than an obscure message with an hardcoded value
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2009-November/001895.h…
Name: System-nice.179
Ancestors: System-nice.178
Print Smalltalk with isSelfEvaluating style
BEFORE: a SystemDictionary(lots of globals)
AFTER: Smalltalk "a SystemDictionary with lots of globals"
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2009-November/001896.h…
Name: Compiler-nice.99
Ancestors: Compiler-nice.98
rename scanLitByte -> scanLitByteVec as suggested by Eliot
=============================================
Nicolas Cellier uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-nice.179.mcz
==================== Summary ====================
Name: System-nice.179
Author: nice
Time: 27 November 2009, 10:56:47 am
UUID: 6d19f2f9-3c0c-46f9-8ca0-369096a00f76
Ancestors: System-nice.178
Print Smalltalk with isSelfEvaluating style
BEFORE: a SystemDictionary(lots of globals)
AFTER: Smalltalk "a SystemDictionary with lots of globals"
=============== Diff against System-nice.178 ===============
Item was added:
+ ----- Method: SystemDictionary>>printOn: (in category 'printing') -----
+ printOn: aStream
+ self == Smalltalk
+ ifTrue: [aStream nextPutAll: #Smalltalk.
+ aStream nextPutAll:' "a SystemDictionary with lots of globals"']
+ ifFalse: [super printOn: aStream]!
Nicolas Cellier uploaded a new version of Multilingual to project The Trunk:
http://source.squeak.org/trunk/Multilingual-nice.65.mcz
==================== Summary ====================
Name: Multilingual-nice.65
Author: nice
Time: 27 November 2009, 10:29:13 am
UUID: 5e7b3a9a-9718-4731-8e0c-a3f5515fd607
Ancestors: Multilingual-nice.64
http://bugs.squeak.org/view.php?id=6086
In the process of #detectLineEndConvention a primitive fails trying to obtain the position of '/dev/stdout'.
Re-Install fix from Kph compatible with latests changes.
=============== Diff against Multilingual-nice.64 ===============
Item was changed:
Object subclass: #LanguageEnvironment
instanceVariableNames: 'id'
classVariableNames: 'ClipboardInterpreterClass Current FileNameConverterClass InputInterpreterClass KnownEnvironments SystemConverterClass'
poolDictionaries: ''
category: 'Multilingual-Languages'!
!LanguageEnvironment commentStamp: 'bf 8/16/2009 16:52' prior: 0!
The name multilingualized Squeak suggests that you can use multiple language at one time. This is true, of course, but the system still how to manage the primary language; that provides the interpretation of data going out or coming in from outside world. It also provides how to render strings, as there rendering rule could be different in one language to another, even if the code points in a string is the same.
Originally, LanguageEnvironment and its subclasses only has class side methods. After merged with Diego's Babel work, it now has instance side methods. Since this historical reason, the class side and instance side are not related well.
+ When we talk about the interface with the outside of the Squeak world, there are three different "channels"; the keyboard input, clipboard output and input, and filename. On a not-to-uncommon system such as a Unix system localized to Japan, all of these three can have (and does have) different encodings. So we need to manage them separately. Note that the encoding in a file can be anything. While it is nice to provide a suggested guess for this 'default system file content encoding', it is not critical.
- When we talk about the interface with the outside of the Squeak world, there are three different "channels"; the keyboard input, clipboard output and input, and filename. On a not-to-uncommon system such as a Unix system localized to Japan, all of these three can have (and does have) different encodings. So we need to manage them separately. Note that the encoding in a file can be anything. While it is nice to provide a suggested guess for this 'default system file content encoding', it is not critical.
Rendering support is limited basic L-to-R rendering so far. But you can provide different line-wrap rule, at least.
!
Item was changed:
+ ----- Method: MultiByteFileStream>>wantsLineEndConversion: (in category 'remnant') -----
- ----- Method: MultiByteFileStream>>wantsLineEndConversion: (in category 'accessing') -----
wantsLineEndConversion: aBoolean
+
+ wantsLineEndConversion := aBoolean.
+ lineEndConvention ifNil: [ self detectLineEndConvention ]. !
- wantsLineEndConversion := aBoolean.
- self detectLineEndConvention.!
Item was changed:
----- Method: MultiByteFileStream class>>guessDefaultLineEndConvention (in category 'class initialization') -----
guessDefaultLineEndConvention
"Lets try to guess the line end convention from what we know about the
path name delimiter from FileDirectory."
FileDirectory pathNameDelimiter = $:
ifTrue: [^ self defaultToCR].
FileDirectory pathNameDelimiter = $/
+ ifTrue: [((SmalltalkImage current osVersion)
- ifTrue: [((SmalltalkImage current getSystemAttribute: 1002)
beginsWith: 'darwin')
ifTrue: [^ self defaultToCR]
ifFalse: [^ self defaultToLF]].
FileDirectory pathNameDelimiter = $\
ifTrue: [^ self defaultToCRLF].
"in case we don't know"
^ self defaultToCR!
Item was changed:
----- Method: MultiByteFileStream>>open:forWrite: (in category 'open/close') -----
open: fileName forWrite: writeMode
| result |
result := super open: fileName forWrite: writeMode.
result ifNotNil: [
+ converter ifNil: [self converter: UTF8TextConverter new].
+ lineEndConvention ifNil: [ self detectLineEndConvention ]
+ ].
- converter ifNil: [converter := UTF8TextConverter new].
- self detectLineEndConvention].
^result!
David T. Lewis uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-dtl.177.mcz
==================== Summary ====================
Name: System-dtl.177
Author: dtl
Time: 27 November 2009, 3:16:46 am
UUID: 2643ef5e-822c-4088-9233-416c30a23cdf
Ancestors: System-dtl.176
Bug fix - Change Project class>>deletingProject to use isKindOf: Project. Still need to factor out ProjectViewMorph dependencies in this method.
=============== Diff against System-dtl.176 ===============
Item was changed:
----- Method: Project class>>deletingProject: (in category 'utilities') -----
deletingProject: outgoingProject
ImageSegment allSubInstancesDo: [:seg |
seg ifOutPointer: outgoingProject thenAllObjectsDo: [:obj |
(obj isKindOf: ProjectViewMorph) ifTrue: [
obj deletingProject: outgoingProject. obj abandon].
+ (obj isKindOf: Project) ifTrue: [obj deletingProject: outgoingProject]]].
- obj class == Project ifTrue: [obj deletingProject: outgoingProject]]].
Project allProjects do: [:p | p deletingProject: outgoingProject]. "ones that are in"
ProjectViewMorph allSubInstancesDo: [:p |
p deletingProject: outgoingProject.
p project == outgoingProject ifTrue: [p abandon]].
AllProjects := self allProjects copyWithout: outgoingProject.!