Compare commits

..

1 commit

Author SHA1 Message Date
GNUstep Maintainer
600d5f385e This commit was manufactured by cvs2svn to create tag
'StepTalk-0_8_2'.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/tags/StepTalk-0_8_2@19647 72102866-910b-0410-8b05-ffd578937521
2004-06-28 19:36:33 +00:00
250 changed files with 6158 additions and 12506 deletions

View file

@ -10,4 +10,3 @@ New
Old
Extensions
.snap-ignore
.stlanguage

View file

@ -1,63 +1,3 @@
2013-05-26 Wolfgang Lux <wolfgang.lux@gmail.com>>
* Source/STScriptsPanel.m:
int->NSInteger transition
2013-04-03 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/STApplicationScriptingController.m (-scriptingMenu): Hide the
scripting menu after it has been loaded from its bundle.
2013-03-23 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/STApplicationScriptingController.m (-init):
* Source/STScriptsPanel.m (-init):
* Source/STTranscript.m (-init):
Check the result of the super class initializer and assign it to
self.
* Source/STScriptsPanel.m (-dealloc): Fix a space leak.
2012-02-07 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/STTranscript.m (-showError:): Fix space leak detected by clang.
2012-01-15 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/STScriptsPanel.m (-selectScript:): Validate Run button of the
scripts panel.
2012-01-15 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/STApplicationScriptingController.m (-scriptingMenu): Protect
against GNUstep stubbornly replacing the application's main menu.
* Source/STScriptsPanel.m (-selectScript:): Handle case where the
script's description is nil.
2012-01-15 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/STTranscript.h (-window):
* Source/NSApplication+additions.h (-applicationNameForScripting):
Declare public methods.
* Source/NSApplication+additions.m (-applicationNameForScripting):
Fix typo in method name.
* Source/NSApplication+additions.m (-_createDefaultScriptingEnvironment):
Fix to no longer use methods which were removed when adding STConversation.
* Source/STApplicationScriptingController.m (-executeScript:,
-executeScriptString:inEnvironment:): Update for changes when
STLanguage was removed and STContext was introduced.
* Source/STApplicationScriptingController.h (-executeScript:):
* Source/STApplicationScriptingController.m (-executeScript:): The
method expects an STFileScript.
* Source/STScriptsPanel.h (-selectedScript):
* Source/STScriptsPanel.m (-run, -selectScript, -browse, -selectedScript):
Method seletecedScript returns a STFileScript.
2003 May 2 Stefan Urbanek <urbanek@host.sk>
* Added 'Objects' searching in application.

View file

@ -39,6 +39,4 @@
- (NSMenu *)scriptingMenu;
- (void)setScriptingMenu:(NSMenu *)menu;
- (NSString *)applicationNameForScripting;
@end

View file

@ -31,7 +31,6 @@
#import "STEnvironment+additions.h"
#import <StepTalk/STBundleInfo.h>
#import <StepTalk/STEnvironmentDescription.h>
#import <Foundation/NSBundle.h>
#import <Foundation/NSDebug.h>
@ -96,7 +95,6 @@ static STApplicationScriptingController *scriptingController = nil;
/** Create shared scripting environment. */
- (void)_createDefaultScriptingEnvironment
{
STEnvironmentDescription *desc;
STEnvironment *env = nil;
STBundleInfo *info;
//NSString *path;
@ -129,19 +127,18 @@ static STApplicationScriptingController *scriptingController = nil;
if(str && ![str isEqualToString:@""])
{
desc = [STEnvironmentDescription descriptionWithName:str];
env = [STEnvironment environmentWithDescription:desc];
env = [STEnvironment environmentWithDescriptionName:str];
}
if(!env)
{
NSDebugLog(@"Using default scripting environment");
env = [STEnvironment environmentWithDefaultDescription];
env = [STEnvironment defaultScriptingEnvironment];
}
[env loadModule:@"AppKit"];
[env includeBundle:[NSBundle mainBundle]];
[env setObject:self forName:@"Application"];
[env setObject:self forName:[self applicationNameForScripting]];
[env setObject:self forName:[self applcationNameForScripting]];
[env setObject:[STTranscript sharedTranscript] forName:@"Transcript"];
scriptingEnvironment = RETAIN(env);
@ -196,7 +193,7 @@ static STApplicationScriptingController *scriptingController = nil;
}
/** Name of application object */
- (NSString *)applicationNameForScripting
- (NSString *)applcationNameForScripting
{
return [[NSProcessInfo processInfo] processName];
}

View file

@ -27,7 +27,7 @@
#import <Foundation/NSObject.h>
@class STScriptsPanel;
@class STFileScript;
@class STScript;
@class STEnvironment;
@class NSMenu;
@class NSDictionary;
@ -45,7 +45,7 @@
- (void)orderFrontScriptsPanel:(id)sender;
- (void)orderFrontTranscriptWindow:(id)sender;
- (id)executeScript:(STFileScript *)script;
- (id)executeScript:(STScript *)script;
- (id)executeScriptString:(NSString *)source
inEnvironment:(STEnvironment *)env;
@end

View file

