Directory groovy/ide/groovy-eclipse/org.codehaus.groovy.eclipse.core/src/org/codehaus/groovy/eclipse/core/context/impl/

Directory Created:
2007-03-02 22:05
Total Files:
11
Deleted Files:
3
Lines of Code:
859

Browse with ViewVC

[root]/groovy/ide/groovy-eclipse/org.codehaus.groovy.eclipse.core/src/org/codehaus/groovy/eclipse/core/context/impl

Lines of Code

groovy/ide/groovy-eclipse/org.codehaus.groovy.eclipse.core/src/org/codehaus/groovy/eclipse/core/context/impl/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
emp 67 (100.0%) 1338 (100.0%) 19.9

Most Recent Commits

emp 2007-04-03 04:16

Refactored SyntacticContextFactory. Cleaner code, now handles Groovy classes and Groovy scripts properly and uniformly.

Removed idea of semantic context. Renamed *SyntacticContext* to *SourceCodeContext*.

Updated documents to reflect the above.

Updated context tests, and added new test cases for Groovy scripts.

Fixed a bug in JavaElementCategoryLookup.

Fixed type inference bug when inside a Closure that is an initial value of a field (e.g. Grails actions).

697 lines of code changed in:

emp 2007-03-29 12:05

Extension point for type so IMemberLookup can be contributed.

Small fixes in AbstractMemberLookup.

New code completers for local variables and class names.

Conversion to bin-groovy.

3 lines of code changed in:

emp 2007-03-23 01:45

Checks for line == -1 as is with some nodes, and when source doesn't match AST between reconciles.

23 lines of code changed in:

  • groovy/ide/groovy-eclipse/org.codehaus.groovy.eclipse.core/src/org/codehaus/groovy/eclipse/core/context/impl: SyntacticContextFactory.java (+23)
emp 2007-03-22 23:48

Many small fixes: solves problems of exceptions thrown in a few places.

9 lines of code changed in:

  • groovy/ide/groovy-eclipse/org.codehaus.groovy.eclipse.core/src/org/codehaus/groovy/eclipse/core/context/impl: SyntacticContextFactory.java (+9 -6)
emp 2007-03-22 11:01

Some small type evaluator bugs. Extended the type evaluator to return types from array accesses. Bunch of other things, things are working nicely.

6 lines of code changed in:

  • groovy/ide/groovy-eclipse/org.codehaus.groovy.eclipse.core/src/org/codehaus/groovy/eclipse/core/context/impl: SyntacticContextFactory.java (+6)
emp 2007-03-22 07:44

Fix: MethodCallExpressions were being visited by accident. As a side effect, fixed potential bug in nested method calls (ie, calls in args).

3 lines of code changed in:

  • groovy/ide/groovy-eclipse/org.codehaus.groovy.eclipse.core/src/org/codehaus/groovy/eclipse/core/context/impl: SyntacticContextFactory.java (+3 -1)
emp 2007-03-22 07:32

Fix completion in for loop: visit method node contents before creating MethodScopeContext to get the full ASTPath.

2 lines of code changed in:

  • groovy/ide/groovy-eclipse/org.codehaus.groovy.eclipse.core/src/org/codehaus/groovy/eclipse/core/context/impl: SyntacticContextFactory.java (+2 -1)
emp 2007-03-22 06:33

Inserted line/col coords into <clinit> as they are -1, -1.

44 lines of code changed in:

  • groovy/ide/groovy-eclipse/org.codehaus.groovy.eclipse.core/src/org/codehaus/groovy/eclipse/core/context/impl: SyntacticContextFactory.java (+44 -2)
emp 2007-03-21 08:51

Fix to classloader issue in GroovyProject that caused problems in some Groovy implemented classes.

Category completions, DGM completions, completions now work inside of Closures.

40 lines of code changed in:

  • groovy/ide/groovy-eclipse/org.codehaus.groovy.eclipse.core/src/org/codehaus/groovy/eclipse/core/context/impl: SyntacticContextFactory.java (+40 -38)
emp 2007-03-20 07:23

Type inference code. Required various small changes.

TypeEvaluator now takes a ITypeEvaluationContext. An inferring context does type inference as needed.

Inferences include: local variables and fields and method return types. This is the start of much more to come.

67 lines of code changed in:

emp 2007-03-14 22:43

Refactored code in preparation for type inference insertion. Better, simpler code in general now.

Many little fixes. Almost all 'something.(complete)' completions work now.

64 lines of code changed in:

emp 2007-03-13 21:54

Fix to syntactic context inside of method arguments being reported as a MethodParametersContext.

9 lines of code changed in:

emp 2007-03-13 05:14

Bug fixes and cleaning up after applying FindBugs.

1 lines of code changed in:

  • groovy/ide/groovy-eclipse/org.codehaus.groovy.eclipse.core/src/org/codehaus/groovy/eclipse/core/context/impl: SyntacticContextFactory.java (+1 -1)
emp 2007-03-13 01:57

Removed antlr builder from project file.

Fixed groovy context bug - when more than two classes in a file, problems.

Fixed override bug - now uses the class from the context to determine overrides - needed when more than two classes in a file.

4 lines of code changed in:

  • groovy/ide/groovy-eclipse/org.codehaus.groovy.eclipse.core/src/org/codehaus/groovy/eclipse/core/context/impl: SyntacticContextFactory.java (+4 -23)
emp 2007-03-12 03:47

Error recovery. Custom parser plugins and modified Groovy grammar to deal with common case of a dangling '.'. a. a?. a[10]. a._ { and so on.

The recovered CST can be used to build an AST. The resulting AST will have quirks, but is usuable for code completion.

Sources generated from the modified grammar are included so no one has to mess around with Antlr etc.

Completion now works in Groovy scripts.

Plugin now exports groovy-1.0.jar, antlr-2.7.5.jar, asm-2.2.jar, asm-tree.2.2.jar - required for error recovering parser.

1 lines of code changed in:

  • groovy/ide/groovy-eclipse/org.codehaus.groovy.eclipse.core/src/org/codehaus/groovy/eclipse/core/context/impl: SyntacticContextFactory.java (+1 -1)
emp 2007-03-10 23:19

Little change to enable script method completions.

1 lines of code changed in:

  • groovy/ide/groovy-eclipse/org.codehaus.groovy.eclipse.core/src/org/codehaus/groovy/eclipse/core/context/impl: SyntacticContextFactory.java (+1)
emp 2007-03-10 23:13

Initial additions to enable completion in a Groovy script.

181 lines of code changed in:

emp 2007-03-07 10:10

Added completions on parameter types.

5 lines of code changed in:

emp 2007-03-06 10:35

Polishing completion - most static completion now works. Still a few issues to polish out.

30 lines of code changed in:

emp 2007-03-02 22:05

Initial cut of code completion support code. Completion expression finder, type evaluator,

various lookup interfaces, etc, etc.

148 lines of code changed in:

Generated by StatSVN 0.3.2-SNAPSHOT