gcx11
b49c5bf74e
KT-22807: allow asynchronous testing in Kotlin/JS with QUnit
2019-04-16 14:17:22 +03:00
Ilya Chernikov
d98b1dfa7e
Fix testdata after adding main function to scripts
2019-04-16 11:55:24 +02:00
Ilya Chernikov
67ad3773de
Implement main method generation in scripts and runnable jar saving
...
refactor necessary parts on the way
2019-04-16 11:55:23 +02:00
Ilya Chernikov
c896b4873b
Rearrange scripting host classes, so the runner part is independent from the compiler
2019-04-16 11:55:23 +02:00
Ilya Chernikov
a6f0bd6677
Refactor jvm evaluation to make module operations cleaner and more robust
...
in addition:
- hide internal configuration keys
- add keys for flags controlling evaluation
- add initial module implementation for using scripts from a classpath
2019-04-16 11:55:22 +02:00
Ilya Chernikov
90444502a6
Extend evaluation API for easier passing of evaluation configuration
...
refactor helpers accordingly
2019-04-16 11:55:22 +02:00
Ilya Chernikov
fa58b41e43
Implement script evaluation configuration refinement
2019-04-16 11:55:21 +02:00
Ilya Chernikov
c51d4a4405
Implement simple "saving evaluators" to classes and to a jar
2019-04-16 11:55:20 +02:00
Mads Ager
a65f50bb00
JVM_IR: Generate java 8 parameter names when -java-parameters is passed.
...
The type mapper does not map enum parameters and outer this parameters
to the right parameter signature kinds so around half the tests
are still failing. Since a new type mapper is being worked
on I will not investigate that further right now.
2019-04-16 09:32:57 +02:00
Mikhail Zarechenskiy
e27f71c6f3
[NI] Add test for obsolete issue
...
#KT-30858 Obsolete
2019-04-16 10:32:12 +03:00
Mark Punzalan
9f4db04839
Change visibility of ForLoopsLowering from internal to public.
2019-04-16 09:31:40 +02:00
Vyacheslav Gerasimov
152d5a98e8
Build: Remove duplicate sam-with-receiver-compiler-plugin in libraries
2019-04-15 22:04:17 +03:00
Vyacheslav Gerasimov
f052f31c83
Build: Put gradle tooling model in kotlin plugin as separate jars
...
Those jars are loaded by gradle during import process
2019-04-15 22:04:17 +03:00
Vyacheslav Gerasimov
d6e2b5066b
Build: Use sync task for copying idea plugin to the output
...
It will prevent files from previous builds remain in the target directory
Now we can remove `cleanArtifacts` kostyl from teamcity build
2019-04-15 22:04:17 +03:00
Vyacheslav Gerasimov
478208b070
Build: remove ideaPlugin helper
...
Plugin distribution building logic is now handled solely by idea-plugin project
2019-04-15 22:04:17 +03:00
Yan Zhulanow
7710942ec5
Kapt: Call next resolver in populateModuleExtraModels() (KT-30995)
2019-04-15 20:11:29 +03:00
Nikolay Krasko
27fd64ed42
Enable registration of CIDR bundle to prevent test failure in AS 3.5 (KT-26337)
2019-04-15 14:46:40 +03:00
Nikolay Krasko
1da51c118e
Minor: fix too long strings
2019-04-15 14:46:40 +03:00
Nikolay Krasko
4691f6fed5
Don't read attributes in invalid files (EA-141259)
2019-04-15 14:46:39 +03:00
Nikolay Krasko
a3bd46858a
Additional diagnostic added for bad class assert
2019-04-15 14:46:39 +03:00
Nikolay Krasko
28aa404356
Don't create intention for some bad psi (EA-141235)
2019-04-15 14:46:39 +03:00
Nikolay Krasko
bc258fa856
Fix RemoveUselessIsCheckFixForWhen - don't assert psi state in quick fixes (EA-141206)
2019-04-15 14:46:39 +03:00
Nikolay Krasko
55b2a7d051
Fix NPE in surround (EA-141193)
2019-04-15 14:46:39 +03:00
Ryan
916f871fd1
Wrong File name 'KotlinNativeTaretConfigurator.kt'
2019-04-15 17:40:15 +07:00
Nikolay Kasyanov
7d2041ed82
Fix fat dSYM Info.plist copying
...
Issue #KT-31008 Fixed
2019-04-15 17:34:32 +07:00
Yan Zhulanow
5825da8433
Fix binary compatibility with Android plugin (KT-30978)
2019-04-15 05:17:03 +03:00
Yan Zhulanow
0dfe122a40
Pill: Mark more projects as 'jps-compatible' in FULL variant
2019-04-15 05:17:03 +03:00
Yan Zhulanow
ae747196c2
Pill: Add kotlinVersion to the default JUnit configuration (for Gradle integration tests)
2019-04-15 05:17:03 +03:00
Yan Zhulanow
d5fa4f983e
Pill: Resolve dependencies using ResolvedArtifact data
2019-04-15 05:17:03 +03:00
Svyatoslav Kuzmich
977d3ef840
[JS IR BE] New name generator
2019-04-13 14:19:36 +03:00
Svyatoslav Kuzmich
a16ca5e66c
[JS IR BE] Static members lowering pass
2019-04-13 14:17:59 +03:00
Svyatoslav Kuzmich
38fc4b0c59
[JS IR BE] Hack irRuntime js function usage to compensate for implementation shortcomings
2019-04-13 14:17:59 +03:00
Svyatoslav Kuzmich
5c5d65bdb9
[JS IR BE] Lower dataClass hashCode and toString
2019-04-13 14:17:59 +03:00
Svyatoslav Kuzmich
e52ae38cf5
[JS IR BE] Minor: Use proper trow in js compiler test runtime
2019-04-13 14:17:59 +03:00
Svyatoslav Kuzmich
ce1ae417c2
[JS IR BE] Minor: don't use descriptors
2019-04-13 14:17:59 +03:00
Svyatoslav Kuzmich
7a6e245dba
[JS] Minor: Use file path to V8 runner to show better error messages
2019-04-13 14:17:58 +03:00
Mikhail Zarechenskiy
1bc078769b
Regenerate tests
2019-04-12 18:17:48 +03:00
Dmitriy Novozhilov
18f9272f56
[NI] Fix reporting smartcast diagnostics for intersection types
...
#KT-30826 Fixed
2019-04-12 17:36:59 +03:00
Dmitriy Novozhilov
ece3a0fe90
Minor: fix smartcast on var in IrUtils.kt
2019-04-12 17:36:59 +03:00
Roman Artemev
01878fe4b5
[JS IR BE] Remove unused lowering
...
* its functionality is merged into `FunctionInliner`
2019-04-12 15:23:28 +03:00
Roman Artemev
ece33f00a2
[IR] SuspendFunctionLowering refactoring
...
* distinguish common part which generates successor of `CoroutineImpl`
into separate common lowering
* merge it with K/N
2019-04-12 15:23:28 +03:00
Roman Artemev
bcc8f3e073
[IR] Move Ir utils from Kotlin/Native
2019-04-12 15:23:28 +03:00
Roman Artemev
cf9cce8a9b
[JS IR BE] Fix type arguments stuff in Secondary Constructor lowering
2019-04-12 15:23:28 +03:00
Roman Artemev
e3699fbc31
[IR] CommonBackendContext and Symbols refactoring
...
* add [suspend]functionN factory factions
* add `getContinuation` property
* add `internalPackageName` property
* fix lowerings
2019-04-12 15:23:28 +03:00
Mikhail Zarechenskiy
bdab7a88f6
[NI] Add test for obsolete issue
...
#KT-28658 Obsolete
2019-04-12 15:22:39 +03:00
Mikhael Bogdanov
d5cd49b2bf
Don't delete Idea temporary folder on JVM shutdown
...
Before parallelization we don't delete Idea folders after test execution.
Now there is problem with failing test on Teamcity.
So try to keep folder undeleted (maybe there is some working daemon)
2019-04-12 14:13:53 +02:00
Ivan Gavrilovic
33e7a23208
Fix style in classpath snapshot class
...
Use filterTo instead of filter followed by forEach.
2019-04-12 15:01:47 +03:00
Ivan Gavrilovic
c28ad116d0
Convert Windows-style path when calculating class internal name
2019-04-12 15:01:47 +03:00
Ivan Gavrilovic
955a27ec77
Use MD5 when caching class ABI structure
...
This avoids Kotlin Gradle plugin dependency
on Guava, and it is a good hash function for this
use-case.
Also fix some formatting.
2019-04-12 15:01:47 +03:00
Ivan Gavrilovic
e171199bf5
Do not track defined constants in source files
...
There is no need to track definitions of constants in sources for now.
References to constants are tracked in order to capture dependencies between types.
This ensures that any change to a type defining a constant (either from the
classpath or sources), will trigger reprocessing of the type that uses the
constant.
2019-04-12 15:01:47 +03:00