@ -36,8 +36,8 @@
#import <StepTalk/STBundleInfo.h>
#import <StepTalk/STEngine.h>
#import <StepTalk/STEnvironment.h>
#import <StepTalk/STLanguageManager.h>
#import <StepTalk/STFileScript.h>
#import <StepTalk/STLanguage.h>
#import <StepTalk/STScript.h>
#import "STScriptsPanel.h"
#import "STTranscript.h"
@ -47,13 +47,13 @@
@implementation STApplicationScriptingController
- init
{
if ((self = [super init]) != nil)
{
STBundleInfo *info;
STBundleInfo *info;
[super init];
info = [STBundleInfo infoForBundle:[NSBundle mainBundle]];
objectRefereceDict = RETAIN([info objectReferenceDictionary]);
}
info = [STBundleInfo infoForBundle:[NSBundle mainBundle]];
objectRefereceDict = RETAIN([info objectReferenceDictionary]);
return self;
}
- (void)dealloc
@ -111,72 +111,17 @@
{
if(!scriptingMenu)
{
// FIXME ScriptingMenu replaces the application's main menu when it is
// loaded, since GNUstep stubbornly considers the first top level menu
// in a gorm file to be the application's main menu.
NSMenu *mainMenu = RETAIN([NSApp mainMenu]);
NS_DURING
if(![self loadMyNibNamed:@"ScriptingMenu"])
{
if(![self loadMyNibNamed:@"ScriptingMenu"])
{
[NSApp setMainMenu:mainMenu];
RELEASE(mainMenu);
return nil;
}
return nil;
}
NS_HANDLER
{
[NSApp setMainMenu:mainMenu];
RELEASE(mainMenu);
[localException raise];
}
NS_ENDHANDLER
[NSApp setMainMenu:mainMenu];
RELEASE(mainMenu);
[scriptingMenu close];
}
return scriptingMenu;
}
/* FIXME: rewrite this */
- (void)updateObjectReferences
{
STEnvironment *env = [self actualScriptingEnvironment];
NSEnumerator *enumerator;
NSString *name;
NSString *object = nil;
NSString *reference;
id target;
target = [NSApp delegate];
enumerator = [objectRefereceDict keyEnumerator];
while( (name = [enumerator nextObject]) )
{
reference = [objectRefereceDict objectForKey:name];
NSLog(@"Adding reference '%@' object '%@'", name, reference);
NS_DURING
object = [target valueForKeyPath:reference];
[env setObject:object forName:name];
NS_HANDLER
if([[localException name] isEqualToString:NSUndefinedKeyException])
{
NSLog(@"Warning: Invalid object reference '%@'.", reference);
}
else
{
[localException raise];
}
NS_ENDHANDLER
}
}
/** Execute script <var>script</var> in actual scripting environment. If an
exception occured, it will be logged into the Transcript window. */
- (id)executeScript:(STFileScript *)script
- (id)executeScript:(STScript *)script
{
STEnvironment *env = [self actualScriptingEnvironment];
STEngine *engine;
@ -185,7 +130,7 @@
NSDebugLog(@"Execute a script '%@'", [script localizedName]);
engine = [STEngine engineForLanguage:[script language]];
engine = [STEngine engineForLanguageWithName:[script language]];
if(!engine)
{
@ -207,7 +152,7 @@
#ifndef DEBUG_EXCEPTIONS
NS_DURING
#endif
retval = [engine interpretScript:[script source] inContext:env];
retval = [engine executeCode:[script source] inEnvironment:env];
#ifndef DEBUG_EXCEPTIONS
NS_HANDLER
@ -236,8 +181,8 @@
NSString *error;
id retval = nil;
engine = [STEngine engineForLanguage:
[[STLanguageManager defaultManager] defaultLanguage]];
engine = [STEngine engineForLanguageWithName:
[STLanguage defaultLanguageName]];
if(!engine)
{
NSLog(@"Unable to get scripting engine.");
@ -254,7 +199,7 @@
[self updateObjectReferences];
NS_DURING
retval = [engine interpretScript:source inContext:env];
retval = [engine executeCode:source inEnvironment:env];
NS_HANDLER
error = [NSString stringWithFormat:
@"Error: "
@ -271,4 +216,39 @@
return retval;
}
/* FIXME: rewrite this */
- (void)updateObjectReferences
{
STEnvironment *env = [self actualScriptingEnvironment];
NSEnumerator *enumerator;
NSString *name;
NSString *object = nil;
NSString *reference;
id target;
target = [NSApp delegate];
enumerator = [objectRefereceDict keyEnumerator];
while( (name = [enumerator nextObject]) )
{
reference = [objectRefereceDict objectForKey:name];
NSLog(@"Adding reference '%@' object '%@'", name, reference);
NS_DURING
object = [target valueForKeyPath:reference];
[env setObject:object forName:name];
NS_HANDLER
if([[localException name] isEqualToString:NSUnknownKeyException])
{
NSLog(@"Warning: Invalid object reference '%@'.", reference);
}
else
{
[localException raise];
}
NS_ENDHANDLER
}
}
@end

View file

@ -27,7 +27,7 @@
#import <AppKit/NSPanel.h>
@class STScriptsManager;
@class STFileScript;
@class STScript;
@class NSPopUpButton;
@interface STScriptsPanel : NSPanel
@ -49,7 +49,7 @@
- (void) browse: (id)sender;
- (void) showHelp: (id)sender;
- (STFileScript *) selectedScript;
- (STScript *) selectedScript;
- (void) setDelegate: (id)anObject;
- (id) delegate;

View file

@ -26,7 +26,7 @@
#import "STScriptsPanel.h"
#import <StepTalk/STFileScript.h>
#import <StepTalk/STScript.h>
#import <StepTalk/STScriptsManager.h>
#import <AppKit/NSApplication.h>
@ -35,7 +35,6 @@
#import <AppKit/NSMatrix.h>
#import <AppKit/NSPopUpButton.h>
#import <AppKit/NSWorkspace.h>
#import <AppKit/NSGraphics.h>
#import "NSObject+NibLoading.h"
#import "STApplicationScriptingController.h"
@ -55,58 +54,47 @@ STScriptsPanel *sharedScriptsPanel = nil;
- init
{
if ((self = [super initWithContentRect:NSZeroRect
styleMask:NSTitledWindowMask
| NSClosableWindowMask
| NSResizableWindowMask
backing:NSBackingStoreRetained
defer:NO]) != nil)
NSView *view;
if(![self loadMyNibNamed:@"ScriptsPanel"])
{
NSView *view;
NSRect frame;
if (![self loadMyNibNamed:@"ScriptsPanel"])
{
[self release];
return nil;
}
frame = [[(NSPanel *)_panel contentView] frame];
frame = [NSWindow frameRectForContentRect: frame
styleMask: [self styleMask]];
[self setFrame: frame display: NO];
[self setTitle:[_panel title]];
[self setFrame:[_panel frame] display:YES];
[self setHidesOnDeactivate:YES];
view = RETAIN([_panel contentView]);
[_panel setContentView:nil];
[self setContentView:view];
RELEASE(view);
RELEASE(_panel);
[self setFrameUsingName:@"STScriptsPanel"];
[self setFrameAutosaveName:@"STScriptsPanel"];
[scriptList setTarget:self];
[scriptList setAction:@selector(selectScript:)];
[scriptList setDoubleAction:@selector(run:)];
[scriptList setMaxVisibleColumns:1];
scriptsManager = RETAIN([STScriptsManager defaultManager]);
[self update:nil];
[self dealloc];
return nil;
}
self = [super initWithContentRect:[[(NSPanel *)_panel contentView] frame]
styleMask:NSTitledWindowMask
| NSClosableWindowMask
| NSResizableWindowMask
backing:NSBackingStoreRetained
defer:NO];
[self setTitle:[_panel title]];
[self setFrame:[_panel frame] display:YES];
[self setHidesOnDeactivate:YES];
view = RETAIN([_panel contentView]);
[_panel setContentView:nil];
[self setContentView:view];
RELEASE(view);
RELEASE(_panel);
[self setFrameUsingName:@"STScriptsPanel"];
[self setFrameAutosaveName:@"STScriptsPanel"];
[scriptList setTarget:self];
[scriptList setAction:@selector(selectScript:)];
[scriptList setDoubleAction:@selector(run:)];
[scriptList setMaxVisibleColumns:1];
scriptsManager = [STScriptsManager defaultManager];
[self update:nil];
return self;
}
- (void)dealloc
{
RELEASE(scripts);
RELEASE(scriptsManager);
[super dealloc];
}
- (void)setDelegate:(id)anObject
- (void) setDelegate:(id)anObject
{
ASSIGN(delegate, anObject);
}
@ -124,7 +112,7 @@ STScriptsPanel *sharedScriptsPanel = nil;
}
- (void) run: (id)sender
{
STFileScript *script = [self selectedScript];
STScript *script = [self selectedScript];
if(script)
{
@ -134,13 +122,9 @@ STScriptsPanel *sharedScriptsPanel = nil;
- (void) selectScript: (id)sender
{
STFileScript *script = [self selectedScript];
NSString *description = [script scriptDescription];
STScript *script = [self selectedScript];
if (!description)
description = @"";
[descriptionText setString:description];
[runButton setEnabled:script ? YES : NO];
[descriptionText setString:[script scriptDescription]];
}
- (void)command:(id)sender
@ -154,9 +138,9 @@ STScriptsPanel *sharedScriptsPanel = nil;
}
- (void)browse:(id)sender
{
NSWorkspace *ws = [NSWorkspace sharedWorkspace];
STFileScript *script = [self selectedScript];
NSString *path = [[script fileName] stringByDeletingLastPathComponent];
NSWorkspace *ws = [NSWorkspace sharedWorkspace];
STScript *script = [self selectedScript];
NSString *path = [[script fileName] stringByDeletingLastPathComponent];
if(script)
{
@ -176,7 +160,7 @@ STScriptsPanel *sharedScriptsPanel = nil;
[self selectScript:nil];
}
- (STFileScript *)selectedScript
- (STScript *)selectedScript
{
if([scriptList selectedCell])
{
@ -188,15 +172,15 @@ STScriptsPanel *sharedScriptsPanel = nil;
}
}
- (NSInteger) browser: (NSBrowser *) sender
numberOfRowsInColumn: (NSInteger) column
- (int) browser: (NSBrowser *) sender
numberOfRowsInColumn: (int) column
{
return [scripts count];
}
- (void) browser: (NSBrowser *) sender
willDisplayCell: (NSBrowserCell *) cell
atRow: (NSInteger) row
column: (NSInteger) column
atRow: (int) row
column: (int) column
{
NSString *name;
if(sender != scriptList)

View file

@ -38,5 +38,4 @@
- show:(id)anObject;
- showLine:(id)anObject;
- showError:(NSString *)errorText;
- (NSWindow *)window;
@end

View file

@ -26,6 +26,8 @@
#import "STTranscript.h"
#import <StepTalk/STLanguage.h>
#import <AppKit/NSAttributedString.h>
#import <AppKit/NSColor.h>
#import <AppKit/NSTextView.h>
@ -75,21 +77,19 @@ static NSDictionary *normalTextAttributes;
- init
{
if ((self = [super init]) != nil)
if(![self loadMyNibNamed:@"TranscriptWindow"])
{
if (![self loadMyNibNamed:@"TranscriptWindow"])
{
[self release];
return nil;
}
[window setTitle:@"Scripting Transcript"];
[window setFrameUsingName:@"STTranscriptWindow"];
[window setFrameAutosaveName:@"STTranscriptWindow"];
/* FIXME: Fix Gorm autoresizing */
// [textView setAutoresizingMask: NSViewHeightSizable | NSViewWidthSizable];
[self dealloc];
return nil;
}
[window setTitle:@"Scripting Transcript"];
[window setFrameUsingName:@"STTranscriptWindow"];
[window setFrameAutosaveName:@"STTranscriptWindow"];
/* FIXME: Fix Gorm autoresizing */
// [textView setAutoresizingMask: NSViewHeightSizable | NSViewWidthSizable];
return self;
}
@ -136,8 +136,6 @@ static NSDictionary *normalTextAttributes;
attributes:errorTextAttributes];
[textView insertText:astring];
RELEASE(astring);
astring = [[NSAttributedString alloc] initWithString:@"\n"
attributes:normalTextAttributes];
[textView insertText:astring];

View file

@ -31,7 +31,6 @@
#import <AppKit/NSApplication.h>
#import <AppKit/NSOpenPanel.h>
#import <AppKit/NSDocumentController.h>
#import "ScriptPaper.h"
#import "ScriptPaperController.h"
@ -42,7 +41,7 @@
@implementation AppController
- init
{
self = [super init];
[super init];
return self;

View file

@ -1,28 +1,8 @@
2013-03-23 Wolfgang Lux <wolfgang.lux@gmail.com>
* AppController.m (-init):
* ScriptPaper.m (-init):
Check the result of the super class initializer and assign it to
self.
* ScriptPaper.m (-dealloc): Release environment attribute to fix space
leak.
* ScriptPaper.h (-doSelection:, -doAndShowSelection:): Move method
declarations from here ...
* ScriptPaperController.h (-doSelection:, -doAndShowSelection:):
... to here.
* ScriptPaper.m (-init, -executeScriptString:): Update to use current
framework classes and methods.
* ScriptPaperController.m (-doAndShowSelection:): Remove unused
variable.
2003 May 11 Stefan Urbanek <urbanek@host.sk>
* Added -Wno-import
* Added TODO
2003 May 4 Stefan Urbanek <urbanek@host.sk>
* Added application icon
@ -30,4 +10,4 @@
2003 May 4 Stefan Urbanek <urbanek@host.sk>
* ChangeLog started

View file

@ -23,7 +23,6 @@
#import "NSObject+NibLoading.h"
#import <Foundation/NSDictionary.h>
#import <AppKit/NSPanel.h>
@implementation NSObject(NibLoading)

View file

@ -30,5 +30,6 @@
{
STEnvironment *environment;
}
- (id)executeScriptString:(NSString *)source;
- (IBAction)doSelection:(id)sender;
- (IBAction)doAndShowSelection:(id)sender;
@end

View file

@ -30,22 +30,21 @@
#import <StepTalk/STEnvironment.h>
#import <StepTalk/STEngine.h>
#import <StepTalk/STLanguageManager.h>
#import <StepTalk/STLanguage.h>
#import "ScriptPaperController.h"
@implementation ScriptPaper
- init
{
if ((self = [super init]) != nil)
{
environment = [[STEnvironment alloc] initWithDefaultDescription];
}
[super init];
environment = [[STEnvironment alloc] initDefault];
return self;
}
- (void)dealloc
{
RELEASE(environment);
[super dealloc];
}
@ -64,8 +63,8 @@
NSString *error;
id retval = nil;
engine = [STEngine engineForLanguage:
[[STLanguageManager defaultManager] defaultLanguage]];
engine = [STEngine engineForLanguageWithName:
[STLanguage defaultLanguageName]];
if(!engine)
{
NSLog(@"Unable to get scripting engine.");
@ -79,7 +78,7 @@
}
NS_DURING
retval = [engine interpretScript:source inContext:environment];
retval = [engine executeCode:source inEnvironment:environment];
NS_HANDLER
error = [NSString stringWithFormat:
@"Error: "

View file

@ -34,7 +34,5 @@
{
NSTextView *sourceView;
}
- (IBAction)doSelection:(id)sender;
- (IBAction)doAndShowSelection:(id)sender;
@end

View file

@ -66,13 +66,14 @@
NSString *selectedString = [sourceView selectedString];
NSRange range;
id string;
int length;
id retval = nil;
NSLog(@"Do and Show!");
retval = [[self document] executeScriptString:selectedString];
if (!retval)
if(!retval)
{
retval = @"(nil)";
}
@ -82,7 +83,7 @@
[sourceView setSelectedRange:range];
if ([retval isKindOfClass:[NSString class]]
if([retval isKindOfClass:[NSString class]]
|| [retval isKindOfClass:[NSAttributedString class]])
{
string = retval;

463
ChangeLog
View file

@ -1,466 +1,3 @@
2020-06-29 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/GNUmakefile: Specify dependent libraries
while linking regardless of the target OS.
2018-03-20 Graham Lee <graham@iamleeg.com>
* Documentation/HowTo.txt: Document methods that still exist.
* Frameworks/StepTalk/STEngine.m (engineForLanguageWithName:):
* Languages/Smalltalk/SmalltalkEngine.m (multiple methods):
Correct spelling of 'deprecated' in log messages.
2018-02-18 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/STObjCRuntime.m (selector_types): Fix for
generation of selector types on 64-bit architectures.
2017-12-27 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/STEnvironmentDescription.m
(defaultDescriptionName): Remove redundant method call.
* Frameworks/StepTalk/STBundleInfo.m (allFrameworkNames,
pathForFrameworkWithName:):
* Tools/STExecutor.m (executeScript:withArguments:): Use NULL
instead of NO where a pointer argument is expected.
* Frameworks/StepTalk/STConversation.m (knownLanguages,
interpretScript:):
* Frameworks/StepTalk/STRemoteConversation.m (interpretScript:):
* Frameworks/StepTalk/STUndefinedObject.m (release):
Fix inconsistent distributed object modifiers reported by clang.
2015-10-23 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/STObjCRuntime.m (selector_types): Fix broken
array initialization, which meant that incorrect method signatures
were generated for methods with more than four arguments.
2014-11-02 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/STRemoteConversation.m
(-initWithEnvironmentName:host:language:, -open,
-setLanguage:, -language): Correctly initialize the scripting
language used in a remote conversation.
2014-11-02 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/STRemoteConversation.m (-open): Force use of
a socket port name server to look up servers on other hosts.
2014-11-02 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/STRemoteConversation.m (-connectionDidDie:):
Fix leak of the proxy and environmentProcess attributes when a
connection died.
2014-11-01 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/NSObject+additions.h (-notEqual:, -notSame:):
* Frameworks/StepTalk/NSObject+additions.m (-notEqual:, -notSame:):
Add method implementations for the symbolic selectors ~= and ~~,
which are defined in the SymbolicSelectors.stenv environment.
2014-11-01 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/STClassInfo.m (-dealloc): Release superclass
and superclassName attributes.
* Frameworks/StepTalk/STEnvironment.m (-initWithDescription:):
Remove duplicated RETAIN statement.
2013-05-27 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/NSInvocation+additions.m
(STGetValueOfTypeFromObject): Fix marshaling for arguments with
type (char*).
* Frameworks/StepTalk/NSInvocation+additions.m
(STObjectFromValueOfType, STGetValueOfTypeFromObject): Skip const
qualifiers in types.
2013-05-26 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/STActor.m (-instanceVariables): Fix typo in
method name.
* Frameworks/StepTalk/STActor.m (-addInstanceVariable:):
* Frameworks/StepTalk/STActor.m (-removeInstanceVariable:):
New methods to add and remove instance variables.
* Frameworks/StepTalk/STActor.h (-instanceVariableNames):
* Frameworks/StepTalk/STActor.h (-setInstanceVariables:):
* Frameworks/StepTalk/STActor.h (-instanceVariables):
* Frameworks/StepTalk/STActor.h (-addInstanceVariable:):
* Frameworks/StepTalk/STActor.h (-removeInstanceVariable:):
Add methods to the public API.
2013-05-26 Wolfgang Lux <wolfgang.lux@gmail.com>
* Tools/STExecutor.h:
* Examples/Shell/STShell+output.m:
* Examples/Shell/stshell_tool.m:
int->NSInteger transition
2013-05-26 Wolfgang Lux <wolfgang.lux@gmail.com>
* Modules/AppKit/AppKitConstants.list:
* Modules/AppKit/AppKitConstants.m:
* Modules/AppKit/AppKitEvents.list:
* Modules/AppKit/AppKitEvents.m:
* Modules/AppKit/AppKitExceptions.m:
* Modules/AppKit/AppKitNotifications.m:
* Modules/AppKit/header.m:
* Modules/Foundation/FoundationConstants.list:
* Modules/Foundation/FoundationConstants.m:
* Modules/Foundation/header.m:
* Modules/GDL2/header.m:
* Modules/SQLClient/SQLClientConstants.m:
* Modules/SQLClient/header.m:
* Modules/WebServices/WebServicesConstants.m:
* Modules/WebServices/header.m:
int->NSInteger transition
2013-05-26 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/NSInvocation+additions.h:
* Frameworks/StepTalk/NSInvocation+additions.m:
* Frameworks/StepTalk/NSNumber+additions.h:
* Frameworks/StepTalk/NSNumber+additions.m:
* Frameworks/StepTalk/STActor.m:
* Frameworks/StepTalk/STEnvironmentDescription.h:
* Frameworks/StepTalk/STEnvironmentDescription.m:
* Frameworks/StepTalk/STLanguageManager.m:
* Frameworks/StepTalk/STObjCRuntime.m:
* Frameworks/StepTalk/STScriptObject.m:
* Frameworks/StepTalk/STStructure.h:
* Frameworks/StepTalk/STStructure.m:
int->NSInteger transition
2013-04-06 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/STActor.m (-setValue:forKey:): Fix bug where
instance variables of an actor got lost when set to nil.
2013-04-04 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/NSObject+additions.h (-yourself):
* Frameworks/StepTalk/NSObject+additions.m (-yourself): Add
standard Smalltalk method, which is convenient in cascades.
2013-03-23 Wolfgang Lux <wolfgang.lux@gmail.com>
* Tools/STEnvironmentProcess.m (-initWithDescriptionName:):
Check the result of the super class initializer and assign it to
self.
2013-03-23 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/STActor.m (-init, -initWithEnvironment:,
-initWithCoder:):
* Frameworks/StepTalk/STBehaviourInfo.m (-initWithName:):
* Frameworks/StepTalk/STClassInfo.m (-initWithName:):
* Frameworks/StepTalk/STContext.m (-init):
* Frameworks/StepTalk/STConversation.m (-initWithContext:language:):
* Frameworks/StepTalk/STDistantConversation.m
(-initWithEnvironment:language:):
* Frameworks/StepTalk/STDistantEnvironment.m (-initWithName:host:):
* Frameworks/StepTalk/STEnvironment.m (-initWithDescription:):
* Frameworks/StepTalk/STFileScript.m (-initWithFile:):
* Frameworks/StepTalk/STLanguageManager.m (-init):
* Frameworks/StepTalk/STObjectReference.m (-initWithIdentifier:target:):
* Frameworks/StepTalk/STRemoteConversation.m
(-initWithEnvironmentName:host:language:):
* Frameworks/StepTalk/STScript.m (-initWithSource:language:):
* Frameworks/StepTalk/STScriptObject.m (-init, -initWithCoder:):
* Frameworks/StepTalk/STScriptsManager.m (-initWithDomainName:):
* Frameworks/StepTalk/STSelector.m (-initWithName:,
-initWithSelector:, -initWithCoder:):
* Frameworks/StepTalk/STStructure.m (-initWithValue:type:):
Check the result of the super class initializer and assign it to
self.
2013-02-08 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/Environments/StepTalk.stenv:
Define standard Smalltalk methods for invoking blocks with arguments.
2012-11-03 Wolfgang Lux <wolfgang.lux@gmail.com>
* Examples/Developer/StepUnit.st: Fix typo in method name and stop
using deprecated methods.
2012-11-03 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/STConversation.h
(-conversationWithContext:language:):
* Frameworks/StepTalk/STConversation.m
(-conversationWithContext:language:):
Implement method which is advertised as replacement for the
deprecated method -conversationWithEnvironment:language:.
* Frameworks/StepTalk/STConversation.m (-runScriptFromString:,
-conversationWithEnvironment:language:, -initWithEnvironment:language:,
-environment):
* Frameworks/StepTalk/STEnvironmentDescription.m
(defaultEnvironmentDescriptionName):
Fix typos and spacing in warning messages.
2012-10-26 Wolfgang Lux <wolfgang.lux@gmail.com>
* Modules/GNUmakefile:
* Modules/WebServices/Functions.h:
* Modules/WebServices/Functions.m:
* Modules/WebServices/GNUmakefile:
* Modules/WebServices/STWebServicesModule.h:
* Modules/WebServices/STWebServicesModule.m:
* Modules/WebServices/ScriptingInfo.plist:
* Modules/WebServices/WebServicesConstants.list:
* Modules/WebServices/WebServicesConstants.m:
* Modules/WebServices/create_constants.awk:
* Modules/WebServices/footer.m:
* Modules/WebServices/header.m:
Add WebServices bundle. Must be requested explicitly by adding
webservices=yes to the make command line.
2012-10-26 Wolfgang Lux <wolfgang.lux@gmail.com>
* Modules/GNUmakefile:
* Modules/SQLClient/Functions.h:
* Modules/SQLClient/Functions.m:
* Modules/SQLClient/GNUmakefile:
* Modules/SQLClient/SQLClient+additions.m:
* Modules/SQLClient/SQLClientConstants.list:
* Modules/SQLClient/SQLClientConstants.m:
* Modules/SQLClient/STSQLClientModule.h:
* Modules/SQLClient/STSQLClientModule.m:
* Modules/SQLClient/ScriptingInfo.plist:
* Modules/SQLClient/create_constants.awk:
* Modules/SQLClient/footer.m:
* Modules/SQLClient/header.m:
Add SQLClient bundle. Must be requested explicitly by adding
sqlclient=yes to the make command line.
2012-10-26 Wolfgang Lux <wolfgang.lux@gmail.com>
* Modules/AppKit/GNUmakefile:
* Modules/Foundation/GNUmakefile:
* Modules/GDL2/GNUmakefile:
* Modules/ObjectiveC/GNUmakefile:
* Modules/SimpleTranscript/GNUmakefile:
Fix Makefile variables (bundle.make uses BUNDLE_LIBS, not
ADDITIONAL_BUNDLE_LIBS).
2012-02-07 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/STBundleInfo.m (-_bundleDidLoad:): Add
missing argument in NSLog call detected by clang.
2012-02-07 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/STEnvironment.m (-registerObjectFinderNamed:):
* Frameworks/StepTalk/STEnvironmentDescription.m
(-updateFromDictionary:, -updateBehavioursFromDictionary:,
-updateClassWithName:description:):
* Frameworks/StepTalk/STFileScript.m (-source):
* Frameworks/StepTalk/STObjCRuntime.m (STAllObjectiveCSelectors):
* Tools/STExecutor.m (-executeScript:withArguments:):
* Tools/stalk.m (-createConversation, main):
* Tools/stenvironment.m (main): Fix potential space leaks detected
by clang.
* Frameworks/StepTalk/STBundleInfo.m (+stepTalkBundleNames): Fix
double release detected by clang.
2012-01-15 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/STStructure.h:
* Frameworks/StepTalk/STStructure.m (+structureWithOrigin:size:,
extent:, corner:): New methods to construct rectangles from points
and sizes.
* TODO: Update.
2012-01-15 Wolfgang Lux <wolfgang.lux@gmail.com>
* Modules/AppKit/AppKitConstants.list: Remove obsolete NSDataLink
constants.
* Modules/AppKit/AppKitConstants.m: Regenerated.
2012-01-15 Wolfgang Lux <wolfgang.lux@gmail.com>
* Documentation/ApplicationScripting.txt: Fix errors.
2012-01-15 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/STEngine.h (-methodFromSource:...):
* Frameworks/StepTalk/STEngine.m (-methodFromSource:...):
STMethod is a protocol not a class.
2012-01-15 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/STObjCRuntime.m (STSelectorTypes,
STSelectorFromString, STCreateTypedSelector,
STConstructMethodSignatureForSelector): Add special case to
register selectors of (Smalltalk) binary operators with one
argument instead of zero.
2012-01-15 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/STObjCRuntime.m (STSelectorFromString):
Always register typed selectors, since forwarding to untyped
selectors stopped working a while back in GNUstep.
2012-01-15 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/NSInvocation+additions.m:
* Frameworks/StepTalk/STStructure.m:
* Modules/ObjectiveC/NSObject+additions.m:
* Modules/ObjectiveC/ObjectiveCRuntime.m:
Clean up imports removing includes of Objective-C runtime headers.
Also replace a few more deprecated Objective-C runtime calls.
2011-04-07 Wolfgang Lux <wolfgang.lux@gmail.com>
* Modules/ObjectiveC/ObjectiveCRuntime.m (-allClasses):
* Modules/ObjectiveC/NSObject+additions.m (methods_for_class,
ivars_for_class, +methodNames): Update to Objective-C 2 API.
2011-04-06 Richard Frith-Macdonald <rfm@gnu.org>
* Frameworks/StepTalk/STObjCRuntime.m: replace runtime specific typed
selector code with the standard gnustep functions.
2011-04-06 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/STLanguageManager.m (-dealloc): Fix
typo. (Was calling -dealloc on self instead of super).
2011-04-06 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/STObjCRuntime.m (STAllObjectiveCClasses,
STCreateTypedSelector, STConstructMethodSignatureForSelector,
selectors_from_list, STAllObjectiveCSelectors): Update to
Objective-C 2 API.
2011-01-20 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/Environments/StepTalk.stenv: Add missing
semicolon at end of plist dictionary.
2011-01-20 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/STUndefinedObject.m (-forwardInvocation:):
Clear result buffer to prevent crashes under GNUstep when the
invoked method's result type is an object type.
2011-01-20 Wolfgang Lux <wolfgang.lux@gmail.com>
* Modules/AppKit/GNUmakefile: Add header.m and footer.m to
dependencies of %.list -> %.m rule.
* Modules/AppKit/header.m (STGet@@NAME@@): Use local variable to
get rid of compiler warning.
* Modules/AppKit/AppKitNotifications.list: Update AppKit
notification list to match recent change in gui.
* Modules/AppKit/AppKitConstants.m:
* Modules/AppKit/AppKitEvents.m:
* Modules/AppKit/AppKitNotifications.m:
Regenerated.
2008 Okt 28 Samuel Harvey
* Modules/GDL2/GNUmakefile: Use ADDITIONAL_NATIVE_LIBS instead of
GDL2_BUNDLE_LIBS to link GDL2 packages.
2007 Feb 14 Nicola Pero
* All GNUmakefiles in the project: Use GNUSTEP_LIBRARY
instead of GNUSTEP_INSTALLATION_DIR/Library.
2005 Sep 5 Stefan Urbanek
* Version 0.10.0
2005 Sep 5 Stefan Urbanek
* Frameworks/StepTalk: compiler warnings removed
2005 Aug 30 Stefan Urbanek
* STLanguageManager: new class
* STLanguage: removed
* STEngine: engineForLanguageWithName: and engineForFileType: removed, use
STLanguageManager instead, added engineForLanguage:
* Tools/stexec - updated to use STLanguageManager
* Tools/stupdate_languages - removed as it was replaced by STLanguageManager
* Examples/Server - removed as it was replaced by stenvironment and distant
scripting
Notes:
- you can delete */Library/StepTalk/Configuration directories
2005 Aug 17 Stefan Urbanek
* STConversation: renamed run* method to interpret*, interpretScript: does
not return value anymore (because of distant conversations), new methods
result and resultByCopy were added
* STEnvironment: removed depreciated methods
* STDistantConversation: new class for conversations with distant objects
* Tools/stenvironment: new tool for semi-persistent scripting environments
* Tools/stexec: added reading from stdin; reflect library changes
* Tools/stalk: removed
* STEngine: renamed methods (see STEngine.h for more information)
2005 June 30
Version 0.9.1
2005 June 30
* STActor: new class
* Examples/Smalltalk/actor - new actor example
2005 June 19
Version 0.9.0
2005 June 19 Stefan Urbanek
* STEnvironment: search class name namespace when no object is found for
given name and full scripting is enabled.
2005 Jan 4 Stefan Urbanek
* First step of introducing contexts
NOTE: This version is unstable.
2004 Nov 9 Stefan Urbanek
* Remove STMethodSignatureForSelector as it was deprecated because of
inportability to OSX.
2004 Sep 23 Stefan Urbanek
* STContext: new class
* STEnvironment: make it subclass of STContext, move several methods
2004 Sep 6 Stefan Urbanek
* stshell: fix for compiler
* added missing STEnvironmentDescription installation
2004 Aug 2 Stefan Urbanek
* Search for scripts in */Library/Scripts/*
* stexec: use scripts manager to look for scripts in default locations. For
this tool it is .../Library/Scripts/Shell or .../Library/StepTalk/Scripts/Shell
2004 Jul 26 Stefan Urbanek
* Added NSString containsString: to Foundation module.
2004 Jun 27 Stefan Urbanek
* Added examples:

View file

@ -18,11 +18,11 @@ Creating a scriptable application
2 Make classes available in ScriptingInfo.plist:
{
Classes =
(
STClasses =
{
MessageComposition,
InternetAddress
);
};
}
Add this line to your makefile:
@ -48,11 +48,12 @@ Creating a scriptable application
...
if([NSApp isScriptingSupported])
{
NSMenuItem *scriptingItem =
[menu addItemWithTitle: @"Scripting"
action: NULL
keyEquivalent: @""];
[scriptingItem setSubmenu: [NSApp scriptingMenu]];
[menu addItemWithTitle: @"Scripting"
action: NULL
keyEquivalent: @""];
[menu setSubmenu: [NSApp scriptingMenu]
forItem: [menu itemWithTitle:@"Scripting"]];
}
...
@ -111,7 +112,7 @@ The file is dictionary property list. Kes are:
French = {
Name = "Some name in french";
Description = "Some description in french";
};
}
}
Example
@ -128,7 +129,7 @@ Example
{
Description = "This is a script for testing if scripting works";
Name = "Test";
};
}
}
3. Put both files into */Library/StepTalk/Scripts/your_application_name

View file

@ -11,11 +11,9 @@ How to create scripting environment?
STEnvironment *env;
env = [STEnvironment sharedEnvironment];
env = [STEnvironment defaultScriptingEnvironment];
or
env = [STEnvironment environmentWithDefaultDescription];
or
env = [STEnvironment environmentWithDescription:description];
env = [STEnvironment environmentWithDescriptionName:envName];
How to register named objects in the scripting environment?
@ -27,16 +25,16 @@ like in:
[env setObject:transcript forName:@"Transcript"];
See: STEnvironment, STContext
See: STEnvironment
How to create a scripting engine?
---------------------------------
STEngine *engine;
engine = [STEngine engineForLanguage:langName];
engine = [STEngine engineForLanguageWithName:langName];
See: STLanguageManager, STEngine
See: STLanguage, STEngine
How to execute a code?
--------------------
@ -45,7 +43,7 @@ How to execute a code?
id result;
NS_DURING
result = [engine interpretScript:string inContext:env];
result = [engine executeCode:string inEnvironment:env];
NS_HANDLER
/* handle the exception */
NS_ENDHANDLER

View file

@ -1,9 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.0//EN" "http://www.gnustep.org/gsdoc-1_0_0.xml">
<gsdoc base="NSInvocation+additions" up="StepTalk">
<head>
<title>NSInvocation class additions</title>
<author name="Stefan Urbanek">
<email address="urbanek@host.sk">
urbanek@host.sk
</email>
</author>
<copy>2002 Free Software Foundation</copy>
</head>

View file

@ -4,13 +4,12 @@
<title>NSInvocation class additions</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$NSInvocation+additions">NSInvocation class additions</a></h1>
<h3>Authors</h3>
<dl>
<dt>Stefan Urbanek</dt>
<dt>Stefan Urbanek (<a href="mailto:urbanek@host.sk"><code>urbanek@host.sk</code></a>)</dt>
<dd>
</dd>
</dl>
@ -49,14 +48,14 @@
</p>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="NSInvocation+additions.html#method$NSInvocation(STAdditions)+invocationWithTarget:selector:">+invocationWithTarget:selector:</a></li>
<li><a rel="gsdoc" href="NSInvocation+additions.html#method$NSInvocation(STAdditions)+invocationWithTarget:selectorName:">+invocationWithTarget:selectorName:</a></li>
<li><a rel="gsdoc" href="NSInvocation+additions.html#method$NSInvocation(STAdditions)-getArgumentAsObjectAtIndex:">-getArgumentAsObjectAtIndex:</a></li>
<li><a rel="gsdoc" href="NSInvocation+additions.html#method$NSInvocation(STAdditions)-returnValueAsObject">-returnValueAsObject</a></li>
<li><a rel="gsdoc" href="NSInvocation+additions.html#method$NSInvocation(STAdditions)-setArgumentAsObject:atIndex:">-setArgumentAsObject:atIndex:</a></li>
<li><a rel="gsdoc" href="NSInvocation+additions.html#method$NSInvocation+invocationWithTarget:selector:">+invocationWithTarget:selector:</a></li>
<li><a rel="gsdoc" href="NSInvocation+additions.html#method$NSInvocation+invocationWithTarget:selectorName:">+invocationWithTarget:selectorName:</a></li>
<li><a rel="gsdoc" href="NSInvocation+additions.html#method$NSInvocation-getArgumentAsObjectAtIndex:">-getArgumentAsObjectAtIndex:</a></li>
<li><a rel="gsdoc" href="NSInvocation+additions.html#method$NSInvocation-returnValueAsObject">-returnValueAsObject</a></li>
<li><a rel="gsdoc" href="NSInvocation+additions.html#method$NSInvocation-setArgumentAsObject:atIndex:">-setArgumentAsObject:atIndex:</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$NSInvocation(STAdditions)+invocationWithTarget:selector:">invocationWithTarget:&nbsp;selector:&nbsp;</a></h3>
<h3><a name="method$NSInvocation(STAdditions)+invocationWithTarget:selector:">invocationWithTarget:selector:</a></h3>
+ (id) <b>invocationWithTarget:</b> (id)target<b> selector:</b> (SEL)selector;<br />
<p>
@ -64,7 +63,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSInvocation(STAdditions)+invocationWithTarget:selectorName:">invocationWithTarget:&nbsp;selectorName:&nbsp;</a></h3>
<h3><a name="method$NSInvocation(STAdditions)+invocationWithTarget:selectorName:">invocationWithTarget:selectorName:</a></h3>
+ (id) <b>invocationWithTarget:</b> (id)target<b> selectorName:</b> (NSString*)selectorName;<br />
<p>
@ -72,7 +71,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSInvocation(STAdditions)-getArgumentAsObjectAtIndex:">getArgumentAsObjectAtIndex:&nbsp;</a></h3>
<h3><a name="method$NSInvocation(STAdditions)-getArgumentAsObjectAtIndex:">getArgumentAsObjectAtIndex:</a></h3>
- (id) <b>getArgumentAsObjectAtIndex:</b> (int)anIndex;<br />
<p>
@ -80,7 +79,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSInvocation(STAdditions)-returnValueAsObject">returnValueAsObject&nbsp;</a></h3>
<h3><a name="method$NSInvocation(STAdditions)-returnValueAsObject">returnValueAsObject</a></h3>
- (id) <b>returnValueAsObject</b>;<br />
<p>
@ -88,7 +87,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSInvocation(STAdditions)-setArgumentAsObject:atIndex:">setArgumentAsObject:&nbsp;atIndex:&nbsp;</a></h3>
<h3><a name="method$NSInvocation(STAdditions)-setArgumentAsObject:atIndex:">setArgumentAsObject:atIndex:</a></h3>
- (void) <b>setArgumentAsObject:</b> (id)anObject<b> atIndex:</b> (int)anIndex;<br />
<p>
@ -119,6 +118,5 @@
<hr width="25%" align="left" />
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</body>
</html>

View file

@ -1,9 +1,9 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.0//EN" "http://www.gnustep.org/gsdoc-1_0_0.xml">
<gsdoc base="NSObject+additions" up="StepTalk">
<head>
<title>NSObject+additions documentation</title>
<author name="Generated by stevko"></author>
<title>NSObject+additions autogsdoc generated documentation</title>
<author name="Generated by me"></author>
<copy>2002 Free Software Foundation</copy>
</head>
<body>

View file

@ -1,16 +1,15 @@
<html>
<head>
<title>NSObject+additions documentation</title>
<title>NSObject+additions autogsdoc generated documentation</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$NSObject+additions">NSObject+additions documentation</a></h1>
<h1><a name="title$NSObject+additions">NSObject+additions autogsdoc generated documentation</a></h1>
<h3>Authors</h3>
<dl>
<dt>Generated by stevko</dt>
<dt>Generated by me</dt>
<dd>
</dd>
</dl>
@ -37,12 +36,12 @@
</p>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="NSObject+additions.html#method$NSObject(STAdditions)-isNil">-isNil</a></li>
<li><a rel="gsdoc" href="NSObject+additions.html#method$NSObject(STAdditions)-isSame:">-isSame:</a></li>
<li><a rel="gsdoc" href="NSObject+additions.html#method$NSObject(STAdditions)-notNil">-notNil</a></li>
<li><a rel="gsdoc" href="NSObject+additions.html#method$NSObject-isNil">-isNil</a></li>
<li><a rel="gsdoc" href="NSObject+additions.html#method$NSObject-isSame:">-isSame:</a></li>
<li><a rel="gsdoc" href="NSObject+additions.html#method$NSObject-notNil">-notNil</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$NSObject(STAdditions)-isNil">isNil&nbsp;</a></h3>
<h3><a name="method$NSObject(STAdditions)-isNil">isNil</a></h3>
- (BOOL) <b>isNil</b>;<br />
<p>
@ -50,7 +49,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSObject(STAdditions)-isSame:">isSame:&nbsp;</a></h3>
<h3><a name="method$NSObject(STAdditions)-isSame:">isSame:</a></h3>
- (BOOL) <b>isSame:</b> (id)anObject;<br />
<p>
@ -58,7 +57,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSObject(STAdditions)-notNil">notNil&nbsp;</a></h3>
<h3><a name="method$NSObject(STAdditions)-notNil">notNil</a></h3>
- (BOOL) <b>notNil</b>;<br />
<p>
@ -68,6 +67,5 @@
<hr width="25%" align="left" />
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</body>
</html>

View file

@ -1,109 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<gsdoc base="STActor" up="StepTalk">
<head>
<title>STActor class documentation</title>
<author name="Stefan Urbanek">
</author>
<copy>2002 Free Software Foundation</copy>
</head>
<body>
<front><contents /></front>
<chapter>
<heading>
Software documentation for the STActor class
</heading>
<class name="STActor" super="NSObject">
<declared>StepTalk/STActor.h</declared>
<conform>NSCoding</conform>
<desc>
<em>Description forthcoming.</em>
</desc>
<ivariable type="STEnvironment*" name="environment" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSMutableDictionary*" name="ivars" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSMutableDictionary*" name="methodDictionary" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<method type="id" factory="yes">
<sel>actorInEnvironment:</sel>
<arg type="STEnvironment*">env</arg>
<desc>
Return new instance of script object without any
instance variables
</desc>
</method>
<method type="void">
<sel>addMethod:</sel>
<arg type="id&lt;STMethod&gt;">aMethod</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="STEnvironment*">
<sel>environment</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="id">
<sel>initWithEnvironment:</sel>
<arg type="STEnvironment*">env</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSDictionary*">
<sel>methodDictionary</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSArray*">
<sel>methodNames</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="id&lt;STMethod&gt;">
<sel>methodWithName:</sel>
<arg type="NSString*">aName</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void">
<sel>removeMethod:</sel>
<arg type="id&lt;STMethod&gt;">aMethod</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void">
<sel>removeMethodWithName:</sel>
<arg type="NSString*">aName</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void">
<sel>setEnvironment:</sel>
<arg type="STEnvironment*">env</arg>
<desc>
Set object's environment. Note: This method should be
replaced by some other, more clever mechanism.
</desc>
</method>
</class>
</chapter>
</body>
</gsdoc>

View file

@ -1,173 +0,0 @@
<html>
<head>
<title>STActor class documentation</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STActor">STActor class documentation</a></h1>
<h3>Authors</h3>
<dl>
<dt>Stefan Urbanek</dt>
<dd>
</dd>
</dl>
<p><b>Copyright:</b> (C) 2002 Free Software Foundation</p>
<div>
</div>
<h1><a name="001000000000">
Software documentation for the STActor class
</a></h1>
<h2><a name="class$STActor">STActor</a> : NSObject</h2>
<blockquote>
<dl>
<dt><b>Declared in:</b></dt>
<dd>StepTalk/STActor.h</dd>
</dl>
</blockquote>
<blockquote>
<dl>
<dt><b>Conforms to:</b></dt>
<dd>NSCoding</dd>
</dl>
</blockquote>
<p>
<em>Description forthcoming.</em>
</p>
<hr width="50%" align="left" />
<a href="#_STActor_ivars">Instance Variables</a>
<br/><br/>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="STActor.html#method$STActor+actorInEnvironment:">+actorInEnvironment:</a></li>
<li><a rel="gsdoc" href="STActor.html#method$STActor-addMethod:">-addMethod:</a></li>
<li><a rel="gsdoc" href="STActor.html#method$STActor-environment">-environment</a></li>
<li><a rel="gsdoc" href="STActor.html#method$STActor-initWithEnvironment:">-initWithEnvironment:</a></li>
<li><a rel="gsdoc" href="STActor.html#method$STActor-methodDictionary">-methodDictionary</a></li>
<li><a rel="gsdoc" href="STActor.html#method$STActor-methodNames">-methodNames</a></li>
<li><a rel="gsdoc" href="STActor.html#method$STActor-methodWithName:">-methodWithName:</a></li>
<li><a rel="gsdoc" href="STActor.html#method$STActor-removeMethod:">-removeMethod:</a></li>
<li><a rel="gsdoc" href="STActor.html#method$STActor-removeMethodWithName:">-removeMethodWithName:</a></li>
<li><a rel="gsdoc" href="STActor.html#method$STActor-setEnvironment:">-setEnvironment:</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$STActor+actorInEnvironment:">actorInEnvironment:&nbsp;</a></h3>
+ (id) <b>actorInEnvironment:</b> (<a rel="gsdoc" href="STEnvironment.html#class$STEnvironment">STEnvironment</a>*)env;<br />
<p>
Return new instance of script object without any
instance variables
</p>
<hr width="25%" align="left" />
<h3><a name="method$STActor-addMethod:">addMethod:&nbsp;</a></h3>
- (void) <b>addMethod:</b> (id<<a rel="gsdoc" href="STMethod.html#protocol$(STMethod)">STMethod</a>>)aMethod;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STActor-environment">environment&nbsp;</a></h3>
- (<a rel="gsdoc" href="STEnvironment.html#class$STEnvironment">STEnvironment</a>*) <b>environment</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STActor-initWithEnvironment:">initWithEnvironment:&nbsp;</a></h3>
- (id) <b>initWithEnvironment:</b> (<a rel="gsdoc" href="STEnvironment.html#class$STEnvironment">STEnvironment</a>*)env;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STActor-methodDictionary">methodDictionary&nbsp;</a></h3>
- (NSDictionary*) <b>methodDictionary</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STActor-methodNames">methodNames&nbsp;</a></h3>
- (NSArray*) <b>methodNames</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STActor-methodWithName:">methodWithName:&nbsp;</a></h3>
- (id<<a rel="gsdoc" href="STMethod.html#protocol$(STMethod)">STMethod</a>>) <b>methodWithName:</b> (NSString*)aName;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STActor-removeMethod:">removeMethod:&nbsp;</a></h3>
- (void) <b>removeMethod:</b> (id<<a rel="gsdoc" href="STMethod.html#protocol$(STMethod)">STMethod</a>>)aMethod;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STActor-removeMethodWithName:">removeMethodWithName:&nbsp;</a></h3>
- (void) <b>removeMethodWithName:</b> (NSString*)aName;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STActor-setEnvironment:">setEnvironment:&nbsp;</a></h3>
- (void) <b>setEnvironment:</b> (<a rel="gsdoc" href="STEnvironment.html#class$STEnvironment">STEnvironment</a>*)env;<br />
<p>
Set object&apos;s environment. Note: This method should be
replaced by some other, more clever mechanism.
</p>
<hr width="25%" align="left" />
<a name="_STActor_ivars"/> <br/><hr width="50%" align="left" />
<h2>Instance Variables for STActor Class</h2>
<h3><a name="ivariable$STActor*environment">environment</a></h3>
@protected STEnvironment* <b>environment</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STActor*ivars">ivars</a></h3>
@protected NSMutableDictionary* <b>ivars</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STActor*methodDictionary">methodDictionary</a></h3>
@protected NSMutableDictionary* <b>methodDictionary</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<br/><hr width="50%" align="left" /><br/>
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</html>

View file

@ -1,9 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.0//EN" "http://www.gnustep.org/gsdoc-1_0_0.xml">
<gsdoc base="STBundleInfo" up="StepTalk">
<head>
<title>STBundleInfo class documentation</title>
<author name="Stefan Urbanek">
<email address="urbanek@host.sk">
urbanek@host.sk
</email>
</author>
<copy>2002 Free Software Foundation</copy>
</head>
@ -18,41 +21,6 @@
<desc>
<em>Description forthcoming.</em>
</desc>
<ivariable type="NSArray*" name="allClasses" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSBundle*" name="bundle" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSDictionary*" name="objectReferenceDictionary" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSArray*" name="publicClasses" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="Class" name="scriptingInfoClass" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSString*" name="scriptingInfoClassName" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="BOOL" name="useAllClasses" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<method type="id" factory="yes">
<sel>infoForBundle:</sel>
<arg type="NSBundle*">aBundle</arg>

View file

@ -4,13 +4,12 @@
<title>STBundleInfo class documentation</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STBundleInfo">STBundleInfo class documentation</a></h1>
<h3>Authors</h3>
<dl>
<dt>Stefan Urbanek</dt>
<dt>Stefan Urbanek (<a href="mailto:urbanek@host.sk"><code>urbanek@host.sk</code></a>)</dt>
<dd>
</dd>
</dl>
@ -46,9 +45,6 @@
<em>Description forthcoming.</em>
</p>
<hr width="50%" align="left" />
<a href="#_STBundleInfo_ivars">Instance Variables</a>
<br/><br/>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="STBundleInfo.html#method$STBundleInfo+infoForBundle:">+infoForBundle:</a></li>
@ -59,7 +55,7 @@
<li><a rel="gsdoc" href="STBundleInfo.html#method$STBundleInfo-publicClassNames">-publicClassNames</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$STBundleInfo+infoForBundle:">infoForBundle:&nbsp;</a></h3>
<h3><a name="method$STBundleInfo+infoForBundle:">infoForBundle:</a></h3>
+ (id) <b>infoForBundle:</b> (NSBundle*)aBundle;<br />
<p>
@ -67,7 +63,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STBundleInfo-allClassNames">allClassNames&nbsp;</a></h3>
<h3><a name="method$STBundleInfo-allClassNames">allClassNames</a></h3>
- (NSArray*) <b>allClassNames</b>;<br />
<p>
@ -75,7 +71,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STBundleInfo-initWithBundle:">initWithBundle:&nbsp;</a></h3>
<h3><a name="method$STBundleInfo-initWithBundle:">initWithBundle:</a></h3>
- (id) <b>initWithBundle:</b> (NSBundle*)aBundle;<br />
This is a designated initialiser for the class.<br />
<p>
@ -84,7 +80,7 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<h3><a name="method$STBundleInfo-namedObjects">namedObjects&nbsp;</a></h3>
<h3><a name="method$STBundleInfo-namedObjects">namedObjects</a></h3>
- (NSDictionary*) <b>namedObjects</b>;<br />
<p>
@ -94,7 +90,7 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<h3><a name="method$STBundleInfo-objectReferenceDictionary">objectReferenceDictionary&nbsp;</a></h3>
<h3><a name="method$STBundleInfo-objectReferenceDictionary">objectReferenceDictionary</a></h3>
- (NSDictionary*) <b>objectReferenceDictionary</b>;<br />
<p>
@ -105,7 +101,7 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<h3><a name="method$STBundleInfo-publicClassNames">publicClassNames&nbsp;</a></h3>
<h3><a name="method$STBundleInfo-publicClassNames">publicClassNames</a></h3>
- (NSArray*) <b>publicClassNames</b>;<br />
<p>
@ -113,65 +109,6 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<a name="_STBundleInfo_ivars"/> <br/><hr width="50%" align="left" />
<h2>Instance Variables for STBundleInfo Class</h2>
<h3><a name="ivariable$STBundleInfo*allClasses">allClasses</a></h3>
@protected NSArray* <b>allClasses</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STBundleInfo*bundle">bundle</a></h3>
@protected NSBundle* <b>bundle</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STBundleInfo*objectReferenceDictionary">objectReferenceDictionary</a></h3>
@protected NSDictionary* <b>objectReferenceDictionary</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STBundleInfo*publicClasses">publicClasses</a></h3>
@protected NSArray* <b>publicClasses</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STBundleInfo*scriptingInfoClass">scriptingInfoClass</a></h3>
@protected Class <b>scriptingInfoClass</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STBundleInfo*scriptingInfoClassName">scriptingInfoClassName</a></h3>
@protected NSString* <b>scriptingInfoClassName</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STBundleInfo*useAllClasses">useAllClasses</a></h3>
@protected BOOL <b>useAllClasses</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<br/><hr width="50%" align="left" /><br/>
<h1><a name="002000000000">
Software documentation for the NSBundle(STAdditions)
@ -191,15 +128,15 @@ This is a designated initialiser for the class.<br />
</p>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="STBundleInfo.html#method$NSBundle(STAdditions)+allFrameworkNames">+allFrameworkNames</a></li>
<li><a rel="gsdoc" href="STBundleInfo.html#method$NSBundle(STAdditions)+bundleForFrameworkWithName:">+bundleForFrameworkWithName:</a></li>
<li><a rel="gsdoc" href="STBundleInfo.html#method$NSBundle(STAdditions)+pathForFrameworkWithName:">+pathForFrameworkWithName:</a></li>
<li><a rel="gsdoc" href="STBundleInfo.html#method$NSBundle(STAdditions)+stepTalkBundleNames">+stepTalkBundleNames</a></li>
<li><a rel="gsdoc" href="STBundleInfo.html#method$NSBundle(STAdditions)+stepTalkBundleWithName:">+stepTalkBundleWithName:</a></li>
<li><a rel="gsdoc" href="STBundleInfo.html#method$NSBundle(STAdditions)-scriptingInfoDictionary">-scriptingInfoDictionary</a></li>
<li><a rel="gsdoc" href="STBundleInfo.html#method$NSBundle+allFrameworkNames">+allFrameworkNames</a></li>
<li><a rel="gsdoc" href="STBundleInfo.html#method$NSBundle+bundleForFrameworkWithName:">+bundleForFrameworkWithName:</a></li>
<li><a rel="gsdoc" href="STBundleInfo.html#method$NSBundle+pathForFrameworkWithName:">+pathForFrameworkWithName:</a></li>
<li><a rel="gsdoc" href="STBundleInfo.html#method$NSBundle+stepTalkBundleNames">+stepTalkBundleNames</a></li>
<li><a rel="gsdoc" href="STBundleInfo.html#method$NSBundle+stepTalkBundleWithName:">+stepTalkBundleWithName:</a></li>
<li><a rel="gsdoc" href="STBundleInfo.html#method$NSBundle-scriptingInfoDictionary">-scriptingInfoDictionary</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$NSBundle(STAdditions)+allFrameworkNames">allFrameworkNames&nbsp;</a></h3>
<h3><a name="method$NSBundle(STAdditions)+allFrameworkNames">allFrameworkNames</a></h3>
+ (NSArray*) <b>allFrameworkNames</b>;<br />
<p>
@ -208,7 +145,7 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSBundle(STAdditions)+bundleForFrameworkWithName:">bundleForFrameworkWithName:&nbsp;</a></h3>
<h3><a name="method$NSBundle(STAdditions)+bundleForFrameworkWithName:">bundleForFrameworkWithName:</a></h3>
+ (NSBundle*) <b>bundleForFrameworkWithName:</b> (NSString*)aName;<br />
<p>
@ -217,7 +154,7 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSBundle(STAdditions)+pathForFrameworkWithName:">pathForFrameworkWithName:&nbsp;</a></h3>
<h3><a name="method$NSBundle(STAdditions)+pathForFrameworkWithName:">pathForFrameworkWithName:</a></h3>
+ (NSString*) <b>pathForFrameworkWithName:</b> (NSString*)aName;<br />
<p>
@ -226,7 +163,7 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSBundle(STAdditions)+stepTalkBundleNames">stepTalkBundleNames&nbsp;</a></h3>
<h3><a name="method$NSBundle(STAdditions)+stepTalkBundleNames">stepTalkBundleNames</a></h3>
+ (NSArray*) <b>stepTalkBundleNames</b>;<br />
<p>
@ -235,7 +172,7 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSBundle(STAdditions)+stepTalkBundleWithName:">stepTalkBundleWithName:&nbsp;</a></h3>
<h3><a name="method$NSBundle(STAdditions)+stepTalkBundleWithName:">stepTalkBundleWithName:</a></h3>
+ (id) <b>stepTalkBundleWithName:</b> (NSString*)moduleName;<br />
<p>
@ -243,7 +180,7 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSBundle(STAdditions)-scriptingInfoDictionary">scriptingInfoDictionary&nbsp;</a></h3>
<h3><a name="method$NSBundle(STAdditions)-scriptingInfoDictionary">scriptingInfoDictionary</a></h3>
- (NSDictionary*) <b>scriptingInfoDictionary</b>;<br />
<p>
@ -253,6 +190,5 @@ This is a designated initialiser for the class.<br />
<hr width="25%" align="left" />
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</body>
</html>

View file

@ -1,154 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<gsdoc base="STContext" up="StepTalk">
<head>
<title>STEnvironment class reference</title>
<author name="Stefan Urbanek">
</author>
<copy>2002 Free Software Foundation</copy>
</head>
<body>
<front><contents /></front>
<chapter>
<heading>
Software documentation for the STContext class
</heading>
<class name="STContext" super="NSObject">
<declared>StepTalk/STContext.h</declared>
<desc>
<em>Description forthcoming.</em>
</desc>
<ivariable type="BOOL" name="createsUnknownObjects" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="BOOL" name="fullScripting" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSMutableDictionary*" name="objectDictionary" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="STContext*" name="parentContext" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<method type="void">
<sel>addNamedObjectsFromDictionary:</sel>
<arg type="NSDictionary*">dict</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="BOOL">
<sel>createsUnknownObjects</sel>
<desc>
Returns <code>YES</code> if unknown objects are
being created.
</desc>
</method>
<method type="BOOL">
<sel>fullScriptingEnabled</sel>
<desc>
Returns <code>YES</code> if full scripting is
enabled.
</desc>
</method>
<method type="NSArray*">
<sel>knownObjectNames</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSMutableDictionary*">
<sel>objectDictionary</sel>
<desc>
Returns a dictionary of all named objects in the
environment.
</desc>
</method>
<method type="STObjectReference*">
<sel>objectReferenceForObjectWithName:</sel>
<arg type="NSString*">name</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="id">
<sel>objectWithName:</sel>
<arg type="NSString*">objName</arg>
<desc>
Return object with name <var>objName</var>. If
object is not found int the object dictionary, then
object finders are used to try to find the object.
If object is found by an object finder, then it is put
into the object dicitonary. If there is no object with
given name, <var><code>nil</code></var> is returned.
</desc>
</method>
<method type="STContext*">
<sel>parentContext</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void">
<sel>removeObjectWithName:</sel>
<arg type="NSString*">objName</arg>
<desc>
Remove object named <var>objName</var>.
</desc>
</method>
<method type="void">
<sel>setCreatesUnknownObjects:</sel>
<arg type="BOOL">flag</arg>
<desc>
<p>
Enable or disable creation of unknown objects.
Normally you get <code>nil</code> if you request
for non-existant object. If <var>flag</var> is
<code>YES</code> then by requesting non-existant
object, name for that object is created and it is
set no STNil.
</p>
<p>
Note: This method will be probably removed (moved
to Smalltalk language bundle).
</p>
</desc>
</method>
<method type="void">
<sel>setFullScriptingEnabled:</sel>
<arg type="BOOL">flag</arg>
<desc>
Full scripting <br /> Enable or disable full
scripting. When full scripting is enabled, you
may send any message to any object.
</desc>
</method>
<method type="void">
<sel>setObject:</sel>
<arg type="id">anObject</arg>
<sel>forName:</sel>
<arg type="NSString*">objName</arg>
<desc>
Register object <var>anObject</var> with name
<var>objName</var>.
</desc>
</method>
<method type="void">
<sel>setParentContext:</sel>
<arg type="STContext*">context</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
</class>
</chapter>
</body>
</gsdoc>

View file

@ -1,232 +0,0 @@
<html>
<head>
<title>STEnvironment class reference</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STContext">STEnvironment class reference</a></h1>
<h3>Authors</h3>
<dl>
<dt>Stefan Urbanek</dt>
<dd>
</dd>
</dl>
<p><b>Copyright:</b> (C) 2002 Free Software Foundation</p>
<div>
</div>
<h1><a name="001000000000">
Software documentation for the STContext class
</a></h1>
<h2><a name="class$STContext">STContext</a> : NSObject</h2>
<blockquote>
<dl>
<dt><b>Declared in:</b></dt>
<dd>StepTalk/STContext.h</dd>
</dl>
</blockquote>
<p>
<em>Description forthcoming.</em>
</p>
<hr width="50%" align="left" />
<a href="#_STContext_ivars">Instance Variables</a>
<br/><br/>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="STContext.html#method$STContext-addNamedObjectsFromDictionary:">-addNamedObjectsFromDictionary:</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-createsUnknownObjects">-createsUnknownObjects</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-fullScriptingEnabled">-fullScriptingEnabled</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-knownObjectNames">-knownObjectNames</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-objectDictionary">-objectDictionary</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-objectReferenceForObjectWithName:">-objectReferenceForObjectWithName:</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-objectWithName:">-objectWithName:</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-parentContext">-parentContext</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-removeObjectWithName:">-removeObjectWithName:</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-setCreatesUnknownObjects:">-setCreatesUnknownObjects:</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-setFullScriptingEnabled:">-setFullScriptingEnabled:</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-setObject:forName:">-setObject:forName:</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-setParentContext:">-setParentContext:</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$STContext-addNamedObjectsFromDictionary:">addNamedObjectsFromDictionary:&nbsp;</a></h3>
- (void) <b>addNamedObjectsFromDictionary:</b> (NSDictionary*)dict;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-createsUnknownObjects">createsUnknownObjects&nbsp;</a></h3>
- (BOOL) <b>createsUnknownObjects</b>;<br />
<p>
Returns <code>YES</code> if unknown objects are
being created.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-fullScriptingEnabled">fullScriptingEnabled&nbsp;</a></h3>
- (BOOL) <b>fullScriptingEnabled</b>;<br />
<p>
Returns <code>YES</code> if full scripting is
enabled.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-knownObjectNames">knownObjectNames&nbsp;</a></h3>
- (NSArray*) <b>knownObjectNames</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-objectDictionary">objectDictionary&nbsp;</a></h3>
- (NSMutableDictionary*) <b>objectDictionary</b>;<br />
<p>
Returns a dictionary of all named objects in the
environment.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-objectReferenceForObjectWithName:">objectReferenceForObjectWithName:&nbsp;</a></h3>
- (<a rel="gsdoc" href="STObjectReference.html#class$STObjectReference">STObjectReference</a>*) <b>objectReferenceForObjectWithName:</b> (NSString*)name;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-objectWithName:">objectWithName:&nbsp;</a></h3>
- (id) <b>objectWithName:</b> (NSString*)objName;<br />
<p>
Return object with name <var>objName</var>. If
object is not found int the object dictionary, then
object finders are used to try to find the object.
If object is found by an object finder, then it is put
into the object dicitonary. If there is no object with
given name, <var><code>nil</code></var> is returned.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-parentContext">parentContext&nbsp;</a></h3>
- (<a rel="gsdoc" href="#class$STContext">STContext</a>*) <b>parentContext</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-removeObjectWithName:">removeObjectWithName:&nbsp;</a></h3>
- (void) <b>removeObjectWithName:</b> (NSString*)objName;<br />
<p>
Remove object named <var>objName</var>.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-setCreatesUnknownObjects:">setCreatesUnknownObjects:&nbsp;</a></h3>
- (void) <b>setCreatesUnknownObjects:</b> (BOOL)flag;<br />
<p>
</p>
<p>
Enable or disable creation of unknown objects.
Normally you get <code>nil</code> if you request
for non-existant object. If <var>flag</var> is
<code>YES</code> then by requesting non-existant
object, name for that object is created and it is
set no STNil.
</p>
<p>
</p>
<p>
Note: This method will be probably removed (moved
to Smalltalk language bundle).
</p>
<p>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-setFullScriptingEnabled:">setFullScriptingEnabled:&nbsp;</a></h3>
- (void) <b>setFullScriptingEnabled:</b> (BOOL)flag;<br />
<p>
Full scripting <br /> Enable or disable full
scripting. When full scripting is enabled, you
may send any message to any object.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-setObject:forName:">setObject:&nbsp;forName:&nbsp;</a></h3>
- (void) <b>setObject:</b> (id)anObject<b> forName:</b> (NSString*)objName;<br />
<p>
Register object <var>anObject</var> with name
<var>objName</var>.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-setParentContext:">setParentContext:&nbsp;</a></h3>
- (void) <b>setParentContext:</b> (<a rel="gsdoc" href="#class$STContext">STContext</a>*)context;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<a name="_STContext_ivars"/> <br/><hr width="50%" align="left" />
<h2>Instance Variables for STContext Class</h2>
<h3><a name="ivariable$STContext*createsUnknownObjects">createsUnknownObjects</a></h3>
@protected BOOL <b>createsUnknownObjects</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STContext*fullScripting">fullScripting</a></h3>
@protected BOOL <b>fullScripting</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STContext*objectDictionary">objectDictionary</a></h3>
@protected NSMutableDictionary* <b>objectDictionary</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STContext*parentContext">parentContext</a></h3>
@protected STContext* <b>parentContext</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<br/><hr width="50%" align="left" /><br/>
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</html>

View file

@ -1,131 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<gsdoc base="STConversation" up="StepTalk">
<head>
<title>STConversation class documentation</title>
<author name="Stefan Urbanek">
</author>
<copy>2002 Free Software Foundation</copy>
</head>
<body>
<front><contents /></front>
<chapter>
<heading>
Software documentation for the STConversation class
</heading>
<class name="STConversation" super="NSObject">
<declared>StepTalk/STConversation.h</declared>
<conform>STConversation</conform>
<desc>
<em>Description forthcoming.</em>
</desc>
<ivariable type="STContext*" name="context" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="STEngine*" name="engine" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSString*" name="languageName" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="id" name="returnValue" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<method type="STContext*">
<sel>context</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="id">
<sel>initWithContext:</sel>
<arg type="STContext*">aContext</arg>
<sel>language:</sel>
<arg type="NSString*">aLanguage</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*">
<sel>language</sel>
<desc>
Return name of the language used in the receiver
conversation
</desc>
</method>
<method type="id">
<sel>runScriptFromString:</sel>
<arg type="NSString*">aString</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void">
<sel>setLanguage:</sel>
<arg type="NSString*">newLanguage</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
</class>
</chapter>
<chapter>
<heading>
Software documentation for the STConversation protocol
</heading>
<protocol name="STConversation">
<declared>StepTalk/STConversation.h</declared>
<desc>
<em>Description forthcoming.</em>
</desc>
<method type="void">
<sel>interpretScript:</sel>
<arg type="bycopy NSString*">aString</arg>
<desc>
Interpret given string as a script in the
receiver environment.
</desc>
</method>
<method type="bycopy NSArray*">
<sel>knownLanguages</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*">
<sel>language</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="id">
<sel>result</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="bycopy id">
<sel>resultByCopy</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void">
<sel>setLanguage:</sel>
<arg type="NSString*">newLanguage</arg>
<desc>
Set language for the receiver.
</desc>
</method>
</protocol>
</chapter>
</body>
</gsdoc>

View file

@ -1,221 +0,0 @@
<html>
<head>
<title>STConversation class documentation</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STConversation">STConversation class documentation</a></h1>
<h3>Authors</h3>
<dl>
<dt>Stefan Urbanek</dt>
<dd>
</dd>
</dl>
<p><b>Copyright:</b> (C) 2002 Free Software Foundation</p>
<div>
<hr width="50%" align="left" />
<h3>Contents -</h3>
<ol>
<li>
<a href="#001000000000">Software documentation for the STConversation class</a>
</li>
<li>
<a href="#002000000000">Software documentation for the STConversation protocol</a>
</li>
</ol>
<hr width="50%" align="left" />
</div>
<h1><a name="001000000000">
Software documentation for the STConversation class
</a></h1>
<h2><a name="class$STConversation">STConversation</a> : NSObject</h2>
<blockquote>
<dl>
<dt><b>Declared in:</b></dt>
<dd>StepTalk/STConversation.h</dd>
</dl>
</blockquote>
<blockquote>
<dl>
<dt><b>Conforms to:</b></dt>
<dd><a rel="gsdoc" href="#protocol$(STConversation)">STConversation</a></dd>
</dl>
</blockquote>
<p>
<em>Description forthcoming.</em>
</p>
<hr width="50%" align="left" />
<a href="#_STConversation_ivars">Instance Variables</a>
<br/><br/>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="STConversation.html#method$STConversation-context">-context</a></li>
<li><a rel="gsdoc" href="STConversation.html#method$STConversation-initWithContext:language:">-initWithContext:language:</a></li>
<li><a rel="gsdoc" href="STConversation.html#method$STConversation-language">-language</a></li>
<li><a rel="gsdoc" href="STConversation.html#method$STConversation-runScriptFromString:">-runScriptFromString:</a></li>
<li><a rel="gsdoc" href="STConversation.html#method$STConversation-setLanguage:">-setLanguage:</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$STConversation-context">context&nbsp;</a></h3>
- (<a rel="gsdoc" href="STContext.html#class$STContext">STContext</a>*) <b>context</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STConversation-initWithContext:language:">initWithContext:&nbsp;language:&nbsp;</a></h3>
- (id) <b>initWithContext:</b> (<a rel="gsdoc" href="STContext.html#class$STContext">STContext</a>*)aContext<b> language:</b> (NSString*)aLanguage;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STConversation-language">language&nbsp;</a></h3>
- (NSString*) <b>language</b>;<br />
<p>
Return name of the language used in the receiver
conversation
</p>
<hr width="25%" align="left" />
<h3><a name="method$STConversation-runScriptFromString:">runScriptFromString:&nbsp;</a></h3>
- (id) <b>runScriptFromString:</b> (NSString*)aString;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STConversation-setLanguage:">setLanguage:&nbsp;</a></h3>
- (void) <b>setLanguage:</b> (NSString*)newLanguage;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<a name="_STConversation_ivars"/> <br/><hr width="50%" align="left" />
<h2>Instance Variables for STConversation Class</h2>
<h3><a name="ivariable$STConversation*context">context</a></h3>
@protected STContext* <b>context</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STConversation*engine">engine</a></h3>
@protected STEngine* <b>engine</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STConversation*languageName">languageName</a></h3>
@protected NSString* <b>languageName</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STConversation*returnValue">returnValue</a></h3>
@protected id <b>returnValue</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<br/><hr width="50%" align="left" /><br/>
<h1><a name="002000000000">
Software documentation for the STConversation protocol
</a></h1>
<h2><a name="protocol$(STConversation)">STConversation</a></h2>
<blockquote>
<dl>
<dt><b>Declared in:</b></dt>
<dd>StepTalk/STConversation.h</dd>
</dl>
</blockquote>
<p>
<em>Description forthcoming.</em>
</p>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="STConversation.html#method$(STConversation)-interpretScript:">-interpretScript:</a></li>
<li><a rel="gsdoc" href="STConversation.html#method$(STConversation)-knownLanguages">-knownLanguages</a></li>
<li><a rel="gsdoc" href="STConversation.html#method$(STConversation)-language">-language</a></li>
<li><a rel="gsdoc" href="STConversation.html#method$(STConversation)-result">-result</a></li>
<li><a rel="gsdoc" href="STConversation.html#method$(STConversation)-resultByCopy">-resultByCopy</a></li>
<li><a rel="gsdoc" href="STConversation.html#method$(STConversation)-setLanguage:">-setLanguage:</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$(STConversation)-interpretScript:">interpretScript:&nbsp;</a></h3>
- (void) <b>interpretScript:</b> (bycopy NSString*)aString;<br />
<p>
Interpret given string as a script in the
receiver environment.
</p>
<hr width="25%" align="left" />
<h3><a name="method$(STConversation)-knownLanguages">knownLanguages&nbsp;</a></h3>
- (bycopy NSArray*) <b>knownLanguages</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$(STConversation)-language">language&nbsp;</a></h3>
- (NSString*) <b>language</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$(STConversation)-result">result&nbsp;</a></h3>
- (id) <b>result</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$(STConversation)-resultByCopy">resultByCopy&nbsp;</a></h3>
- (bycopy id) <b>resultByCopy</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$(STConversation)-setLanguage:">setLanguage:&nbsp;</a></h3>
- (void) <b>setLanguage:</b> (NSString*)newLanguage;<br />
<p>
Set language for the receiver.
</p>
<hr width="25%" align="left" />
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</html>

View file

@ -1,9 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.0//EN" "http://www.gnustep.org/gsdoc-1_0_0.xml">
<gsdoc base="STEngine" up="StepTalk">
<head>
<title>STEngine class documentation</title>
<author name="Stefan Urbanek">
<email address="urbanek@host.sk">
urbanek@host.sk
</email>
</author>
<copy>2002 Free Software Foundation</copy>
</head>
@ -20,12 +23,31 @@
to intepret scripts.
</desc>
<method type="STEngine*" factory="yes">
<sel>engineForLanguage:</sel>
<sel>engineForFileType:</sel>
<arg type="NSString*">fileType</arg>
<desc>
Return a scripting engine for the language used in
files of type <var>fileType</var>
</desc>
</method>
<method type="STEngine*" factory="yes">
<sel>engineForLanguageWithName:</sel>
<arg type="NSString*">name</arg>
<desc>
Instance creation <br /> Return a scripting engine
for language with specified <var>name</var>. The engine
is get from default language manager.
for language with specified <var>name</var>.
</desc>
</method>
<method type="id" override="subclass">
<sel>executeCode:</sel>
<arg type="NSString*">code</arg>
<sel>inEnvironment:</sel>
<arg type="STEnvironment*">env</arg>
<desc>
Execude source <var>code</var> <var>code</var> in
an environment <var>env</var>. This is the method, that
has to be implemented by those who are writing a
language engine.
</desc>
</method>
<method type="id">
@ -35,35 +57,34 @@
<arg type="id">anObject</arg>
<sel>withArguments:</sel>
<arg type="NSArray*">args</arg>
<sel>inContext:</sel>
<arg type="STContext*">env</arg>
<sel>inEnvironment:</sel>
<arg type="STEnvironment*">env</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="id" override="subclass">
<sel>interpretScript:</sel>
<arg type="NSString*">script</arg>
<sel>inContext:</sel>
<arg type="STContext*">context</arg>
<desc>
Interpret source code <var>code</var> in a
<var>context</var> <var>context</var>. This is the
method, that has to be implemented by those who are
writing a language engine.
</desc>
</method>
<method type="STMethod*">
<sel>methodFromSource:</sel>
<arg type="NSString*">sourceString</arg>
<sel>forReceiver:</sel>
<arg type="id">receiver</arg>
<sel>inContext:</sel>
<arg type="STContext*">env</arg>
<sel>inEnvironment:</sel>
<arg type="STEnvironment*">env</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void">
<sel>setValue:</sel>
<arg type="id">anObject</arg>
<sel>forOption:</sel>
<arg type="NSString*">anOption</arg>
<desc>
Set engine specific option. Refer to particuliar
language engine documentation for more
information.
</desc>
</method>
<method type="BOOL">
<sel>understandsCode:</sel>
<arg type="NSString*">code</arg>
@ -71,6 +92,13 @@
<em>Description forthcoming.</em>
</desc>
</method>
<method type="id">
<sel>valueForOption:</sel>
<arg type="NSString*">anOption</arg>
<desc>
Returs a value for engine specific option
</desc>
</method>
</class>
</chapter>
</body>

View file

@ -4,13 +4,12 @@
<title>STEngine class documentation</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STEngine">STEngine class documentation</a></h1>
<h3>Authors</h3>
<dl>
<dt>Stefan Urbanek</dt>
<dt>Stefan Urbanek (<a href="mailto:urbanek@host.sk"><code>urbanek@host.sk</code></a>)</dt>
<dd>
</dd>
</dl>
@ -37,61 +36,94 @@
</p>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="STEngine.html#method$STEngine+engineForLanguage:">+engineForLanguage:</a></li>
<li><a rel="gsdoc" href="STEngine.html#method$STEngine-executeMethod:forReceiver:withArguments:inContext:">-executeMethod:forReceiver:withArguments:inContext:</a></li>
<li><a rel="gsdoc" href="STEngine.html#method$STEngine-interpretScript:inContext:">-interpretScript:inContext:</a></li>
<li><a rel="gsdoc" href="STEngine.html#method$STEngine-methodFromSource:forReceiver:inContext:">-methodFromSource:forReceiver:inContext:</a></li>
<li><a rel="gsdoc" href="STEngine.html#method$STEngine+engineForFileType:">+engineForFileType:</a></li>
<li><a rel="gsdoc" href="STEngine.html#method$STEngine+engineForLanguageWithName:">+engineForLanguageWithName:</a></li>
<li><a rel="gsdoc" href="STEngine.html#method$STEngine-defaultEnvironment">-defaultEnvironment</a></li>
<li><a rel="gsdoc" href="STEngine.html#method$STEngine-executeCode:">-executeCode:</a></li>
<li><a rel="gsdoc" href="STEngine.html#method$STEngine-executeCode:inEnvironment:">-executeCode:inEnvironment:</a></li>
<li><a rel="gsdoc" href="STEngine.html#method$STEngine-executeMethod:forReceiver:withArguments:inEnvironment:">-executeMethod:forReceiver:withArguments:inEnvironment:</a></li>
<li><a rel="gsdoc" href="STEngine.html#method$STEngine-executeMethod:forScriptObject:">-executeMethod:forScriptObject:</a></li>
<li><a rel="gsdoc" href="STEngine.html#method$STEngine-methodFromSource:forReceiver:inEnvironment:">-methodFromSource:forReceiver:inEnvironment:</a></li>
<li><a rel="gsdoc" href="STEngine.html#method$STEngine-methodFromSource:forScriptObject:">-methodFromSource:forScriptObject:</a></li>
<li><a rel="gsdoc" href="STEngine.html#method$STEngine-setDefaultEnvironment:">-setDefaultEnvironment:</a></li>
<li><a rel="gsdoc" href="STEngine.html#method$STEngine-setValue:forOption:">-setValue:forOption:</a></li>
<li><a rel="gsdoc" href="STEngine.html#method$STEngine-understandsCode:">-understandsCode:</a></li>
<li><a rel="gsdoc" href="STEngine.html#method$STEngine-valueForOption:">-valueForOption:</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$STEngine+engineForLanguage:">engineForLanguage:&nbsp;</a></h3>
+ (<a rel="gsdoc" href="#class$STEngine">STEngine</a>*) <b>engineForLanguage:</b> (NSString*)name;<br />
<h3><a name="method$STEngine+engineForFileType:">engineForFileType:</a></h3>
+ (<a rel="gsdoc" href="#class$STEngine">STEngine</a>*) <b>engineForFileType:</b> (NSString*)fileType;<br />
<p>
Return a scripting engine for the language used in
files of type <var>fileType</var>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEngine+engineForLanguageWithName:">engineForLanguageWithName:</a></h3>
+ (<a rel="gsdoc" href="#class$STEngine">STEngine</a>*) <b>engineForLanguageWithName:</b> (NSString*)name;<br />
<p>
Instance creation <br /> Return a scripting engine
for language with specified <var>name</var>. The engine
is get from default language manager.
for language with specified <var>name</var>.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEngine-executeMethod:forReceiver:withArguments:inContext:">executeMethod:&nbsp;forReceiver:&nbsp;withArguments:&nbsp;inContext:&nbsp;</a></h3>
- (id) <b>executeMethod:</b> (id<<a rel="gsdoc" href="STMethod.html#protocol$(STMethod)">STMethod</a>>)aMethod<b> forReceiver:</b> (id)anObject<b> withArguments:</b> (NSArray*)args<b> inContext:</b> (<a rel="gsdoc" href="STContext.html#class$STContext">STContext</a>*)env;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEngine-interpretScript:inContext:">interpretScript:&nbsp;inContext:&nbsp;</a></h3>
- (id) <b>interpretScript:</b> (NSString*)script<b> inContext:</b> (<a rel="gsdoc" href="STContext.html#class$STContext">STContext</a>*)context;<br />
<h3><a name="method$STEngine-executeCode:inEnvironment:">executeCode:inEnvironment:</a></h3>
- (id) <b>executeCode:</b> (NSString*)code<b> inEnvironment:</b> (<a rel="gsdoc" href="STEnvironment.html#class$STEnvironment">STEnvironment</a>*)env;<br />
Subclasses <strong>should</strong> override this method.<br />
<p>
Interpret source code <var>code</var> in a
<var>context</var> <var>context</var>. This is the
method, that has to be implemented by those who are
writing a language engine.
Execude source <var>code</var> <var>code</var> in
an environment <var>env</var>. This is the method, that
has to be implemented by those who are writing a
language engine.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEngine-methodFromSource:forReceiver:inContext:">methodFromSource:&nbsp;forReceiver:&nbsp;inContext:&nbsp;</a></h3>
- (STMethod*) <b>methodFromSource:</b> (NSString*)sourceString<b> forReceiver:</b> (id)receiver<b> inContext:</b> (<a rel="gsdoc" href="STContext.html#class$STContext">STContext</a>*)env;<br />
<h3><a name="method$STEngine-executeMethod:forReceiver:withArguments:inEnvironment:">executeMethod:forReceiver:withArguments:inEnvironment:</a></h3>
- (id) <b>executeMethod:</b> (id<<a rel="gsdoc" href="STMethod.html#protocol$(STMethod)">STMethod</a>>)aMethod<b> forReceiver:</b> (id)anObject<b> withArguments:</b> (NSArray*)args<b> inEnvironment:</b> (<a rel="gsdoc" href="STEnvironment.html#class$STEnvironment">STEnvironment</a>*)env;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEngine-understandsCode:">understandsCode:&nbsp;</a></h3>
<h3><a name="method$STEngine-methodFromSource:forReceiver:inEnvironment:">methodFromSource:forReceiver:inEnvironment:</a></h3>
- (<a rel="gsdoc" href="STMethod.html#class$STMethod">STMethod</a>*) <b>methodFromSource:</b> (NSString*)sourceString<b> forReceiver:</b> (id)receiver<b> inEnvironment:</b> (<a rel="gsdoc" href="STEnvironment.html#class$STEnvironment">STEnvironment</a>*)env;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEngine-setValue:forOption:">setValue:forOption:</a></h3>
- (void) <b>setValue:</b> (id)anObject<b> forOption:</b> (NSString*)anOption;<br />
<p>
Set engine specific option. Refer to particuliar
language engine documentation for more
information.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEngine-understandsCode:">understandsCode:</a></h3>
- (BOOL) <b>understandsCode:</b> (NSString*)code;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEngine-valueForOption:">valueForOption:</a></h3>
- (id) <b>valueForOption:</b> (NSString*)anOption;<br />
<p>
Returs a value for engine specific option
</p>
<hr width="25%" align="left" />
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</body>
</html>

View file

@ -1,9 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.0//EN" "http://www.gnustep.org/gsdoc-1_0_0.xml">
<gsdoc base="STEnvironment" up="StepTalk">
<head>
<title>STEnvironment class reference</title>
<author name="Stefan Urbanek">
<email address="urbanek@host.sk">
urbanek@host.sk
</email>
</author>
<copy>2002 Free Software Foundation</copy>
</head>
@ -13,36 +16,11 @@
<heading>
Software documentation for the STEnvironment class
</heading>
<class name="STEnvironment" super="STContext">
<class name="STEnvironment" super="NSObject">
<declared>StepTalk/STEnvironment.h</declared>
<desc>
<em>Description forthcoming.</em>
</desc>
<ivariable type="NSMutableDictionary*" name="classes" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="STEnvironmentDescription*" name="description" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSMutableDictionary*" name="infoCache" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSMutableArray*" name="loadedBundles" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSMutableDictionary*" name="objectFinders" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<method type="STEnvironment*" factory="yes">
<sel>environmentWithDefaultDescription</sel>
<desc>
@ -75,6 +53,27 @@
internally to add classes provided by modules.
</desc>
</method>
<method type="void">
<sel>addNamedObjectsFromDictionary:</sel>
<arg type="NSDictionary*">dict</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="BOOL">
<sel>createsUnknownObjects</sel>
<desc>
Returns <code>YES</code> if unknown objects are
being created.
</desc>
</method>
<method type="BOOL">
<sel>fullScriptingEnabled</sel>
<desc>
Returns <code>YES</code> if full scripting is
enabled.
</desc>
</method>
<method type="BOOL">
<sel>includeBundle:</sel>
<arg type="NSBundle*">aBundle</arg>
@ -103,12 +102,18 @@
</method>
<method type="id">
<sel>initWithDescription:</sel>
<arg type="bycopy STEnvironmentDescription*">aDescription</arg>
<arg type="STEnvironmentDescription*">aDescription</arg>
<desc>
Initialises scripting environment using
scripting description <var>aDescription</var>.
</desc>
</method>
<method type="NSArray*">
<sel>knownObjectNames</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void">
<sel>loadModule:</sel>
<arg type="NSString*">moduleName</arg>
@ -119,6 +124,33 @@
directory.
</desc>
</method>
<method type="NSMutableDictionary*">
<sel>objectDictionary</sel>
<desc>
Named objects and object references <br /> Returns a
dictionary of all named objects in the
environment.
</desc>
</method>
<method type="STObjectReference*">
<sel>objectReferenceForObjectWithName:</sel>
<arg type="NSString*">name</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="id">
<sel>objectWithName:</sel>
<arg type="NSString*">objName</arg>
<desc>
Return object with name <var>objName</var>. If
object is not found int the object dictionary, then
object finders are used to try to find the object.
If object is found by an object finder, then it is put
into the object dicitonary. If there is no object with
given name, <var><code>nil</code></var> is returned.
</desc>
</method>
<method type="void">
<sel>registerObjectFinder:</sel>
<arg type="id">finder</arg>
@ -148,6 +180,50 @@
<var>name</var>
</desc>
</method>
<method type="void">
<sel>removeObjectWithName:</sel>
<arg type="NSString*">objName</arg>
<desc>
Remove object named <var>objName</var>.
</desc>
</method>
<method type="void">
<sel>setCreatesUnknownObjects:</sel>
<arg type="BOOL">flag</arg>
<desc>
<p>
Enable or disable creation of unknown objects.
Normally you get <code>nil</code> if you request
for non-existant object. If <var>flag</var> is
<code>YES</code> then by requesting non-existant
object, name for that object is created and it is
set no STNil.
</p>
<p>
Note: This method will be probably removed (moved
to Smalltalk language bundle).
</p>
</desc>
</method>
<method type="void">
<sel>setFullScriptingEnabled:</sel>
<arg type="BOOL">flag</arg>
<desc>
Full scripting <br /> Enable or disable full
scripting. When full scripting is enabled, you
may send any message to any object.
</desc>
</method>
<method type="void">
<sel>setObject:</sel>
<arg type="id">anObject</arg>
<sel>forName:</sel>
<arg type="NSString*">objName</arg>
<desc>
Register object <var>anObject</var> with name
<var>objName</var>.
</desc>
</method>
<method type="NSString*">
<sel>translateSelector:</sel>
<arg type="NSString*">aString</arg>

View file

@ -4,13 +4,12 @@
<title>STEnvironment class reference</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STEnvironment">STEnvironment class reference</a></h1>
<h3>Authors</h3>
<dl>
<dt>Stefan Urbanek</dt>
<dt>Stefan Urbanek (<a href="mailto:urbanek@host.sk"><code>urbanek@host.sk</code></a>)</dt>
<dd>
</dd>
</dl>
@ -22,7 +21,7 @@
<h1><a name="001000000000">
Software documentation for the STEnvironment class
</a></h1>
<h2><a name="class$STEnvironment">STEnvironment</a> : <a rel="gsdoc" href="STContext.html#class$STContext">STContext</a></h2>
<h2><a name="class$STEnvironment">STEnvironment</a> : NSObject</h2>
<blockquote>
<dl>
<dt><b>Declared in:</b></dt>
@ -34,27 +33,39 @@
<em>Description forthcoming.</em>
</p>
<hr width="50%" align="left" />
<a href="#_STEnvironment_ivars">Instance Variables</a>
<br/><br/>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment+defaultScriptingEnvironment">+defaultScriptingEnvironment</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment+environmentWithDefaultDescription">+environmentWithDefaultDescription</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment+environmentWithDescription:">+environmentWithDescription:</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment+environmentWithDescriptionName:">+environmentWithDescriptionName:</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment+sharedEnvironment">+sharedEnvironment</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-addClassesWithNames:">-addClassesWithNames:</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-addNamedObjectsFromDictionary:">-addNamedObjectsFromDictionary:</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-createsUnknownObjects">-createsUnknownObjects</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-fullScriptingEnabled">-fullScriptingEnabled</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-includeBundle:">-includeBundle:</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-includeFramework:">-includeFramework:</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-initDefault">-initDefault</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-initWithDefaultDescription">-initWithDefaultDescription</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-initWithDescription:">-initWithDescription:</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-initWithDescriptionName:">-initWithDescriptionName:</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-knownObjectNames">-knownObjectNames</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-loadModule:">-loadModule:</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-objectDictionary">-objectDictionary</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-objectReferenceForObjectWithName:">-objectReferenceForObjectWithName:</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-objectWithName:">-objectWithName:</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-registerObjectFinder:name:">-registerObjectFinder:name:</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-registerObjectFinderNamed:">-registerObjectFinderNamed:</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-removeObjectFinderWithName:">-removeObjectFinderWithName:</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-removeObjectWithName:">-removeObjectWithName:</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-setCreatesUnknownObjects:">-setCreatesUnknownObjects:</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-setFullScriptingEnabled:">-setFullScriptingEnabled:</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-setObject:forName:">-setObject:forName:</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#method$STEnvironment-translateSelector:forReceiver:">-translateSelector:forReceiver:</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$STEnvironment+environmentWithDefaultDescription">environmentWithDefaultDescription&nbsp;</a></h3>
<h3><a name="method$STEnvironment+environmentWithDefaultDescription">environmentWithDefaultDescription</a></h3>
+ (<a rel="gsdoc" href="#class$STEnvironment">STEnvironment</a>*) <b>environmentWithDefaultDescription</b>;<br />
<p>
@ -63,8 +74,8 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment+environmentWithDescription:">environmentWithDescription:&nbsp;</a></h3>
+ (id) <b>environmentWithDescription:</b> (<a rel="gsdoc" href="STEnvironmentDescription.html#class$STEnvironmentDescription">STEnvironmentDescription</a>*)aDescription;<br />
<h3><a name="method$STEnvironment+environmentWithDescription:">environmentWithDescription:</a></h3>
+ (id) <b>environmentWithDescription:</b> (STEnvironmentDescription*)aDescription;<br />
<p>
Creates and initialises scripting environment using
@ -72,7 +83,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment+sharedEnvironment">sharedEnvironment&nbsp;</a></h3>
<h3><a name="method$STEnvironment+sharedEnvironment">sharedEnvironment</a></h3>
+ (id) <b>sharedEnvironment</b>;<br />
<p>
@ -82,7 +93,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment-addClassesWithNames:">addClassesWithNames:&nbsp;</a></h3>
<h3><a name="method$STEnvironment-addClassesWithNames:">addClassesWithNames:</a></h3>
- (void) <b>addClassesWithNames:</b> (NSArray*)names;<br />
<p>
@ -92,7 +103,33 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment-includeBundle:">includeBundle:&nbsp;</a></h3>
<h3><a name="method$STEnvironment-addNamedObjectsFromDictionary:">addNamedObjectsFromDictionary:</a></h3>
- (void) <b>addNamedObjectsFromDictionary:</b> (NSDictionary*)dict;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment-createsUnknownObjects">createsUnknownObjects</a></h3>
- (BOOL) <b>createsUnknownObjects</b>;<br />
<p>
Returns <code>YES</code> if unknown objects are
being created.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment-fullScriptingEnabled">fullScriptingEnabled</a></h3>
- (BOOL) <b>fullScriptingEnabled</b>;<br />
<p>
Returns <code>YES</code> if full scripting is
enabled.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment-includeBundle:">includeBundle:</a></h3>
- (BOOL) <b>includeBundle:</b> (NSBundle*)aBundle;<br />
<p>
@ -100,7 +137,7 @@
bundle
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment-includeFramework:">includeFramework:&nbsp;</a></h3>
<h3><a name="method$STEnvironment-includeFramework:">includeFramework:</a></h3>
- (BOOL) <b>includeFramework:</b> (NSString*)frameworkName;<br />
<p>
@ -109,7 +146,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment-initWithDefaultDescription">initWithDefaultDescription&nbsp;</a></h3>
<h3><a name="method$STEnvironment-initWithDefaultDescription">initWithDefaultDescription</a></h3>
- (id) <b>initWithDefaultDescription</b>;<br />
This is a designated initialiser for the class.<br />
<p>
@ -119,8 +156,8 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment-initWithDescription:">initWithDescription:&nbsp;</a></h3>
- (id) <b>initWithDescription:</b> (bycopy <a rel="gsdoc" href="STEnvironmentDescription.html#class$STEnvironmentDescription">STEnvironmentDescription</a>*)aDescription;<br />
<h3><a name="method$STEnvironment-initWithDescription:">initWithDescription:</a></h3>
- (id) <b>initWithDescription:</b> (STEnvironmentDescription*)aDescription;<br />
<p>
Initialises scripting environment using
@ -128,7 +165,15 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment-loadModule:">loadModule:&nbsp;</a></h3>
<h3><a name="method$STEnvironment-knownObjectNames">knownObjectNames</a></h3>
- (NSArray*) <b>knownObjectNames</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment-loadModule:">loadModule:</a></h3>
- (void) <b>loadModule:</b> (NSString*)moduleName;<br />
<p>
@ -139,7 +184,38 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment-registerObjectFinder:name:">registerObjectFinder:&nbsp;name:&nbsp;</a></h3>
<h3><a name="method$STEnvironment-objectDictionary">objectDictionary</a></h3>
- (NSMutableDictionary*) <b>objectDictionary</b>;<br />
<p>
Named objects and object references <br /> Returns a
dictionary of all named objects in the
environment.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment-objectReferenceForObjectWithName:">objectReferenceForObjectWithName:</a></h3>
- (<a rel="gsdoc" href="STObjectReference.html#class$STObjectReference">STObjectReference</a>*) <b>objectReferenceForObjectWithName:</b> (NSString*)name;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment-objectWithName:">objectWithName:</a></h3>
- (id) <b>objectWithName:</b> (NSString*)objName;<br />
<p>
Return object with name <var>objName</var>. If
object is not found int the object dictionary, then
object finders are used to try to find the object.
If object is found by an object finder, then it is put
into the object dicitonary. If there is no object with
given name, <var><code>nil</code></var> is returned.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment-registerObjectFinder:name:">registerObjectFinder:name:</a></h3>
- (void) <b>registerObjectFinder:</b> (id)finder<b> name:</b> (NSString*)name;<br />
<p>
@ -149,7 +225,7 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment-registerObjectFinderNamed:">registerObjectFinderNamed:&nbsp;</a></h3>
<h3><a name="method$STEnvironment-registerObjectFinderNamed:">registerObjectFinderNamed:</a></h3>
- (void) <b>registerObjectFinderNamed:</b> (NSString*)name;<br />
<p>
@ -160,7 +236,7 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment-removeObjectFinderWithName:">removeObjectFinderWithName:&nbsp;</a></h3>
<h3><a name="method$STEnvironment-removeObjectFinderWithName:">removeObjectFinderWithName:</a></h3>
- (void) <b>removeObjectFinderWithName:</b> (NSString*)name;<br />
<p>
@ -169,7 +245,63 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment-translateSelector:forReceiver:">translateSelector:&nbsp;forReceiver:&nbsp;</a></h3>
<h3><a name="method$STEnvironment-removeObjectWithName:">removeObjectWithName:</a></h3>
- (void) <b>removeObjectWithName:</b> (NSString*)objName;<br />
<p>
Remove object named <var>objName</var>.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment-setCreatesUnknownObjects:">setCreatesUnknownObjects:</a></h3>
- (void) <b>setCreatesUnknownObjects:</b> (BOOL)flag;<br />
<p>
</p>
<p>
Enable or disable creation of unknown objects.
Normally you get <code>nil</code> if you request
for non-existant object. If <var>flag</var> is
<code>YES</code> then by requesting non-existant
object, name for that object is created and it is
set no STNil.
</p>
<p>
</p>
<p>
Note: This method will be probably removed (moved
to Smalltalk language bundle).
</p>
<p>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment-setFullScriptingEnabled:">setFullScriptingEnabled:</a></h3>
- (void) <b>setFullScriptingEnabled:</b> (BOOL)flag;<br />
<p>
Full scripting <br /> Enable or disable full
scripting. When full scripting is enabled, you
may send any message to any object.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment-setObject:forName:">setObject:forName:</a></h3>
- (void) <b>setObject:</b> (id)anObject<b> forName:</b> (NSString*)objName;<br />
<p>
Register object <var>anObject</var> with name
<var>objName</var>.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironment-translateSelector:forReceiver:">translateSelector:forReceiver:</a></h3>
- (NSString*) <b>translateSelector:</b> (NSString*)aString<b> forReceiver:</b> (id)anObject;<br />
<p>
@ -177,51 +309,7 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<a name="_STEnvironment_ivars"/> <br/><hr width="50%" align="left" />
<h2>Instance Variables for STEnvironment Class</h2>
<h3><a name="ivariable$STEnvironment*classes">classes</a></h3>
@protected NSMutableDictionary* <b>classes</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STEnvironment*description">description</a></h3>
@protected STEnvironmentDescription* <b>description</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STEnvironment*infoCache">infoCache</a></h3>
@protected NSMutableDictionary* <b>infoCache</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STEnvironment*loadedBundles">loadedBundles</a></h3>
@protected NSMutableArray* <b>loadedBundles</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STEnvironment*objectFinders">objectFinders</a></h3>
@protected NSMutableDictionary* <b>objectFinders</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<br/><hr width="50%" align="left" /><br/>
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</body>
</html>

View file

@ -1,139 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<gsdoc base="STEnvironmentDescription" up="StepTalk">
<head>
<title>STEnvironmentDescription class documentation</title>
<author name="Stefan Urbanek">
</author>
<copy>2002 Free Software Foundation</copy>
</head>
<body>
<front><contents /></front>
<chapter>
<heading>
Software documentation for the
STEnvironmentDescription class
</heading>
<class name="STEnvironmentDescription" super="NSObject">
<declared>StepTalk/STEnvironmentDescription.h</declared>
<desc>
<em>Description forthcoming.</em>
</desc>
<ivariable type="NSMutableDictionary*" name="aliases" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSMutableDictionary*" name="behaviours" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSMutableDictionary*" name="classes" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSMutableArray*" name="finders" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSMutableArray*" name="frameworks" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSMutableArray*" name="modules" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="int" name="restriction" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSMutableArray*" name="usedDefs" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<method type="NSString*" factory="yes">
<sel>defaultDescriptionName</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="id" factory="yes">
<sel>descriptionFromDictionary:</sel>
<arg type="NSDictionary*">dictionary</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="id" factory="yes">
<sel>descriptionWithName:</sel>
<arg type="NSString*">descriptionName</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSMutableDictionary*">
<sel>classes</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSArray*">
<sel>frameworks</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="id">
<sel>initFromDictionary:</sel>
<arg type="NSDictionary*">def</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="id">
<sel>initWithName:</sel>
<arg type="NSString*">defName</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSArray*">
<sel>modules</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSArray*">
<sel>objectFinders</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void">
<sel>updateClassWithName:</sel>
<arg type="NSString*">className</arg>
<sel>description:</sel>
<arg type="NSDictionary*">def</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void">
<sel>updateFromDictionary:</sel>
<arg type="NSDictionary*">def</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
</class>
</chapter>
</body>
</gsdoc>

View file

@ -1,215 +0,0 @@
<html>
<head>
<title>STEnvironmentDescription class documentation</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STEnvironmentDescription">STEnvironmentDescription class documentation</a></h1>
<h3>Authors</h3>
<dl>
<dt>Stefan Urbanek</dt>
<dd>
</dd>
</dl>
<p><b>Copyright:</b> (C) 2002 Free Software Foundation</p>
<div>
</div>
<h1><a name="001000000000">
Software documentation for the
STEnvironmentDescription class
</a></h1>
<h2><a name="class$STEnvironmentDescription">STEnvironmentDescription</a> : NSObject</h2>
<blockquote>
<dl>
<dt><b>Declared in:</b></dt>
<dd>StepTalk/STEnvironmentDescription.h</dd>
</dl>
</blockquote>
<p>
<em>Description forthcoming.</em>
</p>
<hr width="50%" align="left" />
<a href="#_STEnvironmentDescription_ivars">Instance Variables</a>
<br/><br/>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="STEnvironmentDescription.html#method$STEnvironmentDescription+defaultDescriptionName">+defaultDescriptionName</a></li>
<li><a rel="gsdoc" href="STEnvironmentDescription.html#method$STEnvironmentDescription+descriptionFromDictionary:">+descriptionFromDictionary:</a></li>
<li><a rel="gsdoc" href="STEnvironmentDescription.html#method$STEnvironmentDescription+descriptionWithName:">+descriptionWithName:</a></li>
<li><a rel="gsdoc" href="STEnvironmentDescription.html#method$STEnvironmentDescription-classes">-classes</a></li>
<li><a rel="gsdoc" href="STEnvironmentDescription.html#method$STEnvironmentDescription-frameworks">-frameworks</a></li>
<li><a rel="gsdoc" href="STEnvironmentDescription.html#method$STEnvironmentDescription-initFromDictionary:">-initFromDictionary:</a></li>
<li><a rel="gsdoc" href="STEnvironmentDescription.html#method$STEnvironmentDescription-initWithName:">-initWithName:</a></li>
<li><a rel="gsdoc" href="STEnvironmentDescription.html#method$STEnvironmentDescription-modules">-modules</a></li>
<li><a rel="gsdoc" href="STEnvironmentDescription.html#method$STEnvironmentDescription-objectFinders">-objectFinders</a></li>
<li><a rel="gsdoc" href="STEnvironmentDescription.html#method$STEnvironmentDescription-updateClassWithName:description:">-updateClassWithName:description:</a></li>
<li><a rel="gsdoc" href="STEnvironmentDescription.html#method$STEnvironmentDescription-updateFromDictionary:">-updateFromDictionary:</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$STEnvironmentDescription+defaultDescriptionName">defaultDescriptionName&nbsp;</a></h3>
+ (NSString*) <b>defaultDescriptionName</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironmentDescription+descriptionFromDictionary:">descriptionFromDictionary:&nbsp;</a></h3>
+ (id) <b>descriptionFromDictionary:</b> (NSDictionary*)dictionary;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironmentDescription+descriptionWithName:">descriptionWithName:&nbsp;</a></h3>
+ (id) <b>descriptionWithName:</b> (NSString*)descriptionName;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironmentDescription-classes">classes&nbsp;</a></h3>
- (NSMutableDictionary*) <b>classes</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironmentDescription-frameworks">frameworks&nbsp;</a></h3>
- (NSArray*) <b>frameworks</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironmentDescription-initFromDictionary:">initFromDictionary:&nbsp;</a></h3>
- (id) <b>initFromDictionary:</b> (NSDictionary*)def;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironmentDescription-initWithName:">initWithName:&nbsp;</a></h3>
- (id) <b>initWithName:</b> (NSString*)defName;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironmentDescription-modules">modules&nbsp;</a></h3>
- (NSArray*) <b>modules</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironmentDescription-objectFinders">objectFinders&nbsp;</a></h3>
- (NSArray*) <b>objectFinders</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironmentDescription-updateClassWithName:description:">updateClassWithName:&nbsp;description:&nbsp;</a></h3>
- (void) <b>updateClassWithName:</b> (NSString*)className<b> description:</b> (NSDictionary*)def;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STEnvironmentDescription-updateFromDictionary:">updateFromDictionary:&nbsp;</a></h3>
- (void) <b>updateFromDictionary:</b> (NSDictionary*)def;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<a name="_STEnvironmentDescription_ivars"/> <br/><hr width="50%" align="left" />
<h2>Instance Variables for STEnvironmentDescription Class</h2>
<h3><a name="ivariable$STEnvironmentDescription*aliases">aliases</a></h3>
@protected NSMutableDictionary* <b>aliases</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STEnvironmentDescription*behaviours">behaviours</a></h3>
@protected NSMutableDictionary* <b>behaviours</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STEnvironmentDescription*classes">classes</a></h3>
@protected NSMutableDictionary* <b>classes</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STEnvironmentDescription*finders">finders</a></h3>
@protected NSMutableArray* <b>finders</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STEnvironmentDescription*frameworks">frameworks</a></h3>
@protected NSMutableArray* <b>frameworks</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STEnvironmentDescription*modules">modules</a></h3>
@protected NSMutableArray* <b>modules</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STEnvironmentDescription*restriction">restriction</a></h3>
@protected int <b>restriction</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STEnvironmentDescription*usedDefs">usedDefs</a></h3>
@protected NSMutableArray* <b>usedDefs</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<br/><hr width="50%" align="left" /><br/>
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</html>

View file

@ -1,9 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.0//EN" "http://www.gnustep.org/gsdoc-1_0_0.xml">
<gsdoc base="STExterns" up="StepTalk">
<head>
<title>STExterns documentation</title>
<title>STExterns autogsdoc generated documentation</title>
<author name="Stefan Urbanek">
<email address="urbanek@host.sk">
urbanek@host.sk
</email>
</author>
<copy>2002 Free Software Foundation</copy>
</head>

View file

@ -1,16 +1,15 @@
<html>
<head>
<title>STExterns documentation</title>
<title>STExterns autogsdoc generated documentation</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STExterns">STExterns documentation</a></h1>
<h1><a name="title$STExterns">STExterns autogsdoc generated documentation</a></h1>
<h3>Authors</h3>
<dl>
<dt>Stefan Urbanek</dt>
<dt>Stefan Urbanek (<a href="mailto:urbanek@host.sk"><code>urbanek@host.sk</code></a>)</dt>
<dd>
</dd>
</dl>
@ -152,6 +151,5 @@
<hr width="25%" align="left" />
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</body>
</html>

View file

@ -1,95 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<gsdoc base="STFileScript" up="StepTalk">
<head>
<title>STFileScript class documentation</title>
<author name="Stefan Urbanek">
<email address="stefanurbanek@yahoo.fr">
stefanurbanek@yahoo.fr
</email>
</author>
<copy>2002 Stefan Urbanek</copy>
</head>
<body>
<front><contents /></front>
<chapter>
<heading>
Software documentation for the STFileScript class
</heading>
<class name="STFileScript" super="STScript">
<declared>StepTalk/STFileScript.h</declared>
<desc>
<em>Description forthcoming.</em>
</desc>
<ivariable type="NSString*" name="description" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSString*" name="fileName" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSString*" name="localizedName" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSString*" name="menuKey" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<method type="id" factory="yes">
<sel>scriptWithFile:</sel>
<arg type="NSString*">file</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSComparisonResult">
<sel>compareByLocalizedName:</sel>
<arg type="STFileScript*">aScript</arg>
<desc>
Compare scripts by localized name.
</desc>
</method>
<method type="NSString*">
<sel>fileName</sel>
<desc>
Return file name of the receiver.
</desc>
</method>
<method type="id">
<sel>initWithFile:</sel>
<arg type="NSString*">aFile</arg>
<desc>
Create a new script from file <var>aFile></var>.
Script information will be read from 'aFile.stinfo'
file containing a dictionary property list.
</desc>
</method>
<method type="NSString*">
<sel>localizedName</sel>
<desc>
Returns localized name of the receiver script.
</desc>
</method>
<method type="NSString*">
<sel>scriptDescription</sel>
<desc>
Returns localized description of the script.
</desc>
</method>
<method type="NSString*">
<sel>scriptName</sel>
<desc>
Returns a script name by which the script is
identified
</desc>
</method>
</class>
</chapter>
</body>
</gsdoc>

View file

@ -1,149 +0,0 @@
<html>
<head>
<title>STFileScript class documentation</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STFileScript">STFileScript class documentation</a></h1>
<h3>Authors</h3>
<dl>
<dt>Stefan Urbanek (<a href="mailto:stefanurbanek@yahoo.fr"><code>stefanurbanek@yahoo.fr</code></a>)</dt>
<dd>
</dd>
</dl>
<p><b>Copyright:</b> (C) 2002 Stefan Urbanek</p>
<div>
</div>
<h1><a name="001000000000">
Software documentation for the STFileScript class
</a></h1>
<h2><a name="class$STFileScript">STFileScript</a> : <a rel="gsdoc" href="STScript.html#class$STScript">STScript</a></h2>
<blockquote>
<dl>
<dt><b>Declared in:</b></dt>
<dd>StepTalk/STFileScript.h</dd>
</dl>
</blockquote>
<p>
<em>Description forthcoming.</em>
</p>
<hr width="50%" align="left" />
<a href="#_STFileScript_ivars">Instance Variables</a>
<br/><br/>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="STFileScript.html#method$STFileScript+scriptWithFile:">+scriptWithFile:</a></li>
<li><a rel="gsdoc" href="STFileScript.html#method$STFileScript-compareByLocalizedName:">-compareByLocalizedName:</a></li>
<li><a rel="gsdoc" href="STFileScript.html#method$STFileScript-fileName">-fileName</a></li>
<li><a rel="gsdoc" href="STFileScript.html#method$STFileScript-initWithFile:">-initWithFile:</a></li>
<li><a rel="gsdoc" href="STFileScript.html#method$STFileScript-localizedName">-localizedName</a></li>
<li><a rel="gsdoc" href="STFileScript.html#method$STFileScript-scriptDescription">-scriptDescription</a></li>
<li><a rel="gsdoc" href="STFileScript.html#method$STFileScript-scriptName">-scriptName</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$STFileScript+scriptWithFile:">scriptWithFile:&nbsp;</a></h3>
+ (id) <b>scriptWithFile:</b> (NSString*)file;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STFileScript-compareByLocalizedName:">compareByLocalizedName:&nbsp;</a></h3>
- (NSComparisonResult) <b>compareByLocalizedName:</b> (<a rel="gsdoc" href="#class$STFileScript">STFileScript</a>*)aScript;<br />
<p>
Compare scripts by localized name.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STFileScript-fileName">fileName&nbsp;</a></h3>
- (NSString*) <b>fileName</b>;<br />
<p>
Return file name of the receiver.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STFileScript-initWithFile:">initWithFile:&nbsp;</a></h3>
- (id) <b>initWithFile:</b> (NSString*)aFile;<br />
<p>
Create a new script from file <var>aFile&gt;</var>.
Script information will be read from &apos;aFile.stinfo&apos;
file containing a dictionary property list.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STFileScript-localizedName">localizedName&nbsp;</a></h3>
- (NSString*) <b>localizedName</b>;<br />
<p>
Returns localized name of the receiver script.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STFileScript-scriptDescription">scriptDescription&nbsp;</a></h3>
- (NSString*) <b>scriptDescription</b>;<br />
<p>
Returns localized description of the script.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STFileScript-scriptName">scriptName&nbsp;</a></h3>
- (NSString*) <b>scriptName</b>;<br />
<p>
Returns a script name by which the script is
identified
</p>
<hr width="25%" align="left" />
<a name="_STFileScript_ivars"/> <br/><hr width="50%" align="left" />
<h2>Instance Variables for STFileScript Class</h2>
<h3><a name="ivariable$STFileScript*description">description</a></h3>
@protected NSString* <b>description</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STFileScript*fileName">fileName</a></h3>
@protected NSString* <b>fileName</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STFileScript*localizedName">localizedName</a></h3>
@protected NSString* <b>localizedName</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STFileScript*menuKey">menuKey</a></h3>
@protected NSString* <b>menuKey</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<br/><hr width="50%" align="left" /><br/>
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</html>

View file

@ -1,9 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.0//EN" "http://www.gnustep.org/gsdoc-1_0_0.xml">
<gsdoc base="STFunctions" up="StepTalk">
<head>
<title>STFunctions documentation</title>
<title>STFunctions autogsdoc generated documentation</title>
<author name="Stefan Urbanek">
<email address="urbanek@host.sk">
urbanek@host.sk
</email>
</author>
<copy>2002 Free Software Foundation</copy>
</head>

View file

@ -1,16 +1,15 @@
<html>
<head>
<title>STFunctions documentation</title>
<title>STFunctions autogsdoc generated documentation</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STFunctions">STFunctions documentation</a></h1>
<h1><a name="title$STFunctions">STFunctions autogsdoc generated documentation</a></h1>
<h3>Authors</h3>
<dl>
<dt>Stefan Urbanek</dt>
<dt>Stefan Urbanek (<a href="mailto:urbanek@host.sk"><code>urbanek@host.sk</code></a>)</dt>
<dd>
</dd>
</dl>
@ -48,6 +47,5 @@
<hr width="25%" align="left" />
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</body>
</html>

View file

@ -0,0 +1,95 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.0//EN" "http://www.gnustep.org/gsdoc-1_0_0.xml">
<gsdoc base="STLanguage" up="StepTalk">
<head>
<title>STLanguage class documentation</title>
<author name="Stefan Urbanek">
<email address="urbanek@host.sk">
urbanek@host.sk
</email>
</author>
<copy>2002 Free Software Foundation</copy>
</head>
<body>
<front><contents /></front>
<chapter>
<heading>
Software documentation for the STLanguage class
</heading>
<class name="STLanguage" super="NSBundle">
<declared>StepTalk/STLanguage.h</declared>
<desc>
<em>Description forthcoming.</em>
</desc>
<method type="NSArray*" factory="yes">
<sel>allKnownFileTypes</sel>
<desc>
Return all known types (extensions) of StepTalk
script files
</desc>
</method>
<method type="NSArray*" factory="yes">
<sel>allLanguageNames</sel>
<desc>
Returns an array containing the names of all
available languages
</desc>
</method>
<method type="NSString*" factory="yes">
<sel>defaultLanguageName</sel>
<desc>
Returns the name of default scripting language
specified by the STDefaultLanguageName default.
If there is no such default in user's defaults database,
then Smalltalk is used.
</desc>
</method>
<method type="STLanguage*" factory="yes">
<sel>languageForFileType:</sel>
<arg type="NSString*">fileType</arg>
<desc>
Returns the language bundle for a language used by
files of type <var>fileType</var>.
</desc>
</method>
<method type="NSString*" factory="yes">
<sel>languageNameForFileType:</sel>
<arg type="NSString*">fileType</arg>
<desc>
Returns name of a language used by files of type
<var>fileType</var>.
</desc>
</method>
<method type="id" factory="yes">
<sel>languageWithName:</sel>
<arg type="NSString*">languageName</arg>
<desc>
Returns language bundle for a language with name
<var>languageName</var>
</desc>
</method>
<method type="id" factory="yes">
<sel>languageWithPath:</sel>
<arg type="NSString*">path</arg>
<desc>
Returns language bundle for language with name
<var>languageName</var>.
</desc>
</method>
<method type="STEngine*">
<sel>engine</sel>
<desc>
Returns a scripting engine provided by the
language.
</desc>
</method>
<method type="NSString*">
<sel>languageName</sel>
<desc>
Returns the name of the language
</desc>
</method>
</class>
</chapter>
</body>
</gsdoc>

View file

@ -0,0 +1,134 @@
<html>
<head>
<title>STLanguage class documentation</title>
</head>
<body>
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STLanguage">STLanguage class documentation</a></h1>
<h3>Authors</h3>
<dl>
<dt>Stefan Urbanek (<a href="mailto:urbanek@host.sk"><code>urbanek@host.sk</code></a>)</dt>
<dd>
</dd>
</dl>
<p><b>Copyright:</b> (C) 2002 Free Software Foundation</p>
<div>
</div>
<h1><a name="001000000000">
Software documentation for the STLanguage class
</a></h1>
<h2><a name="class$STLanguage">STLanguage</a> : NSBundle</h2>
<blockquote>
<dl>
<dt><b>Declared in:</b></dt>
<dd>StepTalk/STLanguage.h</dd>
</dl>
</blockquote>
<p>
<em>Description forthcoming.</em>
</p>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="STLanguage.html#method$STLanguage+allKnownFileTypes">+allKnownFileTypes</a></li>
<li><a rel="gsdoc" href="STLanguage.html#method$STLanguage+allLanguageNames">+allLanguageNames</a></li>
<li><a rel="gsdoc" href="STLanguage.html#method$STLanguage+defaultLanguageName">+defaultLanguageName</a></li>
<li><a rel="gsdoc" href="STLanguage.html#method$STLanguage+languageForFileType:">+languageForFileType:</a></li>
<li><a rel="gsdoc" href="STLanguage.html#method$STLanguage+languageNameForFileType:">+languageNameForFileType:</a></li>
<li><a rel="gsdoc" href="STLanguage.html#method$STLanguage+languageWithName:">+languageWithName:</a></li>
<li><a rel="gsdoc" href="STLanguage.html#method$STLanguage+languageWithPath:">+languageWithPath:</a></li>
<li><a rel="gsdoc" href="STLanguage.html#method$STLanguage-engine">-engine</a></li>
<li><a rel="gsdoc" href="STLanguage.html#method$STLanguage-languageName">-languageName</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$STLanguage+allKnownFileTypes">allKnownFileTypes</a></h3>
+ (NSArray*) <b>allKnownFileTypes</b>;<br />
<p>
Return all known types (extensions) of StepTalk
script files
</p>
<hr width="25%" align="left" />
<h3><a name="method$STLanguage+allLanguageNames">allLanguageNames</a></h3>
+ (NSArray*) <b>allLanguageNames</b>;<br />
<p>
Returns an array containing the names of all
available languages
</p>
<hr width="25%" align="left" />
<h3><a name="method$STLanguage+defaultLanguageName">defaultLanguageName</a></h3>
+ (NSString*) <b>defaultLanguageName</b>;<br />
<p>
Returns the name of default scripting language
specified by the STDefaultLanguageName default.
If there is no such default in user&apos;s defaults database,
then Smalltalk is used.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STLanguage+languageForFileType:">languageForFileType:</a></h3>
+ (<a rel="gsdoc" href="#class$STLanguage">STLanguage</a>*) <b>languageForFileType:</b> (NSString*)fileType;<br />
<p>
Returns the language bundle for a language used by
files of type <var>fileType</var>.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STLanguage+languageNameForFileType:">languageNameForFileType:</a></h3>
+ (NSString*) <b>languageNameForFileType:</b> (NSString*)fileType;<br />
<p>
Returns name of a language used by files of type
<var>fileType</var>.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STLanguage+languageWithName:">languageWithName:</a></h3>
+ (id) <b>languageWithName:</b> (NSString*)languageName;<br />
<p>
Returns language bundle for a language with name
<var>languageName</var>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STLanguage+languageWithPath:">languageWithPath:</a></h3>
+ (id) <b>languageWithPath:</b> (NSString*)path;<br />
<p>
Returns language bundle for language with name
<var>languageName</var>.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STLanguage-engine">engine</a></h3>
- (<a rel="gsdoc" href="STEngine.html#class$STEngine">STEngine</a>*) <b>engine</b>;<br />
<p>
Returns a scripting engine provided by the
language.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STLanguage-languageName">languageName</a></h3>
- (NSString*) <b>languageName</b>;<br />
<p>
Returns the name of the language
</p>
<hr width="25%" align="left" />
<br />
<a href="StepTalk.html">Up</a>
</body>
</html>

View file

@ -1,148 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<gsdoc base="STLanguageManager" up="StepTalk">
<head>
<title>STLanguageManager class documentation</title>
<author name="Generated by stevko"></author>
</head>
<body>
<front><contents /></front>
<chapter>
<heading>
Software documentation for the STLanguageManager class
</heading>
<class name="STLanguageManager" super="NSObject">
<declared>StepTalk/STLanguageManager.h</declared>
<desc>
<em>Description forthcoming.</em>
</desc>
<ivariable type="NSMutableDictionary*" name="engineClasses" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSMutableDictionary*" name="fileTypes" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSMutableDictionary*" name="languageBundles" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSMutableDictionary*" name="languageInfos" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSMutableArray*" name="languages" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<method type="STLanguageManager*" factory="yes">
<sel>defaultManager</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSArray*">
<sel>availableLanguages</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSBundle*">
<sel>bundleForLanguage:</sel>
<arg type="NSString*">language</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="STEngine*">
<sel>createEngineForLanguage:</sel>
<arg type="NSString*">language</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*">
<sel>defaultLanguage</sel>
<desc>
Returns the name of default scripting language
specified by the STDefaultLanguage default. If
there is no such default in user's defaults database,
then Smalltalk is used.
</desc>
</method>
<method type="Class">
<sel>engineClassForLanguage:</sel>
<arg type="NSString*">language</arg>
<desc>
Return an engine class for specified
<var>language</var>. The class lookup is as follows:
<ul>
<li>
internal class dictionary by
<var>language</var> name
<li>
all loaded classes by class name in the
<var>language</var> info dictionary
<li>
in the <var>language</var> bundle
<li>
in the <var>language</var> bundle as
<i>language_nameEngine</i>
</ul>
</desc>
</method>
<method type="NSDictionary*">
<sel>infoForLanguage:</sel>
<arg type="NSString*">language</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSArray*">
<sel>knownFileTypes</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*">
<sel>languageForFileType:</sel>
<arg type="NSString*">type</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void">
<sel>registerLanguage:</sel>
<arg type="NSString*">language</arg>
<sel>engineClass:</sel>
<arg type="Class">class</arg>
<sel>info:</sel>
<arg type="NSDictionary*">info</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void">
<sel>registerLanguagesFromBundle:</sel>
<arg type="NSBundle*">bundle</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void">
<sel>removeLanguage:</sel>
<arg type="NSString*">language</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
</class>
</chapter>
</body>
</gsdoc>

View file

@ -1,148 +0,0 @@
<html>
<head>
<title>STLanguageManager class documentation</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STLanguageManager">STLanguageManager class documentation</a></h1>
<h3>Authors</h3>
<dl>
<dt>Generated by stevko</dt>
<dd>
</dd>
</dl>
<div>
</div>
<h1><a name="001000000000">
Software documentation for the STLanguageManager class
</a></h1>
<h2><a name="class$STLanguageManager">STLanguageManager</a> : NSObject</h2>
<blockquote>
<dl>
<dt><b>Declared in:</b></dt>
<dd>StepTalk/STLanguageManager.h</dd>
</dl>
</blockquote>
<p>
<em>Description forthcoming.</em>
</p>
<hr width="50%" align="left" />
<a href="#_STLanguageManager_ivars">Instance Variables</a>
<br/><br/>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="STLanguageManager.html#method$STLanguageManager+defaultManager">+defaultManager</a></li>
<li><a rel="gsdoc" href="STLanguageManager.html#method$STLanguageManager-availableLanguages">-availableLanguages</a></li>
<li><a rel="gsdoc" href="STLanguageManager.html#method$STLanguageManager-bundleForLanguage:">-bundleForLanguage:</a></li>
<li><a rel="gsdoc" href="STLanguageManager.html#method$STLanguageManager-createEngineForLanguage:">-createEngineForLanguage:</a></li>
<li><a rel="gsdoc" href="STLanguageManager.html#method$STLanguageManager-defaultLanguage">-defaultLanguage</a></li>
<li><a rel="gsdoc" href="STLanguageManager.html#method$STLanguageManager-engineClassForLanguage:">-engineClassForLanguage:</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$STLanguageManager+defaultManager">defaultManager&nbsp;</a></h3>
+ (<a rel="gsdoc" href="#class$STLanguageManager">STLanguageManager</a>*) <b>defaultManager</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STLanguageManager-availableLanguages">availableLanguages&nbsp;</a></h3>
- (NSArray*) <b>availableLanguages</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STLanguageManager-bundleForLanguage:">bundleForLanguage:&nbsp;</a></h3>
- (NSBundle*) <b>bundleForLanguage:</b> (NSString*)language;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STLanguageManager-createEngineForLanguage:">createEngineForLanguage:&nbsp;</a></h3>
- (<a rel="gsdoc" href="STEngine.html#class$STEngine">STEngine</a>*) <b>createEngineForLanguage:</b> (NSString*)language;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STLanguageManager-defaultLanguage">defaultLanguage&nbsp;</a></h3>
- (NSString*) <b>defaultLanguage</b>;<br />
<p>
Returns the name of default scripting language
specified by the STDefaultLanguage default. If
there is no such default in user&apos;s defaults database,
then Smalltalk is used.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STLanguageManager-engineClassForLanguage:">engineClassForLanguage:&nbsp;</a></h3>
- (Class) <b>engineClassForLanguage:</b> (NSString*)language;<br />
<p>
Return an engine class for specified
<var>language</var>. The class lookup is as follows:
</p>
<hr width="25%" align="left" />
<a name="_STLanguageManager_ivars"/> <br/><hr width="50%" align="left" />
<h2>Instance Variables for STLanguageManager Class</h2>
<h3><a name="ivariable$STLanguageManager*engineClasses">engineClasses</a></h3>
@protected NSMutableDictionary* <b>engineClasses</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STLanguageManager*fileTypes">fileTypes</a></h3>
@protected NSMutableDictionary* <b>fileTypes</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STLanguageManager*languageBundles">languageBundles</a></h3>
@protected NSMutableDictionary* <b>languageBundles</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STLanguageManager*languageInfos">languageInfos</a></h3>
@protected NSMutableDictionary* <b>languageInfos</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STLanguageManager*languages">languages</a></h3>
@protected NSMutableArray* <b>languages</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<br/><hr width="50%" align="left" /><br/>
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</html>

View file

@ -1,9 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.0//EN" "http://www.gnustep.org/gsdoc-1_0_0.xml">
<gsdoc base="STMethod" up="StepTalk">
<head>
<title>STMethod documentation</title>
<title>STMethod autogsdoc generated documentation</title>
<author name="Stefan Urbanek">
<email address="urbanek@host.sk">
urbanek@host.sk
</email>
</author>
<copy>2003 Free Software Foundation</copy>
</head>

View file

@ -1,16 +1,15 @@
<html>
<head>
<title>STMethod documentation</title>
<title>STMethod autogsdoc generated documentation</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STMethod">STMethod documentation</a></h1>
<h1><a name="title$STMethod">STMethod autogsdoc generated documentation</a></h1>
<h3>Authors</h3>
<dl>
<dt>Stefan Urbanek</dt>
<dt>Stefan Urbanek (<a href="mailto:urbanek@host.sk"><code>urbanek@host.sk</code></a>)</dt>
<dd>
</dd>
</dl>
@ -41,7 +40,7 @@
<li><a rel="gsdoc" href="STMethod.html#method$(STMethod)-source">-source</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$(STMethod)-languageName">languageName&nbsp;</a></h3>
<h3><a name="method$(STMethod)-languageName">languageName</a></h3>
- (NSString*) <b>languageName</b>;<br />
<p>
@ -49,7 +48,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$(STMethod)-methodName">methodName&nbsp;</a></h3>
<h3><a name="method$(STMethod)-methodName">methodName</a></h3>
- (NSString*) <b>methodName</b>;<br />
<p>
@ -57,7 +56,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$(STMethod)-source">source&nbsp;</a></h3>
<h3><a name="method$(STMethod)-source">source</a></h3>
- (NSString*) <b>source</b>;<br />
<p>
@ -67,6 +66,5 @@
<hr width="25%" align="left" />
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</body>
</html>

View file

@ -1,9 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.0//EN" "http://www.gnustep.org/gsdoc-1_0_0.xml">
<gsdoc base="STObjCRuntime" up="StepTalk">
<head>
<title>STObjCRuntime documentation</title>
<title>STObjCRuntime autogsdoc generated documentation</title>
<author name="Stefan Urbanek">
<email address="urbanek@host.sk">
urbanek@host.sk
</email>
</author>
<copy>2002 Free Software Foundation</copy>
</head>
@ -28,12 +31,6 @@
<em>Description forthcoming.</em>
</desc>
</function>
<function type="NSMethodSignature*" name="STConstructMethodSignatureForSelector">
<arg type="SEL">sel</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</function>
<function type="NSMutableDictionary*" name="STGetFoundationConstants">
<desc>
<em>Description forthcoming.</em>

View file

@ -1,16 +1,15 @@
<html>
<head>
<title>STObjCRuntime documentation</title>
<title>STObjCRuntime autogsdoc generated documentation</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STObjCRuntime">STObjCRuntime documentation</a></h1>
<h1><a name="title$STObjCRuntime">STObjCRuntime autogsdoc generated documentation</a></h1>
<h3>Authors</h3>
<dl>
<dt>Stefan Urbanek</dt>
<dt>Stefan Urbanek (<a href="mailto:urbanek@host.sk"><code>urbanek@host.sk</code></a>)</dt>
<dd>
</dd>
</dl>
@ -44,14 +43,6 @@
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="function$STConstructMethodSignatureForSelector">STConstructMethodSignatureForSelector</a></h3>
NSMethodSignature* STConstructMethodSignatureForSelector(SEL <b>sel</b>);<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="function$STGetFoundationConstants">STGetFoundationConstants</a></h3>
@ -96,6 +87,5 @@
<hr width="25%" align="left" />
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</body>
</html>

View file

@ -1,9 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.0//EN" "http://www.gnustep.org/gsdoc-1_0_0.xml">
<gsdoc base="STObjectReference" up="StepTalk">
<head>
<title>STObjectReference class documentation</title>
<author name="Stefan Urbanek">
<email address="urbanek@host.sk">
urbanek@host.sk
</email>
</author>
<copy>2002 Free Software Foundation</copy>
</head>
@ -18,27 +21,11 @@
<desc>
<em>Description forthcoming.</em>
</desc>
<ivariable type="NSString*" name="identifier" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="id" name="target" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<method type="NSString*">
<sel>identifier</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="id">
<sel>initWithIdentifier:</sel>
<arg type="NSString*">ident</arg>
<sel>target:</sel>
<arg type="id">anObject</arg>
<sel>initWithObjectName:</sel>
<arg type="NSString*">name</arg>
<sel>pool:</sel>
<arg type="NSMutableDictionary*">aPool</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
@ -49,6 +36,18 @@
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*">
<sel>objectName</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSMutableDictionary*">
<sel>pool</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void">
<sel>setObject:</sel>
<arg type="id">anObject</arg>
@ -56,8 +55,16 @@
<em>Description forthcoming.</em>
</desc>
</method>
<method type="id">
<sel>target</sel>
<method type="void">
<sel>setObjectName:</sel>
<arg type="NSString*">newName</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void">
<sel>setPool:</sel>
<arg type="NSMutableDictionary*">aDict</arg>
<desc>
<em>Description forthcoming.</em>
</desc>

View file

@ -4,13 +4,12 @@
<title>STObjectReference class documentation</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STObjectReference">STObjectReference class documentation</a></h1>
<h3>Authors</h3>
<dl>
<dt>Stefan Urbanek</dt>
<dt>Stefan Urbanek (<a href="mailto:urbanek@host.sk"><code>urbanek@host.sk</code></a>)</dt>
<dd>
</dd>
</dl>
@ -34,35 +33,26 @@
<em>Description forthcoming.</em>
</p>
<hr width="50%" align="left" />
<a href="#_STObjectReference_ivars">Instance Variables</a>
<br/><br/>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="STObjectReference.html#method$STObjectReference-identifier">-identifier</a></li>
<li><a rel="gsdoc" href="STObjectReference.html#method$STObjectReference-initWithIdentifier:target:">-initWithIdentifier:target:</a></li>
<li><a rel="gsdoc" href="STObjectReference.html#method$STObjectReference-initWithObjectName:pool:">-initWithObjectName:pool:</a></li>
<li><a rel="gsdoc" href="STObjectReference.html#method$STObjectReference-object">-object</a></li>
<li><a rel="gsdoc" href="STObjectReference.html#method$STObjectReference-objectName">-objectName</a></li>
<li><a rel="gsdoc" href="STObjectReference.html#method$STObjectReference-pool">-pool</a></li>
<li><a rel="gsdoc" href="STObjectReference.html#method$STObjectReference-setObject:">-setObject:</a></li>
<li><a rel="gsdoc" href="STObjectReference.html#method$STObjectReference-target">-target</a></li>
<li><a rel="gsdoc" href="STObjectReference.html#method$STObjectReference-setObjectName:">-setObjectName:</a></li>
<li><a rel="gsdoc" href="STObjectReference.html#method$STObjectReference-setPool:">-setPool:</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$STObjectReference-identifier">identifier&nbsp;</a></h3>
- (NSString*) <b>identifier</b>;<br />
<h3><a name="method$STObjectReference-initWithObjectName:pool:">initWithObjectName:pool:</a></h3>
- (id) <b>initWithObjectName:</b> (NSString*)name<b> pool:</b> (NSMutableDictionary*)aPool;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STObjectReference-initWithIdentifier:target:">initWithIdentifier:&nbsp;target:&nbsp;</a></h3>
- (id) <b>initWithIdentifier:</b> (NSString*)ident<b> target:</b> (id)anObject;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STObjectReference-object">object&nbsp;</a></h3>
<h3><a name="method$STObjectReference-object">object</a></h3>
- (id) <b>object</b>;<br />
<p>
@ -70,7 +60,23 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STObjectReference-setObject:">setObject:&nbsp;</a></h3>
<h3><a name="method$STObjectReference-objectName">objectName</a></h3>
- (NSString*) <b>objectName</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STObjectReference-pool">pool</a></h3>
- (NSMutableDictionary*) <b>pool</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STObjectReference-setObject:">setObject:</a></h3>
- (void) <b>setObject:</b> (id)anObject;<br />
<p>
@ -78,35 +84,23 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STObjectReference-target">target&nbsp;</a></h3>
- (id) <b>target</b>;<br />
<h3><a name="method$STObjectReference-setObjectName:">setObjectName:</a></h3>
- (void) <b>setObjectName:</b> (NSString*)newName;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<a name="_STObjectReference_ivars"/> <br/><hr width="50%" align="left" />
<h2>Instance Variables for STObjectReference Class</h2>
<h3><a name="ivariable$STObjectReference*identifier">identifier</a></h3>
@protected NSString* <b>identifier</b>;<br />
<h3><a name="method$STObjectReference-setPool:">setPool:</a></h3>
- (void) <b>setPool:</b> (NSMutableDictionary*)aDict;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STObjectReference*target">target</a></h3>
@protected id <b>target</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<br/><hr width="50%" align="left" /><br/>
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</body>
</html>

View file

@ -1,91 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<gsdoc base="STRemoteConversation" up="StepTalk">
<head>
<title>STRemoteConversation class documentation</title>
<author name="Stefan Urbanek">
</author>
<copy>2002 Free Software Foundation</copy>
</head>
<body>
<front><contents /></front>
<chapter>
<heading>
Software documentation for the STRemoteConversation
class
</heading>
<class name="STRemoteConversation" super="STConversation">
<declared>StepTalk/STRemoteConversation.h</declared>
<desc>
<em>Description forthcoming.</em>
</desc>
<ivariable type="NSConnection*" name="connection" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSString*" name="environmentName" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSDistantObject&lt;STEnvironmentProcess&gt;*" name="environmentProcess" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSString*" name="hostName" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSDistantObject&lt;STConversation&gt;*" name="proxy" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<method type="void">
<sel>close</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="id">
<sel>initWithEnvironmentName:</sel>
<arg type="NSString*">envName</arg>
<sel>host:</sel>
<arg type="NSString*">host</arg>
<sel>language:</sel>
<arg type="NSString*">langName</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void">
<sel>open</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
</class>
</chapter>
<chapter>
<heading>
Software documentation for the STEnvironmentProcess
protocol
</heading>
<protocol name="STEnvironmentProcess">
<declared>StepTalk/STRemoteConversation.h</declared>
<desc>
<em>Description forthcoming.</em>
</desc>
<method type="STConversation*">
<sel>createConversation</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
</protocol>
</chapter>
</body>
</gsdoc>

View file

@ -1,162 +0,0 @@
<html>
<head>
<title>STRemoteConversation class documentation</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STRemoteConversation">STRemoteConversation class documentation</a></h1>
<h3>Authors</h3>
<dl>
<dt>Stefan Urbanek</dt>
<dd>
</dd>
</dl>
<p><b>Copyright:</b> (C) 2002 Free Software Foundation</p>
<div>
<hr width="50%" align="left" />
<h3>Contents -</h3>
<ol>
<li>
<a href="#001000000000">Software documentation for the STRemoteConversation
class</a>
</li>
<li>
<a href="#002000000000">Software documentation for the STEnvironmentProcess
protocol</a>
</li>
</ol>
<hr width="50%" align="left" />
</div>
<h1><a name="001000000000">
Software documentation for the STRemoteConversation
class
</a></h1>
<h2><a name="class$STRemoteConversation">STRemoteConversation</a> : <a rel="gsdoc" href="STConversation.html#class$STConversation">STConversation</a></h2>
<blockquote>
<dl>
<dt><b>Declared in:</b></dt>
<dd>StepTalk/STRemoteConversation.h</dd>
</dl>
</blockquote>
<p>
<em>Description forthcoming.</em>
</p>
<hr width="50%" align="left" />
<a href="#_STRemoteConversation_ivars">Instance Variables</a>
<br/><br/>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="STRemoteConversation.html#method$STRemoteConversation-close">-close</a></li>
<li><a rel="gsdoc" href="STRemoteConversation.html#method$STRemoteConversation-initWithEnvironmentName:host:language:">-initWithEnvironmentName:host:language:</a></li>
<li><a rel="gsdoc" href="STRemoteConversation.html#method$STRemoteConversation-open">-open</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$STRemoteConversation-close">close&nbsp;</a></h3>
- (void) <b>close</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STRemoteConversation-initWithEnvironmentName:host:language:">initWithEnvironmentName:&nbsp;host:&nbsp;language:&nbsp;</a></h3>
- (id) <b>initWithEnvironmentName:</b> (NSString*)envName<b> host:</b> (NSString*)host<b> language:</b> (NSString*)langName;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STRemoteConversation-open">open&nbsp;</a></h3>
- (void) <b>open</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<a name="_STRemoteConversation_ivars"/> <br/><hr width="50%" align="left" />
<h2>Instance Variables for STRemoteConversation Class</h2>
<h3><a name="ivariable$STRemoteConversation*connection">connection</a></h3>
@protected NSConnection* <b>connection</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STRemoteConversation*environmentName">environmentName</a></h3>
@protected NSString* <b>environmentName</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STRemoteConversation*environmentProcess">environmentProcess</a></h3>
@protected NSDistantObject<STEnvironmentProcess>* <b>environmentProcess</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STRemoteConversation*hostName">hostName</a></h3>
@protected NSString* <b>hostName</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STRemoteConversation*proxy">proxy</a></h3>
@protected NSDistantObject<STConversation>* <b>proxy</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<br/><hr width="50%" align="left" /><br/>
<h1><a name="002000000000">
Software documentation for the STEnvironmentProcess
protocol
</a></h1>
<h2><a name="protocol$(STEnvironmentProcess)">STEnvironmentProcess</a></h2>
<blockquote>
<dl>
<dt><b>Declared in:</b></dt>
<dd>StepTalk/STRemoteConversation.h</dd>
</dl>
</blockquote>
<p>
<em>Description forthcoming.</em>
</p>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="STRemoteConversation.html#method$(STEnvironmentProcess)-createConversation">-createConversation</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$(STEnvironmentProcess)-createConversation">createConversation&nbsp;</a></h3>
- (<a rel="gsdoc" href="STConversation.html#class$STConversation">STConversation</a>*) <b>createConversation</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</html>

View file

@ -1,5 +1,5 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.0//EN" "http://www.gnustep.org/gsdoc-1_0_0.xml">
<gsdoc base="STScript" up="StepTalk">
<head>
<title>STScript class documentation</title>
@ -21,16 +21,6 @@
<desc>
<em>Description forthcoming.</em>
</desc>
<ivariable type="NSString*" name="language" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSString*" name="source" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<method type="id" factory="yes">
<sel>scriptWithSource:</sel>
<arg type="NSString*">aString</arg>

View file

@ -4,7 +4,6 @@
<title>STScript class documentation</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STScript">STScript class documentation</a></h1>
@ -34,20 +33,24 @@
<em>Description forthcoming.</em>
</p>
<hr width="50%" align="left" />
<a href="#_STScript_ivars">Instance Variables</a>
<br/><br/>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="STScript.html#method$STScript+scriptWithFile:">+scriptWithFile:</a></li>
<li><a rel="gsdoc" href="STScript.html#method$STScript+scriptWithSource:language:">+scriptWithSource:language:</a></li>
<li><a rel="gsdoc" href="STScript.html#method$STScript-compareByLocalizedName:">-compareByLocalizedName:</a></li>
<li><a rel="gsdoc" href="STScript.html#method$STScript-fileName">-fileName</a></li>
<li><a rel="gsdoc" href="STScript.html#method$STScript-initWithFile:">-initWithFile:</a></li>
<li><a rel="gsdoc" href="STScript.html#method$STScript-initWithSource:language:">-initWithSource:language:</a></li>
<li><a rel="gsdoc" href="STScript.html#method$STScript-language">-language</a></li>
<li><a rel="gsdoc" href="STScript.html#method$STScript-localizedName">-localizedName</a></li>
<li><a rel="gsdoc" href="STScript.html#method$STScript-scriptDescription">-scriptDescription</a></li>
<li><a rel="gsdoc" href="STScript.html#method$STScript-scriptName">-scriptName</a></li>
<li><a rel="gsdoc" href="STScript.html#method$STScript-setLanguage:">-setLanguage:</a></li>
<li><a rel="gsdoc" href="STScript.html#method$STScript-setSource:">-setSource:</a></li>
<li><a rel="gsdoc" href="STScript.html#method$STScript-source">-source</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$STScript+scriptWithSource:language:">scriptWithSource:&nbsp;language:&nbsp;</a></h3>
<h3><a name="method$STScript+scriptWithSource:language:">scriptWithSource:language:</a></h3>
+ (id) <b>scriptWithSource:</b> (NSString*)aString<b> language:</b> (NSString*)lang;<br />
<p>
@ -55,7 +58,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScript-initWithSource:language:">initWithSource:&nbsp;language:&nbsp;</a></h3>
<h3><a name="method$STScript-initWithSource:language:">initWithSource:language:</a></h3>
- (id) <b>initWithSource:</b> (NSString*)aString<b> language:</b> (NSString*)lang;<br />
<p>
@ -63,7 +66,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScript-language">language&nbsp;</a></h3>
<h3><a name="method$STScript-language">language</a></h3>
- (NSString*) <b>language</b>;<br />
<p>
@ -71,7 +74,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScript-setLanguage:">setLanguage:&nbsp;</a></h3>
<h3><a name="method$STScript-setLanguage:">setLanguage:</a></h3>
- (void) <b>setLanguage:</b> (NSString*)name;<br />
<p>
@ -79,7 +82,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScript-setSource:">setSource:&nbsp;</a></h3>
<h3><a name="method$STScript-setSource:">setSource:</a></h3>
- (void) <b>setSource:</b> (NSString*)aString;<br />
<p>
@ -87,7 +90,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScript-source">source&nbsp;</a></h3>
<h3><a name="method$STScript-source">source</a></h3>
- (NSString*) <b>source</b>;<br />
<p>
@ -95,27 +98,7 @@
</p>
<hr width="25%" align="left" />
<a name="_STScript_ivars"/> <br/><hr width="50%" align="left" />
<h2>Instance Variables for STScript Class</h2>
<h3><a name="ivariable$STScript*language">language</a></h3>
@protected NSString* <b>language</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STScript*source">source</a></h3>
@protected NSString* <b>source</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<br/><hr width="50%" align="left" /><br/>
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</body>
</html>

View file

@ -1,9 +1,9 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.0//EN" "http://www.gnustep.org/gsdoc-1_0_0.xml">
<gsdoc base="STScriptObject" up="StepTalk">
<head>
<title>STScriptObject class documentation</title>
<author name="Generated by stevko"></author>
<author name="Generated by me"></author>
</head>
<body>
<front><contents /></front>
@ -18,21 +18,6 @@
<desc>
<em>Description forthcoming.</em>
</desc>
<ivariable type="STEnvironment*" name="environment" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSMutableDictionary*" name="ivars" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSMutableDictionary*" name="methodDictionary" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<method type="id" factory="yes">
<sel>scriptObject</sel>
<desc>

View file

@ -4,13 +4,12 @@
<title>STScriptObject class documentation</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STScriptObject">STScriptObject class documentation</a></h1>
<h3>Authors</h3>
<dl>
<dt>Generated by stevko</dt>
<dt>Generated by me</dt>
<dd>
</dd>
</dl>
@ -51,9 +50,6 @@
<em>Description forthcoming.</em>
</p>
<hr width="50%" align="left" />
<a href="#_STScriptObject_ivars">Instance Variables</a>
<br/><br/>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="STScriptObject.html#method$STScriptObject+scriptObject">+scriptObject</a></li>
@ -71,7 +67,7 @@
<li><a rel="gsdoc" href="STScriptObject.html#method$STScriptObject-setObject:forVariable:">-setObject:forVariable:</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$STScriptObject+scriptObject">scriptObject&nbsp;</a></h3>
<h3><a name="method$STScriptObject+scriptObject">scriptObject</a></h3>
+ (id) <b>scriptObject</b>;<br />
<p>
@ -80,7 +76,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScriptObject-addMethod:">addMethod:&nbsp;</a></h3>
<h3><a name="method$STScriptObject-addMethod:">addMethod:</a></h3>
- (void) <b>addMethod:</b> (id<<a rel="gsdoc" href="STMethod.html#protocol$(STMethod)">STMethod</a>>)aMethod;<br />
<p>
@ -88,7 +84,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScriptObject-environment">environment&nbsp;</a></h3>
<h3><a name="method$STScriptObject-environment">environment</a></h3>
- (<a rel="gsdoc" href="STEnvironment.html#class$STEnvironment">STEnvironment</a>*) <b>environment</b>;<br />
<p>
@ -96,7 +92,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScriptObject-initWithInstanceVariableNames:">initWithInstanceVariableNames:&nbsp;</a></h3>
<h3><a name="method$STScriptObject-initWithInstanceVariableNames:">initWithInstanceVariableNames:</a></h3>
- (id) <b>initWithInstanceVariableNames:</b> (NSString*)names;<br />
<p>
@ -104,7 +100,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScriptObject-instanceVariableNames">instanceVariableNames&nbsp;</a></h3>
<h3><a name="method$STScriptObject-instanceVariableNames">instanceVariableNames</a></h3>
- (NSArray*) <b>instanceVariableNames</b>;<br />
<p>
@ -112,7 +108,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScriptObject-methodDictionary">methodDictionary&nbsp;</a></h3>
<h3><a name="method$STScriptObject-methodDictionary">methodDictionary</a></h3>
- (NSDictionary*) <b>methodDictionary</b>;<br />
<p>
@ -120,7 +116,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScriptObject-methodNames">methodNames&nbsp;</a></h3>
<h3><a name="method$STScriptObject-methodNames">methodNames</a></h3>
- (NSArray*) <b>methodNames</b>;<br />
<p>
@ -128,7 +124,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScriptObject-methodWithName:">methodWithName:&nbsp;</a></h3>
<h3><a name="method$STScriptObject-methodWithName:">methodWithName:</a></h3>
- (id<<a rel="gsdoc" href="STMethod.html#protocol$(STMethod)">STMethod</a>>) <b>methodWithName:</b> (NSString*)aName;<br />
<p>
@ -136,7 +132,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScriptObject-objectForVariable:">objectForVariable:&nbsp;</a></h3>
<h3><a name="method$STScriptObject-objectForVariable:">objectForVariable:</a></h3>
- (id) <b>objectForVariable:</b> (NSString*)aName;<br />
<p>
@ -144,7 +140,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScriptObject-removeMethod:">removeMethod:&nbsp;</a></h3>
<h3><a name="method$STScriptObject-removeMethod:">removeMethod:</a></h3>
- (void) <b>removeMethod:</b> (id<<a rel="gsdoc" href="STMethod.html#protocol$(STMethod)">STMethod</a>>)aMethod;<br />
<p>
@ -152,7 +148,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScriptObject-removeMethodWithName:">removeMethodWithName:&nbsp;</a></h3>
<h3><a name="method$STScriptObject-removeMethodWithName:">removeMethodWithName:</a></h3>
- (void) <b>removeMethodWithName:</b> (NSString*)aName;<br />
<p>
@ -160,7 +156,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScriptObject-setEnvironment:">setEnvironment:&nbsp;</a></h3>
<h3><a name="method$STScriptObject-setEnvironment:">setEnvironment:</a></h3>
- (void) <b>setEnvironment:</b> (<a rel="gsdoc" href="STEnvironment.html#class$STEnvironment">STEnvironment</a>*)env;<br />
<p>
@ -169,7 +165,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScriptObject-setObject:forVariable:">setObject:&nbsp;forVariable:&nbsp;</a></h3>
<h3><a name="method$STScriptObject-setObject:forVariable:">setObject:forVariable:</a></h3>
- (void) <b>setObject:</b> (id)anObject<b> forVariable:</b> (NSString*)aName;<br />
<p>
@ -177,33 +173,6 @@
</p>
<hr width="25%" align="left" />
<a name="_STScriptObject_ivars"/> <br/><hr width="50%" align="left" />
<h2>Instance Variables for STScriptObject Class</h2>
<h3><a name="ivariable$STScriptObject*environment">environment</a></h3>
@protected STEnvironment* <b>environment</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STScriptObject*ivars">ivars</a></h3>
@protected NSMutableDictionary* <b>ivars</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STScriptObject*methodDictionary">methodDictionary</a></h3>
@protected NSMutableDictionary* <b>methodDictionary</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<br/><hr width="50%" align="left" /><br/>
<h1><a name="002000000000">
Software documentation for the STScriptObject protocol
@ -225,7 +194,7 @@
<li><a rel="gsdoc" href="STScriptObject.html#method$(STScriptObject)-instanceVariableNames">-instanceVariableNames</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$(STScriptObject)-instanceVariableNames">instanceVariableNames&nbsp;</a></h3>
<h3><a name="method$(STScriptObject)-instanceVariableNames">instanceVariableNames</a></h3>
- (NSArray*) <b>instanceVariableNames</b>;<br />
<p>
@ -235,6 +204,5 @@
<hr width="25%" align="left" />
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</body>
</html>

View file

@ -1,9 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.0//EN" "http://www.gnustep.org/gsdoc-1_0_0.xml">
<gsdoc base="STScripting" up="StepTalk">
<head>
<title>STScripting protocol documentation</title>
<author name="Stefan Urbanek">
<email address="urbanek@host.sk">
urbanek@host.sk
</email>
</author>
<copy>2002 Free Software Foundation</copy>
</head>

View file

@ -4,13 +4,12 @@
<title>STScripting protocol documentation</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STScripting">STScripting protocol documentation</a></h1>
<h3>Authors</h3>
<dl>
<dt>Stefan Urbanek</dt>
<dt>Stefan Urbanek (<a href="mailto:urbanek@host.sk"><code>urbanek@host.sk</code></a>)</dt>
<dd>
</dd>
</dl>
@ -79,7 +78,7 @@
<li><a rel="gsdoc" href="STScripting.html#method$(STScripting)-isClass">-isClass</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$(STScripting)+classForScripting">classForScripting&nbsp;</a></h3>
<h3><a name="method$(STScripting)+classForScripting">classForScripting</a></h3>
+ (Class) <b>classForScripting</b>;<br />
<p>
@ -87,7 +86,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$(STScripting)+className">className&nbsp;</a></h3>
<h3><a name="method$(STScripting)+className">className</a></h3>
+ (NSString*) <b>className</b>;<br />
<p>
@ -95,7 +94,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$(STScripting)+isClass">isClass&nbsp;</a></h3>
<h3><a name="method$(STScripting)+isClass">isClass</a></h3>
+ (BOOL) <b>isClass</b>;<br />
<p>
@ -103,7 +102,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$(STScripting)-classForScripting">classForScripting&nbsp;</a></h3>
<h3><a name="method$(STScripting)-classForScripting">classForScripting</a></h3>
- (Class) <b>classForScripting</b>;<br />
<p>
@ -111,7 +110,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$(STScripting)-className">className&nbsp;</a></h3>
<h3><a name="method$(STScripting)-className">className</a></h3>
- (NSString*) <b>className</b>;<br />
<p>
@ -119,7 +118,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$(STScripting)-isClass">isClass&nbsp;</a></h3>
<h3><a name="method$(STScripting)-isClass">isClass</a></h3>
- (BOOL) <b>isClass</b>;<br />
<p>
@ -129,6 +128,5 @@
<hr width="25%" align="left" />
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</body>
</html>

View file

@ -1,9 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.0//EN" "http://www.gnustep.org/gsdoc-1_0_0.xml">
<gsdoc base="STScriptsManager" up="StepTalk">
<head>
<title>STScriptsManager class documentation</title>
<author name="Stefan Urbanek">
<email address="urbanek@host.sk">
urbanek@host.sk
</email>
</author>
<copy>2002 Stefan Urbanek</copy>
</head>
@ -18,16 +21,6 @@
<desc>
<em>Description forthcoming.</em>
</desc>
<ivariable type="NSArray*" name="scriptSearchPaths" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSString*" name="scriptsDomainName" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<method type="id" factory="yes">
<sel>defaultManager</sel>
<desc>

View file

@ -4,13 +4,12 @@
<title>STScriptsManager class documentation</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STScriptsManager">STScriptsManager class documentation</a></h1>
<h3>Authors</h3>
<dl>
<dt>Stefan Urbanek</dt>
<dt>Stefan Urbanek (<a href="mailto:urbanek@host.sk"><code>urbanek@host.sk</code></a>)</dt>
<dd>
</dd>
</dl>
@ -34,9 +33,6 @@
<em>Description forthcoming.</em>
</p>
<hr width="50%" align="left" />
<a href="#_STScriptsManager_ivars">Instance Variables</a>
<br/><br/>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="STScriptsManager.html#method$STScriptsManager+defaultManager">+defaultManager</a></li>
@ -50,7 +46,7 @@
<li><a rel="gsdoc" href="STScriptsManager.html#method$STScriptsManager-validScriptSearchPaths">-validScriptSearchPaths</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$STScriptsManager+defaultManager">defaultManager&nbsp;</a></h3>
<h3><a name="method$STScriptsManager+defaultManager">defaultManager</a></h3>
+ (id) <b>defaultManager</b>;<br />
<p>
@ -59,7 +55,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScriptsManager-allScripts">allScripts&nbsp;</a></h3>
<h3><a name="method$STScriptsManager-allScripts">allScripts</a></h3>
- (NSArray*) <b>allScripts</b>;<br />
<p>
@ -67,7 +63,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScriptsManager-initWithDomainName:">initWithDomainName:&nbsp;</a></h3>
<h3><a name="method$STScriptsManager-initWithDomainName:">initWithDomainName:</a></h3>
- (id) <b>initWithDomainName:</b> (NSString*)name;<br />
This is a designated initialiser for the class.<br />
<p>
@ -79,7 +75,7 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScriptsManager-scriptSearchPaths">scriptSearchPaths&nbsp;</a></h3>
<h3><a name="method$STScriptsManager-scriptSearchPaths">scriptSearchPaths</a></h3>
- (NSArray*) <b>scriptSearchPaths</b>;<br />
<p>
@ -92,7 +88,7 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScriptsManager-scriptWithName:">scriptWithName:&nbsp;</a></h3>
<h3><a name="method$STScriptsManager-scriptWithName:">scriptWithName:</a></h3>
- (<a rel="gsdoc" href="STFileScript.html#class$STFileScript">STFileScript</a>*) <b>scriptWithName:</b> (NSString*)aString;<br />
<p>
@ -101,7 +97,7 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScriptsManager-scriptsDomainName">scriptsDomainName&nbsp;</a></h3>
<h3><a name="method$STScriptsManager-scriptsDomainName">scriptsDomainName</a></h3>
- (NSString*) <b>scriptsDomainName</b>;<br />
<p>
@ -109,7 +105,7 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScriptsManager-setScriptSearchPaths:">setScriptSearchPaths:&nbsp;</a></h3>
<h3><a name="method$STScriptsManager-setScriptSearchPaths:">setScriptSearchPaths:</a></h3>
- (void) <b>setScriptSearchPaths:</b> (NSArray*)anArray;<br />
<p>
@ -117,7 +113,7 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScriptsManager-setScriptSearchPathsToDefaults">setScriptSearchPathsToDefaults&nbsp;</a></h3>
<h3><a name="method$STScriptsManager-setScriptSearchPathsToDefaults">setScriptSearchPathsToDefaults</a></h3>
- (void) <b>setScriptSearchPathsToDefaults</b>;<br />
<p>
@ -125,7 +121,7 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<h3><a name="method$STScriptsManager-validScriptSearchPaths">validScriptSearchPaths&nbsp;</a></h3>
<h3><a name="method$STScriptsManager-validScriptSearchPaths">validScriptSearchPaths</a></h3>
- (NSArray*) <b>validScriptSearchPaths</b>;<br />
<p>
@ -134,27 +130,7 @@ This is a designated initialiser for the class.<br />
</p>
<hr width="25%" align="left" />
<a name="_STScriptsManager_ivars"/> <br/><hr width="50%" align="left" />
<h2>Instance Variables for STScriptsManager Class</h2>
<h3><a name="ivariable$STScriptsManager*scriptSearchPaths">scriptSearchPaths</a></h3>
@protected NSArray* <b>scriptSearchPaths</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STScriptsManager*scriptsDomainName">scriptsDomainName</a></h3>
@protected NSString* <b>scriptsDomainName</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<br/><hr width="50%" align="left" /><br/>
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</body>
</html>

View file

@ -1,9 +1,9 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.0//EN" "http://www.gnustep.org/gsdoc-1_0_0.xml">
<gsdoc base="STSelector" up="StepTalk">
<head>
<title>STSelector class documentation</title>
<author name="Generated by stevko"></author>
<author name="Generated by me"></author>
</head>
<body>
<front><contents /></front>
@ -16,16 +16,6 @@
<desc>
<em>Description forthcoming.</em>
</desc>
<ivariable type="SEL" name="sel" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<ivariable type="NSString*" name="selectorName" validity="protected">
<desc>
<em>Description forthcoming.</em>
</desc>
</ivariable>
<method type="id">
<sel>initWithName:</sel>
<arg type="NSString*">aString</arg>

View file

@ -4,13 +4,12 @@
<title>STSelector class documentation</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STSelector">STSelector class documentation</a></h1>
<h3>Authors</h3>
<dl>
<dt>Generated by stevko</dt>
<dt>Generated by me</dt>
<dd>
</dd>
</dl>
@ -33,18 +32,16 @@
<em>Description forthcoming.</em>
</p>
<hr width="50%" align="left" />
<a href="#_STSelector_ivars">Instance Variables</a>
<br/><br/>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="STSelector.html#method$STSelector-initWithName:">-initWithName:</a></li>
<li><a rel="gsdoc" href="STSelector.html#method$STSelector-initWithSelector:">-initWithSelector:</a></li>
<li><a rel="gsdoc" href="STSelector.html#method$STSelector-selectorName">-selectorName</a></li>
<li><a rel="gsdoc" href="STSelector.html#method$STSelector-selectorValue">-selectorValue</a></li>
<li><a rel="gsdoc" href="STSelector.html#method$STSelector-stringValue">-stringValue</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$STSelector-initWithName:">initWithName:&nbsp;</a></h3>
<h3><a name="method$STSelector-initWithName:">initWithName:</a></h3>
- (id) <b>initWithName:</b> (NSString*)aString;<br />
<p>
@ -52,7 +49,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STSelector-initWithSelector:">initWithSelector:&nbsp;</a></h3>
<h3><a name="method$STSelector-initWithSelector:">initWithSelector:</a></h3>
- (id) <b>initWithSelector:</b> (SEL)aSel;<br />
<p>
@ -60,7 +57,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STSelector-selectorName">selectorName&nbsp;</a></h3>
<h3><a name="method$STSelector-selectorName">selectorName</a></h3>
- (NSString*) <b>selectorName</b>;<br />
<p>
@ -68,7 +65,7 @@
</p>
<hr width="25%" align="left" />
<h3><a name="method$STSelector-selectorValue">selectorValue&nbsp;</a></h3>
<h3><a name="method$STSelector-selectorValue">selectorValue</a></h3>
- (SEL) <b>selectorValue</b>;<br />
<p>
@ -76,27 +73,7 @@
</p>
<hr width="25%" align="left" />
<a name="_STSelector_ivars"/> <br/><hr width="50%" align="left" />
<h2>Instance Variables for STSelector Class</h2>
<h3><a name="ivariable$STSelector*sel">sel</a></h3>
@protected SEL <b>sel</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STSelector*selectorName">selectorName</a></h3>
@protected NSString* <b>selectorName</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<br/><hr width="50%" align="left" /><br/>
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</body>
</html>

View file

@ -1,9 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.2//EN" "http://www.gnustep.org/gsdoc-1_0_2.xml">
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.0//EN" "http://www.gnustep.org/gsdoc-1_0_0.xml">
<gsdoc base="STUndefinedObject" up="StepTalk">
<head>
<title>STUndefinedObject class documentation</title>
<author name="Stefan Urbanek">
<email address="urbanek@host.sk">
urbanek@host.sk
</email>
</author>
<copy>2002 Free Software Foundation</copy>
</head>

View file

@ -4,13 +4,12 @@
<title>STUndefinedObject class documentation</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STUndefinedObject">STUndefinedObject class documentation</a></h1>
<h3>Authors</h3>
<dl>
<dt>Stefan Urbanek</dt>
<dt>Stefan Urbanek (<a href="mailto:urbanek@host.sk"><code>urbanek@host.sk</code></a>)</dt>
<dd>
</dd>
</dl>
@ -36,6 +35,5 @@
</p>
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</body>
</html>

View file

@ -5,16 +5,16 @@
<title>StepTalk Documentation</title>
</head>
<body>
<font face="serif">
<br />
<h1><a name="title$StepTalk">StepTalk Documentation</a></h1>
<h3>Authors</h3>
<dl>
<dt><a href="http://stefan.agentfarms.net">Stefan Urbanek</a> (<a href="mailto:stefan@agentfarms.net"><code>stefan@agentfarms.net</code></a>)</dt>
<dt><a href="http://urbanek.host.sk">Stefan Urbanek</a> (<a href="mailto:urbanek@host.sk"><code>urbanek@host.sk</code></a>)</dt>
<dd>
</dd>
</dl>
<p><b>Version:</b> 0.10.0</p>
<p><b>Date:</b> 2005 Sep 5</p>
<p><b>Version:</b> 0.7.1</p>
<p><b>Date:</b> 2003 Apr 22</p>
@ -31,17 +31,12 @@
<b>Class</b>
<ul>
<li><a rel="gsdoc" href="STActor.html#class$STActor">STActor</a></li>
<li><a rel="gsdoc" href="STBundleInfo.html#class$STBundleInfo">STBundleInfo</a></li>
<li><a rel="gsdoc" href="STContext.html#class$STContext">STContext</a></li>
<li><a rel="gsdoc" href="STConversation.html#class$STConversation">STConversation</a></li>
<li><a rel="gsdoc" href="STEngine.html#class$STEngine">STEngine</a></li>
<li><a rel="gsdoc" href="STEnvironment.html#class$STEnvironment">STEnvironment</a></li>
<li><a rel="gsdoc" href="STEnvironmentDescription.html#class$STEnvironmentDescription">STEnvironmentDescription</a></li>
<li><a rel="gsdoc" href="STFileScript.html#class$STFileScript">STFileScript</a></li>
<li><a rel="gsdoc" href="STLanguageManager.html#class$STLanguageManager">STLanguageManager</a></li>
<li><a rel="gsdoc" href="STLanguage.html#class$STLanguage">STLanguage</a></li>
<li><a rel="gsdoc" href="STMethod.html#class$STMethod">STMethod</a></li>
<li><a rel="gsdoc" href="STObjectReference.html#class$STObjectReference">STObjectReference</a></li>
<li><a rel="gsdoc" href="STRemoteConversation.html#class$STRemoteConversation">STRemoteConversation</a></li>
<li><a rel="gsdoc" href="STScript.html#class$STScript">STScript</a></li>
<li><a rel="gsdoc" href="STScriptObject.html#class$STScriptObject">STScriptObject</a></li>
<li><a rel="gsdoc" href="STScriptsManager.html#class$STScriptsManager">STScriptsManager</a></li>
@ -50,14 +45,10 @@
</ul>
<b>Protocol</b>
<ul>
<li><a rel="gsdoc" href="STConversation.html#protocol$(STConversation)">&lt;STConversation&gt;</a></li>
<li><a rel="gsdoc" href="STRemoteConversation.html#protocol$(STEnvironmentProcess)">&lt;STEnvironmentProcess&gt;</a></li>
<li><a rel="gsdoc" href="STMethod.html#protocol$(STMethod)">&lt;STMethod&gt;</a></li>
<li><a rel="gsdoc" href="STScriptObject.html#protocol$(STScriptObject)">&lt;STScriptObject&gt;</a></li>
<li><a rel="gsdoc" href="STScripting.html#protocol$(STScripting)">&lt;STScripting&gt;</a></li>
<li><a rel="gsdoc" href="STMethod.html#protocol$(STMethod)"></a></li>
<li><a rel="gsdoc" href="STScripting.html#protocol$(STScripting)"></a></li>
</ul>
</div>
<br />
</font>
</body>
</body>
</html>

File diff suppressed because it is too large Load diff

View file

@ -172,24 +172,3 @@ handler: message to guarded block.
guardedBlock handler: handlerBlock.
If exception occures in guarded block, then handler block is evaluated.
5. Temporaries in blocks
------------------------------
Like other modern Smalltalk implementations, StepTalk supports
temporaries in blocks. These block temporaries are declared after the
block's arguments in the same way as the temporaries of a method.
Example with no arguments:
[| arr | arr := #( 1 2 3 ). arr addObject: arr count. arr]
Exmaple with some arguments:
[:x :y | | xsqr ysqr | xsqr := x * x. ysqr := y * y. xsqr + ysqr]
Note that the syntax of a block with temporaries and no arguments
begins with the same prefix as a script source (due to an unfortunate
choice in the past). This means you cannot start a simple script,
i.e., a list of smalltalk statements, with such a block. The simple
workaround is to either enclose the block in parentheses or precede
the statement with an empty list of temporaries (two vertical bars).

View file

@ -72,7 +72,7 @@ main
env setFullScriptingEnabled: YES.
"*** Create conversation ***"
conv := STConversation conversationWithContext: env language: 'Smalltalk'.
conv := STConversation conversationWithEnvironment: env language: 'Smalltalk'.
conv setLanguage: 'Smalltalk'.
"*** Execute all tests here ***"
@ -123,7 +123,7 @@ executeTest: path
Transcript show: (numTestFilesOK + numTestFilesFailed + 1).
Transcript showLine: ': ', path, ' start ***'.
code := NSString stringWithContentsOfFile: path.
res := conv interpretScript: code; result.
res := conv runScriptFromString: code.
Transcript showLine: '*** Test Case ', path, ' finish ***'.
(numTestsFailed = 0)
ifTrue:
@ -166,13 +166,13 @@ showSummary
!
should: val
should:val
val ifFalse: [self testfail] ifTrue: [self testok].
^self
!
should: val desc: desc
should:val desc*esc
val ifFalse: [self testfail: desc] ifTrue: [self testok: desc].
^self

View file

@ -0,0 +1,7 @@
*.app
*.debug
*.profile
shared_*obj
*.bundle
*.stmodule
*.stlanguage

View file

@ -0,0 +1,5 @@
2003 Apr 04 David Ayers <d.ayers@inode.at>
* ChangeLog: Added new file.
* GNUmakefile: Added flags to show all warnings except for import.

View file

@ -0,0 +1,35 @@
#
# StepTalk examples
#
# Copyright (C) 2000 Stefan Urbanek
#
# This file is part of the StepTalk.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this library; if not, write to the Free
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02111, USA.
#
include $(GNUSTEP_MAKEFILES)/common.make
TOOL_NAME = Server
Server_OBJC_FILES = Server.m
ADDITIONAL_TOOL_LIBS = -lStepTalk
ADDITIONAL_OBJCFLAGS = -Wall -Wno-import
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/tool.make
-include Makefile.postamble

65
Examples/Server/Server.m Normal file
View file

@ -0,0 +1,65 @@
/*
Server.m
StepTalk scriptable server example
*/
#import <Foundation/NSAutoreleasePool.h>
#import <Foundation/NSConnection.h>
#import <Foundation/NSHost.h>
#import <Foundation/NSRunLoop.h>
#import <StepTalk/StepTalk.h>
#include <stdio.h>
@interface Server:NSObject
- say:(NSString *)string;
@end
@implementation Server
- (STEnvironment *)scriptingEnvironment
{
/* here we should add some objects or class references ... */
return [STEnvironment defaultScriptingEnvironment];
}
- (NSDate *)date
{
return [NSDate date];
}
- say:(NSString *)string
{
printf("%s\n",[string cString]);
return self;
}
@end
int main(int argc, const char **argv)
{
NSAutoreleasePool *pool;
NSConnection *connection;
Server *server = [Server new];
pool = [NSAutoreleasePool new];
connection = [NSConnection newRegisteringAtName:@"Server"
withRootObject:server];
if (!connection)
{
NSLog(@"Unable to register server");
[pool release];
return 1;
}
NSLog(@"Server started");
[[NSRunLoop currentRunLoop] run];
RELEASE(connection);
RELEASE(pool);
return 0;
}

View file

@ -0,0 +1,20 @@
" talkToServer.stalk
Server script example
Ussage:
stalk Server talkToServer.st [message]
"
| message |
((Args count) < 1 )
ifTrue:
[
message := 'Hello!'. ^0
]
ifFalse:
[
message := Args objectAtIndex: 0. ^0
].
Server say:message

View file

@ -1,31 +1,3 @@
2013-03-23 Wolfgang Lux <wolfgang.lux@gmail.com>
* STShell.m (-initWithConversation:):
Check the result of the super class initializer and assign it to
self.
* stshell_tool.m (-run, main): Fix minor space leaks.
2012-01-15 Wolfgang Lux <wolfgang.lux@gmail.com>
* STShell.h:
* STShell.m:
* STShell+output.m: Miscellaneous changes to shut down compiler
warnings.
2005 Aug 30
* use STLanguageManager instead of removed STLanguage
2005 Aug 15
* Added distant environments
* Removed named objects as they were causing troubles with distant
environments
* Suspend completion for distant environments
Warning: option 'environment' has different meaning. See stshell --help.
2003 Sep 21
* Added named objects FileManager, LastCommand and LastObject

View file

@ -31,7 +31,6 @@
#import <Foundation/NSArray.h>
#import <Foundation/NSBundle.h>
#import <Foundation/NSDebug.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSNotification.h>
#import <Foundation/NSException.h>
#import <Foundation/NSSet.h>
@ -62,25 +61,25 @@
- showResult:(id)obj
{
const char *className = [NSStringFromClass([obj class]) cString];
NSInteger objIndex = [objectStack count] - 1;
NSUInteger i;
int objIndex = [objectStack count] - 1;
int i;
if(obj)
{
if([obj isKindOfClass:[NSArray class]])
{
printf("(%li) %s\n", (long)objIndex, className);
printf("(%i) %s\n", objIndex, className);
for(i = 0;i<[obj count]; i++)
{
printf("%lu %s\n", (unsigned long)i,
printf("%i %s\n", i,
[self displayCStringForObject:[obj objectAtIndex:i]]);
}
}
else if([obj isKindOfClass:[NSSet class]])
{
printf("(%li) %s\n", (long)objIndex, className);
printf("(%i) %s\n", objIndex, className);
obj = [[obj allObjects] sortedArrayUsingSelector:@selector(compare:)];
for(i = 0;i<[obj count]; i++)
@ -95,7 +94,7 @@
NSString *key;
NSArray *keys;
printf("(%li) %s\n", (long)objIndex, className);
printf("(%i) %s\n", objIndex, className);
keys = [[obj allKeys] sortedArrayUsingSelector:@selector(compare:)];
@ -109,13 +108,13 @@
}
else
{
printf("(%li) %s\n", (long)objIndex, [self displayCStringForObject:obj]);
printf("(%i) %s\n", objIndex, [self displayCStringForObject:obj]);
}
}
return self;
}
- (const char *)displayCStringForObject:(id)object
- (char *)displayCStringForObject:(id)object
{
NSString *str = [object description];
@ -140,9 +139,9 @@
- (id)listObjects
{
NSString *str;
NSUInteger i;
id object;
NSString *str;
int i;
id object;
printf("Objects\n");
for(i = 0; i < [objectStack count]; i++)
@ -157,7 +156,7 @@
str = [str stringByAppendingString:@"..."];
}
printf("%4lu: '%s' (%s)\n", (unsigned long)i,
printf("%4i: '%s' (%s)\n", i,
[str cString],
[[[object class] description] cString]);
}

View file

@ -47,16 +47,23 @@
BOOL updateCompletionList;
NSArray *completionList;
BOOL completionEnabled;
}
- initWithConversation:(STConversation *)conv;
- initWithEnvironment:(STEnvironment *)env;
- (void)setLanguage:(NSString *)langName;
- (void)setEnvironment:(STEnvironment *)newEnv;
- (STEnvironment *)environment;
- (void)run;
- show:(id)anObject;
- showLine:(id)anObject;
- (id)executeLine:(NSString *)line;
- showResult:(id)obj;
- showException:(NSException *)exception;
- (void)showError:(NSString *)errString;
@end
@interface STShell(STShellOutput)
@ -64,8 +71,7 @@
- show:(id)anObject;
- showLine:(id)anObject;
- showResult:(id)obj;
- (void)showError:(NSString *)errString;
- (const char *)displayCStringForObject:(id)object;
- (char *)displayCStringForObject:(id)object;
- showException:(NSException *)exception;
- (id)listObjects;

View file

@ -40,7 +40,6 @@
#import <Foundation/NSValue.h>
#include <readline/readline.h>
#include <readline/history.h>
static Class NSString_class;
static Class NSNumber_class;
@ -55,7 +54,7 @@ static STShell *sharedShell = nil;
- (void)initReadline;
@end
int complete_handler(int count, int key)
int complete_handler(void)
{
return [sharedShell completion];
}
@ -73,31 +72,30 @@ int complete_handler(int count, int key)
return sharedShell;
}
- initWithConversation:(STConversation *)conv
- initWithEnvironment:(STEnvironment *)env
{
if ((self = [super init]) != nil)
{
[self initReadline];
self = [super init];
[self initReadline];
objectStack = [[NSMutableArray alloc] init];
[[NSNotificationCenter defaultCenter]
objectStack = [[NSMutableArray alloc] init];
[[NSNotificationCenter defaultCenter]
addObserver:self
selector:@selector(bundleLoaded:)
name:NSBundleDidLoadNotification
object:nil];
scriptsManager = RETAIN([STScriptsManager defaultManager]);
prompt = @"StepTalk > ";
conversation = RETAIN(conv);
/* FIXME: make this more clever for completion handler */
if(!sharedShell)
{
sharedShell = self;
}
scriptsManager = RETAIN([STScriptsManager defaultManager]);
prompt = @"StepTalk > ";
conversation = [[STConversation alloc] initWithEnvironment:env language:nil];
/* FIXME: make this more clever for completion handler */
if(!sharedShell)
{
sharedShell = self;
}
return self;
}
@ -142,24 +140,38 @@ int complete_handler(int count, int key)
[conversation setLanguage:langName];
}
- (void)setEnvironment:(STEnvironment *)newEnv
{
[conversation setEnvironment:newEnv];
}
- (STEnvironment *)environment
{
return [conversation environment];
}
- (void)run
{
NSString *line;
id result;
STEnvironment *env = [conversation environment];
NSString *line;
id result;
[env setCreatesUnknownObjects:YES];
/* Add standard objects */
[env setObject:self forName:@"Shell"];
[env setObject:self forName:@"Transcript"];
[env setObject:objectStack forName:@"Objects"];
[env setObject:[NSFileManager defaultManager] forName:@"FileManager"];
/* FIXME: This is unsafe !*/
[env setObject:env forName:@"Environment"];
[self showLine:@"Welcome to the StepTalk shell."];
// NSLog(@"Environment %@", env);
if(![conversation isKindOfClass:[STRemoteConversation class]])
{
completionEnabled = YES;
}
else
{
[self showLine:@"Note: Completion disabled for distant conversation"];
}
while(1)
{
line = [self readLine];
@ -190,6 +202,7 @@ int complete_handler(int count, int key)
}
- (id)executeLine:(NSString *)line
{
STEnvironment *env = [conversation environment];
NSString *cmd;
id result = nil;
@ -197,18 +210,20 @@ int complete_handler(int count, int key)
cmd = [line stringByAppendingString:@" "];
NS_DURING
[conversation interpretScript:cmd];
result = [conversation result];
result = [conversation runScriptFromString:cmd];
NS_HANDLER
[self showException:localException];
NS_ENDHANDLER
[env setObject:line forName:@"LastCommand"];
[env setObject:result forName:@"LastObject"];
return result;
}
- (NSString *)readLine
{
char *str;
const char *str;
NSString *actualPrompt = prompt;
NSString *line = @"";
BOOL done = NO;
@ -246,7 +261,7 @@ int complete_handler(int count, int key)
- (int)completion
{
STContext *context;
STEnvironment *env = [conversation environment];
NSEnumerator *enumerator;
NSMutableSet *set;
NSString *match;
@ -256,11 +271,6 @@ int complete_handler(int count, int key)
int pos = 0;
int c;
if(!completionEnabled)
{
return 0;
}
if(rl_point <= 0)
{
return 0;
@ -295,8 +305,7 @@ int complete_handler(int count, int key)
}
}
context = [conversation context];
enumerator = [[context knownObjectNames] objectEnumerator];
enumerator = [[env knownObjectNames] objectEnumerator];
while( (str = [enumerator nextObject]) )
{
if( [str hasPrefix:match] )
@ -363,8 +372,8 @@ int complete_handler(int count, int key)
- (id)executeScriptNamed:(NSString *)scriptName
{
STFileScript *script = [scriptsManager scriptWithName:scriptName];
id result = nil;
STScript *script = [scriptsManager scriptWithName:scriptName];
id result = nil;
if(!script)
{

View file

@ -38,15 +38,11 @@
@interface STShellTool:NSObject
{
STConversation *conversation;
NSArray *arguments;
NSUInteger currentArg;
NSArray *arguments;
unsigned int currentArg;
NSString *environmentName;
NSString *hostName;
NSString *typeName;
NSString *languageName;
NSString *envName;
NSString *languageName;
}
- (int)parseArguments;
- (NSString *)nextArgument;
@ -96,34 +92,14 @@
}
else if ([@"environment" hasPrefix:arg])
{
RELEASE(environmentName);
environmentName = [self nextArgument];
if(!environmentName)
RELEASE(envName);
envName = [self nextArgument];
if(!envName)
{
[NSException raise:@"STShellToolException"
format:@"Environment name expected"];
}
}
else if ([@"host" hasPrefix:arg])
{
RELEASE(hostName);
hostName = [self nextArgument];
if(!hostName)
{
[NSException raise:@"STShellToolException"
format:@"Host name expected"];
}
}
else if ([@"type" hasPrefix:arg])
{
RELEASE(typeName);
typeName = [self nextArgument];
if(!typeName)
{
[NSException raise:@"STShellToolException"
format:@"Environment description (type) name expected"];
}
}
else if(!isOption)
{
break;
@ -152,71 +128,39 @@
{
currentArg--;
}
/* Method taken from stexec.m - look there for updates */
- (void)createConversation
{
STEnvironmentDescription *desc;
STEnvironment *environment;
if(environmentName)
{
/* user wants to connect to a distant environment */
conversation = [[STRemoteConversation alloc]
initWithEnvironmentName:environmentName
host:hostName
language:languageName];
if(!conversation)
{
NSLog(@"Unable to connect to %@@%@", environmentName, hostName);
return;
}
}
else
{
/* User wants local temporary environment */
if(!typeName || [typeName isEqualToString:@""])
{
environment = [STEnvironment environmentWithDefaultDescription];
}
else
{
desc = [STEnvironmentDescription descriptionWithName:typeName];
environment = [STEnvironment environmentWithDescription:desc];
}
/* Register basic objects: Environment, Transcript */
[environment setObject:environment forName:@"Environment"];
[environment loadModule:@"SimpleTranscript"];
[environment setCreatesUnknownObjects:YES];
/* FIXME: make this an option */
[environment setFullScriptingEnabled:YES];
conversation = [[STConversation alloc] initWithContext:environment
language:languageName];
}
}
- (void)run
{
STEnvironmentDescription *desc;
STEnvironment *env;
STShell *shell;
[self parseArguments];
[self createConversation];
if(!envName || [envName isEqualToString:@""])
{
env = [STEnvironment environmentWithDefaultDescription];
}
else
{
desc = [STEnvironmentDescription descriptionWithName:envName];
env = [STEnvironment environmentWithDescription:desc];
}
/* FIXME: make this an option */
[env setFullScriptingEnabled:YES];
shell = [[STShell alloc] initWithEnvironment:env];
if(!languageName || [languageName isEqualToString:@""])
{
languageName = [[STLanguageManager defaultManager] defaultLanguage];
languageName = [STLanguage defaultLanguageName];
}
[conversation setLanguage:languageName];
shell = [[STShell alloc] initWithConversation:conversation];
[shell setLanguage:languageName];
[shell run];
NSDebugLog(@"Exiting StepTalk shell");
RELEASE(shell);
NSDebugLog(@"Exiting StepTalk shell");
}
- (void)printHelp
@ -228,9 +172,7 @@
"Options are:\n"
" -help this text\n"
" -language lang use language lang\n"
" -environment env use scripting environment with name env\n"
" -host host find environment on host\n"
" -type desc use environment description with name 'desc'\n",
" -environment env use scripting environment with name env\n",
[[info processName] cString],[[info processName] cString]
);
}
@ -247,7 +189,7 @@ int main(int argc, const char **argv)
tool = [[STShellTool alloc] init];
[tool run];
RELEASE(tool);
RELEASE(pool);
return 0;

View file

@ -1,48 +0,0 @@
| actor engine source method |
actor := STActor actorInEnvironment:Environment.
"Set ivars"
ivars := NSMutableDictionary dictionary.
ivars setObject:1 forKey:'number'.
actor setInstanceVariables:ivars.
" Get the proper engine "
engine := STEngine engineForLanguage:'Smalltalk'.
" This is the source of new method "
source := 'increment
number := number + 1. ^self'.
" Create method "
method := engine methodFromSource:source
forReceiver:actor
inContext:Environment.
" Add the method to the actor "
actor addMethod:method.
" Add another method with an argument "
source := 'setNumber:i number := i. ^self'.
method := engine methodFromSource:source
forReceiver:actor
inContext:Environment.
actor addMethod:method.
source := 'print
Transcript showLine: (\'The number is \',
(number description)). ^self'.
method := engine methodFromSource:source
forReceiver:actor
inContext:Environment.
actor addMethod:method.
" Send it! "
actor print.
actor increment.
actor print.
actor increment.
actor print.
actor setNumber:10.
actor print.

View file

@ -1,7 +1,7 @@
" List contents of current directory "
" Script variables "
| fileManager path files |
| fileManager path files dict |
" Get default file manager "
fileManager := NSFileManager defaultManager.
@ -18,7 +18,7 @@ files := fileManager directoryContentsAtPath:path.
" For each file from files do the following ..."
files do:
[ :file | | dict |
[ :file |
dict := fileManager fileAttributesAtPath: (path / file)
traverseLink:NO.

View file

@ -25,7 +25,7 @@ main
env setObject:self forName:'Shell'.
" Create and setup engine "
engine := STEngine engineForLanguage:'Smalltalk'.
engine := STEngine engineForLanguageWithName:'Smalltalk'.
" Do the loop! "

View file

@ -37,7 +37,7 @@ ADDITIONAL_BUNDLE_LIBS = -lStepTalk
ADDITIONAL_INCLUDE_DIRS += -I../../Frameworks/
ADDITIONAL_LIB_DIRS += -L../../Frameworks/StepTalk/StepTalk.framework/Versions/Current/$(GNUSTEP_TARGET_LDIR)
BUNDLE_INSTALL_DIR:=$(GNUSTEP_LIBRARY)/StepTalk/Finders
BUNDLE_INSTALL_DIR:=$(GNUSTEP_INSTALLATION_DIR)/Library/StepTalk/Finders
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make

View file

@ -35,7 +35,7 @@ ADDITIONAL_BUNDLE_LIBS = -lStepTalk
ADDITIONAL_INCLUDE_DIRS += -I../../Frameworks/
ADDITIONAL_LIB_DIRS += -L../../Frameworks/StepTalk/StepTalk.framework/Versions/Current/$(GNUSTEP_TARGET_LDIR)
BUNDLE_INSTALL_DIR:=$(GNUSTEP_LIBRARY)/StepTalk/Finders
BUNDLE_INSTALL_DIR:=$(GNUSTEP_INSTALLATION_DIR)/Library/StepTalk/Finders
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make

View file

@ -11,7 +11,7 @@
{
"NSObject-operators" = {
Use = (Comparison, KeyValueCoding);
};
}
};
Classes =
@ -53,7 +53,7 @@
{
"+=" = "addObject:";
"-=" = "removeObject:";
};
}
};
NSDictionary =
@ -61,7 +61,7 @@
Super = NSObject;
SymbolicSelectors = {
"@" = "objectForKey:";
};
}
};
NSUserDefaults =
@ -69,7 +69,7 @@
Super = NSObject;
SymbolicSelectors = {
"@" = "objectForKey:";
};
}
};
NSString =
@ -93,7 +93,7 @@
SymbolicSelectors =
{
"+=" = "appendString:";
};
}
};
NSSet =
@ -102,7 +102,7 @@
SymbolicSelectors =
{
"<" = "isSubsetOfSet:";
};
}
};
NSMutableSet =
@ -112,7 +112,7 @@
{
"+=" = "addObject:";
"-=" = "removeObject:";
};
}
};
NSDate =
@ -121,7 +121,7 @@
SymbolicSelectors =
{
"-" = "timeIntervalSinceDate:";
};
}
};
@ -135,7 +135,7 @@
"<>" = "rangeWith:";
"@" = "pointWith:";
"@@" = "sizeWith:";
};
}
};
}; /* Classes */
}

