From 2ae28de0eac9c578d09b80658d1572ef62afe0bd Mon Sep 17 00:00:00 2001 From: Stefan Urbanek Date: Mon, 21 Apr 2003 22:28:45 +0000 Subject: [PATCH] 0.7.1 git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@16506 72102866-910b-0410-8b05-ffd578937521 --- ApplicationScripting/ChangeLog | 18 +-- ApplicationScripting/README | 7 + .../ScriptingMenu.gorm/objects.gorm | Bin 2014 -> 2017 bytes ChangeLog | 136 +++++++++--------- Examples/Shell/ChangeLog | 14 +- Languages/Smalltalk/ChangeLog | 5 +- NEWS | 11 ++ Source/GNUmakefile | 2 +- Source/STEnvironment.m | 2 +- Testing/Smalltalk/block_test.st | 2 +- Version | 2 +- WISH | 2 +- 12 files changed, 113 insertions(+), 88 deletions(-) diff --git a/ApplicationScripting/ChangeLog b/ApplicationScripting/ChangeLog index f40528c..158dfc2 100644 --- a/ApplicationScripting/ChangeLog +++ b/ApplicationScripting/ChangeLog @@ -19,50 +19,50 @@ * STTranscript.m: Added missing imports. -2003 Mar 27 +2003 Mar 27 Stefan Urbanek * ScriptsPanel.gorm: disallow multiple selection in scripts list. It was not possible to get index of selected cell, because of -gui b0rk. -2003 Mar 24 +2003 Mar 24 Stefan Urbanek * GNUmakefile*: Removed unnecessary stuff * Documentation: Moved relevant docs into StepTalk documentation. Removed the directory. -2003 Mar 23 +2003 Mar 23 Stefan Urbanek * Added ScriptingMenu.gorm * NSApplication: new methods: scriptingMenu and setScriptingMenu: * Added 'Do selection' and 'Do and show selection' methods for NSTextView -2003 Mar 23 +2003 Mar 23 Stefan Urbanek * Rewritten and changed from library to bundle. -2002 Jun 18 +2002 Jun 18 Stefan Urbanek * STScriptsManager: removed methods that are implemented in StepTalk * STScript: moved to StepTalk -2002 May 24 +2002 May 24 Stefan Urbanek * STScriptsManager: reflex renamed method in StepTalk -2002 Apr 13 +2002 Apr 13 Stefan Urbanek * Created ScriptingSupport bundle * Created Support/ScriptingSupport.m for loading application scripting support * Updated Ink.app example to use loading of scripting support -2002 Apr 12 +2002 Apr 12 Stefan Urbanek * STScriptsManager: Look for scripts also in all loaded bundles * NSApplication+additions: Update scripting information from all bundles. Read scripting info when new bundle is loaded. -2002 Apr 12 +2002 Apr 12 Stefan Urbanek * ChangeLog started diff --git a/ApplicationScripting/README b/ApplicationScripting/README index 3eb0f56..fc3a4bf 100644 --- a/ApplicationScripting/README +++ b/ApplicationScripting/README @@ -37,6 +37,13 @@ install it separately by doing: > make install +Scripts +------- +Scripts are stored per application domain in +*/Library/StepTalk/Scripts/application_name. For example GNUmail is searhing +for scripts in */Library/StepTalk/Scripts/GNUmail. + + Feedback -------- Any bug reports and comments are welcome at urbanek@host.sk diff --git a/ApplicationScripting/Source/English.lproj/ScriptingMenu.gorm/objects.gorm b/ApplicationScripting/Source/English.lproj/ScriptingMenu.gorm/objects.gorm index a90a158f8f00ffda999bcdc5da96ec7aed528fd6..4ace92b5bfcce304b23a90135d5f9af678628b41 100644 GIT binary patch delta 44 ycmcb||B!#fXC`T0RR#tIPEjDi%M?AEiG5G?c)@D=Yl`H@a-wYoB delta 41 vcmaFJe~*8|XC?_QRR#tIPEjDi#S~JMm{*)!lvz+>ATjv@qt<2%=9Me}?Oh9x diff --git a/ChangeLog b/ChangeLog index f96ceea..3136482 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003 Apr 21 Stefan Urbanek + + * Version 0.7.1 + 2003 Apr 04 David Ayers * STEngine.h: Fixed declaration to match implementation to avoid @@ -36,23 +40,23 @@ * WISH: new file -2003 Mar 25 +2003 Mar 25 Stefan Urbanek * STScriptsManager: new method setScriptSearchPathsToDefaults; new method setScriptSearchPaths:; added instance variable scriptSearchPaths -2003 Mar 24 +2003 Mar 24 Stefan Urbanek * Documentation: Updated ApplicationScripting.txt -2003 Mar 23 +2003 Mar 23 Stefan Urbanek * Added ApplicationScripting * GNUMakefile: add ApplicationScripting. Can be ignored when appkit=no * Languages/Guile: Fixed steptalk interface changes (patch from Matt Rice ) -2003 Mar 22 +2003 Mar 22 Stefan Urbanek * STEnvironment: includeBundle returns NO on failure * STScriptsManager: added method allScripts that returns all scripts for @@ -62,55 +66,55 @@ localizedName * STLanguage: new methods: updateFileTypeDictionary and allKnownFileTypes -2003 Feb 21 +2003 Feb 21 Stefan Urbanek * StepTalk.h: Removed #import of STModule.h as it is no longer there -2003 Feb 11 +2003 Feb 11 Stefan Urbanek * Source/GNUmakefile: fixed installation of documentation -2003 Feb 4 +2003 Feb 4 Stefan Urbanek * STBundleInfo: warn instead of raise an exception if there is no scripting info class. -2003 Feb 3 +2003 Feb 3 Stefan Urbanek * Version 0.7.0 -2003 Jan 30 +2003 Jan 30 Stefan Urbanek * STBundleInfo: Removed compiler warning * Modules/*: Cleanup for compiler warnings -2003 Jan 29 +2003 Jan 29 Stefan Urbanek * Modules/ObjectiveC: fixed GNUmakefile to include source headers -2003 Jan 25 +2003 Jan 25 Stefan Urbanek * STBundleInfo: Fixed NSBundle stepTalkBundleNames to use .bundle file extension * Modules/*/GNUmakefile: Removed now unnecesary -lStepTalk, because modules do not have to be linked with StepTalk anymore -2003 Jan 25 +2003 Jan 25 Stefan Urbanek * Version 0.7.0pre1 -2003 Jan 24 +2003 Jan 24 Stefan Urbanek * STBundleInfo: Use info from ScriptingInfo.plist instead of bundle's main info dictionary * Modules/*: Create ScriptingInfo.plist * Modules/GNUmakefile: Compile GDL2 module if it is available. -2003 Jan 22 +2003 Jan 22 Stefan Urbanek * STEnvironment: added includeBundle: method -2003 Jan 22 +2003 Jan 22 Stefan Urbanek * STModule: removed * STBundleInfo: added new class STBundleInfo and additional methods to @@ -121,88 +125,88 @@ IMPORTANT NOTE: You have to rebuild all modules, because the format has changed. -2003 Jan 22 +2003 Jan 22 Stefan Urbanek * NSNumber+additions: Added -modulo: method. * Foundation bundle: added NSFileManager extensions; added missing constants * Documentation/Additions.txt: new file -2003 Jan 20 +2003 Jan 20 Stefan Urbanek * GNUMakefile: Removed inclusion of source-distribution.make, as it is not needed (suggested by Nicola Pero ) * Examples/Developer: new directory containing developer examples -2003 Jan 15 +2003 Jan 15 Stefan Urbanek * GDL2: added installation of GDL2.stenv * Documentation/Tools.txt: new file documenting steptalk tools -2002 Dec 25 +2002 Dec 25 Stefan Urbanek * Version 0.6.2 -2002 Dec 21 +2002 Dec 21 Stefan Urbanek * Languages/GNUmakefile, Modules/GNUmakefile, Finders/GNUmakefile: removed forced installation to the GNUSTEP_USER_ROOT. ~/Library/StepTalk/* should be deleted. * Documentation/Modules.txt: added -2002 Nov 29 +2002 Nov 29 Stefan Urbanek * Added GDL2 module * STModule: more details on module loading fault -2002 Nov 11 +2002 Nov 11 Stefan Urbanek * ObjectiveC module: added selectorsContainingString: and implementorsOfSelector: -2002 Nov 5 +2002 Nov 5 Stefan Urbanek * Added MyLanguage as empty example language bundle -2002 Sep 17 +2002 Sep 17 Stefan Urbanek * Patch from Jeff Teunissen with various bug-fixes * Added .cvsignore files -2002 Sep 15 +2002 Sep 15 Stefan Urbanek * Version 0.6.1 -2002 Sep 15 +2002 Sep 15 Stefan Urbanek * Modules/AppKit/AppKitConstants.list: commented out undefined constants -2002 Sep 7 +2002 Sep 7 Stefan Urbanek * Modules/AppKit/AppKitInfo.plist: added NSSound class -2002 Aug 27 +2002 Aug 27 Stefan Urbanek * Source/*.m: Cleanup to remove compiler warnings. -2002 Jun 18 +2002 Jun 18 Stefan Urbanek * STScript: new class (from AppTalk) * STScriptsManager: new class (from AppTalk) * Modules/StepTalk: new module -2002 Jun 14 +2002 Jun 14 Stefan Urbanek * Modules/ObjectiveC: new module -2002 Jun 10 +2002 Jun 10 Stefan Urbanek * NSObject+additions: removed -className as it was added to the base library -2002 Jun 9 +2002 Jun 9 Stefan Urbanek * Version 0.6.0 released -2002 Jun 8 +2002 Jun 8 Stefan Urbanek * STEnvironmentDescription: added module amd finder list; little code cleanup; removed descriptionFromFile: and initFromFile: methods @@ -226,13 +230,13 @@ by the STEnvironment * Environments: new descriptions AppKit.stenv and Distributed.stenv -2002 Jun 7 +2002 Jun 7 Stefan Urbanek * STEnvironmentDescription: added abstract class 'All' that is root class for all classes * Foundation-operators.stenv: add symbolic selector '->' to all classes -2002 Jun 6 +2002 Jun 6 Stefan Urbanek * Added symbolic selector '->' for valueForKeyPath: * StepTalk.stenv: allow whileTrue: and whileFalse: in STBlock @@ -241,7 +245,7 @@ a requested object; changed NSLogs to NSDebugLLogs with 'STFinder'; do not try to launch nil tool -2002 Jun 4 +2002 Jun 4 Stefan Urbanek * STEnvironment: new methods -addObjectFinder:name:, -addObjectFinderWithName:, -removeObjectFinderWithName:; @@ -253,26 +257,26 @@ STAllObjectiveCSelectors() * Documentation/HowTo.txt: rewritten -2002 Jun 3 +2002 Jun 3 Stefan Urbanek * STFunctions: renamed "StepTalk/Config" directory to "StepTalk/Configuration"; fixed bug in STFindAllResources (resourceDir was ignored) * STEnvironment: changed method allObjectsDictionary to allObjectNames -2002 May 30 +2002 May 30 Stefan Urbanek * STEnvironment: removed pools * STObjectReference: removed method initWithObjectName:pool:create: -2002 May 29 +2002 May 29 Stefan Urbanek * STExecutor: fixed typo * STEnvironment: new method -allObjectsDictionary that returns a NSDictionary with all named objects * STObjCRuntime: new function STAllObjectiveCSelectors -2002 May 24 +2002 May 24 Stefan Urbanek * STEngine: engineForLanguage: renamed to engineForLanguageWithName:. Some method documentation added. @@ -286,23 +290,23 @@ * STEnvironment: Some method documentation added. * StepTalk.gsdoc: new file -2002 May 13 +2002 May 13 Stefan Urbanek * Uploaded to the GNUstep CVS repository by Adam Fedor -2002 Apr 20 +2002 Apr 20 Stefan Urbanek * COPYING: updated * STExterns: Removed unused exceptions * STStructure: Changed exception to STInternalIncosistencyException -2002 Apr 13 +2002 Apr 13 Stefan Urbanek * Modules/GNUmakefile: added option that disables making of appkit support Use make appkit=no. * Separated AppTalk -2002 Mar 17 +2002 Mar 17 Stefan Urbanek * STEngine: removed executeScript: methods and use only executeSource: engine does not make difference between script and statements anymore @@ -310,86 +314,86 @@ * Examples: fixed Smalltalk examples to use new grammar * STLanguage: new method languageNameForFileType: -2002 Mar 13 +2002 Mar 13 Stefan Urbanek * AppKit module: removed old AppKit constants and renamed MiddleButton events to OtherButton. -2002 Feb 14 +2002 Feb 14 Stefan Urbanek * added make option 'appkit'. if you set it to 'no' (make appkit=no), no appkit stuff will be compiled. -2002 Feb 5 +2002 Feb 5 Stefan Urbanek * StepTalk 0.5.0 released -2002 Feb 5 +2002 Feb 5 Stefan Urbanek * STSelector: new file * NSInvocation+additions: handle SEL type with STSelector * Examples: added selector.st, notification.st, scope.st and pldes.st -2002 Feb 3 +2002 Feb 3 Stefan Urbanek * Testing: new directory -2002 Jan 30 +2002 Jan 30 Stefan Urbanek * STEnvironment: Removed unused variables, -2002 Jan 23 +2002 Jan 23 Stefan Urbanek * NSNumber+additions: moved from Smalltalk, added methods for creation of range, point and size -2002 Jan 21 +2002 Jan 21 Stefan Urbanek * StepTalk 0.4.1 released -2002 Jan 21 +2002 Jan 21 Stefan Urbanek * Removed Foundation constants to separate module * stexec: load Foundation module instead of loading all ObjC classes -2002 Jan 13 +2002 Jan 13 Stefan Urbanek * Guile: new language bundle -2002 Jan 9 +2002 Jan 9 Stefan Urbanek * StepTalk 0.4.0 released -2002 Jan 9 +2002 Jan 9 Stefan Urbanek * STFunctions: new function STUserConfigPath * STLanguage: new method languageForFileType: * new tool stupdate_languages to create/update languages configuration file -2001 Dec 8 +2001 Dec 8 Stefan Urbanek * NSInvocation+addition: return receiver (target) when return type is void -2001 Nov 19 +2001 Nov 19 Stefan Urbanek * STModule: New method -classNames; returns array of names of exported classes -2001 Nov 14 +2001 Nov 14 Stefan Urbanek * removed force of use of users home directory for installation * new module AppKit * STEnvironment: new method -addAllClasses to add all Objective-C classes -2001 Nov 10 +2001 Nov 10 Stefan Urbanek * StepTalk 0.3.0 released -2001 Nov 10 +2001 Nov 10 Stefan Urbanek * Added scriptable server example. -2001 Nov 9 +2001 Nov 9 Stefan Urbanek * STExecutor: new options: --list-objects, --list-classes and --list-all-objects @@ -397,13 +401,13 @@ * Tools/GNUmakefile: uncommented stalk tool * moved initialization of STNil from STUndefinedObject to STEngine -2001 Nov 6 +2001 Nov 6 Stefan Urbanek * STProtocolInfo: removed * STBehaviourInfo, STClassInfo, STEnvironmentDescription: rewritten * Environment description files changed -2001 Nov 5 +2001 Nov 5 Stefan Urbanek * Tools/stexec: fixed bug, that caused segfault (reported by Nicola Pero ) @@ -415,12 +419,12 @@ STEnvironmentDescription defaultEnvironmentDescriptionName * STEnvrionmentDescription: New method +defaultEnvironmentDescriptionName. -2001 Nov 3 +2001 Nov 3 Stefan Urbanek * Tools: implemented --environment switch to use environment description with name. -2001 Nov 1 +2001 Nov 1 Stefan Urbanek * New ChangeLog started. Rewritten and redesigned. * Added support for multiple languages. Created Smalltalk language bundle. diff --git a/Examples/Shell/ChangeLog b/Examples/Shell/ChangeLog index 99c82a9..fd9329d 100644 --- a/Examples/Shell/ChangeLog +++ b/Examples/Shell/ChangeLog @@ -3,33 +3,33 @@ * GNUmakefile: Added flags to show all warnings except for import. * STShell.m: Unified name for private categories. -2003 Jan 16 +2003 Jan 16 Stefan Urbanek * GNUmakefile: Added -lncurses -2002 Jun 21 +2002 Jun 21 Stefan Urbanek * Added executeScriptNamed: -2002 Jun 8 +2002 Jun 8 Stefan Urbanek * Reflect STEnvironment changes * Removed loading of Foundation module as this is handleb by the STEnvironment -2002 Jun 7 +2002 Jun 7 Stefan Urbanek * Changed printing of result object (handle arrays, dictionaries and sets different way) -2002 Jun 6 +2002 Jun 6 Stefan Urbanek * Update completition list lazily (only when needed) -2002 Jun 4 +2002 Jun 4 Stefan Urbanek * add DistributedFinder object finder to the environment -2002 May 30 +2002 May 30 Stefan Urbanek * added Environment object. diff --git a/Languages/Smalltalk/ChangeLog b/Languages/Smalltalk/ChangeLog index 6f7620f..fb45464 100644 --- a/Languages/Smalltalk/ChangeLog +++ b/Languages/Smalltalk/ChangeLog @@ -1,8 +1,11 @@ +2003 Apr 21 Stefan Urbanek + + * Version 0.7.1 + 2003 Apr 6 Stefan Urbanek * STCompiler: compileString: fixed exception reporting. - 2003 Apr 04 David Ayers * GNUmakefile: Added flags to show all warnings except for import. diff --git a/NEWS b/NEWS index 431ba93..aa77979 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,14 @@ +0.7.1 + + * Prepared StepTalk for application scripting support + * Added application scripting support bundle + * Added documentation for application scripting + * Many source cleanups by David Ayers + * Some bugfixes in Smalltalk source reader + + For more information about scripting bundle see ApplicationScripting + directory. + 0.7.0 * Added ability to use any bundle or framework for scripting diff --git a/Source/GNUmakefile b/Source/GNUmakefile index 3786c90..f3159d8 100644 --- a/Source/GNUmakefile +++ b/Source/GNUmakefile @@ -78,7 +78,7 @@ STEPTALK_ENVDEFS_DIR = $(STEPTALK_LIBRARY_DIR)/Environments ADDITIONAL_INCLUDE_DIRS += -I./Headers ADDITIONAL_CPPFLAGS += -pipe -ADDITIONAL_OBJCFLAGS = -Wno-import +ADDITIONAL_OBJCFLAGS = -Wno-import -DSTEPTALK_VERSION=$(STEPTALK_VERSION) DOCUMENT_NAME = StepTalk diff --git a/Source/STEnvironment.m b/Source/STEnvironment.m index cab04d4..c739260 100644 --- a/Source/STEnvironment.m +++ b/Source/STEnvironment.m @@ -349,7 +349,7 @@ return AUTORELEASE(ref); } -/* FIXME: rewrite */ +/* FIXME: rewrite, it is too sloooooow */ - (STClassInfo *)findClassInfoForObject:(id)anObject { STClassInfo *info = nil; diff --git a/Testing/Smalltalk/block_test.st b/Testing/Smalltalk/block_test.st index 61e7a47..1199900 100644 --- a/Testing/Smalltalk/block_test.st +++ b/Testing/Smalltalk/block_test.st @@ -2,4 +2,4 @@ array := NSMutableArray array. -1 to: 2000 do: [ :i | array addObject: i]. +1 to: 200000 do: [ :i | array addObject: i]. diff --git a/Version b/Version index c751ec5..1f54b55 100644 --- a/Version +++ b/Version @@ -4,7 +4,7 @@ # The version number of this release. MAJOR_VERSION=0 MINOR_VERSION=7 -SUBMINOR_VERSION=0 +SUBMINOR_VERSION=1 STEPTALK_VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${SUBMINOR_VERSION} diff --git a/WISH b/WISH index 2a6e33f..65e49a6 100644 --- a/WISH +++ b/WISH @@ -90,7 +90,7 @@ Future applications - provide 'script objects' where one can create an object, define its behaviour with 'script methods' in any language. Make it similar to - prototype based language - Self. + prototype based language - Self. (Google for: self language) Conclusion ----------