Commit Graph

4835 Commits

Author SHA1 Message Date
Stepan Koltsov c08965c336 split GenericIterator test 2012-04-09 22:31:57 +04:00
Stepan Koltsov a034eefb51 js: rename "anonymous" ns to "root"
also use constant field instead of hardcoded literal in tests
2012-04-09 22:31:57 +04:00
Stepan Koltsov 74233edafc move code 2012-04-09 22:31:57 +04:00
Stepan Koltsov abfd03cae3 descriptor name cannot be empty string
* add assertion
* fix tests
* #KT-1748 Fixed
2012-04-09 22:31:56 +04:00
Leonid Shalupov 5ec31b8cdc libraries/tools: pack sources for stdlib 2012-04-09 22:31:15 +04:00
Leonid Shalupov 6d47a3c2dc libraries/tools: compile kotlin runtime in maven build 2012-04-09 22:31:14 +04:00
Stepan Koltsov ea1592e8a3 validate identifier names 2012-04-09 21:25:01 +04:00
Stepan Koltsov d889ca37b8 rename js DescriptorUtils 2012-04-09 21:24:51 +04:00
Stepan Koltsov 19d7539a45 useful assertion in js backend 2012-04-09 20:45:31 +04:00
Stepan Koltsov 03e78e8cc3 Revert "add runtime to classpath in JetCoreEnvironment" temporarily
This reverts commit 59c7f33c88.
2012-04-09 18:54:42 +04:00
Stepan Koltsov 9711d18dca Revert "BytecodeCompilerTest" temporarily
This reverts commit 18170a0b29.
2012-04-09 18:54:28 +04:00
Stepan Koltsov 18170a0b29 BytecodeCompilerTest 2012-04-09 18:22:23 +04:00
Stepan Koltsov 59c7f33c88 add runtime to classpath in JetCoreEnvironment 2012-04-09 18:22:23 +04:00
Stepan Koltsov a41edaa224 better tmp dir name in TestCaseWithTmpdirIndependentFromIdea 2012-04-09 18:22:22 +04:00
Stepan Koltsov bcbcb48ef8 remove unused parameters 2012-04-09 18:22:22 +04:00
Pavel V. Talanov 7dd0e50bcd Merge with branch "AnalyzerJS" 2012-04-09 17:08:57 +04:00
Pavel V. Talanov a030576052 Merge from brahch analyzeJS.
Conflicts:
	compiler/backend/src/org/jetbrains/jet/codegen/GenerationState.java
	compiler/cli/src/org/jetbrains/jet/compiler/CompileSession.java
	compiler/frontend.java/src/org/jetbrains/jet/lang/resolve/java/AnalyzerFacadeForJVM.java
	compiler/tests/org/jetbrains/jet/codegen/GenerationUtils.java
	compiler/tests/org/jetbrains/jet/resolve/ExpectedResolveData.java
	compiler/tests/org/jetbrains/jet/types/JetDefaultModalityModifiersTest.java
	idea/src/org/jetbrains/jet/plugin/libraries/JetSourceNavigationHelper.java
	idea/src/org/jetbrains/jet/plugin/parameterInfo/JetFunctionParameterInfoHandler.java
	idea/src/org/jetbrains/jet/plugin/project/WholeProjectAnalyzerFacade.java
	idea/src/org/jetbrains/jet/plugin/quickfix/ChangeVariableMutabilityFix.java
	idea/src/org/jetbrains/jet/plugin/quickfix/ImportInsertHelper.java
	idea/src/org/jetbrains/jet/plugin/quickfix/QuickFixUtil.java
	idea/src/org/jetbrains/jet/plugin/refactoring/JetNameSuggester.java
	idea/src/org/jetbrains/jet/plugin/refactoring/JetRefactoringUtil.java
	idea/src/org/jetbrains/jet/plugin/refactoring/introduceVariable/JetIntroduceVariableHandler.java
2012-04-09 17:06:56 +04:00
Pavel V. Talanov ff1cd1c4f7 Typo in the comment. 2012-04-09 15:19:05 +04:00
Pavel V. Talanov 652be4ed95 Revert misleading whitespace changes. 2012-04-09 15:04:27 +04:00
Pavel V. Talanov 62efa95211 Change indication filename to ".kotlin-js" 2012-04-09 14:20:08 +04:00
Pavel V. Talanov 0f44771447 Resolve circular dependency. Introduce JsAnalyzerFacadeForIDEA. 2012-04-09 13:50:48 +04:00
Nikolay Krasko 7de5f68629 KT-1238 Completion of 'break' keyword: why does it add space char at the end?
KT-1237 Auto-completion of "return" keyword should not insert space after it when in a method returning Unit

 #KT-1237 fixed
 #KT-1238 fixed
