-
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.
Merge pull request #7 from GsDevKit/master
v1.0.2
- Loading branch information
Showing
81 changed files
with
254 additions
and
80 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...ApplicationTools-ExampleV31.package/GemServerRemoteAbstractExample.class/instance/port.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 compat | ||
local server compat | ||
port | ||
^ self defaultPortOrResourceNameList first |
2 changes: 1 addition & 1 deletion
2
...licationTools-ExampleV31.package/GemServerRemoteAbstractExample.class/instance/restart.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
2 changes: 1 addition & 1 deletion
2
...pplicationTools-ExampleV31.package/GemServerRemoteAbstractExample.class/instance/start.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 compat | ||
local server compat | ||
start | ||
self interactiveStartServiceOn: 'instance' transactionMode: #'manualBegin' |
2 changes: 1 addition & 1 deletion
2
...ApplicationTools-ExampleV31.package/GemServerRemoteAbstractExample.class/instance/stop.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
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
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
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
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
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
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-ExampleV31.package/monticello.meta/version
Large diffs are not rendered by default.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...ry/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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
basicTransactionReentry: aBlock | ||
basicTransactionReentry value: aBlock |
5 changes: 5 additions & 0 deletions
5
...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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
accessing | ||
basicTransactionReentry | ||
basicTransactionReentry value | ||
ifNil: [ basicTransactionReentry value: self reentryAllowed ]. | ||
^ basicTransactionReentry value |
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
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/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 |
6 changes: 5 additions & 1 deletion
6
repository/GsApplicationTools-Server.package/GemServer.class/instance/logControlEvent..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,7 @@ | ||
private | ||
logControlEvent: label | ||
self doTransaction: [ (ObjectLogEntry info: label object: self) addToLog ] | ||
| eventBlock | | ||
eventBlock := [ (ObjectLogEntry info: label object: self) addToLog ]. | ||
System inTransaction | ||
ifTrue: [ eventBlock value ] | ||
ifFalse: [ self doTransaction: eventBlock ] |
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 |
3 changes: 3 additions & 0 deletions
3
repository/GsApplicationTools-Server.package/GemServer.class/instance/reentryAllowed.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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
private | ||
reentryAllowed | ||
^ [ :methodName | ] |
3 changes: 3 additions & 0 deletions
3
repository/GsApplicationTools-Server.package/GemServer.class/instance/reentryDisallowed.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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
private | ||
reentryDisallowed | ||
^ [ :methodName | self error: methodName , ' is not re-entrant' ] |
8 changes: 6 additions & 2 deletions
8
...tory/GsApplicationTools-Server.package/GemServer.class/instance/scriptLogEvent.object..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,8 +1,12 @@ | ||
private | ||
scriptLogEvent: label object: anObject | ||
"object log and transcript entries wanted" | ||
"object log" | ||
|
||
| eventBlock | | ||
Transcript | ||
cr; | ||
show: 'scriptLogEvent: ' , label printString. | ||
self doTransaction: [ (ObjectLogEntry info: label object: anObject) addToLog ] | ||
eventBlock := [ (ObjectLogEntry info: label object: anObject) addToLog ]. | ||
System inTransaction | ||
ifTrue: [ eventBlock value ] | ||
ifFalse: [ self doTransaction: eventBlock ] |
3 changes: 3 additions & 0 deletions
3
repository/GsApplicationTools-Server.package/GemServer.class/instance/start.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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
local server compat | ||
start | ||
self interactiveStartServiceOn: self portOrResourceNameList first |
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
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] |
Oops, something went wrong.