Karl Ramberg uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-kfr.275.mcz
==================== Summary ====================
Name: MorphicExtras-kfr.275
Author: kfr
Time: 10 June 2020, 6:41:33.727777 pm
UUID: 26fa97c9-e242-8048-8c7c-53b2061c19f4
Ancestors: MorphicExtras-mt.274
Detect if animated image (eg. gif) has transparent color and use opaque background if so.
=============== Diff against MorphicExtras-mt.274 ===============
Item was changed:
----- Method: AnimatedImageMorph>>fromReader: (in category 'private') -----
fromReader: reader
-
images := reader forms.
delays := reader delays.
+ images do:[: each | (each colors includes: Color transparent) ifTrue:[self isOpaque: true]].
- self isOpaque: true.
self reset.!
Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.979.mcz
==================== Summary ====================
Name: Tools-mt.979
Author: mt
Time: 13 June 2020, 12:51:14.17003 pm
UUID: fb7f5dec-3bab-fe4f-85ab-46727f2ec91b
Ancestors: Tools-mt.978
In the deps browser, auto-select the string that most like represents the class dependency. Selects the wrong thing in the text when the name is also part of some other identifier.
=============== Diff against Tools-mt.978 ===============
Item was changed:
CodeHolder subclass: #DependencyBrowser
+ instanceVariableNames: 'packageList packageDeps packageDepsList classDeps classDepsList classList messageList packageListIndex packageDepsIndex classDepsIndex classListIndex messageListIndex autoSelectString'
- instanceVariableNames: 'packageList packageDeps packageDepsList classDeps classDepsList classList messageList packageListIndex packageDepsIndex classDepsIndex classListIndex messageListIndex'
classVariableNames: ''
poolDictionaries: ''
category: 'Tools-Browser'!
!DependencyBrowser commentStamp: 'fbs 5/6/2011 11:29' prior: 0!
A simple dependency browser showing five panes:
[1]: Packages: The list of available packages in the system.
[2]: Package Dependencies: The dependent packages of the currently selected package.
[3]: Class Dependencies: The classes causing the dependencies.
[4]: Class List: The classes introducing the dependencies.
[5]: Messages: The messages introducing the dependencies.!
Item was added:
+ ----- Method: DependencyBrowser>>autoSelectString (in category 'accessing') -----
+ autoSelectString
+ ^ autoSelectString!
Item was added:
+ ----- Method: DependencyBrowser>>autoSelectString: (in category 'accessing') -----
+ autoSelectString: aString
+ autoSelectString := aString.
+ self changed: #contentsSelection.!
Item was added:
+ ----- Method: DependencyBrowser>>contentsSelection (in category 'accessing') -----
+ contentsSelection
+
+ ^ self autoSelectString
+ ifNil: [super contentsSelection]
+ ifNotNil: [:term | | index |
+ (index := self contents asString findString: term) > 0
+ ifTrue: [index to: index + term size - 1]
+ ifFalse: [super contentsSelection]]!
Item was changed:
----- Method: DependencyBrowser>>messageListIndex: (in category 'message list') -----
messageListIndex: idx
"Message list selection"
messageListIndex := idx.
self changed: #messageListIndex.
self changed: #contents.
+ self changed: #annotation.
+
+ self autoSelectString: self classDepsSelection.!
- self changed: #annotation.!
Marcel Taeumel uploaded a new version of FFI-Pools to project FFI:
http://source.squeak.org/FFI/FFI-Pools-mt.25.mcz
==================== Summary ====================
Name: FFI-Pools-mt.25
Author: mt
Time: 13 June 2020, 12:30:34.49703 pm
UUID: 1c28eee9-bee2-424c-ac81-21a11db9073b
Ancestors: FFI-Pools-mt.24
Removes code-loading dependency to Json class. Note that there is #ensureParsingSupport to lazy-load the Json class.
=============== Diff against FFI-Pools-mt.24 ===============
Item was changed:
----- Method: ExternalPoolJSONReadWriter>>interpretPoolData (in category 'reading - fetch/interpret/clear/load') -----
interpretPoolData
+ poolData := (self environment classNamed: #Json) readFrom: poolData readStream.
- poolData := Json readFrom: poolData readStream.
poolData at: 1 put: (FFIPlatformDescription
name: (poolData first at: 'name')
osVersion: (poolData first at: 'osVersion')
subtype: (poolData first at: 'subtype')
wordSize: (poolData first at: 'wordSize')).
poolData second keysAndValuesDo: [:name :value |
"See #nextPutFloatVariable:from:. We have to read a Float from the string contents."
(poolDefinition variablesAndTypesAt: name) value == Float
ifTrue: [poolData second at: name put: (self class readFloatFrom: value readStream)]].!
David T. Lewis uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-dtl.1165.mcz
==================== Summary ====================
Name: System-dtl.1165
Author: dtl
Time: 12 June 2020, 9:56:28.877275 pm
UUID: 939daf88-a16b-4749-b905-cbd7f529d0c3
Ancestors: System-dtl.1164
Fix a bug introduced in the last commit. If the readDocumentAtStartup preference is disabled, then adjust image argument list accordingly.
=============== Diff against System-dtl.1164 ===============
Item was changed:
----- Method: SmalltalkImage>>arguments (in category 'command line') -----
arguments
"Answer an array with all the command line arguments.
This does not include imagePath, documentPath nor any option."
"Smalltalk commandLine arguments"
| args strm |
args := self rawArguments.
(args includes: '--')
ifTrue: [ ^args copyAfter: self imageArgumentsMarker ].
strm := args readStream.
strm atEnd ifFalse: [ strm next. "skip image name"
+ (Preferences readDocumentAtStartup and: [ strm atEnd not ])
+ ifTrue: [ strm next "skip startup document name" ]].
- strm atEnd ifFalse: [ strm next "skip startup document name" ] ].
^ strm upToEnd.
!
Item was changed:
+ ----- Method: SmalltalkImage>>rawArguments (in category 'private') -----
- ----- Method: SmalltalkImage>>rawArguments (in category 'command line') -----
rawArguments
"Answer an array with all the command line arguments as delivered
from the VM. Any arguments for the VM itself will have been removed
(these are accessed with optionAt:)."
"Smalltalk commandLine rawArguments"
^Array streamContents: [:str |
| arg i |
i := 1.
[i > 998 or: [(arg := self getSystemAttribute: i) == nil]]
whileFalse:
[str nextPut: arg.
i := i + 1]].!