View file

@ -13,7 +13,7 @@
"writeToFile:atomically:",
"writeToURL:atomically:"
)
};
}
};
Classes =

View file

@ -21,10 +21,6 @@
AllowMethods =
(
"value",
"value:",
"value:value:",
"value:value:value:",
"valueWithArguments:",
"valueWith:",
"valueWith:with:",
"valueWith:with:with:",
@ -45,5 +41,5 @@
Super = nil;
Restriction = AllowAll;
};
};
}
}

View file

@ -25,7 +25,7 @@
"<=" = "isLessOrEqualThan:";
">=" = "isGreatherOrEqualThan:";
};
}
};
NumberArithmetic =

View file

@ -27,20 +27,17 @@ FRAMEWORK_NAME = StepTalk
StepTalk_OBJC_FILES = \
NSInvocation+additions.m \
STActor.m \
STBehaviourInfo.m \
STBundleInfo.m \
STClassInfo.m \
STContext.m \
STConversation.m \
STRemoteConversation.m \
STEngine.m \
STEnvironment.m \
STEnvironmentDescription.m \
STExterns.m \
STFunctions.m \
STFileScript.m \
STLanguageManager.m \
STLanguage.m \
STObjCRuntime.m \
STObjectReference.m \
STScript.m \
@ -56,22 +53,18 @@ StepTalk_OBJC_FILES = \
StepTalkScriptingInfo.m
# FIXME: NOT FINISHED:
# STRemoteConversation.m \
# STDistantConversation.m \
# STDistantEnvironment.m \
STEPTALK_HEADER_FILES = \
STActor.h \
STBundleInfo.h \
STContext.h \
STConversation.h \
STRemoteConversation.h \
STEngine.h \
STEnvironment.h \
STEnvironmentDescription.h \
STExterns.h \
STFunctions.h \
STFileScript.h \
STLanguageManager.h \
STLanguage.h \
STObjCRuntime.h \
STObjectReference.h \
STMethod.h \
@ -88,7 +81,10 @@ StepTalk_HEADER_FILES = $(STEPTALK_HEADER_FILES) \
StepTalk.h
StepTalk_RESOURCE_FILES = ScriptingInfo.plist Environments
StepTalk_RESOURCE_FILES = ScriptingInfo.plist
STEPTALK_LIBRARY_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/StepTalk
STEPTALK_ENVDEFS_DIR = $(STEPTALK_LIBRARY_DIR)/Environments
ADDITIONAL_CPPFLAGS += -pipe
ADDITIONAL_OBJCFLAGS = -Wno-import -DSTEPTALK_VERSION=$(STEPTALK_VERSION)
@ -104,7 +100,9 @@ StepTalk_AGSDOC_FLAGS = \
-Declared StepTalk \
-DocumentationDirectory ../../Documentation/Reference
StepTalk_LIBRARIES_DEPEND_UPON += -lgnustep-base -lobjc
ifeq ($(GNUSTEP_TARGET_OS),mingw32)
StepTalk_LIBRARIES_DEPEND_UPON += -lgnustep-base -lobjc
endif
ifeq ($(check),yes)
ADDITIONAL_OBJCFLAGS += -Werror

