Commit Graph

28138 Commits

Author SHA1 Message Date
Pavel V. Talanov bdc64f322c Add script codegen tests with package statements
Tests codegen annotating visitor
2015-11-19 22:57:03 +03:00
Pavel V. Talanov ae5c95038b Place repl specific stuff of GenerationState into a separate entity
Add even more hacks to tell if the line has useful result to display
2015-11-19 22:57:03 +03:00
Pavel V. Talanov 405cfa439d Repl test: behave closer to real repl 2015-11-19 22:57:02 +03:00
Pavel V. Talanov ad58617753 Script refactoring, codegen tests: change test data according to semantics change
Add some new tests for uncovered cases
2015-11-19 22:57:01 +03:00
Pavel V. Talanov 6563830584 Script refactoring, backend: scripts are classes now, remove/refactor 'special code' dealing with scripts 2015-11-19 22:57:01 +03:00
Pavel V. Talanov d037068bba Turn off duplicateJvmSignature reporting for scripts until light classes are implemented 2015-11-19 22:56:58 +03:00
Pavel V. Talanov 2b955bc6ec Script refactoring, frontend tests: changes according to semantic changes in scripts
Add checker tests for scripts
2015-11-19 22:56:57 +03:00
Pavel V. Talanov efa4bf1d74 Script refactoring, frontend: Treat scripts as classes (as opposed to function bodies)
ScriptDescriptor implements ClassDescriptor
Scripts are accessible in IDE via stub index
Replace special treatment of scripts with generic mechanism in several cases
Scripts to longer generate 'rv' property for storing result value (changes in repl required)
2015-11-19 22:56:57 +03:00
Pavel V. Talanov aebcebe8ca Add simple checker tests for scripts 2015-11-19 22:56:55 +03:00
Pavel V. Talanov daa1a08213 Script refactoring, parser: wrap statements in script as if they are init blocks of a class 2015-11-19 22:56:54 +03:00
Pavel V. Talanov e45585be21 Make KtScript stubbed and add KotlinScriptFqnIndex 2015-11-19 22:56:53 +03:00
Michael Nedzelsky aa8f3df9a8 fix KT-10064 Regression: Error with multiple main functions within a single package
#KT-10064 Fixed
2015-11-19 19:59:27 +03:00
Yan Zhulanow 49f0953898 Remove obsolete JPS extension declaration in Android plugin (KT-10096) 2015-11-19 19:55:28 +03:00
Dmitry Petrov 42b587b0d5 Prohibit callable references to annotation class constructors.
See KT-4391.
2015-11-19 18:31:20 +03:00
Nikolay Krasko 0261a3fbbd Substitute version in bare plugin on buildserver 2015-11-19 16:08:04 +03:00
Nikolay Krasko ee3100dc79 Relay plugins with version replacing 2015-11-19 16:08:04 +03:00
Nikolay Krasko 642ac2ec5e Minor: rename JetParserDefinition to KotlinParserDefinition in comments 2015-11-19 16:08:03 +03:00
Michael Nedzelsky ea4470a16a fix KT-10068 JsLibraryStdDetectionUtil does not use caching through JarUserDataManager
#KT-10068 Fixed
2015-11-19 15:34:31 +03:00
Alexander Udalov 8fd7190992 Support ConstraintSystem.Builder.add, untested and unused at the moment 2015-11-19 14:40:01 +03:00
Natalia Ukhorskaya 6149f9f2bb Minor: extract method 2015-11-19 14:01:25 +03:00
Natalia Ukhorskaya f872b378d0 Create KotlinStackFrame only for kotlin classes with inline functions
#KT-10092 Fixed
2015-11-19 14:01:23 +03:00
Natalia Ukhorskaya 35ccfef040 Add test for navigation from stacktrace at inline function with object 2015-11-19 12:07:03 +03:00
Natalia Ukhorskaya 6867165aba Fix navigation from stack trace to inline function calls in inner classes 2015-11-19 12:07:02 +03:00
Natalia Ukhorskaya 3498038db1 Support navigation to library inline functions from stack trace 2015-11-19 12:07:01 +03:00
Natalia Ukhorskaya 214ae54c69 Rewrite old exception filter test with library sources 2015-11-19 12:07:00 +03:00
Natalia Ukhorskaya 6c0a68cf66 Rewrite some old exception filter tests 2015-11-19 12:06:59 +03:00
Natalia Ukhorskaya 9f0b52f030 Navigate to inline function from stackTrace
#KT-8066 Fixed
2015-11-19 12:06:58 +03:00
Natalia Ukhorskaya 93ccc08e3d Convert KotlinExceptionFilter to kotlin 2015-11-19 12:06:58 +03:00
Natalia Ukhorskaya 4506a73112 Rename .java to .kt 2015-11-19 12:06:57 +03:00
Natalia Ukhorskaya c0f67e497b Run Clean up on eval4j module 2015-11-19 12:06:56 +03:00
Natalia Ukhorskaya fddcd9b50f Workaround for bug in jdi: ClassCastException in invoke method with Object[] param using Interface[] argument 2015-11-19 12:06:55 +03:00
Natalia Ukhorskaya 2b646369f3 Minor: fix warning 2015-11-19 12:06:54 +03:00
Natalia Ukhorskaya 6e638bd30a Debugger: show line content instead of method content for breakpoint at line in drop-donw list 2015-11-19 12:06:54 +03:00
Natalia Ukhorskaya 35d7d7b789 Minor: rename class 2015-11-19 12:06:53 +03:00
Natalia Ukhorskaya 7e5e749735 Debugger: remove while loop
#KT-10043 Fixed
2015-11-19 12:06:52 +03:00
Dmitry Petrov 9a736bf874 Use platform-dependent filter for callable package members
before checking for overloads:
filter deserialized callable package members by implementation class files
for callable package members from source.

 #KT-10051 Fixed
