Alexey Sedunov
14b6c1930e
Rename: Add name suggestions to Rename dialog
...
#KT-6372 Fixed
(cherry picked from commit 84ca283)
2016-06-28 15:07:02 +03:00
Alexey Sedunov
d0a3732c94
Rename: Rename overridden property and all its accessors on attempt to rename overriding accessor in Java code
...
#KT-4791 Fixed
(cherry picked from commit 29e450e)
2016-06-28 15:07:01 +03:00
Alexey Sedunov
4c447d0580
Rename: Fix rename of ambiguous import reference to class/function when some referenced declarations are not changed
...
#KT-6663 Fixed
(cherry picked from commit 9ba8ecd)
2016-06-28 15:06:58 +03:00
Alexey Sedunov
b87d8e29e4
Rename: Implement conflict analysis for parameters. Qualify property references to avoid shadowing by parameters
...
#KT-10687 Fixed
(cherry picked from commit 7d6466d)
2016-06-28 15:06:54 +03:00
Alexey Sedunov
c9f659e89b
Rename: Implement Rename conflict analysis for classes. Qualify class references to resove rename conflicts when possible
...
#KT-8611 Fixed
#KT-8562 Fixed
(cherry picked from commit 8989ccc)
2016-06-28 15:06:52 +03:00
Alexey Sedunov
77b0bb9849
Rename: Implement Rename conflict analysis for properties. Qualify property references to resove rename conflicts when possible
...
#KT-8732 Fixed
#KT-12543 Fixed
(cherry picked from commit e23029d)
2016-06-28 15:06:49 +03:00
Stanislav Erokhin
43f5da0ece
Add eap channel for 1.1 into plugin updater.
2016-06-28 14:47:49 +03:00
Denis Zharkov
ed28b5a15e
Use modality and visibility from mutable class declaration
...
Otherwise open may be used instead of abstract (in most cases)
2016-06-28 14:25:44 +03:00
Pavel V. Talanov
cbf78c7298
KotlinCacheServiceImpl: create new locks when creating caches that delegate to other caches
...
Remove single globalContext that was passed around to every configurations
Correctly create exception trackers when delegating caches
Delegate builtIns instance when delegating caches
Create specialized JvmBuiltIns only if Sdk is specified
2016-06-28 12:40:28 +03:00
Denis Zharkov
d53c53a900
Support annotations on type aliases declarations
2016-06-28 10:33:29 +03:00
Denis Zharkov
e24f0653fb
Support type aliases in stub builder
2016-06-28 10:33:29 +03:00
Denis Zharkov
daa356860c
Minor. Drop redundant parameter
2016-06-28 10:33:29 +03:00
Denis Zharkov
067fe35b72
Fix type deserialization failure when type alias was not found
...
It's crucial for decompilation as declarations are always being deserialized
with no dependencies
#KT-12832 Fixed
2016-06-28 10:33:29 +03:00
Denis Zharkov
15ce4f8856
Minor. Add comment about type aliases based types metadata format
2016-06-28 10:33:29 +03:00
Denis Zharkov
d78177dc23
Refine metadata format for typealias based type
2016-06-28 10:33:29 +03:00
Denis Zharkov
d39d36b94c
Render unabbreviated part of type wrapped in common comments
...
It's necessary for preserving DescriptorRenderer invariant, namely
only valid code should be generated
2016-06-28 10:33:29 +03:00
Michael Bogdanov
249be0a142
Small changes in tests to support them on Android
2016-06-28 10:12:15 +03:00
Alexander Udalov
601dc96a34
Minor, rename protobuf field according to style guide
2016-06-27 20:18:57 +03:00
Alexander Udalov
4c8e8b099a
Update protobuf from 2.5.0 to 2.6.1
2016-06-27 20:14:00 +03:00
Alexey Andreev
cfbe48ac46
KT-3008: fix ABI compatibility test
2016-06-27 15:33:31 +03:00
Alexey Andreev
33248e7721
KT-3008: minor code style fixes
2016-06-27 15:33:31 +03:00
Alexey Andreev
da53b9a9a4
KT-3008: fix support of KProperty/KMutableProperty
2016-06-27 15:33:30 +03:00
Alexey Andreev
202400cb97
KT-3008: remove unused code that handles anonymous modules, since there's no way to declare them via configuration
2016-06-27 15:33:30 +03:00
Alexey Andreev
055be070e9
KT-3008: when inlining functions from external modules, replace calls to functions in the external module via new mechanism instead of Kotlin.modules
2016-06-27 15:33:29 +03:00
Alexey Andreev
f029b720e7
KT-3008: change the way how descriptions of module kind are rendered in IDEA configuration tab
2016-06-27 15:33:29 +03:00
Alexey Andreev
97605a97da
KT-3008: multiple minor fixes after code review
2016-06-27 15:33:28 +03:00
Alexey Andreev
713a7efcdf
KT-3008 Add support of module kind to Ant task. Repair Ant JS tests
2016-06-27 15:33:28 +03:00
Alexey Andreev
a9ed789727
KT-3008 Fix CLI and JPS tests related to JS translator
2016-06-27 15:33:28 +03:00
Alexey Andreev
2d994c1a03
KT-3008 Run Google closure compiler in a separate JVM
2016-06-27 15:33:27 +03:00
Alexey Andreev
64cd0b70d7
KT-3008 Minor refactoring and clean up
2016-06-27 15:33:27 +03:00
Alexey Andreev
b090b79d92
KT-3008 Add UI that allows to change module kind in IDEA Kotlin configurator
2016-06-27 15:33:26 +03:00
Alexey Andreev
496539d101
KT-3008 Add module kind attribute to Maven plugin. Fix tests from libraries subproject
2016-06-27 15:33:26 +03:00
Alexey Andreev
b6b604d78f
KT-3008 Fix UMD and plain module wrappers when module id is not a valid JS identifier
2016-06-27 15:33:25 +03:00
Alexey Andreev
e38b83880f
KT-3008 Add tests for module wrappers
2016-06-27 15:33:25 +03:00
Alexey Andreev
0cfacfa44a
KT-3008 Merge JS runtime modules in one kotlin.js
2016-06-27 15:33:25 +03:00
Alexey Andreev
b556b6efca
KT-3008 Fix JS backend tests
2016-06-27 15:33:24 +03:00
Alexey Andreev
848d7f92fa
KT-3008 Implement AMD, CommonJS and UMD wrappers. Compile stdlib and builtins modules into separate JS files and wrap them in UMD.
2016-06-27 15:33:24 +03:00
Alexey Andreev
95b78e18df
KT-3008 Change the way how modules are referenced in JS
2016-06-27 15:33:23 +03:00
Alexey Andreev
2909533522
KT-3008 Add module kind. Include module kind and module dependencies in metadata
2016-06-27 15:33:23 +03:00
Nikolay Krasko
8d055f6952
Use file.modificationStamp to invalidate caches for synthetic files
...
It previously worked because of updating all counters. That behaviour was removed in
https://github.com/JetBrains/intellij-community/commit/3b860d69ee1b32b210ddf88b1e042dd70ea87cd9 .
getUserData(FILE_OUT_OF_BLOCK_MODIFICATION_COUNT) is probably useless because copied file has
isEventSystemEnabled() == false that prevents sending notifications about PSI changes. This need additional checks.
2016-06-27 15:02:42 +03:00
Nikolay Krasko
67eca2cbb7
Minor: remove superfluous method that was necessary becuase of KT-5457
2016-06-27 15:02:42 +03:00
Michael Bogdanov
abc7d5101d
Fix for KT-12106: import static of reified companion object method throws IllegalAccessError
...
#KT-12106 Fixed
2016-06-27 12:31:31 +03:00
Mikhael Bogdanov
5df52e08cc
Temporary removed increment and '+=' tests on local delegated properties
2016-06-27 12:13:28 +03:00
Pavel V. Talanov
6d04c6e102
Drop no longer used FileLibraryScope
2016-06-25 22:25:31 +03:00
Pavel V. Talanov
80de07d98f
KotlinScriptConfigurationManager: refactor roots caching and use NonClasspathDirectoriesScope
2016-06-25 22:25:29 +03:00
Pavel V. Talanov
9c09b8a37d
KotlinScriptConfigurationManager: do not use dumbService and 'scriptExternalImportsProvider' is no longer nullable
2016-06-25 22:25:27 +03:00
Pavel V. Talanov
2534a5fdfc
KotlinScriptConfigurationManager: perform initial caching using StartupManager
2016-06-25 22:25:26 +03:00
Pavel V. Talanov
6a1096a8e9
KotlinCacheServiceImpl: cache all script dependencies as whole to provide faster completion in scripts
...
A lot of stuff to be fixed after
2016-06-25 22:25:24 +03:00
Pavel V. Talanov
be1e8fcfda
Disable templates that are available on "TOP_LEVEL" in scripts
2016-06-25 22:25:21 +03:00
Pavel V. Talanov
c3df743a28
FileScopeFactory: extra imports computed via virtual file as opposed to KtFile
...
This fixes completion session acting as if there are no imports
2016-06-25 22:25:19 +03:00