View file

@ -34,17 +34,25 @@
# after-all::
# Things to do before installing
# before-install::
# $(MKDIRS) $(STEPTALK_LIBRARY_DIR)
before-install::
$(MKDIRS) $(STEPTALK_LIBRARY_DIR)
$(MKDIRS) $(STEPTALK_ENVDEFS_DIR)
# Things to do after installing
# after-install::
after-install::
@(echo Copying scripting environments...; \
cd Environments;\
for file in *.stenv; do \
$(INSTALL_DATA) $$file $(STEPTALK_ENVDEFS_DIR)/$$file ; \
done;\
)
# Things to do before uninstalling
# before-uninstall::
# Things to do after uninstalling
# after-uninstall::
after-uninstall::
rm -rf $(STEPTALK_ENVDEFS_DIR)
# Things to do before cleaning
# before-clean::

View file

@ -34,8 +34,8 @@ id STObjectFromValueOfType(void *value, const char *type);
+ invocationWithTarget:(id)target selectorName:(NSString *)selectorName;
+ invocationWithTarget:(id)target selector:(SEL)selector;
- (void)setArgumentAsObject:(id)anObject atIndex:(NSInteger)anIndex;
- (id)getArgumentAsObjectAtIndex:(NSInteger)anIndex;
- (void)setArgumentAsObject:(id)anObject atIndex:(int)anIndex;
- (id)getArgumentAsObjectAtIndex:(int)anIndex;
- (id)returnValueAsObject;
@end

