Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
--- a/stx_libbasic2.st Fri Mar 08 17:37:53 2013 +0100
+++ b/stx_libbasic2.st Sat Mar 09 00:54:44 2013 +0100
@@ -45,24 +45,39 @@
excludedFromPreRequisites
^ #(
- #'stx:goodies/communication' "FTPClient - referenced by FtpURI>>writeStreamDo:create:atomic: "
- #'stx:libtool' "FileBrowser - referenced by Archiver::ArchiverOutputParser>>parseLine:forItemClass: "
- #'stx:libview2' "MIMETypes - referenced by Archiver::ArchiverOutputParser>>parseLine:forItemClass: "
- #'stx:libwidg' "DialogBox - referenced by Archiver::CompressedFile>>compressFile:to: "
- #'stx:libhtml' "HTMLParser - referenced by HTMLUtilities class>>plainTextOfHTML: "
+ #'exept:libcrypt' "Rc4Cipher - referenced by RandomGenerator class>>new "
+ #'stx:goodies/communication' "FTPClient - referenced by FtpURI>>writeStreamDo:create:atomic: "
+ #'stx:libtool' "FileBrowser - referenced by Archiver::ArchiverOutputParser>>parseLine:forItemClass: "
+ #'stx:libview2' "MIMETypes - referenced by Archiver::ArchiverOutputParser>>parseLine:forItemClass: "
+ #'stx:libwidg' "DialogBox - referenced by Archiver::CompressedFile>>compressFile:to: "
+ #'stx:libhtml' "HTMLParser - referenced by HTMLUtilities class>>plainTextOfHTML: "
)
!
-preRequisites
- "list all required packages.
+mandatoryPreRequisites
+ "list all required mandatory packages.
+ Packages are mandatory, if they contain superclasses of the package's classes
+ or classes which are extended by this package.
This list can be maintained manually or (better) generated and
- updated by scanning the superclass hierarchies and looking for
- global variable accesses. (the browser has a menu function for that)
- Howevery, often too much is found, and you may want to explicitely
- exclude individual packages in the #excludedFromPrerequisites method."
+ updated by scanning the superclass hierarchies
+ (the browser has a menu function for that)
+ However, often too much is found, and you may want to explicitely
+ exclude individual packages in the #excludedFromPreRequisites method."
^ #(
- #'stx:libbasic' "Object - superclass of HierarchicalURI "
+ #'stx:libbasic' "NonPositionableExternalStream - superclass of SerialPort "
+ )
+!
+
+referencedPreRequisites
+ "list all packages containing classes referenced by the packages's members.
+ This list can be maintained manually or (better) generated and
+ updated by looking for global variable accesses
+ (the browser has a menu function for that)
+ However, often too much is found, and you may want to explicitely
+ exclude individual packages in the #excludedFromPreRequisites method."
+
+ ^ #(
)
! !
@@ -330,11 +345,28 @@
Object when:send:to:
Stream collecting:
Stream selecting:
+ Object removeActionsForEvent:
+ Object removeActionsWithReceiver:
+ Object removeAllActionsWithReceiver:
+ Object trigger:
+ Object trigger:with:
+ Object triggerEvent:
+ Object triggerEvent:with:
+ Object triggerEvent:withArguments:
+ Object when:send:to:with:
+ Object when:sendTo:
)
! !
!stx_libbasic2 class methodsFor:'description - project information'!
+applicationIconFileName
+ "Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file"
+
+ ^ nil
+ "/ ^ self applicationName
+!
+
companyName
"Return a companyname which will appear in <lib>.rc"
@@ -355,15 +387,28 @@
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012'
"Modified: / 18-07-2012 / 19:11:22 / cg"
+!
+
+productInstallDirBaseName
+ "Returns a default installDir which will appear in <app>.nsi.
+ This is usually not the one you want to keep"
+
+ ^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last
+!
+
+productName
+ "Return a product name which will appear in <lib>.rc"
+
+ ^ 'Smalltalk/X'
! !
!stx_libbasic2 class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic2/stx_libbasic2.st,v 1.90 2013-01-24 01:17:45 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic2/stx_libbasic2.st,v 1.91 2013-03-08 23:54:44 stefan Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libbasic2/stx_libbasic2.st,v 1.90 2013-01-24 01:17:45 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic2/stx_libbasic2.st,v 1.91 2013-03-08 23:54:44 stefan Exp $'
! !