-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #29: use _setNoStubbing when the basicTransactionReentry code i…
…s being used on the stack
- Loading branch information
1 parent
b7ebac3
commit af2f8e7
Showing
26 changed files
with
29 additions
and
27 deletions.
There are no files selected for viewing
4 changes: 3 additions & 1 deletion
4
...ory/GsApplicationTools-Server.package/GemServer.class/instance/basicTransactionReentry.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
accessing | ||
basicTransactionReentry | ||
basicTransactionReentry value | ||
ifNil: [ basicTransactionReentry value: self reentryAllowed ]. | ||
ifNil: [ | ||
self _setNoStubbing. "as long as I am in memory prevent stubbing of my instance variables ... I will stay in memory as long as I am referenced from stack.." | ||
self basicTransactionReentry value: self reentryAllowed ]. | ||
^ basicTransactionReentry value |
2 changes: 1 addition & 1 deletion
2
repository/GsApplicationTools-Server.package/GemServer.class/instance/isRunning.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
server specialization | ||
isRunning | ||
^self serverClass isRunning | ||
^self serverClass isRunning |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ accessing | |
name | ||
|
||
name == nil ifTrue: [ ^self serverClass name ]. | ||
^name | ||
^name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
repository/GsApplicationTools-Server.package/GemServerLauncher.class/instance/block..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
block: anObject | ||
|
||
block := anObject | ||
block := anObject |
2 changes: 1 addition & 1 deletion
2
...tory/GsApplicationTools-Server.package/GemServerLauncher.class/instance/nativeProcess..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
nativeProcess: anObject | ||
|
||
nativeProcess := anObject | ||
nativeProcess := anObject |
2 changes: 1 addition & 1 deletion
2
...itory/GsApplicationTools-Server.package/GemServerLauncher.class/instance/nativeProcess.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
nativeProcess | ||
|
||
^nativeProcess | ||
^nativeProcess |
2 changes: 1 addition & 1 deletion
2
...ry/GsApplicationTools-Server.package/GemServerLauncher.class/instance/nativeSemaphore..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
nativeSemaphore: anObject | ||
|
||
nativeSemaphore := anObject | ||
nativeSemaphore := anObject |
2 changes: 1 addition & 1 deletion
2
...ry/GsApplicationTools-Server.package/GemServerLauncher.class/instance/portableProcess..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
portableProcess: anObject | ||
|
||
portableProcess := anObject | ||
portableProcess := anObject |
2 changes: 1 addition & 1 deletion
2
...ory/GsApplicationTools-Server.package/GemServerLauncher.class/instance/portableProcess.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
portableProcess | ||
|
||
^portableProcess | ||
^portableProcess |
2 changes: 1 addition & 1 deletion
2
.../GsApplicationTools-Server.package/GemServerLauncher.class/instance/portableSemaphore..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
portableSemaphore: anObject | ||
|
||
portableSemaphore := anObject | ||
portableSemaphore := anObject |
2 changes: 1 addition & 1 deletion
2
...sitory/GsApplicationTools-Server.package/GemServerRegistry.class/class/gemServerNamed..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
gem server querying | ||
gemServerNamed: aString | ||
^self singleton serverNamed: aString | ||
^self singleton serverNamed: aString |
2 changes: 1 addition & 1 deletion
2
repository/GsApplicationTools-Server.package/GemServerRegistry.class/class/gemServerNames.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
gem server querying | ||
gemServerNames | ||
^self singleton names asSortedCollection | ||
^self singleton names asSortedCollection |
2 changes: 1 addition & 1 deletion
2
repository/GsApplicationTools-Server.package/GemServerRegistry.class/class/new.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
instance creation | ||
new | ||
^self singleton | ||
^self singleton |
2 changes: 1 addition & 1 deletion
2
.../GsApplicationTools-Server.package/GemServerRegistry.class/class/removeGemServerNamed..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
registration | ||
removeGemServerNamed: aName | ||
self singleton removeServer: aName | ||
. | ||
. |
2 changes: 1 addition & 1 deletion
2
repository/GsApplicationTools-Server.package/GemServerRegistry.class/class/serverGems.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
gem server querying | ||
serverGems | ||
^self singleton servers | ||
^self singleton servers |
2 changes: 1 addition & 1 deletion
2
repository/GsApplicationTools-Server.package/GemServerRegistry.class/class/serversOnPort..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
gem server querying | ||
serversOnPort: aPortNumber | ||
^self singleton serversOnPort: aPortNumber | ||
^self singleton serversOnPort: aPortNumber |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ accessing | |
singleton | ||
|
||
Singleton isNil ifTrue: [self initSingleton]. | ||
^Singleton | ||
^Singleton |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
repository/GsApplicationTools-Server.package/GemServerRegistry.class/instance/names.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
other | ||
names | ||
|
||
^self servers collect:[:each | each name]. | ||
^self servers collect:[:each | each name]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...itory/GsApplicationTools-Server.package/GemServerRegistry.class/instance/serverClasses.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
other | ||
serverClasses | ||
|
||
^self servers collect:[:each | each serverClass]. | ||
^self servers collect:[:each | each serverClass]. |
2 changes: 1 addition & 1 deletion
2
...sitory/GsApplicationTools-Server.package/GemServerRegistry.class/instance/serverNamed..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
other | ||
serverNamed: aString | ||
^self servers detect:[:each | each name = aString] ifNone:[nil] | ||
^self servers detect:[:each | each name = aString] ifNone:[nil] |
2 changes: 1 addition & 1 deletion
2
repository/GsApplicationTools-Server.package/GemServerRegistry.class/instance/servers.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
other | ||
servers | ||
^servers | ||
^servers |
2 changes: 1 addition & 1 deletion
2
...ory/GsApplicationTools-Server.package/GemServerRegistry.class/instance/serversOfClass..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
other | ||
serversOfClass: aClassName | ||
^servers select: [:each | each serverClass name = aClassName] | ||
^servers select: [:each | each serverClass name = aClassName] |
2 changes: 1 addition & 1 deletion
2
repository/GsApplicationTools-Server.package/monticello.meta/version
Large diffs are not rendered by default.
Oops, something went wrong.