Sergey Mashkov
b146b0eda9
Remove deprecated function usage
2015-08-12 18:45:10 +03:00
Sergey Mashkov
c0078a53e6
Temporary move trimIndent implementations to tests as private members to avoid resolution ambiguity
2015-08-12 18:45:10 +03:00
Sergey Mashkov
7afa40590d
KT-8708 Function to strip leading whitespace (stripMargin, trimMargin, stripIndent?)
2015-08-12 18:45:10 +03:00
Valentin Kipyatkov
468919f5d9
Fixed codegen crash on use of protected synthetic extension property
2015-08-12 18:17:09 +03:00
ligee
d75bece6d0
Minor: moving a pom autogenerated by maven shade plugin to ignored targets dir
2015-08-12 17:03:09 +02:00
Ilya Ryzhenkov
a717afd9db
Fix NPE in checkLValue when selector is absent. Add test for incomplete syntax.
2015-08-12 17:08:16 +03:00
Valentin Kipyatkov
8104a78746
Fixed completion for type parameters broken recently
2015-08-12 13:34:28 +03:00
Dmitry Petrov
b59bf6227f
unqualified super: should be able to invoke methods of Any without extra hassle
...
when Any is an implicit immediate superclass
2015-08-12 12:14:14 +03:00
Ilya Chernikov
3b03cfaf4f
Merge pull request #739 from JetBrains/rr/gradle-plugin-classloading-M13-2
...
merging gradle plugin classloading changes
2015-08-11 17:26:11 +02:00
ligee
0c84648b6a
Minor: style fixes after review
2015-08-11 17:22:50 +02:00
ligee
961905a8da
Disabling gradle daemon test as unsafe, adding gradle wrapper 2.4, fixing maven build test
...
(cherry picked after edit from commit 703d71d)
2015-08-11 13:19:03 +02:00
ligee
43aaacaa06
Fixing source build script search, attempt to fix KT-8705
...
(cherry picked from commit 89c5885)
2015-08-11 13:18:19 +02:00
ligee
05e8a080a9
Refactoring test base class to support gradle options and daemon stopping, implementing daemon build test with memory check
...
(cherry picked from commit a28ce9e)
2015-08-11 13:17:28 +02:00
ligee
97bc3005f4
Some more minor fixes after review
...
(cherry picked from commit 1ffdeff)
2015-08-11 13:16:08 +02:00
ligee
c2c1fb2d0a
moving embeddable compiler jar creation to libraries/maven, using maven-shade-plugin instead of jarjar; configuring more relocations of 3-party libs
...
(cherry picked from commit c905770)
2015-08-11 13:16:07 +02:00
ligee
5b9094301c
Fixing minor issues after review
...
(cherry picked from commit 928769e)
2015-08-11 13:16:07 +02:00
ligee
0a9f98545b
Dropping custom classloading again, now without creating a transparent one, restoring cleanup for gradle <2.4 to minimize leaks under daemon, adding diagnostics
...
(cherry picked from commit a3b7be4)
2015-08-11 13:16:00 +02:00
ligee
3b322520bd
Using isolated classloader again, but as a singleton; regular compiler jar instead of embeddable; more logging
...
(cherry picked from commit 6801d8a)
2015-08-11 13:15:24 +02:00
ligee
ee73373441
Implementing simple classloading for plugin core, since embeddable compiler allows it
2015-08-11 13:15:23 +02:00
ligee
d08570b8a8
Adding new target - embeddable compiler (after jarjar), using it in the gradle plugin
...
(cherry picked from commit bf4b26f)
2015-08-11 13:15:23 +02:00
Valentin Kipyatkov
41f80cde9e
Checked that "KT-6898 References to type arguments of unresolved class name are not resolved" has been fixed
2015-08-11 13:51:29 +03:00
Valentin Kipyatkov
ae552f49a7
Added test for KT-8471
2015-08-11 13:35:32 +03:00
Valentin Kipyatkov
209281fbab
More correct suppression of error
2015-08-11 13:21:57 +03:00
Valentin Kipyatkov
bce691bf8c
Moved resolve of type arguments into other place
2015-08-11 13:21:57 +03:00
Valentin Kipyatkov
e3bca3010c
Fixed infinite recursion
2015-08-11 13:21:57 +03:00
Valentin Kipyatkov
7f42c8b482
No report of wrong class literal for unresolved
2015-08-11 13:21:57 +03:00
Valentin Kipyatkov
ceae7eda39
Fixed test data
2015-08-11 13:21:56 +03:00
Valentin Kipyatkov
98c970d394
Fixed resolving class name before dot and nothing else
2015-08-11 13:21:56 +03:00
Valentin Kipyatkov
8b749ee76d
KT-6891 Type argument of generic type before dot is not resolved
...
KT-7373 Type parameter names are not suggested
KT-6838 Class declared in same file is not suggested in completion
#KT-6891 Fixed
#KT-7373 Fixed
#KT-6838 Fixed
2015-08-11 13:21:56 +03:00
Valentin Kipyatkov
f658cce1f1
KT-8176 References to type arguments are not resolved when number of them does not match type parameters
...
KT-8078 FQ-name inserted on class name completion in type arguments
#KT-8176 Fixed
#KT-8078 Fixed
2015-08-11 13:21:56 +03:00
Mikhail Glukhikh
de78ab6fe6
Some psi factory functions are dropped
2015-08-11 10:38:23 +03:00
Mikhail Glukhikh
adf43519d6
Code mover fix: correct commas / semicolons after enum entries, relevant test fixes, extra tests
2015-08-11 10:38:20 +03:00
Mikhail Glukhikh
3f14e74b08
Drop old enum syntax. Comma / semicolon are now a syntactic part of enum entry.
...
Comma must present now between enum entries, semicolon between last entry & first member, constructor calls must be without colons / specifiers.
A swarm of tests fixed accordingly.
2015-08-11 10:38:10 +03:00
Mikhail Glukhikh
e5ab7de870
Enum entry stub name fixed
2015-08-11 10:38:02 +03:00
Mikhail Glukhikh
3793d99b00
Decompiler fix: enum entries are now separated by , and have ; at the end, relevant tests fixed
2015-08-11 10:37:48 +03:00
Ilya Gorbunov
15d69499d0
Stop matching after the end of the input sequence was reached.
...
#KT-8763 Fixed
2015-08-11 05:11:32 +03:00
Michael Nedzelsky
c74577951e
minor fix in idea/testData: ImplementFunctionType.kt -> implementFunctionType.kt
2015-08-11 04:23:18 +03:00
Michael Nedzelsky
6a1eb91e18
temporarily adjust timeout limit for testCancelLongKotlinCompilation
2015-08-11 02:24:34 +03:00
Valentin Kipyatkov
377201bbcd
KT-8716 Exception on attempt to implement function
...
#KT-8716 Fixed
2015-08-10 20:29:51 +03:00
Valentin Kipyatkov
c943ec104d
KT-8718 KNPE at PropertyUsagesSearchHelper.makeItemList() on erasing parameter name
...
#KT-8718 Fixed
2015-08-10 20:29:51 +03:00
Valentin Kipyatkov
1cfdbdea82
KT-8751 Assertion in HeuriticSignatures
...
#KT-8751 Fixed
2015-08-10 20:28:52 +03:00
Zalim Bashorov
bfa44af76b
Make SeleniumQUnit more robust by using per test timeout instead of per all tests.
2015-08-10 17:57:53 +03:00
Valentin Kipyatkov
98ac13fd59
KT-8743 Propose class names for extension receiver in completion after 'fun' if a capital letter was entered
...
#KT-8743 Fixed
2015-08-10 17:49:36 +03:00
Valentin Kipyatkov
cafb5ac10a
Fixed parameter name&type completion for type parameters
2015-08-10 17:49:36 +03:00
Valentin Kipyatkov
df32dcac39
Added smart priorities for true, false and null into basic completion
2015-08-10 17:49:36 +03:00
Valentin Kipyatkov
c05d7d51ec
"true" and "false" in smart completion when Boolean? expected
2015-08-10 17:49:36 +03:00
Valentin Kipyatkov
cd6d8ffa98
Basic completion prefers right type in lambda value
2015-08-10 17:49:36 +03:00
Valentin Kipyatkov
96109230eb
Fixed crash on runtime
2015-08-10 17:49:35 +03:00
Valentin Kipyatkov
200c99e722
Reordered methods + minor
2015-08-10 17:49:35 +03:00
Valentin Kipyatkov
7016a087c3
Refactoring
2015-08-10 17:49:35 +03:00