|
From: <caw...@us...> - 2006-08-25 01:55:55
|
Revision: 1584 Author: cawilliams Date: 2006-08-24 18:53:42 -0700 (Thu, 24 Aug 2006) ViewCVS: http://svn.sourceforge.net/rubyeclipse/?rev=1584&view=rev Log Message: ----------- Merged type_inferrence/trunk changes 1446:1583 into trunk. Modified Paths: -------------- trunk/org.epic.regexp/build.properties trunk/org.epic.regexp/plugin.xml trunk/org.rubypeople.rdt-feature/feature.xml trunk/org.rubypeople.rdt.astviewer/.classpath trunk/org.rubypeople.rdt.core/.classpath trunk/org.rubypeople.rdt.core/META-INF/MANIFEST.MF trunk/org.rubypeople.rdt.core/build.properties trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/ICodeAssist.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/RubyCore.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/codeassist/SelectionVisitor.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/RubyProject.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/RubyScript.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/RubyScriptProblemFinder.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/RubyScriptStructureBuilder.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/builder/IndexUpdater.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/builder/MassIndexUpdater.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/builder/RubyCodeAnalyzer.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/parser/RubyParser.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/util/CharOperation.java trunk/org.rubypeople.rdt.core.tests/.project trunk/org.rubypeople.rdt.core.tests/plugin.xml trunk/org.rubypeople.rdt.testunit/build.properties trunk/org.rubypeople.rdt.testunit/plugin.xml trunk/org.rubypeople.rdt.ui/META-INF/MANIFEST.MF trunk/org.rubypeople.rdt.ui/plugin.properties trunk/org.rubypeople.rdt.ui/plugin.xml trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/preferences/PreferencesMessages.java trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/preferences/PreferencesMessages.properties trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/rubyeditor/RubyAbstractEditor.java trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/rubyeditor/RubyEditor.java trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/search/RubySearchPage.java trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/ruby/RubyCompletionProcessor.java trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/ruby/RubyCompletionProposal.java trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/PreferenceConstants.java trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/text/RubySourceViewerConfiguration.java trunk/org.rubypeople.rdt.ui.tests/plugin.xml Added Paths: ----------- trunk/org.epic.regexp/META-INF/ trunk/org.epic.regexp/META-INF/MANIFEST.MF trunk/org.jruby/ trunk/org.jruby/.classpath trunk/org.jruby/.project trunk/org.jruby/META-INF/ trunk/org.jruby/META-INF/MANIFEST.MF trunk/org.jruby/bin/ trunk/org.jruby/build.properties trunk/org.jruby/lib/ trunk/org.jruby/lib/jruby.jar trunk/org.rubypeople.rdt.core/ruby/ trunk/org.rubypeople.rdt.core/ruby/core_stubber.rb trunk/org.rubypeople.rdt.core/ruby/lib/ trunk/org.rubypeople.rdt.core/ruby/lib/argumenterror.rb trunk/org.rubypeople.rdt.core/ruby/lib/array.rb trunk/org.rubypeople.rdt.core/ruby/lib/bignum.rb trunk/org.rubypeople.rdt.core/ruby/lib/binding.rb trunk/org.rubypeople.rdt.core/ruby/lib/buffering.rb trunk/org.rubypeople.rdt.core/ruby/lib/class.rb trunk/org.rubypeople.rdt.core/ruby/lib/comparable.rb trunk/org.rubypeople.rdt.core/ruby/lib/config.rb trunk/org.rubypeople.rdt.core/ruby/lib/continuation.rb trunk/org.rubypeople.rdt.core/ruby/lib/data.rb trunk/org.rubypeople.rdt.core/ruby/lib/date.rb trunk/org.rubypeople.rdt.core/ruby/lib/datetime.rb trunk/org.rubypeople.rdt.core/ruby/lib/digest.rb trunk/org.rubypeople.rdt.core/ruby/lib/dir.rb trunk/org.rubypeople.rdt.core/ruby/lib/enumerable.rb trunk/org.rubypeople.rdt.core/ruby/lib/eoferror.rb trunk/org.rubypeople.rdt.core/ruby/lib/errno.rb trunk/org.rubypeople.rdt.core/ruby/lib/exception.rb trunk/org.rubypeople.rdt.core/ruby/lib/falseclass.rb trunk/org.rubypeople.rdt.core/ruby/lib/file.rb trunk/org.rubypeople.rdt.core/ruby/lib/filetest.rb trunk/org.rubypeople.rdt.core/ruby/lib/fileutils.rb trunk/org.rubypeople.rdt.core/ruby/lib/fixnum.rb trunk/org.rubypeople.rdt.core/ruby/lib/float.rb trunk/org.rubypeople.rdt.core/ruby/lib/floatdomainerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/forwardable.rb trunk/org.rubypeople.rdt.core/ruby/lib/gc.rb trunk/org.rubypeople.rdt.core/ruby/lib/gem.rb trunk/org.rubypeople.rdt.core/ruby/lib/hash.rb trunk/org.rubypeople.rdt.core/ruby/lib/indexerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/integer.rb trunk/org.rubypeople.rdt.core/ruby/lib/interrupt.rb trunk/org.rubypeople.rdt.core/ruby/lib/io.rb trunk/org.rubypeople.rdt.core/ruby/lib/ioerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/kernel.rb trunk/org.rubypeople.rdt.core/ruby/lib/loaderror.rb trunk/org.rubypeople.rdt.core/ruby/lib/localjumperror.rb trunk/org.rubypeople.rdt.core/ruby/lib/marshal.rb trunk/org.rubypeople.rdt.core/ruby/lib/matchdata.rb trunk/org.rubypeople.rdt.core/ruby/lib/math.rb trunk/org.rubypeople.rdt.core/ruby/lib/method.rb trunk/org.rubypeople.rdt.core/ruby/lib/module.rb trunk/org.rubypeople.rdt.core/ruby/lib/nameerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/nilclass.rb trunk/org.rubypeople.rdt.core/ruby/lib/nomemoryerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/nomethoderror.rb trunk/org.rubypeople.rdt.core/ruby/lib/notimplementederror.rb trunk/org.rubypeople.rdt.core/ruby/lib/numeric.rb trunk/org.rubypeople.rdt.core/ruby/lib/object.rb trunk/org.rubypeople.rdt.core/ruby/lib/objectspace.rb trunk/org.rubypeople.rdt.core/ruby/lib/openssl.rb trunk/org.rubypeople.rdt.core/ruby/lib/parsedate.rb trunk/org.rubypeople.rdt.core/ruby/lib/precision.rb trunk/org.rubypeople.rdt.core/ruby/lib/proc.rb trunk/org.rubypeople.rdt.core/ruby/lib/process.rb trunk/org.rubypeople.rdt.core/ruby/lib/range.rb trunk/org.rubypeople.rdt.core/ruby/lib/rangeerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/rational.rb trunk/org.rubypeople.rdt.core/ruby/lib/regexp.rb trunk/org.rubypeople.rdt.core/ruby/lib/regexperror.rb trunk/org.rubypeople.rdt.core/ruby/lib/runtimeerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/scripterror.rb trunk/org.rubypeople.rdt.core/ruby/lib/securityerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/signal.rb trunk/org.rubypeople.rdt.core/ruby/lib/signalexception.rb trunk/org.rubypeople.rdt.core/ruby/lib/singleforwardable.rb trunk/org.rubypeople.rdt.core/ruby/lib/standarderror.rb trunk/org.rubypeople.rdt.core/ruby/lib/string.rb trunk/org.rubypeople.rdt.core/ruby/lib/struct.rb trunk/org.rubypeople.rdt.core/ruby/lib/symbol.rb trunk/org.rubypeople.rdt.core/ruby/lib/syntaxerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/systemcallerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/systemexit.rb trunk/org.rubypeople.rdt.core/ruby/lib/systemstackerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/thread.rb trunk/org.rubypeople.rdt.core/ruby/lib/threaderror.rb trunk/org.rubypeople.rdt.core/ruby/lib/threadgroup.rb trunk/org.rubypeople.rdt.core/ruby/lib/time.rb trunk/org.rubypeople.rdt.core/ruby/lib/trueclass.rb trunk/org.rubypeople.rdt.core/ruby/lib/typeerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/unboundmethod.rb trunk/org.rubypeople.rdt.core/ruby/lib/zerodivisionerror.rb trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/CompletionProposal.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/CompletionRequestor.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/codeassist/RubyElementRequestor.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/ trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/AbstractOccurencesFinder.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/BasicTypeGuess.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/DataFlowTypeInferrer.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/DefaultOccurrencesFinder.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/DefaultReferenceFinder.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/DefaultTypeInferrer.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/IOccurrencesFinder.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/IReferenceFinder.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/ITypeGuess.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/ITypeInferrer.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/ReferenceTypeGuess.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/Scope.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/ScopingVisitor.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/TypeInferenceHelper.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/TypeInferenceVisitor.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/Variable.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/data/ trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/data/ConstNodeTypeNames.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/data/TypicalMethodReturnNames.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/util/ trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/util/AttributeLocator.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/util/ClosestSpanningNodeLocator.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/util/FirstPrecursorNodeLocator.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/util/INodeAcceptor.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/util/MethodDefinitionLocator.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/util/MethodInvocationLocator.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/util/NodeLocator.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/util/OffsetNodeLocator.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/util/ScopedNodeLocator.java trunk/org.rubypeople.rdt.core.tests/src/org/rubypeople/rdt/internal/ti/ trunk/org.rubypeople.rdt.core.tests/src/org/rubypeople/rdt/internal/ti/DataFlowTypeInferrerTest.java trunk/org.rubypeople.rdt.core.tests/src/org/rubypeople/rdt/internal/ti/MarkOccurrencesTest.java trunk/org.rubypeople.rdt.core.tests/src/org/rubypeople/rdt/internal/ti/ReferenceMatchTest.java trunk/org.rubypeople.rdt.core.tests/src/org/rubypeople/rdt/internal/ti/TypeInferrerTest.java trunk/org.rubypeople.rdt.testunit/META-INF/ trunk/org.rubypeople.rdt.testunit/META-INF/MANIFEST.MF trunk/org.rubypeople.rdt.ui/icons/full/obj16/searchm_obj.gif trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/preferences/MarkOccurrencesConfigurationBlock.java trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/preferences/MarkOccurrencesPreferencePage.java trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/ruby/AbstractRubyCompletionProposal.java trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/ruby/IInformationControlExtension4.java trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/ruby/ProposalInfo.java trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/ruby/RubyScriptCompletion.java trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/ruby/hover/AbstractReusableInformationControlCreator.java trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/ruby/hover/BrowserInformationControl.java Removed Paths: ------------- trunk/org.epic.regexp/META-INF/MANIFEST.MF trunk/org.jruby/.classpath trunk/org.jruby/.project trunk/org.jruby/META-INF/ trunk/org.jruby/META-INF/MANIFEST.MF trunk/org.jruby/bin/ trunk/org.jruby/build.properties trunk/org.jruby/lib/ trunk/org.jruby/lib/jruby.jar trunk/org.rubypeople.rdt.core/lib/jruby.jar trunk/org.rubypeople.rdt.core/ruby/core_stubber.rb trunk/org.rubypeople.rdt.core/ruby/lib/ trunk/org.rubypeople.rdt.core/ruby/lib/argumenterror.rb trunk/org.rubypeople.rdt.core/ruby/lib/array.rb trunk/org.rubypeople.rdt.core/ruby/lib/bignum.rb trunk/org.rubypeople.rdt.core/ruby/lib/binding.rb trunk/org.rubypeople.rdt.core/ruby/lib/buffering.rb trunk/org.rubypeople.rdt.core/ruby/lib/class.rb trunk/org.rubypeople.rdt.core/ruby/lib/comparable.rb trunk/org.rubypeople.rdt.core/ruby/lib/config.rb trunk/org.rubypeople.rdt.core/ruby/lib/continuation.rb trunk/org.rubypeople.rdt.core/ruby/lib/data.rb trunk/org.rubypeople.rdt.core/ruby/lib/date.rb trunk/org.rubypeople.rdt.core/ruby/lib/datetime.rb trunk/org.rubypeople.rdt.core/ruby/lib/digest.rb trunk/org.rubypeople.rdt.core/ruby/lib/dir.rb trunk/org.rubypeople.rdt.core/ruby/lib/enumerable.rb trunk/org.rubypeople.rdt.core/ruby/lib/eoferror.rb trunk/org.rubypeople.rdt.core/ruby/lib/errno.rb trunk/org.rubypeople.rdt.core/ruby/lib/exception.rb trunk/org.rubypeople.rdt.core/ruby/lib/falseclass.rb trunk/org.rubypeople.rdt.core/ruby/lib/file.rb trunk/org.rubypeople.rdt.core/ruby/lib/filetest.rb trunk/org.rubypeople.rdt.core/ruby/lib/fileutils.rb trunk/org.rubypeople.rdt.core/ruby/lib/fixnum.rb trunk/org.rubypeople.rdt.core/ruby/lib/float.rb trunk/org.rubypeople.rdt.core/ruby/lib/floatdomainerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/forwardable.rb trunk/org.rubypeople.rdt.core/ruby/lib/gc.rb trunk/org.rubypeople.rdt.core/ruby/lib/gem.rb trunk/org.rubypeople.rdt.core/ruby/lib/hash.rb trunk/org.rubypeople.rdt.core/ruby/lib/indexerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/integer.rb trunk/org.rubypeople.rdt.core/ruby/lib/interrupt.rb trunk/org.rubypeople.rdt.core/ruby/lib/io.rb trunk/org.rubypeople.rdt.core/ruby/lib/ioerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/kernel.rb trunk/org.rubypeople.rdt.core/ruby/lib/loaderror.rb trunk/org.rubypeople.rdt.core/ruby/lib/localjumperror.rb trunk/org.rubypeople.rdt.core/ruby/lib/marshal.rb trunk/org.rubypeople.rdt.core/ruby/lib/matchdata.rb trunk/org.rubypeople.rdt.core/ruby/lib/math.rb trunk/org.rubypeople.rdt.core/ruby/lib/method.rb trunk/org.rubypeople.rdt.core/ruby/lib/module.rb trunk/org.rubypeople.rdt.core/ruby/lib/nameerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/nilclass.rb trunk/org.rubypeople.rdt.core/ruby/lib/nomemoryerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/nomethoderror.rb trunk/org.rubypeople.rdt.core/ruby/lib/notimplementederror.rb trunk/org.rubypeople.rdt.core/ruby/lib/numeric.rb trunk/org.rubypeople.rdt.core/ruby/lib/object.rb trunk/org.rubypeople.rdt.core/ruby/lib/objectspace.rb trunk/org.rubypeople.rdt.core/ruby/lib/openssl.rb trunk/org.rubypeople.rdt.core/ruby/lib/parsedate.rb trunk/org.rubypeople.rdt.core/ruby/lib/precision.rb trunk/org.rubypeople.rdt.core/ruby/lib/proc.rb trunk/org.rubypeople.rdt.core/ruby/lib/process.rb trunk/org.rubypeople.rdt.core/ruby/lib/range.rb trunk/org.rubypeople.rdt.core/ruby/lib/rangeerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/rational.rb trunk/org.rubypeople.rdt.core/ruby/lib/regexp.rb trunk/org.rubypeople.rdt.core/ruby/lib/regexperror.rb trunk/org.rubypeople.rdt.core/ruby/lib/runtimeerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/scripterror.rb trunk/org.rubypeople.rdt.core/ruby/lib/securityerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/signal.rb trunk/org.rubypeople.rdt.core/ruby/lib/signalexception.rb trunk/org.rubypeople.rdt.core/ruby/lib/singleforwardable.rb trunk/org.rubypeople.rdt.core/ruby/lib/standarderror.rb trunk/org.rubypeople.rdt.core/ruby/lib/string.rb trunk/org.rubypeople.rdt.core/ruby/lib/struct.rb trunk/org.rubypeople.rdt.core/ruby/lib/symbol.rb trunk/org.rubypeople.rdt.core/ruby/lib/syntaxerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/systemcallerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/systemexit.rb trunk/org.rubypeople.rdt.core/ruby/lib/systemstackerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/thread.rb trunk/org.rubypeople.rdt.core/ruby/lib/threaderror.rb trunk/org.rubypeople.rdt.core/ruby/lib/threadgroup.rb trunk/org.rubypeople.rdt.core/ruby/lib/time.rb trunk/org.rubypeople.rdt.core/ruby/lib/trueclass.rb trunk/org.rubypeople.rdt.core/ruby/lib/typeerror.rb trunk/org.rubypeople.rdt.core/ruby/lib/unboundmethod.rb trunk/org.rubypeople.rdt.core/ruby/lib/zerodivisionerror.rb trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/AbstractOccurencesFinder.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/BasicTypeGuess.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/DataFlowTypeInferrer.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/DefaultOccurrencesFinder.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/DefaultReferenceFinder.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/DefaultTypeInferrer.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/IOccurrencesFinder.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/IReferenceFinder.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/ITypeGuess.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/ITypeInferrer.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/ReferenceTypeGuess.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/Scope.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/ScopingVisitor.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/TypeInferenceHelper.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/TypeInferenceVisitor.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/Variable.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/data/ trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/data/ConstNodeTypeNames.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/data/TypicalMethodReturnNames.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/util/ trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/util/AttributeLocator.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/util/ClosestSpanningNodeLocator.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/util/FirstPrecursorNodeLocator.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/util/INodeAcceptor.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/util/MethodDefinitionLocator.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/util/MethodInvocationLocator.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/util/NodeLocator.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/util/OffsetNodeLocator.java trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/ti/util/ScopedNodeLocator.java trunk/org.rubypeople.rdt.core.tests/src/org/rubypeople/rdt/internal/ti/DataFlowTypeInferrerTest.java trunk/org.rubypeople.rdt.core.tests/src/org/rubypeople/rdt/internal/ti/MarkOccurrencesTest.java trunk/org.rubypeople.rdt.core.tests/src/org/rubypeople/rdt/internal/ti/ReferenceMatchTest.java trunk/org.rubypeople.rdt.core.tests/src/org/rubypeople/rdt/internal/ti/TypeInferrerTest.java trunk/org.rubypeople.rdt.testunit/META-INF/MANIFEST.MF Copied: trunk/org.epic.regexp/META-INF (from rev 1583, branches/type_inferrence/trunk/org.epic.regexp/META-INF) Deleted: trunk/org.epic.regexp/META-INF/MANIFEST.MF =================================================================== --- branches/type_inferrence/trunk/org.epic.regexp/META-INF/MANIFEST.MF 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.epic.regexp/META-INF/MANIFEST.MF 2006-08-25 01:53:42 UTC (rev 1584) @@ -1,17 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: Regexp Plug-in -Bundle-SymbolicName: org.epic.regexp; singleton:=true -Bundle-Version: 0.1.4 -Bundle-ClassPath: regexp.jar, - gnu-regexp-1.1.4.jar -Bundle-Activator: org.epic.regexp.RegExpPlugin -Bundle-Vendor: Epic Project -Bundle-Localization: plugin -Export-Package: gnu.regexp, - org.epic.regexp, - org.epic.regexp.views -Require-Bundle: org.eclipse.ui, - org.eclipse.core.runtime, - org.eclipse.core.resources -Eclipse-LazyStart: true Copied: trunk/org.epic.regexp/META-INF/MANIFEST.MF (from rev 1583, branches/type_inferrence/trunk/org.epic.regexp/META-INF/MANIFEST.MF) =================================================================== --- trunk/org.epic.regexp/META-INF/MANIFEST.MF (rev 0) +++ trunk/org.epic.regexp/META-INF/MANIFEST.MF 2006-08-25 01:53:42 UTC (rev 1584) @@ -0,0 +1,17 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Regexp Plug-in +Bundle-SymbolicName: org.epic.regexp; singleton:=true +Bundle-Version: 0.1.4 +Bundle-ClassPath: regexp.jar, + gnu-regexp-1.1.4.jar +Bundle-Activator: org.epic.regexp.RegExpPlugin +Bundle-Vendor: Epic Project +Bundle-Localization: plugin +Export-Package: gnu.regexp, + org.epic.regexp, + org.epic.regexp.views +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.eclipse.core.resources +Eclipse-LazyStart: true Modified: trunk/org.epic.regexp/build.properties =================================================================== --- trunk/org.epic.regexp/build.properties 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.epic.regexp/build.properties 2006-08-25 01:53:42 UTC (rev 1584) @@ -3,4 +3,5 @@ *.jar,\ regexp.jar,\ shortcuts,\ - icons/ + icons/,\ + META-INF/ Modified: trunk/org.epic.regexp/plugin.xml =================================================================== --- trunk/org.epic.regexp/plugin.xml 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.epic.regexp/plugin.xml 2006-08-25 01:53:42 UTC (rev 1584) @@ -1,27 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <?eclipse version="3.0"?> -<plugin - id="org.epic.regexp" - name="Regexp Plug-in" - version="0.1.4" - provider-name="Epic Project" - class="org.epic.regexp.RegExpPlugin"> +<plugin> - <runtime> - <library name="regexp.jar"> - <export name="*"/> - </library> - <library name="gnu-regexp-1.1.4.jar"> - <export name="*"/> - </library> - </runtime> - <requires> - <import plugin="org.eclipse.ui"/> - <import plugin="org.eclipse.core.runtime"/> - <import plugin="org.eclipse.core.resources"/> - </requires> - - <extension + <extension point="org.eclipse.ui.views"> <view name="RegExp" Copied: trunk/org.jruby (from rev 1583, branches/type_inferrence/trunk/org.jruby) Deleted: trunk/org.jruby/.classpath =================================================================== --- branches/type_inferrence/trunk/org.jruby/.classpath 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.jruby/.classpath 2006-08-25 01:53:42 UTC (rev 1584) @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry exported="true" kind="lib" path="lib/jruby.jar"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> - <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> - <classpathentry kind="output" path="bin"/> -</classpath> Copied: trunk/org.jruby/.classpath (from rev 1583, branches/type_inferrence/trunk/org.jruby/.classpath) =================================================================== --- trunk/org.jruby/.classpath (rev 0) +++ trunk/org.jruby/.classpath 2006-08-25 01:53:42 UTC (rev 1584) @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry exported="true" kind="lib" path="lib/jruby.jar"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> + <classpathentry kind="output" path="bin"/> +</classpath> Deleted: trunk/org.jruby/.project =================================================================== --- branches/type_inferrence/trunk/org.jruby/.project 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.jruby/.project 2006-08-25 01:53:42 UTC (rev 1584) @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.jruby</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.ManifestBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.SchemaBuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription> Copied: trunk/org.jruby/.project (from rev 1583, branches/type_inferrence/trunk/org.jruby/.project) =================================================================== --- trunk/org.jruby/.project (rev 0) +++ trunk/org.jruby/.project 2006-08-25 01:53:42 UTC (rev 1584) @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.jruby</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> Copied: trunk/org.jruby/META-INF (from rev 1583, branches/type_inferrence/trunk/org.jruby/META-INF) Deleted: trunk/org.jruby/META-INF/MANIFEST.MF =================================================================== --- branches/type_inferrence/trunk/org.jruby/META-INF/MANIFEST.MF 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.jruby/META-INF/MANIFEST.MF 2006-08-25 01:53:42 UTC (rev 1584) @@ -1,40 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: Jruby Plug-in -Bundle-SymbolicName: org.jruby -Bundle-Version: 1.0.0 -Bundle-Activator: org.jruby.Activator -Bundle-Localization: plugin -Require-Bundle: org.eclipse.core.runtime -Eclipse-LazyStart: false -Bundle-ClassPath: lib/jruby.jar, - . -Export-Package: org.ablaf.ast, - org.ablaf.internal.ast, - org.jruby, - org.jruby.ast, - org.jruby.ast.types, - org.jruby.ast.util, - org.jruby.ast.visitor, - org.jruby.common, - org.jruby.environment, - org.jruby.evaluator, - org.jruby.exceptions, - org.jruby.internal.runtime, - org.jruby.internal.runtime.methods, - org.jruby.javasupport, - org.jruby.javasupport.bsf, - org.jruby.javasupport.util, - org.jruby.lexer.yacc, - org.jruby.libraries, - org.jruby.main, - org.jruby.parser, - org.jruby.runtime, - org.jruby.runtime.builtin, - org.jruby.runtime.builtin.meta, - org.jruby.runtime.callback, - org.jruby.runtime.load, - org.jruby.runtime.marshal, - org.jruby.util, - org.jruby.util.collections, - org.jruby.yaml Copied: trunk/org.jruby/META-INF/MANIFEST.MF (from rev 1583, branches/type_inferrence/trunk/org.jruby/META-INF/MANIFEST.MF) =================================================================== --- trunk/org.jruby/META-INF/MANIFEST.MF (rev 0) +++ trunk/org.jruby/META-INF/MANIFEST.MF 2006-08-25 01:53:42 UTC (rev 1584) @@ -0,0 +1,40 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Jruby Plug-in +Bundle-SymbolicName: org.jruby +Bundle-Version: 1.0.0 +Bundle-Activator: org.jruby.Activator +Bundle-Localization: plugin +Require-Bundle: org.eclipse.core.runtime +Eclipse-LazyStart: false +Bundle-ClassPath: lib/jruby.jar, + . +Export-Package: org.ablaf.ast, + org.ablaf.internal.ast, + org.jruby, + org.jruby.ast, + org.jruby.ast.types, + org.jruby.ast.util, + org.jruby.ast.visitor, + org.jruby.common, + org.jruby.environment, + org.jruby.evaluator, + org.jruby.exceptions, + org.jruby.internal.runtime, + org.jruby.internal.runtime.methods, + org.jruby.javasupport, + org.jruby.javasupport.bsf, + org.jruby.javasupport.util, + org.jruby.lexer.yacc, + org.jruby.libraries, + org.jruby.main, + org.jruby.parser, + org.jruby.runtime, + org.jruby.runtime.builtin, + org.jruby.runtime.builtin.meta, + org.jruby.runtime.callback, + org.jruby.runtime.load, + org.jruby.runtime.marshal, + org.jruby.util, + org.jruby.util.collections, + org.jruby.yaml Copied: trunk/org.jruby/bin (from rev 1583, branches/type_inferrence/trunk/org.jruby/bin) Deleted: trunk/org.jruby/build.properties =================================================================== --- branches/type_inferrence/trunk/org.jruby/build.properties 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.jruby/build.properties 2006-08-25 01:53:42 UTC (rev 1584) @@ -1,5 +0,0 @@ -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - .,\ - lib/jruby.jar Copied: trunk/org.jruby/build.properties (from rev 1583, branches/type_inferrence/trunk/org.jruby/build.properties) =================================================================== --- trunk/org.jruby/build.properties (rev 0) +++ trunk/org.jruby/build.properties 2006-08-25 01:53:42 UTC (rev 1584) @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + lib/jruby.jar Copied: trunk/org.jruby/lib (from rev 1583, branches/type_inferrence/trunk/org.jruby/lib) Deleted: trunk/org.jruby/lib/jruby.jar =================================================================== (Binary files differ) Copied: trunk/org.jruby/lib/jruby.jar (from rev 1583, branches/type_inferrence/trunk/org.jruby/lib/jruby.jar) =================================================================== (Binary files differ) Modified: trunk/org.rubypeople.rdt-feature/feature.xml =================================================================== --- trunk/org.rubypeople.rdt-feature/feature.xml 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.rubypeople.rdt-feature/feature.xml 2006-08-25 01:53:42 UTC (rev 1584) @@ -246,7 +246,7 @@ <includes id="org.rubypeople.rdt.source" version="0.0.0"/> - + <requires> <import plugin="org.eclipse.core.resources"/> <import plugin="org.eclipse.debug.core"/> @@ -329,4 +329,11 @@ install-size="0" version="0.0.0"/> + <plugin + id="org.jruby" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + </feature> Modified: trunk/org.rubypeople.rdt.astviewer/.classpath =================================================================== --- trunk/org.rubypeople.rdt.astviewer/.classpath 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.rubypeople.rdt.astviewer/.classpath 2006-08-25 01:53:42 UTC (rev 1584) @@ -3,6 +3,6 @@ <classpathentry kind="src" path="src"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> - <classpathentry sourcepath="/org.jruby/src" kind="lib" path="/org.rubypeople.rdt.core/lib/jruby.jar"/> + <classpathentry kind="lib" path="/Users/cwilliams/Documents/merge/trunk/org.jruby/lib/jruby.jar"/> <classpathentry kind="output" path="bin"/> </classpath> Modified: trunk/org.rubypeople.rdt.core/.classpath =================================================================== (Binary files differ) Modified: trunk/org.rubypeople.rdt.core/META-INF/MANIFEST.MF =================================================================== --- trunk/org.rubypeople.rdt.core/META-INF/MANIFEST.MF 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.rubypeople.rdt.core/META-INF/MANIFEST.MF 2006-08-25 01:53:42 UTC (rev 1584) @@ -3,39 +3,11 @@ Bundle-Name: %Plugin.name Bundle-SymbolicName: org.rubypeople.rdt.core; singleton:=true Bundle-Version: 0.0.0 -Bundle-ClassPath: rdtcore.jar, - lib/jruby.jar +Bundle-ClassPath: rdtcore.jar Bundle-Activator: org.rubypeople.rdt.core.RubyCore Bundle-Vendor: %providerName Bundle-Localization: plugin Export-Package: ., - builtin, - org.ablaf.ast, - org.ablaf.internal.ast, - org.jruby, - org.jruby.ast, - org.jruby.ast.types, - org.jruby.ast.util, - org.jruby.ast.visitor, - org.jruby.common, - org.jruby.evaluator, - org.jruby.exceptions, - org.jruby.internal.runtime, - org.jruby.internal.runtime.methods, - org.jruby.javasupport, - org.jruby.javasupport.bsf, - org.jruby.lexer.yacc, - org.jruby.libraries, - org.jruby.main, - org.jruby.parser, - org.jruby.runtime, - org.jruby.runtime.builtin, - org.jruby.runtime.builtin.meta, - org.jruby.runtime.callback, - org.jruby.runtime.load, - org.jruby.runtime.marshal, - org.jruby.util, - org.jruby.util.collections, org.rubypeople.rdt.core, org.rubypeople.rdt.core.formatter, org.rubypeople.rdt.core.parser, @@ -45,9 +17,13 @@ org.rubypeople.rdt.internal.core.parser, org.rubypeople.rdt.internal.core.symbols, org.rubypeople.rdt.internal.core.util, - org.rubypeople.rdt.internal.formatter + org.rubypeople.rdt.internal.formatter, + org.rubypeople.rdt.internal.ti, + org.rubypeople.rdt.internal.ti.util, + org.rubypeople.rdt.internal.codeassist Require-Bundle: org.eclipse.core.runtime, org.eclipse.core.resources, org.eclipse.team.core, - org.eclipse.jface.text -Eclipse-AutoStart: true + org.eclipse.jface.text, + org.jruby +Eclipse-LazyStart: true Modified: trunk/org.rubypeople.rdt.core/build.properties =================================================================== --- trunk/org.rubypeople.rdt.core/build.properties 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.rubypeople.rdt.core/build.properties 2006-08-25 01:53:42 UTC (rev 1584) @@ -6,6 +6,5 @@ META-INF/ source.rdtcore.jar = src/ plugin = org.rubypeople.rdt.core -plugin.name = rdtcorejars.compile.order = rdtcore.jar,\ - lib/jruby.jar +plugin.name = rdtcorejars.compile.order = rdtcore.jar jars.compile.order = rdtcore.jar Deleted: trunk/org.rubypeople.rdt.core/lib/jruby.jar =================================================================== (Binary files differ) Copied: trunk/org.rubypeople.rdt.core/ruby (from rev 1583, branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby) Deleted: trunk/org.rubypeople.rdt.core/ruby/core_stubber.rb =================================================================== --- branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/core_stubber.rb 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.rubypeople.rdt.core/ruby/core_stubber.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -1,81 +0,0 @@ -OUTPUT_PATH = "ruby/lib/" - -def file_name(klass) - file_name = OUTPUT_PATH + klass.to_s.downcase - file_name.gsub!("::", "/") - file_name << ".rb" - return file_name -end - -def dir_names(file_name) - last_slash = file_name.rindex("/") - return nil if last_slash.nil? - file_name[0...last_slash] -end - -def print_method(f, method, method_name, singleton = false) - f << " def " - f << "self." if singleton - f << method_name.to_s - if !method.nil? and method.arity != 0 - # TODO We need to handle methods that take blocks! - f << "(" - if method.arity < 0 - args = [] - (method.arity.abs + 1).times {|i| args << "arg#{i}" } - args << "*rest" - f << args.join(", ") - else - args = [] - method.arity.times {|i| args << "arg#{i}" } - f << args.join(", ") - end - f << ")" - end - f << "\n end\n" -end - -require 'FileUtils' -@klasses = Module.constants.select {|c| ["Class", "Module"].include?(eval("#{c}.class").to_s) } -@klasses = @klasses.collect {|k| eval("#{k}")} -@klasses = @klasses.uniq.sort_by {|klass| klass.to_s } -@klasses.each do |klass| - next if klass.to_s[0].chr == "f" # TODO Skip if first char is lowercase - file_name = file_name(klass) - dirs = dir_names(file_name) - FileUtils.mkdir_p(dirs) if !dirs.nil? and !File.exist?(file_name) - open(file_name, 'w') do |f| - f << "#{klass.class.to_s.downcase} #{klass}" - f << " < #{klass.superclass.to_s }" if klass.respond_to?(:superclass) and !klass.superclass.nil? - f << "\n" - klass.included_modules.each {|mod| f << " include #{mod.to_s}\n" unless mod.to_s == "Kernel" && klass.to_s != "Object"} - f << "\n" - klass.methods(false).each do |method_name| - method = eval("#{klass}").method(method_name) rescue nil - print_method(f, method, method_name.to_s, true) - end - # TODO Fix it so we can get a hold of the module instance methods properly - klass.instance_methods(false).each do |method_name| - begin - obj = if klass.class.to_s == "Module" then klass else klass.new end - method = obj.method(method_name.to_s) - rescue StandardError => e - puts e - # TODO If we can't create an instance of a class, generate dynamic subclass where we can, and then - # grab methods from there - begin - # If we're a module, we may need to force the function to be more visible to grab it - obj.module_eval do - module_function(method_name.to_s) - end - method = obj.method(method_name.to_s) - rescue StandardError => e - puts e - method = nil - end - end - print_method(f, method, method_name.to_s) - end - f << "end\n" - end -end \ No newline at end of file Copied: trunk/org.rubypeople.rdt.core/ruby/core_stubber.rb (from rev 1583, branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/core_stubber.rb) =================================================================== --- trunk/org.rubypeople.rdt.core/ruby/core_stubber.rb (rev 0) +++ trunk/org.rubypeople.rdt.core/ruby/core_stubber.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -0,0 +1,81 @@ +OUTPUT_PATH = "ruby/lib/" + +def file_name(klass) + file_name = OUTPUT_PATH + klass.to_s.downcase + file_name.gsub!("::", "/") + file_name << ".rb" + return file_name +end + +def dir_names(file_name) + last_slash = file_name.rindex("/") + return nil if last_slash.nil? + file_name[0...last_slash] +end + +def print_method(f, method, method_name, singleton = false) + f << " def " + f << "self." if singleton + f << method_name.to_s + if !method.nil? and method.arity != 0 + # TODO We need to handle methods that take blocks! + f << "(" + if method.arity < 0 + args = [] + (method.arity.abs + 1).times {|i| args << "arg#{i}" } + args << "*rest" + f << args.join(", ") + else + args = [] + method.arity.times {|i| args << "arg#{i}" } + f << args.join(", ") + end + f << ")" + end + f << "\n end\n" +end + +require 'FileUtils' +@klasses = Module.constants.select {|c| ["Class", "Module"].include?(eval("#{c}.class").to_s) } +@klasses = @klasses.collect {|k| eval("#{k}")} +@klasses = @klasses.uniq.sort_by {|klass| klass.to_s } +@klasses.each do |klass| + next if klass.to_s[0].chr == "f" # TODO Skip if first char is lowercase + file_name = file_name(klass) + dirs = dir_names(file_name) + FileUtils.mkdir_p(dirs) if !dirs.nil? and !File.exist?(file_name) + open(file_name, 'w') do |f| + f << "#{klass.class.to_s.downcase} #{klass}" + f << " < #{klass.superclass.to_s }" if klass.respond_to?(:superclass) and !klass.superclass.nil? + f << "\n" + klass.included_modules.each {|mod| f << " include #{mod.to_s}\n" unless mod.to_s == "Kernel" && klass.to_s != "Object"} + f << "\n" + klass.methods(false).each do |method_name| + method = eval("#{klass}").method(method_name) rescue nil + print_method(f, method, method_name.to_s, true) + end + # TODO Fix it so we can get a hold of the module instance methods properly + klass.instance_methods(false).each do |method_name| + begin + obj = if klass.class.to_s == "Module" then klass else klass.new end + method = obj.method(method_name.to_s) + rescue StandardError => e + puts e + # TODO If we can't create an instance of a class, generate dynamic subclass where we can, and then + # grab methods from there + begin + # If we're a module, we may need to force the function to be more visible to grab it + obj.module_eval do + module_function(method_name.to_s) + end + method = obj.method(method_name.to_s) + rescue StandardError => e + puts e + method = nil + end + end + print_method(f, method, method_name.to_s) + end + f << "end\n" + end +end \ No newline at end of file Copied: trunk/org.rubypeople.rdt.core/ruby/lib (from rev 1583, branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib) Deleted: trunk/org.rubypeople.rdt.core/ruby/lib/argumenterror.rb =================================================================== --- branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/argumenterror.rb 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.rubypeople.rdt.core/ruby/lib/argumenterror.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -1,3 +0,0 @@ -class ArgumentError < StandardError - -end Copied: trunk/org.rubypeople.rdt.core/ruby/lib/argumenterror.rb (from rev 1583, branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/argumenterror.rb) =================================================================== --- trunk/org.rubypeople.rdt.core/ruby/lib/argumenterror.rb (rev 0) +++ trunk/org.rubypeople.rdt.core/ruby/lib/argumenterror.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -0,0 +1,3 @@ +class ArgumentError < StandardError + +end Deleted: trunk/org.rubypeople.rdt.core/ruby/lib/array.rb =================================================================== --- branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/array.rb 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.rubypeople.rdt.core/ruby/lib/array.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -1,148 +0,0 @@ -class Array < Object - include Enumerable - - def self.[](arg0, arg1, *rest) - end - def concat(arg0) - end - def delete_at(arg0) - end - def include?(arg0) - end - def &(arg0) - end - def reverse_each - end - def flatten - end - def collect! - end - def size - end - def uniq! - end - def first(arg0, arg1, *rest) - end - def collect - end - def fill(arg0, arg1, *rest) - end - def reject! - end - def reverse - end - def *(arg0) - end - def insert(arg0, arg1, *rest) - end - def pack(arg0) - end - def unshift(arg0, arg1, *rest) - end - def compact - end - def transpose - end - def +(arg0) - end - def replace(arg0) - end - def at(arg0) - end - def select(arg0, arg1, *rest) - end - def zip(arg0, arg1, *rest) - end - def pop - end - def uniq - end - def to_s - end - def -(arg0) - end - def eql?(arg0) - end - def index(arg0) - end - def delete_if - end - def map! - end - def indexes(arg0, arg1, *rest) - end - def hash - end - def [](arg0, arg1, *rest) - end - def []=(arg0, arg1, *rest) - end - def last(arg0, arg1, *rest) - end - def |(arg0) - end - def map - end - def assoc(arg0) - end - def <<(arg0) - end - def values_at(arg0, arg1, *rest) - end - def each_index - end - def sort! - end - def length - end - def slice!(arg0, arg1, *rest) - end - def fetch(arg0, arg1, *rest) - end - def reject - end - def delete(arg0) - end - def clear - end - def sort - end - def each - end - def flatten! - end - def join(arg0, arg1, *rest) - end - def shift - end - def empty? - end - def inspect - end - def rindex(arg0) - end - def frozen? - end - def to_ary - end - def <=>(arg0) - end - def indices(arg0, arg1, *rest) - end - def ==(arg0) - end - def reverse! - end - def nitems - end - def slice(arg0, arg1, *rest) - end - def push(arg0, arg1, *rest) - end - def to_a - end - def rassoc(arg0) - end - def compact! - end -end Copied: trunk/org.rubypeople.rdt.core/ruby/lib/array.rb (from rev 1583, branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/array.rb) =================================================================== --- trunk/org.rubypeople.rdt.core/ruby/lib/array.rb (rev 0) +++ trunk/org.rubypeople.rdt.core/ruby/lib/array.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -0,0 +1,148 @@ +class Array < Object + include Enumerable + + def self.[](arg0, arg1, *rest) + end + def concat(arg0) + end + def delete_at(arg0) + end + def include?(arg0) + end + def &(arg0) + end + def reverse_each + end + def flatten + end + def collect! + end + def size + end + def uniq! + end + def first(arg0, arg1, *rest) + end + def collect + end + def fill(arg0, arg1, *rest) + end + def reject! + end + def reverse + end + def *(arg0) + end + def insert(arg0, arg1, *rest) + end + def pack(arg0) + end + def unshift(arg0, arg1, *rest) + end + def compact + end + def transpose + end + def +(arg0) + end + def replace(arg0) + end + def at(arg0) + end + def select(arg0, arg1, *rest) + end + def zip(arg0, arg1, *rest) + end + def pop + end + def uniq + end + def to_s + end + def -(arg0) + end + def eql?(arg0) + end + def index(arg0) + end + def delete_if + end + def map! + end + def indexes(arg0, arg1, *rest) + end + def hash + end + def [](arg0, arg1, *rest) + end + def []=(arg0, arg1, *rest) + end + def last(arg0, arg1, *rest) + end + def |(arg0) + end + def map + end + def assoc(arg0) + end + def <<(arg0) + end + def values_at(arg0, arg1, *rest) + end + def each_index + end + def sort! + end + def length + end + def slice!(arg0, arg1, *rest) + end + def fetch(arg0, arg1, *rest) + end + def reject + end + def delete(arg0) + end + def clear + end + def sort + end + def each + end + def flatten! + end + def join(arg0, arg1, *rest) + end + def shift + end + def empty? + end + def inspect + end + def rindex(arg0) + end + def frozen? + end + def to_ary + end + def <=>(arg0) + end + def indices(arg0, arg1, *rest) + end + def ==(arg0) + end + def reverse! + end + def nitems + end + def slice(arg0, arg1, *rest) + end + def push(arg0, arg1, *rest) + end + def to_a + end + def rassoc(arg0) + end + def compact! + end +end Deleted: trunk/org.rubypeople.rdt.core/ruby/lib/bignum.rb =================================================================== --- branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/bignum.rb 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.rubypeople.rdt.core/ruby/lib/bignum.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -1,67 +0,0 @@ -class Bignum < Integer - include Precision - include Comparable - - def div - end - def ** - end - def eql? - end - def size - end - def - - end - def <=> - end - def remainder - end - def [] - end - def == - end - def hash - end - def / - end - def quo - end - def | - end - def to_s - end - def coerce - end - def % - end - def << - end - def rpower - end - def modulo - end - def & - end - def ~ - end - def >> - end - def ^ - end - def to_f - end - def power! - end - def rdiv - end - def divmod - end - def * - end - def -@ - end - def + - end - def abs - end -end Copied: trunk/org.rubypeople.rdt.core/ruby/lib/bignum.rb (from rev 1583, branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/bignum.rb) =================================================================== --- trunk/org.rubypeople.rdt.core/ruby/lib/bignum.rb (rev 0) +++ trunk/org.rubypeople.rdt.core/ruby/lib/bignum.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -0,0 +1,67 @@ +class Bignum < Integer + include Precision + include Comparable + + def div + end + def ** + end + def eql? + end + def size + end + def - + end + def <=> + end + def remainder + end + def [] + end + def == + end + def hash + end + def / + end + def quo + end + def | + end + def to_s + end + def coerce + end + def % + end + def << + end + def rpower + end + def modulo + end + def & + end + def ~ + end + def >> + end + def ^ + end + def to_f + end + def power! + end + def rdiv + end + def divmod + end + def * + end + def -@ + end + def + + end + def abs + end +end Deleted: trunk/org.rubypeople.rdt.core/ruby/lib/binding.rb =================================================================== --- branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/binding.rb 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.rubypeople.rdt.core/ruby/lib/binding.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -1,5 +0,0 @@ -class Binding < Object - - def clone - end -end Copied: trunk/org.rubypeople.rdt.core/ruby/lib/binding.rb (from rev 1583, branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/binding.rb) =================================================================== --- trunk/org.rubypeople.rdt.core/ruby/lib/binding.rb (rev 0) +++ trunk/org.rubypeople.rdt.core/ruby/lib/binding.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -0,0 +1,5 @@ +class Binding < Object + + def clone + end +end Deleted: trunk/org.rubypeople.rdt.core/ruby/lib/buffering.rb =================================================================== --- branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/buffering.rb 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.rubypeople.rdt.core/ruby/lib/buffering.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -1,46 +0,0 @@ -module Buffering - include Enumerable - - def getc - end - def ungetc(arg0) - end - def close - end - def sync=(arg0) - end - def gets(arg0, arg1, *rest) - end - def printf(arg0, arg1, *rest) - end - def read(arg0, arg1, *rest) - end - def readchar - end - def <<(arg0) - end - def puts(arg0, arg1, *rest) - end - def each(arg0, arg1, *rest) - end - def each_byte - end - def readlines(arg0, arg1, *rest) - end - def eof - end - def write(arg0) - end - def each_line(arg0, arg1, *rest) - end - def flush - end - def sync - end - def readline(arg0, arg1, *rest) - end - def eof? - end - def print(arg0, arg1, *rest) - end -end Copied: trunk/org.rubypeople.rdt.core/ruby/lib/buffering.rb (from rev 1583, branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/buffering.rb) =================================================================== --- trunk/org.rubypeople.rdt.core/ruby/lib/buffering.rb (rev 0) +++ trunk/org.rubypeople.rdt.core/ruby/lib/buffering.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -0,0 +1,46 @@ +module Buffering + include Enumerable + + def getc + end + def ungetc(arg0) + end + def close + end + def sync=(arg0) + end + def gets(arg0, arg1, *rest) + end + def printf(arg0, arg1, *rest) + end + def read(arg0, arg1, *rest) + end + def readchar + end + def <<(arg0) + end + def puts(arg0, arg1, *rest) + end + def each(arg0, arg1, *rest) + end + def each_byte + end + def readlines(arg0, arg1, *rest) + end + def eof + end + def write(arg0) + end + def each_line(arg0, arg1, *rest) + end + def flush + end + def sync + end + def readline(arg0, arg1, *rest) + end + def eof? + end + def print(arg0, arg1, *rest) + end +end Deleted: trunk/org.rubypeople.rdt.core/ruby/lib/class.rb =================================================================== --- branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/class.rb 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.rubypeople.rdt.core/ruby/lib/class.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -1,9 +0,0 @@ -class Class < Module - - def new(arg0, arg1, *rest) - end - def allocate - end - def superclass - end -end Copied: trunk/org.rubypeople.rdt.core/ruby/lib/class.rb (from rev 1583, branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/class.rb) =================================================================== --- trunk/org.rubypeople.rdt.core/ruby/lib/class.rb (rev 0) +++ trunk/org.rubypeople.rdt.core/ruby/lib/class.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -0,0 +1,9 @@ +class Class < Module + + def new(arg0, arg1, *rest) + end + def allocate + end + def superclass + end +end Deleted: trunk/org.rubypeople.rdt.core/ruby/lib/comparable.rb =================================================================== --- branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/comparable.rb 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.rubypeople.rdt.core/ruby/lib/comparable.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -1,15 +0,0 @@ -module Comparable - - def between?(arg0, arg1) - end - def ==(arg0) - end - def >=(arg0) - end - def <(arg0) - end - def <=(arg0) - end - def >(arg0) - end -end Copied: trunk/org.rubypeople.rdt.core/ruby/lib/comparable.rb (from rev 1583, branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/comparable.rb) =================================================================== --- trunk/org.rubypeople.rdt.core/ruby/lib/comparable.rb (rev 0) +++ trunk/org.rubypeople.rdt.core/ruby/lib/comparable.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -0,0 +1,15 @@ +module Comparable + + def between?(arg0, arg1) + end + def ==(arg0) + end + def >=(arg0) + end + def <(arg0) + end + def <=(arg0) + end + def >(arg0) + end +end Deleted: trunk/org.rubypeople.rdt.core/ruby/lib/config.rb =================================================================== --- branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/config.rb 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.rubypeople.rdt.core/ruby/lib/config.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -1,9 +0,0 @@ -module Config - - def self.gem_original_datadir(arg0) - end - def self.datadir(arg0) - end - def self.expand(arg0, arg1, arg2, *rest) - end -end Copied: trunk/org.rubypeople.rdt.core/ruby/lib/config.rb (from rev 1583, branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/config.rb) =================================================================== --- trunk/org.rubypeople.rdt.core/ruby/lib/config.rb (rev 0) +++ trunk/org.rubypeople.rdt.core/ruby/lib/config.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -0,0 +1,9 @@ +module Config + + def self.gem_original_datadir(arg0) + end + def self.datadir(arg0) + end + def self.expand(arg0, arg1, arg2, *rest) + end +end Deleted: trunk/org.rubypeople.rdt.core/ruby/lib/continuation.rb =================================================================== --- branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/continuation.rb 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.rubypeople.rdt.core/ruby/lib/continuation.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -1,7 +0,0 @@ -class Continuation < Object - - def [] - end - def call - end -end Copied: trunk/org.rubypeople.rdt.core/ruby/lib/continuation.rb (from rev 1583, branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/continuation.rb) =================================================================== --- trunk/org.rubypeople.rdt.core/ruby/lib/continuation.rb (rev 0) +++ trunk/org.rubypeople.rdt.core/ruby/lib/continuation.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -0,0 +1,7 @@ +class Continuation < Object + + def [] + end + def call + end +end Deleted: trunk/org.rubypeople.rdt.core/ruby/lib/data.rb =================================================================== --- branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/data.rb 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.rubypeople.rdt.core/ruby/lib/data.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -1,3 +0,0 @@ -class Data < Object - -end Copied: trunk/org.rubypeople.rdt.core/ruby/lib/data.rb (from rev 1583, branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/data.rb) =================================================================== --- trunk/org.rubypeople.rdt.core/ruby/lib/data.rb (rev 0) +++ trunk/org.rubypeople.rdt.core/ruby/lib/data.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -0,0 +1,3 @@ +class Data < Object + +end Deleted: trunk/org.rubypeople.rdt.core/ruby/lib/date.rb =================================================================== --- branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/date.rb 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.rubypeople.rdt.core/ruby/lib/date.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -1,15 +0,0 @@ -class Date < Object - - def self.zone_to_diff(arg0) - end - def self._strptime(arg0, arg1, arg2, *rest) - end - def self._parse(arg0, arg1, arg2, *rest) - end - def asctime - end - def ctime - end - def strftime(arg0, arg1, *rest) - end -end Copied: trunk/org.rubypeople.rdt.core/ruby/lib/date.rb (from rev 1583, branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/date.rb) =================================================================== --- trunk/org.rubypeople.rdt.core/ruby/lib/date.rb (rev 0) +++ trunk/org.rubypeople.rdt.core/ruby/lib/date.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -0,0 +1,15 @@ +class Date < Object + + def self.zone_to_diff(arg0) + end + def self._strptime(arg0, arg1, arg2, *rest) + end + def self._parse(arg0, arg1, arg2, *rest) + end + def asctime + end + def ctime + end + def strftime(arg0, arg1, *rest) + end +end Deleted: trunk/org.rubypeople.rdt.core/ruby/lib/datetime.rb =================================================================== --- branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/datetime.rb 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.rubypeople.rdt.core/ruby/lib/datetime.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -1,7 +0,0 @@ -class DateTime < Date - - def self._strptime(arg0, arg1, arg2, *rest) - end - def strftime(arg0, arg1, *rest) - end -end Copied: trunk/org.rubypeople.rdt.core/ruby/lib/datetime.rb (from rev 1583, branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/datetime.rb) =================================================================== --- trunk/org.rubypeople.rdt.core/ruby/lib/datetime.rb (rev 0) +++ trunk/org.rubypeople.rdt.core/ruby/lib/datetime.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -0,0 +1,7 @@ +class DateTime < Date + + def self._strptime(arg0, arg1, arg2, *rest) + end + def strftime(arg0, arg1, *rest) + end +end Deleted: trunk/org.rubypeople.rdt.core/ruby/lib/digest.rb =================================================================== --- branches/type_inferrence/trunk/org.rubypeople.rdt.core/ruby/lib/digest.rb 2006-08-23 19:41:20 UTC (rev 1583) +++ trunk/org.rubypeople.rdt.core/ruby/lib/digest.rb 2006-08-25 01:53:42 UTC (rev 1584) @@ -1,3 +0,0 @@ -module Digest - -end Copied: trunk/org.rubypeople... [truncated message content] |