Ilya Kirillov
39b09b39ff
New J2K: pass converter context to postprocessing
2019-04-22 22:54:46 +03:00
Ilya Kirillov
c4a238cca4
KT-26550: do not show "Convert Java File to Kotlin File" action for external libraries
...
#KT-26550 fixed
2019-04-22 22:54:46 +03:00
Vyacheslav Gerasimov
8723ad4f46
Switch to 191 platform
2019-04-22 21:52:19 +03:00
Sergey Rostov
21232d202e
JPS Build, 191: update artifacts
2019-04-22 21:52:02 +03:00
Vyacheslav Gerasimov
1551f39daa
Update asm version to 7.0.1 everywhere
2019-04-22 21:52:01 +03:00
Vyacheslav Gerasimov
aff9da72a8
Update 191 platform to 191.6707.61
2019-04-22 21:52:00 +03:00
Vyacheslav Gerasimov
67a194fa8c
Remove broken 192 bunch files
2019-04-22 21:46:57 +03:00
Vyacheslav Gerasimov
6059725c76
Add 192 to .bunch
2019-04-22 21:00:10 +03:00
Svyatoslav Kuzmich
b1d303b027
Reorganize stdlib-js sources specific to the current JS backend
...
Move kotlin-stdlib-js project and the sources specific to the current backend to 'stdlib/js-v1' directory,
but leave sources that can be shared with the new IR backend in the common 'stdlib/js' location
with exception for 'stdlib/js/src/generated', which is used exclusively for current backend.
This simplifies sourceset configuration when building stdlib with the new backend.
2019-04-22 20:30:57 +03:00
Svyatoslav Kuzmich
9dd9efd4aa
[JS IR BE] Fix isQUnit for JS IR BE
2019-04-22 20:30:57 +03:00
Svyatoslav Kuzmich
d7be91e8a4
[JS IR BE] Add SIZE_BYTES and SIZE_BITS to Long and Char
2019-04-22 20:30:57 +03:00
Alexander Gorshenev
3ae64061c1
Minimal tweaks in IR Validation code just to be able to turn it on in Native.
2019-04-22 19:42:33 +03:00
Mikhail Glukhikh
053aa8ca1e
Include FIR modules into compiler #KT-30243 Fixed
2019-04-22 15:48:46 +03:00
Alexey Tsvetkov
77d74a261d
Rename SourceFileToPathConverter->FileToPathConverter
2019-04-22 15:27:58 +03:00
Alexey Tsvetkov
f66d95545d
Test JPS Kotlin caches don't change when project root is different
2019-04-22 15:27:57 +03:00
Alexey Tsvetkov
a7df7e2f9f
Sort files when performing GC in lookup storage
2019-04-22 15:27:56 +03:00
Alexey Tsvetkov
ea4fc0fb6b
Disable scripting plugin in JPS tests
...
JVM compiler loads scripting plugin by default,
which in turn performs script template discovery
in compile classpath.
Classloading and template discovery takes noticeable
amount of time in JPS tests, because of
relatively big number of short compilations.
Disabling scripting plugin in most JPS+JVM tests
speeds up JPS tests by ~8% compared to the result before all
optimizations.
2019-04-22 15:27:56 +03:00
Alexey Tsvetkov
175dd5679c
Keep application environment alive between JPS tests
...
This speeds up JPS tests by ~16% compared to the result before all
optimizations. The speedup comes mostly from avoiding re-reading jar
files (like kotlin-stdlib.jar).
2019-04-22 15:27:55 +03:00
Alexey Tsvetkov
80c99eceff
Rebuild once after each JPS test
...
After each test we rebuild everything,
then we compare incremental caches and output
with caches and output after rebuild.
For some reason we did rebuild and comparison
twice per test. This seems excessive.
Removing the second rebuild speeds up JPS tests by ~15%
compared to the result before all optimizations
2019-04-22 15:27:54 +03:00
Alexey Tsvetkov
61fbe43a3f
Store relative paths in JPS caches if possible
...
So caches can be relocated from one machine to another
2019-04-22 15:27:53 +03:00
Alexey Tsvetkov
00de7b6c44
Allow customizing source file path conversion in lookup storage
2019-04-22 15:26:34 +03:00
Alexey Tsvetkov
79337a6b96
Allow customizing source file path conversion in local IC caches
2019-04-22 15:26:34 +03:00
Alexey Tsvetkov
146eebdc7e
Print lookup storage as is in tests
...
This way it is easier to debug when
cache's content is different after rebuild
2019-04-22 15:26:34 +03:00
Nikolay Krasko
de548d6b8b
Minor: do not assert psi state in RemoveUselessIsCheckFixForWhen
2019-04-22 15:11:10 +03:00
Nikolay Krasko
b83d07ae9a
Assert new quick fixes don't use resolve
2019-04-22 15:11:10 +03:00
Nikolay Krasko
682183a150
Allow resolve in write action for injection for now
2019-04-22 15:11:09 +03:00
Svyatoslav Kuzmich
889b4d721d
[JS IR BE] Use constructor parameter to determine underlying type for inline classes
...
Inline classes from lazy IR may not have files.
2019-04-22 13:18:01 +03:00
Svyatoslav Kuzmich
3fd55673a8
[JS IR BE] Workaround for println
...
IR backend has a bug in decomposition of dynamic calls.
Workaround: don't use inline function call inside dynamic call argument.
2019-04-22 13:18:00 +03:00
Svyatoslav Kuzmich
03ba0eae5a
[JS IR BE] Minor: better internal error message in Namer
2019-04-22 13:18:00 +03:00
Svyatoslav Kuzmich
7c2ee41491
[JS IR BE] Fix boolean companion object
2019-04-22 13:18:00 +03:00
Toshiaki Kameyama
864f99782e
Use property access syntax: fix problem text and highlight range
...
#KT-30910 Fixed
2019-04-22 16:19:37 +07:00
Toshiaki Kameyama
bf5b559923
Add function supertype: make abstract function in sealed class
...
#KT-30769 Fixed
2019-04-22 16:11:59 +07:00
Toshiaki Kameyama
f2c7b6b8c4
Convert to anonymous object: don't remove type arguments
...
#KT-30208 Fixed
2019-04-22 16:09:53 +07:00
Toshiaki Kameyama
075620daad
Invert if condition intention: don't remove line breaks
...
#KT-30900 Fixed
2019-04-22 15:59:49 +07:00
Nikolay Krasko
a66aebdc2c
Consider range marker with bad interval to be invalid (EA-141900, EA-135531)
2019-04-22 11:34:34 +03:00
Dmitry Gridin
3838976083
Fix false positive 'Remove redundant qualifier name' for property
...
#KT-31112 Fixed
2019-04-22 11:58:43 +07:00
Mikhail Zarechenskiy
673b54554c
[NI] Also complete arguments for ambiguity calls
...
This is needed for IDE-tests and cases when integer literals are used
in such ambiguity calls
2019-04-22 00:23:15 +03:00
Nikolay Krasko
088da3e807
Postpone no kotlin files in selection to CheckComponentsUsageSearch execution (KT-31092)
...
#KT-31092 Fixed
2019-04-19 17:12:12 +03:00
Nikolay Krasko
be471b29c4
Use bunch-specific version of gson in kotlin-gradle-plugin
...
While kotlin-gradle-plugin is not built for different bunches, bad
version still fails Gradle synchronize action in IDE.
2019-04-19 17:12:12 +03:00
Nikolay Krasko
04eeabcd98
Detect platform only for stdlib and use only roots for detection (KT-30442)
...
#KT-30442 Fixed
2019-04-19 17:12:12 +03:00
Dmitriy Novozhilov
bfb13803d5
[NI] Fix reporting of overload resolution ambiguity
2019-04-19 14:46:22 +03:00
Dmitriy Novozhilov
f9cc3d9be3
[NI] Fix determining type equality in replacing of extension receiver
2019-04-19 14:46:22 +03:00
Dmitriy Novozhilov
0739d13038
[NI] Record scope in trace for calls with enabled NI
2019-04-19 14:46:22 +03:00
Dmitriy Novozhilov
c86b8da982
[NI] Don't report overload ambiguity for error candidates
2019-04-19 14:46:22 +03:00
Kirill Rakhman
00c76593f2
fix typo in test data
2019-04-19 18:31:17 +07:00
Ilya Matveev
c0eba201a5
CocoaPods: Show error if a build is started not from Xcode
...
Issue #KT-31062 Fixed
2019-04-19 17:55:57 +07:00
Ilya Matveev
a1e20f8d2a
Add tests for CocoaPods integration
2019-04-19 17:55:57 +07:00
Alexander Udalov
822b210e85
Minor, update argfile usage description
2019-04-19 12:55:23 +03:00
victor.petukhov
a567aa620b
Fix headers in box and parsing spec tests
2019-04-19 11:55:30 +03:00
victor.petukhov
f6d67251fb
Print info about all failed test cases in spec tests
2019-04-19 11:55:30 +03:00