2012-04-09 11:43:46 +04:00
Stepan Koltsov bd501f3676 minor JavaDescriptorResolver refactoring 2012-04-09 03:26:04 +04:00
Stepan Koltsov 10dd366216 CompilerDependencies
Holds reference to runtime.jar and jdk-headers.jar. Paths to these
jars are no longer hardcoded.

Many tests now compile runtime before execution. Because of this:
* Single test invocation is significantly slower now for some tests
* This can be fixed by making tests independent from runtime (this
must be done anyway)

Some tests still depend on runtime.jar built by "ant dist", this
is to be fixed.
2012-04-09 03:04:50 +04:00
Stepan Koltsov aae7ba734d useless environment field in CompileEnvironmentTest 2012-04-09 02:09:12 +04:00
Stepan Koltsov b5fe2c41e6 prohibit classes with more then one constructor 2012-04-09 01:44:50 +04:00
Stepan Koltsov ded26cda30 failOnError=true in generateInjector 2012-04-09 01:44:46 +04:00
Stepan Koltsov ea6b54ee45 ForTestCompileBuiltins and ForTestCompileJdkHeaders
(will be used later)
2012-04-09 00:07:53 +04:00
Stepan Koltsov 956bf0107e missed field name 2012-04-09 00:07:53 +04:00
Stepan Koltsov 4125a508ec create forTestCompile package 2012-04-09 00:07:52 +04:00
Stepan Koltsov d74c217936 rename stdlib to runtime 2012-04-08 23:31:29 +04:00
Stepan Koltsov 09ddfb714e cleanup in JavaDescriptorResolver 2012-04-08 23:23:59 +04:00
Stepan Koltsov b0325f14ef remove useless field in JavaNamespaceDescriptor 2012-04-08 23:23:59 +04:00
Evgeny Gerashchenko ee24554e28 Fixed highlighting of builtin annotations (they were highlighted like keywords). 2012-04-08 22:58:50 +04:00
Evgeny Gerashchenko 05fd46009d Replaced diagnostic factories so they show type FQ names instead of short names.
#KT-1137 fixed
2012-04-08 22:45:07 +04:00
Stepan Koltsov 886cfbdb98 create JavaPackageScope for class statics
... and compute "kotlin" flag in ResolverScopeData
2012-04-08 22:26:15 +04:00
Stepan Koltsov ce0565b449 exclude JetJavaMirrorMaker in PsiClassFinder 2012-04-08 22:26:15 +04:00
Nikolay Krasko 4ec080f71f KT-1666 Invoking "Go to Declaration" for String type offers two variants - Temp boring fix
#KT-1666 fixed
2012-04-08 20:38:11 +04:00
Evgeny Gerashchenko 89b08d6296 Extracted DeclarationDescriptorComparator from DecompiledDataFactory. 2012-04-08 20:01:49 +04:00
Evgeny Gerashchenko aec021e668 Implemented better rendering for parameters with default values in decompiler and descriptor renderer.
#KT-1582 fixed
2012-04-08 19:59:53 +04:00
Evgeny Gerashchenko 0d84a045ee Minor: added @NotNull annotations from interfaces. 2012-04-08 19:42:46 +04:00
Evgeny Gerashchenko eeb991e338 Fixed exception on opening non-Kotlin class file.
#EA-35266 fixed
2012-04-08 19:22:22 +04:00
Evgeny Gerashchenko 19efb9fee5 Got rid of live templates in completion after dot.
#KT-1676 fixed
2012-04-08 18:10:38 +04:00
Evgeny Gerashchenko 3fa0561f3d Added global constants for OS_SEPARATOR and VFS_SEPARATOR. 2012-04-08 17:20:04 +04:00
Evgeny Gerashchenko dfd3f50c52 Made VirtualFile subtype of Hashable. 2012-04-08 17:06:33 +04:00
Evgeny Gerashchenko 1931d82416 Changed keys for FileSystem.fileToInfo map (because of fixed compiler bugs) 2012-04-08 17:06:33 +04:00
Evgeny Gerashchenko 6772df3298 Replaced getter methods with properties (because of fixed compiler bugs) 2012-04-08 17:06:32 +04:00
Stepan Koltsov 41fb628004 merging ResolverScopeData subclasses and Java*Scope classes 2012-04-08 05:52:01 +04:00
Stepan Koltsov 7be3d247f9 fix tests after recent refactoring 2012-04-08 05:39:46 +04:00
Stepan Koltsov 7aeded2522 more fqname utils 2012-04-08 05:39:43 +04:00