Abduqodiri Qurbonzoda
a4839b8548
[K/N] Migrate runtime to new case conversion api
2021-04-08 03:22:04 +03:00
Abduqodiri Qurbonzoda
40d1849f33
Migrate compiler, idea and others to new case conversion api
2021-04-08 03:22:02 +03:00
Abduqodiri Qurbonzoda
aa543c6631
Migrate stdlib, tests and samples to new case conversion api
2021-04-08 03:22:01 +03:00
Abduqodiri Qurbonzoda
a697bc43b9
[K/N] Remove redundant @OptIn targeting new case conversion api
2021-04-08 03:22:00 +03:00
Abduqodiri Qurbonzoda
f99c72cc98
Remove redundant @OptIn targeting new case conversion api
2021-04-08 03:21:59 +03:00
Abduqodiri Qurbonzoda
7f0e1ac08d
[K/N] Deprecate old Char and String case conversion api #KT-43023
2021-04-08 03:21:58 +03:00
Abduqodiri Qurbonzoda
cbef9dad36
Deprecate old Char and String case conversion api #KT-43023
2021-04-08 03:21:57 +03:00
Igor Yakovlev
7a3781ec14
[FIR IDE] Use raw fir for modality and visibility in KtFirNamedClassOrObjectSymbol
2021-04-07 23:23:03 +02:00
Ilya Gorbunov
7cd306950a
Deprecate Char-to-Number conversions in stdlib (Native)
...
- Synchronize code of Ranges, Progressions, ProgressionIterators
- Suppress deprecations in regex implementation code
KT-23451
2021-04-07 18:30:21 +03:00
Ilya Gorbunov
833955e56d
Migrate deprecations in Native compiler
...
Replacing deprecated Char.toInt() with Char.code and
Number.toChar() with Number.toInt().toChar(), where Number is not Int.
KT-23451
2021-04-07 18:30:21 +03:00
Ilya Gorbunov
e450a6494a
Migrate deprecations in core, compiler, idea, tests
...
Replacing deprecated Char.toInt() with Char.code and
Number.toChar() with Number.toInt().toChar(), where Number is not Int.
KT-23451
2021-04-07 18:30:20 +03:00
Ilya Gorbunov
b64b96eee6
Deprecate Char-to-Number conversions in stdlib (JVM and JS)
...
- Int.toChar was left non-deprecated because the replacement is not intrinsic yet.
- Number.toChar was left non-deprecated because otherwise the deprecation propagates to the override, Int.toChar.
KT-23451
2021-04-07 18:30:20 +03:00
Ilya Goncharov
b976cd812a
[IR] Use extractTypeParameter instead of collectTypeParameters
...
^KT-45866 fixed
2021-04-07 18:13:08 +03:00
Ilya Goncharov
5955faecec
[IR] Ignore WASM and FIR for tests
...
^KT-45866 fixed
2021-04-07 18:13:07 +03:00
Ilya Goncharov
b82c9225c8
[IR] Fix copying of default argument from expect to actual with type parameter
...
^KT-45866 fixed
2021-04-07 18:13:06 +03:00
Vasily Levchenko
d870876822
[kotlin/native][test] test for KT-33055
2021-04-07 15:04:57 +00:00
Vasily Levchenko
ef712f8f97
[kotlin/native][test] enabled stack_trace_inline back
2021-04-07 15:04:56 +00:00
Vasily Levchenko
a11b07f6c3
[codegeneration][debug info] generates marker of inlined function body on call site
...
- makes debuger breakpoint resolution more accurate
- restore expected behavior stack_trace_inline test
- fixes kt-33055
2021-04-07 15:04:56 +00:00
Victor Turansky
585e4254a0
Gradle 7.0 support update. com.gradle.plugin-publish 0.13.0 -> 0.14.0.
2021-04-07 18:01:23 +03:00
Vladimir Ivanov
61883ee878
Exclude kdoc related stuff from proto comparison in IC ( #4283 )
2021-04-07 17:16:06 +03:00
Sergey Bogolepov
9e6cf11026
Drop LLVM profiling frags from Clang invocation
...
It is not needed in most cases, but may affect profile
when running compiler with -Xprofile-phases.
2021-04-07 12:48:20 +00:00
Abduqodiri Qurbonzoda
b18cd24b81
[K/N] Advance deprecation level of FP to lesser than Int types to ERROR #KT-30360
2021-04-07 15:43:06 +03:00
Ilya Gorbunov
22ca412dd2
Fix case-insensitive character-wise comparison KT-45496
...
- Step 1: add failing tests
- Step 2: fix common case insensitive Char.equals
- Step 3: fix case insensitive String.equals in K/JS
- Step 4: enable unicode case folding in K/JS Regexes and
string replacement (KT-45928)
- Step 5: fix case insensitive char comparison in K/N in String functions
String.replace, equals, compareTo with ignoreCase
2021-04-07 14:43:41 +03:00
Andrey Zinovyev
fc8b75be80
[FIR] Add ONLY_ONE_CLASS_BOUND_ALLOWED diagnostic
2021-04-07 11:31:08 +00:00
Alexander Likhachev
68f39768ae
[Gradle, JS] Fix KotlinPackageJsonTask's dependent tasks finder
...
Throw IllegalStateException instead of adding faulty dependency
2021-04-07 14:18:38 +03:00
Alexander Likhachev
bad33ac820
[Gradle, JS] Make Dukat tasks really compatible with conf cache
...
Related to #KT-42911
2021-04-07 13:23:59 +03:00
Alexander Likhachev
4416f2eb3f
[Gradle, JS] Use file hasher for ProcessedFilesCache
...
Gradle's FileHasher can cache calculated hashes saving execution time
#KT-45774 In Progress
2021-04-07 13:23:59 +03:00
Alexander Likhachev
6e333c4f3f
[Gradle, JS] Store RootNpmResolver's heavy state in build service params
...
That heavy state was duplicated in serialized state of each task that has access to it transitively.
#KT-45294 Fixed
2021-04-07 13:23:58 +03:00
Alexander Likhachev
14f6e5db6d
[Gradle, JS] Optimize JS tasks serialized size
...
Tasks are serialized by Gradle's configurations cache. Each referenced object by task is also serialized. Reduce task's size by narrowing referenced objects.
#KT-45294 In Progress
2021-04-07 13:23:57 +03:00
Alexander Likhachev
072492386d
[Gradle, JS] Return back package.json handlers
2021-04-07 13:15:10 +03:00
Igor Yakovlev
39edcb0f29
[FIR IDE] Fix invalid caches reset for Fir Renderer tests
2021-04-07 11:25:22 +02:00
Igor Yakovlev
7d3be9eafa
[FIR IDE] Implement fir renderer for IDE
2021-04-07 11:25:22 +02:00
Igor Yakovlev
f2e02c2d50
[FIR IDE] Fixed invalid type parameters for inner classes
2021-04-07 11:25:22 +02:00
Igor Yakovlev
ea8858e694
[FIR] Add contaning class lookup element for local FirRegular classes
2021-04-07 11:25:22 +02:00
Igor Yakovlev
a428cc6eb4
[FIR IDE] Add symbol kind to Kt accessor symbols
2021-04-07 11:25:22 +02:00
Igor Yakovlev
ff9edb8776
[FIR IDE] Fixed getting symbols for lambda literal
2021-04-07 11:25:22 +02:00
Igor Yakovlev
d05ef3a635
[FIR] Move standard class id's into common module
2021-04-07 11:25:21 +02:00
Alexander Likhachev
df8682650a
[Build] Enable Gradle file system watching by default
2021-04-07 12:23:39 +03:00
Alexander Likhachev
cc722d0a2c
[Build] Bump Gradle to v6.8.3
...
#KTI-542 Fixed
2021-04-07 12:23:32 +03:00
Andrey Zinovyev
0f04fac5b2
[FIR] Add BOUNDS_NOT_ALLOWED_IF_BOUNDED_BY_TYPE_PARAMETER diagnostic
2021-04-07 08:19:31 +00:00
Abduqodiri Qurbonzoda
b0f1ddc91e
Advance max/min(By/With) deprecation level to ERROR
2021-04-07 07:49:23 +03:00
Ilya Gorbunov
d70edeb38b
Hide deprecated JS Math object from public API and rename to JsMath
...
KT-41318
- Rename Math to JsMath and remove unused functions
- Fix return types, remove duplicating JsMath from longjs.kt
Co-authored-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com >
2021-04-07 00:39:47 +03:00
Abduqodiri Qurbonzoda
d9ab96126d
Advance deprecation level of mixed Int/FP overloads of ClosedRange.contains to HIDDEN KT-22423
2021-04-07 00:23:34 +03:00
Abduqodiri Qurbonzoda
7a6cddf6fe
[K/N] Advance String(CharArray) deprecation level to ERROR
2021-04-07 00:23:32 +03:00
Abduqodiri Qurbonzoda
d28d0a6321
Advance String(CharArray) deprecation level to ERROR in Common and JS
2021-04-07 00:23:29 +03:00
Abduqodiri Qurbonzoda
29040d6f53
Remove deprecated Clock and ClockMark
2021-04-07 00:23:28 +03:00
Abduqodiri Qurbonzoda
abcc572b97
Remove deprecated scanReduce and scanReduceIndexed
2021-04-07 00:23:26 +03:00
Abduqodiri Qurbonzoda
8300180261
[K/N] Remove AfterEach and BeforeEach typealiases in kotlin-test
2021-04-07 00:23:24 +03:00
Abduqodiri Qurbonzoda
c46d71d4ac
Remove DefaultAsserter() constructor-like function in kotlin-test
2021-04-07 00:23:22 +03:00
Abduqodiri Qurbonzoda
968099fbec
Advance deprecation level of FP to lesser than Int types to ERROR #KT-30360
2021-04-07 00:23:20 +03:00