Ivan Kylchik
bc41681a2e
Fix gradle import error after introducing new gradle task in benchmarks
2020-07-23 21:18:32 +03:00
Vyacheslav Gerasimov
96ac6e612d
Build: Replace androidIdeTest task with kaptIdeTest
...
We dont run android ide tests anymore
2020-07-23 19:18:18 +03:00
Vyacheslav Gerasimov
803d24cd42
Build: Remove pluginTests task and deduplicate kapt test task
2020-07-23 19:18:17 +03:00
Vyacheslav Gerasimov
ee642e69b0
Build: Introduce mainIdeTests task
2020-07-23 19:18:17 +03:00
Dmitry Petrov
e2a4ca10d6
JVM_IR: fix inner class attributes for private class in interface
2020-07-23 19:13:28 +03:00
Dmitry Petrov
0741781462
Compare inner class access flags in bytecode listing tests
2020-07-23 19:13:28 +03:00
Natalia Selezneva
8d894929ae
Minor: unify logging in scripting
2020-07-23 16:31:32 +03:00
Natalia Selezneva
8a6cdcba29
Do not hold a lock during loading script templates from dependencies
...
^KT-40383 Fixed
2020-07-23 16:24:13 +03:00
Natalia Selezneva
493c287bb0
Minor: fix notification text when script configuration is missing after request
2020-07-23 16:20:57 +03:00
Ivan Kylchik
265873becd
Comment out runBenchmark tasks due to gradle import error
2020-07-23 15:20:35 +03:00
Roman Golyshev
be06c51aa7
KT-40363 Handle non-octal int literals in for-loop conversions
...
- See EA-210233
- ^KT-40363 Fixed
2020-07-23 11:24:48 +00:00
Roman Golyshev
cba671a3ef
KT-40359 Catch NumberFormatException during literal conversion
...
- Instead of failing J2K conversion completely, insert TODO expression
to the resulting code (it is better to have a converted code with TODO
than to have nothing at all)
- See EA-210233 for similar exceptions
- ^KT-40359 Fixed
2020-07-23 11:24:48 +00:00
Roman Golyshev
cc0a787735
Add null-checking to KotlinIdeaResolutionException constructors
...
- NPE here leads to loosing the actual exception
- EA-235059 Fixed
2020-07-23 11:24:47 +00:00
Nicolay Mitropolsky
f7031e65ba
Uast: don't throw exception if can't get a receiver parameter for annotation (KT-40494)
2020-07-23 10:33:44 +03:00
Jinseong Jeon
7872b21914
FIR: handle object invoke via type alias
2020-07-23 09:34:42 +03:00
Svyatoslav Kuzmich
4a803e9d2f
[JS IR] Support object declaration export
...
Fixes KT-39117 and KT-39367
2020-07-23 08:21:59 +03:00
Svyatoslav Kuzmich
4027dae594
[JS] Add js/js.translator/testData/package-lock.json
2020-07-23 08:21:57 +03:00
Natalia Selezneva
be371c9294
Remove optimization in KotlinScriptDependenciesClassFinder
...
Scope can contains only classes for one script,
but allScriptDependenciesScope contains classes for all scripts
2020-07-23 00:00:51 +03:00
Natalia Selezneva
be8374a1a8
Minor: fix comments
2020-07-23 00:00:50 +03:00
Natalia Selezneva
e708e3f1c5
Do not suggest to load gradle.kts configurations after project reopening
...
For projects with distributionType=WRAPPED
Workaround for KT-40394
The original problem is that GradleInstallationManager.resolveGradleVersion returns null is case of distributionType=WRAPPED
^KT-40394 Fixed
2020-07-23 00:00:50 +03:00
Natalia Selezneva
300e9581de
Fix UI for Kotlin Scripting page
...
Show 15 items in the list by default
Show hint at the top
Fixed for 201+
^KT-40097 Fixed
2020-07-22 23:49:47 +03:00
Natalia Selezneva
dd20b9062a
Completion for script inside module should provide classes from related module
...
^KT-35825 Fixed
2020-07-22 23:49:47 +03:00
Alexander Udalov
65d3ae6253
JS IR: move declaration creation from IrBuilder to JsIrDeclarationBuilder
...
This is a temporary class until IrDeclarationFactory is there.
2020-07-22 22:40:08 +02:00
Alexander Udalov
d3a34a8898
Psi2Ir: somewhat simplify Psi2IrTranslator API
...
Inline some methods only used once, deduplicate usages, rearrange
parameters, etc.
2020-07-22 22:38:21 +02:00
Alexander Udalov
241f82c70f
IR: avoid storing unnecessary fields in IrPropertyImpl
2020-07-22 22:38:21 +02:00
Alexander Udalov
3f06f8a6ba
IR: avoid storing unnecessary fields in IrFunctionImpl
2020-07-22 22:38:20 +02:00
Alexander Udalov
517c3e1020
IR: introduce IrFakeOverrideFunction, IrFakeOverrideProperty
...
Use them instead of the implementations. This will allow to refactor
creation to a factory and allow to use other implementations in the
future.
2020-07-22 22:38:20 +02:00
Alexander Udalov
ca5eb40fa5
IR: minor, avoid usages of IrBlockBodyImpl/IrExpressionBodyImpl
2020-07-22 22:38:20 +02:00
Mark Punzalan
174576af61
ForLoopsLowering: Handle Sequence<*>.withIndex().
2020-07-22 22:32:29 +02:00
Mark Punzalan
132960a695
ForLoopsLowering: Eliminate use of @ObsoleteDescriptorBasedAPI.
2020-07-22 22:32:29 +02:00
Mark Punzalan
b1ce21bc55
ForLoopsLowering: Reduce unnecessary temporary variables for the
...
"checked step" (check for a positive step arg) and "negated step"
(negate the step arg when the nested step is negative).
2020-07-22 22:32:29 +02:00
Mark Punzalan
291d62f653
ForLoopsLowering: Move handlers to sub-package and separate files.
2020-07-22 22:32:29 +02:00
Ivan Kylchik
44d283eb07
Fix FIR benchmark memory leak
2020-07-22 20:18:26 +03:00
Ivan Kylchik
be4dbf2dcd
Create gradle scripts to run and analyze benchmark results
2020-07-22 20:18:25 +03:00
Ivan Kylchik
29d0e3dbb5
Reuse createSession function for FIR in benchmark
2020-07-22 20:18:24 +03:00
Dmitry Petrov
1272162a7f
JVM_IR: generate "safe" names for functions in init blocks
2020-07-22 19:49:48 +03:00
Yaroslav Chernyshev
bb8f857809
[Gradle, Import] Added externalSystemId into facet for mpp projects
...
#KT-39803 Fixed
2020-07-22 19:44:09 +03:00
Ilya Goncharov
e5b0498eb6
Fix tests for Gradle kts and groovy dsl
...
^KT-40527 fixed
2020-07-22 14:04:57 +03:00
Ilya Goncharov
ae0bedd2ac
[Gradle, JS] Different module kind for browser and nodejs
...
^KT-40527 fixed
2020-07-22 14:04:29 +03:00
Ilya Goncharov
38ec3ffb4a
[Gradle, JS] Statically calculated module configurator id
...
^KT-40527 fixed
2020-07-22 14:04:15 +03:00
Ilya Goncharov
bf1b85343f
[Gradle, JS] Remove copyright from template of node.js
...
^KT-40527 fixed
2020-07-22 14:03:40 +03:00
Ilya Goncharov
2d60d2c0e6
[Gradle, JS] Divide allowSinglePlatform
...
^KT-40527 fixed
2020-07-22 14:02:02 +03:00
Ilya Goncharov
af367b01ec
[Gradle, JS] Add test on node js single platform project
...
^KT-40527 fixed
2020-07-22 14:01:50 +03:00
Ilya Goncharov
cb60b9e59c
[Gradle, JS] singleplatformJs -> singlePlatformJsBrowser
...
^KT-40527 fixed
2020-07-22 14:01:20 +03:00
Ilya Goncharov
01ec8b5262
[Gradle, JS] Fix typo and add node js module configurator
...
^KT-40527 fixed
2020-07-22 13:59:46 +03:00
Ilya Goncharov
0d606e1346
[Gradle, JS] Fix id and text in simple js module configurators
...
^KT-40527 fixed
2020-07-22 13:59:33 +03:00
Ilya Goncharov
4c5cd44e75
[Gradle, JS] Localize Module Type
...
^KT-40527 fixed
2020-07-22 13:59:15 +03:00
Ilya Goncharov
29e37ee15f
[Gradle, JS] Fix test for js single platform
...
^KT-40527 fixed
2020-07-22 13:58:47 +03:00
Ilya Goncharov
a866e51402
[Gradle, JS] NodeJs template files
...
^KT-40527 fixed
2020-07-22 13:58:32 +03:00
Ilya Goncharov
95f6669275
[Gradle, JS] Add NodeJs template plugin
...
^KT-40527 fixed
2020-07-22 13:58:19 +03:00