Nikolay Krasko
2eb6c393a4
Move android modules to Java 8 SDK
2017-03-20 18:45:29 +01:00
Dmitry Jemerov
715410a9bc
Workaround for hanging test
2017-03-20 18:45:28 +01:00
Dmitry Jemerov
60a2151a33
Fix compilation
...
(cherry picked from commit 46b9041)
2017-03-20 18:45:27 +01:00
Yan Zhulanow
0995f2700e
doMoveFile() now accepts not-null PsiDirectory
...
(cherry picked from commit 8a16c90)
2017-03-20 18:45:26 +01:00
Yan Zhulanow
59055e28ee
CreateFileResourceQuickFix now accepts ResourceFolderType instead of ResourceType
...
(cherry picked from commit 55f350f)
2017-03-20 18:45:26 +01:00
Ilya Chernikov
4be5fcc14a
Fix test code after UsefulTestCase api changes
2017-03-20 18:45:25 +01:00
Vyacheslav Gerasimov
180ae070ee
Fixed KotlinAndroidResourceQuickFixProvider for AS 2.2
2017-03-20 18:45:24 +01:00
Dmitry Jemerov
594e2b6a77
fix compilation
2017-03-20 18:45:23 +01:00
Dmitry Jemerov
ab5067a0d3
remove write action around closeAndDeleteProject()
2017-03-20 18:45:23 +01:00
Dmitry Jemerov
b10073465c
fix compilation of new lint checks against IDEA 163
2017-03-20 18:45:22 +01:00
Alexey Tsvetkov
05f278ce20
JPS: implement tracking of null annotations
...
#KT-12933 fixed
#KT-14266 fixed
2017-03-20 18:45:21 +01:00
Alexey Tsvetkov
6d958eb32b
Fix dist by ignoring some library classes during compiler shrinking
2017-03-20 18:45:20 +01:00
Dmitry Jemerov
b101550cae
Advance idea.plugins.compatible.build
2017-03-20 18:45:19 +01:00
Dmitry Jemerov
e51018406f
register PsiElementFinder extensions before JavaPsiFacade is registered
2017-03-20 18:45:18 +01:00
Dmitry Jemerov
036bfed984
Add resources_en.jar to properties plugin classpath
2017-03-20 18:45:18 +01:00
Konstantin Bulenkov
fcdd5e0a19
update Kotlin icons according to new IntelliJ style
2017-03-20 18:45:17 +01:00
Dmitry Jemerov
aced2e7eb4
Update compatible build number range
2017-03-20 18:45:16 +01:00
Dmitry Jemerov
a2b0b3d6eb
fix compilation against branch 163
2017-03-20 18:45:15 +01:00
Yan Zhulanow
24c9b6e171
Migrate IDEA plugin code to Android Studio 2.2 (br 145)
2017-03-20 18:45:15 +01:00
Dmitry Jemerov
99af2a809b
Update IDEA to 171.2613.7
2017-03-20 18:45:14 +01:00
Dmitry Jemerov
4d10b18fe1
Fix for 171 platform
2017-03-20 18:44:14 +01:00
Ilya Gorbunov
87c055cc61
Fix progression iterators to respect the Iterator contract.
...
#KT-16923 Fixed
2017-03-20 20:13:54 +03:00
Ilya Gorbunov
e5a28311bc
Fix infinite sequence being terminated prematurely when being iterated without calling hasNext
...
#KT-16922 Fixed
2017-03-20 20:13:54 +03:00
Valentin Kipyatkov
f00ab135d6
Do not insert redundant space
2017-03-20 19:08:03 +03:00
Valentin Kipyatkov
3ec28f1242
Attempt to preserve partial substitution when detecting expected type for smart completion
2017-03-20 19:08:03 +03:00
Valentin Kipyatkov
b5dd2cc540
Completion of lambda parameters
...
Also changed policy for sorting of smart completion items in basic completion
#KT-16800 Fixed
#KT-12002 Fixed
2017-03-20 19:08:02 +03:00
Nikolay Krasko
c6b9aebfcf
Minor: remove warning
2017-03-20 17:49:23 +03:00
Nikolay Krasko
afc0892d1f
Synchronize state of parser and lexer for LONG_TEMPLATE_ENTRY (KT-14865)
...
Lexer monitors "long string template" state end and will produce
LONG_TEMPLATE_ENTRY_END token when it is reached. If parser continues
without waiting for it, it will eventually get handling token that
will produce irrelevant error. Such behaviour also breaks lazy
elements (LAMBDA_EXPRESSION in this case) contract: range of parsed text
in eager mode should be same to one parsed in lazy mode.
#KT-14865 Fixed
2017-03-20 17:47:29 +03:00
Alexander Udalov
87ff70ee0f
Replace JS metadata version with '$ABI_VERSION$' in tests
...
Similarly to the JVM metadata version, this is done in order to avoid
changing any test data when the version is increased
2017-03-20 17:22:29 +03:00
Alexander Udalov
e6f6b0dad5
JS: merge LibrarySourcesConfig into JsConfig
2017-03-20 17:22:29 +03:00
Alexander Udalov
bf90cb5cc0
JS: support -Xskip-metadata-version-check for incompatible ABI libraries
...
Allow the compiler to read such libraries without any errors, at the
risk of crashing with an exception.
Also fix a minor bug in the diagnostic message in LibrarySourcesConfig
and in the corresponding test in KotlinJpsBuildTest
2017-03-20 17:22:29 +03:00
Alexander Udalov
30dfd5cc1b
JS: support '-Xskip-metadata-version-check' to allow pre-release libraries
2017-03-20 17:22:29 +03:00
Alexey Sedunov
a795a256f4
Configuration: Fix behavior of "output directory" control
...
Do not show file chooser twice.
Disable/enable control on component initialization and change of
"Use project settings" option
#KT-16952 Fixed
#KT-16953 Fixed
2017-03-20 17:19:13 +03:00
Simon Ogorodnik
f56af41d1e
Fix TypeAliasConstructorDescriptor's to create only once when required
...
Some IDE features relates onto that same descriptors will remain same
between resolve calls
Fix it to be true for TypeAliasConstructorDescriptor's
#KT-16265 fixed
2017-03-20 16:55:40 +03:00
Sergey Mashkov
23cbb83c75
IDL2K: drop garbage code, refactor to improve readability
2017-03-20 16:51:32 +03:00
Mikhail Zarechenskiy
1a4b9cb228
Show warning for mod from built-ins since API=1.1
2017-03-20 00:45:18 +03:00
Mikhail Zarechenskiy
e4188f889e
Do not show warning for mod from built-ins when LV=1.0
...
#KT-16372 Fixed
2017-03-20 00:41:58 +03:00
Alexey Sedunov
071744a57f
Extract Superclass/Interface: show inapplicability error before choosing the extraction container
...
#KT-15339 Fixed
2017-03-19 17:20:32 +03:00
Alexey Sedunov
eb9c775476
Navigation: Support NEW_AS_CONSTRUCTOR flag for constructor calls
...
#KT-15398 Fixed
#KT-15536 Fixed
2017-03-19 17:20:24 +03:00
Alexey Sedunov
5e8cd654ec
Find Usages: Fix processing of label references in 'return' expressions
...
#KT-7516 Fixed
2017-03-19 17:20:17 +03:00
Alexey Sedunov
275cdbbea7
Rename: Fix renaming of function by label reference inside of lambda argument
...
#KT-7520 Fixed
2017-03-19 17:20:10 +03:00
Alexey Sedunov
b1df91395a
Minor: Use handler autodetection in some rename tests
2017-03-19 17:20:02 +03:00
Alexey Sedunov
871d42f05a
Rename: Support renaming class by short reference to companion object
...
#KT-16108 Fixed
2017-03-19 17:19:55 +03:00
Alexey Sedunov
834cdd63ab
Create from Usage: Support class generation by class literal expression
...
#KT-16188 Fixed
2017-03-19 17:19:48 +03:00
Alexey Sedunov
505a6bcbf2
JPS: Copy project-level settings before use
...
Sharing these settings for reading/writing
between different module during JPS build
may lead to compiler settings
(plugionOptions, in particular) of several
modules to be mixed
#KT-16888 Fixed
2017-03-19 17:19:40 +03:00
Alexey Sedunov
2e1b4cd692
Misc: Fix test
2017-03-19 17:19:33 +03:00
Alexey Sedunov
2bb7bdfc3f
Kotlin Facet: Fix reading of v1 configuration
...
Favor language/api version specified in <versionInfo> element
in case it differs from the one in
<option name="_commonCompilerArguments">
#KT-16861 Fixed
2017-03-19 17:19:26 +03:00
Alexey Sedunov
ca46100581
Kotlin Facet: Add tab for compiler plugin options
...
#KT-15768 Fixed
2017-03-19 17:19:18 +03:00
Alexey Sedunov
c264a2e15f
Configuration: Improve presentation of the settings override warning
2017-03-17 21:08:44 +03:00
Alexey Sedunov
7c1249746f
Kotlin Facet: Show scripting section only if target platform is JVM
...
#KT-16316 Fixed
2017-03-17 21:03:29 +03:00