tim Rowledge uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-tpr.802.mcz
==================== Summary ====================
Name: Monticello-tpr.802
Author: tpr
Time: 23 October 2023, 4:30:19.172223 pm
UUID: f14d457c-c2b2-4f37-ab6c-7f3611de11e2
Ancestors: Monticello-ct.801
Drop the deprecated #os send from MCHttpRepository class>>#useSharedWebClientInstance
=============== Diff against Monticello-ct.801 ===============
Item was changed:
----- Method: MCHttpRepository class>>useSharedWebClientInstance (in category 'preferences') -----
useSharedWebClientInstance
<preference: 'Use shared WebClient instance'
category: 'Monticello'
description: 'When true, use a shared WebClient instance to speed up downloads from MCHttpRepositories. Requires WebClient to be present.'
type: #Boolean>
^UseSharedWebClientInstance ifNil: [
"There is some issue on Windows and Macos, so don't use it there by default. See http://lists.squeakfoundation.org/pipermail/squeak-dev/2019-September/threa… for details."
+ Smalltalk platformName ~= 'Win32' and: [Smalltalk platformName ~= 'Mac OS']]!
- Smalltalk os platformName ~= 'Win32' and: [Smalltalk os platformName ~= 'Mac OS']]!
Marcel Taeumel uploaded a new version of ToolBuilder-Morphic to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Morphic-mt.348.mcz
==================== Summary ====================
Name: ToolBuilder-Morphic-mt.348
Author: mt
Time: 16 October 2023, 9:09:41.218917 am
UUID: 9ca4109b-56e9-a346-b4ca-6fbcffe46713
Ancestors: ToolBuilder-Morphic-mt.347
Fix position of "new directory" button in file-saver dialog. "Cancel" button should be right-most and also consistent with directory-chooser dialog.
=============== Diff against ToolBuilder-Morphic-mt.347 ===============
Item was changed:
----- Method: FileSaverDialog>>buildButtonsWith: (in category 'toolbuilder') -----
buildButtonsWith: builder
+ "add a 'new directory' button to the beginning of the row of buttons"
+ ^ {builder pluggableButtonSpec new
-
- ^ (super buildButtonsWith: builder)
- copyWith:
- (builder pluggableButtonSpec new
model: self;
label: 'New Directory' translated;
color: (self userInterfaceTheme get: #buttonColor for: #DialogWindow);
action: #newDirectoryName;
+ yourself}, (super buildButtonsWith: builder)!
- yourself)!
Christoph Thiede uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-ct.2126.mcz
==================== Summary ====================
Name: Morphic-ct.2126
Author: ct
Time: 26 August 2023, 10:47:41.051023 pm
UUID: fd9b4398-075b-8c40-b1a8-8997341cf46a
Ancestors: Morphic-mt.2125
Fixes invalid state in text morphs when selecting text while something (e.g., a transcript) is updating the text.
E.g., you could trigger a nil errorNotIndexable from SmalltalkEditor(TextEditor)>>isDisjointFrom:) by doing this:
[[1 second wait.
Transcript showln: DateAndTime now] repeat] forkAt: Processor userBackgroundPriority.
"Drag to select text, wait for the next update, and release the cursor outside the window"
Make sure not to have any stepping morphs (such as browsers) in the world to reproduce this. #forceScreen does not need to be enabled.
Note that this is not a concurrency issue but also occurs when writing to the transcript from the UI process only. In general, you should not manipulate (or even access?) morphic UI state from other processes.
=============== Diff against Morphic-mt.2125 ===============
Item was changed:
----- Method: TextEditor>>mouseUp: (in category 'events') -----
mouseUp: evt
"An attempt to break up the old processRedButton code into threee phases"
"0) Click on text actions."
(self mouseUpOnTextAction: evt) ifTrue: [^ self].
"1) A 'double-click' will result in selecting the whole word."
(self hasCaret and: [oldInterval = self selectionInterval])
ifTrue: [self selectWord].
"2) For the next type-in, configure emphasis. We don't want to do this on
every key-press for performance reasons."
self setEmphasisHere.
"3) Notice selection changes."
+ (oldInterval notNil "happens if the editor has been replaced since mouseDown: (e.g., by a programmatic text change such as #appendEntry)"
+ and: [self isDisjointFrom: oldInterval])
+ ifTrue: [otherInterval := oldInterval].
- (self isDisjointFrom: oldInterval)
- ifTrue: [otherInterval := oldInterval].
self storeSelectionInParagraph.
"4) Reset mouse cursor to account for selection changes."
self updateCursorForEvent: evt.
morph removeProperty: #waitingForTextDrag.!
Christoph Thiede uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-ct.2129.mcz
==================== Summary ====================
Name: Morphic-ct.2129
Author: ct
Time: 29 August 2023, 7:48:39.322934 pm
UUID: 85e43810-9270-5b4a-bdd4-0734c01a405d
Ancestors: Morphic-mt.2127
Proposal: Expand selected window from "find windows". Just highlighting the collapsed window may not provide enough visibility if there are many windows.
=============== Diff against Morphic-mt.2127 ===============
Item was changed:
----- Method: TheWorldMainDockingBar>>selectWorkspace:window:inProject:contents: (in category 'submenu - windows') -----
selectWorkspace: aWorkspace window: aSystemWindow inProject: aMorphicProject contents: contents
aMorphicProject
+ addDeferredUIMessage: [aSystemWindow expand; comeToFront];
- addDeferredUIMessage: [aSystemWindow comeToFront];
enter "Does nothing if already the current project..."
!