David T. Lewis uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-fbs.480.mcz
==================== Summary ====================
Name: Morphic-fbs.480
Author: fbs
Time: 4 December 2010, 8:05:06.902 pm
UUID: fe5ea275-0f48-a54d-9a7e-7fe7d90386c8
Ancestors: Morphic-mha.479
Attempting to open a telemorphic user when you have no network connection results in a dialog asking you to Retry a name lookup (as a network check) or Give Up. If you Give Up, your image will spew out a never-ending stream of debuggers. This change allows the user to see that she needs to make a network connection, but also allows her to abort the operation. See http://bugs.squeak.org/view.php?id=7578.
=============== Diff against Morphic-mha.479 ===============
Item was changed:
----- Method: PasteUpMorph>>connectRemoteUserWithName:picture:andIPAddress: (in category 'world menu') -----
connectRemoteUserWithName: nameStringOrNil picture: aFormOrNil andIPAddress: aStringOrNil
"Prompt for the initials to be used to identify the cursor of a remote user, then create a cursor for that user and wait for a connection."
| initials addr h |
initials := nameStringOrNil.
initials isEmptyOrNil ifTrue: [
initials := UIManager default request: 'Enter initials for remote user''s cursor?'.
].
initials isEmpty ifTrue: [^ self]. "abort"
addr := 0.
aStringOrNil isEmptyOrNil ifFalse: [
addr := NetNameResolver addressForName: aStringOrNil timeout: 30
].
addr = 0 ifTrue: [
addr := NetNameResolver promptUserForHostAddress.
].
addr = 0 ifTrue: [^ self]. "abort"
+ (RemoteHandMorph ensureNetworkConnected) ifFalse: [^ self]. "abort"
+
- RemoteHandMorph ensureNetworkConnected.
h := RemoteHandMorph new userInitials: initials andPicture: aFormOrNil.
self addHand: h.
h changed.
h startListening.
h startTransmittingEventsTo: addr.
!
David T. Lewis uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-fbs.95.mcz
==================== Summary ====================
Name: MorphicExtras-fbs.95
Author: fbs
Time: 4 December 2010, 8:06:58.744 pm
UUID: 29fdd44c-e506-b349-955c-c02d8c371e4b
Ancestors: MorphicExtras-ul.94
Attempting to open a telemorphic user when you have no network connection results in a dialog asking you to Retry a name lookup (as a network check) or Give Up. If you Give Up, your image will spew out a never-ending stream of debuggers. This change allows the user to see that she needs to make a network connection, but also allows her to abort the operation. See http://bugs.squeak.org/view.php?id=7578.
=============== Diff against MorphicExtras-ul.94 ===============
Item was changed:
----- Method: RemoteHandMorph class>>ensureNetworkConnected (in category 'utilities') -----
ensureNetworkConnected
+ "Try to ensure that an intermittent network connection, such as a dialup or ISDN line, is actually connected. This is necessary to make sure a server is visible in order to accept an incoming connection. If the network connection does not work - the user has given up - return false. Otherwise, return true."
- "Try to ensure that an intermittent network connection, such as a dialup or ISDN line, is actually connected. This is necessary to make sure a server is visible in order to accept an incoming connection."
"RemoteHandMorph ensureNetworkConnected"
+ | address |
-
Utilities
+ informUser: 'Ensuring your network connection works...'
- informUser: 'Contacting domain name server...'
during: [
+ address := (NetNameResolver
- NetNameResolver
addressForName: 'squeak.org'
+ timeout: 30)].
+ ^ address notNil.!
- timeout: 30].
- !
David T. Lewis uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-edc.95.mcz
==================== Summary ====================
Name: MorphicExtras-edc.95
Author: edc
Time: 4 December 2010, 6:30:36.511 am
UUID: b400402a-9bad-417d-80cc-9cb7b1cc6293
Ancestors: MorphicExtras-ul.94
This fix the error we have when:
You made Flaps makeNavigatorFlapResembleGoldenBar , so Navigator Flap shows in the World.
You hit the FIND button and hold .
Then you pick the second item
find a project (more places)
=============== Diff against MorphicExtras-ul.94 ===============
Item was changed:
----- Method: ProjectNavigationMorph>>findAProject (in category 'the actions') -----
findAProject
FileList2
+ morphicViewProjectLoader2InWorld: World
- morphicViewProjectLoader2InWorld: self world
reallyLoad: true
dirFilterType: #initialDirectoryList!
On 2010/12/04 20:06, commits(a)source.squeak.org wrote:
> A new version of Morphic was added to project The Inbox:
> http://source.squeak.org/inbox/Morphic-fbs.480.mcz
>
> ==================== Summary ====================
>
> Name: Morphic-fbs.480
> Author: fbs
> Time: 4 December 2010, 8:05:06.902 pm
> UUID: fe5ea275-0f48-a54d-9a7e-7fe7d90386c8
> Ancestors: Morphic-mha.479
>
> Attempting to open a telemorphic user when you have no network connection results in a dialog asking you to Retry a name lookup (as a network check) or Give Up. If you Give Up, your image will spew out a never-ending stream of debuggers. This change allows the user to see that she needs to make a network connection, but also allows her to abort the operation. See http://bugs.squeak.org/view.php?id=7578.
>
> =============== Diff against Morphic-mha.479 ===============
I should have added that this change depends on MorphicExtras-fbs.95.
frank
A new version of MorphicExtras was added to project The Inbox:
http://source.squeak.org/inbox/MorphicExtras-fbs.95.mcz
==================== Summary ====================
Name: MorphicExtras-fbs.95
Author: fbs
Time: 4 December 2010, 8:06:58.744 pm
UUID: 29fdd44c-e506-b349-955c-c02d8c371e4b
Ancestors: MorphicExtras-ul.94
Attempting to open a telemorphic user when you have no network connection results in a dialog asking you to Retry a name lookup (as a network check) or Give Up. If you Give Up, your image will spew out a never-ending stream of debuggers. This change allows the user to see that she needs to make a network connection, but also allows her to abort the operation. See http://bugs.squeak.org/view.php?id=7578.
=============== Diff against MorphicExtras-ul.94 ===============
Item was changed:
----- Method: RemoteHandMorph class>>ensureNetworkConnected (in category 'utilities') -----
ensureNetworkConnected
+ "Try to ensure that an intermittent network connection, such as a dialup or ISDN line, is actually connected. This is necessary to make sure a server is visible in order to accept an incoming connection. If the network connection does not work - the user has given up - return false. Otherwise, return true."
- "Try to ensure that an intermittent network connection, such as a dialup or ISDN line, is actually connected. This is necessary to make sure a server is visible in order to accept an incoming connection."
"RemoteHandMorph ensureNetworkConnected"
+ | address |
-
Utilities
+ informUser: 'Ensuring your network connection works...'
- informUser: 'Contacting domain name server...'
during: [
+ address := (NetNameResolver
- NetNameResolver
addressForName: 'squeak.org'
+ timeout: 30)].
+ ^ address notNil.!
- timeout: 30].
- !