# HG changeset patch # User Jan Vrany # Date 1336552726 0 # Node ID a64f4ad690f5641cc84416a261312e6cb8d7e2f0 # Parent be8c2dd09dff5dfaea8771c72325c9034fd764b6 Build files regenerated diff -r be8c2dd09dff -r a64f4ad690f5 Make.proto --- a/Make.proto Thu Mar 29 18:03:58 2012 +0000 +++ b/Make.proto Wed May 09 08:38:46 2012 +0000 @@ -1,7 +1,7 @@ # $Header$ # # DO NOT EDIT -# automagically generated from the projectDefinition: cvut_stx_goodies_newcompiler at 2012-03-29 19:04:24.824. +# automagically generated from the projectDefinition: cvut_stx_goodies_newcompiler. # # Warning: once you modify this file, do not rerun # stmkmp or projectDefinition-build again - otherwise, your changes are lost. @@ -34,7 +34,7 @@ # add the path(es) here:, # ********** OPTIONAL: MODIFY the next lines *** # LOCALINCLUDES=-Ifoo -Ibar -LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/goodies/refactoryBrowser/parser -I$(INCLUDE_TOP)/stx/libwidg -I$(INCLUDE_TOP)/stx/goodies/libtool3 -I$(INCLUDE_TOP)/stx/goodies/sunit -I$(INCLUDE_TOP)/stx/libbasic2 -I$(INCLUDE_TOP)/stx/libcompat -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/libcomp -I$(INCLUDE_TOP)/stx/libtool +LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/goodies/refactoryBrowser/parser -I$(INCLUDE_TOP)/stx/libwidg -I$(INCLUDE_TOP)/stx/goodies/sunit -I$(INCLUDE_TOP)/stx/libbasic2 -I$(INCLUDE_TOP)/stx/libcompat -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/libcomp -I$(INCLUDE_TOP)/stx/libtool # if you need any additional defines for embedded C code, @@ -104,19 +104,17 @@ prereq: $(REQUIRED_SUPPORT_DIRS) cd $(TOP)/libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" - cd $(TOP)/goodies/libtool3 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" + cd $(TOP)/libdb/libodbc && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" + cd $(TOP)/libdb/libsqlite && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/goodies/refactoryBrowser/parser && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/libcomp && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" - cd $(TOP)/libdb && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" + cd $(TOP)/libbasic3 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/libboss && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" - cd $(TOP)/libdb/libodbc && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" - cd $(TOP)/libdb/libsqlite && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/goodies/sunit && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/libui && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" - cd $(TOP)/libbasic3 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/libwidg && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/libhtml && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/libwidg2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" diff -r be8c2dd09dff -r a64f4ad690f5 Make.spec --- a/Make.spec Thu Mar 29 18:03:58 2012 +0000 +++ b/Make.spec Wed May 09 08:38:46 2012 +0000 @@ -1,7 +1,7 @@ # $Header$ # # DO NOT EDIT -# automagically generated from the projectDefinition: cvut_stx_goodies_newcompiler at 2012-03-29 19:04:23.686. +# automagically generated from the projectDefinition: cvut_stx_goodies_newcompiler. # # Warning: once you modify this file, do not rerun # stmkmp or projectDefinition-build again - otherwise, your changes are lost. diff -r be8c2dd09dff -r a64f4ad690f5 abbrev.stc --- a/abbrev.stc Thu Mar 29 18:03:58 2012 +0000 +++ b/abbrev.stc Wed May 09 08:38:46 2012 +0000 @@ -2,14 +2,12 @@ # this file is needed for stc to be able to compile modules independently. # it provides information about a classes filename, category and especially namespace. IRBuilder IRBuilder cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRBuilderTest IRBuilderTest cvut:stx/goodies/newcompiler 'NewCompiler-IR-Tests' 1 IRBytecodeGenerator IRBytecodeGenerator cvut:stx/goodies/newcompiler 'NewCompiler-Bytecode' 0 IRFunction IRFunction cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 IRInstruction IRInstruction cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 IRInterpreter IRInterpreter cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 IRSequence IRSequence cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 IRStackCount IRStackCount cvut:stx/goodies/newcompiler 'NewCompiler-Bytecode' 0 -IRTransformTest IRTransformTest cvut:stx/goodies/newcompiler 'NewCompiler-IR-Tests' 1 cvut_stx_goodies_newcompiler cvut_stx_goodies_newcompiler cvut:stx/goodies/newcompiler '* Projects & Packages *' 3 IRAccess IRAccess cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 IRClosure IRClosure cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 @@ -36,3 +34,5 @@ IRLiteralVariableStore IRLiteralVariableStore cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 IRTempRead IRTempRead cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 IRTempStore IRTempStore cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 +IRBuilderTest IRBuilderTest cvut:stx/goodies/newcompiler 'NewCompiler-IR-Tests' 1 +IRTransformTest IRTransformTest cvut:stx/goodies/newcompiler 'NewCompiler-IR-Tests' 1 diff -r be8c2dd09dff -r a64f4ad690f5 bc.mak --- a/bc.mak Thu Mar 29 18:03:58 2012 +0000 +++ b/bc.mak Wed May 09 08:38:46 2012 +0000 @@ -1,7 +1,7 @@ # $Header$ # # DO NOT EDIT -# automagically generated from the projectDefinition: cvut_stx_goodies_newcompiler at 2012-03-29 19:04:25.464. +# automagically generated from the projectDefinition: cvut_stx_goodies_newcompiler. # # Warning: once you modify this file, do not rerun # stmkmp or projectDefinition-build again - otherwise, your changes are lost. @@ -34,7 +34,7 @@ -LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\goodies\refactoryBrowser\parser -I$(INCLUDE_TOP)\stx\libwidg -I$(INCLUDE_TOP)\stx\goodies\libtool3 -I$(INCLUDE_TOP)\stx\goodies\sunit -I$(INCLUDE_TOP)\stx\libbasic2 -I$(INCLUDE_TOP)\stx\libcompat -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\libcomp -I$(INCLUDE_TOP)\stx\libtool +LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\goodies\refactoryBrowser\parser -I$(INCLUDE_TOP)\stx\libwidg -I$(INCLUDE_TOP)\stx\goodies\sunit -I$(INCLUDE_TOP)\stx\libbasic2 -I$(INCLUDE_TOP)\stx\libcompat -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\libcomp -I$(INCLUDE_TOP)\stx\libtool LOCALDEFINES= STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -varPrefix=$(LIBNAME) @@ -51,19 +51,17 @@ # build all prerequisite packages for this package prereq: pushd ..\..\..\..\stx\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " - pushd ..\..\..\..\stx\goodies\libtool3 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " + pushd ..\..\..\..\stx\libdb\libodbc & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " + pushd ..\..\..\..\stx\libdb\libsqlite & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\goodies\refactoryBrowser\parser & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\libcomp & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " - pushd ..\..\..\..\stx\libdb & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " + pushd ..\..\..\..\stx\libbasic3 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\libboss & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " - pushd ..\..\..\..\stx\libdb\libodbc & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " - pushd ..\..\..\..\stx\libdb\libsqlite & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\goodies\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\libui & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " - pushd ..\..\..\..\stx\libbasic3 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\libwidg & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\libhtml & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\libwidg2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " diff -r be8c2dd09dff -r a64f4ad690f5 cvut_stx_goodies_newcompiler.st --- a/cvut_stx_goodies_newcompiler.st Thu Mar 29 18:03:58 2012 +0000 +++ b/cvut_stx_goodies_newcompiler.st Wed May 09 08:38:46 2012 +0000 @@ -11,32 +11,42 @@ !cvut_stx_goodies_newcompiler class methodsFor:'description'! preRequisites + "list all required packages. + 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." + ^ #( - #'stx:goodies/libtool3' "Tools::Inspector2Tab - referenced by IRFunction>>inspector2TabIRCode " - #'stx:goodies/refactoryBrowser/parser' "RBIdentifierToken - referenced by IRDecompiler>>newVar: " + #'stx:goodies/refactoryBrowser/parser' "RBSequenceNode - referenced by IRDecompiler>>endCase: " #'stx:goodies/sunit' "TestCase - superclass of IRTransformTest " - #'stx:libbasic' "Link - superclass of IRLine " + #'stx:libbasic' "LibraryDefinition - superclass of cvut_stx_goodies_newcompiler " #'stx:libbasic2' "OrderedDictionary - referenced by IRBytecodeGenerator>>initialize " - #'stx:libcomp' "PrimitiveNode - referenced by IRFunction>>initialize " + #'stx:libcomp' "Scanner - superclass of extended ByteCodeCompiler " #'stx:libcompat' "Preferences - referenced by IRDecompiler>>removeClosureCreation: " - #'stx:libwidg' "ScrollableView - referenced by IRFunction>>inspector2TabIRCode " + #'stx:libtool' "Tools::Inspector2Tab - referenced by IRFunction>>inspector2TabIRCode " + #'stx:libwidg' "TextView - referenced by IRFunction>>inspector2TabIRCode " ) ! ! !cvut_stx_goodies_newcompiler class methodsFor:'description - contents'! classNamesAndAttributes + "lists the classes which are to be included in the project. + Each entry in the list may be: a single class-name (symbol), + or an array-literal consisting of class name and attributes. + Attributes are: #autoload or # where os is one of win32, unix,..." + ^ #( " or ( attributes...) in load order" IRBuilder - IRBuilderTest IRBytecodeGenerator IRFunction IRInstruction IRInterpreter IRSequence IRStackCount - IRTransformTest #'cvut_stx_goodies_newcompiler' IRAccess IRClosure @@ -63,10 +73,15 @@ IRLiteralVariableStore IRTempRead IRTempStore + (IRBuilderTest autoload) + (IRTransformTest autoload) ) ! extensionMethodNames + "lists the extension methods which are to be included in the project. + Entries are 2-element array literals, consisting of class-name and selector." + ^ #( ByteCodeCompiler literalArray: Class binding @@ -123,7 +138,7 @@ "Return a SVN revision number of myself. This number is updated after a commit" - ^ "$SVN-Revision:"'nil '"$" + ^ "$SVN-Revision:"'38 '"$" ! ! !cvut_stx_goodies_newcompiler class methodsFor:'documentation'! diff -r be8c2dd09dff -r a64f4ad690f5 newcompiler.rc --- a/newcompiler.rc Thu Mar 29 18:03:58 2012 +0000 +++ b/newcompiler.rc Wed May 09 08:38:46 2012 +0000 @@ -3,7 +3,7 @@ // automagically generated from the projectDefinition: cvut_stx_goodies_newcompiler. // VS_VERSION_INFO VERSIONINFO - FILEVERSION 6,2,0,1 + FILEVERSION 6,2,38,38 PRODUCTVERSION 6,2,1,1 #if (__BORLANDC__) FILEFLAGSMASK VS_FF_DEBUG | VS_FF_PRERELEASE @@ -20,12 +20,12 @@ BEGIN VALUE "CompanyName", "CVUT FEI & Mathieu Suen\0" VALUE "FileDescription", "Smalltalk/X Bytecode generation library based on Squeak's NewCompiler (LIB)\0" - VALUE "FileVersion", "6.2.0.1\0" + VALUE "FileVersion", "6.2.38.38\0" VALUE "InternalName", "cvut:stx/goodies/newcompiler\0" VALUE "LegalCopyright", "Copyright Jan Vrany & Mathieu Suen 2008\0" VALUE "ProductName", "NewCompiler\0" VALUE "ProductVersion", "6.2.1.1\0" - VALUE "ProductDate", "Thu, 29 Mar 2012 18:04:25 GMT\0" + VALUE "ProductDate", "Wed, 09 May 2012 08:39:34 GMT\0" END END