2015-11-19 09:51:21 +03:00
Alexander Udalov 6367e5e133 Fix deadlock on static initializers of KProperty implementations
#KT-10041 Fixed
2015-11-19 02:57:27 +03:00
Yan Zhulanow 39e6c6e500 Android Extensions: fix cli tests 2015-11-19 01:35:58 +03:00
Yan Zhulanow 148ec829a3 Minor: simplify SimpleNameReferenceExtension a bit 2015-11-19 01:35:58 +03:00
Yan Zhulanow c9c740c66b Android Extensions: IDEA versions replication is not needed anymore 2015-11-19 01:35:58 +03:00
Yan Zhulanow ba8e3785cf Android Extensions: Update Android JPS plugin 2015-11-19 01:35:58 +03:00
Yan Zhulanow 6caaa305bc Android extensions: Do not cache ViewStub widgets, do not cast it automatically 2015-11-19 01:35:58 +03:00
Yan Zhulanow 3f97b384ef Autoimport items from kotlinx.android.synthetic on completion 2015-11-19 01:35:58 +03:00
Yan Zhulanow 0dada9d13a Android extensions: Fix onDestroy in Fragments 2015-11-19 01:35:58 +03:00
Yan Zhulanow 10b7b069b4 Pack Android extensions inside the Kotlin IDEA plugin 2015-11-19 01:35:58 +03:00
Yan Zhulanow 422e11ea9a Fix Android Extensions tests (descriptors) 2015-11-19 01:35:58 +03:00
Yan Zhulanow c7f1fd74a1 Create descriptors directly in Android Extensions (IDEA plugin) 2015-11-19 01:35:58 +03:00
Yan Zhulanow d88c2249b8 Create descriptors directly in Android Extensions (compiler plugin) 2015-11-19 01:35:58 +03:00
Yan Zhulanow 3d8df88ab2 Fix some misc tests (Android variants) 2015-11-19 01:35:58 +03:00
Yan Zhulanow 9112dd632a Support Android variants in IDE 2015-11-19 01:35:58 +03:00