Vladimir Ivanov
fd02802028
[Native] Export KDoc into generated native header
2021-03-09 16:50:23 +03:00
Abduqodiri Qurbonzoda
4401589974
[K/N] Fix @SinceKotlin in Common titlecase and titlecaseChar functions
2021-03-07 07:38:05 +03:00
Abduqodiri Qurbonzoda
aa5874e073
[K/N] Mark with @SinceKotlin("1.5") the Common char category API
2021-03-07 07:37:47 +03:00
Abduqodiri Qurbonzoda
1c1492da3d
Optimize K/N ArrayList.toArray #KT-42720
2021-03-06 11:15:08 +03:00
Abduqodiri Qurbonzoda
c2f6a2cb96
[K/N] Commonize and generalize JVM-only String.contentEquals #KT-42840
2021-03-06 11:14:32 +03:00
Abduqodiri Qurbonzoda
85fe636d60
Commonize Char.titlecaseChar() and Char.titlecase() #KT-44369
...
(cherry picked from commit 7b991613bb577a58235519b76ebec8b33270f783)
2021-03-02 17:11:25 +00:00
Abduqodiri Qurbonzoda
63897b5aca
Update Unicode version in Char and String case conversion functions #KT-45213
...
(cherry picked from commit 25b0dac947cb55f842b8e503351f4ebd2064628c)
2021-03-02 17:11:23 +00:00
Alexander Shabalin
27e4b21020
Extract object traversals ( #4724 )
...
(cherry picked from commit c3131ea2f51c31881ea068f28035f4d015daf609)
2021-03-02 17:11:22 +00:00
Alexander Shabalin
248e340cd9
Extract finalizer hooks ( #4723 )
...
(cherry picked from commit 31aa3521925a22f077acb723315aabb0a7274121)
2021-03-02 17:11:21 +00:00
Vasily Levchenko
7b73917217
[build][dist] global dist fixed
2021-02-24 11:07:17 +01:00
Vasily Levchenko
840c1e612c
[build] joint (step 2)
...
- dist:
- compiler
- tools(cinterop,klib)
- stdlib
- cache
2021-02-24 11:07:13 +01:00
Alexander Shabalin
3a5c6480a3
Track current exception ( #4701 )
2021-02-24 11:00:05 +01:00
Alexander Shabalin
a38e64a7c8
Update runtimeDefinitions after toolchain upgrade ( #4714 )
2021-02-24 11:00:05 +01:00
Svyatoslav Scherbina
f766a3eae4
Optimize CPointer.toKStringFromUtf8 on Native
...
Use strlen and stop allocating intermediate ByteArray
to make the performance comparable to ByteArray.decodeToString().
Partially fix KT-44357.
2021-02-24 10:53:42 +01:00
Alexander Shabalin
d5ca285a79
Move unhandledExceptionHook to kotlin code ( #4704 )
2021-02-24 10:53:42 +01:00
Alexander Shabalin
97262c273f
Misc changes for GC in new MM ( #4699 )
2021-02-15 10:16:10 +01:00
Igor Chevdar
3164709fb7
[runtime] Fixed bug in x86 polynomial hash
...
Forced compiler to use legacy SSE instructions form instead of modern AVX form
2021-02-09 09:00:48 +01:00
Alexander Shabalin
eedfea7f40
Add RootSet to unify iterating across the entire rootset ( #4685 )
2021-02-09 09:00:48 +01:00
Alexander Shabalin
d875cb39c9
Sketch GC interface ( #4682 )
2021-02-09 09:00:48 +01:00
Svyatoslav Scherbina
61d3ae1477
Refactor building of reverse adapters in ObjCExportCodeGenerator
...
* Make it more understandable and reliable: don't predict which reverse
adapters are inherited, reuse information from generating super types
instead.
* Drop usages of obsolete "IrDeclaration.descriptor"
2021-02-09 09:00:48 +01:00
Ilya Matveev
e45c2d31bc
[kotlin.test] Do not run test suites containing only ignored tests
...
Popular frameworks such as JUnit, TestNG and Google Test do not
run @BeforeClass/@AfterClass hooks of test suites containing only
ignored tests.
This patch introduces the same behaviour to the Kotlin/Native's
kotlin.test runner.
See also: #4522 , #4615 .
2021-02-09 09:00:47 +01:00
Ilya Matveev
4f037b8b81
[kotlin.test] Don't run filtered out test suites by default
...
Popular frameworks such as JUnit, TestNG and Google Test do not
run test suites whose tests were fully filtered out. Thus
@BeforeClass/@AfterClass of such suites are not executed and the
suites are not reported in a test report.
This patch introduces the same behaviour to the Kotlin/Native's
kotlin.test runner.
See also: #4522 , #4615 .
2021-02-09 09:00:47 +01:00
Egor Zhdan
c866dc7303
Fix reporting of filtered out test suites
...
This fixes the `--ktest_no_excluded_test_suites` command line option behavior to match its description in the help page.
2021-02-09 09:00:47 +01:00
Alexander Shabalin
f312315346
Call initRuntimeIfNeeded before EnterFrame in interop adapters. ( #4672 )
2021-02-09 09:00:47 +01:00
Alexander Shabalin
99dc9e8e0c
Relax setUnhandledExceptionHook requirements with the new MM ( #4675 )
2021-02-09 09:00:46 +01:00
Alexander Shabalin
2b69a0d03a
Fix InitAndRegisterGlobal in new MM ( #4673 )
2021-02-09 09:00:46 +01:00
Alexander Shabalin
3bf1f55990
Handle nullptr in StablePointer API ( #4671 )
2021-02-09 09:00:46 +01:00
Alexander Shabalin
9295d7cf60
Fix single-thread check
2021-02-09 09:00:46 +01:00
Alexander Shabalin
5b6a8a3bdb
Make freezing stuff non-terminating TODO
2021-02-09 09:00:46 +01:00
Abduqodiri Qurbonzoda
e63b405f58
Commonize CharCategory and related functions #KT-39177 #KT-43216 #KT-39906 #KT-30652
...
(cherry picked from commit fc5c01b9a72498f9bd200817936a629689c0bff0)
2021-02-01 16:54:15 +01:00
Alexander Shabalin
04ee3e37e7
Implement ref updates in new MM ( #4653 )
2021-02-01 16:54:15 +01:00
Alexander Shabalin
9e99932b24
Add a check for single-thread mutator ( #4665 )
2021-02-01 16:54:14 +01:00
Igor Chevdar
c12d79176a
[runtime] Fixed UB with signed overflow
2021-02-01 16:54:14 +01:00
Igor Chevdar
c8633d8bda
[runtime] Vectorized polynomial hash for strings
...
This is for consistency with Kotlin/JVM
2021-02-01 16:54:14 +01:00
Alexander Shabalin
d84c83d7da
Extract FreezeHooks and make them testable ( #4654 )
2021-02-01 16:54:14 +01:00
Alexander Shabalin
e2280ce855
Add a bunch of symbols required by Kotlin runtime part ( #4655 )
2021-02-01 16:54:14 +01:00
Alexander Shabalin
51f70254f7
Use non-terminating TODO for safepoints ( #4659 )
2021-02-01 16:54:14 +01:00
Alexander Shabalin
b06a870011
Trust mimalloc to be thread safe ( #4649 )
2021-01-26 17:38:03 +03:00
Alexander Shabalin
d633b1c545
Mark safe points in code generator ( #4640 )
2021-01-26 17:38:03 +03:00
Alexander Shabalin
687cf20d7d
Deal with FrameOverlay in the new mm ( #4646 )
2021-01-26 17:38:03 +03:00
Alexander Shabalin
77e2b9f9a0
Disable running checkers by default ( #4644 )
...
* Make checkers be disabled by default
* Allow running checkers in test launcher
2021-01-26 17:38:03 +03:00
Alexander Shabalin
6cc60ad6a2
Support sanitizers in runtime tests ( #4622 )
2021-01-26 17:38:02 +03:00
Alexander Shabalin
a362742a37
Enable C++17 ( #4623 )
2021-01-19 13:37:37 +03:00
Alexander Shabalin
411506127c
Fix RuntimeCheck usage ( #4638 )
2021-01-19 13:37:37 +03:00
Svyatoslav Scherbina
acbdd7f8ae
Improve discoverability of KT-42254 in case of runtime assertion
2021-01-19 13:37:36 +03:00
Alexander Shabalin
d57802633c
Use Alloc.h everywhere ( #4611 )
2021-01-19 13:37:36 +03:00
Alexander Shabalin
3eb2ec5cc1
Use clang format attribute ( #4624 )
2021-01-19 13:37:36 +03:00
Alexander Shabalin
adf80418af
Use common pattern for function-like macro ( #4625 )
2021-01-19 13:37:36 +03:00
Alexander Shabalin
32e3deace1
Enable unused-function warning for runtime ( #4628 )
2021-01-19 13:37:36 +03:00
Abduqodiri Qurbonzoda
8bb76c67e3
Straighten Char-to-code and Char-to-digit conversions out #KT-23451
...
(cherry picked from commit 4c0c46e87def97f9102da9df72331ebcfee09aab)
2021-01-12 15:56:42 +03:00