View file

@ -31,11 +31,8 @@
#import <Foundation/NSDebug.h>
#import <Foundation/NSException.h>
#import <Foundation/NSMethodSignature.h>
#import <Foundation/NSString.h>
#import <Foundation/NSValue.h>
#import <GNUstepBase/GSObjCRuntime.h>
#import <Foundation/NSString.h>
#import "STExterns.h"
#import "STObjCRuntime.h"
@ -43,6 +40,8 @@
#import "STSelector.h"
#import "STStructure.h"
#import <objc/objc-api.h>
#if 0
static Class NSNumber_class = nil;
static Class NSString_class = nil;
@ -52,7 +51,7 @@ static Class NSValue_class = nil;
#define CASE_NUMBER_TYPE(otype,type,msgtype)\
case otype: object = [NSNumber numberWith##msgtype:*((type *)value)];\
NSDebugLLog(@"STStructure",\
@" is number value '%@'", object);\
@" is number value '%@'", object);\
break
/** This method is a factory method, that means that you have to release the
@ -62,18 +61,18 @@ id STObjectFromValueOfType(void *value, const char *type)
id object;
NSDebugLLog(@"STStructure",
@"object from value %p of of type '%c'", value, *type);
@"object from value %p of of type '%c'",value,*type);
switch (*type)
switch(*type)
{
case _C_ID:
case _C_CLASS:
object = *((id *)value);
NSDebugLLog(@"STStructure",
@" is object value %p", object);
@" is object value %p", object);
break;
CASE_NUMBER_TYPE(_C_CHR,char,Char);
CASE_NUMBER_TYPE(_C_UCHR,unsigned char,UnsignedChar);
CASE_NUMBER_TYPE(_C_UCHR,unsigned char, UnsignedChar);
CASE_NUMBER_TYPE(_C_SHT,short,Short);
CASE_NUMBER_TYPE(_C_USHT,unsigned short,UnsignedShort);
CASE_NUMBER_TYPE(_C_INT,int,Int);
@ -100,16 +99,14 @@ id STObjectFromValueOfType(void *value, const char *type)
object = nil;
break;
case _C_STRUCT_B:
object = [[STStructure alloc] initWithValue:value type:type];
object = [[STStructure alloc] initWithValue:value
type:type];
AUTORELEASE(object);
break;
case _C_SEL:
object = [[STSelector alloc] initWithSelector:*((SEL *)value)];
AUTORELEASE(object);
break;
case _C_CONST:
object = STObjectFromValueOfType(value, ++type);
break;
case _C_BFLD:
case _C_UNDEF:
case _C_ARY_B:
@ -120,31 +117,31 @@ id STObjectFromValueOfType(void *value, const char *type)
default:
[NSException raise:STInvalidArgumentException
format:@"unhandled ObjC type '%s'",
type];
type];
}
return object;
}
#define CASE_TYPE(otype,type,msgtype)\
case otype:*((type *)value) = [anObject msgtype##Value];\
NSDebugLLog(@"STStructure",\
case otype:(*((type *)value)) = [anObject msgtype##Value];\
NSDebugLLog(@"STStructure",\
@" is number value '%@'", anObject);\
break
void STGetValueOfTypeFromObject(void *value, const char *type, id anObject)
{
NSDebugLLog(@"STStructure",
@"value at %p from object '%@' of type '%c'",
value, anObject, *type);
@"value at %p from object '%@' of type '%c'",
value,anObject,*type);
switch (*type)
switch(*type)
{
case _C_ID:
case _C_CLASS:
NSDebugLLog(@"STStructure",
@" is object value");
*((id *)value) = anObject;
(*(id *)value) = anObject;
break;
CASE_TYPE(_C_CHR,char,char);
CASE_TYPE(_C_UCHR,unsigned char,unsignedChar);
@ -160,25 +157,21 @@ void STGetValueOfTypeFromObject(void *value, const char *type, id anObject)
CASE_TYPE(_C_DBL,double,double);
CASE_TYPE(_C_PTR,void *,pointer);
case _C_CHARPTR: /* FIXME: check if this is good (copy/no copy)*/
*((const char **)value) = [anObject cString];
(*((const char **)value)) = [[anObject stringValue] cString];
NSDebugLLog(@"STStructure",
@" is cstring '%@'", anObject);
@" is cstring '%@'", [anObject stringValue]);
break;
case _C_STRUCT_B:
/* FIXME: check for struct compatibility */
/* FIXME: chech for struct compatibility */
NSDebugLLog(@"STStructure",
@" is structure");
@" is structure");
[(STStructure*)anObject getValue:value];
break;
case _C_SEL:
*((SEL *)value) = [anObject selectorValue];
(*((SEL *)value)) = [anObject selectorValue];
break;
case _C_CONST:
STGetValueOfTypeFromObject(value, ++type, anObject);
break;
case _C_BFLD:
case _C_VOID:
case _C_UNDEF:
@ -191,7 +184,7 @@ void STGetValueOfTypeFromObject(void *value, const char *type, id anObject)
default:
[NSException raise:STInvalidArgumentException
format:@"unhandled ObjC type '%s'",
type];
type];
}
}
@ -214,18 +207,18 @@ void STGetValueOfTypeFromObject(void *value, const char *type, id anObject)
NSInvocation *invocation;
SEL sel;
BOOL requiresRegistration = NO;
// NSLog(@"GETTING SELECTOR %@", selectorName);
sel = NSSelectorFromString(selectorName);
if (!sel)
if(!sel)
{
// NSLog(@"REGISTERING SELECTOR");
const char *name = [selectorName cString];
sel = sel_register_name(name);
sel = sel_registerName(name);
if (!sel)
if(!sel)
{
[NSException raise:STInternalInconsistencyException
format:@"Unable to register selector '%@'",
@ -234,28 +227,28 @@ void STGetValueOfTypeFromObject(void *value, const char *type, id anObject)
}
requiresRegistration = YES;
}
signature = [target methodSignatureForSelector:sel];
/* FIXME: this is workaround for gnustep DO bug (hight priority) */
if (requiresRegistration)
if(requiresRegistration)
{
// NSLog(@"REGISTERING SELECTOR TYPES");
sel = GSSelectorFromNameAndTypes([selectorName cString],
[signature methodReturnType]);
sel = sel_register_typed_name([selectorName cString], [signature methodReturnType]);
// NSLog(@"REGISTERED %@", NSStringFromSelector(sel));
}
if (!signature)
if(!signature)
{
[NSException raise:STInternalInconsistencyException
format:@"No method signature for selector '%@' for "
@"receiver of type %@",
selectorName, [target className]];
selectorName,[target className]];
return nil;
}
invocation = [NSInvocation invocationWithMethodSignature:signature];
[invocation setSelector:sel];
@ -268,18 +261,19 @@ void STGetValueOfTypeFromObject(void *value, const char *type, id anObject)
{
NSMethodSignature *signature;
NSInvocation *invocation;
signature = [target methodSignatureForSelector:selector];
if (!signature)
if(!signature)
{
[NSException raise:STInternalInconsistencyException
format:@"No method signature for selector '%@' for "
@"receiver of type %@",
NSStringFromSelector(selector), [target className]];
NSStringFromSelector(selector),[target className]];
return nil;
}
invocation = [NSInvocation invocationWithMethodSignature:signature];
[invocation setSelector:selector];
@ -288,63 +282,59 @@ void STGetValueOfTypeFromObject(void *value, const char *type, id anObject)
return invocation;
}
- (void)setArgumentAsObject:(id)anObject atIndex:(NSInteger)anIndex
- (void)setArgumentAsObject:(id)anObject atIndex:(int)anIndex
{
const char *type;
NSUInteger size;
void *value;
type = [[self methodSignature] getArgumentTypeAtIndex:anIndex];
NSGetSizeAndAlignment(type, &size, NULL);
value = NSZoneMalloc(STMallocZone, size);
value = NSZoneMalloc(STMallocZone,objc_sizeof_type(type));
STGetValueOfTypeFromObject(value, type, anObject);
[self setArgument:(void *)value atIndex:anIndex];
NSZoneFree(STMallocZone, value);
NSZoneFree(STMallocZone,value);
}
- (id)getArgumentAsObjectAtIndex:(NSInteger)anIndex
- (id)getArgumentAsObjectAtIndex:(int)anIndex
{
const char *type;
NSUInteger size;
void *value;
id object;
type = [[self methodSignature] getArgumentTypeAtIndex:anIndex];
NSGetSizeAndAlignment(type, &size, NULL);
value = NSZoneMalloc(STMallocZone, size);
value = NSZoneMalloc(STMallocZone,objc_sizeof_type(type));
[self getArgument:value atIndex:anIndex];
object = STObjectFromValueOfType(value, type);
NSZoneFree(STMallocZone, value);
object = STObjectFromValueOfType(value,type);
NSZoneFree(STMallocZone,value);
return object;
}
- (id)returnValueAsObject
{
const char *type;
NSUInteger returnLength;
int returnLength;
void *value;
id returnObject = nil;
NSMethodSignature *signature = [self methodSignature];
type = [signature methodReturnType];
returnLength = [signature methodReturnLength];
NSDebugLLog(@"STSending",
@" return type '%s', buffer length %lu",
type, (unsigned long)returnLength);
@" return type '%s', buffer length %i",type,returnLength);
if (returnLength != 0)
if(returnLength!=0)
{
value = NSZoneMalloc(STMallocZone, returnLength);
value = NSZoneMalloc(STMallocZone,returnLength);
[self getReturnValue:value];
if (*type == _C_VOID)
if( *type == _C_VOID )
{
returnObject = [self target];
}
@ -353,9 +343,9 @@ void STGetValueOfTypeFromObject(void *value, const char *type, id anObject)
returnObject = STObjectFromValueOfType(value, type);
}
NSZoneFree(STMallocZone, value);
NSZoneFree(STMallocZone,value);
NSDebugLLog(@"STSending",
@" returned object %@", returnObject);
@" returned object %@",returnObject);
}
else
{

View file

@ -32,7 +32,7 @@
- subtract:(NSNumber *)number;
- multiply:(NSNumber *)number;
- divide:(NSNumber *)number;
- (BOOL)isLessThan:(NSNumber *)number;
- (unsigned int)isLessThan:(NSNumber *)number;
- (BOOL)isGreatherThan:(NSNumber *)number;
- (BOOL)isLessOrEqualThan:(NSNumber *)number;
- (BOOL)isGreatherOrEqualThan:(NSNumber *)number;
@ -40,13 +40,13 @@
@interface NSNumber (STLogicOperations)
- (NSUInteger)or:(NSNumber *)number;
- (NSUInteger)and:(NSNumber *)number;
- (NSUInteger)not;
- (unsigned int)or:(NSNumber *)number;
- (unsigned int)and:(NSNumber *)number;
- (unsigned int)not;
@end
@interface NSNumber (STStructure)
- rangeWith:(NSUInteger)length;
- rangeWith:(int)length;
- pointWith:(float)y;
- sizeWith:(float)h;
@end

View file

@ -77,7 +77,7 @@
return [NSNumber numberWithDouble:(fmod([self doubleValue],
[number doubleValue]))];
}
- (BOOL)isLessThan:(NSNumber *)number
- (unsigned int)isLessThan:(NSNumber *)number
{
return ([self doubleValue] < [number doubleValue]);
}
@ -99,29 +99,28 @@
@implementation NSNumber (STLogicOperations)
- (NSUInteger)or:(NSNumber *)number
- (unsigned int)or:(NSNumber *)number
{
return ([self integerValue] | [number integerValue]);
return ([self intValue] | [number intValue]);
}
- (NSUInteger)and:(NSNumber *)number
- (unsigned int)and:(NSNumber *)number
{
return ([self integerValue] & [number integerValue]);
return ([self intValue] & [number intValue]);
}
- (NSUInteger)not
- (unsigned int)not
{
/* FIXME */
return ![self integerValue];
return ![self intValue];
}
@end
@implementation NSNumber (STStructure)
- rangeWith:(NSUInteger)length
- rangeWith:(int)length
{
NSRange r = NSMakeRange([self unsignedIntegerValue], length);
return [STStructure structureWithRange:r];
return [STStructure structureWithRange:NSMakeRange([self intValue], length)];
}
- pointWith:(float)y
{

View file

@ -26,9 +26,6 @@
@interface NSObject (STAdditions)
- (BOOL)isSame:(id)anObject;
- (BOOL)notEqual:(id)anObject;
- (BOOL)notSame:(id)anObject;
- (BOOL)isNil;
- (BOOL)notNil;
- (id)yourself;
@end

View file

@ -15,14 +15,6 @@
{
return self == anObject;
}
- (BOOL)notEqual:(id)anObject
{
return ![self isEqual:anObject];
}
- (BOOL)notSame:(id)anObject
{
return ![self isSame:anObject];
}
- (BOOL)isNil
{
return NO;
@ -31,9 +23,5 @@
{
return YES;
}
- (id)yourself
{
return self;
}
@end

View file

@ -1,47 +0,0 @@
/**
STActor
StepTalk actor
Copyright (c) 2002 Free Software Foundation
Written by: Stefan Urbanek <urbanek@host.sk>
Date: 2005 June 30
License: LGPL
This file is part of the StepTalk project.
*/
#import <Foundation/NSObject.h>
#import "STMethod.h"
@class NSMutableDictionary;
@class NSDictionary;
@class NSArray;
@class STEnvironment;
@interface STActor:NSObject<NSCoding>
{
NSMutableDictionary *ivars;
NSMutableDictionary *methodDictionary;
STEnvironment *environment;
}
+ actorInEnvironment:(STEnvironment *)env;
- initWithEnvironment:(STEnvironment *)env;
- (void)setEnvironment:(STEnvironment *)env;
- (STEnvironment *)environment;
- (NSArray *)instanceVariableNames;
- (void)setInstanceVariables:(NSDictionary *)dictionary;
- (NSDictionary *)instanceVariables;
- (void)addInstanceVariable:(NSString *)aName;
- (void)removeInstanceVariable:(NSString *)aName;
- (void)addMethod:(id <STMethod>)aMethod;
- (id <STMethod>)methodWithName:(NSString *)aName;
- (void)removeMethod:(id <STMethod>)aMethod;
- (void)removeMethodWithName:(NSString *)aName;
- (NSArray *)methodNames;
- (NSDictionary *)methodDictionary;
@end

Some files were not shown because too many files have changed in this diff Show more