Alexander Udalov
c3cbcf6d7f
Slightly improve performance measurements rendering
...
Report the input module name and size once before any measurements
instead of duplicating it in all of them. Also, render measurements in a
table to improve readability.
Before:
info: PERF: INIT: Compiler initialized in 467 ms
info: PERF: ANALYZE: 1 files (2 lines) target main-java-production in 277 ms - 7.220 loc/s
info: PERF: IR: Translation 1 files (2 lines) target main-java-production in 291 ms - 6.873 loc/s
info: PERF: GENERATE: 1 files (2 lines) target main-java-production in 513 ms - 3.899 loc/s
info: PERF: IR: Generation 1 files (2 lines) target main-java-production in 142 ms - 14.085 loc/s
After:
info: PERF: main-java-production, 1 files (2 lines)
info: PERF: INIT: Compiler initialized in 421 ms
info: PERF: ANALYZE 342 ms 5.848 loc/s
info: PERF: IR TRANSLATION 296 ms 6.757 loc/s
info: PERF: GENERATE 453 ms 4.415 loc/s
info: PERF: IR GENERATION 137 ms 14.599 loc/s
2020-08-17 19:29:57 +02:00
Simon Ogorodnik
0045b501d5
FIR IDE: Fix memory leak in thread locals
2020-08-17 20:05:52 +03:00
Ilya Kirillov
76b078b561
FIR IDE: resolve KtFirLocalVariableSymbol only to IMPLICIT_TYPES_BODY_RESOLVE
2020-08-17 20:05:52 +03:00
Ilya Kirillov
b8920114f8
FIR: set resolvePhase to BODY_RESOLVE in deserialized Kotlin declarations
2020-08-17 20:05:52 +03:00
Simon Ogorodnik
c7d6a79c25
FIR IDE: Fix completion in case of function with parameters
2020-08-17 20:05:52 +03:00
Nikolay Krasko
863de52f7a
Minor: better name for file walking with excludes
2020-08-17 20:02:47 +03:00
Nikolay Krasko
c30910130e
Remove minor optimization in CodeConformanceTest
2020-08-17 20:02:46 +03:00
Nikolay Krasko
01f3bdfc69
Exclude kotlin-ultimate/ide/common-cidr-native from author check
2020-08-17 20:02:46 +03:00
Nikolay Krasko
31ed803ada
More excludes
2020-08-17 19:40:49 +03:00
Nikolay Krasko
713dbc225e
Other repositories monitoring
2020-08-17 19:40:48 +03:00
Nikolay Krasko
fad15b6627
Rewrite testThirdPartyCopyrights test
2020-08-17 19:40:48 +03:00
Nikolay Krasko
bb0ea56d63
Extract traversing through directories to the common code
2020-08-17 19:40:48 +03:00
Nikolay Krasko
8db588c7f0
Optimize testNoBadSubstringsInProjectCode test
...
Don't visit ignored directories
2020-08-17 19:40:48 +03:00
Nikolay Krasko
2655d9dab3
Optimize testForgottenBunchDirectivesAndFiles test
...
Don't step through the ignored directories.
2020-08-17 19:40:48 +03:00
Nikolay Krasko
3eb89d6dfd
Use own allow list for each repository
2020-08-17 19:40:48 +03:00
Nikolay Krasko
8445c8f4a5
Update copyright conformance excludes
2020-08-17 19:40:47 +03:00
Nikolay Krasko
04a1e572a8
Monitor new usages of kotlin-eap repository
2020-08-17 19:40:47 +03:00
Nikolay Krasko
d2bf5587d6
Monitor new usages of kotlin-dev repository
2020-08-17 19:40:47 +03:00
Nikolay Krasko
50d85b92da
Remove more kotlin-dev usages
2020-08-17 19:40:47 +03:00
Nikolay Krasko
be2badc6ed
Remove kotlin-dev from gradle migrate test
2020-08-17 19:40:47 +03:00
Nikolay Krasko
0c27e87eb9
Remove kotlin-dev from gradle configurator tests
2020-08-17 19:40:46 +03:00
Dmitriy Dolovov
3dc3c19c02
[Commonizer] Fix ImportAndCheckNavigation IT
2020-08-17 21:52:40 +07:00
Georgy Bronnikov
df8b819a55
JVM_IR: restore dumping for IrLowering phase
2020-08-17 15:57:12 +03:00
Ilya Goncharov
c70759673c
[Gradle, JS] Update npm versions
...
^KT-41125 fixed
2020-08-17 15:22:30 +03:00
Steven Schäfer
6100166185
JVM IR: Fix special bridge generation with external Kotlin dependencies
2020-08-17 13:42:32 +02:00
Ilya Kirillov
730e07c52a
Wizard: fix ExpectedFileTest.kt
2020-08-17 12:22:38 +03:00
Toshiaki Kameyama
35459d2ca7
"Add not-null asserted (!!) call": add '!!' to receiver of function reference
...
#KT-37841 Fixed
2020-08-17 12:05:45 +03:00
Ilya Kirillov
5e5e19f482
FIR IDE: temporary disable AddFunctionReturnTypeIntention
2020-08-17 11:38:05 +03:00
Ilya Kirillov
b79deafbc7
FIR IDE: fix testdata
2020-08-17 11:38:04 +03:00
Ilya Kirillov
27c045d035
FIR IDE: move all all symbol markers to markers package
2020-08-17 11:38:02 +03:00
Ilya Kirillov
052e8e5069
FIR IDE: make a symbol hierarchy a sealed one
2020-08-17 11:38:01 +03:00
Ilya Kirillov
018dd673b3
FIR IDE: simplify containing declaration provider
2020-08-17 11:38:00 +03:00
Ilya Kirillov
37ac654444
FIR IDE: rework high level API
...
Make analysis session to always be a receiver parameter
2020-08-17 11:37:58 +03:00
Ilya Kirillov
cadf99ca1e
FIR IDE: introduce containingDeclarationProvider for symbols
2020-08-17 11:37:57 +03:00
Ilya Kirillov
b5a4e4c409
FIR IDE: introduce applicable computation & -based inspection
2020-08-17 11:37:56 +03:00
Ilya Kirillov
c8ab0766c9
FIR IDE: Implement symbol restoring for member symbols
2020-08-17 11:37:55 +03:00
Ilya Kirillov
e4995175a4
FIR IDE: fix idea-frontend-fir testdata
2020-08-17 11:37:53 +03:00
Ilya Kirillov
5f20910c79
FIR IDE: always try to find symbol origin in overridden symbols
2020-08-17 11:37:52 +03:00
Ilya Kirillov
a700d1fccb
FIR IDE: resolve kt symbols only to the phase they actually need
2020-08-17 11:37:51 +03:00
Dmitriy Dolovov
75be9cf31f
[Commonizer] Tests on rewriting callables names to succeed commonization
...
^KT-34602
2020-08-17 09:31:28 +07:00
Dmitriy Dolovov
de0b6e06cf
[Commonizer] Keep parameters names hash in approximation keys for ObjC callables
...
^KT-34602
2020-08-17 09:31:21 +07:00
Dmitriy Dolovov
3b901a28d5
[Commonizer] More compact approximation keys
...
^KT-34602
2020-08-17 09:31:12 +07:00
Dmitriy Dolovov
4418dc85ca
[Commonizer] Allow rewriting callables names to succeed commonization
...
^KT-34602
2020-08-17 09:31:03 +07:00
Dmitriy Dolovov
8904f5652b
[Commonizer] Allow extended lookup for classifiers in test mode
...
Only for commonizer tests!
Allow to look up classifiers from the standard Kotlin packages (kotlin, kotlinx)
both in the default built-ins module and in test data sources. This is necessary
to write tests that refer to C-interop classifiers that are not available without
Kotlin/Native distribution.
^KT-34602
2020-08-17 09:30:57 +07:00
Dmitriy Dolovov
3b398ed57f
[Commonizer] Small clean-up in IllegalCommonizerStateException
2020-08-17 09:30:47 +07:00
Dmitriy Dolovov
494fb39399
[Commonizer] CLI: Report duration even if it's 0ms long
2020-08-17 09:30:42 +07:00
Dmitriy Dolovov
9ef727747b
[Commonizer] Use Array instead of List in AbstractListCommonizer
2020-08-17 09:30:36 +07:00
Igor Chevdar
e468a347b5
[box-tests] Tests on field init optimization
...
Added tests on all primitive types and a test when the field's type is an inline class
2020-08-15 12:16:33 +05:00
Steven Schäfer
0328fcaf5d
JVM IR: Avoid IMPLICIT_NOTNULL checks on special bridge methods
...
...with dynamic type checks, except for the `@PlatformDependent`
methods, for which the JVM backend adds null checks.
2020-08-14 21:59:33 +02:00
Steven Schäfer
9026f89ba5
JVM IR: Avoid CHECKCASTs on type operators (KT-39520)
...
The type information coming from Java or Kotlin generics may be wrong
due to type erasure and a CHECKCAST instruction could throw an
exception.
2020-08-14 21:58:47 +02:00