Compare commits

..

1064 Commits

Author SHA1 Message Date
teamcity
60ea500056 Auto-merge 1.0.2 with 1.0.2 2016-06-23 21:00:12 +03:00
Alexander Udalov
adfe706504 Add release notes for 1.0.2-1
(cherry picked from commit 1ebcd193a2)
2016-06-23 17:38:38 +03:00
teamcity
7d7fad30db Auto-merge 1.0.2 with 1.0.2 2016-06-10 16:10:50 +03:00
Nikolay Krasko
f6c1ff038c Remove stopping JobSchedule executor. It now fails on shutdown attempt. 2016-06-10 13:47:36 +03:00
Nikolay Krasko
034b6e46a4 Merge remote-tracking branch 'origin/1.0.2' into 1.0.2_/br141
Conflicts:
	build.xml
	idea/src/META-INF/plugin.xml
2016-06-09 17:41:18 +03:00
Nikolay Krasko
0747a6f1d0 plugin.xml: Add dependency on java module
This restricts usage of plugin to IDEA and Android Studio
2016-06-08 18:21:47 +03:00
Yan Zhulanow
c3bd24349c Fix EA-80764. Do not try to get the resource manager for the disposed module 2016-06-07 18:31:04 +03:00
Yan Zhulanow
8be1335a54 Fix EA-82394. PsiType.getClassName() can return null. Return "<anonymous type>" in that case. 2016-06-07 18:31:02 +03:00
Yan Zhulanow
cf033d0f20 Fix EA-82166. NPE. loadModel() can return null, and it's a bad idea to call methods on a null pointer. 2016-06-07 18:31:01 +03:00
Yan Zhulanow
98b28996b0 Fix EA-82449. Do not run Lint diagnostics if the project is already disposed 2016-06-07 18:31:00 +03:00
Yan Zhulanow
c6e328aa0f KT-12387 Fix Performance problem with Lint in IDE
Call checkCanceled() before running Lint diagnostics (UastScanner)
2016-06-07 18:30:59 +03:00
Yan Zhulanow
61e8e01608 Fix #KT-12047 (Kotlin Lint: "Missing @JavascriptInterface on methods" does not report anything) 2016-06-07 18:30:58 +03:00
Yan Zhulanow
c3d01ec9ed Fix #KT-12015 (Kotlin Lint False Positive for Bundle.getInt()).
Android firstly checks API version against the function call receiver type, so we should do the same to be consistent.
2016-06-07 18:28:42 +03:00
Alexey Tsvetkov
723df5fdc3 Shade in kotlin-build-common-test 2016-06-07 14:17:25 +03:00
Alexey Tsvetkov
ddbf7906e1 Shade in kotlin-android-extensions 2016-06-07 14:17:20 +03:00
Alexey Tsvetkov
ad811531bd Shade in kotlin-compiler-embeddable
Now kotlin gradle plugin is compatible with android gradle plugin 2.2

     #KT-12478 fixed
     #KT-12431 fixed
     #KT-12406 fixed
2016-06-07 14:17:16 +03:00
Alexey Tsvetkov
a54c04ab04 Set idea.io.use.nio2=true every build on windows
Otherwise (setting property once in static block) gradle daemon might clear system properties

     #KT-11770 fixed
2016-06-07 14:16:46 +03:00
teamcity
97be7861ae Auto-merge 1.0.2 with 1.0.2 2016-05-24 21:22:53 +03:00
Nikolay Krasko
e44f5ce624 More write action requirement remove
Workaround for exception: Refactorings should not be started inside write action because they start progress inside and any read action from the progress task would cause the deadlock
2016-05-24 17:49:45 +03:00
Nikolay Krasko
bb470f3e58 Don't request write action for ChangeParameterTypeFix because it's based on refactoring
Workaround for exception: Refactorings should not be started inside write action because they start progress inside and any read action from the progress task would cause the deadlock
2016-05-24 17:49:45 +03:00
Nikolay Krasko
f16f364ea4 Don't request write action for RemoveUnusedFunctionParameterFix because it's based on refactoring (KT-12440)
Workaround for exception: Refactorings should not be started inside write action because they start progress inside and any read action from the progress task would cause the deadlock

 #KT-12440 Fixed
2016-05-24 17:49:44 +03:00
Nikolay Krasko
384c651dee Don't request write action for ReplaceExplicitFunctionLiteralParamWithItIntention because it's based on refactoring (KT-12436)
Workaround for exception: Refactorings should not be started inside write action because they start progress inside and any read action from the progress task would cause the deadlock

 #KT-12436 Fixed
2016-05-24 17:49:43 +03:00
teamcity
f2330e8ff1 Auto-merge 1.0.2 with 1.0.2 2016-05-20 22:01:20 +03:00
Nikolay Krasko
edeaff2023 Restore packing plugin-api module output to plugin 2016-05-20 20:08:33 +03:00
teamcity
86d1d754b1 Auto-merge 1.0.2 with 1.0.2 2016-05-20 19:15:50 +03:00
Nikolay Krasko
4a646faac8 Check there's no direct usages of asm (org.objectweb.asm) library in project
Such usages should be replaced with asm from idea (org.jetbrains.org.objectweb.asm)
2016-05-20 16:06:29 +03:00
Nikolay Krasko
95d4efdbd7 Don't use reference to asm directly. Use asm from Idea instead. 2016-05-20 16:06:28 +03:00
teamcity
9450b38d72 Auto-merge 1.0.2 with 1.0.2 2016-05-18 15:51:17 +03:00
Nikolay Krasko
6251e8c461 Remove unused import 2016-05-18 13:53:28 +03:00
teamcity
b986aade81 Auto-merge 1.0.2 with 1.0.2 2016-05-18 00:13:19 +03:00
Nikolay Krasko
923f9fb7c2 Remove unused method that causes compatibility problem in update AS plugin 2016-05-17 21:42:58 +03:00
teamcity
24fda618f6 Auto-merge 1.0.2 with 1.0.2 2016-05-16 16:09:13 +03:00
Alexey Sedunov
9998841a60 Rename: Do not use Change Signature for parameter renaming
(cherry picked from commit 797465a)
2016-05-16 13:22:30 +03:00
teamcity
d914dbe3f2 Auto-merge 1.0.2 with 1.0.2 2016-05-13 01:18:07 +03:00
teamcity
a7994e35c0 Auto-merge 1.0.2 with 1.0.2 2016-05-12 23:41:46 +03:00
Alexander Udalov
e5fd456075 Add empty source jars to kotlin-build-common Maven artifacts
Maven Central requires all artifacts to have sources and javadocs
2016-05-12 23:28:33 +03:00
Ilya Gorbunov
ddadef7331 Add tests for deserialization of collections persisted with kotlin 1.0
(cherry picked from commit 15dcd3d)
2016-05-12 21:22:09 +03:00
Ilya Gorbunov
4ff79ae2bc Fix serialVersionUID for EmptyList after introducing RandomAccess interface. #KT-10794
(cherry picked from commit 6a07d5f)
2016-05-12 21:22:01 +03:00
Dmitry Jemerov
62d16d88c7 specify precise path for module source root so that Java descriptors are found correctly 2016-05-12 18:48:29 +02:00
Dmitry Jemerov
05c62b0459 workaround for KT-9407: don't use qualified name in Pattern class link
#KT-12129 Fixed
(cherry picked from commit be8c953)
2016-05-12 17:54:47 +02:00
Dmitry Jemerov
c451a47a63 specify github revision number in build parameters
(cherry picked from commit 11c0b30)
2016-05-12 16:58:25 +02:00
teamcity
e2f0663599 Auto-merge 1.0.2 with 1.0.2 2016-05-12 14:33:47 +03:00
Nikolay Krasko
9f634e4fab No more patched jflex 1.4.3 in idea repository. Download artifact from maven.
02c7c658e8
2016-05-12 12:27:37 +03:00
Nikolay Krasko
99cd039edc Make downloading idea sources optional 2016-05-12 12:27:34 +03:00
Alexey Tsvetkov
7521b762fe Minor: fix downloading sdk in test 2016-05-12 00:26:50 +03:00
Alexey Tsvetkov
5fa0eecdee Avoid cache corruption on compile error
#KT-11874 fixed
2016-05-12 00:26:49 +03:00
Alexey Tsvetkov
6ccb123d58 Fix Application leak in AbstractAnnotationProcessorBoxTest 2016-05-11 23:55:55 +03:00
Alexey Tsvetkov
6e746d85c5 Increase daemon test memory limit again
It is still more strict than it was before (before each test build could grow < 2500 kb, now < 300 kb on average of 10 runs)
2016-05-11 23:55:52 +03:00
Yan Zhulanow
8755dec1b1 Fix EA-81689 2016-05-11 21:35:29 +03:00
Alexander Udalov
b0eb7a8484 Remove empty 1.0.3 and 1.1 sections 2016-05-11 20:50:00 +03:00
teamcity
afbd852bfe Auto-merge 1.0.2 with 1.0.2 2016-05-11 18:49:30 +03:00
Alexander Udalov
d310564f8c Update ChangeLog for 1.0.2 2016-05-11 11:26:14 +03:00
teamcity
83ec34aa96 Auto-merge 1.0.2 with 1.0.2 2016-05-10 18:31:23 +03:00
Alexey Andreev
037b0a2b7b KT-11996 Fix issue with referencing outer class in case of inner class constructors and members/properties. Fix issue with referencing outer classes from secondary constructors. Remove unnecessary tests. 2016-05-10 17:53:35 +03:00
Alexey Andreev
3c80d0f86f KT-11823 Generate proper argument for closure constructor for this as a free variable. Give some explanation for function that generates closure arguments as well as a clear name. Give explanation to some code in UsageTracker.isSingletonReceiver, augmented by a test case. 2016-05-10 17:43:05 +03:00
Nikolay Krasko
fde3e8f374 Remove write action from refactoring start (KT-11486)
#KT-11486 Fixed
2016-05-10 16:18:45 +03:00
Valentin Kipyatkov
beeb92d864 Fixed dialog with suggestion to process external code shown even when there is nothing to process
(cherry picked from commit 7b1bf4c)
2016-05-10 15:02:47 +03:00
teamcity
d07fe09f6b Auto-merge 1.0.2 with 1.0.2 2016-05-05 23:10:31 +03:00
Alexey Tsvetkov
73ad5eb472 Refactoring: rename ClassBuilderMode entry LIGHT_CLASSES_WITH_METADATA->KAPT 2016-05-05 20:48:26 +03:00
Alexey Tsvetkov
1bdb55b3fc Fix collecting source retention annotations
#KT-12187 fixed
2016-05-05 20:48:26 +03:00
teamcity
8fcf67528b Auto-merge 1.0.2 with 1.0.2 2016-05-05 19:38:26 +03:00
Alexey Andreev
b39bd00309 JS/RTTI: minor refactoring of expandInCalls 2016-05-05 17:27:23 +03:00
Alexey Andreev
7625ea7ca1 JS/RTTI: if it's known that T <: X & Y, where T is non-reified type variable, for each a is T check that a is X && a is Y 2016-05-05 17:27:22 +03:00
Alexey Andreev
994cbe7468 JS/RTTI: in expressions like a as T when inferred type for a is S, where S <: T, don't generate type checking 2016-05-05 17:27:22 +03:00
Alexey Andreev
da8b5d1678 JS/RTTI. Fix runtime checking against kotlin.CharSequence 2016-05-05 17:27:21 +03:00
Alexey Andreev
df71ce42e5 JS/RTTI: fix withInlineTurnedOff test 2016-05-05 17:27:20 +03:00
Alexey Andreev
31f1027491 JS/RTTI: fix compiler crashing when translating expressions like (continue as T) 2016-05-05 17:27:19 +03:00
Zalim Bashorov
a43734b663 JS/RTTI. Fix build and tests 2016-05-05 17:27:18 +03:00
Alexey Tsvetkov
f65acea46a JS/RTTI. Fix run-time type checking against Comparable 2016-05-05 17:27:17 +03:00
Alexey Tsvetkov
78b89f67fb JS/RTTI. Fix RegExpMatch 2016-05-05 17:27:15 +03:00
Alexey Tsvetkov
e6de277729 JS/RTTI: removed Kotlin.orNull(Kotlin.isAny) optimization 2016-05-05 17:27:14 +03:00
Alexey Tsvetkov
9cb9397747 JS/RTTI: added another cast to reified test 2016-05-05 17:27:13 +03:00
Alexey Tsvetkov
d60566984f JS/RTTI: Added cast to Array test 2016-05-05 17:27:12 +03:00
Alexey Tsvetkov
cae827ace1 JS/RTTI: simplify cast to Any test 2016-05-05 17:27:11 +03:00
Alexey Tsvetkov
ece8d847a7 JS/RTTI: fixed cast to generic type parameter with upper bound different than Any 2016-05-05 17:27:10 +03:00
Alexey Tsvetkov
8bc8a1a1e9 JS/RTTI: (minor) fixed typo 2016-05-05 17:27:10 +03:00
Alexey Tsvetkov
c02d8ba872 JS/RTTI: (minor) escape code fragments in comments 2016-05-05 17:27:08 +03:00
Alexey Tsvetkov
944f812cdf JS/RTTI: fix nullability check 2016-05-05 17:27:08 +03:00
Alexey Tsvetkov
eb4bd5290b JS/RTTI: use Array.isArray to check array instance 2016-05-05 17:27:07 +03:00
Alexey Tsvetkov
19a2f6ad1d JS/RTTI: use typeof f === 'function' to check function instance 2016-05-05 17:27:06 +03:00
Alexey Tsvetkov
c8f332fdcb JS/RTTI: cast to generic type parameter as to Any 2016-05-05 17:27:05 +03:00
Alexey Tsvetkov
d09c26ac44 JS/RTTI: fix cast to Any 2016-05-05 17:27:04 +03:00
Alexey Tsvetkov
d0f0d3c9dc JS/RTTI: support safe casts 2016-05-05 17:27:04 +03:00
Alexey Tsvetkov
8c4a24f42e JS/RTTI: support unsafe casts
#KT-2670 fixed
2016-05-05 17:27:03 +03:00
Alexey Tsvetkov
42a58ae6a8 JS/RTTI: made cast test generated 2016-05-05 17:27:02 +03:00
Alexey Tsvetkov
f2a3ed4ac6 JS/RTTI: test that reified is-check works when inline turned off 2016-05-05 17:27:01 +03:00
Alexey Tsvetkov
fa78bbfded JS/RTTI: fixed double testing for null for reified 2016-05-05 17:27:00 +03:00
Alexey Tsvetkov
41096ea6b8 JS/RTTI: avoid possible side-effect for is-check on nullable type
#KT-7038 fixed
2016-05-05 17:27:00 +03:00
Alexey Tsvetkov
f355d4b4e0 JS/RTTI: use generation for rtti test 2016-05-05 17:26:59 +03:00
Alexey Tsvetkov
c577450a87 JS/RTTI: fixed is-check on nullable reified parameters
#KT-7016 fixed
    #KT-8012 fixed
2016-05-05 17:26:58 +03:00
teamcity
f18a93e443 Auto-merge 1.0.2 with 1.0.2 2016-05-04 20:02:06 +03:00
Mikhael Bogdanov
abfaf29fff 'bytecodeText' test for synthetic accessor generic signature converted to 'writeSignature' test
(cherry picked from commit cd6b709)
2016-05-04 17:20:01 +03:00
Mikhael Bogdanov
e4e975db7d Fix for KT-12127: Undeclared type variable on delegated property backing field
#KT-12127 Fixed
(cherry picked from commit ee7bbbf)
2016-05-04 17:19:58 +03:00
teamcity
87fbab3674 Auto-merge 1.0.2 with 1.0.2 2016-05-04 16:48:11 +03:00
Nikolay Krasko
1adefff577 Do not request write action for MoveDeclarationToSeparateFileIntention (EA-81511)
There's nothing but delegation to move refactoring. This started to fail in br146 because of this commit:
334772b7a8
2016-05-04 14:56:47 +03:00
teamcity
eae00a6274 Auto-merge 1.0.2 with 1.0.2 2016-04-29 20:35:51 +03:00
Alexey Tsvetkov
d262b0e602 Add class stubs dir to stub generation task classpath 2016-04-29 19:25:09 +03:00
Alexey Tsvetkov
32fff210fb Serialize error type to proto when generating stubs 2016-04-29 19:25:09 +03:00
Alexey Tsvetkov
3033341fa4 Refactoring: rename javaAptSourceDir->hackAnnotationDir 2016-04-29 19:25:09 +03:00
Alexey Tsvetkov
4e68be6132 Refactoring: rename AnnotatedElementDescriptor->AnnotatedElement 2016-04-29 19:25:09 +03:00
Alexey Tsvetkov
7d1d8985b2 Exclude compiled files when compiling incrementally 2016-04-29 19:25:08 +03:00
Alexey Tsvetkov
719465d58c Report compiled classes when generating kapt stubs 2016-04-29 19:25:08 +03:00
Alexey Tsvetkov
965698eeb5 Include metadata in light classes for kapt 2016-04-29 19:25:08 +03:00
Alexey Tsvetkov
503a96c469 Fix incremental compilation with kapt generating stubs
Changes:
* map incremental property to compile kotlin after java task
* when generating stubs compile kotlin task should not remove or copy classfiles
2016-04-29 19:25:08 +03:00
Alexey Tsvetkov
7e88a2eb13 Add kapt incremental tests 2016-04-29 19:25:08 +03:00
Alexey Tsvetkov
0e8710c6c2 Update kapt annotations file incrementally 2016-04-29 19:25:08 +03:00
Alexey Tsvetkov
cc4ed6603f Serialize KotlinAnnotationProvider 2016-04-29 19:25:08 +03:00
Alexey Tsvetkov
7a96ab04bd Minor: extract constant 2016-04-29 19:25:07 +03:00
Alexey Tsvetkov
2059cebc01 Refactoring: make AnnotatedElementDescriptor hierarchy sealed 2016-04-29 19:25:07 +03:00
Alexey Tsvetkov
8dae11b358 Pass reader as param 2016-04-29 19:25:07 +03:00
Alexey Tsvetkov
8d8b92af59 Make fun local since it's bound to outer function semantics 2016-04-29 19:25:07 +03:00
Alexey Tsvetkov
ba1e5c39ba Read annotations during construction of KotlinAnnotationsProvider
The rationale is to access kotlinClassesInternal and annotatedKotlinElementsInternal
in any order
2016-04-29 19:25:07 +03:00
Alexey Tsvetkov
66a2d20dc1 Minor: add const 2016-04-29 19:25:07 +03:00
Alexey Tsvetkov
e14c092140 Pass reader in constructor to KotlinAnnotationProvider 2016-04-29 19:25:07 +03:00
Alexey Tsvetkov
a622dcaedd Make annotation collector tests more thorough 2016-04-29 19:25:06 +03:00
Alexey Tsvetkov
b504057ffe Refactoring: move kapt tests to separate class 2016-04-29 19:25:06 +03:00
Alexey Tsvetkov
01b77f357f Prevent compile tasks from running when nothing changes
#KT-10932 fixed
2016-04-29 19:25:06 +03:00
Alexey Tsvetkov
58e3e01013 Minor: use more recent version of gradle in test 2016-04-29 19:25:06 +03:00
Alexey Tsvetkov
a0eeb63196 Minor: do not print output in assertion message 2016-04-29 19:25:06 +03:00
Alexey Tsvetkov
16f8d9805b Refactoring: extract properties for gradle task's properties access in plugin 2016-04-29 19:25:06 +03:00
Zalim Bashorov
89eda710ab Fix NoSuchMethodError when try to access in test to internal member from production for gradle projects imported into IDEA 16 or higher
#KT-11993 Fixed
(cherry picked from commit ed0fa2c)
2016-04-29 18:26:32 +03:00
Alexander Udalov
ffaebc3415 Update ChangeLog for 1.0.2 2016-04-29 15:44:06 +03:00
teamcity
64998a1fb2 Auto-merge 1.0.2 with 1.0.2 2016-04-29 11:16:45 +03:00
Mikhail Glukhikh
6d3389df38 Correct handling of empty super type list while adding an entry #KT-12011 Fixed
(cherry picked from commit 918f843)
2016-04-29 09:23:54 +03:00
teamcity
480e7fd70b Auto-merge 1.0.2 with 1.0.2 2016-04-27 20:38:08 +03:00
Alexey Sedunov
92fd99622b Change Signature: Do not use local declaration as a context for a type code fragment
(cherry picked from commit e6ab2f1)
2016-04-27 18:25:44 +03:00
teamcity
888b5b10e9 Auto-merge 1.0.2 with 1.0.2 2016-04-26 23:28:10 +03:00
Alexander Udalov
c40c04bdce Perform version override earlier and only on teamcity 2016-04-26 22:06:06 +03:00
Mikhail Zarechenskiy
862d5a13d0 Move part of code that related to 'Optimize imports' action to ide-common module 2016-04-26 20:50:37 +03:00
Mikhail Zarechenskiy
96626e693d Get rid of guava's collections and dependency on Idea's settings from util function
This commit prepares 'prepareOptimizedImports' function to
move to the ide-common module to reuse it in the Eclipse plugin
2016-04-26 20:50:30 +03:00
Nikolay Krasko
a72dc1887a Add write action for shorten references in finish template after building call (KT-12056)
Write action was removed in idea 146

 #KT-12056 Fixed
2016-04-26 20:14:33 +03:00
Nikolay Krasko
40f9d7680c Add write action for shortening references in templates (KT-11418)
Write action was removed in idea 146.

#KT-11418 Fixed
2016-04-26 20:05:27 +03:00
Nikolay Krasko
2c0bf5a12d Revert write actions in utility code (EA-81892)
Revert commits:
ab0fe0a900
97a97614b5
2016-04-26 20:04:57 +03:00
Zalim Bashorov
61295a6003 Minor: fix tests
(cherry picked from commit 3048c29)
2016-04-26 19:12:17 +03:00
teamcity
8289f099d3 Auto-merge 1.0.2 with 1.0.2 2016-04-26 19:00:01 +03:00
Alexey Sedunov
316e8ae504 Change Signature: Fix context element for type code fragments to avoid bogus "Type can not be resolved" warnings
#KT-11862 Fixed
(cherry picked from commit dc9ab21)
2016-04-26 18:08:09 +03:00
Alexey Andreev
b6d132751b KT-11100 Fix generation of name of FakeCallableDescriptorForObject that is presumably used to express invoke operator on (companion) objects 2016-04-26 17:07:32 +03:00
Alexey Sedunov
0c05245f2f Spring Support: Replace accessor name with property name when processing usages in Kotlin files
#KT-11880 Fixed
(cherry picked from commit 12987de)
2016-04-26 16:24:44 +03:00
teamcity
f1d1d8ba78 Auto-merge 1.0.2 with 1.0.2 2016-04-25 20:33:26 +03:00
Zalim Bashorov
37ecd149b2 Add Unit to compiled part of Kotlin JS stdlib and don't show "Kotlin not configured" for Kotlin JS projects
#KT-11556 Fixed

(cherry picked from commit 658eac2)
2016-04-25 18:04:01 +03:00
Alexander Udalov
46b7dff9b7 Merge remote-tracking branch 'origin/1.0.2' into HEAD
Conflicts:
	idea/src/META-INF/android-lint.xml
2016-04-25 15:12:43 +03:00
Alexander Udalov
ea915cd538 Update ChangeLog for 1.0.2 2016-04-22 21:23:31 +03:00
Yan Zhulanow
54b7c4a09e Lint: Fix KT-12009: IAE at JavaContext.getLocation()
(cherry picked from commit d478b90)
2016-04-22 19:50:50 +03:00
Yan Zhulanow
75e8aa23eb Lint: run inspections only for Kotlin
(cherry picked from commit 9ea7a4f)
2016-04-22 19:50:47 +03:00
Yan Zhulanow
91c7fe40ce Lint: Remove AssertDetector (unrelated to Kotlin)
(cherry picked from commit 04ed20c)
2016-04-22 19:50:45 +03:00
Yan Zhulanow
8223ed5b6e Minor: Fix Uast blinking tests
(cherry picked from commit cbe21ab)
2016-04-22 19:50:43 +03:00
Yan Zhulanow
36ccbf6b83 Fix EA-81689
(cherry picked from commit 16b8311)
2016-04-22 19:50:41 +03:00
Yan Zhulanow
7eeaecc4a7 Minor: fix sparam -> setparam
(cherry picked from commit 4298559)
2016-04-22 19:50:38 +03:00
Alexander Udalov
bba51c4ff9 Merge remote-tracking branch 'origin/1.0.2' into HEAD
Conflicts:
	idea/src/META-INF/plugin.xml
	plugins/lint/lint-checks/src/com/android/tools/klint/checks/PrivateResourceDetector.java
2016-04-22 11:51:28 +03:00
Alexey Andreev
0d4e3ed0f6 KT-6201 KT-6203 KT-6326 KT-6777 Add test cases to prove that issues are no longer reproducible
(cherry picked from commit 0869eb7)
2016-04-22 10:18:10 +03:00
Yan Zhulanow
096c77ee9e Minor: Fix compilation problem 2016-04-22 04:16:53 +03:00
Yan Zhulanow
5a6ab876be Lint: Review changes
(cherry picked from commit 33f9a0c)
2016-04-21 20:12:11 +03:00
Yan Zhulanow
5110ac2666 Lint: Fix KT-11922: ClassCastException: org.jetbrains.kotlin.descriptors.impl.SimpleFunctionDescriptorImpl cannot be cast to org.jetbrains.kotlin.descriptors.ClassDescriptor
(cherry picked from commit d7faef6)
2016-04-21 20:11:16 +03:00
Yan Zhulanow
1ffd998207 Lint: Fix KT-11919 ("Missing Parcelable CREATOR field" rule is not accurate)
(cherry picked from commit a2b1eb7)
2016-04-21 20:11:12 +03:00
Yan Zhulanow
5be10b34c2 Lint: Fix KT-11939 (@SuppressLint("PrivateResource") doesn't work)
(cherry picked from commit 33434a3)
2016-04-21 20:11:09 +03:00
Yan Zhulanow
c17fd0b0d0 Lint: Fix KT-11924 (False positive on beginTransaction() should be completed with a commit() call)
(cherry picked from commit 574aa5d)
2016-04-21 20:11:05 +03:00
Yan Zhulanow
0eadae9535 Lint, Uast: Fix Java function descriptor calculation KT-11923
(cherry picked from commit 5008c6d)
2016-04-21 20:10:35 +03:00
Yan Zhulanow
f7ee7eabdc Lint: Fix EA-81466
(cherry picked from commit aa06cd8)
2016-04-21 20:10:32 +03:00
Yan Zhulanow
cd8e30f1f5 Lint: Fix EA-81613, EA-81468
(cherry picked from commit 64dbba8)
2016-04-21 20:10:29 +03:00
Alexey Sedunov
1dd1f15b95 Minor: Fix test data 2016-04-21 18:24:54 +03:00
Alexey Sedunov
ac0a9c476c Find Usages: Start read action for derived class search
#KT-11845 Fixed
(cherry picked from commit df07554)
2016-04-21 17:01:50 +03:00
Alexey Sedunov
7f412a47a0 Find Usages: Fixed searching of Java usages for @JvmStatic properties and @JvmStatic @JvmOverloads functions
#KT-11736 Fixed
(cherry picked from commit 021c88e)
2016-04-21 17:00:59 +03:00
Nikolay Krasko
65f9aef779 Write Action: Add write action for template finish processor (KT-11418) 2016-04-21 15:03:33 +03:00
Nikolay Krasko
32a037df22 Write Action: Wrap import insertion with write action 2016-04-21 15:03:32 +03:00
Nikolay Krasko
bda218c50b Write Action: Add write action for deleting qualifier in shortenReferences
Problem revealed after template listners are executed without write action
5c2c946265
2016-04-21 15:03:29 +03:00
Nikolay Krasko
e0eece53c4 Update until version for new idea build numbering 2016-04-21 15:01:53 +03:00
teamcity
dca95ddb83 Auto-merge 1.0.2 with 1.0.2 2016-04-21 12:49:12 +03:00
Alexey Andreev
6b2435e0b7 KT-11030 Remove tests for diagnostics for local classes in JS backend 2016-04-21 10:46:09 +03:00
Alexey Andreev
8407757a7c KT-11030 Initialization order of enum entries in JS now conforms to JVM backend 2016-04-21 10:46:09 +03:00
Alexey Andreev
53e6fde7f1 KT-11030 Minor code improvements 2016-04-21 10:46:08 +03:00
Alexey Andreev
1b29496b9d KT-11028 Add test for the issue 2016-04-21 10:46:08 +03:00
Alexey Andreev
c3941599e9 KT-11030 Fix referencing wrong field generated for captured variable when this captured variable referenced both from constructor and non-constructor method. Avoid duplicate generation of call to delegated constructor. 2016-04-21 10:46:07 +03:00
Alexey Andreev
58f5628165 KT-11611 Prevent duplicate generation of default values of secondary constructor parameters 2016-04-21 10:46:07 +03:00
Alexey Andreev
1c1001cd82 KT-11030 When constructor of object expression calls super constructor, place this call at object creation instead of object's constructor. This allows to capture outer this reference properly in certain cases. JVM backend uses the same approach 2016-04-21 10:46:07 +03:00
Alexey Andreev
7338cb0d0b KT-11030 Refactor translation of class to support secondary constructors of local classes 2016-04-21 10:46:06 +03:00
Alexey Andreev
ded40b5529 KT-11030 Simplify code and refactor generation of object expressions 2016-04-21 10:46:06 +03:00
Alexey Andreev
2771a91dfb KT-11030 Refactoring code to properly implement secondary constructors in local classes 2016-04-21 10:46:05 +03:00
Alexey Andreev
277965f940 KT-11030 Fix translation of secondary constructors of inner classes 2016-04-21 10:46:05 +03:00
Alexey Andreev
d80c049c13 KT-11030 Fix subclassing of local class by local class 2016-04-21 10:46:04 +03:00
Alexey Andreev
15e70e3c21 KT-11030 When local function is declared inside constructor, capture this into this function 2016-04-21 10:46:04 +03:00
Alexey Andreev
c4ba543578 KT-11030 Make copy method of local data classes to copy captured variables 2016-04-21 10:46:03 +03:00
Alexey Andreev
57978ad42a KT-11030 Fix capturing of local variables via by expression, i.e. object : ClassName by v where v is local variable 2016-04-21 10:46:03 +03:00
Alexey Andreev
6bdbf23bdb KT-11030 Repair support of enums. Minor refactoring of ClassTranslator 2016-04-21 10:46:03 +03:00
Alexey Andreev
534817b7a6 KT-11030 Don't capture companion objects into closure 2016-04-21 10:46:02 +03:00
Alexey Andreev
6360c51ac2 KT-11030 Fix translation of FQN of native companion objects 2016-04-21 10:46:02 +03:00
Alexey Andreev
61ca6bfb8f KT-11030 Copy static properties of object's class to instance of object (think about moving local functions to member methods in objects) 2016-04-21 10:46:01 +03:00
Alexey Andreev
a3f25fc823 KT-11030 Avoid name clash between member fields and fields that store closure of local classes 2016-04-21 10:46:01 +03:00
Alexey Andreev
d6ae45ff67 KT-11030 Unify concept of objects and companion objects. Fix order of initialization of nested objects. 2016-04-21 10:46:01 +03:00
Alexey Andreev
3c919b17b3 KT-11030 Implements closures in classes. Represent local object literals as classes 2016-04-21 10:46:00 +03:00
Alexey Andreev
b244590c52 KT-11030 Implements local classes that don't have closure 2016-04-21 10:46:00 +03:00
Alexey Andreev
a5be0ceaec KT-11030 Disable error reporting of local classes in JS backend 2016-04-21 10:45:59 +03:00
Alexey Andreev
3cb37a7257 KT-11030 Borrow test for local classes from JVM backend 2016-04-21 10:45:59 +03:00
Alexander Udalov
f84ccc23ee Merge remote-tracking branch 'origin/1.0.2' into HEAD
Conflicts:
	compiler/testData/lineNumber/custom/tryCatchExpression.kt
	compiler/testData/lineNumber/custom/tryCatchFinally.kt
	idea/src/org/jetbrains/kotlin/idea/debugger/KotlinPositionManager.kt
	idea/testData/debugger/tinyApp/outs/breakpointInInlineFun.out
	idea/testData/debugger/tinyApp/outs/stepOverWhileWithInline.out
	idea/testData/debugger/tinyApp/src/stepping/stepOver/stepOverTryCatchWithInline.kt
	idea/testData/debugger/tinyApp/src/stepping/stepOver/stepOverWhileWithInline.kt
	idea/tests/org/jetbrains/kotlin/idea/debugger/KotlinSteppingTestGenerated.java
2016-04-20 19:44:39 +03:00
Alexey Tsvetkov
3786c23249 Minor: slightly increase memory limit for gradle daemon test 2016-04-20 13:45:27 +03:00
Ilya Chernikov
bf0cd8919a Fix mistakenly removed import 2016-04-20 10:03:47 +02:00
Alexander Udalov
acf51ab6e8 Do not consider error results successful in '::' LHS resolution
Fixes EA-81649
2016-04-19 19:43:24 +03:00
Alexander Udalov
78dd3488f8 Extract '::' type-checking code to DoubleColonExpressionResolver 2016-04-19 19:43:17 +03:00
Yan Zhulanow
ce747884c1 Fix "No error on increment or augmented assignment when 'get' is an operator but 'set' is not" #KT-11300
(cherry picked from commit 9b1402d)
2016-04-19 19:25:44 +03:00
Yan Zhulanow
f53529fad2 Android Extensions: Do not upcast ViewStub to View (KT-10321)
(cherry picked from commit 371e80b)
2016-04-19 18:49:43 +03:00
Yan Zhulanow
c4ea34a084 Android Extensions: handle layout file rename
(cherry picked from commit 6e14c11)
2016-04-19 18:49:35 +03:00
Yan Zhulanow
86fc06d24f Android Extensions: regenerate properties when layout is renamed/deleted/added (KT-11944)
(cherry picked from commit 47b3394)
2016-04-19 18:48:52 +03:00
Yan Zhulanow
8d3d54af1e Android Extensions: support identifiers with packages (KT-10841)
(cherry picked from commit 9e33b7d)
2016-04-19 18:48:45 +03:00
Alexey Tsvetkov
133bf20698 Make Kotlin2JsGradlePluginIT test compatible with gradle 2.x 2016-04-18 22:14:06 +03:00
Alexey Tsvetkov
8fa610a463 Make gradle daemon thread leak test more thorough
Former test made the following assertion:
for any of 3 sequent builds on the same gradle daemon
the difference in used memory between build start and finish
should not exceed 2500 kb.

Current test makes the following assertion:
the difference of used memory after first and last
of 10 sequent builds on the same daemon should not exceed 200 kb.
2016-04-18 22:14:03 +03:00
Alexey Tsvetkov
64c1a16b36 Remove ThreadTracker from gradle plugin
ThreadTracker was introduced to detect memory leaks
when using gradle daemon. However, it makes
quite strong assumption about build lifecycle:
there should not be any builds started after
kotlin plugin is configured that are alive when
buildFinished callback is called.

This assumption can be broken by some gradle configurations
namely our android tests and gradle 2.13-rc.

Since we already have daemon memory leak test (KotlinGradlePluginIT#testKotlinOnlyDaemonMemory),
after some discussion it was decided to remove ThreadTracker
2016-04-18 22:13:59 +03:00
Mikhail Zarechenskiy
e0aee0acc2 Create artifact with 'formatter' module output to share it with Eclipse plugin 2016-04-18 21:43:40 +03:00
Mikhail Zarechenskiy
6649588dff Split KotlinBlock on two clases to share independent logic about
formatting  between Idea and Eclipse

 Also make 'formatter' module depend on fewer dependencies
2016-04-18 21:43:40 +03:00
Mikhail Zarechenskiy
e1fca178e9 Move files related to formatting to module 'formatter' as is 2016-04-18 21:43:40 +03:00
Mikhail Zarechenskiy
7ba8f1f74d Create 'formatter' module
Purpose of this module is to extract common code  about formatting and reuse it in Eclipse
2016-04-18 21:43:40 +03:00
Mikhail Zarechenskiy
21cfff6ab3 J2K KotlinBlock: convert and prettify
Also get rid of ContainerUtil
2016-04-18 21:43:40 +03:00
Mikhail Zarechenskiy
4fa49ed28e J2K KotlinBlock: rename 2016-04-18 21:43:40 +03:00
Alexey Sedunov
8ef8af8675 Light Classes: Replace accessor with property name when renaming KtProperty/KtParameter through its light methods
#KT-11880 Fixed
(cherry picked from commit 8bab59f)
2016-04-18 18:00:19 +03:00
Alexey Sedunov
700c6cd2d7 Spring Support: Allow injection of SpEL into string literals with escape sequences
#KT-11904 Fixed
(cherry picked from commit 20c6fce)
2016-04-18 18:00:18 +03:00
Ilya Chernikov
41102693a5 Fix KT-10507 - "missing extension point" with parallel compilation 2016-04-18 15:11:49 +02:00
Natalia Ukhorskaya
97e2c67a18 Debugger: 'Step Over' unexpectedly resume if condition of 'while' loop contains inline function call
#KT-11932 Fixed
2016-04-15 18:13:48 +03:00
Alexey Andreev
4a20e1db83 KT-11875 Moves code that uncovers the following JS function:
```
function foo (closureParam, closureParam2, ...) {
    return function() {
        // function body
    }
}
```

from FunctionContext to FunctionInlineMutator. The old code causes bug when calling this function like this: `foo(this, ...)`, since first `closureParam` is replaced with `this`. Later, FunctionInlineMutator can't make difference between original `this` inside *function body* and former `closureParam` reference that became `this` after replacement. So, let FunctionInlineMutator replace `this` in *function body* and then substitute closure parameters.

KT-11875 Fixed
(cherry picked from commit 8ad3398)
2016-04-15 17:37:39 +03:00
Natalia Ukhorskaya
c30e7f4307 Minor: clarify exception messages during Evaluate Expression 2016-04-15 16:00:52 +03:00
Natalia Ukhorskaya
8fb1e2e08f Fix EA-72969 - assert: ExtractFunctionForDebuggerUtilKt$getFunctionForExtractedFragment$.invoke : ERROR_TYPES
Context element for codeFragment can be a KtFile (not  only KtExpression) ex. in case when file was changed after debugger starts and there is no expression at line with breakpoint
2016-04-15 16:00:46 +03:00
Natalia Ukhorskaya
0618e8e223 Fix EA-80854 - IOOBE: KotlinLineBreakpointType.getLambdaByOrdinal.
This could happen when breakpoint in lambda was set but than the code changed and there is no lambdas at this line anymore
2016-04-15 16:00:39 +03:00
Natalia Ukhorskaya
a4f2da6606 Debugger, minor: do not throw NPE when receiverTypes are null in completion 2016-04-15 16:00:32 +03:00
Natalia Ukhorskaya
198536dc0a Debugger: cannot evaluate expression with raw types
#KT-11831 Fixed
2016-04-15 16:00:22 +03:00
Natalia Ukhorskaya
80c8e3b731 Debugger: do not insert ambiguous imports inside codeFragments
#KT-11927 Fixed
2016-04-15 16:00:15 +03:00
Natalia Ukhorskaya
3d3f3ef859 Debugger: fix breakpoints inside generic crossinline argument body
#KT-11848 Fixed
2016-04-15 16:00:08 +03:00
Natalia Ukhorskaya
fadde6f8d5 Debugger: write line number for catch clause declaration 2016-04-15 16:00:01 +03:00
Natalia Ukhorskaya
2d6ed6b001 Debugger: fix breakpoints inside inline functions in libraries sources 2016-04-15 15:59:52 +03:00
Natalia Ukhorskaya
6d09caeb8f Debugger: remove unnecessary whitespaces in presentation of line breakpoint variants 2016-04-15 15:59:43 +03:00
Natalia Ukhorskaya
6e0ea9ae9f Get correct target platform for codeFragments 2016-04-15 15:59:34 +03:00
Natalia Ukhorskaya
653ba5bceb Debugger: correct scope for runtime type calculation 2016-04-15 15:59:23 +03:00
Natalia Ukhorskaya
302c16e836 Fix API for Scratch files in 141 branch (++J2K: convert scratch files correctly #KT-10604 Fixed) 2016-04-15 14:43:19 +03:00
Ilya Gorbunov
d24c96fc6f Performance: move the state out of multifile class parts to avoid synchronization.
(cherry picked from commit a2db8f9)
2016-04-15 14:08:52 +03:00
Dmitry Petrov
3f3d6b3320 KT-11645 properly handle private property getter name mangling in reflection
(cherry picked from commit 583733b)
2016-04-15 14:08:52 +03:00
Dmitry Petrov
c37c5d2087 KT-11645 generate backing field for 'private const val' in part implementation class
(cherry picked from commit 511a7e0)
2016-04-15 14:08:52 +03:00
teamcity
4750021196 Auto-merge 1.0.2 with 1.0.2 2016-04-15 13:37:08 +03:00
Alexander Udalov
7b398e9e78 Update ChangeLog for 1.0.2 2016-04-15 11:55:34 +03:00
Alexander Udalov
5101c98d18 Exclude InlineOnly from kotlin-test
It's already present in kotlin-stdlib and that causes
com.android.dex.DexException

 #KT-11505 Fixed
2016-04-15 11:55:14 +03:00
teamcity
10645ee3e9 Auto-merge 1.0.2 with 1.0.2 2016-04-14 21:01:28 +03:00
Alexey Sedunov
d2f765370f Find Usages: Drop obsolete assertion
#KT-11895 Fixed
(cherry picked from commit 3bd172a)
2016-04-14 20:45:07 +03:00
teamcity
1032f311df Auto-merge 1.0.2 with 1.0.2 2016-04-14 19:21:04 +03:00
Natalia Ukhorskaya
76e72380a7 J2K: do not invoke visitChildrenRecursively in Action.update
#KT-11160 Fixed
2016-04-14 18:51:31 +03:00
Natalia Ukhorskaya
30bfdeccbf J2K: do not generate super call to abstract property 2016-04-14 18:51:25 +03:00
Natalia Ukhorskaya
5731945e76 J2K: Insert !! for expression only if NotNull expected (not for Default nullability) 2016-04-14 18:51:19 +03:00
Natalia Ukhorskaya
2ce436bb36 J2K: Get nullability from variable initializer when converting call
#KT-11534 In Progress
2016-04-14 18:51:13 +03:00
Natalia Ukhorskaya
a26fbcd5d4 J2K: Remove unnecessary casts of non-nullable expression to nullable type after conversion
#KT-11543 Fixed
2016-04-14 18:51:06 +03:00
Natalia Ukhorskaya
157079fdc3 Add regression test: parameter from lambda is removed 2016-04-14 18:51:00 +03:00
Natalia Ukhorskaya
9e5ab273f8 J2K, minor: fix testData 2016-04-14 18:50:53 +03:00
Natalia Ukhorskaya
1fdf01b8a9 J2K: convert scratch files correctly
#KT-10604 Fixed
2016-04-14 18:50:43 +03:00
teamcity
6385f14c7d Auto-merge 1.0.2 with 1.0.2 2016-04-14 17:27:50 +03:00
Yan Zhulanow
84692927bc Lint: support both IJ 15 and Android Studio 2.0 (different Android plugins)
Dirty hack :(
(cherry picked from commit 8304c85)
2016-04-14 17:22:47 +03:00
teamcity
f28af74337 Auto-merge 1.0.2 with 1.0.2 2016-04-14 15:40:15 +03:00
Denis Zharkov
bff3fc7d24 Fix infinite loop in CanBeValInspection
Obviously there should be 'return' instead of 'continue'
Otherwise the loop will not end

 #KT-11891 Fixed
2016-04-14 14:03:17 +03:00
Zalim Bashorov
e8e6862154 Minor: fix testdata 2016-04-14 13:52:41 +03:00
teamcity
87e63ba67e Auto-merge 1.0.2 with 1.0.2 2016-04-13 22:12:42 +03:00
Yan Zhulanow
0fac17cb62 Fix Lint compilation with idea141 2016-04-13 20:40:27 +03:00
Zalim Bashorov
298ea58539 IC: take into account added and removed classes when calculate affected names
(cherry picked from commit 51c6abd)
2016-04-13 20:26:40 +03:00
teamcity
b7f11bb41a Auto-merge 1.0.2 with 1.0.2 2016-04-13 18:12:27 +03:00
Dmitry Petrov
11a382f5d5 EA-81358: use volatile store / volatile load to guarantee publication of deferred clinit results 2016-04-13 16:20:30 +03:00
teamcity
49a8562bac Auto-merge 1.0.2 with 1.0.2 2016-04-13 15:01:12 +03:00
Kirill Rakhman
5dd25e2896 Let Implement Quickfix: Launch "Implement Members" dialog after applying #KT-11836 Fixed
(cherry picked from commit 56fd2d2)
2016-04-13 12:53:39 +03:00
Alexey Sedunov
0427d20ebf Light Classes: Skip irrelevant overloads when looking for light parameter
#KT-11868 Fixed
(cherry picked from commit 9bf395a)
2016-04-13 12:34:35 +03:00
Alexander Udalov
76de32863a Merge remote-tracking branch 'origin/1.0.2' into 1.0.2_/br141
Conflicts:
	.idea/runConfigurations/IDEA__No_ProcessCanceledException_.xml
	idea/src/org/jetbrains/kotlin/idea/configuration/KotlinWithGradleConfigurator.java
	idea/tests/org/jetbrains/kotlin/findUsages/AbstractFindUsagesTest.java
	update_dependencies.xml
2016-04-13 12:30:15 +03:00
Nikolay Krasko
d160f63dad Note about EAP-repository configuration added to changelog 2016-04-13 12:37:25 +04:00
Alexander Udalov
9c06c9b6ad Increase PermGen space for 1.0.2 2016-04-13 09:52:45 +03:00
Nikolay Krasko
9b5787c829 Configuration for EAP versions 2016-04-13 08:44:13 +03:00
Nikolay Krasko
df65bb1476 Add eap version to maven versions combobox if working with eap plugin 2016-04-13 00:19:14 +03:00
Nikolay Krasko
e58a2d5a9e Use correct version detection for developer versions
#KT-11213 Fixed
2016-04-13 00:19:14 +03:00
Alexander Udalov
541d87c6c0 Update ChangeLog with issues fixed since 1.0.2-eap-15 2016-04-12 21:22:42 +03:00
Alexander Udalov
c805765b79 Fix memory leak in StdlibTest 2016-04-12 20:08:03 +03:00
Alexander Udalov
1360974e11 Fix deadlock in StaticScopeForKotlinEnum
Also fix possible deadlock in ReflectionTypes

 #KT-11869 Fixed
2016-04-12 20:07:59 +03:00
Alexander Udalov
cd52a5cb09 Do not fail on unknown -X flags
For better compatibility if we add experimental stuff in 1.0.X compilers
2016-04-12 20:07:57 +03:00
Alexander Udalov
039c2911ec Update cli-parser 1.1.1 -> 1.1.2 2016-04-12 20:07:55 +03:00
Alexander Udalov
f4f62f27c1 Cleanup CandidateResolver 2016-04-12 20:06:58 +03:00
Alexander Udalov
42ff05d2fd Fix type of member references without explicit class on LHS
Type of '::foo' for a function foo in a class A should be KFunction0<Unit>, not
KFunction1<A, Unit>. Continue to report an error in this case, to be maybe
supported in the future
2016-04-12 20:05:34 +03:00
Alexander Udalov
225fdbfac6 Assert that callable references cannot have expression on LHS 2016-04-12 20:04:45 +03:00
Michael Bogdanov
c640bc3f14 Write proper start label for parameters of inline function default implementation
(cherry picked from commit be999ca)
2016-04-12 16:44:55 +03:00
Michael Bogdanov
393b1c6b24 Write proper start label for inlined constructor parameters (start label was shifted by additional captured parameters injection)
(cherry picked from commit c52c0e2)
2016-04-12 16:44:48 +03:00
Mikhail Glukhikh
f1a7ccb3a9 Message corrected for warning "some modifier is redundant because another is present"
Cherry pick from commit 1b2deb8 (master) fixes KT-11819
Same case for  KT-11239
ChangeLog
2016-04-11 18:27:04 +03:00
Yan Zhulanow
52bc09ca7e Minor: Fix compilation on 1.0.2 2016-04-11 17:58:24 +03:00
Yan Zhulanow
61e1f68735 Uast, Lint: Update and fix tests
(cherry picked from commit 053418f)
2016-04-11 17:58:23 +03:00
Yan Zhulanow
6253676195 Uast: Add Uast visitor extensions instead of additional checkers
(cherry picked from commit 6cd5ae2)
2016-04-11 16:27:32 +03:00
Yan Zhulanow
f4e4893cb8 Other code review changes
(cherry picked from commit 1f5309a)
2016-04-11 16:27:31 +03:00
Yan Zhulanow
6dc94ef89f Lint: Make lint run normally on both older and newer versions of IDEA (IdeaAndroidProject was replaced by AndroidGradleModel)
(cherry picked from commit 5588e1a)
2016-04-11 16:27:30 +03:00
Yan Zhulanow
a1edf43b48 Change semantics of getObjectKeyword() function
(cherry picked from commit f493b14)
2016-04-11 16:27:29 +03:00
Yan Zhulanow
b64c8cb829 Uast: Rewrite visitor
(cherry picked from commit a369528)
2016-04-11 16:27:28 +03:00
Yan Zhulanow
8002f8e28d Code review changes
(cherry picked from commit e314b51)
2016-04-11 16:27:27 +03:00
Yan Zhulanow
1454e85cab Minor: rename NoTraverse to LeafUElement
(cherry picked from commit 5cd3feb)
2016-04-11 16:27:27 +03:00
Yan Zhulanow
5124f69b0d Code review changes
(cherry picked from commit d6b6739)
2016-04-11 16:27:26 +03:00
Yan Zhulanow
ca6a19b1ac Rename UastHandler to UastCallback
(cherry picked from commit ee47402)
2016-04-11 16:27:25 +03:00
Yan Zhulanow
95076bd68c Uast: Update tests, make the tests a bit more readable (provide toString() methods for Uast kinds)
(cherry picked from commit 5bb8322)
2016-04-11 16:27:24 +03:00
Yan Zhulanow
eafe7848d4 Minor: remove @author comments
(cherry picked from commit ed00ab1)
2016-04-11 16:27:24 +03:00
Yan Zhulanow
118014ddb9 Lint: Add Kotlin Lint tests
(cherry picked from commit f9f4fb2)
2016-04-11 16:27:23 +03:00
Yan Zhulanow
439866b5f7 Download full copy of the Android SDK (needed to run the all Android Lint tests)
(cherry picked from commit cf2ce0f)
2016-04-11 16:27:22 +03:00
Yan Zhulanow
79800e721c Lint: fix some more detectors
(cherry picked from commit 19392fb)
2016-04-11 16:27:21 +03:00
Yan Zhulanow
064b95da81 Lint: Remove lint suppress quickfix (does not work currently with Kotlin)
(cherry picked from commit 936fbb2)
2016-04-11 16:27:21 +03:00
Yan Zhulanow
b71d5c7d6c Uast, Minor: Group binary operators
(cherry picked from commit bc7f0bc)
2016-04-11 16:27:20 +03:00
Yan Zhulanow
e8f4d89351 Uast, Minor: UAnnotated is now always an UElement
(cherry picked from commit c05fa79)
2016-04-11 16:27:19 +03:00
Yan Zhulanow
2d2659dcfe Uast: support 'override' modifier in Java and Kotlin
(cherry picked from commit 7ff1899)
2016-04-11 16:27:18 +03:00
Yan Zhulanow
812deadcd3 Kotlin Uast, Minor: support PsiElementBacked in KotlinUType
(cherry picked from commit 33e13e3)
2016-04-11 16:27:16 +03:00
Yan Zhulanow
9b915d656a Kotlin Uast: support class literal expressions.
Ability to get type of class of class literal expressions.
(cherry picked from commit 4e3683c)
2016-04-11 16:27:15 +03:00
Yan Zhulanow
bab722cf68 Uast: support new elements in UastVisitor
(cherry picked from commit 525f8a2)
2016-04-11 16:27:14 +03:00
Yan Zhulanow
533794b440 Lint: fix Lint additional checkers with the custom handlers
(cherry picked from commit 7297671)
2016-04-11 16:27:14 +03:00
Yan Zhulanow
06cafe0d13 Lint: resolve via the accessor descriptor in PropertyAsCAllAndroidUastAdditionalChecker
(cherry picked from commit 178095d)
2016-04-11 16:27:13 +03:00
Yan Zhulanow
9bc815745a Uast: support internal class names in Java and method signatures in Java and Kotlin
(cherry picked from commit 516ddc2)
2016-04-11 16:27:12 +03:00
Yan Zhulanow
6b6fd50331 Lint: Remove IntellijApiDetector
(cherry picked from commit f4edc50)
2016-04-11 16:27:11 +03:00
Yan Zhulanow
ee53f34465 Java Uast: Support try-with-resources
(cherry picked from commit 3680cbe)
2016-04-11 16:27:11 +03:00
Yan Zhulanow
d16a7264f4 Java Uast: Support static imports
(cherry picked from commit c5653cf)
2016-04-11 16:27:10 +03:00
Yan Zhulanow
820d8cb9c2 Uast: support beforeVisit() and afterVisit() in visitor
(cherry picked from commit 6e10bf0)
2016-04-11 16:27:09 +03:00
Yan Zhulanow
8e10298618 Lint: Support visitResourceReference() in Uast
(cherry picked from commit 799c00e)
2016-04-11 16:27:08 +03:00
Yan Zhulanow
e65497b67c Uast: Rename JavaPsiElemenStub -> JavaDumbUElement, KotlinPsiElementStub -> KotlinDumbUElement.
Use it everywhere in `nameElement`
(cherry picked from commit 9ee221e)
2016-04-11 16:27:08 +03:00
Yan Zhulanow
088f9c2edf Support equals() on UElements (comparation by psi)
(cherry picked from commit 35434de)
2016-04-11 16:27:07 +03:00
Yan Zhulanow
6823c358bf Uast Java, Kotlin: Support all binary operators in Uast
(cherry picked from commit d68e35c)
2016-04-11 16:27:06 +03:00
Yan Zhulanow
edc0459af1 Uast: Support all basic Java types needed for Lint
(cherry picked from commit de8b967)
2016-04-11 16:27:05 +03:00
Yan Zhulanow
9c71780d36 Kotlin Uast: Support object literals
(cherry picked from commit 0525e41)
2016-04-11 16:27:05 +03:00
Yan Zhulanow
ee481be188 Uast: Ability to get the default class type from UClass
(cherry picked from commit 9557439)
2016-04-11 16:27:04 +03:00
Yan Zhulanow
fc8d972ac8 Kotlin Uast, Refactoring: Extract toSource() function
(cherry picked from commit 68bf8de)
2016-04-11 16:27:03 +03:00
Yan Zhulanow
2ec3d94dc0 Uast, Minor: make lateinit mutable propertiy setters internal
(cherry picked from commit 68b2204)
2016-04-11 16:27:02 +03:00
Yan Zhulanow
0490e3ba58 Lint: Remove diagnostics unrelated to uast.
All these diagnostics are already present in the Android plugin, so there's no need in them here.
(cherry picked from commit 76dcb22)
2016-04-11 16:27:02 +03:00
Yan Zhulanow
9d34f91e50 Uast: Allow to search for a static members (in Kotlin static members are located inside the companion objects).
Companion objects support.
(cherry picked from commit 8928281)
2016-04-11 16:27:01 +03:00
Yan Zhulanow
043db50c44 Uast: Support Kotlin anonymous initializers
(cherry picked from commit 4c4705c)
2016-04-11 16:27:00 +03:00
Yan Zhulanow
4f07a94fb7 Java Uast, Minor: Convert Java Uast properties with backing field to properties with getter (optimization)
(cherry picked from commit 06f8c4e)
2016-04-11 16:26:59 +03:00
Yan Zhulanow
e310a58251 Lint: Implement Kotlin Java synthetic property calls as Java method calls via the additional checker
(cherry picked from commit 610871f)
2016-04-11 16:26:58 +03:00
Yan Zhulanow
1ca9d358b1 Replace UastConverter with UastLanguagePlugin, allow additional checkers
(cherry picked from commit b0ef275)
2016-04-11 16:26:58 +03:00
Yan Zhulanow
2a1db9efb3 Lint: Rename all Lint inspections to KLint to provide unique short names
(cherry picked from commit bf10ba6)
2016-04-11 16:26:57 +03:00
Yan Zhulanow
ecbf20151b Kotlin Uast: Support type parameters on functions
(cherry picked from commit dbdbdbd)
2016-04-11 16:26:56 +03:00
Yan Zhulanow
5a14678a8f Lint, Minor: Group lint-related modules
(cherry picked from commit 5f73145)
2016-04-11 16:26:55 +03:00
Yan Zhulanow
ac6cab266f Lint: Rewrite Lint diagnostics using Uast.
(cherry picked from commit 995b4e8)
2016-04-11 16:26:54 +03:00
Yan Zhulanow
4d4012853c Lint: copy diagnostics from IDEA (br143)
(cherry picked from commit fd7161b)
2016-04-11 16:26:53 +03:00
Yan Zhulanow
33a83ebf4a Kotlin Uast: Initial implementation
(cherry picked from commit 0b310a4)
2016-04-11 16:26:52 +03:00
Yan Zhulanow
603fdff499 Java Uast: Initial implementation
(cherry picked from commit eb326e2)
2016-04-11 16:26:51 +03:00
Yan Zhulanow
4b4ed61783 Uast: Unified AST (Kotlin, Java) interfaces set.
Goal: support Android Lint diagnostics in Kotlin by switching Lint scanners from the Java Lombok AST to the abstract AST (uast) with Java and Kotlin PsiElement-backed implementations.
(cherry picked from commit 7f4c6c2)
2016-04-11 16:26:51 +03:00
Alexander Udalov
6527c25b3e Minor, remove paragraph symbols from comments
This character seems to cause problems on some build agents
2016-04-11 16:12:23 +03:00
Alexey Sedunov
c5e5a50908 Spring Support: Support @Transactional annotation in "Make annotated declaration open" inspection
(cherry picked from commit 905ca21)
2016-04-10 19:16:31 +03:00
Alexey Sedunov
4178a2f999 Spring Support: Support Find Usages/Rename (on both declarations and
references) of Kotlin declarations referenced in the XML config
 #KT-11719 Fixed
 #KT-11652 Fixed
(cherry picked from commit 119cf0f)
2016-04-10 19:16:26 +03:00
Alexey Sedunov
b8ab3bc503 Minor: Extract SpringTestFixtureExtension.loadConfigByMainFilePath() function
(cherry picked from commit a553f67)
2016-04-10 12:51:57 +03:00
Alexey Sedunov
eda798fa8a Spring Support: Fix renaming of Spring bean declarations via SpEL references
#KT-11720 Fixed
 #KT-11725 Fixed
(cherry picked from commit afecb09)
2016-04-10 12:51:53 +03:00
Alexey Sedunov
a815927234 Minor: Remove /*rename*/ marker in Rename tests
(cherry picked from commit 5203f62)
2016-04-10 12:51:48 +03:00
Alexey Sedunov
15dae23695 Light Classes: Navigate to KtFile from light class containing file
#KT-11689 Fixed
(cherry picked from commit b890564)
2016-04-10 12:51:43 +03:00
Alexey Sedunov
077acfe2b4 Spring Support: Fixed computation of values in Java annotations referred by Kotlin annotation entries
#KT-11702 Fixed
(cherry picked from commit eeac739)
2016-04-10 12:51:39 +03:00
Alexey Sedunov
9da010c163 Misc: Extract kotlin-ultimate project
(cherry picked from commit a818d47)
2016-04-10 12:51:34 +03:00
Alexey Sedunov
72bdbdb838 Misc: Extract properties "dependencies" and "generators" from update_dependencies.xml
(cherry picked from commit 1a4a740)
2016-04-10 12:51:27 +03:00
Alexey Sedunov
6fa75444fd Spring Support: "Generate @Autowired Dependency..." action
#KT-11408 Fixed
(cherry picked from commit 843e2bc)
2016-04-10 12:51:23 +03:00
Alexey Sedunov
934eaa61fa Spring Support: "Generate Dependency..." actions
#KT-11407 Fixed
(cherry picked from commit 233f2b4)
2016-04-10 12:51:18 +03:00
Alexey Sedunov
bbd15ac27c Minor: Generify KtClassOrObject.addDeclarationXXX()
(cherry picked from commit 4ed1c3d)
2016-04-10 12:51:13 +03:00
Alexey Sedunov
60e3f31c2b [RESTORED] Misc: Fetch Spring libraries to dependencies directory
(cherry picked from commit 81298e5)
2016-04-10 12:51:08 +03:00
Alexey Sedunov
90f5cd9057 [RESTORED] Spring Support: Inspection for Spring configuration
(cherry picked from commit 9aeca98)
2016-04-10 12:51:02 +03:00
Alexey Sedunov
f954fa26f5 [RESTORED] Spring Support: SpEL injections
#KT-11406 Fixed
(cherry picked from commit 236654a)
2016-04-10 12:50:57 +03:00
Alexey Sedunov
287ba05618 [RESTORED] Spring Support: Show Spring line markers for Kotlin classes
#KT-3741 Fixed
(cherry picked from commit a89dbfc)
2016-04-10 12:50:51 +03:00
Alexey Sedunov
a633a7b797 [RESTORED] Light Classes: Constant expression evaluator for light annotation arguments
(cherry picked from commit 962b312)
2016-04-10 12:50:46 +03:00
Alexey Sedunov
8c935188b3 [RESTORED] Spring Support: Implement Spring-specific references
(cherry picked from commit f2e2220)
2016-04-10 12:50:39 +03:00
Alexey Sedunov
4f0379728a [RESTORED] Spring Support: Inspection for final Spring-annotated classes/functions
#KT-11098 Fixed
(cherry picked from commit 196b484)
2016-04-10 01:42:29 +03:00
Alexey Sedunov
be000176aa [RESTORED] Spring Support: Test framework
(cherry picked from commit e4a64e7)
2016-04-10 01:42:13 +03:00
Alexey Sedunov
a79ca8620f [RESTORED] Misc: Configure dependency on Spring support and related plugins: J2EE, JSP, persistence, database tools, CSS
(cherry picked from commit b5ac464)
2016-04-10 01:40:14 +03:00
Alexey Sedunov
690d0cd5d9 [RESTORED] Misc: Configure IDEA Ultimate dependencies
(cherry picked from commit a30b414)
2016-04-10 01:39:28 +03:00
Kirill Rakhman
346b47e00a Fix let implement quickfix label for object expressions
Fixes #KT-11782
(cherry picked from commit da5c963)
2016-04-08 15:14:03 +03:00
Michael Bogdanov
63b33eebb0 Write proper start label for loop parameter
(cherry picked from commit a6044c8)
2016-04-08 14:36:26 +03:00
Valentin Kipyatkov
7dafdef7a1 Fixed StackOverflow in CanBeValInspection.kt
(cherry picked from commit a9fe999)
2016-04-07 20:21:54 +03:00
Alexander Udalov
bc6286bb9c Compute return type for property getters more safely
Do not call `isError()` on property's type right after creation of
PropertyGetterDescriptor because the property has no getter yet (it's created
but not yet stored to the property, that happens a bit later), and `isError()`
leads to computation of the delegate type, which for delegated properties
performs some complex resolution (see `VariableTypeResolver#process`) which
relies on the fact that the property already has a getter.

Since the purpose of the original change (883e2e4d) was to support a quick fix
which would add the type to a property in an expression like "val x get() =
...", check the type (or initializer) presence in the PSI instead, this is
safer and is still suitable for the quick fix.

Also fix arguments to "wrong getter type" diagnostic: previously something
useless like "expected Int, actual Int" was reported

 #KT-11809 Fixed
2016-04-07 15:42:29 +03:00
Alexey Andreev
f966647e14 KT-7819 Add test to ensure that lambda capturing this literal can be inlined 2016-04-06 16:18:53 +03:00
Alexey Andreev
3e8ccc567b KT-7819 Implement non-local returns 2016-04-06 16:18:52 +03:00
Alexey Andreev
b1023bfeb1 KT-7819 Borrow tests for non-local returns from JVM backend 2016-04-06 16:18:52 +03:00
Pavel V. Talanov
449f270aea IDELightClassGenerationSupport#getContextForClassOrObject: do not rely on resolution facade being unchanged
ResolutionFacade should only recompute its underlying structures in case of psi change (which is ok) or some exception, but relying on it being unchanged has led to numerous exceptions in backend when building light classes (EA-70985, EA-80756)
Changing this code may not be the solution but it can possibly move failures to other parts of the system, where they can be easier diagnosed
2016-04-06 16:09:56 +03:00
Dmitry Jemerov
00f63a0dab no KtUsefulTestCase in 1.0.2 branch 2016-04-05 21:00:44 +02:00
Dmitry Jemerov
8e8542e984 don't parse lines starting with @ as KDoc tags if they're inside a Markdown code fence
#KT-11789 Fixed
(cherry picked from commit 01b0cfb)
2016-04-05 19:50:26 +02:00
Dmitry Petrov
f94c470607 KT-11777: no parts for '<root>'
(cherry picked from commit 9f34d06)
2016-04-05 17:27:36 +03:00
Pavel V. Talanov
180d8dfb02 KT-11765 Analyze code in anonymous initializer of inteface
#KT-11765 Fixed
2016-04-05 15:06:59 +03:00
Natalia Ukhorskaya
9848f65d4c Configure Kotlin: do not show notification when apply directive contains double quotes 2016-04-05 14:59:44 +03:00
Natalia Ukhorskaya
cfb8e27a51 Configure kotlin: fix NPE for Idea 145 of higher
#KT-11772 Fixed
2016-04-05 14:59:32 +03:00
Alexey Andreev
a686816728 Generalize pattern that matches JS module declaration to accept unicode characters
(cherry picked from commit eb44819)
2016-04-05 14:49:21 +03:00
Alexey Andreev
305b93d79c Speed-up looking up modules in JS files. This reduces the time needed for JS backend tests to pass
(cherry picked from commit 951ec82)
2016-04-05 14:49:20 +03:00
Alexey Andreev
8c723b4251 Rename JsAstUtils.fqn to fqnWithoutSideEffects. Move PropertyTranslator to appropriate package 2016-04-05 14:49:20 +03:00
Alexey Andreev
82e3126f39 Refactor JS optimizer to use RecursiveJsVisitor where possible and introduce more self-descriptive names in TemporaryAssignmentElimination. Add TODOs and comments for code pieces with non-obvious meaning. 2016-04-05 14:49:20 +03:00
Alexey Andreev
8f2711147f Invert MetadataProperties.withoutSideEffects to sideEffects 2016-04-05 14:49:19 +03:00
Alexey Andreev
621687c75d Add more hints about property access that is provable has no side effect. Refactor namer 2016-04-05 14:49:19 +03:00
Alexey Andreev
9316cca89a Don't relocate temporary variable which receives property access, unless it's provable that this property don't have side effects 2016-04-05 14:49:19 +03:00
Alexey Andreev
2209b38307 Rewrite temporary variable elimination 2016-04-05 14:49:18 +03:00
Alexey Andreev
70aec3914d Prohibit from eliminating non-local temporary variables 2016-04-05 14:49:18 +03:00
Alexey Andreev
0f6f4496a3 Adds test infrastructure for JS optimizer. Adds simple tests 2016-04-05 14:49:17 +03:00
Alexey Andreev
7eccbb0f0d Some cleanup in JS optimizer 2016-04-05 14:49:17 +03:00
Alexey Andreev
735b50aa95 Prevent JS optimizer from inserting duplicate variable declarations 2016-04-05 14:49:17 +03:00
Alexey Andreev
b548e38773 Prevent temporary variable from substituting to branches of ternary conditional expression, since it can sometimes violate evaluation order 2016-04-05 14:49:16 +03:00
Alexey Andreev
e287af71d3 Implement reduction of if statement to ternary conditional expression 2016-04-05 14:49:16 +03:00
Alexey Andreev
3a1cde2fe7 Implement dead code elimination in JS AST. Repeat optimizations until it's not possible to optimize anything 2016-04-05 14:49:16 +03:00
Alexey Andreev
3dc09ad788 Make JS optimizations respect nested functions 2016-04-05 14:49:15 +03:00
Alexey Andreev
18bda4646f Remove optimizations performed during JS inlining. Implement several optimizations as a separate pass 2016-04-05 14:49:15 +03:00
Dmitry Petrov
53c97ecb22 Do not generate postponed initialization method for part class as synchronized.
(cherry picked from commit fe7f7ce)
2016-04-05 14:01:10 +03:00
Michael Bogdanov
ce43732715 Fix for KT-11762: "VerifyError: Bad local variable type" caused by explicit loop variable type
#KT-11762 Fixed
(cherry picked from commit dec53c8)
2016-04-05 13:37:55 +03:00
Zalim Bashorov
85c7882833 Don't use invalid entries (including disposed libraries) when crete module infos to avoid exceptions in the future (see #EA-81326)
(cherry picked from commit f2237f6)
2016-04-05 13:11:18 +03:00
Zalim Bashorov
420559a7d2 Check that library isn't already disposed before use to avoid exceptions like in #EA-79154
(cherry picked from commit 88da3fe)
2016-04-05 13:11:10 +03:00
Zalim Bashorov
057848d7a9 Generate stubs only for files from jar
#EA-78399 fixed
(cherry picked from commit 7dad183)
2016-04-05 13:11:02 +03:00
Kirill Rakhman
081a2cc7cd Fix handling of nullable types in LetImplementInterfaceFix #KT-11404
(cherry picked from commit f9bef68)
2016-04-05 12:40:44 +03:00
teamcity
6707af93fa Auto-merge 1.0.2 with 1.0.2 2016-04-05 00:44:52 +03:00
Stanislav Erokhin
30e447648c Minor. Remove failed tests for KT-8116. 2016-04-04 23:24:51 +03:00
Stanislav Erokhin
aa8c12e814 Minor. Mute testdata. 2016-04-04 23:24:51 +03:00
Stanislav Erokhin
2ac27c8bdf Minor. Fix testdata. 2016-04-04 23:24:50 +03:00
Alexander Udalov
8418313b39 ChangeLog: add some missing issues fixed in 1.0.1 2016-04-04 21:44:45 +03:00
Alexander Udalov
ec03bfc64a ChangeLog for 1.0.2 2016-04-04 21:44:43 +03:00
Pavel V. Talanov
6ff8c4a051 Typecheck call arguments if callee is resolved to variable
#KT-11579 Fixed
2016-04-04 21:12:40 +03:00
Pavel V. Talanov
8649762b2a KtLightClassForFacade is no longer valid if some of the files have changed their name
#KT-11580 Fixed
2016-04-04 21:11:12 +03:00
Alexander Udalov
41e9a4c86a Merge remote-tracking branch 'origin/1.0.2' into HEAD 2016-04-04 16:44:44 +03:00
Stanislav Erokhin
5a70f32250 KT-11733 Cannot infer type parameter in SAM with nullability annotations
#KT-11733 Fixed
2016-04-04 15:30:46 +03:00
Nikolay Krasko
8608127c23 Fix too frequent check for compiler modification 2016-04-04 15:29:58 +03:00
Natalia Ukhorskaya
8600540b9d Minor: fix test on java 6 2016-04-04 15:28:16 +03:00
Natalia Ukhorskaya
79de5b962f Avoid 1s delay in completion in debugger fields if session is not stopped on a breakpoint 2016-04-04 15:28:05 +03:00
Mikhail Glukhikh
fc602179db KT-11404 (let type implement interface): indirect inheritance with generics fixed
(cherry picked from commit b55610b)
2016-04-04 15:15:22 +03:00
Mikhail Glukhikh
97e753bb30 KT-11404: additional test to cover indirect inheritance
(cherry picked from commit 640ae60)
2016-04-04 14:04:17 +03:00
Kirill Rakhman
70349e4f78 Implement quick-fix "let type implement interface" #KT-11404 Fixed
(cherry picked from commit 1e6f507)
2016-04-04 14:04:06 +03:00
Kirill Rakhman
3c9fdda679 cleanup KtClassOrObject and KtClass
(cherry picked from commit 2198a8c)
2016-04-04 14:03:55 +03:00
Mikhail Glukhikh
f7dc3d4ce8 Simplify comparison fix introduced #KT-10509 Fixed
(cherry picked from commit 214e1d3)
2016-04-04 14:03:42 +03:00
hedgehog
de54a61594 #KT-10797 Fixed
(cherry picked from commit 02d4376)
2016-04-04 12:30:11 +02:00
Yaroslav Ulanovych
8b764ad8c9 Fix #KT-11675 Fixed - Add Smart Enter processor for 'init'
(cherry picked from commit 242a44e)
2016-04-04 12:13:14 +02:00
Natalia Ukhorskaya
6354600db1 Minor: count lambdaOrdinal in tests from 1 instead of 0 2016-04-04 12:36:04 +03:00
Natalia Ukhorskaya
812e9716be Debugger: Smart Step Into inside lambda suggests methods from outer context
#KT-10148 Fixed
2016-04-04 12:35:53 +03:00
Natalia Ukhorskaya
c5c2eedddb Do not highlight completion variants from nullable receiver with grey in Evaluate Expression Dialog
#KT-11578 Fixed
2016-04-04 12:35:42 +03:00
Natalia Ukhorskaya
aed6c9367d Smart step into skips methods from subclasses
#KT-11705 Fixed
2016-04-04 12:35:30 +03:00
Natalia Ukhorskaya
52123a976d Configure Kotlin action fails for Idea 145 or higher
#KT-11593 Fixed
2016-04-04 12:35:20 +03:00
Natalia Ukhorskaya
9bf6b40eb9 Minor: rearrange test data 2016-04-04 12:35:07 +03:00
Natalia Ukhorskaya
c8dffd6fcb Debugger: do not insert array in imports 2016-04-04 12:34:47 +03:00
Natalia Ukhorskaya
158ddb010b Debugger: remove useless casts from expressions converted from java 2016-04-04 12:34:20 +03:00
Natalia Ukhorskaya
728faf4df0 Debugger: Convert java expression to kotlin when open EE dialog from Variables View
#KT-6805 Fixed
2016-04-04 12:34:08 +03:00
Michael Bogdanov
7e13a314a1 Fix for KT-11677: Generic type signatures for local classes in inlined lambdas are not written properly
#KT-11677 Fixed
(cherry picked from commit e0adfd4)
2016-04-04 12:13:34 +03:00
Michael Bogdanov
c87a6b6c92 Support test directives in inline tests
(cherry picked from commit f5166b7)
2016-04-04 12:13:28 +03:00
Michael Bogdanov
126dad7d3f Added test for obsolete KT-11631: Couldn't inline method call
#KT-11631 Obsolete
(cherry picked from commit d319811)
2016-04-04 12:13:22 +03:00
teamcity
315fc32f8f Auto-merge 1.0.2 with 1.0.2 2016-04-01 22:58:45 +03:00
Ilya Gorbunov
bd1b4cf629 Change String.subSequence parameter names to match those of CharSequence.subSequence. 2016-04-01 21:48:39 +03:00
Sergey Mashkov
898056429d KT-11261 Implement MavenArchetypesProvider extension point 2016-04-01 20:48:03 +03:00
teamcity
f7787bdf8f Auto-merge 1.0.2 with 1.0.2 2016-04-01 20:34:41 +03:00
Ilya Gorbunov
fd12c661f7 Binary compatibility validator: filter out empty facades *after* members are flattened from non-public part superclasses.
Use stable member sort order for members flattened from non-public superclasses, rewrite test to make order matter.
(cherry picked from commit 6ba98f7)
2016-04-01 18:04:51 +03:00
Alexander Udalov
cf788372d3 Reorder and prettify existing ChangeLog entries for 1.0.2 2016-04-01 17:49:11 +03:00
teamcity
b4fa586310 Auto-merge 1.0.2 with 1.0.2 2016-04-01 17:36:23 +03:00
Alexander Udalov
a2560e52a1 Fix additional testData for br141 2016-04-01 16:22:24 +03:00
Nikolay Krasko
c4429ad3d4 Remove tests for change signature from Java - br141 doesn't contain pathces for them working 2016-04-01 14:54:13 +03:00
Alexander Udalov
c14ac2f48c Configure Kotlin in project: list only modules with Kotlin files
This was initially done in d07d34af but reverted in 8f2dd2c8, possibly due to
incorrect rebase

 #KT-10831 Fixed
2016-04-01 14:15:42 +03:00
Alexander Udalov
93b1dd40a0 Update line number and debugger test data 2016-04-01 13:56:46 +03:00
Alexander Udalov
a14f7abc27 Disable test in 141 2016-04-01 13:56:46 +03:00
teamcity
2633432048 Auto-merge 1.0.2 with 1.0.2 2016-04-01 12:08:05 +03:00
Dmitry Petrov
bf0e8daff3 binary compat validator: update testData for changes related to new facade generation
(cherry picked from commit 1d87595)
2016-04-01 10:14:35 +03:00
Dmitry Petrov
5c329e7487 KT-11410: generate light classes from multifile class parts in binaries
if explicitly requested by fqName
(cherry picked from commit 92ddbb2)
2016-04-01 10:14:32 +03:00
Dmitry Petrov
3e2765e357 KT-11410: write multifile class code generation scheme to extra field (xi) in kotlin.Metadata.
(cherry picked from commit 4c4141e)
2016-04-01 10:14:29 +03:00
Dmitry Petrov
ddf9568cf8 KT-11410: Build stdlib with new part/facade inheritance scheme.
(cherry picked from commit d30ab50)
2016-04-01 10:14:26 +03:00
Dmitry Petrov
d3b96efdbf KT-11410: Class hierarchy for parts/facade of multi-file class.
Preserve static initialization semantics for parts by introducing a special "clinit trigger" class.
Insert "static initialization trigger" call to every method of a part class, remove this call on inline.
Always mangle names for private functions in multifile class parts to avoid resolution clashes on inheritance.

NB in codegen tests initializers for all non-const vals are wrapped in 'run { ... }',
so that the initializer is not a constant expression, and some static initialization code should be generated.
(cherry picked from commit db58ebc)
2016-04-01 10:14:23 +03:00
Dmitry Petrov
2ce79db5ca KT-11410: Add Xmultifile-parts-inherit CLI option.
(cherry picked from commit 0ccaf43)
2016-04-01 10:14:20 +03:00
Dmitry Petrov
852e236896 KOTLIN_CONFIGURATION_FLAGS directive for passing compiler configuration parameters to tests.
So far, only boolean flags are supported.
(cherry picked from commit 095cbea)
2016-04-01 10:14:17 +03:00
teamcity
21e420dd50 Auto-merge 1.0.2 with 1.0.2 2016-04-01 02:08:34 +03:00
Ilya Gorbunov
667f7ddc72 Optimize snapshot operations to return special collection implementations when result is empty or has single element.
#KT-9990 Fixed

(cherry picked from commit f35dc47b4e)
2016-04-01 01:38:14 +03:00
Sergey Mashkov
13d4be6f74 KT-11261 Implement MavenArchetypesProvider extension point 2016-03-31 23:09:51 +02:00
Sergey Mashkov
a78a7eb6fb KT-2917 maven archetype for kotlin projects 2016-03-31 23:09:26 +02:00
teamcity
a17b46a651 Auto-merge 1.0.2 with 1.0.2 2016-03-31 21:59:45 +03:00
Pavel V. Talanov
a39aeb5288 ExceptionTracker: do not increment counter on ReenteringLazyValueComputationException
ReenteringLazyValueComputationException is in fact correct behaviour which does not indicate a problem we should try to recover from
This led to an obscure bug when resolve sessions were invalidated multiple times during light class construction (see KT-11635)
 #KT-11635 Fixed
2016-03-31 19:53:37 +03:00
Pavel V. Talanov
bc2a563b61 KT-11721 Wrong "Typechecker has run into recursive problem" on calling kotlin get function as synthetic property
#KT-11721 Fixed
2016-03-31 19:53:35 +03:00
Ilya Gorbunov
bd44cd9a3c Minor: commit missing file (related to Remove implementations of intrinsic array creation functions) 2016-03-31 19:46:37 +03:00
Alexey Tsvetkov
cbb36d8f3d Load kotlin.incremental from local.properties file too 2016-03-31 19:42:24 +03:00
Mikhail Glukhikh
3e832fcf34 Build fix: evaluationErrors.repl
(cherry picked from commit 60511f0)
2016-03-31 19:31:16 +03:00
Mikhail Glukhikh
8517bfff23 Refactoring: DeclarationsChecker checkClassOrObjectMembers / checkFunction
(cherry picked from commit 56ef98e)
2016-03-31 19:31:02 +03:00
Mikhail Glukhikh
ff567b4a21 KT-11666: Implicit nothing is allowed for overridden function / properties
(cherry picked from commit 8c131f4)
2016-03-31 19:30:48 +03:00
Mikhail Glukhikh
369d64b489 Implicit nothing / intersection types are now checked also for member functions #KT-11666 Fixed
(cherry picked from commit 4c03aaa)
2016-03-31 19:30:34 +03:00
teamcity
4e914a0883 Auto-merge 1.0.2 with 1.0.2 2016-03-31 18:33:51 +03:00
Ilya Gorbunov
276daa6d83 Make Map.plus accept Map out-projected by key type as either operand (receiver or parameter).
#KT-11301 Fixed
(cherry picked from commit d5d19f5)
2016-03-31 17:58:50 +03:00
Ilya Gorbunov
96ebda5548 Remove implementations of intrinsic array creation functions (arrayOf, primitiveArrayOf)
#KT-11485 Fixed
(cherry picked from commit 0332217)
2016-03-31 17:58:43 +03:00
Ilya Gorbunov
7433683011 Minor: Make internal monitorEnter/monitorExit functions private to remove them from the public API
#KT-11485
(cherry picked from commit 9caa17d)
2016-03-31 17:58:37 +03:00
Ilya Gorbunov
9342de43d2 Introduce RandomAccess to JS.
Make EmptyList support RandomAccess.
#KT-10794
(cherry picked from commit ab68b49)
2016-03-31 17:58:30 +03:00
Alexander Udalov
a36e6a8d38 Merge branch '1.0.2_/br141' of github.com:JetBrains/kotlin into HEAD 2016-03-31 17:52:47 +03:00
Alexander Udalov
6f3fd57b38 Merge remote-tracking branch 'origin/1.0.1_/br141' into HEAD 2016-03-31 17:51:29 +03:00
Pavel V. Talanov
ac1f19d6ef Improve message clarity for WRONG_NUMBER_OF_TYPE_ARGUMENTS diagnostics
#KT-9887 Fixed
2016-03-31 16:06:25 +03:00
Alexey Tsvetkov
2f1a1c570d Build non-incrementally when input class-file is changed 2016-03-31 15:08:52 +03:00
Denis Zharkov
a2e194dd18 Fix SAM adapters substitution
Approximate sourceFunction types if it's needed

 #KT-11696 Fixed
2016-03-31 14:54:28 +03:00
Denis Zharkov
01a083efbf Add additional visibility check for synthetic extensions
Use extension receiver as dispatch one, because it is effectively dispatch
(after some desugaring)
2016-03-31 14:54:28 +03:00
Denis Zharkov
89b99b7952 Minor. Adjust JS test to protected visibility changes 2016-03-31 14:54:28 +03:00
Denis Zharkov
a3d83ce268 Adjust J2K to latest protected visibility fixes 2016-03-31 14:54:28 +03:00
Denis Zharkov
6d3f06cd09 Prohibit protected constructor calls that are not super-calls in subtypes
#KT-11649 Fixed
2016-03-31 14:54:28 +03:00
Denis Zharkov
2bd7132f3e Minor. Covariantly override ClassDescriptor.original 2016-03-31 14:54:28 +03:00
Denis Zharkov
91146aa07a Do not check receiver for protected constructor calls
Checks for protected constructors should be performed manually,
because they are rather complex
2016-03-31 14:54:28 +03:00
Denis Zharkov
26dd9bd035 Respect receiver-dependent visibility when selecting smart-cast type 2016-03-31 14:54:28 +03:00
Denis Zharkov
9107e18f8d Make PositioningStrategy.mark public
Because it's used with receivers of types different from call site ones.
2016-03-31 14:54:28 +03:00
Denis Zharkov
04fd2dd0c8 Refine isVisible for protected visibility
#KT-7437 Fixed
 #KT-7971 Fixed
 #KT-7051 Fixed
 #KT-6125 Fixed
 #KT-6186 Fixed
2016-03-31 14:54:28 +03:00
Denis Zharkov
07f6da5919 Clarify Visibility.isVisible contract for null as receiverValue
See comment
2016-03-31 14:54:28 +03:00
Pavel V. Talanov
7ba05d71e6 KtLightModifierList* is created only for light classes build for sources
This is a hacky solution to avoid calling lightMemberOrigin.originalElement inside
Moreover it needs to resolve descriptor for sources inside computeAnnotations and it is used only for kotlin sources so this will have to do for now
2016-03-30 21:44:12 +03:00
Pavel V. Talanov
045eddab71 KT-11678 Support navigation from Java source to Kotlin binaries
Introduce LightMemberOriginForCompiledElement which holds logic for finding corresponding decompiled declaration
ByJvmSignatureIndexer stores the required information while building decompiled text

Some are unsolved in this commit:
   - constructors
   - @Jvm* and other unregular generated members
   - annotation methods

 #KT-11678 Fixed
2016-03-30 21:44:11 +03:00
Pavel V. Talanov
0ef2e036a3 LightElements: avoid computation of LightMemberOrigin.originalElement on common api calls 2016-03-30 21:44:10 +03:00
Pavel V. Talanov
06fe23f773 Refactor light elements
KtLightElement#delegate -> clsDelegate, KtLightElement#origin -> kotlinOrigin and make them properties
KtLightClassForDecompiledDeclaration stores KtClsFile
KtLightField stores LightMemberOrigin
2016-03-30 21:44:09 +03:00
Pavel V. Talanov
a16510b2fe Refactor: Make LightMemberOrigin an interface, extract one implementation 2016-03-30 21:44:08 +03:00
Pavel V. Talanov
4edb43000d Improve AbstractReferenceResolveTest 2016-03-30 21:44:08 +03:00
Pavel V. Talanov
5983635cfa Refactor: abstract over decompiled text indexing
Move navigation-related code from KtDecompiledFile
2016-03-30 21:44:07 +03:00
Pavel V. Talanov
bac921f661 Drop non-generated NavigateToDecompiledLibraryTest
It relies on internal data structure
2016-03-30 21:44:06 +03:00
Pavel V. Talanov
3960112397 Generate navigateToDecompiledLibraryTest from the same test data as navigateToLibrarySourceTest
Change test data format
2016-03-30 21:44:05 +03:00
Pavel V. Talanov
0999aab6fb Generate tests for resolving references to kotlin binaries from java in IDE 2016-03-30 21:44:04 +03:00
Alexander Udalov
fa142c273e Fix multiple resource leaks by closing InputStream instances
The main fix is in BuiltInsPackageFragment, the rest is the improvement of
other usages of getResourceAsStream

 #KT-11433 Fixed
2016-03-30 21:42:37 +03:00
Alexander Udalov
ee3a4eefdf Fix double quotes in diagnostic messages
For diagnostics without any parameters, the given text is simply rendered as a
String, so no symbols should be escaped.

For diagnostics with parameters, the format in java.text.MessageFormat is used,
so one single quote is erased and two single quotes become one single quote in
the rendered text.
2016-03-30 21:42:36 +03:00
Mikhail Glukhikh
64c5164201 Fix of getCorrespondingLoop for complex loop / try-finally trees #KT-8246 Fixed
(cherry picked from commit b7e8f71)
2016-03-30 20:45:49 +03:00
Alexander Udalov
97bee57321 Enable bootstrap and force version increment in 1.0.2 2016-03-30 19:05:05 +03:00
Alexander Udalov
0710b5b459 Rename Changelog.md -> ChangeLog.md 2016-03-30 18:29:46 +03:00
teamcity
99c5ec7e05 Auto-merge 1.0.1 with 1.0.1 2016-03-28 15:52:46 +03:00
Yan Zhulanow
de3dcebff9 Fix EA-79598: getNode() in JspxImportListImpl returns null (cherry picked from commit 047828b) 2016-03-28 14:46:22 +03:00
teamcity
9aab74af61 Auto-merge 1.0.1 with 1.0.1 2016-03-25 20:16:23 +03:00
Mikhail Glukhikh
5b1213c5d1 Changelog: 1.0.1-2 2016-03-25 17:19:56 +03:00
teamcity
6d220cf56a Auto-merge 1.0.1 with 1.0.1 2016-03-24 21:06:55 +03:00
Michael Bogdanov
662df527c7 Fix for KT-11590: IllegalAccessError: SAM adapter generated with invalid accessibility for inline function
#KT-11590 Fixed
(cherry picked from commit d0aac74)
2016-03-24 15:32:37 +01:00
teamcity
59cb2867cc Auto-merge 1.0.1 with 1.0.1 2016-03-24 12:53:35 +03:00
Michael Bogdanov
2a507e881b Fix for KT-11584: Regression in 1.0.1: incorrect comparison of Long! with integer constant
#KT-11584 Fixed
(cherry picked from commit a851bb0)
2016-03-24 09:02:31 +01:00
teamcity
9af77a12f0 Auto-merge 1.0.1 with 1.0.1 2016-03-22 20:24:28 +03:00
Mikhail Glukhikh
659112c56a Changelog: 1.0.1-1 + minor update to 1.0.1 2016-03-22 17:56:36 +03:00
teamcity
6a85ea4b62 Auto-merge 1.0.1 with 1.0.1 2016-03-18 16:32:42 +03:00
Michael Bogdanov
b4649ba28c Fix for KT-11478: "Couldn't inline method call" error
#KT-11478 Fixed
(cherry picked from commit b95e27f)
2016-03-18 11:53:42 +01:00
teamcity
c70fbd87bb Auto-merge 1.0.1 with 1.0.1 2016-03-17 17:53:39 +03:00
Denis Zharkov
405991fde7 Fix common supertype calculation
Use star-projections instead of 'out Any?' in corner cases

 #KT-11468 Fixed
2016-03-17 16:15:43 +03:00
teamcity
59a99cc5b0 Auto-merge 1.0.1 with 1.0.1 2016-03-15 19:31:43 +03:00
Mikhail Glukhikh
7d131edc49 KT-9434 added to Changelog 2016-03-15 19:01:28 +03:00
Alexey Tsvetkov
9104f7348b Fix NoSuchMethodError with Gradle 2.12
#KT-11351 fixed
2016-03-15 18:06:32 +03:00
teamcity
90f519ed6c Auto-merge 1.0.1 with 1.0.1 2016-03-14 17:01:58 +03:00
Mikhail Glukhikh
ffd6197f2b Minor: FILE directives fixed in two tests
(cherry picked from commit 7232c5c)
2016-03-14 15:53:35 +03:00
teamcity
80b546320f Auto-merge 1.0.1 with 1.0.1 2016-03-14 14:27:38 +03:00
Mikhail Glukhikh
d6a3aa10a4 KT-10752 added to Changelog 2016-03-14 14:22:21 +03:00
Mikhail Glukhikh
1171fdbae3 Manual merge with last changes from 1.0.1
Conflicts processed:
	idea/src/org/jetbrains/kotlin/idea/framework/JSLibraryStdPresentationProvider.java
	idea/src/org/jetbrains/kotlin/idea/framework/JavaRuntimePresentationProvider.java
	idea/src/org/jetbrains/kotlin/idea/highlighter/KotlinRunLineMarkerContributor.kt
2016-03-14 13:41:29 +03:00
Mikhail Glukhikh
5d7727cf66 Strictfp on a class is now a warning #KT-11109 Fixed
(cherry picked from commit f76efb6)
2016-03-12 21:28:56 +03:00
Mikhail Glukhikh
68bf0be332 Minor 2016-03-11 17:17:28 +03:00
Mikhail Glukhikh
c8be8e8498 Changelog update 2016-03-11 17:10:52 +03:00
Mikhail Glukhikh
1e16d0ef3e Changelog for 1.0.1 2016-03-11 16:25:02 +03:00
Ilya Gorbunov
b9712f1d49 kotlin.test: Make inline methods 'todo' and 'currentStackTrace' @InlineOnly not to loose stack trace.
Comment out assertion for line number in 1.0.1 since the feature it relies on will be available only in 1.0.2.
#KT-11348 Fixed
(cherry picked from commit 92003f6)
2016-03-11 13:38:10 +03:00
Ilya Gorbunov
d262346261 kotlin.test: Mark reified assertFailsWith with InlineOnly to preserve stack traces.
(cherry picked from commit bf536af)
2016-03-11 13:37:47 +03:00
Ilya Gorbunov
331cde9a98 Minor: correct file name
(cherry picked from commit 119eceb)
2016-03-11 13:19:54 +03:00
Pavel V. Talanov
b1ebc0b4e8 Minor, FunctionCodegen: add additional logging on missing function descriptor
Trying to diagnose light class building failures
2016-03-10 19:51:05 +03:00
Pavel V. Talanov
03f6bf6a56 Refactor, minor: extract exception logging to an util object 2016-03-10 19:51:03 +03:00
Pavel V. Talanov
9e6d2b3b03 Add KtPsiFactory#createFileWithLightClassSupport
Allows to create light classes for KtFile built from text
2016-03-10 19:43:44 +03:00
Pavel V. Talanov
be2165a3f0 Refactor: Provide API to create KtLightClassForFacade by synthetic file 2016-03-10 19:43:42 +03:00
Pavel V. Talanov
b93371ba96 Minor: remove obsolete properties from KtLightClassForFacade 2016-03-10 19:43:40 +03:00
Mikhail Glukhikh
68af8fc54e Fixed FILE comment in test 'flexibleReturnTypeIn.kt' to remove CCE in runtime 2016-03-09 12:04:29 +03:00
Dmitry Jemerov
5ecef132c4 use Kotlin icon for Gradle framework support provider
(cherry picked from commit 3626e90)
2016-03-08 17:32:52 +01:00
Dmitry Jemerov
0edced305c use regular Kotlin icon to represent Kotlin run configurations, leave old LAUNCH icon only for REPL
#KT-11041 Fixed
(cherry picked from commit ad48ff6)
2016-03-08 17:32:42 +01:00
Dmitry Jemerov
accc152ff2 use 16x16 icons for framework types and library presentations
(cherry picked from commit 94fc588)
2016-03-08 17:32:32 +01:00
teamcity
5b9b540ddc Auto-merge 1.0.1 with 1.0.1 2016-03-07 11:57:24 +03:00
Denis Zharkov
2c595194f1 Fix bridge generation for special builtin override
Use method itself signature as common bridge delegate

 #KT-11285 Fixed

Conflicts:
	compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java
2016-03-07 09:52:01 +03:00
teamcity
fa30becef7 Auto-merge 1.0.1 with 1.0.1 2016-03-04 22:09:24 +03:00
Nikolay Krasko
61394521e9 Revert "Consider only pinned builds for bootstrapping"
This reverts commit db117dfebf.
2016-03-04 20:49:28 +03:00
Nikolay Krasko
db117dfebf Consider only pinned builds for bootstrapping 2016-03-04 20:17:56 +03:00
Nikolay Krasko
58c589c781 Do not depend on MOVE_SEARCH_FOR_REFERENCES_FOR_FILE global setting
Always search for references if something is under source root and disable search otherwise.

 #KT-11277 Fixed
2016-03-04 19:44:39 +03:00
Nikolay Krasko
2eb5eeb884 Don't intercept move when there're no kotlin files
#KT-11277 Fixed
2016-03-04 19:44:32 +03:00
teamcity
28c3d47706 Auto-merge 1.0.1 with 1.0.1 2016-03-04 19:09:45 +03:00
Natalia Ukhorskaya
9bba3fbd07 Fix Editor->Colors list names 2016-03-04 17:29:51 +03:00
Pavel V. Talanov
d49b3b75ee Fix typechecker in case of "for ((a, b) in) { }"
Fixes NDFDE
2016-03-04 16:56:16 +03:00
Pavel V. Talanov
37c74d4160 Parameters of function types are always considered local 2016-03-04 16:56:13 +03:00
Pavel V. Talanov
155f043a52 Add additional check to AbstractPsiCheckerTest
Check that KtDeclaration.resolveToDescriptor() utility does not throw
2016-03-04 16:56:11 +03:00
Pavel V. Talanov
29327e77a0 Throw ISE earlier on passing certain types of declaration to ResolveSession#resolveToDescriptor() 2016-03-04 16:56:10 +03:00
teamcity
c4f341d048 Auto-merge 1.0.1 with 1.0.1 2016-03-04 16:29:33 +03:00
Michael Bogdanov
f478a417ec Write additional type parameters for DefaultImpls methods, fix for KT-11121: BadClassFile exception for interface implemented generic properties
#KT-11121 Fixed

(cherry picked from commit 534a3a11d6)

Conflicts:
	compiler/backend/src/org/jetbrains/kotlin/codegen/state/JetTypeMapper.java
	compiler/tests/org/jetbrains/kotlin/codegen/generated/BlackBoxWithJavaCodegenTestGenerated.java
2016-03-04 14:16:08 +03:00
Mikhail Glukhikh
26b6f4d41b IDEA141: a pair of experimental JPS test logs fixed (probably version-specific) 2016-03-04 13:09:03 +03:00
Mikhail Glukhikh
d2d50cecfe IDEA141: some evaluate expression / stepping tests fixed (version-specific logs) 2016-03-04 13:03:13 +03:00
Mikhail Glukhikh
256ec4bb81 Tests partially regenerated 2016-03-04 13:01:01 +03:00
Mikhail Glukhikh
0af24ad875 IDEA141: Move member to companion object intention is fixed specifically for 141 branch 2016-03-04 12:56:05 +03:00
Nikolay Krasko
4fe3e8267b Tests duplicates 2016-03-03 19:29:21 +03:00
Nikolay Krasko
b738a548e0 Revert using new api 2016-03-03 19:26:10 +03:00
Nikolay Krasko
e91e167e1d Revert moving to new API 2016-03-03 19:21:09 +03:00
Nikolay Krasko
fa7baedfed Merge remote-tracking branch 'origin/1.0.1' into rc_/br141
Conflicts:
	compiler/backend/src/org/jetbrains/kotlin/codegen/AsmUtil.java
	compiler/backend/src/org/jetbrains/kotlin/codegen/ExpressionCodegen.java
	compiler/backend/src/org/jetbrains/kotlin/codegen/inline/MethodInliner.java
	compiler/frontend/src/org/jetbrains/kotlin/analyzer/AnalyzerFacade.kt
	compiler/frontend/src/org/jetbrains/kotlin/cfg/ControlFlowProcessor.java
	compiler/frontend/src/org/jetbrains/kotlin/diagnostics/Errors.java
	compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/checkers/InlineChecker.java
	compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/results/CandidateCallWithArgumentMapping.kt
	compiler/tests/org/jetbrains/kotlin/checkers/DiagnosticsTestGenerated.java
	core/descriptors/src/org/jetbrains/kotlin/resolve/DescriptorUtils.kt
	core/descriptors/src/org/jetbrains/kotlin/resolve/OverridingStrategy.kt
	idea/idea-analysis/src/org/jetbrains/kotlin/idea/caches/resolve/IdeaModuleInfos.kt
	idea/kotlin-android-plugin/src/org/jetbrains/kotlin/android/androidUtil.kt
	idea/src/META-INF/plugin.xml
	idea/src/org/jetbrains/kotlin/idea/debugger/KotlinPositionManager.kt
	idea/src/org/jetbrains/kotlin/idea/intentions/ConvertToStringTemplateIntention.kt
	idea/testData/debugger/tinyApp/outs/crossinlineLiteral.out
	idea/tests/org/jetbrains/kotlin/idea/OutdatedKotlinRuntimeNotificationTest.kt
	idea/tests/org/jetbrains/kotlin/idea/debugger/evaluate/KotlinEvaluateExpressionTestGenerated.java
	idea/tests/org/jetbrains/kotlin/idea/intentions/IntentionTestGenerated.java
	jps-plugin/src/org/jetbrains/kotlin/jps/build/BuildLogger.kt
	jps-plugin/testData/incremental/classHierarchyAffected/inferredTypeArgumentChanged/build.log
	jps-plugin/testData/incremental/classHierarchyAffected/multiModuleCircular/build.log
	libraries/stdlib/src/generated/_Arrays.kt
	libraries/stdlib/src/generated/_Collections.kt
	libraries/stdlib/src/generated/_Sequences.kt
	libraries/stdlib/src/generated/_Strings.kt
	libraries/tools/kotlin-android-extensions/pom.xml
	libraries/tools/kotlin-stdlib-gen/src/templates/Aggregates.kt
	update_dependencies.xml
2016-03-03 19:19:02 +03:00
Nikolay Krasko
863a080ed9 Merge remote-tracking branch 'origin/rc' into rc_/br141 2016-03-03 18:31:22 +03:00
Nikolay Krasko
274ba38616 New project wizard with Gradle and Kotlin creates build.gradle with absent version (KT-11213)
#KT-11213 Fixed
2016-03-03 17:32:08 +03:00
Valentin Kipyatkov
e297bd3879 Enhanced constructor descriptor should not loose its source!
#KT-11256 Fixed
(cherry picked from commit 5aca50b)
2016-03-02 21:46:31 +03:00
Valentin Kipyatkov
6211386ab3 More diagnostic for EA-75975
(cherry picked from commit 508e193)
2016-03-02 21:46:23 +03:00
Valentin Kipyatkov
50a340f09d Fixed EA-70945
(cherry picked from commit 135ec78)
2016-03-02 21:46:15 +03:00
Dmitry Jemerov
2ab4965ee9 don't crash on startup in case of corrupted plugin installation
#KT-11230 Fixed
(cherry picked from commit 386f224)
2016-03-02 18:19:46 +01:00
Ilya Chernikov
03e17c02d8 Fixing daemon memory test on windows by increasing the expected threshold
(cherry picked from commit c39cec4)
2016-03-02 19:03:39 +03:00
Dmitry Petrov
6701cc61ff Do not use 'dup' for postfix increment/decrement: can't do it with collection element in general.
KT-11190, KT-11191, KT-11192, KT-11200, KT-11206
(cherry picked from commit e9b4608)
2016-03-02 14:16:33 +03:00
Mikhail Glukhikh
027ee64f88 Enable override version back 2016-03-02 14:04:16 +03:00
Dmitry Petrov
c5caf592c6 Do not use 'dup' for postfix increment/decrement: can't do it with collection element in general.
KT-11190, KT-11191, KT-11192, KT-11200, KT-11206
(cherry picked from commit e9b4608)
2016-03-02 13:39:44 +03:00
Dmitry Petrov
84eb074fb6 KT-11203: report errors on read-write operations for elements of collections with inconsistent get&set signatures
(cherry picked from commit 6f922ff)
2016-03-02 13:39:40 +03:00
Dmitry Jemerov
2b659dde13 correctly detect Gradle modules (previous code, besides being crazy overcomplicated, didn't always work because module.getModuleFile() returns null immediately after a project has been imported from Gradle and before it has been saved)
(cherry picked from commit 207c5e1)
2016-03-02 11:19:02 +01:00
Mikhail Glukhikh
10d46ed791 Temporary disable override version 2016-03-02 11:14:18 +03:00
Michael Bogdanov
75f68f2cb7 Internal visibility to TestGroup 2016-03-01 19:42:45 +03:00
Nikolay Krasko
4b17f1f7f3 Refactoring: rename file 2016-03-01 19:20:05 +03:00
Nikolay Krasko
e417290da8 Refactoring: extract methods from JSLibraryStdPresentationProvider 2016-03-01 19:20:04 +03:00
Nikolay Krasko
246fac37bd Refactoring: extract methods from JavaRuntimePresentationProvider 2016-03-01 19:20:02 +03:00
Nikolay Krasko
099067615a J2K: LibraryPresentationProviderUtil convert 2016-03-01 19:20:01 +03:00
Nikolay Krasko
679b87444a J2K: LibraryPresentationProviderUtil rename 2016-03-01 19:20:00 +03:00
Nikolay Krasko
becbc367d0 Don't detect libraries in maven, gradle and ide systems as runtime libraries
#KT-11072 Fixed
 #KT-10918 Fixed
2016-03-01 19:19:59 +03:00
Nikolay Krasko
0f8cb3cb24 Minor: drop deprecated methods and remove warnings in library presentation providers 2016-03-01 19:19:58 +03:00
Nikolay Krasko
02614fb060 Configure Kotlin in Project: "All modules containing Kotlin files" lists modules even not containing those files (KT-10831)
#KT-10831 Fixed
2016-03-01 19:19:57 +03:00
Natalia Ukhorskaya
735ff553aa Rearrange Colors page for Kotlin
(cherry picked from commit 7b1afa1)
2016-03-01 10:59:11 +03:00
Natalia Ukhorskaya
3d9cc57eec Highlight super and this as keywords
(cherry picked from commit e0cb0eb)
2016-03-01 10:56:26 +03:00
Natalia Ukhorskaya
0e7dbb6359 Change some colors in Darcula after refactoring of colors in IDEA
(cherry picked from commit d361aca)
2016-03-01 10:56:20 +03:00
Jake Wharton
c6ca60e5c4 Include source folders from registered source-generating tasks.
This includes the output directories from tasks which generate Java code which were registered with registerJavaGeneratingTask().
(cherry picked from commit 0d6ec35)
2016-03-01 10:55:16 +03:00
Michael Bogdanov
56c4101cda Fix for KT-11117: Android Kotlin DEX transformation error when I use arrayOf as an anonymous object property
#KT-11117 Fixed
(cherry picked from commit 16afe74)
2016-02-29 12:59:47 +03:00
Ilya Gorbunov
a7f28916b6 Minor: improve wording in the deprecation message.
(cherry picked from commit a100ffd)
2016-02-27 00:32:40 +03:00
Pavel V. Talanov
18002cef3c Revert 06215ca932
It led to parameter names missing in parameter info and completion for compiled java code used from kotlin
See KT-11039
2016-02-26 14:37:09 +03:00
Nikolay Krasko
372f9bd3dd Print kotlin compiler version in build script where withKotlin tag is used 2016-02-25 20:07:34 +03:00
Michael Bogdanov
69b42f4716 Prohibited @Strictfp annotation on classes (it's not supported yet), Fix for KT-11109: Strictfp annotation do nothing when applied to class
#KT-11109 Fixed
(cherry picked from commit 1b94904)
2016-02-25 18:08:40 +03:00
Michael Bogdanov
c9d76638b8 Fix for KT-11163: Incorrect codegen in case of custom compareTo on primitives
#KT-11163 Fixed
(cherry picked from commit 582b1c5)
2016-02-25 10:17:10 +03:00
Alexander Udalov
5447227e6d Fix NCDFE on primitive iterators during boxing optimization
The real fix is in ProgressionIteratorBasicValue's constructor, other changes
are refactorings

 #KT-11153 Fixed
2016-02-22 19:49:59 +03:00
Ilya Gorbunov
cf2c67b7d7 Mark CollectionAssertions as deprecated due to their experimental status.
(cherry picked from commit acc6cc5)
2016-02-21 03:42:01 +03:00
Zalim Bashorov
072bf93a56 New IC: don't fail on unsupported difference kinds and process SUPERTYPE_ID_LIST correctly
(cherry picked from commit 05eff90)
2016-02-19 19:12:40 +03:00
Michael Bogdanov
83005f06aa Fix for KT-11081: Reified type parameters are lost in anonymous object in inline function when using default value parameters
#KT-11081 Fixed
(cherry picked from commit 405c21a)
2016-02-19 14:22:59 +03:00
Alexander Udalov
6daed3b5a5 Fix visibility flags for lambda classes in InnerClasses attribute 2016-02-19 12:53:05 +03:00
Ilya Chernikov
ad193125e8 fixing test after changing cleanup scheme - first it is now required to rebuild sources, and therefore consumed memory is increased 2016-02-18 21:34:07 +01:00
Ilya Chernikov
2fef9e310a performing cleanup (and memory usage reporting) only if kotlin compiler was actually called, should fix e.g. KT-10127 2016-02-18 21:34:07 +01:00
Alexey Tsvetkov
dae98d699a Call System.gc only when when log level is debug, fixes KT-11022 2016-02-18 21:34:07 +01:00
Natalia Ukhorskaya
f699e9ae9b Replace deprecated usages of CodeInsightColors 2016-02-18 18:39:55 +03:00
Ilya Gorbunov
cc27486815 Create at most one wrapper sequence for adjacent drop/take operations on sequences.
Based on PR #814 by Sargun Vohra
#KT-10821 Fixed
(cherry picked from commit 24edbc3)
2016-02-18 17:40:23 +03:00
nik
07debfa751 until-build set to 146.9999 to make Kotlin plugin compatible with new IDEA builds
(cherry picked from commit c69d332)
2016-02-18 12:44:18 +01:00
nik
360e1ed0d6 until-build set to 146.9999 to make Kotlin plugin compatible with new IDEA builds
(cherry picked from commit c69d332)
2016-02-18 10:21:00 +03:00
Denis Zharkov
212f1e3e32 Optimize completion for overridden descriptors 2016-02-16 12:03:58 +03:00
Denis Zharkov
c3437055ee Run slow flexible type assertions only in test mode 2016-02-16 12:03:58 +03:00
Denis Zharkov
fad588a602 Drop unnecessary call to substituted 'overriddenDescriptors' 2016-02-16 12:03:58 +03:00
Denis Zharkov
71612edf1d Do not run enhancement for fake overrides with one overridden 2016-02-16 12:03:58 +03:00
Denis Zharkov
7f931cce03 Optimize ErasedOverridabilityCondition
Do not start substitution if some basic conditions are failed
2016-02-16 12:03:58 +03:00
Denis Zharkov
e5d7ade4b3 Optimize SamAdapterOverridabilityCondition
Do not calculate it for non-static members,
because SAM adapters only exist in static scope now
2016-02-16 12:03:58 +03:00
Denis Zharkov
faff2579ec Optimize external overridability conditions
- Skip ones that can lead only to success after first success
- And vice versa
2016-02-16 12:03:57 +03:00
Denis Zharkov
edef244c2d Memoize 'JavaTypeClassifierImpl.isRaw' result 2016-02-16 12:03:57 +03:00
Denis Zharkov
3387327bc0 Optimize ResolvedCallImpl for case of empty pararameter set 2016-02-16 12:03:57 +03:00
Dmitry Jemerov
7847a020ba trim -release- from plugin version number when checking whether the runtime is outdated
(cherry picked from commit 2a8e1af)
2016-02-15 16:31:20 +01:00
Dmitry Jemerov
45798475e9 K
(cherry picked from commit 8549ec7)
2016-02-15 16:30:52 +01:00
Pavel V. Talanov
6114362904 Fix "<" or ">" in member name leading to exception 2016-02-15 13:39:17 +03:00
Pavel V. Talanov
fd876a3547 Fix stub/ast mismatch for old binaries (rc-1036) in newer versions of plugin 2016-02-15 12:46:34 +03:00
Dmitry Jemerov
63771c6368 trim -release- from plugin version number when checking whether the runtime is outdated
(cherry picked from commit 2a8e1af)
2016-02-14 15:38:15 +01:00
Dmitry Jemerov
8549ec7645 K 2016-02-12 20:39:08 +01:00
Stanislav Erokhin
958f5a4ab3 Use last successful build in 1.0.1 as bootstrap. Enable force version increment. 2016-02-12 20:03:07 +03:00
Pavel V. Talanov
4b3970ec58 Fix stub/ast mismatch for old binaries (rc-1036) in newer versions of plugin 2016-02-12 19:11:23 +03:00
Ilya Gorbunov
bded4842ee Change default buffer size to be 8K (same default as in java BufferedReader).
Rename internal constants.
(cherry picked from commit 17a9538)
2016-02-12 15:13:11 +03:00
Ilya Gorbunov
1d00a58922 Use HALF_EVEN rounding mode by default for BigDecimal division operator.
#KT-10462 Fixed
(cherry picked from commit 6c7cefa)
2016-02-11 18:43:59 +03:00
Nikolay Krasko
d332f0f236 Fix forgotten test data for 10648f44ac (KT-10212) 2016-02-11 16:43:01 +03:00
Alexey Sedunov
b40afdbe19 Change Signature: Temporarily disable type resolution checks in Change Signature Dialog 2016-02-10 16:23:37 +03:00
Nikolay Krasko
8ba6d4d008 Merge remote-tracking branch 'origin/rc' into rc_/br141
Conflicts:
    idea/testData/debugger/tinyApp/outs/remappedParameterInInline.out
	idea/tests/org/jetbrains/kotlin/idea/debugger/evaluate/KotlinEvaluateExpressionTestGenerated.java
2016-02-10 13:54:54 +03:00
Alexey Sedunov
90e158f54c Change Signature: Fix reference substitution when default value is a single simple name reference
#KT-10954 Fixed
(cherry picked from commit bb2a5b0)
2016-02-09 19:42:43 +03:00
Alexey Sedunov
05b880f9a3 Introduce Variable: Skip type in template if no resolvable/non-error types are available in the current context
#KT-10808 Fixed
(cherry picked from commit 792d9c1)
2016-02-09 19:42:35 +03:00
Alexey Sedunov
9d53f5f7d7 Go to Test Action: Make available in the entire class text range
#KT-10757 Fixed
(cherry picked from commit e386a6b)
2016-02-09 19:42:20 +03:00
Zalim Bashorov
966b1dbb7f FIx possible NPEs when try to use TestModuleProperties in IDEA 144.x
#EA-78931 Fixed

(cherry picked from commit eacd50c)
2016-02-09 15:57:30 +03:00
Ilya Gorbunov
59c24718c2 J2K, expected errors: for each argument of removed overloads
(cherry picked from commit 78b7fb1)
2016-02-09 15:20:38 +03:00
Ilya Gorbunov
a406a897d7 Drop previously deprecated API.
(cherry picked from commit b4ebaad)
2016-02-09 15:20:04 +03:00
Ilya Gorbunov
dde3b3a245 Make Throwable properties message and cause open.
#KT-5587 Fixed
(cherry picked from commit 5361f6e)
2016-02-09 15:19:24 +03:00
Michael Bogdanov
9915356c1f Removed absent test 2016-02-09 10:13:43 +03:00
Stanislav Erokhin
075ff1a92c Correcting rewrite type info after compete call.
#KT-10934 Fixed
#KT-10896 Fixed
(cherry picked from commit 434bd07)
2016-02-08 21:27:36 +03:00
Michael Bogdanov
2a26b1bc01 Rollback "Fix for KT-10659: Debugger: Evaluate Expression and Watches fail for inline function parameter passed by reference"
(cherry picked from commit 848549dd5d)

Conflicts:
	idea/tests/org/jetbrains/kotlin/idea/debugger/evaluate/KotlinEvaluateExpressionTestGenerated.java
2016-02-08 16:47:09 +03:00
Zalim Bashorov
15e73d1260 Allow to use internal declarations from special modules in compiler (JPS)
(e.g. IDEA 16 gradle tests loaded in separate module)

 #KT-10595 Fixed
(cherry picked from commit 3c4cb54)
2016-02-08 16:06:54 +03:00
Zalim Bashorov
219afa4f9f J2K KotlinBuilderModuleScriptGenerator: cleanup
(cherry picked from commit e328c24)
2016-02-08 16:06:50 +03:00
Zalim Bashorov
b82f04053f J2K KotlinBuilderModuleScriptGenerator: convert
(cherry picked from commit 21e69a0)
2016-02-08 16:06:46 +03:00
Zalim Bashorov
8a6b2dbbfc J2K KotlinBuilderModuleScriptGenerator: .java -> .kt
(cherry picked from commit d503033)
2016-02-08 16:06:40 +03:00
Zalim Bashorov
21d2548073 Allow to use internal declarations from special modules in IDEA
(e.g. IDEA 16 gradle tests loaded in separate module)

 #KT-10595 Fixed
(cherry picked from commit 2c1d1e8)
2016-02-08 16:05:02 +03:00
Nikolay Krasko
bf23dd3aaa SOE on setEnabled(). setEnabled() changes were propagated back to action group with the request to update state (EA-71014) 2016-02-08 15:37:08 +03:00
Nikolay Krasko
5beb4bd340 Allow to process return statements without parent KtDeclaration (EA-70883) 2016-02-08 15:36:56 +03:00
Nikolay Krasko
0121860b64 Can't get file when event is invalid (EA-77748) 2016-02-08 15:36:47 +03:00
teamcity
52031074c9 Auto-merge rc with rc 2016-02-08 12:10:39 +03:00
Dmitry Petrov
a42c8d811a KT-10939 CANNOT_COMPLETE_RESOLVE for inherited generic interface method
'original' for value parameters of fake override is not a value parameter of unsubstituted fake override.
Match value parameters by index.
(cherry picked from commit 5968ce9)
2016-02-08 10:17:23 +03:00
teamcity
78a374a10d Auto-merge rc with rc 2016-02-07 09:33:54 +03:00
Alexander Udalov
b986297a90 Fix test data after removing old annotation classes 2016-02-07 10:08:33 +05:30
teamcity
1a84e80fb2 Auto-merge rc with rc 2016-02-06 15:26:30 +03:00
Alexander Udalov
a86e1d18c9 Delete old metadata annotation classes 2016-02-06 15:54:48 +05:30
Alexander Udalov
7cdf677368 Move constants from JvmAnnotationNames closer to usages 2016-02-06 15:54:44 +05:30
Alexander Udalov
8200c0ff21 Minor, add extra constant to JvmAnnotationNames, drop unneeded utility 2016-02-06 15:54:41 +05:30
Alexander Udalov
7ae324657d Do not write old metadata annotations to bytecode 2016-02-06 15:54:39 +05:30
Alexander Udalov
082f7709b5 Use kotlin.Metadata instead of old annotations in IDE, reflection and tests 2016-02-06 15:54:37 +05:30
teamcity
94cfb5772c Auto-merge rc with rc 2016-02-05 18:44:25 +03:00
Denis Zharkov
eae19c52b9 Generate multi-files facade even if it's empty
It still contains useful information about it's parts,
that may be used while building stubs for multi-file group
containing only InlineOnly functions
2016-02-05 17:29:24 +03:00
Denis Zharkov
29759e0712 Refine multi-file facades generation
Do not generate delegation from multi-file facade to inline-only functions
because they are effectively private in bytecode

 #KT-10858 Fixed
2016-02-05 17:29:24 +03:00
Valentin Kipyatkov
f168c401b3 Better diagnostic for EA-70945
(cherry picked from commit affbefd)
2016-02-05 16:32:22 +03:00
Valentin Kipyatkov
43232f4167 Added better diagnostic for EA-75805
(cherry picked from commit ce8e2d7)
2016-02-05 16:32:15 +03:00
Valentin Kipyatkov
e0533892a7 More correct convertation to string template when number literals involved
(cherry picked from commit 3fe6f9c)
2016-02-05 16:32:09 +03:00
Valentin Kipyatkov
eff6863d11 Fixed EA-75114
(cherry picked from commit 9c426e7)
2016-02-05 16:32:03 +03:00
Valentin Kipyatkov
b0292cc3a7 Fixed EA-75251
(cherry picked from commit c914ca0)
2016-02-05 16:31:56 +03:00
Valentin Kipyatkov
de72511c04 Fixed EA-75979
(cherry picked from commit eca581e)
2016-02-05 16:31:47 +03:00
Valentin Kipyatkov
28a84b7370 Fixed EA-76497
(cherry picked from commit 8b6338c)
2016-02-05 16:31:39 +03:00
teamcity
fd56cceba5 Auto-merge rc with rc 2016-02-04 17:34:59 +03:00
Yan Zhulanow
e89819047b Pack actual Kotlin Android compiler plugin sources into kotlin-android-extensions-ver-sources.jar 2016-02-04 17:26:21 +03:00
Nikolay Krasko
b12b2082c3 Update debugger tests 2016-02-04 15:26:29 +03:00
Nikolay Krasko
5c1e40a90e More mute in incremental compiler for test with inline functions 2016-02-04 14:56:35 +03:00
Andrey Breslav
5995f73662 Adding sources jar to kotlin-android-extensions 2016-02-04 14:26:44 +03:00
Nikolay Krasko
76c58557f3 Mute incremental build test 2016-02-04 12:59:28 +03:00
teamcity
8c32245d80 Auto-merge rc with rc 2016-02-03 20:59:41 +03:00
Nikolay Krasko
7a1c98c0ad Download jps from other build 2016-02-03 20:08:42 +03:00
Dmitry Jemerov
9ff208d840 ensure Kotlin's move handlers run before Java's
#KT-10703 Fixed
(cherry picked from commit 0a46033)
2016-02-03 17:47:34 +01:00
Pavel V. Talanov
21392e6b21 Prevent recursion when computing parameter list of KtLightMethod (part 2)
Use ClsWrapperStubPsiFactory when building light classes for decompiled kotlin classes
2016-02-03 19:44:57 +03:00
teamcity
cf7d06736f Auto-merge rc with rc 2016-02-03 19:08:28 +03:00
Nikolay Krasko
d049efdcb1 Revert "use new API for excluding Kotlin plugin from update checks"
This reverts commit 9914f0ee65.
2016-02-03 18:49:17 +03:00
Ilya Gorbunov
3ebf25fe5c Inline-only Lazy.getValue extension 2016-02-03 18:29:38 +03:00
Michael Bogdanov
67f4f8fde2 More wise lambda search during inlining
(cherry picked from commit 6c45cf8)
2016-02-03 18:30:12 +03:00
Nikolay Krasko
efcac368d0 Merge remote-tracking branch 'origin/rc' into rc_/br141
Conflicts:
	update_dependencies.xml
2016-02-03 18:27:33 +03:00
Dmitry Jemerov
4d349c8623 don't veto rename of constructors
#KT-9693 Fixed
(cherry picked from commit 187694d)
2016-02-03 16:01:00 +01:00
Ilya Gorbunov
eabe9b5ae8 J2K: Remove special conversion for String.format.
(cherry picked from commit 805410bb19)
2016-02-03 17:22:17 +03:00
Ilya Gorbunov
0d3a2e7c54 In addition to extension String.format introduce String.Companion.format(format, args) to be used like in java.
(cherry picked from commit c243a2bdd5)
2016-02-03 17:22:16 +03:00
Ilya Gorbunov
8ae57107c4 Documentation stubs for new packages.
(cherry picked from commit 7105c7c182)
2016-02-03 17:22:15 +03:00
Mikhail Glukhikh
b7c4c23da1 Type comparison: first check for star projections, then obtain constructor parameters #KT-10893 Fixed
Also #EA-78405 Fixed
(cherry picked from commit 0c32fab)
2016-02-03 17:03:18 +03:00
Pavel V. Talanov
6c51df9fec Prevent recursion when computing parameter list of KtLightMethod
#KT-10890 Fixed
 #KT-10851 Fixed
2016-02-03 16:11:30 +03:00
Dmitry Jemerov
981523ce03 better place for J2K options
#KT-10513 Fixed
(cherry picked from commit db51910)
2016-02-03 13:23:26 +01:00
Dmitry Jemerov
981bb30707 don't show two "Rename variables" checkboxes for a Kotlin class
#KT-8509 Fixed
(cherry picked from commit 45a3876)
2016-02-03 13:23:17 +01:00
Dmitry Jemerov
9914f0ee65 use new API for excluding Kotlin plugin from update checks
(cherry picked from commit c881cd1)
2016-02-03 13:23:07 +01:00
Dmitry Jemerov
6fb246a352 use more deterministic check to determine that "Configure Kotlin in project" notification should be displayed
#KT-10898 Fixed
(cherry picked from commit e227f6f)
2016-02-03 13:22:52 +01:00
Michael Bogdanov
32a1e7dc82 Updated test data
(cherry picked from commit 3ec96f1)
2016-02-03 10:31:13 +03:00
Ilya Gorbunov
ad2d1ea15b SAM-constructors for Iterable and Sequence interfaces.
(cherry picked from commit f19ef6e3d5)
2016-02-03 03:06:11 +03:00
Ilya Gorbunov
ce0f22d299 Minor: reorder primitive specializations in generated code (according to the order they defined in java).
(cherry picked from commit 947fd84f1e)

# Conflicts:
#	libraries/stdlib/src/generated/_Arrays.kt
2016-02-03 03:06:08 +03:00
Ilya Gorbunov
0fb369f6ae Minor: reorder families in generated code.
(cherry picked from commit 7a50562a4e)
2016-02-03 03:05:20 +03:00
Ilya Gorbunov
7ad2732d3e Rearrange stdlib, part 2: rename files to better represent their content.
(cherry picked from commit 477b57cdfd)
2016-02-03 03:05:18 +03:00
Ilya Gorbunov
ba67067629 Rearrange stdlib between files and folders, rename files to better represent their content.
Fix package part name in testData

(cherry picked from commit 57cfa54957)
2016-02-03 03:05:16 +03:00
Dmitry Jemerov
8af3beb383 Merge branch 'rc' into rc_/br141
# Conflicts:
#	idea/tests/org/jetbrains/kotlin/idea/debugger/evaluate/KotlinEvaluateExpressionTestGenerated.java
#	update_dependencies.xml
2016-02-02 18:55:46 +01:00
Ilya Gorbunov
601b18a4d8 IDEA version for bootstrapping (use IDEA built with kotlin rc branch) 2016-02-02 19:21:52 +03:00
Michael Bogdanov
25351185d4 Fix for crashed build
(cherry picked from commit 062f037)
2016-02-02 17:29:20 +03:00
Mikhail Glukhikh
5e4b94a3ca Delegated properties now cannot be used before initialization #KT-10869 Fixed
(cherry picked from commit 45298e0)
2016-02-02 17:10:43 +03:00
Michael Bogdanov
e3a16098e4 INVISIBLE_MEMBER_FROM_INLINE renamed to NON_PUBLIC_CALL_FROM_PUBLIC_INLINE
(cherry picked from commit 956c3b9)
2016-02-02 16:40:30 +03:00
Michael Bogdanov
056def876e Error diagnostic for private classes in inline functions; Fix for KT-7545: IllegalAccessError when accessing private nested class through inlined function from different package
#KT-7545 Fixed

(cherry picked from commit f0392643e632cbe1cf6a5a0b575ff41f7ee2d834)

Conflicts:
	compiler/frontend/src/org/jetbrains/kotlin/diagnostics/Errors.java
2016-02-02 16:40:24 +03:00
Michael Bogdanov
05437aed3d Generate package private visibility in bytecode for private classes
(cherry picked from commit c49ef8a)
2016-02-02 16:35:33 +03:00
Dmitry Jemerov
18461f067b don't try to parse empty text as XML
(cherry picked from commit 4a1d282)
2016-02-02 13:41:00 +01:00
Nikolay Krasko
c04f3bfbf1 Failed build is good enough for version increment 2016-02-02 15:36:10 +03:00
Denis Zharkov
ab3268957c Refine 'isMoreSpecific' calculation
Choose member with better visibility, it's needed for proper calculation
of types intersection member scope

 #KT-10481 Fixed
2016-02-02 15:28:45 +03:00
Ilya Gorbunov
bf2449876a Add UTF_32 charsets to Charsets object as lazy initialized properties.
#KT-10379 Fixed

(cherry picked from commit 148b53fc62)
2016-02-02 15:27:27 +03:00
Dmitry Petrov
07b2cff0aa Fix for KT-10881 Declaring constant in a mutlifile class causes an IllegalAccessError on its usage.
Generate fields for 'const' properties in facade class.

NB reading annotations for 'const' vals in multifile class doesn't work, KT-10892.
2016-02-02 15:13:40 +03:00
Yan Zhulanow
aec9bd7d52 Check annotations on default property getter/setter 2016-02-02 13:16:29 +03:00
Ilya Gorbunov
1523c95379 Make DEFAULT_BUFFER_SIZE a constant.
(cherry picked from commit 0519254)
2016-02-01 22:28:06 +03:00
Ilya Gorbunov
7c9efb1f4f Fix testData
(cherry picked from commit 801a26a)
2016-02-01 22:28:00 +03:00
Ilya Gorbunov
1360d75849 Do not inline Regex.replace
(cherry picked from commit a192915)
2016-02-01 22:27:54 +03:00
Ilya Gorbunov
5028859097 Introduce annotation InlineExposed to indicate internal members effectively public due to usage in inlined functions.
Currently, doesn't affect anything.

Make collectionSizeOrDefault and collectionSizeOrNull internal, but expose them via inlining together with mapCapacity.

Make Regex(Pattern) constructor exposed by inlined Pattern.toRegex
(cherry picked from commit dccae6c)
2016-02-01 22:27:47 +03:00
Ilya Gorbunov
1b03ba305a Make all assert inline. Field _Assertions.ENABLED instead of property ASSERTIONS_ENABLED
(cherry picked from commit dacf25f)
2016-02-01 22:27:35 +03:00
Ilya Gorbunov
def8d30322 IDEA version for bootstrapping
Build markdown every time (again).
(cherry picked from commit c763b59)
2016-02-01 22:27:21 +03:00
Ilya Gorbunov
500cc0c33c Throw assertion when inline-only is applied without inline
(cherry picked from commit 1cef327)
2016-02-01 22:27:11 +03:00
Ilya Gorbunov
ed09405d2e Do not use inline-only in java
(cherry picked from commit a12fe2c)
2016-02-01 22:27:05 +03:00
Ilya Gorbunov
8c6a32cd0b Include internal annotatations in mock runtime
(cherry picked from commit 8a00db5)
2016-02-01 22:26:59 +03:00
Ilya Gorbunov
fefa08bfc9 Deprecate currentThread property
(cherry picked from commit fc3f98d)
2016-02-01 22:26:49 +03:00
Ilya Gorbunov
53564770f2 Drop CharSequence.get extension
(cherry picked from commit 42bd8df)
2016-02-01 22:26:42 +03:00
Ilya Gorbunov
d89a3024ac Swap parameters in File.forEachBlock
(cherry picked from commit 1eee1fa)
2016-02-01 22:26:33 +03:00
Ilya Gorbunov
23105b1c7e Inline-only in kotlin.comparisons
(cherry picked from commit abe9270)
2016-02-01 22:26:30 +03:00
Ilya Gorbunov
80034fce1b Inline-only in kotlin.io
(cherry picked from commit 54977ee)
2016-02-01 22:26:05 +03:00
Ilya Gorbunov
933b4b2645 Inline-only in kotlin.text
(cherry picked from commit 47d580c)
2016-02-01 22:25:47 +03:00
Ilya Gorbunov
ebe9b23dcc Inline-only in kotlin and kotlin.system packages, split Float/Double extension implementations for JVM and JS to make them inline-only in JVM.
(cherry picked from commit 56c5758)
2016-02-01 22:25:36 +03:00
Ilya Gorbunov
dd81988a58 Inline-only in kotlin.concurrent, make all timer utilities inline.
(cherry picked from commit 40fae04)
2016-02-01 22:25:22 +03:00
Ilya Gorbunov
1800869ed5 Inline-only in kotlin.collections
(cherry picked from commit ce5fd3e)
2016-02-01 22:25:15 +03:00
Ilya Gorbunov
c8c36d7d56 Inline-only in generated code
(cherry picked from commit c7bd707)
2016-02-01 22:25:08 +03:00
Ilya Gorbunov
25cdcd6dd9 StdLib Generators: support three flavors of inline
(cherry picked from commit 8c0008a)
2016-02-01 22:25:01 +03:00
Dmitry Jemerov
d9a81aa8fc don't apply StandardScriptDefinition in REPL
(cherry picked from commit 38b58db)
2016-02-01 19:23:28 +01:00
Dmitry Jemerov
a93ce4aa80 correctly separate stdout and stderr when parsing REPL output
(cherry picked from commit 84f9cb9)
2016-02-01 19:23:20 +01:00
Ilya Gorbunov
7e31c16983 Wrap exceptions thrown by class builders and add details about class file being generated.
(cherry picked from commit 3ae4c03)
2016-02-01 21:02:31 +03:00
Ilya Gorbunov
92e1fd6cfb Verify index expectations for reduceIndexed/reduceRightIndexed
(cherry picked from commit 4f1418b)
2016-02-01 21:02:25 +03:00
Ilya Gorbunov
ee29f8294e Minor: verify exception type of failed fold/reduce
(cherry picked from commit 1357c77)
2016-02-01 21:02:20 +03:00
Gabriel Borges
d76f55396a Add foldIndexed and reduceIndexed groups of functions
- foldIndexed, foldRightIndexed, reduceIndexed and reduceRightIndexed have been added, in line with filterIndexed etc.;
- Test cases added appropriately for the new functions.
(cherry picked from commit d58efff)
2016-02-01 21:02:13 +03:00
Ilya Gorbunov
a1bed57179 InlineOnly annotation suppresses NOTHING_TO_INLINE diagnostics.
(cherry picked from commit 911940d)
2016-02-01 21:01:52 +03:00
Dmitry Jemerov
fa7eac71f1 remove old API usage inspection
(cherry picked from commit 95683bb)
2016-02-01 18:46:36 +01:00
Mikhail Glukhikh
ef5b692f9b Annotations on object literals are now correctly resolved #KT-9320 Fixed
(cherry picked from commit 84100ab)
2016-02-01 20:05:07 +03:00
Michael Bogdanov
b9a4890a14 Fix for KT-10729: Accessing private const field in companion object from a function in the same companion generates run-time error
(cherry picked from commit 5f38c1d)
2016-02-01 18:43:13 +03:00
Michael Bogdanov
d3c612a035 Idea dependency updated to 143.2072
(cherry picked from commit 9790afb)
2016-02-01 18:38:05 +03:00
Michael Bogdanov
9ba7338a9c Removed old default generation
(cherry picked from commit 328b9bf)
2016-02-01 18:38:02 +03:00
Michael Bogdanov
30a1a95a3a Added assertion for super call with default arguments in function default impl body
(cherry picked from commit c9cc9c5)
2016-02-01 18:37:49 +03:00
Michael Bogdanov
525bce6cc5 KT-10670: Debugger: Evaluate Expression/Watches fail for inline function parameter initialized with default value
#KT-10670 Fixed
(cherry picked from commit dc2cb40)
2016-02-01 18:37:47 +03:00
Michael Bogdanov
2e0412679c Fix for KT-10659: Debugger: Evaluate Expression and Watches fail for inline function parameter passed by reference
#KT-10659 Fixed
(cherry picked from commit d4df7aa)
2016-02-01 18:37:44 +03:00
Pavel V. Talanov
85d4cf8fc5 Fix NPE on trying to compile script files
(There is still no design)
2016-02-01 17:42:31 +03:00
teamcity
1d54f3dd60 Auto-merge rc with rc 2016-02-01 17:38:13 +03:00
Mikhail Glukhikh
de853b8961 Correct report of NO_VALUE_FOR_PARAMETER when function call contains no brackets and lambda at the end #KT-7813 Fixed
(cherry picked from commit d194af5)
2016-02-01 17:14:02 +03:00
teamcity
e1dda7e220 Auto-merge rc with rc 2016-02-01 16:33:31 +03:00
Yan Zhulanow
19685e9974 Kapt: compile kotlinAfterJava without Jdk as well in Android projects (KT-10854) 2016-02-01 14:34:13 +03:00
Denis Zharkov
4e46b0ca90 Temporary disable warning about unchecked reified argument
#KT-10847 Fixed
 #KT-6484 Reopened
2016-02-01 13:40:30 +03:00
teamcity
87046ade42 Auto-merge rc with rc 2016-01-30 00:15:02 +03:00
Mikhail Glukhikh
47b2adbb78 Take into account data flow info changes for special call (if/when/elvis/!!) arguments #KT-10824 Fixed
Smart casts on complex expressions look as no more possible
(cherry picked from commit ed8ccdc)
2016-01-29 17:45:18 +03:00
Mikhail Glukhikh
d19e59576c Fix for unprocessed lambda under not-null assertion #KT-10843 Fixed
Also #EA-76890 Fixed
(cherry picked from commit 4691351)
2016-01-29 17:32:14 +03:00
Mikhail Glukhikh
4095c54028 Additional catch for ReenteringLazyValueComputationException #KT-8448 Fixed
Also #EA-76264 Fixed
(cherry picked from commit 7fd1f50)
2016-01-29 17:30:48 +03:00
Mikhail Glukhikh
ec3ef1bb03 One non-processed branch is now allowed for if statement #KT-10805 Fixed
Also #EA-64033 Fixed
(cherry picked from commit 7e26fa6)
2016-01-29 17:29:47 +03:00
teamcity
1498c1383b Auto-merge rc with rc 2016-01-29 17:25:07 +03:00
Evgeny Gerashchenko
a497b1fbf7 Minor. Syntax error cosmetics.
(cherry picked from commit c242ad9)
2016-01-29 15:09:49 +03:00
Evgeny Gerashchenko
27a013de2a KT-8275 Unterminated multi-line comment should be compilation error
#KT-8275 fixed
(cherry picked from commit 0d79c65)
2016-01-29 15:09:43 +03:00
teamcity
69543b5e39 Auto-merge rc with rc 2016-01-28 20:39:56 +03:00
Dmitry Jemerov
f36a68dcd4 remove logic to filter perf output from compiler output
(cherry picked from commit 6d7e1c6)
2016-01-28 16:13:46 +01:00
Dmitry Jemerov
8a68bc4061 report perf only if enabled in command line
(cherry picked from commit 6f7aed2)
2016-01-28 16:13:38 +01:00
Mikhail Glukhikh
d6a7780971 Regression: correct smart cast from Type? to Type!
(cherry picked from commit 5062ce2)
2016-01-28 17:51:38 +03:00
Nikolay Krasko
d636eb4494 Download latest jps-test library with updated collections 2016-01-28 14:34:23 +03:00
teamcity
40f0ee6598 Auto-merge rc with rc 2016-01-28 12:46:39 +03:00
Ilya Gorbunov
1ac8602bc8 Move IndexedValue to kotlin.collections. 2016-01-28 12:38:09 +03:00
Nikolay Krasko
503053dfb2 Parametrize maven deploy to allow pushing to bintray 2016-01-28 11:58:14 +03:00
teamcity
203783b7bf Auto-merge rc with rc 2016-01-28 10:20:15 +03:00
Alexander Udalov
6b62d18da0 Mark array constructors with 'inline'
To allow non-local returns from lambdas passed to them
2016-01-28 03:15:37 +03:00
Alexander Udalov
b181e3095d Reimplement generation of intrinsic array constructors
Instead of relying on a class from the runtime (which thus cannot be deleted
from the runtime ever), rely on a class from the compiler instead. This has a
minor downside: that class is compiled by the bootstrap compiler, so if codegen
of 'for'-loops or something else used in that class changes, it won't
immediately have an effect on a local working copy (on the build server
everything will be fine because of a 2-step building process).

In the future it may make sense to just manually create all the bytecode
instructions and dump them into a MethodNode. Currently the amount of work
needed for that seems rather significant
2016-01-28 03:15:35 +03:00
Alexander Udalov
d2108f5dea Minor, prettify Kotlin code in source maps 2016-01-28 03:15:34 +03:00
Alexander Udalov
0989a202b4 Optimize getFqName calls in KotlinBuiltIns
Check the simple name first, and only then construct the full FqName, in all
'is*' methods
2016-01-28 03:15:31 +03:00
Alexander Udalov
6f7091291e Make Array<T>(size, init) a constructor of Array
It's not marked as inline, this is why 'crossinline' was added in
jaggedArray.kt/jaggedDeep.kt. Will be fixed in the following commits
2016-01-28 03:15:29 +03:00
Alexander Udalov
f08f917160 Minor, drop DescriptorRendererOptions#prettyFunctionTypes 2016-01-28 03:15:27 +03:00
Alexander Udalov
eab81dab2d Make primitive array factory functions constructors 2016-01-28 03:15:26 +03:00
Alexander Udalov
02aa1246b8 Minor, improve AbstractLazyType#toString for debug 2016-01-28 03:15:24 +03:00
Alexander Udalov
18a17249c7 Minor, fix Array kdoc 2016-01-28 03:15:22 +03:00
Nikolay Krasko
0ceb2ab64d Merge remote-tracking branch 'origin/rc' into idea_continuous/br141
Conflicts:
	update_dependencies.xml
2016-01-28 02:11:42 +03:00
Nikolay Krasko
7de466f089 No clearFileAccessorCache in br141 2016-01-28 02:08:22 +03:00
Nikolay Krasko
91f34e2d05 Reorder output in testdata in br141 2016-01-28 01:39:15 +03:00
Nikolay Krasko
a1b0742253 Bug with not-inlined templates in br141 2016-01-28 01:39:03 +03:00
Nikolay Krasko
1167d2e22f Exclude addition files from conformance test 2016-01-28 01:38:46 +03:00
Nikolay Krasko
6a400cfdf3 Disable moving files 2016-01-28 01:38:03 +03:00
Nikolay Krasko
8665ee5b61 Merge tag 'build-1.0.0-dev-168' into idea_continuous/br141
Conflicts:
	idea/idea-core/src/org/jetbrains/kotlin/idea/core/KotlinIndicesHelper.kt
	idea/src/org/jetbrains/kotlin/idea/codeInsight/KotlinExpressionTypeProvider.kt
	idea/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinSteppingCommandProvider.kt
	idea/testData/debugger/tinyApp/src/stepping/stepOver/stepOverIfWithInline.kt
	update_dependencies.xml
2016-01-28 01:34:55 +03:00
Ilya Gorbunov
f96265b06f Allow call assertFailsWith<T> with default message. 2016-01-28 00:17:50 +03:00
Dmitry Jemerov
23152df154 back to correct bootstrap for RC branch 2016-01-27 19:52:15 +03:00
Dmitry Jemerov
c36275787e temp revert bootstrap changes 2016-01-27 19:52:14 +03:00
Dmitry Jemerov
d729c8ce7d don't use bootstrap tag for fetching bootstrap build, use latest build 2016-01-27 19:52:13 +03:00
Dmitry Jemerov
3a19f77408 update_dependencies set up for RC branch 2016-01-27 19:52:13 +03:00
Nikolay Krasko
77314b3b67 Fix debugger test data 2016-01-25 16:24:05 +03:00
Nikolay Krasko
8210ab121b Fix compile errors 2016-01-25 15:31:04 +03:00
Nikolay Krasko
cef2dfc372 Fix compile errors in debugger 2016-01-25 15:15:00 +03:00
Nikolay Krasko
e62b7d4751 Use ::java.class 2016-01-25 15:13:52 +03:00
Nikolay Krasko
153c76eec8 Remove JavaClassSupers from br141 and use ::java.class 2016-01-25 15:11:45 +03:00
Nikolay Krasko
7ab2f258c0 Remove REPORT_PERF setup 2016-01-25 14:57:00 +03:00
Nikolay Krasko
77c064624d Fix compile error in kotlin plugin updater 2016-01-25 14:39:17 +03:00
Nikolay Krasko
06399162c6 Fix compile errors in library configuration 2016-01-24 18:05:54 +03:00
Nikolay Krasko
d9c833305c Merge remote-tracking branch 'origin/rc' into idea_continuous/br141 (naive version) 2016-01-22 20:34:09 +03:00
Dmitry Jemerov
3a1663febc use <default> branch 2016-01-22 16:58:23 +01:00
Dmitry Jemerov
5ef274b988 stop using non-default branch for downloading IDEA 2016-01-22 16:56:09 +01:00
Dmitry Jemerov
346fb74751 back to correct bootstrap for RC branch 2016-01-22 16:14:13 +01:00
Dmitry Jemerov
1b885818fe temp revert bootstrap changes 2016-01-22 15:16:13 +01:00
Dmitry Jemerov
61756aee19 don't use bootstrap tag for fetching bootstrap build, use latest build 2016-01-22 13:49:41 +01:00
Dmitry Jemerov
8ff4f75ead update_dependencies set up for RC branch 2016-01-22 13:41:27 +01:00
Nikolay Krasko
bc94c6cd86 Merge tag 'build-1.0.0-beta-4524' into idea_continuous/br141 2015-12-18 20:50:12 +03:00
Nikolay Krasko
10a40d43a9 Compilation fix 2015-12-18 20:48:30 +03:00
Nikolay Krasko
2b124a6a7c Merge tag 'build-1.0.0-beta-4491' into idea_continuous/br141
Conflicts:
	idea/src/META-INF/plugin.xml
	j2k/tests/org/jetbrains/kotlin/j2k/AbstractJavaToKotlinConverterForWebDemoTest.kt
2015-12-17 20:39:14 +03:00
Nikolay Krasko
1a8dd30801 Bug in idea br141 inner classes generic parameter processing - disable tests 2015-12-17 20:08:33 +03:00
Nikolay Krasko
571f596920 Fix errors - remove builtins reference resolver 2015-12-17 14:20:36 +03:00
Nikolay Krasko
f8d9ba0fc5 Merge tag 'build-1.0.0-beta-4478' into idea_continuous/br141
Conflicts:
	idea/idea-test-framework/src/org/jetbrains/kotlin/idea/test/testUtils.kt
2015-12-17 13:36:57 +03:00
Nikolay Krasko
26e5fa7206 Test data reorder 2015-12-16 18:49:47 +03:00
Nikolay Krasko
18b1790a90 Junit 4.12->4.11 in br141 and modify test data for one test 2015-12-16 18:44:30 +03:00
Nikolay Krasko
2f1565badb Fix tests in debugger 2015-12-16 14:45:28 +03:00
Nikolay Krasko
4b94fb84f0 Revert "Revert "Original type is taken into account when intersecting possible types in resolve #KT-10232 Fixed""
This reverts commit 170a0393f6.
2015-12-15 22:03:01 +03:00
Nikolay Krasko
792b34936c Merge tag 'build-1.0.0-beta-4421' into idea_continuous/br141 2015-12-15 20:19:17 +03:00
Nikolay Krasko
f87e2633c0 Fix compile errors after merge 2015-12-15 18:00:52 +03:00
Nikolay Krasko
7c4c98fc20 Revert "Implement 'Skip simple getters' for debugger"
This reverts commit ea8de883ac.
2015-12-15 18:00:50 +03:00
Nikolay Krasko
b44215bc70 Fixes after merge 2015-12-15 18:00:37 +03:00
Nikolay Krasko
f52c3ae3ec Merge tag 'build-1.0.0-beta-4413' into idea_continuous/br141
Conflicts:
	core/descriptors/src/org/jetbrains/kotlin/builtins/BuiltInSerializerProtocol.kt
	idea/idea-analysis/src/org/jetbrains/kotlin/idea/decompiler/KotlinDecompiledFileViewProvider.kt
	idea/idea-analysis/src/org/jetbrains/kotlin/idea/decompiler/KtDecompiledFile.kt
	idea/idea-analysis/src/org/jetbrains/kotlin/idea/decompiler/common/ProtoBufUtil.kt
	idea/src/META-INF/plugin.xml
	idea/src/org/jetbrains/kotlin/idea/debugger/KotlinPositionManager.kt
	idea/src/org/jetbrains/kotlin/idea/debugger/breakpoints/KotlinBreakpointHandlerFactory.kt
	idea/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinLambdaSmartStepIntoTarget.kt
	idea/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinMethodSmartStepIntoTarget.kt
	idea/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinSteppingCommandProvider.kt
	idea/src/org/jetbrains/kotlin/idea/highlighter/KotlinTestRunLineMarkerContributor.kt
	idea/src/org/jetbrains/kotlin/idea/quickfix/createFromUsage/callableBuilder/CallableBuilder.kt
	idea/testData/debugger/tinyApp/src/stepping/custom/smartStepIntoInlinedFunctionalExpression.kt
	idea/tests/org/jetbrains/kotlin/idea/debugger/KotlinDebuggerTestCase.java
	idea/tests/org/jetbrains/kotlin/idea/debugger/KotlinSteppingTestGenerated.java
2015-12-15 16:04:50 +03:00
Nikolay Krasko
0a35656c34 Revert "Update kotlin run configuration editor"
This reverts commit a19708693b.
2015-12-04 14:55:32 +03:00
Nikolay Krasko
1295c6fdd1 Merge tag 'build-1.0.0-beta-4093' into idea_continuous/br141 2015-12-04 14:53:56 +03:00
Nikolay Krasko
cad98a6906 Fix compilation errors in br141 in move dialog 2015-12-03 15:20:44 +03:00
Nikolay Krasko
49b1f78a9f Merge tag 'build-1.0.0-beta-4058' into idea_continuous/br141 2015-12-03 12:50:03 +03:00
Nikolay Krasko
d52896b601 Suppress failure in testInlineFunctionsCircularDependency tests 2015-12-02 19:27:35 +03:00
Nikolay Krasko
c503129083 Update test data in br141 2015-12-02 19:26:50 +03:00
Nikolay Krasko
dd9dfe0177 Mute "smap" test in br141 2015-12-02 18:27:30 +03:00
Nikolay Krasko
802dd0003b Fix smap test-data in br141 2015-12-02 18:27:06 +03:00
Nikolay Krasko
fd1cb69d29 Merge remote-tracking branch 'origin/master' into idea_continuous/br141 2015-12-01 20:53:29 +03:00
Nikolay Krasko
8a66175682 Revert idea_continuous/br141 settings 2015-12-01 20:49:16 +03:00
Nikolay Krasko
c2f8386b02 Workaround failure in testInlineFunctionsCircularDependency tests
There's difference in bytecode produced with non-incremental and incremental compilers between br141 and master because of ASM version
2015-12-01 19:35:38 +03:00
Nikolay Krasko
aa1a99a6eb Fix testdata in br141
- old ASM can't read multiple line numbers
- impossible to place breakpoint inside lambda
2015-12-01 19:26:32 +03:00
Nikolay Krasko
51f0cebba3 Revert line number update because of old ASM in br141 2015-12-01 18:52:50 +03:00
Nikolay Krasko
d82ef969ac Merge branch 'beta3' into idea_continuous/br141 2015-12-01 17:52:46 +03:00
Nikolay Krasko
50dcd08cb5 Enable auto-increment 2015-12-01 15:27:00 +03:00
Pavel V. Talanov
df6298de39 Minor, getModuleInfo: improve on failure messages 2015-12-01 14:55:41 +03:00
Pavel V. Talanov
a9c1e57230 getModuleInfo: Provide utility to default to null instead of logging an error
Use it to workaround cases when java resolve references some unexpected classes/files, referencing non-physical Dummy.java in particular
2015-12-01 14:55:39 +03:00
Pavel V. Talanov
378a964c2f getModuleInfo: Correct module info for members of light classes for decompiled Kotlin classes 2015-12-01 14:55:38 +03:00
Stanislav Erokhin
170a0393f6 Revert "Original type is taken into account when intersecting possible types in resolve #KT-10232 Fixed"
This reverts commit fe04cc513b.
2015-12-01 13:02:45 +03:00
Nikolay Krasko
95d4dd4962 Enable bootstrapping in branch 2015-12-01 00:02:09 +03:00
Nikolay Krasko
288248c964 Remove android extension plugin from relay 2015-11-30 23:58:28 +03:00
Nikolay Krasko
8d271d3d4d Disable clearing handlers in br141 - no such method 2015-11-30 20:47:35 +03:00
Nikolay Krasko
6c898b4c3e Fix compile errors after merge 2015-11-30 20:47:08 +03:00
Nikolay Krasko
0c65310b9e Replace IdeModifiableModelsProvider -> MavenModifiableModelsProvider 2015-11-30 20:26:25 +03:00
Nikolay Krasko
1bc76d0753 Comment Gradle configurator in br141 2015-11-30 20:24:43 +03:00
Nikolay Krasko
0b49512ade Merge with beta3 2015-11-30 20:21:27 +03:00
Nikolay Krasko
e58a45c9d8 Remove some tests no working on idea 141 and make change signature work with invalid old indecies 2015-11-11 18:14:37 +03:00
Nikolay Krasko
7906615ae9 Merge tag 'build-1.0.0-beta-2403' into beta2_/br141 2015-11-11 14:32:24 +03:00
Nikolay Krasko
eeeb26ddda Merge tag 'build-1.0.0-beta-2385' into idea_continuous/br141 2015-11-11 03:12:56 +03:00
Nikolay Krasko
e4905931b6 Revert unwrapping usages lost in merge 2015-11-10 17:30:15 +03:00
Nikolay Krasko
40cecdaa33 Patch debugger test data 2015-11-10 17:29:59 +03:00
Nikolay Krasko
e8e9e27903 Restore KotlinReportSubmitter 2015-11-10 17:29:42 +03:00
Nikolay Krasko
3e1cd44df8 Fix compile errors after merge 2015-11-10 15:29:02 +03:00
Nikolay Krasko
12447eace1 Merge tag 'build-1.0.0-beta-2364' into idea_continuous/br141
# Conflicts:
#	idea/idea-analysis/src/org/jetbrains/kotlin/idea/decompiler/KotlinJavascriptMetaFile.kt
#	idea/idea-analysis/src/org/jetbrains/kotlin/idea/decompiler/KtClsFile.kt
#	idea/idea-analysis/src/org/jetbrains/kotlin/idea/decompiler/KtClsFileBase.kt
#	idea/idea-analysis/src/org/jetbrains/kotlin/idea/decompiler/kotlinFileViewProviders.kt
#	idea/idea-test-framework/src/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt
#	idea/idea-test-framework/src/org/jetbrains/kotlin/idea/test/KotlinLightPlatformCodeInsightFixtureTestCase.kt
#	idea/idea-test-framework/src/org/jetbrains/kotlin/idea/test/KotlinLightProjectDescriptor.java
#	idea/src/META-INF/plugin.xml
#	idea/src/org/jetbrains/kotlin/idea/debugger/KotlinPositionManager.kt
#	idea/src/org/jetbrains/kotlin/idea/debugger/stepping/DebuggerSteppingHelper.java
#	idea/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinSteppingCommandProvider.kt
#	idea/src/org/jetbrains/kotlin/idea/findUsages/handlers/KotlinFindClassUsagesHandler.kt
#	idea/src/org/jetbrains/kotlin/idea/highlighter/KotlinTestRunLineMarkerContributor.kt
#	idea/src/org/jetbrains/kotlin/idea/quickfix/KotlinAddOrderEntryActionFactory.kt
#	idea/src/org/jetbrains/kotlin/idea/refactoring/changeSignature/JetChangeSignatureUsageProcessor.java
#	idea/tests/org/jetbrains/kotlin/idea/codeInsight/AbstractOverrideImplementTest.kt
#	idea/tests/org/jetbrains/kotlin/idea/debugger/KotlinDebuggerTestCase.java
#	idea/tests/org/jetbrains/kotlin/idea/debugger/KotlinSteppingTestGenerated.java
#	idea/tests/org/jetbrains/kotlin/idea/debugger/SmartStepIntoTestGenerated.java
#	idea/tests/org/jetbrains/kotlin/idea/debugger/evaluate/KotlinEvaluateExpressionTestGenerated.java
#	idea/tests/org/jetbrains/kotlin/idea/quickfix/QuickFixTestGenerated.java
#	idea/tests/org/jetbrains/kotlin/idea/refactoring/changeSignature/JetChangeSignatureTest.java
#	idea/tests/org/jetbrains/kotlin/search/JUnitMembersSearcherTest.java
#	plugins/android-idea-plugin/tests/org/jetbrains/kotlin/android/KotlinAndroidTestCase.java
2015-11-10 14:52:58 +03:00
Nikolay Krasko
a7ad17fd6d Merge tag 'build-1.0.0-beta-2181' into idea_continuous/br141 2015-11-10 13:58:04 +03:00
Natalia Ukhorskaya
27140671db Drop smart step into: cannot be implemented on 141 2015-10-30 15:48:19 +03:00
Natalia Ukhorskaya
d36e01dbdd Fix debugger tests 2015-10-30 15:45:06 +03:00
Natalia Ukhorskaya
c9cb0abfad Fix wrong merge 2015-10-30 15:27:01 +03:00
Natalia Ukhorskaya
b0bb109209 Merge remote-tracking branch 'origin/master' into idea_continuous/br141
Conflicts:
	idea/src/org/jetbrains/kotlin/idea/debugger/JetPositionManager.kt
	idea/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinSteppingCommandProvider.kt
	idea/testData/debugger/tinyApp/src/evaluate/multipleBreakpoints/multipleBreakpointsAtLine.kt
	idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/compilingEvaluator/ceAnonymousObjectCapturedInClosure.kt
	idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/lambdas/twoLambdasOnOneLineFirst.kt
	idea/testData/debugger/tinyApp/src/stepping/custom/severalFunLiterals.kt
	idea/testData/debugger/tinyApp/src/stepping/custom/severalFunLiteralsInClass.kt
	idea/tests/org/jetbrains/kotlin/idea/debugger/KotlinSteppingTestGenerated.java
2015-10-30 15:19:07 +03:00
Natalia Ukhorskaya
d80eb5765e Fix some errors after merge 2015-10-30 15:00:29 +03:00
Natalia Ukhorskaya
3c74b0fcce Revert 932542891b
Stepping for inline functions: add test for last statement in for
2015-10-30 12:48:37 +03:00
Natalia Ukhorskaya
6f9ed63dc9 Revert e534636f03
Support multiple breakpoints at one line (especially for lambdas)
2015-10-30 12:47:25 +03:00
Natalia Ukhorskaya
d56512fd57 Revert 17a564495d
Stepping for inline function: filter out inline function body lines from step over  #KT-9665 Fixed
2015-10-30 12:43:15 +03:00
Natalia Ukhorskaya
b84c73eab2 Revert 66a5351cd0
Do not show fake local variables for inline function/argument in Variables View for Debugger
2015-10-30 12:41:33 +03:00
Natalia Ukhorskaya
1ce461dbfa Revert cdcafb8199
Fix stepping for inline function inside while statement
2015-10-30 12:40:09 +03:00
Natalia Ukhorskaya
39348e38ec Merge remote-tracking branch 'origin/master' into idea_continuous/br141
Conflicts:
	idea/src/META-INF/plugin.xml
	idea/src/org/jetbrains/kotlin/idea/debugger/breakpoints/KotlinLineBreakpointType.java
	idea/src/org/jetbrains/kotlin/idea/debugger/breakpoints/breakpointTypeUtils.kt
	idea/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinLambdaSmartStepIntoTarget.kt
	idea/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinSteppingCommandProvider.kt
	idea/testData/debugger/tinyApp/outs/breakpointInInlineFun.out
	idea/testData/debugger/tinyApp/outs/ceAnonymousObjectCapturedInClosure.out
	idea/testData/debugger/tinyApp/outs/customLibClassName.out
	idea/testData/debugger/tinyApp/outs/fwAbstractProperty.out
	idea/testData/debugger/tinyApp/outs/fwBackingField.out
	idea/testData/debugger/tinyApp/outs/fwInitializer.out
	idea/testData/debugger/tinyApp/outs/fwPropertyInInterface.out
	idea/testData/debugger/tinyApp/outs/localFunInLibrary.out
	idea/testData/debugger/tinyApp/outs/severalFunLiterals.out
	idea/testData/debugger/tinyApp/outs/severalFunLiteralsInClass.out
	idea/testData/debugger/tinyApp/outs/stepIntoStdlibInlineFun2step.out
	idea/testData/debugger/tinyApp/outs/twoLambdasOnOneLineFirst.out
	idea/testData/debugger/tinyApp/outs/withoutBodyProperties.out
	idea/testData/debugger/tinyApp/src/stepping/stepOver/stepOverIfWithInline.kt
	idea/tests/org/jetbrains/kotlin/idea/debugger/KotlinDebuggerTestBase.kt
	idea/tests/org/jetbrains/kotlin/idea/debugger/KotlinSteppingTestGenerated.java
	idea/tests/org/jetbrains/kotlin/idea/refactoring/changeSignature/JetChangeSignatureTest.java
2015-10-30 12:36:50 +03:00
TeamCityServer
177897e1f9 Auto-merge with tag <default> 2015-10-26 19:09:28 +03:00
Nikolay Krasko
81edaa94aa Merge tag 'build-1.0.0-beta-1175' into idea_continuous/br141 2015-10-26 17:25:14 +03:00
teamcity
fb3c9c8479 Auto-merge M15 with <default> 2015-10-21 16:52:31 +03:00
Valentin Kipyatkov
3aff0f1107 J2K: fixed conversion of Throwable.getMessage(), Throwable.getCause(), Map.Entry.getKey() and Map.Entry.getValue()
(cherry picked from commit 36ea9cf)
2015-10-21 13:48:44 +03:00
Nikolay Krasko
cbb5e27c14 Merge remote-tracking branch 'origin/M15' into M15_/br141 2015-10-21 12:41:52 +03:00
Nikolay Krasko
5c294538d7 Merge branch 'M15_/br143' into M15_/br141 2015-10-21 00:33:55 +03:00
Michael Bogdanov
5857a02841 Stable element order in redeclaration diagnostic
(cherry picked from commit d054c6b)
2015-10-20 19:45:50 +02:00
Nikolay Krasko
ddf714b93c Temporary get jps-build-test library from last idea because it was built with the newer kotlin 2015-10-20 19:51:38 +03:00
Denis Zharkov
541001fdb1 Mixin kotlin.Number methods into j.l.Number member scope
#KT-9672 Fixed
2015-10-20 19:43:34 +03:00
Ilya Gorbunov
b389f1947d Add deprecated xxxValue() extensions to Number for migration. 2015-10-20 18:25:24 +03:00
Nikolay Krasko
62dde8bf14 Fix tearDown in android tests 2015-10-20 18:22:31 +03:00
Dmitry Jemerov
dfe854796b rename Kt to Kotlin in KtType, KtIcons 2015-10-20 16:44:48 +02:00
Nikolay Krasko
dbae0bcb59 Fix compilation and debugger tests 2015-10-20 17:15:42 +03:00
Ilya Gorbunov
3cab96599f Correct deprecation message for StringBuilder { }. 2015-10-20 16:33:34 +03:00
Andrey Breslav
b53d935e83 Create empty sources JAR for kotlin-osgi-bundle 2015-10-20 16:25:14 +03:00
Nikolay Krasko
d6806a3307 Merge remote-tracking branch 'origin/M15' into idea_continuous/br141
# Conflicts:
#	idea/idea-analysis/src/org/jetbrains/kotlin/idea/decompiler/KotlinClsFileBase.kt
#	idea/idea-analysis/src/org/jetbrains/kotlin/idea/decompiler/kotlinFileViewProviders.kt
#	idea/idea-test-framework/src/org/jetbrains/kotlin/idea/test/testUtils.kt
#	idea/src/org/jetbrains/kotlin/idea/actions/ShowExpressionTypeAction.kt
#	idea/src/org/jetbrains/kotlin/idea/codeInsight/KotlinExpressionTypeProvider.kt
#	idea/src/org/jetbrains/kotlin/idea/debugger/KotlinSourcePositionHighlighter.kt
#	idea/src/org/jetbrains/kotlin/idea/debugger/breakpoints/KotlinLineBreakpointType.java
#	idea/src/org/jetbrains/kotlin/idea/debugger/breakpoints/breakpointTypeUtils.kt
#	idea/src/org/jetbrains/kotlin/idea/debugger/stepping/DebuggerSteppingHelper.java
#	idea/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinLambdaSmartStepIntoTarget.kt
#	idea/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinMethodSmartStepIntoTarget.kt
#	idea/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinSteppingCommandProvider.kt
#	idea/src/org/jetbrains/kotlin/idea/highlighter/KotlinRunLineMarkerContributor.kt
#	idea/src/org/jetbrains/kotlin/idea/highlighter/KotlinTestRunLineMarkerContributor.kt
#	idea/src/org/jetbrains/kotlin/idea/inspections/UnusedSymbolInspection.kt
#	idea/src/org/jetbrains/kotlin/idea/refactoring/changeSignature/JetChangeSignatureUsageProcessor.java
#	idea/src/org/jetbrains/kotlin/idea/refactoring/changeSignature/usages/JavaMethodDeferredKotlinUsage.kt
#	idea/src/org/jetbrains/kotlin/idea/search/ideaExtensions/KotlinClassesWithAnnotatedMembersSearcher.kt
#	idea/src/org/jetbrains/kotlin/idea/util/DebuggerUtils.java
#	idea/tests/org/jetbrains/kotlin/idea/debugger/KotlinDebuggerTestCase.java
2015-10-20 14:21:43 +03:00
Dmitry Jemerov
5e3884718b use standard exception reporter in release branch 2015-10-20 13:08:42 +02:00
Mikhail Glukhikh
1d97c742b7 Java 8 tests fixed (txt only) 2015-10-20 12:12:31 +03:00
Nikolay Krasko
a185f07ff5 Merge remote-tracking branch 'origin/master' into M15 2015-10-20 04:19:14 +03:00
Ilya Gorbunov
8fb533f44b Fix legacy package facade name usage. 2015-10-20 04:09:52 +03:00
Ilya Gorbunov
a186b5ee0d Alter regex in verify script for versions like 1.0.0-beta+1005 2015-10-20 03:18:17 +03:00
Nikolay Krasko
588812bede Merge tag 'build-0.15.903' into idea_continuous/br141 2015-10-20 02:52:12 +03:00
Ilya Gorbunov
d20daf9766 ReplaceWith for File.recurse 2015-10-20 02:35:10 +03:00
Ilya Gorbunov
20b1cfee0f Fix deprecations in tests 2015-10-20 02:34:56 +03:00
Ilya Gorbunov
eceae7ccda Provide deprecated unconstrained contains, indexOf, lastIndexOf methods for migration. 2015-10-20 02:34:41 +03:00
Ilya Gorbunov
d70a7c1b66 Generate contains, indexOf, lastIndexOf with @NoInfer 2015-10-20 02:34:27 +03:00
Dmitry Jemerov
22bce2e129 fix main class name for builtin serializer 2015-10-20 00:49:48 +02:00
Dmitry Jemerov
fcc0143ae1 disable perf output by default (M15) 2015-10-20 00:26:32 +02:00
Nikolay Krasko
b0b8ad2ccb Restore old uninvalidate files 2015-10-20 01:25:27 +03:00
Nikolay Krasko
9e2f16397c Fix compile errors 2015-10-19 15:11:05 +03:00
Nikolay Krasko
3066ac3d07 Merge build-0.15.848 into idea_continuous/br141
# Conflicts:
#	idea/idea-analysis/src/org/jetbrains/kotlin/idea/highlighter/JetPsiChecker.kt
#	idea/src/org/jetbrains/kotlin/idea/debugger/breakpoints/KotlinLineBreakpointType.java
#	idea/src/org/jetbrains/kotlin/idea/refactoring/changeSignature/JetChangeSignatureUsageProcessor.java
#	idea/tests/org/jetbrains/kotlin/idea/KotlinLightQuickFixTestCase.java
#	idea/tests/org/jetbrains/kotlin/idea/quickfix/AbstractQuickFixTest.java
#	plugins/android-idea-plugin/tests/org/jetbrains/kotlin/android/KotlinAndroidTestCaseBase.java
2015-10-19 14:26:14 +03:00
teamcity
5faa8ca374 Auto-merge M15 with <default> 2015-10-16 16:39:46 +03:00
Nikolay Krasko
5671b72b5b Process request for searching class with empty qualified name without errors 2015-10-16 16:23:10 +03:00
teamcity
8b9995f404 Auto-merge M15 with <default> 2015-10-15 19:57:42 +03:00
Ilya Chernikov
01309eb51c Removing dependency of kotlin plugin from daemon client (kotlinr), it should only depend on rmi-interface 2015-10-15 14:39:38 +02:00
teamcity
a2ea50a084 Auto-merge M15 with <default> 2015-10-15 05:32:49 +03:00
Nikolay Krasko
d8b44f405f Merge remote-tracking branch 'origin/M15' into M15_/br141 2015-10-15 03:13:08 +03:00
Nikolay Krasko
c0eb547afe In br141 java test finder have no restriction for physical files so it can work for Kotlin light classes 2015-10-14 16:50:01 +03:00
Nikolay Krasko
4a58a1d17d Merge branch 'M15' into M15_/br141
# Conflicts:
#	idea/src/org/jetbrains/kotlin/idea/actions/generate/KotlinGenerateActionBase.kt
2015-10-14 16:49:01 +03:00
Nikolay Krasko
9f06becea7 Fixes for tests generated actions and quickfixes 2015-10-13 21:20:16 +03:00
Nikolay Krasko
933cead115 Merge remote-tracking branch 'origin/M15' into M15_/br141 2015-10-13 15:56:16 +03:00
Nikolay Krasko
d0cbf80bee Fix bad previous merges in Kotlin debugger 2015-10-13 15:44:44 +03:00
Nikolay Krasko
ac0a43132c Fix compile errors 2015-10-12 17:52:17 +03:00
Nikolay Krasko
936e029820 Merge 0.15.449 into idea_continous/br141 2015-10-12 14:16:08 +03:00
Nikolay Krasko
3b53a3fe3e Revert more changes after merge in debugger 2015-10-11 20:12:12 +03:00
Nikolay Krasko
b0e7c45168 Revert "Debugger: do not compute location during creation of step command"
This reverts commit d441f2cf8a.
2015-10-11 20:04:50 +03:00
Nikolay Krasko
977e61f7d1 Revert new markers for running testsˆ 2015-10-11 20:04:16 +03:00
Nikolay Krasko
3fd5961613 Fix KotlinAnnotatedElementSearcher 2015-10-11 20:03:44 +03:00
Nikolay Krasko
a9479b6710 Revert "use IDEA 15 UI for "Show expression type""
This reverts commit d6ea701901.
2015-10-11 19:43:58 +03:00
Nikolay Krasko
2f7bb20d7f No ContextAwareActionHandler in idea 141 2015-10-11 19:38:51 +03:00
Nikolay Krasko
751ea6bc9f Merge tag 'build-0.15.407' into idea_continuous/br141 2015-10-11 19:36:43 +03:00
TeamCityServer
038b6beb71 Auto-merge with tag <default> 2015-10-08 02:11:42 +03:00
TeamCityServer
15ef568dec Auto-merge with tag <default> 2015-10-07 23:05:36 +03:00
TeamCityServer
a0d097485a Auto-merge with tag <default> 2015-10-07 21:34:57 +03:00
Nikolay Krasko
4575042216 Merge tag 'build-0.15.234' into idea_continuous/br141
# Conflicts:
#	idea/idea-analysis/src/org/jetbrains/kotlin/idea/decompiler/kotlinFileViewProviders.kt
#	idea/src/META-INF/plugin.xml
2015-10-07 20:02:53 +03:00
Nikolay Krasko
1e2c86ff43 Fix compilation in idea141 2015-10-06 20:35:13 +03:00
Nikolay Krasko
7228710069 Merge tag 'build-0.15.184' into idea_continuous/br141 2015-10-06 20:01:59 +03:00
TeamCityServer
bccb16615d Auto-merge with tag <default> 2015-10-02 20:14:21 +03:00
Nikolay Krasko
c2ba523a22 Revert "jna-util.jar was renamed to jna-platform.jar"
This reverts commit 9ab4aafa01.
2015-10-02 18:01:57 +03:00
Nikolay Krasko
b56c71cdc2 Method absent in Idea 141 added to fix compilation 2015-10-02 15:14:50 +03:00
Nikolay Krasko
f560590159 Merge tag 'build-0.15.76' into idea_continuous/br141 2015-10-02 13:48:55 +03:00
Nikolay Krasko
889460ff56 Merge tag 'build-0.14.437' into M14_/br141 2015-09-29 15:11:59 +03:00
Nikolay Krasko
8a91ddae10 Merge remote-tracking branch 'origin/M14' into M14_/br141 2015-09-28 16:31:15 +03:00
Nikolay Krasko
2332424696 Merge and revert all commits relates to update idea to 142.5047.6 2015-09-28 16:30:46 +03:00
Nikolay Krasko
61b32fea7c Merge commit '58fa2d3b533267f8035e6be0b3e2b77176b7d18f' into M14_/br141 2015-09-28 16:08:22 +03:00
Nikolay Krasko
3c393282cd Fix typo in extension 2015-09-28 16:02:29 +03:00
Dmitry Jemerov
daa2618146 change expected output according to changes in output due to PERF removal 2015-09-28 14:59:54 +02:00
Dmitry Kovanikov
b322636064 Minor: rename Kotlin console... action name to Kotlin REPL 2015-09-28 15:52:15 +03:00
Dmitry Kovanikov
f2c13980d1 Add icon to Kotlin console... action 2015-09-28 15:52:14 +03:00
Dmitry Kovanikov
5788d54521 KT-9262: don't show warning about non-existent location after typing ':quit' 2015-09-28 15:52:13 +03:00
Dmitry Kovanikov
9a037c1254 KT-9263: don't show error message when user tries to execute command in non-existed REPL console 2015-09-28 15:52:13 +03:00
Dmitry Kovanikov
d69bba12e9 KT-9249: show text representation of first shortcut inside repl placeholder 2015-09-28 15:52:12 +03:00
Dmitry Jemerov
a2b346f6ee dependency on java-i18n plugin
(cherry picked from commit 93e2827)
2015-09-28 14:49:56 +02:00
Mikhail Glukhikh
4203677824 ReplaceWith now functions correctly in built-ins #KT-9351 Fixed 2015-09-28 15:41:34 +03:00
Dmitry Jemerov
0d5e7a0cfc fix 'operator' modifier inspection
#KT-9349 Fixed
(cherry picked from commit ee1175d)
2015-09-28 14:40:18 +02:00
Nikolay Krasko
5a15353273 Modify cleanup test, that can't modify deprecated symbol because of invalid element
Add additional test for deprecated symbol
2015-09-28 15:40:03 +03:00
Nikolay Krasko
012c975c61 Setup building against M14 2015-09-28 14:41:15 +03:00
Nikolay Krasko
81bf3227fa Regenerate KotlinSteppingTestGenerated 2015-09-28 14:40:51 +03:00
Nikolay Krasko
a2f06278c8 Revert "IDEA 142.4859.6: Update LineNumberTestGenerated test data (due to IDEA's ASM upgrade to 5.0.4 which supports multiline labels)"
This reverts commit b4efe33efa.
2015-09-28 14:30:58 +03:00
Dmitry Jemerov
183328efe7 fix expected output that changed due to perf removal 2015-09-28 13:28:35 +02:00
Dmitry Jemerov
b1c87bab9e disable perf output by default (M13 only) 2015-09-28 13:28:15 +02:00
Nikolay Krasko
7a1135d715 Suppress warning in proguard about jna classes 2015-09-28 09:08:39 +03:00
Nikolay Krasko
17eead516c Update to IDEA 142.5047.6 2015-09-28 09:08:38 +03:00
Natalia Ukhorskaya
f0a4b4ed32 Add missing readAction 2015-09-28 09:08:38 +03:00
Natalia Ukhorskaya
0c520c5d65 jna-util.jar was renamed to jna-platform.jar 2015-09-28 09:08:37 +03:00
Natalia Ukhorskaya
61881ea3a8 Fix compilation errors 2015-09-28 09:08:37 +03:00
Natalia Ukhorskaya
735a690c60 Rewrite DebuggerTests (do not use FrameTree) 2015-09-28 09:08:36 +03:00
Nikolay Krasko
8389066f28 Fix after merge 2015-09-28 02:37:27 +03:00
Nikolay Krasko
8973ed5217 Merge remote-tracking branch 'origin/master' into idea_continuous/br141
# Conflicts:
#	idea/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinSteppingCommandProvider.kt
#	idea/testData/debugger/tinyApp/outs/stepOverInlinedLambda.out
#	idea/testData/debugger/tinyApp/src/stepping/stepOver/stepOverInlinedLambda.kt
#	idea/tests/org/jetbrains/kotlin/findUsages/AbstractJetFindUsagesTest.java
#	idea/tests/org/jetbrains/kotlin/idea/debugger/KotlinSteppingTestGenerated.java
#	update_dependencies.xml
2015-09-28 02:37:07 +03:00
Nikolay Krasko
645834e6f6 Fix compile errors 2015-09-28 02:24:52 +03:00
Nikolay Krasko
a8ae730c7f No method with icon create from vararg 2015-09-28 01:56:03 +03:00
Michael Nedzelsky
58fa2d3b53 get rid of internal JvmVersion annotation in kotlin-jdbc 2015-09-27 20:38:42 +03:00
Michael Nedzelsky
a00b390282 fix check for internal from another module in imports and file level annotations 2015-09-27 20:38:38 +03:00
Nikolay Krasko
4c9a076a8d Merge remote-tracking branch 'origin/master' into idea_continuous/br141
# Conflicts:
#	idea/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinSteppingCommandProvider.kt
#	idea/testData/debugger/tinyApp/outs/stepOverInlinedLambda.out
#	idea/testData/debugger/tinyApp/src/stepping/stepOver/stepOverInlinedLambda.kt
#	idea/tests/org/jetbrains/kotlin/findUsages/AbstractJetFindUsagesTest.java
#	idea/tests/org/jetbrains/kotlin/idea/debugger/KotlinSteppingTestGenerated.java
#	update_dependencies.xml
2015-09-25 21:29:12 +03:00
Nikolay Krasko
08d42b1333 Revert to downloading bootstrap from default branch 2015-09-25 18:13:37 +03:00
Nikolay Krasko
717c7b7caf Merge tag 'build-0.14.390' into idea_continuous/br141 2015-09-25 18:11:32 +03:00
Nikolay Krasko
eb078d5840 Temporary disable repl setup 2015-09-25 15:57:39 +03:00
Nikolay Krasko
f3b1cd0a71 Fix compilation after merge 2015-09-25 15:56:09 +03:00
Nikolay Krasko
5a116129d2 Merge remote-tracking branch 'origin/master' into idea_continuous/br141 2015-09-25 15:54:56 +03:00
Natalia Ukhorskaya
cae65bdebc Change until version of plugin for Android Studio compatibility
(cherry picked from commit 94e827747e)
2015-09-17 17:53:43 +03:00
Nikolay Krasko
712c88a900 Fix compilation 2015-09-12 17:54:14 +03:00
Nikolay Krasko
74b59aa00e Fix in debugger test data 2015-09-12 17:23:12 +03:00
Nikolay Krasko
155cf874df Fix test by inserting errors without replacing all file 2015-09-12 17:14:27 +03:00
Nikolay Krasko
c477e1825e Merge remote-tracking branch 'origin/M13' into idea_continuous/br141
# Conflicts:
#	idea/src/org/jetbrains/kotlin/idea/refactoring/changeSignature/JetChangeSignatureUsageProcessor.java
#	idea/testData/debugger/tinyApp/outs/delegatedPropertyInClass.out
#	idea/testData/debugger/tinyApp/outs/delegatedPropertyInClassWoRenderer.out
#	update_dependencies.xml
2015-09-11 13:06:43 +03:00
Nikolay Krasko
c4295de0c6 Fix compilation 2015-09-11 10:36:23 +03:00
Nikolay Krasko
fd5394665b Merge remote-tracking branch 'origin/M13' into idea_continuous/br141 2015-09-10 22:34:50 +03:00
Nikolay Krasko
a46af42022 Update dependencies files 2015-09-10 22:26:59 +03:00
Nikolay Krasko
ad77a8c416 Merge remote-tracking branch 'origin/M13' into idea_continuous/br141 2015-09-09 21:37:11 +03:00
Nikolay Krasko
39e9916629 Revert debugger test data 2015-09-09 15:42:24 +03:00
Nikolay Krasko
643147049e Merge tag 'build-0.13.1223' into idea_continuous/br141 2015-09-09 15:39:46 +03:00
Nikolay Krasko
de9c143ef4 Fixes after merge 2015-09-08 17:48:17 +03:00
Nikolay Krasko
2b656af7a7 Merge tag 'build-0.13.1180' into idea_continuous/br141
# Conflicts:
#	idea/src/org/jetbrains/kotlin/idea/debugger/render/DelegatedPropertyFieldDescriptor.kt
#	idea/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinSteppingCommandProvider.kt
#	idea/src/org/jetbrains/kotlin/idea/findUsages/handlers/KotlinFindClassUsagesHandler.kt
#	idea/src/org/jetbrains/kotlin/idea/util/DebuggerUtils.java
#	idea/testData/debugger/tinyApp/outs/delegatedPropertyInClass.out
#	idea/testData/debugger/tinyApp/outs/delegatedPropertyInClassWoRenderer.out
2015-09-08 17:32:20 +03:00
Nikolay Krasko
86c96b6011 Take method with internal visibility in br141 to local code 2015-09-07 18:15:08 +03:00
Nikolay Krasko
e7401cdaf9 Merge tag 'build-0.13.1098' into idea_continuous/br141 2015-09-07 16:29:19 +03:00
Nikolay Krasko
f8a5f91fb8 Merge tag 'build-0.13.1055' into idea_continuous/br141 2015-09-07 16:23:36 +03:00
Nikolay Krasko
ce1ec60db8 Fix compilation errors after revert 2015-09-07 16:22:20 +03:00
Nikolay Krasko
722a3f722f Revert "Debugger: support stepping over inline function"
This reverts commit 73946050c1.
2015-09-07 16:07:01 +03:00
Nikolay Krasko
91a43b2cb1 Revert "Minor: extract method"
This reverts commit 4980780268.
2015-09-07 16:04:31 +03:00
Nikolay Krasko
d10061ba70 Revert "Debugger for inline functions: check for available strata (faster than compute source position)"
This reverts commit ba686c701e.
2015-09-07 16:04:18 +03:00
Nikolay Krasko
4ed1e6cf26 Revert "Debugger: support stepping out inline function"
This reverts commit 060b6e6b15.
2015-09-07 16:04:02 +03:00
Nikolay Krasko
e94108ef4f Revert "Minor: do less work in debug thread during stepping commands for inline functions"
This reverts commit c836060f3a.
2015-09-07 16:02:49 +03:00
Nikolay Krasko
0b37cd6058 Merge tag 0.13.1022 into idea_continuous/br141
# Conflicts:
#	idea/src/META-INF/plugin.xml
#	idea/src/org/jetbrains/kotlin/idea/highlighter/KotlinRunLineMarkerContributor.kt
#	idea/src/org/jetbrains/kotlin/idea/inspections/UnusedImportInspection.kt
#	idea/tests/org/jetbrains/kotlin/idea/quickfix/AbstractQuickFixTest.java
#	update_dependencies.xml
2015-09-07 15:56:08 +03:00
Nikolay Krasko
5fc2118915 Downgrade to idea 141 api 2015-09-07 15:03:22 +03:00
Nikolay Krasko
081b4ed18c Revert "searcher for more efficient search of Kotlin classes which have methods annotated with @Test"
This reverts commit 724f13954a.
2015-09-07 14:55:36 +03:00
Nikolay Krasko
b9c55cc78e Merge tag 0.13.1022 into idea_continuous/br141
# Conflicts:
#	idea/src/META-INF/plugin.xml
#	idea/src/org/jetbrains/kotlin/idea/highlighter/KotlinRunLineMarkerContributor.kt
#	idea/src/org/jetbrains/kotlin/idea/inspections/UnusedImportInspection.kt
#	idea/tests/org/jetbrains/kotlin/idea/quickfix/AbstractQuickFixTest.java
#	update_dependencies.xml
2015-09-07 14:45:31 +03:00
Nikolay Krasko
053e7c7551 No kotlin libraries in 141 2015-09-03 17:17:18 +03:00
Nikolay Krasko
49db752021 Better merging in debugger tests 2015-09-03 13:58:17 +03:00
Nikolay Krasko
5a46e39a53 Adjust test data for idea 141 after merge 2015-09-03 13:57:47 +03:00
Nikolay Krasko
30924091e6 Revert "Run/Debug editor gutter drop down does not work in Kotlin files (KT-8720)"
This reverts commit 142ab96a5a.
2015-09-03 13:07:17 +03:00
Nikolay Krasko
5d68b0eb2f Revert "Update to 142.4245.2"
This reverts commit 6975afba3e.
2015-09-03 13:02:04 +03:00
Nikolay Krasko
2de8168a87 Revert "Update to 142.4245.2: Update Kotlin run line marker info to new API"
This reverts commit 5554a44f0f.
2015-09-03 13:00:23 +03:00
Nikolay Krasko
112d9e56f7 Revert "Update to 142.4245.2: register RunLineMarkerProvider not only for Java language (temp)"
This reverts commit ca907c4985.
2015-09-03 13:00:20 +03:00
Nikolay Krasko
377aabf9d5 Revert "Update to 142.4245.2: Fix compilation after update"
This reverts commit a946db98a1.
2015-09-03 13:00:18 +03:00
Nikolay Krasko
b18adfdd6a Revert "Update to 142.4245.2: Fix test data in pull up"
This reverts commit 339f8ee2ab.
2015-09-03 13:00:15 +03:00
Nikolay Krasko
d16c38327b Revert "Update to 142.4245.2: Debugger tests: changes in testData"
This reverts commit ffe41b88a7.
2015-09-03 13:00:13 +03:00
Nikolay Krasko
a9d9d91311 Revert "Update to 142.4245.2: Fix compilation"
This reverts commit 11331e74fd.
2015-09-03 13:00:10 +03:00
Nikolay Krasko
bacb0d3a51 Revert "Update to 142.4245.2: Temprorary modify test data after IDEA update"
This reverts commit 1132652026.
2015-09-03 13:00:02 +03:00
Nikolay Krasko
9a82813b5c Merge tag 'build-0.13.969' into idea_continuous/br141
# Conflicts:
#	idea/tests/org/jetbrains/kotlin/idea/debugger/AbstractKotlinSteppingTest.kt
#	idea/tests/org/jetbrains/kotlin/idea/debugger/evaluate/AbstractKotlinEvaluateExpressionTest.kt
#	update_dependencies.xml
2015-09-03 12:58:54 +03:00
Nikolay Krasko
3e22c15d24 Don't check for JS module 2015-08-25 14:08:47 +03:00
Nikolay Krasko
f4eeeb03c4 Revert "Debugger tests: changes in testData"
This reverts commit be5c1d0a44.
2015-08-25 11:07:56 +03:00
Nikolay Krasko
66a1ef5e1f Remove copying kotlin runtime from br141 2015-08-25 00:40:37 +03:00
TeamCityServer
d7d100e361 Auto-merge with tag <default> 2015-08-24 23:45:07 +03:00
TeamCityServer
987028171a Auto-merge with tag <default> 2015-08-24 20:45:51 +03:00
TeamCityServer
4413312f30 Auto-merge with tag <default> 2015-08-24 18:37:38 +03:00
TeamCityServer
db5b197921 Auto-merge with tag <default> 2015-08-24 16:43:27 +03:00
Nikolay Krasko
99b28d5c05 Merge tag 'build-0.13.717' into idea_continuous/br141
Conflicts:
	update_dependencies.xml
2015-08-24 15:37:42 +03:00
TeamCityServer
b5b9d3b25c Auto-merge with tag <default> 2015-08-21 15:59:31 +03:00
Stanislav Erokhin
8663dc7dae Fix after merge 2015-08-20 20:21:26 +03:00
Stanislav Erokhin
2b0699e5c9 Revert "Debugger tests: migrate to new API"
This reverts commit 9b0cfd4027.
2015-08-20 19:22:25 +03:00
Stanislav Erokhin
d1e327adde Manual merge 2015-08-20 19:12:59 +03:00
TeamCityServer
32e907167a Auto-merge with tag <default> 2015-08-19 23:04:31 +03:00
TeamCityServer
42a6f722c5 Auto-merge with tag <default> 2015-08-19 20:57:24 +03:00
TeamCityServer
1100cd5f6b Auto-merge with tag <default> 2015-08-19 10:45:55 +03:00
TeamCityServer
aa53e883a9 Auto-merge with tag <default> 2015-08-19 04:24:38 +03:00
TeamCityServer
db74c98145 Auto-merge with tag <default> 2015-08-18 20:54:21 +03:00
Yan Zhulanow
b5d9823845 Merge tag 'build-0.13.615' into idea_continuous/br141 2015-08-18 19:04:58 +03:00
TeamCityServer
57e6873e38 Auto-merge with tag <default> 2015-08-14 23:11:07 +03:00
TeamCityServer
db104cd818 Auto-merge with tag <default> 2015-08-14 20:08:36 +03:00
TeamCityServer
246535a43e Auto-merge with tag <default> 2015-08-13 19:10:15 +03:00
TeamCityServer
8cf466f98b Auto-merge with tag <default> 2015-08-13 19:07:26 +03:00
TeamCityServer
ed13cc3a4a Auto-merge with tag <default> 2015-08-13 17:39:18 +03:00
TeamCityServer
d846189110 Auto-merge with tag <default> 2015-08-12 20:38:59 +03:00
TeamCityServer
9afee1d2d9 Auto-merge with tag <default> 2015-08-12 19:01:25 +03:00
TeamCityServer
17e1abeead Auto-merge with tag <default> 2015-08-12 16:51:38 +03:00
TeamCityServer
48ac53da40 Auto-merge with tag <default> 2015-08-12 14:20:35 +03:00
TeamCityServer
a4f80bdaa1 Auto-merge with tag <default> 2015-08-11 21:56:02 +03:00
TeamCityServer
ab0add4c9b Auto-merge with tag <default> 2015-08-11 15:28:21 +03:00
TeamCityServer
2ebbc432d7 Auto-merge with tag <default> 2015-08-11 15:08:12 +03:00
TeamCityServer
c5e9e04899 Auto-merge with tag <default> 2015-08-11 12:13:47 +03:00
TeamCityServer
1ed0d4f56a Auto-merge with tag <default> 2015-08-11 07:03:48 +03:00
TeamCityServer
961d691656 Auto-merge with tag <default> 2015-08-11 06:14:09 +03:00
TeamCityServer
c970c96b71 Auto-merge with tag <default> 2015-08-11 04:06:15 +03:00
TeamCityServer
c6d3ff7936 Auto-merge with tag <default> 2015-08-10 23:46:41 +03:00
TeamCityServer
825946f2d7 Auto-merge with tag <default> 2015-08-10 19:31:08 +03:00
TeamCityServer
07152e250f Auto-merge with tag <default> 2015-08-10 18:26:12 +03:00
Nikolay Krasko
dab7669ea4 Merge tag 'build-0.13.480' into idea_continuous/br141
Conflicts:
	.idea/runConfigurations/All_Tests.xml
	.idea/runConfigurations/IDEA.xml
	.idea/runConfigurations/IDEA__No_ProcessCanceledException_.xml
	idea/src/META-INF/plugin.xml
	update_dependencies.xml
2015-08-10 15:20:12 +03:00
Natalia Ukhorskaya
7a7de2c70e Do not fail of kotlin-runtime.jar is not found 2015-08-07 10:17:52 +03:00
Natalia Ukhorskaya
a01c77b478 Fix debugger tests 2015-08-06 18:20:02 +03:00
Natalia Ukhorskaya
a2e131d825 Fix compilation errors 2015-08-06 17:41:14 +03:00
Natalia Ukhorskaya
6f3275e644 Revert SourcePositionHighlighter for lambdas ff0a064908 2015-08-06 16:08:18 +03:00
Natalia Ukhorskaya
2187afa611 Merge tag 'build-0.13.394' into idea_continuous/br141
Conflicts:
	idea/idea-test-framework/src/org/jetbrains/kotlin/idea/test/testUtils.kt
	idea/src/META-INF/plugin.xml
	j2k/src/org/jetbrains/kotlin/j2k/JavaToKotlinTranslator.kt
	update_dependencies.xml
2015-08-06 16:02:27 +03:00
teamcityserver
83103e83b5 Auto-merge with tag <default> 2015-07-27 14:08:26 +03:00
teamcityserver
8459e515dd Auto-merge with tag <default> 2015-07-24 23:58:14 +03:00
teamcityserver
479010a800 Auto-merge with tag <default> 2015-07-24 20:44:07 +03:00
teamcityserver
03e874fcb7 Auto-merge with tag <default> 2015-07-24 16:41:57 +03:00
Nikolay Krasko
a6275bbe1a Downgrade to idea 141 API 2015-07-24 13:38:09 +03:00
Nikolay Krasko
0c14e93f2b Merge tag 'build-0.13.109' into idea_continuous/br141
Conflicts:
	idea/tests/org/jetbrains/kotlin/idea/debugger/AbstractKotlinSteppingTest.kt
	plugins/android-idea-plugin/android-idea-plugin.iml
2015-07-24 12:51:57 +03:00
Nikolay Krasko
cd7ec5d473 Revert "Removed workaround for exception in IDEA."
2820dbf181
2015-07-24 12:46:39 +03:00
Nikolay Krasko
134c54196f Use templates in non-inline mode 2015-07-24 12:46:36 +03:00
Nikolay Krasko
c6954c12d3 Revert "Minor test data update after moving to new idea"
87e94aa20b
2015-07-24 12:45:15 +03:00
Nikolay Krasko
9fe570240a Fix compilation 2015-07-23 15:44:58 +03:00
Nikolay Krasko
bf1e81cbf0 Merge tag 'build-0.13.76' into idea_continuous/br141 2015-07-23 14:52:16 +03:00
Nikolay Krasko
2a1a389cac Merge tag 'build-0.13.47' into idea_continuous/br141
Conflicts:
	.idea/runConfigurations/IDEA.xml
	.idea/runConfigurations/IDEA__No_ProcessCanceledException_.xml
	idea/idea-test-framework/src/org/jetbrains/kotlin/idea/test/testUtils.kt
2015-07-22 13:21:32 +03:00
Nikolay Krasko
f149d48791 Ignore tests 2015-07-21 14:27:19 +03:00
Nikolay Krasko
600c567224 Restore mapping for built-in psi files 2015-07-21 13:50:38 +03:00
Nikolay Krasko
5556d4f77c Insert non-inline template in idea 141 2015-07-21 13:27:52 +03:00
teamcityserver
464c4d281f Auto-merge with tag <default> 2015-07-21 12:12:46 +03:00
teamcityserver
8bf23ba822 Auto-merge with tag <default> 2015-07-21 00:19:46 +03:00
Nikolay Krasko
d90fa2baa2 Revert "Move kotlin runtime jars to separate folder and attach them during debug idea start"
This reverts commit 796e05983c.
2015-07-20 17:15:36 +03:00
Nikolay Krasko
d3f62b0b51 Merge tag 'build-0.12.1313' into idea_continuous/br141
Conflicts:
	update_dependencies.xml
2015-07-20 16:44:21 +03:00
Nikolay Krasko
dd4cbf1eb6 Port KotlinLightPlatformCodeInsightFixtureTestCase 2015-07-17 20:41:50 +03:00
Nikolay Krasko
4d275967fa Revert debugger api 2015-07-17 20:41:48 +03:00
Nikolay Krasko
99ad891e8e Downgrade multi-selection check to old API 2015-07-17 19:28:05 +03:00
Nikolay Krasko
74a717564c Merge tag 'build-0.12.1274' into idea_continuous/br141
Conflicts:
	idea/src/org/jetbrains/kotlin/idea/refactoring/changeSignature/JetChangeSignatureUsageProcessor.java
	idea/src/org/jetbrains/kotlin/idea/refactoring/changeSignature/usages/JavaMethodDeferredKotlinUsage.kt
	idea/testData/debugger/tinyApp/outs/frameSimple.out
	idea/testData/refactoring/changeSignature/JavaMethodOverridesChangeParamBefore.1.kt
	idea/testData/refactoring/changeSignature/JavaMethodOverridesChangeParamBefore.java
	idea/testData/refactoring/changeSignature/JavaMethodOverridesReplaceParamAfter.1.kt
	idea/testData/refactoring/changeSignature/JavaMethodOverridesReplaceParamAfter.java
	idea/tests/org/jetbrains/kotlin/idea/refactoring/changeSignature/JetChangeSignatureTest.java
	idea/tests/org/jetbrains/kotlin/idea/resolve/AbstractReferenceResolveTest.java
	plugins/android-idea-plugin/tests/org/jetbrains/kotlin/android/KotlinAndroidTestCase.java
	plugins/android-idea-plugin/tests/org/jetbrains/kotlin/android/KotlinAndroidTestCaseBase.java
	update_dependencies.xml
2015-07-17 19:03:07 +03:00
Nikolay Krasko
f6f95c2767 Restore usages filtering 2015-07-06 20:28:39 +03:00
Nikolay Krasko
e21b7c336f Revert "Change Signature: Support Kotlin functions overriding Java methods"
This reverts commit 4eeff03525.

Conflicts:
	idea/src/org/jetbrains/kotlin/idea/refactoring/changeSignature/JetChangeSignatureProcessor.java
	idea/src/org/jetbrains/kotlin/idea/refactoring/changeSignature/JetChangeSignatureUsageProcessor.java
	idea/src/org/jetbrains/kotlin/idea/refactoring/changeSignature/usages/JavaMethodDeferredKotlinUsage.kt
	idea/tests/org/jetbrains/kotlin/idea/refactoring/changeSignature/JetChangeSignatureTest.java
2015-07-06 20:27:38 +03:00
Nikolay Krasko
102becd680 Revert creating new psi file each time in provider file create
Revert "Getting decompiled file content through getPsi() doesn't work for local class files" (d564f44aad)
Revert "Refactoring: rename file" (dde295011b)
Revert "Create file must return new file, as old one can be invalidated (KT-8266)" (ef477f99e9)
2015-07-06 19:17:21 +03:00
Nikolay Krasko
8c7f9dc7b3 Compilation fix: no junit-4.12 in idea 141. Replace with 4.11 2015-07-06 19:17:20 +03:00
Nikolay Krasko
31b43ea690 Compilation fix: no parameter with empty parameters list 2015-07-06 19:17:19 +03:00
Nikolay Krasko
9e2474b685 More memory for tests 2015-07-06 19:17:18 +03:00
Nikolay Krasko
5d03ade4f5 Revert commits responsible for update to idea 15
ef7cc6ae10 "Force openning project"
3d8f04e4fe "Update test data: Idea can't parse description with "ctrl+ alt + b" promotion"
2820dbf181 "Removed workaround for exception in IDEA."
66a4e0f299 "Mute error about org.iq80.snappy.Snappy"
549987b27f "Ignore actions with empty message"
94db320f7a "Update hack for restore validity of builtins files"
53ab02e877 "Generate private constructors for enums in coverter"
b64aff9f9a "Add actions with "Supress " prefix to irrelevant group"
737ad5b9e0 "Search in index under read action in tests"
3136e5eefd "removed registration of deprecated extensions points without implementations"
c2a1dc4c90 "Fix compilation errors"
aaa4e747db "Fix tests: type for string  isn't now rendered by default"
ba6b378378 "Fix tests: register JavaClassSupers service in WebDemoTest"
757b963731 "Register JavaClassSupers service"
73b2de95ab "Create from Usage: Do not delete temporary file as this operation is not supported by IDEA anymore"
8e51f1aadd "Idea moved to junit-4.12"
2ebdd32267 "Make compatible with 142 idea branch"
2536648e60 "Update to Idea 15 eap (142.2491.1)"
2015-07-06 19:17:17 +03:00
43302 changed files with 470396 additions and 1611249 deletions

6
.bunch
View File

@@ -1,6 +0,0 @@
181
173
172_173
as31_173
as32
182

3
.gitattributes vendored
View File

@@ -1,4 +1 @@
**/testData/** linguist-vendored
*Generated.java linguist-generated=true
compiler/cli/bin/* eol=lf
compiler/cli/bin/*.bat eol=crlf

View File

@@ -1,14 +0,0 @@
Many thanks for your contribution, we genuinely appreciate it.
Make sure that you can say "YES" to each point in this short checklist:
- You do not have merge commits in PR
- You made a few changes
- You provided the link to related issue from YouTrack
- You can describe changes made in PR
- You made changes related to only one issue
- You are ready to defend your changes on code review
- You didn't touch what you don't understand
- You ran the build locally, and verified new functionality
- You ran related tests locally, and it passed
Thank you for your contribution!

37
.gitignore vendored
View File

@@ -4,37 +4,20 @@
/confluence/target
/dependencies
/dist
/local
/gh-pages
/ideaSDK
/clionSDK
/android-studio/sdk
out/
/tmp
out
tmp
workspace.xml
*.versionsBackup
/idea/testData/debugger/tinyApp/classes*
/jps-plugin/testData/kannotator
/ultimate/dependencies
/ultimate/ideaSDK
/ultimate/out
/ultimate/tmp
/js/js.translator/testData/out/
/js/js.translator/testData/out-min/
.gradle/
build/
!**/src/**/build
!**/test/**/build
*.iml
!**/testData/**/*.iml
.idea/libraries/Gradle*.xml
.idea/libraries/Maven*.xml
.idea/artifacts
.idea/modules
.idea/runConfigurations/JPS_*.xml
.idea/libraries
.idea/modules.xml
.idea/gradle.xml
.idea/compiler.xml
.idea/inspectionProfiles/profiles_settings.xml
.idea/.name
ultimate/.DS_Store
ultimate/.idea/shelf
ultimate/dependencies
ultimate/ideaSDK
ultimate/out
ultimate/tmp
ultimate/workspace.xml
ultimate/*.versionsBackup

1
.idea/.name generated Normal file
View File

@@ -0,0 +1 @@
Kotlin

16
.idea/ant.xml generated
View File

@@ -1,8 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AntConfiguration">
<buildFile url="file://$PROJECT_DIR$/libraries/build-docs.xml">
<buildFile url="file://$PROJECT_DIR$/compiler/frontend/buildLexer.xml" />
<buildFile url="file://$PROJECT_DIR$/build.xml">
<antCommandLine value="-J-XX:MaxPermSize=100m -J-ea" />
<maximumHeapSize value="1024" />
</buildFile>
<buildFile url="file://$PROJECT_DIR$/update_dependencies.xml" />
<buildFile url="file://$PROJECT_DIR$/TeamCityBuild.xml">
<maximumHeapSize value="512" />
</buildFile>
<buildFile url="file://$PROJECT_DIR$/idea-runner/runner.xml" />
<buildFile url="file://$PROJECT_DIR$/libraries/build-docs.xml">
<maximumHeapSize value="1024" />
<properties>
<property name="dokka.path" value="../../dokka" />
</properties>
</buildFile>
<buildFile url="file://$PROJECT_DIR$/TeamCityRelay.xml" />
</component>
</project>

9
.idea/artifacts/IdeLazyResolver.xml generated Normal file
View File

@@ -0,0 +1,9 @@
<component name="ArtifactManager">
<artifact type="jar" name="IdeLazyResolver">
<output-path>$PROJECT_DIR$/out/artifacts/internal/</output-path>
<root id="archive" name="kotlin-ide-common.jar">
<element id="module-output" name="ide-common" />
<element id="dir-copy" path="$PROJECT_DIR$/idea/ide-common" />
</root>
</artifact>
</component>

9
.idea/artifacts/Instrumentation.xml generated Normal file
View File

@@ -0,0 +1,9 @@
<component name="ArtifactManager">
<artifact type="jar" name="Instrumentation">
<output-path>$PROJECT_DIR$/out/artifacts/Instrumentation</output-path>
<root id="archive" name="Instrumentation.jar">
<element id="module-output" name="instrumentation" />
<element id="extracted-dir" path="$PROJECT_DIR$/ideaSDK/lib/asm-all.jar" path-in-jar="/" />
</root>
</artifact>
</component>

27
.idea/artifacts/KotlinBarePlugin.xml generated Normal file
View File

@@ -0,0 +1,27 @@
<component name="ArtifactManager">
<artifact name="KotlinBarePlugin">
<output-path>$PROJECT_DIR$/out/artifacts/BareKotlin</output-path>
<properties id="ant-postprocessing">
<options enabled="true">
<file>file://$PROJECT_DIR$/idea-runner/runner.xml</file>
<target>copy-runtime-for-idea-plugin</target>
</options>
</properties>
<root id="root">
<element id="directory" name="kotlinc">
<element id="dir-copy" path="$PROJECT_DIR$/dist/kotlinc" />
</element>
<element id="directory" name="lib">
<element id="archive" name="kotlin-bare-plugin.jar">
<element id="module-output" name="bare-plugin" />
<element id="module-output" name="descriptor.loader.java" />
<element id="module-output" name="frontend.java" />
<element id="module-output" name="descriptors" />
</element>
<element id="directory" name="jps">
<element id="artifact" artifact-name="KotlinJpsPlugin" />
</element>
</element>
</root>
</artifact>
</component>

9
.idea/artifacts/KotlinFormatter.xml generated Normal file
View File

@@ -0,0 +1,9 @@
<component name="ArtifactManager">
<artifact type="jar" name="KotlinFormatter">
<output-path>$PROJECT_DIR$/out/artifacts/internal</output-path>
<root id="archive" name="kotlin-formatter.jar">
<element id="module-output" name="formatter" />
<element id="dir-copy" path="$PROJECT_DIR$/idea/formatter" />
</root>
</artifact>
</component>

30
.idea/artifacts/KotlinJpsPlugin.xml generated Normal file
View File

@@ -0,0 +1,30 @@
<component name="ArtifactManager">
<artifact type="jar" name="KotlinJpsPlugin">
<output-path>$PROJECT_DIR$/out/artifacts/KotlinJpsPlugin</output-path>
<properties id="ant-postprocessing">
<options enabled="true">
<file>file://$PROJECT_DIR$/idea-runner/runner.xml</file>
<target>copy-runtime-for-jps-plugin</target>
</options>
</properties>
<root id="archive" name="kotlin-jps-plugin.jar">
<element id="directory" name="META-INF">
<element id="dir-copy" path="$PROJECT_DIR$/jps-plugin/src/META-INF" />
</element>
<element id="extracted-dir" path="$PROJECT_DIR$/dependencies/cli-parser-1.1.2.jar" path-in-jar="/" />
<element id="module-output" name="cli-common" />
<element id="module-output" name="idea-jps-common" />
<element id="module-output" name="jps-plugin" />
<element id="module-output" name="preloader" />
<element id="module-output" name="util" />
<element id="module-output" name="util.runtime" />
<element id="file-copy" path="$PROJECT_DIR$/resources/kotlinManifest.properties" />
<element id="module-output" name="daemon-client" />
<element id="module-output" name="daemon-common" />
<element id="module-output" name="deserialization" />
<element id="extracted-dir" path="$PROJECT_DIR$/dependencies/native-platform-uberjar.jar" path-in-jar="/" />
<element id="module-output" name="android-extensions-jps" />
<element id="module-output" name="build-common" />
</root>
</artifact>
</component>

81
.idea/artifacts/KotlinPlugin.xml generated Normal file
View File

@@ -0,0 +1,81 @@
<component name="ArtifactManager">
<artifact name="KotlinPlugin">
<output-path>$PROJECT_DIR$/out/artifacts/Kotlin</output-path>
<properties id="ant-postprocessing">
<options enabled="true">
<file>file://$PROJECT_DIR$/idea-runner/runner.xml</file>
<target>copy-runtime-for-idea-plugin</target>
</options>
</properties>
<root id="root">
<element id="directory" name="lib">
<element id="archive" name="kotlin-plugin.jar">
<element id="module-output" name="backend" />
<element id="module-output" name="frontend" />
<element id="module-output" name="descriptors" />
<element id="module-output" name="frontend.java" />
<element id="module-output" name="descriptor.loader.java" />
<element id="module-output" name="idea" />
<element id="module-output" name="light-classes" />
<element id="module-output" name="util" />
<element id="module-output" name="util.runtime" />
<element id="module-output" name="j2k" />
<element id="module-output" name="js.frontend" />
<element id="module-output" name="js.parser" />
<element id="module-output" name="cli-common" />
<element id="module-output" name="idea-jps-common" />
<element id="module-output" name="preloader" />
<element id="module-output" name="deserialization" />
<element id="module-output" name="backend-common" />
<element id="library" level="project" name="builtins" />
<element id="module-output" name="js.dart-ast" />
<element id="directory" name="kotlin">
<element id="dir-copy" path="$PROJECT_DIR$/core/builtins/native/kotlin" />
<element id="dir-copy" path="$PROJECT_DIR$/core/builtins/src/kotlin" />
</element>
<element id="module-output" name="eval4j" />
<element id="module-output" name="idea-analysis" />
<element id="module-output" name="ide-common" />
<element id="file-copy" path="$PROJECT_DIR$/resources/kotlinManifest.properties" />
<element id="module-output" name="idea-android" />
<element id="module-output" name="js.serializer" />
<element id="module-output" name="serialization" />
<element id="module-output" name="idea-completion" />
<element id="module-output" name="idea-core" />
<element id="module-output" name="container" />
<element id="module-output" name="daemon-common" />
<element id="module-output" name="idea-repl" />
<element id="module-output" name="idea-live-templates" />
<element id="module-output" name="resolution" />
<element id="module-output" name="plugin-api" />
<element id="module-output" name="idea-ultimate" />
<element id="module-output" name="formatter" />
</element>
<element id="library" level="project" name="javax.inject" />
<element id="directory" name="jps">
<element id="artifact" artifact-name="KotlinJpsPlugin" />
</element>
<element id="library" level="project" name="markdown" />
<element id="archive" name="kotlin-android-extensions-plugin.jar">
<element id="module-output" name="android-extensions-idea" />
</element>
<element id="archive" name="kotlin-android-extensions-compiler-plugin.jar">
<element id="module-output" name="android-extensions-compiler" />
</element>
<element id="archive" name="android-lint.jar">
<element id="module-output" name="uast-kotlin" />
<element id="module-output" name="lint-idea" />
<element id="module-output" name="uast-java" />
<element id="module-output" name="uast-common" />
<element id="module-output" name="lint-checks" />
<element id="library" level="project" name="guava" />
<element id="module-output" name="lint-api" />
<element id="module-output" name="uast-android" />
</element>
</element>
<element id="directory" name="kotlinc">
<element id="dir-copy" path="$PROJECT_DIR$/dist/kotlinc" />
</element>
</root>
</artifact>
</component>

View File

@@ -60,9 +60,6 @@
<option name="WHILE_BRACE_FORCE" value="1" />
<option name="FOR_BRACE_FORCE" value="1" />
<option name="FIELD_ANNOTATION_WRAP" value="0" />
<MarkdownNavigatorCodeStyleSettings>
<option name="RIGHT_MARGIN" value="72" />
</MarkdownNavigatorCodeStyleSettings>
<XML>
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
</XML>
@@ -145,6 +142,10 @@
<option name="FOR_BRACE_FORCE" value="1" />
<option name="FIELD_ANNOTATION_WRAP" value="0" />
<option name="PARENT_SETTINGS_INSTALLED" value="true" />
<indentOptions>
<option name="INDENT_SIZE" value="2" />
<option name="TAB_SIZE" value="2" />
</indentOptions>
</codeStyleSettings>
<codeStyleSettings language="HTML">
<indentOptions>

View File

@@ -1,277 +0,0 @@
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<option name="OTHER_INDENT_OPTIONS">
<value>
<option name="CONTINUATION_INDENT_SIZE" value="4" />
<option name="TAB_SIZE" value="8" />
</value>
</option>
<option name="LINE_SEPARATOR" value="&#10;" />
<option name="RIGHT_MARGIN" value="140" />
<option name="LINE_COMMENT_AT_FIRST_COLUMN" value="false" />
<option name="BLOCK_COMMENT_AT_FIRST_COLUMN" value="false" />
<option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="0" />
<option name="ELSE_ON_NEW_LINE" value="true" />
<option name="WHILE_ON_NEW_LINE" value="true" />
<option name="CATCH_ON_NEW_LINE" value="true" />
<option name="FINALLY_ON_NEW_LINE" value="true" />
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
<option name="ALIGN_MULTILINE_BINARY_OPERATION" value="true" />
<option name="ALIGN_MULTILINE_ASSIGNMENT" value="true" />
<option name="ALIGN_MULTILINE_TERNARY_OPERATION" value="true" />
<option name="ALIGN_MULTILINE_THROWS_LIST" value="true" />
<option name="ALIGN_MULTILINE_EXTENDS_LIST" value="true" />
<option name="ALIGN_MULTILINE_PARENTHESIZED_EXPRESSION" value="true" />
<option name="SPACE_AFTER_TYPE_CAST" value="false" />
<option name="CALL_PARAMETERS_WRAP" value="1" />
<option name="METHOD_PARAMETERS_WRAP" value="5" />
<option name="EXTENDS_LIST_WRAP" value="1" />
<option name="THROWS_LIST_WRAP" value="5" />
<option name="EXTENDS_KEYWORD_WRAP" value="1" />
<option name="THROWS_KEYWORD_WRAP" value="1" />
<option name="METHOD_CALL_CHAIN_WRAP" value="1" />
<option name="BINARY_OPERATION_WRAP" value="5" />
<option name="TERNARY_OPERATION_WRAP" value="5" />
<option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true" />
<option name="FOR_STATEMENT_WRAP" value="5" />
<option name="ARRAY_INITIALIZER_WRAP" value="1" />
<option name="ASSIGNMENT_WRAP" value="1" />
<option name="IF_BRACE_FORCE" value="1" />
<option name="DOWHILE_BRACE_FORCE" value="1" />
<option name="WHILE_BRACE_FORCE" value="1" />
<option name="FOR_BRACE_FORCE" value="1" />
<option name="FIELD_ANNOTATION_WRAP" value="0" />
<GroovyCodeStyleSettings>
<option name="STATIC_METHODS_ORDER_WEIGHT" value="5" />
<option name="METHODS_ORDER_WEIGHT" value="4" />
</GroovyCodeStyleSettings>
<JavaCodeStyleSettings>
<option name="PREFER_LONGER_NAMES" value="false" />
<option name="PACKAGES_TO_USE_IMPORT_ON_DEMAND">
<value>
<package name="java.awt" withSubpackages="false" static="false" />
<package name="javax.tools" withSubpackages="true" static="false" />
<package name="javax.swing" withSubpackages="false" static="false" />
</value>
</option>
</JavaCodeStyleSettings>
<JetCodeStyleSettings>
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</JetCodeStyleSettings>
<MarkdownNavigatorCodeStyleSettings>
<option name="RIGHT_MARGIN" value="72" />
</MarkdownNavigatorCodeStyleSettings>
<XML>
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
</XML>
<codeStyleSettings language="CFML">
<option name="ELSE_ON_NEW_LINE" value="true" />
<option name="WHILE_ON_NEW_LINE" value="true" />
<option name="CATCH_ON_NEW_LINE" value="true" />
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
<option name="ALIGN_MULTILINE_BINARY_OPERATION" value="true" />
<option name="ALIGN_MULTILINE_TERNARY_OPERATION" value="true" />
<option name="CALL_PARAMETERS_WRAP" value="1" />
<option name="METHOD_PARAMETERS_WRAP" value="5" />
<option name="BINARY_OPERATION_WRAP" value="5" />
<option name="TERNARY_OPERATION_WRAP" value="5" />
<option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true" />
<option name="FOR_STATEMENT_WRAP" value="5" />
<option name="ASSIGNMENT_WRAP" value="1" />
</codeStyleSettings>
<codeStyleSettings language="CoffeeScript">
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
<option name="METHOD_PARAMETERS_WRAP" value="5" />
</codeStyleSettings>
<codeStyleSettings language="ECMA Script Level 4">
<option name="ELSE_ON_NEW_LINE" value="true" />
<option name="WHILE_ON_NEW_LINE" value="true" />
<option name="CATCH_ON_NEW_LINE" value="true" />
<option name="FINALLY_ON_NEW_LINE" value="true" />
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
<option name="ALIGN_MULTILINE_BINARY_OPERATION" value="true" />
<option name="ALIGN_MULTILINE_TERNARY_OPERATION" value="true" />
<option name="ALIGN_MULTILINE_EXTENDS_LIST" value="true" />
<option name="CALL_PARAMETERS_WRAP" value="1" />
<option name="METHOD_PARAMETERS_WRAP" value="5" />
<option name="EXTENDS_LIST_WRAP" value="1" />
<option name="EXTENDS_KEYWORD_WRAP" value="1" />
<option name="BINARY_OPERATION_WRAP" value="5" />
<option name="TERNARY_OPERATION_WRAP" value="5" />
<option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true" />
<option name="FOR_STATEMENT_WRAP" value="5" />
<option name="ARRAY_INITIALIZER_WRAP" value="1" />
<option name="ASSIGNMENT_WRAP" value="1" />
<option name="IF_BRACE_FORCE" value="1" />
<option name="DOWHILE_BRACE_FORCE" value="1" />
<option name="WHILE_BRACE_FORCE" value="1" />
<option name="FOR_BRACE_FORCE" value="1" />
</codeStyleSettings>
<codeStyleSettings language="GSP">
<indentOptions>
<option name="INDENT_SIZE" value="2" />
</indentOptions>
</codeStyleSettings>
<codeStyleSettings language="Groovy">
<option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="0" />
<option name="ELSE_ON_NEW_LINE" value="true" />
<option name="CATCH_ON_NEW_LINE" value="true" />
<option name="FINALLY_ON_NEW_LINE" value="true" />
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
<option name="ALIGN_MULTILINE_BINARY_OPERATION" value="true" />
<option name="ALIGN_MULTILINE_ASSIGNMENT" value="true" />
<option name="ALIGN_MULTILINE_TERNARY_OPERATION" value="true" />
<option name="ALIGN_MULTILINE_THROWS_LIST" value="true" />
<option name="ALIGN_MULTILINE_EXTENDS_LIST" value="true" />
<option name="SPACE_AFTER_TYPE_CAST" value="false" />
<option name="CALL_PARAMETERS_WRAP" value="1" />
<option name="METHOD_PARAMETERS_WRAP" value="5" />
<option name="EXTENDS_LIST_WRAP" value="1" />
<option name="THROWS_LIST_WRAP" value="5" />
<option name="EXTENDS_KEYWORD_WRAP" value="1" />
<option name="THROWS_KEYWORD_WRAP" value="1" />
<option name="METHOD_CALL_CHAIN_WRAP" value="1" />
<option name="BINARY_OPERATION_WRAP" value="5" />
<option name="TERNARY_OPERATION_WRAP" value="5" />
<option name="FOR_STATEMENT_WRAP" value="5" />
<option name="ASSIGNMENT_WRAP" value="1" />
<option name="IF_BRACE_FORCE" value="1" />
<option name="WHILE_BRACE_FORCE" value="1" />
<option name="FOR_BRACE_FORCE" value="1" />
<option name="FIELD_ANNOTATION_WRAP" value="0" />
</codeStyleSettings>
<codeStyleSettings language="HTML">
<indentOptions>
<option name="INDENT_SIZE" value="2" />
<option name="CONTINUATION_INDENT_SIZE" value="4" />
<option name="TAB_SIZE" value="8" />
</indentOptions>
</codeStyleSettings>
<codeStyleSettings language="JAVA">
<option name="LINE_COMMENT_AT_FIRST_COLUMN" value="false" />
<option name="BLOCK_COMMENT_AT_FIRST_COLUMN" value="false" />
<option name="KEEP_FIRST_COLUMN_COMMENT" value="false" />
<option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="0" />
<option name="ELSE_ON_NEW_LINE" value="true" />
<option name="WHILE_ON_NEW_LINE" value="true" />
<option name="CATCH_ON_NEW_LINE" value="true" />
<option name="FINALLY_ON_NEW_LINE" value="true" />
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
<option name="ALIGN_MULTILINE_BINARY_OPERATION" value="true" />
<option name="ALIGN_MULTILINE_ASSIGNMENT" value="true" />
<option name="ALIGN_MULTILINE_TERNARY_OPERATION" value="true" />
<option name="ALIGN_MULTILINE_THROWS_LIST" value="true" />
<option name="ALIGN_MULTILINE_EXTENDS_LIST" value="true" />
<option name="ALIGN_MULTILINE_PARENTHESIZED_EXPRESSION" value="true" />
<option name="SPACE_BEFORE_ARRAY_INITIALIZER_LBRACE" value="true" />
<option name="CALL_PARAMETERS_WRAP" value="1" />
<option name="METHOD_PARAMETERS_WRAP" value="5" />
<option name="METHOD_PARAMETERS_LPAREN_ON_NEXT_LINE" value="true" />
<option name="METHOD_PARAMETERS_RPAREN_ON_NEXT_LINE" value="true" />
<option name="EXTENDS_LIST_WRAP" value="1" />
<option name="THROWS_LIST_WRAP" value="5" />
<option name="EXTENDS_KEYWORD_WRAP" value="1" />
<option name="THROWS_KEYWORD_WRAP" value="1" />
<option name="METHOD_CALL_CHAIN_WRAP" value="1" />
<option name="BINARY_OPERATION_WRAP" value="5" />
<option name="TERNARY_OPERATION_WRAP" value="5" />
<option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true" />
<option name="FOR_STATEMENT_WRAP" value="5" />
<option name="ARRAY_INITIALIZER_WRAP" value="1" />
<option name="ASSIGNMENT_WRAP" value="1" />
<option name="IF_BRACE_FORCE" value="1" />
<option name="DOWHILE_BRACE_FORCE" value="1" />
<option name="WHILE_BRACE_FORCE" value="1" />
<option name="FOR_BRACE_FORCE" value="1" />
<option name="FIELD_ANNOTATION_WRAP" value="0" />
<indentOptions>
<option name="TAB_SIZE" value="8" />
</indentOptions>
</codeStyleSettings>
<codeStyleSettings language="JavaScript">
<option name="ELSE_ON_NEW_LINE" value="true" />
<option name="WHILE_ON_NEW_LINE" value="true" />
<option name="CATCH_ON_NEW_LINE" value="true" />
<option name="FINALLY_ON_NEW_LINE" value="true" />
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
<option name="ALIGN_MULTILINE_BINARY_OPERATION" value="true" />
<option name="ALIGN_MULTILINE_TERNARY_OPERATION" value="true" />
<option name="CALL_PARAMETERS_WRAP" value="1" />
<option name="METHOD_PARAMETERS_WRAP" value="5" />
<option name="BINARY_OPERATION_WRAP" value="5" />
<option name="TERNARY_OPERATION_WRAP" value="5" />
<option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true" />
<option name="FOR_STATEMENT_WRAP" value="5" />
<option name="ARRAY_INITIALIZER_WRAP" value="1" />
<option name="ASSIGNMENT_WRAP" value="1" />
<option name="IF_BRACE_FORCE" value="1" />
<option name="DOWHILE_BRACE_FORCE" value="1" />
<option name="WHILE_BRACE_FORCE" value="1" />
<option name="FOR_BRACE_FORCE" value="1" />
</codeStyleSettings>
<codeStyleSettings language="PROTO">
<indentOptions>
<option name="INDENT_SIZE" value="2" />
<option name="CONTINUATION_INDENT_SIZE" value="4" />
<option name="TAB_SIZE" value="2" />
</indentOptions>
</codeStyleSettings>
<codeStyleSettings language="Scala">
<option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="0" />
<option name="ELSE_ON_NEW_LINE" value="true" />
<option name="WHILE_ON_NEW_LINE" value="true" />
<option name="CATCH_ON_NEW_LINE" value="true" />
<option name="FINALLY_ON_NEW_LINE" value="true" />
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
<option name="ALIGN_MULTILINE_BINARY_OPERATION" value="true" />
<option name="ALIGN_MULTILINE_PARENTHESIZED_EXPRESSION" value="true" />
<option name="CALL_PARAMETERS_WRAP" value="1" />
<option name="METHOD_PARAMETERS_WRAP" value="5" />
<option name="EXTENDS_LIST_WRAP" value="1" />
<option name="EXTENDS_KEYWORD_WRAP" value="1" />
<option name="METHOD_CALL_CHAIN_WRAP" value="1" />
<option name="BINARY_OPERATION_WRAP" value="5" />
<option name="FOR_STATEMENT_WRAP" value="5" />
<option name="IF_BRACE_FORCE" value="1" />
<option name="DOWHILE_BRACE_FORCE" value="1" />
<option name="WHILE_BRACE_FORCE" value="1" />
<option name="FOR_BRACE_FORCE" value="1" />
<option name="FIELD_ANNOTATION_WRAP" value="0" />
</codeStyleSettings>
<codeStyleSettings language="TypeScript">
<option name="ELSE_ON_NEW_LINE" value="true" />
<option name="WHILE_ON_NEW_LINE" value="true" />
<option name="CATCH_ON_NEW_LINE" value="true" />
<option name="FINALLY_ON_NEW_LINE" value="true" />
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
<option name="ALIGN_MULTILINE_BINARY_OPERATION" value="true" />
<option name="ALIGN_MULTILINE_TERNARY_OPERATION" value="true" />
<option name="ALIGN_MULTILINE_EXTENDS_LIST" value="true" />
<option name="CALL_PARAMETERS_WRAP" value="1" />
<option name="METHOD_PARAMETERS_WRAP" value="5" />
<option name="EXTENDS_LIST_WRAP" value="1" />
<option name="EXTENDS_KEYWORD_WRAP" value="1" />
<option name="BINARY_OPERATION_WRAP" value="5" />
<option name="TERNARY_OPERATION_WRAP" value="5" />
<option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true" />
<option name="FOR_STATEMENT_WRAP" value="5" />
<option name="ARRAY_INITIALIZER_WRAP" value="1" />
<option name="ASSIGNMENT_WRAP" value="1" />
<option name="IF_BRACE_FORCE" value="1" />
<option name="DOWHILE_BRACE_FORCE" value="1" />
<option name="WHILE_BRACE_FORCE" value="1" />
<option name="FOR_BRACE_FORCE" value="1" />
</codeStyleSettings>
<codeStyleSettings language="XML">
<indentOptions>
<option name="CONTINUATION_INDENT_SIZE" value="4" />
<option name="TAB_SIZE" value="8" />
</indentOptions>
</codeStyleSettings>
<codeStyleSettings language="kotlin">
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
</codeStyleSettings>
</code_scheme>
</component>

View File

@@ -1,5 +0,0 @@
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
</state>
</component>

30
.idea/compiler.xml generated Normal file
View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<option name="DEFAULT_COMPILER" value="Javac" />
<option name="BUILD_PROCESS_HEAP_SIZE" value="2000" />
<excludeFromCompile>
<directory url="file://$PROJECT_DIR$/core/reflection.jvm" includeSubdirectories="true" />
<directory url="file://$PROJECT_DIR$/core/runtime.jvm" includeSubdirectories="true" />
</excludeFromCompile>
<resourceExtensions />
<wildcardResourcePatterns>
<entry name="!?*.java" />
<entry name="!?*.form" />
<entry name="!?*.class" />
<entry name="!?*.groovy" />
<entry name="!?*.scala" />
<entry name="!?*.flex" />
<entry name="!?*.kt" />
<entry name="!?*.clj" />
</wildcardResourcePatterns>
<annotationProcessing>
<profile default="true" name="Default" enabled="false">
<processorPath useClasspath="true" />
</profile>
</annotationProcessing>
</component>
<component name="JavacSettings">
<option name="ADDITIONAL_OPTIONS_STRING" value="-target 1.6" />
</component>
</project>

View File

@@ -1,7 +1,9 @@
<component name="CopyrightManager">
<copyright>
<option name="allowReplaceRegexp" value="JetBrains" />
<option name="notice" value="Copyright 2010-&amp;#36;today.year JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license &#10;that can be found in the license/LICENSE.txt file." />
<option name="notice" value="Copyright 2010-&amp;#36;today.year JetBrains s.r.o.&#10;&#10;Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);&#10;you may not use this file except in compliance with the License.&#10;You may obtain a copy of the License at&#10;&#10;http://www.apache.org/licenses/LICENSE-2.0&#10;&#10;Unless required by applicable law or agreed to in writing, software&#10;distributed under the License is distributed on an &quot;AS IS&quot; BASIS,&#10;WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&#10;See the License for the specific language governing permissions and&#10;limitations under the License." />
<option name="keyword" value="Copyright" />
<option name="allowReplaceKeyword" value="JetBrains" />
<option name="myName" value="apache" />
<option name="myLocal" value="true" />
</copyright>
</component>

View File

@@ -1,7 +1,7 @@
<component name="CopyrightManager">
<settings>
<settings default="">
<module2copyright>
<element module="Apply copyright" copyright="apache" />
<element module="all except testData" copyright="apache" />
</module2copyright>
<LanguageOptions name="Groovy">
<option name="fileTypeOverride" value="1" />

View File

@@ -1,8 +0,0 @@
<component name="ProjectDictionaryState">
<dictionary name="4u7">
<words>
<w>cidr</w>
<w>foldable</w>
</words>
</dictionary>
</component>

View File

@@ -1,8 +0,0 @@
<component name="ProjectDictionaryState">
<dictionary name="Alexey.Sedunov">
<words>
<w>inplace</w>
<w>renamer</w>
</words>
</dictionary>
</component>

View File

@@ -2,8 +2,6 @@
<dictionary name="Nikolay.Krasko">
<words>
<w>accessors</w>
<w>coroutines</w>
<w>crossinline</w>
<w>fqname</w>
<w>goto</w>
<w>gradle</w>
@@ -13,13 +11,11 @@
<w>memoize</w>
<w>memoized</w>
<w>multiline</w>
<w>navigatable</w>
<w>preload</w>
<w>preloader</w>
<w>preloading</w>
<w>preprocess</w>
<w>redeclarations</w>
<w>smap</w>
<w>subclassed</w>
<w>subgraph</w>
<w>substep</w>

View File

@@ -2,14 +2,8 @@
<dictionary name="bashor">
<words>
<w>ctor</w>
<w>inlining</w>
<w>interner</w>
<w>intrinsicify</w>
<w>kclass</w>
<w>lookups</w>
<w>minification</w>
<w>minifier</w>
<w>minify</w>
<w>unescape</w>
</words>
</dictionary>

View File

@@ -2,11 +2,7 @@
<dictionary name="dzharkov">
<words>
<w>checkcast</w>
<w>coroutine</w>
<w>experimentalities</w>
<w>experimentality</w>
<w>insn</w>
<w>liveness</w>
</words>
</dictionary>
</component>

View File

@@ -3,7 +3,6 @@
<words>
<w>decapitalize</w>
<w>delegator</w>
<w>elipsis</w>
<w>funs</w>
<w>immediates</w>
<w>initializers</w>
@@ -18,7 +17,6 @@
<w>renderers</w>
<w>rparenth</w>
<w>selectioner</w>
<w>smartcast</w>
<w>summand</w>
<w>unpluralize</w>
<w>weighers</w>

View File

@@ -1,12 +0,0 @@
<component name="ProjectDictionaryState">
<dictionary name="yan">
<words>
<w>deserializes</w>
<w>impls</w>
<w>kapt</w>
<w>parceler</w>
<w>repl</w>
<w>uast</w>
</words>
</dictionary>
</component>

View File

@@ -1,7 +0,0 @@
<component name="ProjectDictionaryState">
<dictionary name="yole">
<words>
<w>multiplatform</w>
</words>
</dictionary>
</component>

17
.idea/encodings.xml generated
View File

@@ -1,23 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false">
<file url="file://$PROJECT_DIR$/libraries" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/libraries/examples/browser-example" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/libraries/examples/browser-example-with-library" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/libraries/examples/js-example" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/libraries/examples/kotlin-java-example" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/libraries/examples/kotlin-js-library-example" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/libraries/tools/idl2k" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/libraries/tools/kotlin-annotation-processing-maven" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/libraries/tools/kotlin-maven-allopen" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/libraries/tools/kotlin-maven-noarg" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/libraries/tools/kotlin-maven-plugin" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/libraries/tools/kotlin-maven-plugin-test" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/libraries/tools/kotlin-maven-sam-with-receiver" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/libraries/tools/kotlin-osgi-bundle" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/libraries/tools/maven-archetypes" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/libraries/tools/maven-archetypes/kotlin-archetype-js" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/libraries/tools/maven-archetypes/kotlin-archetype-jvm" charset="UTF-8" />
<file url="PROJECT" charset="UTF-8" />
</component>
</project>

View File

@@ -1,6 +1,7 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<profile version="1.0" is_locked="false">
<option name="myName" value="idea.default" />
<option name="myLocal" value="false" />
<inspection_tool class="AbstractMethodCallInConstructor" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="ArchaicSystemPropertyAccess" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AssignmentToForLoopParameter" enabled="true" level="WARNING" enabled_by_default="true">
@@ -56,7 +57,7 @@
<option name="ignoreOnVolatileVariables" value="true" />
</inspection_tool>
<inspection_tool class="DuplicateCondition" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoreSideEffectConditions" value="true" />
<option name="ignoreMethodCalls" value="false" />
</inspection_tool>
<inspection_tool class="EmptyStatementBody" enabled="true" level="WARNING" enabled_by_default="true">
<option name="m_reportEmptyBlocks" value="false" />
@@ -98,27 +99,6 @@
<option name="insideTryAllowed" value="false" />
</inspection_tool>
<inspection_tool class="IfStatementWithIdenticalBranches" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="IncompatibleAPI" enabled="true" level="ERROR" enabled_by_default="true">
<option name="problems">
<list>
<Problem reference="org.jetbrains.plugins.gradle.util.GradleConstants#KOTLIN_DSL_SCRIPT_EXTENSION" reason="Absent in 172. Please inline." />
<Problem reference="com.intellij.psi.impl.compiled.ClsClassImpl#getQualifiedName" reason="Nullable in 173, platform in 172. Use qualifiedNameEx instead." />
<Problem reference="com.intellij.internal.statistic.utils.StatisticsUtilKt#getEnumUsage" reason="Absent in 172. Use org.jetbrains.kotlin.idea.util.compat.statistic.StatisticKt.getEnumUsage instead." />
<Problem reference="com.intellij.internal.statistic.utils.StatisticsUtilKt#getBooleanUsage" reason="Absent in 172 Use org.jetbrains.kotlin.idea.util.compat.statistic.StatisticKt.getBooleanUsage instead." />
<Problem reference="com.intellij.internal.statistic.AbstractProjectsUsagesCollector" reason="Absent in 172. Use org.jetbrains.kotlin.idea.util.compat.statistic.AbstractProjectsUsagesCollector instead." />
<Problem reference="com.intellij.openapi.progress.ProgressManager#getProgressIndicator" reason="Not null starting from 181. Use getProgressIndicatorNullable instead." />
<Problem reference="com.intellij.testFramework.PlatformTestCase#createModuleAt" reason="Not static anymore in 181 after 7dacf096c47d2125e17031c71a037b63ab00ec53" />
<Problem reference="com.intellij.testFramework.PlatformTestCase#doCreateRealModuleIn" reason="Not static anymore in 181 after 7dacf096c47d2125e17031c71a037b63ab00ec53" />
<Problem reference="com.intellij.openapi.progress.ProgressManager#getProgressIndicator" reason="Nullable in 181. Temporary use progressIndicatorNullable instead." />
<Problem reference="com.intellij.testFramework.fixtures.CodeInsightTestFixture#getProjectDisposable" reason="Method was introduced in 173 and absent in 172. Use getProjectDisposableEx instead. (95eaf81e0ea497f8c69263c11fd3202d28a7a1b2)" />
<Problem reference="org.jetbrains.org.objectweb.asm.Opcodes#V9" reason="Absent in 172 branch. Use V1_9 while 172 is supported." />
<Problem reference="com.intellij.psi.codeStyle.CommonCodeStyleSettings#getSoftMargins" reason="Absent in 172." />
<Problem reference="com.intellij.util.xmlb.XmlSerializer#serializeInto(java.lang.Object, org.jdom.Element)" reason="Absent in 172." />
<Problem reference="org.jetbrains.java.decompiler.main.decompiler.BaseDecompiler#addSpace" reason="Method was replaced with outher methods in 182. Use addSpaceEx instead." />
<Problem reference="com.intellij.psi.util.PsiUtil#canBeOverridden" reason="Absent in 172. Use org.jetbrains.kotlin.idea.core.util.compat.psi.canBeOverridden() instead." />
</list>
</option>
</inspection_tool>
<inspection_tool class="InnerClassMayBeStatic" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="InstanceofCatchParameter" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="InstanceofIncompatibleInterface" enabled="true" level="WARNING" enabled_by_default="true" />
@@ -296,23 +276,12 @@
<inspection_tool class="PackageDirectoryMismatch" enabled="true" level="WARNING" enabled_by_default="false">
<scope name="all except testData" level="WARNING" enabled="true" />
</inspection_tool>
<inspection_tool class="ProblematicAPIUsage" enabled="true" level="ERROR" enabled_by_default="true">
<option name="problems">
<list>
<Problem reference="com.intellij.testFramework.PlatformTestCase#createModuleAt" reason="Not static anymore in 181 after 7dacf096c47d2125e17031c71a037b63ab00ec53" />
<Problem reference="com.intellij.testFramework.PlatformTestCase#doCreateRealModuleIn" reason="Not static anymore in 181 after 7dacf096c47d2125e17031c71a037b63ab00ec53" />
<Problem reference="com.intellij.openapi.progress.ProgressManager#getProgressIndicator" reason="Nullable in 181. Temporary use progressIndicatorNullable instead." />
<Problem reference="com.intellij.testFramework.fixtures.CodeInsightTestFixture#getProjectDisposable" reason="Method was introduced in 173 and absent in 172. Use getProjectDisposableEx instead. (95eaf81e0ea497f8c69263c11fd3202d28a7a1b2)" />
</list>
</option>
</inspection_tool>
<inspection_tool class="ProtectedMemberInFinalClass" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="PublicFieldAccessedInSynchronizedContext" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="PyCompatibilityInspection" enabled="true" level="ERROR" enabled_by_default="true">
<option name="fromVersion" value="2.4" />
<option name="toVersion" value="3.1" />
</inspection_tool>
<inspection_tool class="Reformat" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
<inspection_tool class="ReplaceAssignmentWithOperatorAssignment" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoreLazyOperators" value="true" />
<option name="ignoreObscureOperators" value="true" />
@@ -373,12 +342,11 @@
<constraint name="__context__" script="&quot;&quot;" within="" contains="" />
</searchConfiguration>
</inspection_tool>
<inspection_tool class="SameParameterValue" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
<inspection_tool class="SetReplaceableByEnumSet" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="SetupCallsSuperSetup" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="SetupIsPublicVoidNoArg" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="SimplifiableIfStatement" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="Since15" enabled="false" level="ERROR" enabled_by_default="false">
<inspection_tool class="Since15" enabled="true" level="ERROR" enabled_by_default="true">
<scope name="IDEA Test Sources" level="ERROR" enabled="false" />
</inspection_tool>
<inspection_tool class="SocketResource" enabled="true" level="WARNING" enabled_by_default="true">
@@ -434,10 +402,8 @@
<inspection_tool class="UnnecessaryFullyQualifiedName" enabled="true" level="WARNING" enabled_by_default="true">
<scope name="IDEA Test Sources" level="WARNING" enabled="false">
<option name="m_ignoreJavadoc" value="true" />
<option name="ignoreInModuleStatements" value="true" />
</scope>
<option name="m_ignoreJavadoc" value="true" />
<option name="ignoreInModuleStatements" value="true" />
</inspection_tool>
<inspection_tool class="UnnecessaryLabelOnBreakStatement" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="UnnecessaryLabelOnContinueStatement" enabled="false" level="WARNING" enabled_by_default="false" />
@@ -445,7 +411,6 @@
<inspection_tool class="UnnecessaryUnboxing" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="UseOfPropertiesAsHashtable" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="UtilityClassWithPublicConstructor" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="VolatileLongOrDoubleField" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="WaitNotInLoop" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="WaitNotInSynchronizedContext" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="WaitWhileHoldingTwoLocks" enabled="true" level="WARNING" enabled_by_default="true" />

14
.idea/kotlinc.xml generated
View File

@@ -1,18 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Kotlin2JsCompilerArguments">
<option name="sourceMapEmbedSources" />
<option name="sourceMapPrefix" />
</component>
<component name="Kotlin2JvmCompilerArguments">
<option name="jvmTarget" value="1.8" />
</component>
<component name="KotlinCommonCompilerArguments">
<option name="errors">
<ArgumentParseErrors />
</option>
</component>
<component name="KotlinCompilerSettings">
<option name="additionalArguments" value="-version -Xallow-kotlin-package -Xskip-metadata-version-check -Xread-deserialized-contracts" />
<option name="additionalArguments" value="-version -Xallow-kotlin-package -Xskip-metadata-version-check" />
</component>
</project>

14
.idea/libraries/Rhino.xml generated Normal file
View File

@@ -0,0 +1,14 @@
<component name="libraryTable">
<library name="Rhino">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$PROJECT_DIR$/dependencies/rhino-1.7.6.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/dependencies/rhino-1.7.6-sources.jar!/rhino1.7.6/src" />
</SOURCES>
</library>
</component>

17
.idea/libraries/android_plugin.xml generated Normal file
View File

@@ -0,0 +1,17 @@
<component name="libraryTable">
<library name="android-plugin">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
</ANNOTATIONS>
<CLASSES>
<root url="file://$PROJECT_DIR$/ideaSDK/plugins/android/lib" />
<root url="file://$PROJECT_DIR$/ideaSDK/plugins/android/lib/jps" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/" />
</SOURCES>
<jarDirectory url="file://$PROJECT_DIR$/ideaSDK/plugins/android/lib" recursive="false" />
<jarDirectory url="file://$PROJECT_DIR$/ideaSDK/plugins/android/lib/jps" recursive="false" />
</library>
</component>

10
.idea/libraries/android_studio.xml generated Normal file
View File

@@ -0,0 +1,10 @@
<component name="libraryTable">
<library name="android-studio">
<CLASSES>
<root url="file://$PROJECT_DIR$/android-studio/sdk/lib" />
</CLASSES>
<JAVADOC />
<SOURCES />
<jarDirectory url="file://$PROJECT_DIR$/android-studio/sdk/lib" recursive="false" />
</library>
</component>

14
.idea/libraries/ant.xml generated Normal file
View File

@@ -0,0 +1,14 @@
<component name="libraryTable">
<library name="ant">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$PROJECT_DIR$/dependencies/ant-1.8/lib/ant.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/dependencies/apache-ant-1.8.2-src.zip!/apache-ant-1.8.2/src/main" />
</SOURCES>
</library>
</component>

14
.idea/libraries/asm.xml generated Normal file
View File

@@ -0,0 +1,14 @@
<component name="libraryTable">
<library name="asm">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$PROJECT_DIR$/ideaSDK/lib/asm-all.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/dependencies/asm5-src.zip!/" />
</SOURCES>
</library>
</component>

9
.idea/libraries/builtins.xml generated Normal file
View File

@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="builtins">
<CLASSES>
<root url="file://$PROJECT_DIR$/dist/builtins" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

11
.idea/libraries/cli_parser.xml generated Normal file
View File

@@ -0,0 +1,11 @@
<component name="libraryTable">
<library name="cli-parser">
<CLASSES>
<root url="jar://$PROJECT_DIR$/dependencies/cli-parser-1.1.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/dependencies/cli-parser-1.1.2-sources.jar!/" />
</SOURCES>
</library>
</component>

14
.idea/libraries/copyright_plugin.xml generated Normal file
View File

@@ -0,0 +1,14 @@
<component name="libraryTable">
<library name="copyright-plugin">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$PROJECT_DIR$/ideaSDK/plugins/copyright/lib/copyright.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/" />
</SOURCES>
</library>
</component>

13
.idea/libraries/coverage_plugin.xml generated Normal file
View File

@@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="coverage-plugin">
<CLASSES>
<root url="jar://$PROJECT_DIR$/ideaSDK/plugins/coverage/lib/coverage.jar!/" />
<root url="jar://$PROJECT_DIR$/ideaSDK/plugins/coverage/lib/jacocoant.jar!/" />
<root url="jar://$PROJECT_DIR$/ideaSDK/plugins/coverage/lib/coverage-agent.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/" />
</SOURCES>
</library>
</component>

14
.idea/libraries/dx_android.xml generated Normal file
View File

@@ -0,0 +1,14 @@
<component name="libraryTable">
<library name="dx-android">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$PROJECT_DIR$/dependencies/android-5.0/lib/dx.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/dependencies/dx-src/src" />
</SOURCES>
</library>
</component>

View File

@@ -0,0 +1,19 @@
<component name="libraryTable">
<library name="gradle-and-groovy-plugin">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
</ANNOTATIONS>
<CLASSES>
<root url="file://$PROJECT_DIR$/ideaSDK/plugins/gradle/lib" />
<root url="file://$PROJECT_DIR$/ideaSDK/plugins/Groovy/lib" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/ideaSDK/plugins/gradle/lib" />
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/" />
</SOURCES>
<jarDirectory url="file://$PROJECT_DIR$/ideaSDK/plugins/gradle/lib" recursive="false" />
<jarDirectory url="file://$PROJECT_DIR$/ideaSDK/plugins/Groovy/lib" recursive="false" />
<jarDirectory url="file://$PROJECT_DIR$/ideaSDK/plugins/gradle/lib" recursive="false" type="SOURCES" />
</library>
</component>

14
.idea/libraries/guava.xml generated Normal file
View File

@@ -0,0 +1,14 @@
<component name="libraryTable">
<library name="guava">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$PROJECT_DIR$/ideaSDK/lib/guava-17.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/dependencies/guava-17.0-sources.jar!/" />
</SOURCES>
</library>
</component>

18
.idea/libraries/idea_full.xml generated Normal file
View File

@@ -0,0 +1,18 @@
<component name="libraryTable">
<library name="idea-full">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/" />
</ANNOTATIONS>
<CLASSES>
<root url="file://$PROJECT_DIR$/ideaSDK/lib" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/dependencies/guava-17.0-sources.jar!/" />
<root url="jar://$PROJECT_DIR$/dependencies/asm5-src.zip!/" />
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/" />
</SOURCES>
<jarDirectory url="file://$PROJECT_DIR$/ideaSDK/lib" recursive="false" />
</library>
</component>

18
.idea/libraries/intellij_core.xml generated Normal file
View File

@@ -0,0 +1,18 @@
<component name="libraryTable">
<library name="intellij-core">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/" />
</ANNOTATIONS>
<CLASSES>
<root url="file://$PROJECT_DIR$/ideaSDK/core" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/dependencies/guava-17.0-sources.jar!/" />
<root url="jar://$PROJECT_DIR$/dependencies/asm5-src.zip!/" />
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/" />
</SOURCES>
<jarDirectory url="file://$PROJECT_DIR$/ideaSDK/core" recursive="false" />
</library>
</component>

View File

@@ -0,0 +1,17 @@
<component name="libraryTable">
<library name="intellij-core-analysis">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$PROJECT_DIR$/ideaSDK/core-analysis/intellij-core-analysis.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/dependencies/asm5-src.zip!/" />
<root url="jar://$PROJECT_DIR$/dependencies/guava-17.0-sources.jar!/" />
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/" />
</SOURCES>
</library>
</component>

11
.idea/libraries/intellilang_plugin.xml generated Normal file
View File

@@ -0,0 +1,11 @@
<component name="libraryTable">
<library name="intellilang-plugin">
<CLASSES>
<root url="jar://$PROJECT_DIR$/ideaSDK/plugins/IntelliLang/lib/IntelliLang.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/" />
</SOURCES>
</library>
</component>

11
.idea/libraries/jansi.xml generated Normal file
View File

@@ -0,0 +1,11 @@
<component name="libraryTable">
<library name="jansi">
<CLASSES>
<root url="jar://$PROJECT_DIR$/dependencies/jansi.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/dependencies/jansi-sources.jar!/" />
</SOURCES>
</library>
</component>

14
.idea/libraries/java_i18n.xml generated Normal file
View File

@@ -0,0 +1,14 @@
<component name="libraryTable">
<library name="java-i18n">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$PROJECT_DIR$/ideaSDK/plugins/java-i18n/lib/java-i18n.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/" />
</SOURCES>
</library>
</component>

11
.idea/libraries/javax_inject.xml generated Normal file
View File

@@ -0,0 +1,11 @@
<component name="libraryTable">
<library name="javax.inject">
<CLASSES>
<root url="jar://$PROJECT_DIR$/lib/javax.inject.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/lib/javax.inject-src.zip!/" />
</SOURCES>
</library>
</component>

14
.idea/libraries/jline.xml generated Normal file
View File

@@ -0,0 +1,14 @@
<component name="libraryTable">
<library name="jline">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$PROJECT_DIR$/dependencies/jline.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/dependencies/jline-sources.jar!/" />
</SOURCES>
</library>
</component>

27
.idea/libraries/jps.xml generated Normal file
View File

@@ -0,0 +1,27 @@
<component name="libraryTable">
<library name="jps">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
</ANNOTATIONS>
<CLASSES>
<root url="file://$PROJECT_DIR$/ideaSDK/jps" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/dependencies/protobuf-java-2.5.0-sources.jar!/" />
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/" />
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/jps/antLayout/src" />
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/jps/jps-builders/src" />
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/jps/jps-builders/testSrc" />
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/jps/jps-launcher/src" />
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/jps/model-api/src" />
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/jps/model-impl/src" />
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/jps/model-impl/testSrc" />
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/jps/model-serialization/src" />
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/jps/model-serialization/testSrc" />
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/jps/plugin-system/src" />
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/jps/standalone-builder/src" />
</SOURCES>
<jarDirectory url="file://$PROJECT_DIR$/ideaSDK/jps" recursive="false" />
</library>
</component>

14
.idea/libraries/jps_model.xml generated Normal file
View File

@@ -0,0 +1,14 @@
<component name="libraryTable">
<library name="jps-model">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$PROJECT_DIR$/ideaSDK/jps/jps-model.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/" />
</SOURCES>
</library>
</component>

15
.idea/libraries/jps_test.xml generated Normal file
View File

@@ -0,0 +1,15 @@
<component name="libraryTable">
<library name="jps-test">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
</ANNOTATIONS>
<CLASSES>
<root url="file://$PROJECT_DIR$/ideaSDK/jps/test" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/" />
</SOURCES>
<jarDirectory url="file://$PROJECT_DIR$/ideaSDK/jps/test" recursive="false" />
</library>
</component>

16
.idea/libraries/junit_4_11.xml generated Normal file
View File

@@ -0,0 +1,16 @@
<component name="libraryTable">
<library name="junit-4.11">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$PROJECT_DIR$/ideaSDK/lib/hamcrest-core-1.3.jar!/" />
<root url="jar://$PROJECT_DIR$/ideaSDK/lib/junit-4.11.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/dependencies/hamcrest-core-1.3-sources.jar!/" />
<root url="jar://$PROJECT_DIR$/dependencies/junit-4.11-sources.jar!/" />
</SOURCES>
</library>
</component>

15
.idea/libraries/junit_plugin.xml generated Normal file
View File

@@ -0,0 +1,15 @@
<component name="libraryTable">
<library name="junit-plugin">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$PROJECT_DIR$/ideaSDK/plugins/junit/lib/idea-junit.jar!/" />
<root url="jar://$PROJECT_DIR$/ideaSDK/plugins/junit/lib/resources_en.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/" />
</SOURCES>
</library>
</component>

9
.idea/libraries/kotlin_reflect.xml generated Normal file
View File

@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="kotlin-reflect">
<CLASSES>
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-reflect.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

13
.idea/libraries/kotlin_runtime.xml generated Normal file
View File

@@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="kotlin-runtime">
<CLASSES>
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-runtime.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/libraries/stdlib/src" />
<root url="file://$PROJECT_DIR$/core/builtins/native" />
<root url="file://$PROJECT_DIR$/core/builtins/src" />
</SOURCES>
</library>
</component>

13
.idea/libraries/kotlin_test.xml generated Normal file
View File

@@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="kotlin-test">
<CLASSES>
<root url="jar://$PROJECT_DIR$/dependencies/bootstrap-compiler/Kotlin/kotlinc/lib/kotlin-test.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/libraries/kotlin.test/shared/src/main/kotlin" />
<root url="file://$PROJECT_DIR$/libraries/kotlin.test/shared/src/main/kotlin.jvm" />
<root url="file://$PROJECT_DIR$/libraries/kotlin.test/junit/src/main/kotlin" />
</SOURCES>
</library>
</component>

9
.idea/libraries/markdown.xml generated Normal file
View File

@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="markdown">
<CLASSES>
<root url="jar://$PROJECT_DIR$/dependencies/markdown.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

15
.idea/libraries/maven.xml generated Normal file
View File

@@ -0,0 +1,15 @@
<component name="libraryTable">
<library name="maven">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
</ANNOTATIONS>
<CLASSES>
<root url="file://$PROJECT_DIR$/ideaSDK/plugins/maven/lib" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/" />
</SOURCES>
<jarDirectory url="file://$PROJECT_DIR$/ideaSDK/plugins/maven/lib" recursive="false" />
</library>
</component>

View File

@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="native-platform-uberjar">
<CLASSES>
<root url="jar://$PROJECT_DIR$/dependencies/native-platform-uberjar.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

14
.idea/libraries/properties.xml generated Normal file
View File

@@ -0,0 +1,14 @@
<component name="libraryTable">
<library name="properties">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$PROJECT_DIR$/ideaSDK/plugins/properties/lib/properties.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/" />
</SOURCES>
</library>
</component>

14
.idea/libraries/protobuf_java.xml generated Normal file
View File

@@ -0,0 +1,14 @@
<component name="libraryTable">
<library name="protobuf-java">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$PROJECT_DIR$/ideaSDK/lib/protobuf-2.5.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/dependencies/protobuf-java-2.5.0-sources.jar!/" />
</SOURCES>
</library>
</component>

17
.idea/libraries/testng_plugin.xml generated Normal file
View File

@@ -0,0 +1,17 @@
<component name="libraryTable">
<library name="testng-plugin">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$PROJECT_DIR$/ideaSDK/plugins/testng/lib/testng-plugin.jar!/" />
<root url="jar://$PROJECT_DIR$/ideaSDK/plugins/testng/lib/testng.jar!/" />
<root url="jar://$PROJECT_DIR$/ideaSDK/plugins/testng/lib/jcommander.jar!/" />
<root url="jar://$PROJECT_DIR$/ideaSDK/plugins/testng/lib/resources_en.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/ideaSDK/sources/sources.jar!/" />
</SOURCES>
</library>
</component>

17
.idea/libraries/trove4j.xml generated Normal file
View File

@@ -0,0 +1,17 @@
<component name="libraryTable">
<library name="trove4j">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/annotations" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$PROJECT_DIR$/ideaSDK/lib/trove4j.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/ideaSDK/lib/src/trove4j_src.jar!/core/src" />
<root url="jar://$PROJECT_DIR$/ideaSDK/lib/src/trove4j_src.jar!/generated/src" />
<root url="jar://$PROJECT_DIR$/ideaSDK/lib/src/trove4j_src.jar!/test/src" />
<root url="jar://$PROJECT_DIR$/ideaSDK/lib/src/trove4j_src.jar!/util/src" />
</SOURCES>
</library>
</component>

47
.idea/misc.xml generated
View File

@@ -6,6 +6,7 @@
</properties>
</component>
<component name="EntryPointsManager">
<entry_points version="2.0" />
<list size="1">
<item index="0" class="java.lang.String" itemvalue="javax.inject.Inject" />
</list>
@@ -40,57 +41,19 @@
<component name="MavenProjectsManager">
<option name="originalFiles">
<list>
<option value="$PROJECT_DIR$/libraries/pom.xml" />
<option value="$PROJECT_DIR$/confluence-highlighting/pom.xml" />
<option value="$PROJECT_DIR$/confluence/pom.xml" />
</list>
</option>
</component>
<component name="NullableNotNullManager">
<option name="myNullables">
<value>
<list size="9">
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.Nullable" />
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nullable" />
<item index="2" class="java.lang.String" itemvalue="javax.annotation.CheckForNull" />
<item index="3" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.Nullable" />
<item index="4" class="java.lang.String" itemvalue="android.support.annotation.Nullable" />
<item index="5" class="java.lang.String" itemvalue="androidx.annotation.Nullable" />
<item index="6" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.qual.Nullable" />
<item index="7" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.compatqual.NullableDecl" />
<item index="8" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.compatqual.NullableType" />
</list>
</value>
</option>
<option name="myNotNulls">
<value>
<list size="9">
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.NotNull" />
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nonnull" />
<item index="2" class="java.lang.String" itemvalue="javax.validation.constraints.NotNull" />
<item index="3" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.NonNull" />
<item index="4" class="java.lang.String" itemvalue="android.support.annotation.NonNull" />
<item index="5" class="java.lang.String" itemvalue="androidx.annotation.NonNull" />
<item index="6" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.qual.NonNull" />
<item index="7" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.compatqual.NonNullDecl" />
<item index="8" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.compatqual.NonNullType" />
</list>
</value>
</option>
</component>
<component name="ProjectResources">
<default-html-doctype>http://www.w3.org/1999/xhtml</default-html-doctype>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="1.6" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
<component name="SuppressABINotification">
<option name="modulesWithSuppressedNotConfigured">
<set>
<option value="backend.src" />
<option value="kotlin-stdlib-common" />
<option value="kotlin-stdlib-js" />
<option value="kotlin-test-common" />
</set>
</option>
<option name="isSuppressed" value="true" />
</component>
<component name="WebServicesPlugin" addRequiredLibraries="true" />
<component name="com.sixrr.metrics.MetricsReloaded">

81
.idea/modules.xml generated Normal file
View File

@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/Kotlin.iml" filepath="$PROJECT_DIR$/Kotlin.iml" />
<module fileurl="file://$PROJECT_DIR$/plugins/lint/android-annotations/android-annotations.iml" filepath="$PROJECT_DIR$/plugins/lint/android-annotations/android-annotations.iml" />
<module fileurl="file://$PROJECT_DIR$/plugins/android-extensions/android-extensions-compiler/android-extensions-compiler.iml" filepath="$PROJECT_DIR$/plugins/android-extensions/android-extensions-compiler/android-extensions-compiler.iml" group="plugins/android-extensions" />
<module fileurl="file://$PROJECT_DIR$/plugins/android-extensions/android-extensions-idea/android-extensions-idea.iml" filepath="$PROJECT_DIR$/plugins/android-extensions/android-extensions-idea/android-extensions-idea.iml" group="plugins/android-extensions" />
<module fileurl="file://$PROJECT_DIR$/plugins/android-extensions/android-extensions-jps/android-extensions-jps.iml" filepath="$PROJECT_DIR$/plugins/android-extensions/android-extensions-jps/android-extensions-jps.iml" group="plugins/android-extensions" />
<module fileurl="file://$PROJECT_DIR$/android-studio/android-studio.iml" filepath="$PROJECT_DIR$/android-studio/android-studio.iml" group="ide" />
<module fileurl="file://$PROJECT_DIR$/compiler/android-tests/android-tests.iml" filepath="$PROJECT_DIR$/compiler/android-tests/android-tests.iml" group="compiler" />
<module fileurl="file://$PROJECT_DIR$/plugins/annotation-collector/annotation-collector.iml" filepath="$PROJECT_DIR$/plugins/annotation-collector/annotation-collector.iml" group="plugins" />
<module fileurl="file://$PROJECT_DIR$/ant/ant.iml" filepath="$PROJECT_DIR$/ant/ant.iml" />
<module fileurl="file://$PROJECT_DIR$/compiler/backend/backend.iml" filepath="$PROJECT_DIR$/compiler/backend/backend.iml" group="compiler/java" />
<module fileurl="file://$PROJECT_DIR$/compiler/backend-common/backend-common.iml" filepath="$PROJECT_DIR$/compiler/backend-common/backend-common.iml" group="compiler" />
<module fileurl="file://$PROJECT_DIR$/jps-plugin/bare-plugin/bare-plugin.iml" filepath="$PROJECT_DIR$/jps-plugin/bare-plugin/bare-plugin.iml" group="ide/jps" />
<module fileurl="file://$PROJECT_DIR$/build-common/build-common.iml" filepath="$PROJECT_DIR$/build-common/build-common.iml" />
<module fileurl="file://$PROJECT_DIR$/core/builtins/builtins.iml" filepath="$PROJECT_DIR$/core/builtins/builtins.iml" group="core" />
<module fileurl="file://$PROJECT_DIR$/compiler/builtins-serializer/builtins-serializer.iml" filepath="$PROJECT_DIR$/compiler/builtins-serializer/builtins-serializer.iml" group="compiler/cli" />
<module fileurl="file://$PROJECT_DIR$/compiler/cli/cli.iml" filepath="$PROJECT_DIR$/compiler/cli/cli.iml" group="compiler/cli" />
<module fileurl="file://$PROJECT_DIR$/compiler/cli/cli-common/cli-common.iml" filepath="$PROJECT_DIR$/compiler/cli/cli-common/cli-common.iml" group="compiler/cli" />
<module fileurl="file://$PROJECT_DIR$/compiler/cli/cli-runner/cli-runner.iml" filepath="$PROJECT_DIR$/compiler/cli/cli-runner/cli-runner.iml" group="compiler/cli" />
<module fileurl="file://$PROJECT_DIR$/compiler/tests/compiler-tests.iml" filepath="$PROJECT_DIR$/compiler/tests/compiler-tests.iml" group="compiler" />
<module fileurl="file://$PROJECT_DIR$/compiler/tests-java8/compiler-tests-java8.iml" filepath="$PROJECT_DIR$/compiler/tests-java8/compiler-tests-java8.iml" group="compiler" />
<module fileurl="file://$PROJECT_DIR$/compiler/conditional-preprocessor/conditional-preprocessor.iml" filepath="$PROJECT_DIR$/compiler/conditional-preprocessor/conditional-preprocessor.iml" group="compiler" />
<module fileurl="file://$PROJECT_DIR$/compiler/container/container.iml" filepath="$PROJECT_DIR$/compiler/container/container.iml" group="compiler" />
<module fileurl="file://$PROJECT_DIR$/compiler/daemon/daemon.iml" filepath="$PROJECT_DIR$/compiler/daemon/daemon.iml" group="compiler/daemon" />
<module fileurl="file://$PROJECT_DIR$/compiler/daemon/daemon-client/daemon-client.iml" filepath="$PROJECT_DIR$/compiler/daemon/daemon-client/daemon-client.iml" group="compiler/daemon" />
<module fileurl="file://$PROJECT_DIR$/compiler/daemon/daemon-common/daemon-common.iml" filepath="$PROJECT_DIR$/compiler/daemon/daemon-common/daemon-common.iml" group="compiler/daemon" />
<module fileurl="file://$PROJECT_DIR$/core/descriptor.loader.java/descriptor.loader.java.iml" filepath="$PROJECT_DIR$/core/descriptor.loader.java/descriptor.loader.java.iml" group="core" />
<module fileurl="file://$PROJECT_DIR$/core/descriptors/descriptors.iml" filepath="$PROJECT_DIR$/core/descriptors/descriptors.iml" group="core" />
<module fileurl="file://$PROJECT_DIR$/core/descriptors.runtime/descriptors.runtime.iml" filepath="$PROJECT_DIR$/core/descriptors.runtime/descriptors.runtime.iml" group="core" />
<module fileurl="file://$PROJECT_DIR$/core/deserialization/deserialization.iml" filepath="$PROJECT_DIR$/core/deserialization/deserialization.iml" group="core" />
<module fileurl="file://$PROJECT_DIR$/eval4j/eval4j.iml" filepath="$PROJECT_DIR$/eval4j/eval4j.iml" group="ide" />
<module fileurl="file://$PROJECT_DIR$/idea/formatter/formatter.iml" filepath="$PROJECT_DIR$/idea/formatter/formatter.iml" group="ide" />
<module fileurl="file://$PROJECT_DIR$/compiler/frontend/frontend.iml" filepath="$PROJECT_DIR$/compiler/frontend/frontend.iml" group="compiler" />
<module fileurl="file://$PROJECT_DIR$/compiler/frontend.java/frontend.java.iml" filepath="$PROJECT_DIR$/compiler/frontend.java/frontend.java.iml" group="compiler/java" />
<module fileurl="file://$PROJECT_DIR$/generators/generators.iml" filepath="$PROJECT_DIR$/generators/generators.iml" group="infrastructure" />
<module fileurl="file://$PROJECT_DIR$/grammar/grammar.iml" filepath="$PROJECT_DIR$/grammar/grammar.iml" group="compiler" />
<module fileurl="file://$PROJECT_DIR$/idea/ide-common/ide-common.iml" filepath="$PROJECT_DIR$/idea/ide-common/ide-common.iml" group="ide" />
<module fileurl="file://$PROJECT_DIR$/idea/idea.iml" filepath="$PROJECT_DIR$/idea/idea.iml" group="ide" />
<module fileurl="file://$PROJECT_DIR$/idea/idea-analysis/idea-analysis.iml" filepath="$PROJECT_DIR$/idea/idea-analysis/idea-analysis.iml" group="ide" />
<module fileurl="file://$PROJECT_DIR$/idea/idea-android/idea-android.iml" filepath="$PROJECT_DIR$/idea/idea-android/idea-android.iml" group="ide" />
<module fileurl="file://$PROJECT_DIR$/idea/idea-completion/idea-completion.iml" filepath="$PROJECT_DIR$/idea/idea-completion/idea-completion.iml" group="ide" />
<module fileurl="file://$PROJECT_DIR$/idea/idea-core/idea-core.iml" filepath="$PROJECT_DIR$/idea/idea-core/idea-core.iml" group="ide" />
<module fileurl="file://$PROJECT_DIR$/idea/idea-jps-common/idea-jps-common.iml" filepath="$PROJECT_DIR$/idea/idea-jps-common/idea-jps-common.iml" group="ide" />
<module fileurl="file://$PROJECT_DIR$/idea/idea-live-templates/idea-live-templates.iml" filepath="$PROJECT_DIR$/idea/idea-live-templates/idea-live-templates.iml" group="ide" />
<module fileurl="file://$PROJECT_DIR$/idea/idea-repl/idea-repl.iml" filepath="$PROJECT_DIR$/idea/idea-repl/idea-repl.iml" group="ide" />
<module fileurl="file://$PROJECT_DIR$/idea-runner/idea-runner.iml" filepath="$PROJECT_DIR$/idea-runner/idea-runner.iml" group="ide" />
<module fileurl="file://$PROJECT_DIR$/idea/idea-test-framework/idea-test-framework.iml" filepath="$PROJECT_DIR$/idea/idea-test-framework/idea-test-framework.iml" group="ide" />
<module fileurl="file://$PROJECT_DIR$/compiler/preloader/instrumentation/instrumentation.iml" filepath="$PROJECT_DIR$/compiler/preloader/instrumentation/instrumentation.iml" group="compiler/cli" />
<module fileurl="file://$PROJECT_DIR$/j2k/j2k.iml" filepath="$PROJECT_DIR$/j2k/j2k.iml" group="j2k" />
<module fileurl="file://$PROJECT_DIR$/jps-plugin/jps-plugin.iml" filepath="$PROJECT_DIR$/jps-plugin/jps-plugin.iml" group="ide/jps" />
<module fileurl="file://$PROJECT_DIR$/js/js.dart-ast/js.dart-ast.iml" filepath="$PROJECT_DIR$/js/js.dart-ast/js.dart-ast.iml" group="compiler/js" />
<module fileurl="file://$PROJECT_DIR$/js/js.frontend/js.frontend.iml" filepath="$PROJECT_DIR$/js/js.frontend/js.frontend.iml" group="compiler/js" />
<module fileurl="file://$PROJECT_DIR$/js/js.inliner/js.inliner.iml" filepath="$PROJECT_DIR$/js/js.inliner/js.inliner.iml" group="compiler/js" />
<module fileurl="file://$PROJECT_DIR$/js/js.parser/js.parser.iml" filepath="$PROJECT_DIR$/js/js.parser/js.parser.iml" group="compiler/js" />
<module fileurl="file://$PROJECT_DIR$/js/js.serializer/js.serializer.iml" filepath="$PROJECT_DIR$/js/js.serializer/js.serializer.iml" group="compiler/js" />
<module fileurl="file://$PROJECT_DIR$/js/js.tests/js.tests.iml" filepath="$PROJECT_DIR$/js/js.tests/js.tests.iml" group="compiler/js" />
<module fileurl="file://$PROJECT_DIR$/js/js.translator/js.translator.iml" filepath="$PROJECT_DIR$/js/js.translator/js.translator.iml" group="compiler/js" />
<module fileurl="file://$PROJECT_DIR$/jps-plugin/kannotator-jps-plugin-test/kannotator-jps-plugin-test.iml" filepath="$PROJECT_DIR$/jps-plugin/kannotator-jps-plugin-test/kannotator-jps-plugin-test.iml" group="ide/jps" />
<module fileurl="file://$PROJECT_DIR$/compiler/light-classes/light-classes.iml" filepath="$PROJECT_DIR$/compiler/light-classes/light-classes.iml" group="compiler/java" />
<module fileurl="file://$PROJECT_DIR$/plugins/lint/lint-api/lint-api.iml" filepath="$PROJECT_DIR$/plugins/lint/lint-api/lint-api.iml" group="plugins/lint" />
<module fileurl="file://$PROJECT_DIR$/plugins/lint/lint-checks/lint-checks.iml" filepath="$PROJECT_DIR$/plugins/lint/lint-checks/lint-checks.iml" group="plugins/lint" />
<module fileurl="file://$PROJECT_DIR$/plugins/lint/lint-idea/lint-idea.iml" filepath="$PROJECT_DIR$/plugins/lint/lint-idea/lint-idea.iml" group="plugins/lint" />
<module fileurl="file://$PROJECT_DIR$/compiler/plugin-api/plugin-api.iml" filepath="$PROJECT_DIR$/compiler/plugin-api/plugin-api.iml" group="compiler" />
<module fileurl="file://$PROJECT_DIR$/compiler/preloader/preloader.iml" filepath="$PROJECT_DIR$/compiler/preloader/preloader.iml" group="compiler/cli" />
<module fileurl="file://$PROJECT_DIR$/core/reflection.jvm/reflection.jvm.iml" filepath="$PROJECT_DIR$/core/reflection.jvm/reflection.jvm.iml" group="core" />
<module fileurl="file://$PROJECT_DIR$/compiler/resolution/resolution.iml" filepath="$PROJECT_DIR$/compiler/resolution/resolution.iml" group="compiler" />
<module fileurl="file://$PROJECT_DIR$/core/runtime.jvm/runtime.jvm.iml" filepath="$PROJECT_DIR$/core/runtime.jvm/runtime.jvm.iml" group="core" />
<module fileurl="file://$PROJECT_DIR$/compiler/serialization/serialization.iml" filepath="$PROJECT_DIR$/compiler/serialization/serialization.iml" group="compiler" />
<module fileurl="file://$PROJECT_DIR$/temp-jdk8/temp-jdk8.iml" filepath="$PROJECT_DIR$/temp-jdk8/temp-jdk8.iml" />
<module fileurl="file://$PROJECT_DIR$/plugins/lint/uast-android/uast-android.iml" filepath="$PROJECT_DIR$/plugins/lint/uast-android/uast-android.iml" group="plugins/lint" />
<module fileurl="file://$PROJECT_DIR$/plugins/uast-common/uast-common.iml" filepath="$PROJECT_DIR$/plugins/uast-common/uast-common.iml" group="plugins/lint" />
<module fileurl="file://$PROJECT_DIR$/plugins/uast-java/uast-java.iml" filepath="$PROJECT_DIR$/plugins/uast-java/uast-java.iml" group="plugins/lint" />
<module fileurl="file://$PROJECT_DIR$/plugins/uast-kotlin/uast-kotlin.iml" filepath="$PROJECT_DIR$/plugins/uast-kotlin/uast-kotlin.iml" group="plugins/lint" />
<module fileurl="file://$PROJECT_DIR$/compiler/util/util.iml" filepath="$PROJECT_DIR$/compiler/util/util.iml" />
<module fileurl="file://$PROJECT_DIR$/core/util.runtime/util.runtime.iml" filepath="$PROJECT_DIR$/core/util.runtime/util.runtime.iml" group="core" />
</modules>
</component>
</project>

View File

@@ -0,0 +1,37 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="All Compiler Tests" type="JUnit" factoryName="JUnit">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea">
<pattern>
<option name="PATTERN" value="org.jetbrains.kotlin.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<module name="compiler-tests" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="PACKAGE_NAME" value="org.jetbrains.kotlin" />
<option name="MAIN_CLASS_NAME" value="" />
<option name="METHOD_NAME" value="" />
<option name="TEST_OBJECT" value="package" />
<option name="VM_PARAMETERS" value="-ea -XX:+HeapDumpOnOutOfMemoryError -Xmx900m -XX:MaxPermSize=320m -XX:+UseCodeCacheFlushing -XX:ReservedCodeCacheSize=64m" />
<option name="PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<option name="TEST_SEARCH_SCOPE">
<value defaultName="moduleWithDependencies" />
</option>
<envs />
<patterns />
<RunnerSettings RunnerId="Debug">
<option name="DEBUG_PORT" value="" />
<option name="TRANSPORT" value="0" />
<option name="LOCAL" value="true" />
</RunnerSettings>
<RunnerSettings RunnerId="Profile " />
<RunnerSettings RunnerId="Run" />
<ConfigurationWrapper RunnerId="Debug" />
<ConfigurationWrapper RunnerId="Run" />
<method />
</configuration>
</component>

View File

@@ -0,0 +1,37 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="All IDEA Plugin Tests" type="JUnit" factoryName="JUnit">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea">
<pattern>
<option name="PATTERN" value="org.jetbrains.kotlin.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<module name="idea" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="PACKAGE_NAME" value="org.jetbrains.kotlin" />
<option name="MAIN_CLASS_NAME" value="" />
<option name="METHOD_NAME" value="" />
<option name="TEST_OBJECT" value="package" />
<option name="VM_PARAMETERS" value="-ea -XX:+HeapDumpOnOutOfMemoryError -Xmx900m -XX:MaxPermSize=320m -XX:+UseCodeCacheFlushing -XX:ReservedCodeCacheSize=64m" />
<option name="PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<option name="TEST_SEARCH_SCOPE">
<value defaultName="singleModule" />
</option>
<envs />
<patterns />
<RunnerSettings RunnerId="Debug">
<option name="DEBUG_PORT" value="" />
<option name="TRANSPORT" value="0" />
<option name="LOCAL" value="true" />
</RunnerSettings>
<RunnerSettings RunnerId="Profile " />
<RunnerSettings RunnerId="Run" />
<ConfigurationWrapper RunnerId="Debug" />
<ConfigurationWrapper RunnerId="Run" />
<method />
</configuration>
</component>

View File

@@ -0,0 +1,37 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="All Jvm Backend Tests" type="JUnit" factoryName="JUnit">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea">
<pattern>
<option name="PATTERN" value="org.jetbrains.kotlin.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<module name="compiler-tests" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="PACKAGE_NAME" value="org.jetbrains.kotlin.codegen" />
<option name="MAIN_CLASS_NAME" value="" />
<option name="METHOD_NAME" value="" />
<option name="TEST_OBJECT" value="package" />
<option name="VM_PARAMETERS" value="-ea -XX:+HeapDumpOnOutOfMemoryError -Xmx900m -XX:MaxPermSize=320m -XX:+UseCodeCacheFlushing -XX:ReservedCodeCacheSize=64m" />
<option name="PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<option name="TEST_SEARCH_SCOPE">
<value defaultName="moduleWithDependencies" />
</option>
<envs />
<patterns />
<RunnerSettings RunnerId="Debug">
<option name="DEBUG_PORT" value="" />
<option name="TRANSPORT" value="0" />
<option name="LOCAL" value="true" />
</RunnerSettings>
<RunnerSettings RunnerId="Profile " />
<RunnerSettings RunnerId="Run" />
<ConfigurationWrapper RunnerId="Debug" />
<ConfigurationWrapper RunnerId="Run" />
<method />
</configuration>
</component>

39
.idea/runConfigurations/All_Tests.xml generated Normal file
View File

@@ -0,0 +1,39 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="All Tests" type="JUnit" factoryName="JUnit">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea">
<pattern>
<option name="PATTERN" value="org.jetbrains.kotlin.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<module name="generators" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="PACKAGE_NAME" value="" />
<option name="MAIN_CLASS_NAME" value="" />
<option name="METHOD_NAME" value="" />
<option name="TEST_OBJECT" value="package" />
<option name="VM_PARAMETERS" value="-ea -XX:+HeapDumpOnOutOfMemoryError -Xmx900m -XX:MaxPermSize=500m -XX:+UseCodeCacheFlushing -XX:ReservedCodeCacheSize=128m" />
<option name="PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<option name="TEST_SEARCH_SCOPE">
<value defaultName="moduleWithDependencies" />
</option>
<envs>
<env name="NO_FS_ROOTS_ACCESS_CHECK" value="true" />
</envs>
<patterns />
<RunnerSettings RunnerId="Debug">
<option name="DEBUG_PORT" value="53032" />
<option name="TRANSPORT" value="0" />
<option name="LOCAL" value="true" />
</RunnerSettings>
<RunnerSettings RunnerId="Profile " />
<RunnerSettings RunnerId="Run" />
<ConfigurationWrapper RunnerId="Debug" />
<ConfigurationWrapper RunnerId="Run" />
<method />
</configuration>
</component>

View File

@@ -0,0 +1,30 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Android Studio" type="Application" factoryName="Application">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<option name="MAIN_CLASS_NAME" value="com.intellij.idea.Main" />
<option name="VM_PARAMETERS" value="-Didea.paths.selector=AndroidStudioPreview -Didea.platform.prefix=AndroidStudio -Xmx800m -XX:ReservedCodeCacheSize=64m -XX:MaxPermSize=450m -XX:+HeapDumpOnOutOfMemoryError -ea -Didea.is.internal=true -Didea.debug.mode=true -Didea.system.path=../system-idea -Didea.config.path=../config-idea -Dapple.laf.useScreenMenuBar=true -Dapple.awt.graphics.UseQuartz=true -Dsun.io.useCanonCaches=false -Dplugin.path=$PROJECT_DIR$/out/artifacts/Kotlin,$PROJECT_DIR$/out/artifacts/KotlinAndroidExtensions" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/android-studio/sdk/bin" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="ENABLE_SWING_INSPECTOR" value="false" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<module name="android-studio" />
<envs />
<RunnerSettings RunnerId="Debug">
<option name="DEBUG_PORT" value="" />
<option name="TRANSPORT" value="0" />
<option name="LOCAL" value="true" />
</RunnerSettings>
<RunnerSettings RunnerId="Run" />
<ConfigurationWrapper RunnerId="Debug" />
<ConfigurationWrapper RunnerId="Run" />
<method>
<option name="BuildArtifacts" enabled="true">
<artifact name="KotlinPlugin" />
</option>
<option name="BuildArtifacts" enabled="true" />
</method>
</configuration>
</component>

View File

@@ -0,0 +1,31 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Codegen Tests on Android" type="JUnit" factoryName="JUnit">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<module name="android-tests" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="PACKAGE_NAME" value="org.jetbrains.kotlin.android.tests" />
<option name="MAIN_CLASS_NAME" value="org.jetbrains.kotlin.android.tests.AndroidRunner" />
<option name="METHOD_NAME" value="" />
<option name="TEST_OBJECT" value="class" />
<option name="VM_PARAMETERS" value="-ea -XX:+HeapDumpOnOutOfMemoryError -Xmx512m -XX:MaxPermSize=320m -XX:+UseCodeCacheFlushing" />
<option name="PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<option name="TEST_SEARCH_SCOPE">
<value defaultName="moduleWithDependencies" />
</option>
<envs />
<patterns />
<RunnerSettings RunnerId="Debug">
<option name="DEBUG_PORT" value="" />
<option name="TRANSPORT" value="0" />
<option name="LOCAL" value="true" />
</RunnerSettings>
<RunnerSettings RunnerId="Run" />
<ConfigurationWrapper RunnerId="Debug" />
<ConfigurationWrapper RunnerId="Run" />
<method />
</configuration>
</component>

31
.idea/runConfigurations/Eval4j_Tests.xml generated Normal file
View File

@@ -0,0 +1,31 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Eval4j Tests" type="JUnit" factoryName="JUnit">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<module name="eval4j" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="PACKAGE_NAME" value="org.jetbrains.eval4j.test" />
<option name="MAIN_CLASS_NAME" value="" />
<option name="METHOD_NAME" value="" />
<option name="TEST_OBJECT" value="package" />
<option name="VM_PARAMETERS" value="-ea" />
<option name="PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<option name="TEST_SEARCH_SCOPE">
<value defaultName="singleModule" />
</option>
<envs />
<patterns />
<RunnerSettings RunnerId="Debug">
<option name="DEBUG_PORT" value="" />
<option name="TRANSPORT" value="0" />
<option name="LOCAL" value="true" />
</RunnerSettings>
<RunnerSettings RunnerId="Run" />
<ConfigurationWrapper RunnerId="Debug" />
<ConfigurationWrapper RunnerId="Run" />
<method />
</configuration>
</component>

View File

@@ -1,20 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Generate All Tests" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="generateTests" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<method />
</configuration>
</component>

View File

@@ -1,24 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Generate Compiler Tests" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$/compiler" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value=":compiler:generateTests" />
<option value=":compiler:tests-java8:generateTests" />
<option value=":js:js.tests:generateTests" />
<option value=":core:descriptors.runtime:generateTests" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<method />
</configuration>
</component>

View File

@@ -0,0 +1,31 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Generate Tests" type="Application" factoryName="Application">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea">
<pattern>
<option name="PATTERN" value="org.jetbrains.kotlin.generators.tests.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<option name="MAIN_CLASS_NAME" value="org.jetbrains.kotlin.generators.tests.GenerateTestsKt" />
<option name="VM_PARAMETERS" value="-ea" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="ENABLE_SWING_INSPECTOR" value="false" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<module name="generators" />
<envs />
<RunnerSettings RunnerId="Debug">
<option name="DEBUG_PORT" value="" />
<option name="TRANSPORT" value="0" />
<option name="LOCAL" value="true" />
</RunnerSettings>
<RunnerSettings RunnerId="Profile " />
<RunnerSettings RunnerId="Run" />
<ConfigurationWrapper RunnerId="Debug" />
<ConfigurationWrapper RunnerId="Run" />
<method />
</configuration>
</component>

View File

@@ -1,20 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Generate standard library sources" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$/libraries/tools/kotlin-stdlib-gen" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="--configure-on-demand" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="run" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<method />
</configuration>
</component>

View File

@@ -1,20 +1,50 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="IDEA" type="GradleRunConfiguration" factoryName="Gradle" singleton="true">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
<configuration default="false" name="IDEA" type="Application" factoryName="Application" singleton="true">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<option name="MAIN_CLASS_NAME" value="com.intellij.idea.Main" />
<option name="VM_PARAMETERS" value="-Xmx800m -XX:ReservedCodeCacheSize=64m -XX:MaxPermSize=450m -XX:+HeapDumpOnOutOfMemoryError -ea -Didea.is.internal=true -Didea.debug.mode=true -Didea.system.path=../system-idea -Didea.config.path=../config-idea -Dapple.laf.useScreenMenuBar=true -Dapple.awt.graphics.UseQuartz=true -Dsun.io.useCanonCaches=false -Dplugin.path=$PROJECT_DIR$/out/artifacts/Kotlin -Dkotlin.internal.mode.enabled=true" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/ideaSDK/bin" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<option name="ENABLE_SWING_INSPECTOR" value="false" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<module name="idea-runner" />
<envs />
<RunnerSettings RunnerId="Debug">
<option name="DEBUG_PORT" value="" />
<option name="TRANSPORT" value="0" />
<option name="LOCAL" value="true" />
</RunnerSettings>
<RunnerSettings RunnerId="JavaRebel">
<option name="bootstrapPath" />
<option name="jrebelArgs" value="" />
<option name="loggingEnabled" value="false" />
<option name="useBootstrapDefaults" value="true" />
</RunnerSettings>
<RunnerSettings RunnerId="JavaRebel Debug">
<option name="bootstrapPath" />
<option name="debugPort" value="" />
<option name="jrebelArgs" value="" />
<option name="loggingEnabled" value="false" />
<option name="transport" value="0" />
<option name="useBootstrapDefaults" value="true" />
<option name="DEBUG_PORT" value="" />
<option name="TRANSPORT" value="0" />
<option name="LOCAL" value="true" />
</RunnerSettings>
<RunnerSettings RunnerId="Profile " />
<RunnerSettings RunnerId="Run" />
<ConfigurationWrapper RunnerId="Debug" />
<ConfigurationWrapper RunnerId="Profile " />
<ConfigurationWrapper RunnerId="Run" />
<method>
<option name="BuildArtifacts" enabled="true">
<artifact name="KotlinPlugin" />
</option>
<option name="taskNames">
<list>
<option value="runIde" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<method v="2" />
<option name="BuildArtifacts" enabled="true" />
<option name="AntTarget" enabled="true" antfile="file://$PROJECT_DIR$/idea-runner/runner.xml" target="force-enable-kotlin-plugin" />
</method>
</configuration>
</component>

View File

@@ -1,20 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="IDEA Ultimate" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="-P intellijUltimateEnabled" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="runUltimate" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<method />
</configuration>
</component>

View File

@@ -1,20 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="IDEA Ultimate (No ProcessCanceledException) " type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="-PnoPCE" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="runUltimate" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<method />
</configuration>
</component>

View File

@@ -1,20 +1,31 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="IDEA (No ProcessCanceledException)" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="-PnoPCE" />
<option name="taskDescriptions">
<list />
<configuration default="false" name="IDEA (No ProcessCanceledException)" type="Application" factoryName="Application" singleton="true">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<option name="MAIN_CLASS_NAME" value="com.intellij.idea.Main" />
<option name="VM_PARAMETERS" value="-Xmx800m -XX:ReservedCodeCacheSize=64m -XX:MaxPermSize=400m -XX:+HeapDumpOnOutOfMemoryError -ea -Didea.is.internal=true -Didea.debug.mode=true -Didea.system.path=../system-idea -Didea.config.path=../config-idea -Dapple.laf.useScreenMenuBar=true -Dapple.awt.graphics.UseQuartz=true -Dsun.io.useCanonCaches=false -Dplugin.path=$PROJECT_DIR$/out/artifacts/Kotlin -Didea.ProcessCanceledException=disabled -Dkotlin.internal.mode.enabled=true" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/ideaSDK/bin" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="ENABLE_SWING_INSPECTOR" value="false" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<module name="idea-runner" />
<envs />
<RunnerSettings RunnerId="Debug">
<option name="DEBUG_PORT" value="" />
<option name="TRANSPORT" value="0" />
<option name="LOCAL" value="true" />
</RunnerSettings>
<RunnerSettings RunnerId="Run" />
<ConfigurationWrapper RunnerId="Debug" />
<ConfigurationWrapper RunnerId="Run" />
<method>
<option name="BuildArtifacts" enabled="true">
<artifact name="KotlinPlugin" />
</option>
<option name="taskNames">
<list>
<option value="runIde" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<method />
<option name="BuildArtifacts" enabled="true" />
<option name="AntTarget" enabled="true" antfile="file://$PROJECT_DIR$/idea-runner/runner.xml" target="force-enable-kotlin-plugin" />
</method>
</configuration>
</component>

23
.idea/runConfigurations/IDEA__win_.xml generated Normal file
View File

@@ -0,0 +1,23 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="IDEA (win)" type="Application" factoryName="Application">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<option name="MAIN_CLASS_NAME" value="com.intellij.idea.Main" />
<option name="VM_PARAMETERS" value="-Xmx800m -XX:ReservedCodeCacheSize=64m -XX:MaxPermSize=450m -XX:+HeapDumpOnOutOfMemoryError -ea -Didea.is.internal=true -Didea.debug.mode=true -Didea.system.path=../system-idea -Didea.config.path=../config-idea -Dapple.laf.useScreenMenuBar=true -Dapple.awt.graphics.UseQuartz=true -Dsun.io.useCanonCaches=false -Dplugin.path=$PROJECT_DIR$/out/artifacts/Kotlin -Dkotlin.internal.mode.enabled=true -Didea.additional.classpath=${JAVA_HOME}\lib\tools.jar,../idea-kotlin-runtime/kotlin-runtime.jar,../idea-kotlin-runtime/kotlin-reflect.jar" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/ideaSDK/bin" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="1.7" />
<option name="ENABLE_SWING_INSPECTOR" value="false" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<module name="idea-runner" />
<envs />
<method>
<option name="BuildArtifacts" enabled="true">
<artifact name="KotlinPlugin" />
</option>
<option name="BuildArtifacts" enabled="true" />
<option name="AntTarget" enabled="true" antfile="file://$PROJECT_DIR$/idea-runner/runner.xml" target="force-enable-kotlin-plugin" />
</method>
</configuration>
</component>

40
.idea/runConfigurations/J2K_Tests.xml generated Normal file
View File

@@ -0,0 +1,40 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="J2K Tests" type="JUnit" factoryName="JUnit">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea">
<pattern>
<option name="PATTERN" value="org.jetbrains.kotlin.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<module name="j2k" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="PACKAGE_NAME" value="" />
<option name="MAIN_CLASS_NAME" value="" />
<option name="METHOD_NAME" value="" />
<option name="TEST_OBJECT" value="pattern" />
<option name="VM_PARAMETERS" value="-ea -XX:+HeapDumpOnOutOfMemoryError -Xmx350m -XX:MaxPermSize=320m" />
<option name="PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<option name="TEST_SEARCH_SCOPE">
<value defaultName="moduleWithDependencies" />
</option>
<envs />
<patterns>
<pattern testClass="org.jetbrains.kotlin.idea.conversion.copy.*" />
<pattern testClass="org.jetbrains.kotlin.j2k.*" />
</patterns>
<RunnerSettings RunnerId="Debug">
<option name="DEBUG_PORT" value="" />
<option name="TRANSPORT" value="0" />
<option name="LOCAL" value="true" />
</RunnerSettings>
<RunnerSettings RunnerId="Profile " />
<RunnerSettings RunnerId="Run" />
<ConfigurationWrapper RunnerId="Debug" />
<ConfigurationWrapper RunnerId="Run" />
<method />
</configuration>
</component>

28
.idea/runConfigurations/Java_8_Tests.xml generated Normal file
View File

@@ -0,0 +1,28 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Java 8 Tests" type="JUnit" factoryName="JUnit">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea">
<pattern>
<option name="PATTERN" value="org.jetbrains.kotlin.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<module name="compiler-tests-java8" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="true" />
<option name="ALTERNATIVE_JRE_PATH" value="1.8" />
<option name="PACKAGE_NAME" value="org.jetbrains.kotlin" />
<option name="MAIN_CLASS_NAME" value="" />
<option name="METHOD_NAME" value="" />
<option name="TEST_OBJECT" value="package" />
<option name="VM_PARAMETERS" value="-ea -XX:+HeapDumpOnOutOfMemoryError -XX:+UseCodeCacheFlushing -XX:ReservedCodeCacheSize=64m" />
<option name="PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<option name="TEST_SEARCH_SCOPE">
<value defaultName="singleModule" />
</option>
<envs />
<patterns />
<method />
</configuration>
</component>

View File

@@ -0,0 +1,31 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Js-backend tests" type="JUnit" factoryName="JUnit">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<module name="js.tests" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="PACKAGE_NAME" value="org.jetbrains.kotlin.js.test" />
<option name="MAIN_CLASS_NAME" value="" />
<option name="METHOD_NAME" value="" />
<option name="TEST_OBJECT" value="package" />
<option name="VM_PARAMETERS" value="-ea -XX:+HeapDumpOnOutOfMemoryError -Xmx900m -XX:MaxPermSize=320m -XX:+UseCodeCacheFlushing" />
<option name="PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<option name="TEST_SEARCH_SCOPE">
<value defaultName="moduleWithDependencies" />
</option>
<envs />
<patterns />
<RunnerSettings RunnerId="Debug">
<option name="DEBUG_PORT" value="" />
<option name="TRANSPORT" value="0" />
<option name="LOCAL" value="true" />
</RunnerSettings>
<RunnerSettings RunnerId="Run" />
<ConfigurationWrapper RunnerId="Debug" />
<ConfigurationWrapper RunnerId="Run" />
<method />
</configuration>
</component>

View File

@@ -0,0 +1,31 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="KAnnotator Jps Plugin Test" type="JUnit" factoryName="JUnit">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<module name="kannotator-jps-plugin-test" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="PACKAGE_NAME" value="org.jetbrains.kotlin.jps.build.kannotator" />
<option name="MAIN_CLASS_NAME" value="" />
<option name="METHOD_NAME" value="" />
<option name="TEST_OBJECT" value="package" />
<option name="VM_PARAMETERS" value="-ea" />
<option name="PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<option name="TEST_SEARCH_SCOPE">
<value defaultName="moduleWithDependencies" />
</option>
<envs />
<patterns />
<RunnerSettings RunnerId="Debug">
<option name="DEBUG_PORT" value="" />
<option name="TRANSPORT" value="0" />
<option name="LOCAL" value="true" />
</RunnerSettings>
<RunnerSettings RunnerId="Run" />
<ConfigurationWrapper RunnerId="Debug" />
<ConfigurationWrapper RunnerId="Run" />
<method />
</configuration>
</component>

View File

@@ -0,0 +1,42 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Smart Completion Tests" type="JUnit" factoryName="JUnit">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea">
<pattern>
<option name="PATTERN" value="org.jetbrains.kotlin.completion.handlers.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<module name="idea" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="PACKAGE_NAME" value="org.jetbrains.kotlin.completion.handlers" />
<option name="MAIN_CLASS_NAME" value="" />
<option name="METHOD_NAME" value="" />
<option name="TEST_OBJECT" value="pattern" />
<option name="VM_PARAMETERS" value="-ea -Xmx512m -XX:MaxPermSize=320m" />
<option name="PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<option name="TEST_SEARCH_SCOPE">
<value defaultName="singleModule" />
</option>
<envs />
<patterns>
<pattern testClass="org.jetbrains.kotlin.idea.completion.test.JvmSmartCompletionTestGenerated" />
<pattern testClass="org.jetbrains.kotlin.idea.completion.test.handlers.SmartCompletionHandlerTestGenerated" />
<pattern testClass="org.jetbrains.kotlin.idea.completion.test.handlers.SmartCompletionMultifileHandlerTest" />
<pattern testClass="org.jetbrains.kotlin.idea.completion.test.weighers.SmartCompletionWeigherTestGenerated" />
<pattern testClass="org.jetbrains.kotlin.idea.completion.test.MultiFileSmartCompletionTestGenerated" />
</patterns>
<RunnerSettings RunnerId="Debug">
<option name="DEBUG_PORT" value="" />
<option name="TRANSPORT" value="0" />
<option name="LOCAL" value="true" />
</RunnerSettings>
<RunnerSettings RunnerId="Run" />
<ConfigurationWrapper RunnerId="Debug" />
<ConfigurationWrapper RunnerId="Run" />
<method />
</configuration>
</component>

View File

@@ -1,21 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Test: public API binary compatibility validator, overwrite results" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$/libraries/tools/binary-compatibility-validator" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value=" --tests * " />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value=":tools:binary-compatibility-validator:cleanTest" />
<option value=":tools:binary-compatibility-validator:test" />
</list>
</option>
<option name="vmOptions" value="-Doverwrite.output=true" />
</ExternalSystemSettings>
<method />
</configuration>
</component>

View File

@@ -0,0 +1,29 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Update-Dist-Run" type="Application" factoryName="Application" singleton="true">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<option name="MAIN_CLASS_NAME" value="com.intellij.idea.Main" />
<option name="VM_PARAMETERS" value="-Xmx800m -XX:ReservedCodeCacheSize=64m -XX:MaxPermSize=450m -XX:+HeapDumpOnOutOfMemoryError -ea -Didea.is.internal=true -Didea.debug.mode=true -Didea.system.path=../system-idea -Didea.config.path=../config-idea -Dapple.laf.useScreenMenuBar=true -Dapple.awt.graphics.UseQuartz=true -Dsun.io.useCanonCaches=false -Dplugin.path=$PROJECT_DIR$/out/artifacts/Kotlin -Dkotlin.internal.mode.enabled=true -Didea.additional.classpath=../idea-kotlin-runtime/kotlin-runtime.jar,../idea-kotlin-runtime/kotlin-reflect.jar" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/ideaSDK/bin" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<option name="ENABLE_SWING_INSPECTOR" value="false" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<module name="idea-runner" />
<envs />
<method>
<option name="Make" enabled="false" />
<option name="AntTarget" enabled="true" antfile="file://$PROJECT_DIR$/build.xml" target="clean_idea_output" />
<option name="AntTarget" enabled="true" antfile="file://$PROJECT_DIR$/update_dependencies.xml" target="update" />
<option name="AntTarget" enabled="true" antfile="file://$PROJECT_DIR$/build.xml" target="dist" />
<option name="MakeProject" enabled="true" />
<option name="RunConfigurationTask" enabled="true" run_configuration_name="Generate Tests" run_configuration_type="Application" />
<option name="BuildArtifacts" enabled="true">
<artifact name="KotlinPlugin" />
</option>
<option name="BuildArtifacts" enabled="true" />
<option name="AntTarget" enabled="true" antfile="file://$PROJECT_DIR$/idea_runner/runner.xml" target="force_enable_kotlin_plugin" />
</method>
</configuration>
</component>

View File

@@ -1,3 +0,0 @@
<component name="DependencyValidationManager">
<scope name="Apply copyright" pattern="!file[*]:*//testData//*&amp;&amp;!file[*]:testData//*&amp;&amp;!file[*]:*.gradle.kts&amp;&amp;!file[*]:*.gradle" />
</component>

2
.idea/scopes/IDE.xml generated
View File

@@ -1,3 +1,3 @@
<component name="DependencyValidationManager">
<scope name="IDE" pattern="file[idea_main]:*/||file[idea]:testData/*/||file[idea-formatter_main]:*/||file[ide-common_main]:*/||file[idea-android_main]:*/||file[idea-android-output-parser_main]:*/||file[idea]:idea-completion/testData/*/||file[idea-core_main]:*/||file[idea-gradle_main]:*/||file[idea-jps-common_main]:*/||file[idea-jvm_main]:*/||file[idea]:idea-live-templates/src/*/||file[idea]:idea-live-templates/testData/*/||file[idea-maven_main]:*/||file[idea-repl]:*/||file[idea-test-framework_main]:*/||file[kotlin-gradle-tooling_main]:*/" />
<scope name="IDE" pattern="file[idea]:src/*/||file[idea]:testData/*/||file[ide-common]:src/*/||file[idea-analysis]:src/*/||file[idea-android]:src/*/||file[idea-completion]:src/*/||file[idea-completion]:testData/*/||file[idea-core]:src/*/||file[idea-jps-common]:/*/||file[idea-live-templates]:/*/||file[idea-live-templates]:testData/*/||file[idea-repl]:/*/" />
</component>

View File

@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProtobufSettings">
<option name="includePaths">
<list>
<option value="$PROJECT_DIR$" />
</list>
</option>
</component>
</project>

8
.idea/vcs.xml generated
View File

@@ -11,14 +11,6 @@
<option name="issueRegexp" value="EA\-(\d+)" />
<option name="linkRegexp" value="http://ea.jetbrains.com/browser/ea_problems/$1" />
</IssueNavigationLink>
<IssueNavigationLink>
<option name="issueRegexp" value="KEEP\-(\d+)" />
<option name="linkRegexp" value="https://github.com/Kotlin/KEEP/issues/$1" />
</IssueNavigationLink>
<IssueNavigationLink>
<option name="issueRegexp" value="KOTLIN-CR\-\d+" />
<option name="linkRegexp" value="https://upsource.jetbrains.com/kotlin/review/$0" />
</IssueNavigationLink>
</list>
</option>
</component>

File diff suppressed because it is too large Load Diff

50
Kotlin.iml Normal file
View File

@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/resources" isTestSource="false" />
<excludeFolder url="$MODULE_DIR$/libraries/out" />
<excludeFolder url="file://$MODULE_DIR$/android.tests.dependencies" />
<excludeFolder url="file://$MODULE_DIR$/dependencies" />
<excludeFolder url="file://$MODULE_DIR$/dist" />
<excludeFolder url="file://$MODULE_DIR$/ideaSDK/androidSDK" />
<excludeFolder url="file://$MODULE_DIR$/ideaSDK/config" />
<excludeFolder url="file://$MODULE_DIR$/ideaSDK/config-idea" />
<excludeFolder url="file://$MODULE_DIR$/ideaSDK/system" />
<excludeFolder url="file://$MODULE_DIR$/ideaSDK/system-idea" />
<excludeFolder url="file://$MODULE_DIR$/libraries/.idea" />
<excludeFolder url="file://$MODULE_DIR$/libraries/docs/apidoc/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/docs/website/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/examples/browser-example/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/examples/js-example/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/examples/kotlin-java-example/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/kotlin-jdbc/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/kotlin-swing/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/kunit/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/stdlib/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/stdlib/validator/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/tools/.idea" />
<excludeFolder url="file://$MODULE_DIR$/libraries/tools/kdoc-maven-plugin/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/tools/kdoc/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/tools/kotlin-compiler/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/tools/kotlin-gradle-plugin-core/local-repo" />
<excludeFolder url="file://$MODULE_DIR$/libraries/tools/kotlin-gradle-plugin-core/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/tools/kotlin-gradle-plugin-test/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/tools/kotlin-gradle-plugin/local-repo" />
<excludeFolder url="file://$MODULE_DIR$/libraries/tools/kotlin-gradle-plugin/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/tools/kotlin-js-library/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/tools/kotlin-js-tests-junit/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/tools/kotlin-js-tests/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/tools/kotlin-maven-plugin-test/local-repo" />
<excludeFolder url="file://$MODULE_DIR$/libraries/tools/kotlin-maven-plugin-test/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/tools/kotlin-maven-plugin/local-repo" />
<excludeFolder url="file://$MODULE_DIR$/libraries/tools/kotlin-maven-plugin/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/tools/kotlin-reflect/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/tools/kotlin-stdlib-gen/target" />
<excludeFolder url="file://$MODULE_DIR$/libraries/tools/runtime/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

220
ReadMe.md
View File

@@ -1,169 +1,167 @@
[![official project](http://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
<a href="http://slack.kotlinlang.org/"><img src="http://slack.kotlinlang.org/badge.svg" height="20"></a>
[![TeamCity (simple build status)](https://img.shields.io/teamcity/http/teamcity.jetbrains.com/s/Kotlin_dev_Compiler.svg)](https://teamcity.jetbrains.com/viewType.html?buildTypeId=Kotlin_dev_Compiler&branch_Kotlin_dev=%3Cdefault%3E&tab=buildTypeStatusDiv)
<a href="http://kotlinslackin.herokuapp.com"><img src="https://kotlinslackin.herokuapp.com/badge.svg" height="20"></a>
[![TeamCity (simple build status)](https://img.shields.io/teamcity/http/teamcity.jetbrains.com/s/bt345.svg)](https://teamcity.jetbrains.com/viewType.html?buildTypeId=bt345&branch_Kotlin=%3Cdefault%3E&tab=buildTypeStatusDiv)
[![Maven Central](https://img.shields.io/maven-central/v/org.jetbrains.kotlin/kotlin-maven-plugin.svg)](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.jetbrains.kotlin%22)
[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0)
# Kotlin Programming Language
Welcome to [Kotlin](https://kotlinlang.org/)! Some handy links:
Welcome to [Kotlin](http://kotlinlang.org/)! Some handy links:
* [Kotlin Site](https://kotlinlang.org/)
* [Getting Started Guide](https://kotlinlang.org/docs/tutorials/getting-started.html)
* [Try Kotlin](https://try.kotlinlang.org/)
* [Kotlin Standard Library](https://kotlinlang.org/api/latest/jvm/stdlib/index.html)
* [Issue Tracker](https://youtrack.jetbrains.com/issues/KT)
* [Forum](https://discuss.kotlinlang.org/)
* [Kotlin Blog](https://blog.jetbrains.com/kotlin/)
* [Kotlin Site](http://kotlinlang.org/)
* [Getting Started Guide](http://kotlinlang.org/docs/tutorials/getting-started.html)
* [Try Kotlin](http://try.kotlinlang.org/)
* [Kotlin Standard Library](http://kotlinlang.org/api/latest/jvm/stdlib/index.html)
* [Issue Tracker](http://youtrack.jetbrains.com/issues/KT)
* [Forum](http://devnet.jetbrains.net/community/kotlin?view=discussions)
* [Kotlin Blog](http://blog.jetbrains.com/kotlin/)
* [Follow Kotlin on Twitter](https://twitter.com/kotlin)
* [Public Slack channel](http://slack.kotlinlang.org/)
* [Public Slack channel](http://kotlinslackin.herokuapp.com/)
* [TeamCity CI build](https://teamcity.jetbrains.com/project.html?tab=projectOverview&projectId=Kotlin)
## Editing Kotlin
* [Kotlin IntelliJ IDEA Plugin](https://kotlinlang.org/docs/tutorials/getting-started.html)
* [Kotlin Eclipse Plugin](https://kotlinlang.org/docs/tutorials/getting-started-eclipse.html)
* [Kotlin Sublime Text Package](https://github.com/vkostyukov/kotlin-sublime-package)
## Build environment requirements
In order to build Kotlin distribution you need to have:
- JDK 1.6, 1.7, 1.8 and 9
- Setup environment variables as following:
JAVA_HOME="path to JDK 1.8"
JDK_16="path to JDK 1.6"
JDK_17="path to JDK 1.7"
JDK_18="path to JDK 1.8"
JDK_9="path to JDK 9"
For local development, if you're not working on bytecode generation or the standard library, it's OK to have only JDK 1.8 and JDK 9 installed, and to point JDK_16 and JDK_17 environment variables to your JDK 1.8 installation.
You also can use [Gradle properties](https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_properties_and_system_properties) to setup JDK_* variables.
> Note: The JDK 6 for MacOS is not available on Oracle's site. You can [download it here](https://support.apple.com/kb/DL1572).
* [Kotlin Eclipse Plugin](http://kotlinlang.org/docs/tutorials/getting-started-eclipse.html)
* [Kotlin TextMate Bundle](https://github.com/vkostyukov/kotlin-sublime-package)
## Building
The project is built with Gradle. Run Gradle to build the project and to run the tests
using the following command on Unix/macOS:
To build this project, first time you try to build you need to run this (requires Apache **Ant 1.8** or higher and **JDK 1.6**):
./gradlew <tasks-and-options>
or the following command on Windows:
ant -f update_dependencies.xml
gradlew <tasks-and-options>
which will setup the dependencies on
On the first project configuration gradle will download and setup the dependencies on
* intellij-core: is a part of command line compiler and contains only necessary APIs.
* idea-full: is a full blown IntelliJ IDEA Community Edition to be used in former plugin module.
* `intellij-core` is a part of command line compiler and contains only necessary APIs.
* `idea-full` is a full blown IntelliJ IDEA Community Edition to be used in the plugin module.
Then, you need to run
These dependencies are quite large, so depending on the quality of your internet connection
you might face timeouts getting them. In this case you can increase timeout by specifying the following
command line parameters on the first run:
./gradlew -Dhttp.socketTimeout=60000 -Dhttp.connectionTimeout=60000
ant -f build.xml
## Important gradle tasks
which will build the binaries of the compiler and put them into the 'dist' directory. You may need to increase the **heap size** for Ant using
[ANT_OPTS](http://www.liferay.com/community/wiki/-/wiki/Main/Ant+opts).
- `clean` - clean build results
- `dist` - assembles the compiler distribution into `dist/kotlinc/` folder
- `ideaPlugin` - assembles the Kotlin IDEA plugin distribution into `dist/artifacts/Kotlin` folder
- `install` - build and install all public artifacts into local maven repository
- `runIde` - build IDEA plugin and run IDEA with it
- `coreLibsTest` - build and run stdlib, reflect and kotlin-test tests
- `gradlePluginTest` - build and run gradle plugin tests
- `compilerTest` - build and run all compiler tests
- `ideaPluginTest` - build and run all IDEA plugin tests
**OPTIONAL:** Maven distribution is built separately, run
**OPTIONAL:** Some artifacts, mainly Maven plugin ones, are built separately with Maven.
Refer to [libraries/ReadMe.md](libraries/ReadMe.md) for details.
mvn package
from 'libraries' directory after building the compiler. Refer to `libraries/ReadMe.md` for details.
### Building for different versions of IntelliJ IDEA and Android Studio
## Working with the project in IntelliJ IDEA
Kotlin plugin is indented to work with several recent versions of IntelliJ IDEA and Android Studio. Each platform is allowed to have a different set of features and might provide a slightly different API. Instead of using several parallel Git branches, project stores everything in a single branch, but files may have counterparts with version extensions (\*.as32, \*.172, \*.181). The primary file is expected to be replaced with its counterpart when targeting non-default platform.
The [root kotlin project](https://github.com/JetBrains/kotlin) already has an IntelliJ IDEA project, you can just open it in IntelliJ IDEA.
More detailed description of this scheme can be found at https://github.com/JetBrains/bunches/blob/master/ReadMe.md.
You may need to set the Project SDK (File -> Project Structure -> Project).
You may also need to add `tools.jar` to your SDK: File -> Project Structure -> SDKs -> <Your JDK> -> Classpath,
then choose the `tools.jar` in the JDK's `lib` directory.
Usually, there's no need to care about multiple platforms as all features are enabled everywhere by default. Additional counterparts should be created if there's an expected difference in behavior or an incompatible API usage is required **and** there's no reasonable workaround to save source compatibility. Kotlin plugin contains a pre-commit check that shows a warning if a file has been updated without its counterparts.
If you are not dealing with Android, you may need to disable the Android Plugin in order to compile the project.
Development for some particular platform is possible after 'switching' that can be done with [Bunch Tool](https://github.com/JetBrains/bunches/releases) from the command line.
Since Kotlin project contains code written in Kotlin itself, you will also need a Kotlin plugin to build the project in IntelliJ IDEA.
To keep the plugin version in sync with the rest of the team and our [Continuous Integration server](https://teamcity.jetbrains.com/project.html?projectId=Kotlin&tab=projectOverview)
you should install the according to the [instructions below](#plugin-for-contributors).
```sh
cd kotlin-project-dir
# switching to IntelliJ Idea 2018.2
bunch switch . 182
```
## <a name="working-in-idea"></a> Working with the project in IntelliJ IDEA
Working with the Kotlin project requires IntelliJ IDEA 2017.3. You can download IntelliJ IDEA 2017.3 [here](https://www.jetbrains.com/idea/download).
To import the project in Intellij choose project directory in Open project dialog. Then, after project opened, Select
`File` -> `New...` -> `Module from Existing Sources` in the menu, and select `build.gradle.kts` file in the project's root folder.
In the import dialog, select `use default gradle wrapper`.
To be able to run tests from IntelliJ easily, check `Delegate IDE build/run actions to Gradle` and choose `Gradle Test Runner` in the Gradle runner settings.
At this time, you can use the latest released 1.2.x version of the Kotlin plugin for working with the code. To make sure you have the latest version installed, use Tools | Kotlin | Configure Kotlin Plugin Updates and press "Check for updates now".
### Compiling and running
If you want to have an IntelliJ IDEA installation without the Kotlin plugin which is separate to your default IntelliJ IDEA installation which has the Kotlin
plugin [see this document](http://devnet.jetbrains.net/docs/DOC-181) which describes how to have multiple IntelliJ IDEA installations using different configurations and plugin directories.
From this root project there are Run/Debug Configurations for running IDEA or the Compiler Tests for example; so if you want to try out the latest and greatest IDEA plugin
* VCS -> Git -> Pull
* Run the "IDEA" run configuration in the project
* Run IntelliJ IDEA
* a child IntelliJ IDEA with the Kotlin plugin will then startup
* you can now open the [kotlin libraries project](https://github.com/JetBrains/kotlin/tree/master/libraries) to then work with the various kotlin libraries etc.
### Including into composite build
### <a name="pre-built-plugin"></a>Using a pre-built Kotlin IntelliJ IDEA plugin
To include kotlin compiler into [composite build](https://docs.gradle.org/current/userguide/composite_builds.html) you need to define `dependencySubstitution` for `kotlin-compiler` module in `settings.gradle`
There are several options for getting Kotlin plugin. A stable version can be obtained as any other plugin for IntelliJ IDEA:
```
includeBuild('/path/to/kotlin') {
dependencySubstitution {
substitute module('org.jetbrains.kotlin:kotlin-compiler') with project(':include:kotlin-compiler')
}
}
```
Preferences -> Plugins -> Install JetBrains plugin... -> Search with "Kotlin" string
The most recent version of the plugin can be downloaded from the
[IDEA Plugin and Tests CI build](https://teamcity.jetbrains.com/project.html?projectId=project67&tab=projectOverview). When downloading is
finished you can install it with "Install plugin from disk...":
Preferences -> Plugins -> Install plugin from disk...
You can now open any Kotlin based projects.
<a name="plugin-for-contributors"></a>
**Note for contributors**: If you are planning to contribute to Kotlin project you probably want to have locally the same version of plugin that build server is using for building.
As this version is constantly moving, the best way to always be updated is to let IntelliJ IDEA notify you when it is time to renew your plugin.
Open
Preferences -> Plugins -> Browse Repositories -> Manage Repositories...
and add the following URL to your repositories:
https://teamcity.jetbrains.com/guestAuth/repository/download/bt345/bootstrap.tcbuildtag/updatePlugins.xml
Then update the list of plugins in "Browse Repositories", you'll see two versions of Kotlin there, install the one with the higher version number.
# Contributing
We love contributions! There's [lots to do on Kotlin](https://youtrack.jetbrains.com/issues/KT) and on the
[standard library](https://youtrack.jetbrains.com/issues/KT?q=%23Kotlin%20%23Unresolved%20and%20(links:%20KT-2554,%20KT-4089%20or%20%23Libraries)) so why not chat with us
about what you're interested in doing? Please join the #kontributors channel in [our Slack chat](http://slack.kotlinlang.org/)
We love contributions! There's [lots to do on Kotlin](http://youtrack.jetbrains.com/issues/KT) and on the
[standard library](https://youtrack.jetbrains.com/issues/KT?q=Subtask+of%3A+KT-2554+%23Unresolved) so why not chat with us
about what you're interested in doing? Please join the #kontributors channel in [our Slack chat](http://kotlinslackin.herokuapp.com/)
and let us know about your plans.
If you want to find some issues to start off with, try [this query](https://youtrack.jetbrains.com/issues/KT?q=tag:%20%7BUp%20For%20Grabs%7D%20%23Unresolved) which should find all Kotlin issues that marked as "up-for-grabs".
If you want to find some issues to start off with, try [this query](https://youtrack.jetbrains.com/issues?q=tag%3A+%7BUp+For+Grabs%7D+%23Unresolved) which should find all issues that marked as "up-for-grabs".
Currently only committers can assign issues to themselves so just add a comment if you're starting work on it.
A nice gentle way to contribute would be to review the [standard library docs](https://kotlinlang.org/api/latest/jvm/stdlib/index.html)
A nice gentle way to contribute would be to review the [standard library docs](http://kotlinlang.org/api/latest/jvm/stdlib/index.html)
and find classes or functions which are not documented very well and submit a patch.
In particular it'd be great if all functions included a nice example of how to use it such as for the
[`hashMapOf()`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/hash-map-of.html) function.
This is implemented using the [`@sample`](https://github.com/JetBrains/kotlin/blob/1.1.0/libraries/stdlib/src/kotlin/collections/Maps.kt#L91)
macro to include code from a test function. The benefits of this approach are twofold; First, the API's documentation is improved via beneficial examples that help new users and second, the code coverage is increased.
<a href="http://kotlinlang.org/api/latest/jvm/stdlib/kotlin/hash-map-of.html">hashMapOf()</a> function.
This is implemented using the <a href=https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/src/kotlin/collections/Maps.kt#L53">@sample</a>
macro to include code from a test function. This serves as a double win; the API gets better documented with nice examples to help new users and the code gets more test coverage.
Also the [JavaScript translation](https://github.com/JetBrains/kotlin/blob/master/js/ReadMe.md) could really use your help. See the [JavaScript contribution section](https://github.com/JetBrains/kotlin/blob/master/js/ReadMe.md) for more details.
Some of the code in the standard library is created by generating code from templates. See the [README](libraries/stdlib/ReadMe.md) in the stdlib section for how to run the code generator. The existing templates can be used as examples for creating new ones.
## If you want to work on the compiler
The Kotlin compiler is written in Java and Kotlin (we gradually migrate more and more of it to pure Kotlin). So the easiest way to work on the compiler or IntelliJ IDEA plugin is
* download a clean [IDEA 15 EAP build](https://confluence.jetbrains.com/display/IDEADEV/IDEA+15+EAP)
* [install the Kotlin plugin](#pre-built-plugin)
* open the [root kotlin project](https://github.com/JetBrains/kotlin) in IDEA (opening the kotlin directory)
You can now run the various Run/Debug Configurations such as
* IDEA
* All Compiler Tests
* All IDEA Plugin Tests
## If you want to work on the Kotlin libraries
* download a clean [IDEA 15 EAP build](https://confluence.jetbrains.com/display/IDEADEV/IDEA+15+EAP)
* [install the Kotlin plugin](#pre-built-plugin)
* open the [kotlin libraries project](https://github.com/JetBrains/kotlin/tree/master/libraries)
Then build via
cd libraries
mvn install
Some of the code in the standard library is created by generating code from templates. See the [README](https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/ReadMe.md) in the stdlib section for how run the code generator. The existing templates can be used as examples for creating new ones.
## Submitting patches
The best way to submit a patch is to [fork the project on github](https://help.github.com/articles/fork-a-repo/) then send us a
[pull request](https://help.github.com/articles/creating-a-pull-request/) via [github](https://github.com).
The best way to submit a patch is to [fork the project on github](http://help.github.com/fork-a-repo/) then send us a
[pull request](http://help.github.com/send-pull-requests/) via [github](http://github.com).
If you create your own fork, it might help to enable rebase by default
when you pull by executing
``` bash
git config --global pull.rebase true
```
This will avoid your local repo having too many merge commits
when you pull by executing `git config --global pull.rebase
true`. This will avoid your local repo having too many merge commits
which will help keep your pull request simple and easy to apply.
## Commit comments
If you include in your comment this text (where KT-1234 is the Issue ID in the [Issue Tracker](http://youtrack.jetbrains.com/issues/KT), the issue will get automatically marked as fixed.
#KT-1234 Fixed

199
TeamCityBuild.xml Normal file
View File

@@ -0,0 +1,199 @@
<project name="Kotlin CI Steps" default="none">
<import file="build.xml" optional="false"/>
<property name="build.number" value="snapshot"/>
<property name="jdk16.home" value="${java.home}"/>
<property name="fail.on.plugin.verifier.error" value="true"/>
<property name="version_substitute_dir" value="${basedir}/versions_temp/"/>
<property name="artifact.output.path" value="${basedir}/out/artifacts"/>
<property name="plugin.xml" value="idea/src/META-INF/plugin.xml"/>
<property name="plugin.xml.bk" value="${version_substitute_dir}/plugin.xml.bk"/>
<property name="plugin.xml.versioned" value="${plugin.xml}.versioned"/>
<property name="compiler.version.java" value="compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/KotlinVersion.java"/>
<property name="compiler.version.java.bk" value="${version_substitute_dir}/KotlinVersion.java.bk"/>
<property name="compiler.version.java.versioned" value="${compiler.version.java}.versioned"/>
<property name="plugin.zip" value="${artifact.output.path}/kotlin-plugin-${build.number}.zip"/>
<property name="bare.plugin.zip" value="${artifact.output.path}/kotlin-bare-plugin-${build.number}.zip"/>
<property name="kotlin.bare.plugin.xml" value="jps-plugin/bare-plugin/src/META-INF/plugin.xml"/>
<property name="kotlin.bare.plugin.xml.bk" value="${version_substitute_dir}/kotlin.bare.plugin.xml.bk"/>
<macrodef name="echoprop">
<attribute name="prop"/>
<sequential>
<echo>@{prop}=${@{prop}}</echo>
</sequential>
</macrodef>
<echoprop prop="os.name"/>
<echoprop prop="os.version"/>
<echoprop prop="os.arch"/>
<echoprop prop="java.home"/>
<echoprop prop="java.vendor"/>
<echoprop prop="java.version"/>
<echoprop prop="user.name"/>
<echoprop prop="user.home"/>
<echoprop prop="user.dir"/>
<target name="cleanupArtifacts">
<delete dir="${artifact.output.path}" includes="*"/>
</target>
<macrodef name="substituteVersionInFile">
<attribute name="target.file"/>
<attribute name="test.string"/>
<attribute name="target.file.bk" default="@{target.file}.bk"/>
<attribute name="target.file.versioned" default="@{target.file}.versioned"/>
<attribute name="token.key" default="snapshot"/>
<attribute name="version" default="${build.number}"/>
<sequential>
<!-- Create backup. Backup will be restored after build end. This will allow to rebuild project without renew
plugin.xml from repository. -->
<copy file="@{target.file}" tofile="@{target.file.bk}"/>
<!-- Check that version has correct pattern for substitution -->
<copy todir="">
<fileset file="@{target.file.bk}">
<contains text="@{test.string}"/>
</fileset>
<filterchain>
<replacetokens>
<token key="@{token.key}" value="@{version}"/>
</replacetokens>
</filterchain>
<mergemapper to="@{target.file.versioned}"/>
</copy>
<!-- If file doesn't exist - there's a problem with original plugin.xml. Probably there's a bad pattern used for version -->
<copy file="@{target.file.versioned}" tofile="@{target.file}" overwrite="true"/>
<delete file="@{target.file.versioned}" quiet="true"/>
</sequential>
</macrodef>
<target name="writeVersionToTemplateFiles">
<mkdir dir="${version_substitute_dir}"/>
<substituteVersionInFile
target.file="${plugin.xml}"
target.file.bk="${plugin.xml.bk}"
target.file.versioned="${plugin.xml.versioned}"
test.string="&lt;version&gt;@snapshot@&lt;/version&gt;"/>
<substituteVersionInFile
target.file="${compiler.version.java}"
target.file.bk="${compiler.version.java.bk}"
target.file.versioned="${compiler.version.java.versioned}"
test.string="public static final String VERSION = &quot;@snapshot@&quot;;"/>
<substituteVersionInFile
target.file="${kotlin.bare.plugin.xml}"
target.file.bk="${kotlin.bare.plugin.xml.bk}"
test.string="&lt;version&gt;@snapshot@&lt;/version&gt;"/>
</target>
<target name="revertTemplateFiles">
<copy file="${plugin.xml.bk}" tofile="${plugin.xml}" overwrite="true"/>
<copy file="${compiler.version.java.bk}" tofile="${compiler.version.java}" overwrite="true"/>
<copy file="${kotlin.bare.plugin.xml.bk}" tofile="${kotlin.bare.plugin.xml}" overwrite="true"/>
<delete dir="${version_substitute_dir}" quiet="true"/>
</target>
<target name="pre_build" depends="writeVersionToTemplateFiles, cleanupArtifacts"/>
<target name="zipArtifacts">
<macrodef name="zipPlugin">
<attribute name="filename"/>
<attribute name="dir"/>
<sequential>
<zip destfile="@{filename}">
<zipfileset prefix="@{dir}" dir="${artifact.output.path}/@{dir}" excludes="kotlinc/bin/*"/>
<zipfileset prefix="@{dir}/kotlinc/bin" dir="${artifact.output.path}/@{dir}/kotlinc/bin" includes="*.bat"
filemode="644"/>
<zipfileset prefix="@{dir}/kotlinc/bin" dir="${artifact.output.path}/@{dir}/kotlinc/bin" excludes="*.bat"
filemode="755"/>
</zip>
<delete dir="${artifact.output.path}/@{dir}" quiet="true"/>
</sequential>
</macrodef>
<zipPlugin filename="${plugin.zip}" dir="Kotlin"/>
<zipPlugin filename="${bare.plugin.zip}" dir="BareKotlin"/>
</target>
<macrodef name="print-statistic">
<attribute name="key"/>
<attribute name="value"/>
<sequential>
<echo message="##teamcity[buildStatisticValue key='@{key}' value='@{value}']"/>
</sequential>
</macrodef>
<macrodef name="print-file-size-statistic">
<attribute name="path"/>
<attribute name="file-name"/>
<sequential>
<local name="file.size"/>
<length file="@{path}/@{file-name}" property="file.size"/>
<print-statistic key="@{file-name} size" value="${file.size}"/>
</sequential>
</macrodef>
<target name="printStatistics">
<print-file-size-statistic path="${kotlin-home}/lib" file-name="kotlin-runtime.jar"/>
<print-file-size-statistic path="${kotlin-home}/lib" file-name="kotlin-reflect.jar"/>
<print-file-size-statistic path="${kotlin-home}/lib" file-name="kotlin-jslib.jar"/>
<print-file-size-statistic path="${js.stdlib.output.dir}" file-name="kotlin.js"/>
<print-file-size-statistic path="${js.stdlib.output.dir}" file-name="builtins.js"/>
<print-file-size-statistic path="${js.stdlib.output.dir}" file-name="builtins.meta.js"/>
<print-file-size-statistic path="${js.stdlib.output.dir}" file-name="stdlib.js"/>
<print-file-size-statistic path="${js.stdlib.output.dir}" file-name="stdlib.meta.js"/>
</target>
<target name="post_build" depends="zipArtifacts, revertTemplateFiles, printStatistics, remove_internal_artifacts, dont_remove_internal_artifacts"/>
<target name="none">
<fail message="Either specify pre_build or post_build"/>
</target>
<property name="teamcity.build.branch" value=""/>
<condition property="need.remove.artifacts" value="true">
<and>
<matches pattern="rr/.*" string="${teamcity.build.branch}"/>
<not>
<matches pattern="rr/internal/.*" string="${teamcity.build.branch}"/>
</not>
</and>
</condition>
<target name="remove_internal_artifacts" description="Remove internal artifacts for rr/* branches, but store them for rr/internal/*" if="need.remove.artifacts">
<echo message="Remove internal artifacts" />
<delete failonerror="false" verbose="true">
<fileset dir="dist">
<include name="kotlin-compiler-before-shrink.jar"/>
<include name="kotlin-for-upsource.jar"/>
<include name="kotlin-for-upsource-sources.jar"/>
<include name="kotlin-test-data.zip"/>
</fileset>
<fileset dir="out/artifacts/internal">
<include name="kotlin-ide-common.jar"/>
</fileset>
</delete>
</target>
<target name="dont_remove_internal_artifacts" unless="need.remove.artifacts">
<echo message="Internal artifacts left untouched"/>
</target>
</project>

92
TeamCityRelay.xml Normal file
View File

@@ -0,0 +1,92 @@
<project name="Change plugins version" default="change-version">
<property name="relay.origin.version" value="1.0.0-beta-2423"/>
<property name="relay.substitute.version" value="1.0.0-beta-2423-IJ-141-3"/>
<property name="relay.plugins.dir" value="artifacts"/>
<property name="relay.unpack.directory" value="relay-dir"/>
<macrodef name="substituteRegexpInFile">
<attribute name="src.file"/>
<attribute name="output.dir"/>
<attribute name="origin.version"/>
<attribute name="substituted.version"/>
<sequential>
<copy todir="@{output.dir}">
<fileset file="@{src.file}"/>
<filterchain>
<replaceregex pattern="@{origin.version}" replace="@{substituted.version}" />
</filterchain>
</copy>
</sequential>
</macrodef>
<macrodef name="substitudeVersionInPlugin">
<attribute name="plugin.path"/>
<attribute name="plugin.jar.name"/>
<attribute name="origin.version"/>
<attribute name="substituted.version"/>
<attribute name="plugin.subdir"/>
<attribute name="output-dir" default="@{substituted.version}"/>
<attribute name="output.plugin.file.name" default="@{plugin.jar.name}-@{substituted.version}.zip"/>
<attribute name="temp.origin.dir" default="${relay.unpack.directory}/@{plugin.jar.name}/plugin-origin"/>
<attribute name="temp.substitute.dir" default="${relay.unpack.directory}/@{plugin.jar.name}/substitute"/>
<sequential>
<delete dir="${relay.unpack.directory}/@{plugin.jar.name}"/>
<mkdir dir="${relay.unpack.directory}/@{plugin.jar.name}"/>
<unzip src="@{plugin.path}" dest="@{temp.origin.dir}">
<patternset>
<include name="**/lib/@{plugin.jar.name}.jar" />
</patternset>
<flattenmapper/>
</unzip>
<unzip src="@{temp.origin.dir}/@{plugin.jar.name}.jar" dest="@{temp.origin.dir}">
<patternset>
<include name="**/META-INF/plugin.xml" />
</patternset>
<flattenmapper/>
</unzip>
<substituteRegexpInFile
src.file="@{temp.origin.dir}/plugin.xml" output.dir="@{temp.substitute.dir}"
origin.version="@{origin.version}" substituted.version="@{substituted.version}"/>
<!-- Copy updated file back into jar -->
<copy file="@{temp.origin.dir}/@{plugin.jar.name}.jar" todir="@{temp.substitute.dir}"/>
<jar destfile="@{temp.substitute.dir}/@{plugin.jar.name}.jar" update="true">
<zipfileset file="@{temp.substitute.dir}/plugin.xml" prefix="META-INF"/>
</jar>
<!-- Pack updated plugin.jar back to zip file -->
<copy file="@{plugin.path}" tofile="@{substituted.version}/@{output.plugin.file.name}"/>
<zip destfile="@{substituted.version}/@{output.plugin.file.name}" update="true">
<zipfileset file="@{temp.substitute.dir}/@{plugin.jar.name}.jar" prefix="@{plugin.subdir}/lib"/>
</zip>
</sequential>
</macrodef>
<target name="change-version" description="Repack plugin with other version">
<delete dir="${relay.unpack.directory}"/>
<delete dir="${relay.substitute.version}"/>
<mkdir dir="${relay.unpack.directory}"/>
<mkdir dir="${relay.substitute.version}"/>
<substitudeVersionInPlugin
plugin.jar.name="kotlin-plugin"
plugin.path="${relay.plugins.dir}/kotlin-plugin-${relay.origin.version}.zip"
origin.version="${relay.origin.version}"
plugin.subdir="Kotlin"
substituted.version="${relay.substitute.version}"/>
<substitudeVersionInPlugin
plugin.jar.name="kotlin-bare-plugin"
plugin.path="${relay.plugins.dir}/kotlin-bare-plugin-${relay.origin.version}.zip"
origin.version="${relay.origin.version}"
plugin.subdir="BareKotlin"
substituted.version="${relay.substitute.version}"/>
</target>
</project>

View File

@@ -3,9 +3,10 @@
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="jdk" jdkName="1.8" jdkType="JavaSDK" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="RUNTIME" name="android-studio" level="project" />
<orderEntry type="module" module-name="idea" scope="PROVIDED" />
</component>
</module>
</module>

15
ant/ant.iml Normal file
View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="ant" level="project" />
<orderEntry type="library" name="kotlin-runtime" level="project" />
<orderEntry type="library" name="kotlin-reflect" level="project" />
<orderEntry type="module" module-name="preloader" />
</component>
</module>

Some files were not shown because too many files have changed in this diff Show More