Ilya Chernikov
d760299dc1
Implement context classpath extraction using particular class,...
...
Use it in the main-kts.
Also improve diagnoistics related to the definition loading.
#KT-26828 fixed (after this commit - finally, see also another related commit)
2018-09-15 15:44:53 +02:00
Ilya Chernikov
d9760f00f6
Move context classpath utils from script-util to scripting-jvm
...
since it is the right place to have it in the new structure.
Solves the problem that script-util classes not found then script
definition with context classpath is loaded by the scripting compiler
plugin, since script-util is not packed into embeddable plugin.
The old context utils are deprecated and in fact wrap the new utils.
#KT-26828 fixed (in fact - partially, see another related commit)
2018-09-15 15:43:53 +02:00
Alexey Sedunov
7b3973db52
MPP: Enable Android-specific content root logic for Android Studio
...
#KT-26813 Fixed
2018-09-14 21:27:10 +03:00
Anton Bannykh
082c44cb5c
JS: add a flag for more convenient investigation of failing IR tests
2018-09-14 20:34:34 +03:00
Mikhail Glukhikh
382379d785
MPP wizard: remove kotlin-stdlib-native & kotlin-test-native deps
...
Related to KT-25952
2018-09-14 18:58:50 +03:00
Pavel V. Talanov
d3540a01a7
Jest/Mocha run config producers: fix searching for test runner package
...
#KT-26793 Fixed
2018-09-14 17:36:29 +02:00
Pavel V. Talanov
cbe3c69457
Gradle method/class configurations: support only jvm modules
...
Fixes a problem where invalid run configuration could be created
for common module when 'Gradle Test Runner' option is selected
2018-09-14 17:36:29 +02:00
Alexey Sedunov
619e2bc0db
MPP: Allow 'implements' relation only within the same Gradle project
...
Also allow COMMON modules on the "implementer" side
2018-09-14 17:33:59 +03:00
Mikhael Bogdanov
9e6637dced
Don't generate additional annotations on synthetic accessors
2018-09-14 16:23:57 +02:00
Mikhael Bogdanov
b7afb4a58e
Generate enum entries classes with package private visibility
...
#KT-6574 Fixed
2018-09-14 16:23:57 +02:00
Raluca Sauciuc
de989c4050
Expand the fix from commit 6c274cecff to cover AndroidX
...
Android Studio users who migrated to AndroidX are running into the
databinding deadlock again: https://issuetracker.google.com/111788726
2018-09-14 17:09:16 +03:00
Dmitriy Dolovov
0059fcceb9
[K/N] Safe determining Kotlin/Native meta version
2018-09-14 17:08:08 +03:00
Dmitry Petrov
88fb76bffc
Fix annotations loading for inline class constructors
2018-09-14 16:09:41 +03:00
Alexey Sedunov
d5b3dc8a2a
MPP: Exclude non-COMMON modules from 'implemented' list
2018-09-14 15:56:04 +03:00
Ilya Gorbunov
6bfb5c59a3
Make ResultTest common
...
Use custom exception type to avoid platform differences in toString implementation.
2018-09-14 15:32:25 +03:00
Ilya Gorbunov
b1c2daf1fe
Stdlib: fix name shadowing and names of overridden method parameters
2018-09-14 15:32:25 +03:00
Ilya Gorbunov
bf4be12239
Stdlib: review and suppress warnings
2018-09-14 15:32:25 +03:00
Ilya Gorbunov
6786b9ece2
Stdlib tests: cleanup warnings
2018-09-14 15:32:08 +03:00
Ilya Gorbunov
7e0a658de7
Change nextInt/Long with range parameters from members to extensions
...
We'd like to fix the implementation of these methods, so we could intrinsify them later
or perform other optimizations that are not possible when these methods are open.
2018-09-14 15:15:52 +03:00
Ilya Gorbunov
928fe19801
Rename Random.next* parameters: remaining renames
...
- Correct docs after parameter renaming
- Rename parameters in Random inheritors
- Rename local variables
#KT-26596
2018-09-14 15:15:52 +03:00
kenji tomita
ffb83bbdf0
Rename Random.next* parameters from "origin, bound" to "from, until"
...
Rename Random test methods
#KT-26596
2018-09-14 15:15:52 +03:00
Ilya Matveev
ccd4bc1bff
Add a project property for Kotlin/Native version overriding
2018-09-14 14:58:03 +03:00
Ilya Matveev
80bec0898f
Download native compiler in configuration stage
2018-09-14 14:58:03 +03:00
Alexey Sedunov
5a64067601
MPP: Update gradle plugin version in new MPP tests
2018-09-14 14:51:02 +03:00
Alexey Sedunov
14d8425e27
MPP: Fix import of dependencies on Android modules
2018-09-14 14:51:01 +03:00
Alexey Sedunov
1de0dbd67d
MPP: Configure Kotlin facets for Android modules
...
#KT-26770 Fixed
2018-09-14 14:51:01 +03:00
Alexey Sedunov
9253f88220
MPP: Exclude COMMON modules from implementation list
2018-09-14 14:51:01 +03:00
Alexey Sedunov
4970e90412
MPP: Add commonMain as a part of inter-project dependency
...
#KT-26383 Fixed
2018-09-14 14:51:01 +03:00
Alexey Sedunov
469b11e0aa
MPP: Drop duplicating library produced by file collection dependency
...
#KT-26675 Fixed
2018-09-14 14:51:01 +03:00
Alexey Sedunov
5ac64bcc1d
MPP: Match project dependencies by target elements task
2018-09-14 14:51:00 +03:00
Alexey Sedunov
a417630c24
MPP: Force COMMON platform for commonMain/commonTest source sets
...
Follow-up for 172/AS3.1 bunches
2018-09-14 14:51:00 +03:00
Alexander Udalov
863c0051ce
Do not report deprecation on readBytes with API version < 1.3
...
#KT-26667 Fixed
2018-09-14 14:43:24 +03:00
Alexander Udalov
044419eda5
Minor, refactor DeprecationResolver.getOwnDeprecations
...
Make local function a member, inline another utility function
2018-09-14 14:43:23 +03:00
Alexander Udalov
5dc563a9af
Split deprecationUtil.kt to several files, move to subpackage
...
Also move interface Deprecation to subpackage "deprecation"
2018-09-14 14:43:23 +03:00
Nikolay Krasko
c268dcecd2
Better parsing for external library name (KT-26794)
...
- Migration notification fixed
- Make fix for replacing old coroutines libraries applicable
#KT-26794
2018-09-14 10:52:57 +03:00
Sergey Rostov
5fc2267665
JPS, Tests: Encapsulate libraries root paths used in JPS tests
2018-09-14 10:34:30 +03:00
Sergey Rostov
f1b97bb9be
JPS: code cleanup
2018-09-14 10:34:30 +03:00
Sergey Rostov
39c76c7b11
JPS: fix daemon RPC serialization
...
#KT-26809 Fixed
2018-09-14 10:34:30 +03:00
Georgy Bronnikov
e712007904
Restore a test
2018-09-14 09:41:39 +03:00
Georgy Bronnikov
433afcd669
JVM_IR. Mute failing tests
2018-09-14 03:12:23 +03:00
Ilya Chernikov
a03bfb3561
Implement support for non-kts scripts in gradle
...
#KT-26784 fixed
2018-09-13 20:47:21 +02:00
Sergey Rostov
9ae478e4fc
JPS, Tests: migrate to master
2018-09-13 20:40:21 +03:00
Sergey Rostov
81cf3fbc28
JPS, minor: rename KotlinModuleBuildTarget.updateSourcesList to computeSourcesList
2018-09-13 20:30:35 +03:00
Sergey Rostov
9e6d6ad9da
JPS, native: skip and report native modules as not supported
...
#KT-26648 Fixed
2018-09-13 20:30:35 +03:00
Dmitriy Dolovov
0c94aefb87
Move NativeIdePlatformKind to idea-jps-common
...
Issue #KT-26714 Fixed
2018-09-13 20:30:34 +03:00
Sergey Rostov
c8351c3da0
JPS, -Xcommon-sources: write tests
2018-09-13 20:30:34 +03:00
Sergey Rostov
313c27859a
JPS tests: support _dependencies.txt and _steps.txt for better files sorting
2018-09-13 20:30:34 +03:00
Sergey Rostov
1b93f07a76
JPS tests: support custom mpp multi module tests, rearrange test data files for more consistency, configure js modules with facet (not with stdlib dependency which should be deprecated), temporary mute some complex mpp tests
2018-09-13 20:30:33 +03:00
Sergey Rostov
8cd3b46f05
JPS, -Xcommon-sources: don't iterate on all sources, use root info from DirtySourceFilesHolder. Cleanup code.
...
Also:
- Pass `-Xcommon-sources` argument to JS compiler.
- Calculate all sources list only when needed (after change it is not required to calculate common-sources)
- Remove `chunk: ModuleChunk` parameter from some `KotlinModuleBuildTarget` functions.
2018-09-13 20:30:33 +03:00
Sergey Rostov
359909dcff
JPS MPP tests: Don't do anything for common modules, enable js ic, fix test data
2018-09-13 20:30:33 +03:00