Alexey Tsvetkov
28873e61d4
Remove unused IncrementalCompilationServicesFacade
2019-03-22 16:13:45 +03:00
Ivan Gavrilovic
493a2006f1
Remove unused SimpleDirtyData from incremental compilation
...
This is not used any more and all information about
the changed symbols and fqNames is passed alongside artifacts.
2019-03-22 16:13:45 +03:00
Yan Zhulanow
49d94f72d2
Revert "Kapt: Generate constant value initializers for mutable properties (KT-30164)"
...
This reverts commit cce2b472
2019-03-22 15:17:12 +03:00
Yan Zhulanow
9aa6a10aff
Revert "Kapt: Move out the 'final' fallback for initial field values"
...
This reverts commit 10e53a2e
2019-03-22 15:17:12 +03:00
Yan Zhulanow
4c794b1302
Revert "Kapt: Support default constant values for constructor parameters"
...
This reverts commit e4d758b6
2019-03-22 15:17:12 +03:00
Ilya Chernikov
215d24e12c
Fix jps build after adding new scripting jar
2019-03-22 12:26:02 +01:00
Svyatoslav Kuzmich
8429734a67
[JS IR BE] Disable -ProperIeee754Comparisons tests
2019-03-22 13:49:37 +03:00
Sergey Rostov
d210255623
Gradle: Kotlin NodeJS tests runner for single target
...
#KT-30528
2019-03-22 09:57:21 +03:00
Sergey Rostov
04d8568fdc
Build: fix DistModelBuilder for copy tasks without destination dir
2019-03-22 09:49:34 +03:00
Sergey Rostov
d467e4209a
Gradle: Basic Kotlin NodeJS tests runner
...
#KT-30531 Fixed
#KT-30528 Fixed
2019-03-22 09:49:32 +03:00
Sergey Rostov
b6e675f934
Gradle: move buildCompilationProcessor from target preset to target configurator
2019-03-22 09:34:11 +03:00
Sergey Rostov
46c32f2aa6
Gradle: Supress PackageDirectoryMismatch in targets for gradle.plugin.mpp package
2019-03-22 09:34:11 +03:00
Georgy Bronnikov
e627f08614
Make wrong phase name an error
2019-03-21 23:32:25 +03:00
Georgy Bronnikov
fae003866b
Use CLI compiler arguments directly in PhaseConfig creation
2019-03-21 23:32:25 +03:00
Georgy Bronnikov
40079f7cae
Use default argument values in PhaseConfig constructor
2019-03-21 23:32:25 +03:00
Georgy Bronnikov
469fd20902
Warn about mistyped phase names in CLI
2019-03-21 23:32:25 +03:00
Alexander Udalov
0fb444a5d1
Move createPhaseConfig to module cli
...
To use things like MessageCollector to report errors/warnings related to
incorrect phase configuration flags
2019-03-21 23:32:25 +03:00
Alexander Udalov
2995be8bd2
Move usages of createPhaseConfig up to cli & test modules
2019-03-21 23:32:25 +03:00
Alexander Udalov
ddad3034da
Extract createPhaseConfig from PhaseConfig
...
To remove dependency of PhaseConfig on CLI-dependent concepts such as
CompilerConfiguration
2019-03-21 23:32:25 +03:00
Nicolay Mitropolsky
ce40bfb259
191: Uast: making KotlinUObjectLiteralExpression provide a proper referenceNameElement (KT-30534)
2019-03-21 19:56:47 +03:00
Vyacheslav Gerasimov
e3a012cd19
Fix CodeConformanceTest after merging android-dx to prepare-deps
2019-03-21 18:15:55 +03:00
Nikolay Krasko
a5f96d6470
Minor: cleanup and remove outdated TODOs
2019-03-21 18:03:15 +03:00
Nikolay Krasko
04ecc913ef
Show expression type for argument names (KT-30057)
...
#KT-30057 Fixed
2019-03-21 18:03:15 +03:00
Nikolay Krasko
ce2f738d9f
Minor: fix Nullness deprecation warnings
2019-03-21 18:03:15 +03:00
Nikolay Krasko
77f1167773
Minor: remove bunch for KotlinSliceProvider.kt
2019-03-21 18:03:15 +03:00
Nikolay Krasko
026fc998c1
Allow resolve write action check for all plugins when enabled in registry
2019-03-21 18:03:15 +03:00
Ilya Matveev
7f08ecee39
CocoaPods: Use FQ name for the sync task during an Xcode build
2019-03-21 21:09:47 +07:00
Ilya Matveev
0a27699591
CocoaPods: Generate wrapper if the corresponding property enabled
2019-03-21 21:09:47 +07:00
Ilya Matveev
07c3ed5bd1
Fat frameworks: Use absolute path to lipo
2019-03-21 21:09:47 +07:00
Ilya Matveev
1f94224b52
Fat frameworks: Don't fail if plist has no device capabilities
...
The PlistBuddy fails when deleting an entry from a file which
has no such entry. This patch workarounds this by ignoring
PlistBuddy's exit code.
2019-03-21 21:09:47 +07:00
Ilya Matveev
300acafc63
CocoaPods: Don't generate a fat framework for a single device target
2019-03-21 21:09:47 +07:00
Ilya Matveev
c079543e7d
Fat frameworks: Improve header merging
...
1. If header contents are identical, don't write all of them
in the resulting header. Just write content of one of the
headers without #ifdef-s.
2. Use #elif to separate declarations for different platforms.
2019-03-21 21:09:47 +07:00
Ilya Matveev
8b8028e10d
Fat frameworks: Run PlistBuddy only once for all commands
...
Previously we executed the PlistBuddy utility for each command
separately. This patch gathers all commands and run PlistBuddy
for all of them at once.
2019-03-21 21:09:47 +07:00
Ilya Matveev
3f04bf119e
Fat frameworks: Improve error messaging
2019-03-21 21:09:47 +07:00
Ilya Matveev
1c7866e81f
CocoaPods: Require Gradle wrapper for Xcode build
2019-03-21 21:09:47 +07:00
Ilya Matveev
2e60b18570
CocoaPods: Rename: simple framework -> regular framework
2019-03-21 21:09:47 +07:00
Ilya Matveev
fd825e0601
CocoaPods: Detect the real path to Gradle wrapper.
...
Previously the CocoaPods plugin assumed that Gradle wrapper
is located in the project directory. But the project may be
a part of multiproject build and wrapper may be located in
the root directory of such a build. Also the build may not
have the wrapper at all.
This patch looks for the wrapper in the root directory of the
build and runs the local Gradle if there is no wrapper.
2019-03-21 21:09:47 +07:00
Ilya Matveev
4985b24b07
CocoaPods: Don't use realpath utility in script phase
...
The realpath utility may not be found on the user's machine
so we get rid of using it.
2019-03-21 21:09:47 +07:00
Ilya Matveev
5b4d83e770
CocoaPods: Build fat arm32/arm64 frameworks
...
Building for old iOS devices requires us to provide fat
arm32/arm64 frameworks. This patch uses the fat framework
task to build such a framework and provides it to Xcode
if a build for a device is executed. In other cases
(building for iOS simulator or macOS) simple frameworks
are still used.
2019-03-21 21:09:47 +07:00
Ilya Matveev
6621414d72
Provide a task for building a fat framework
...
This patch adds a task taking several iOS frameworks and
building one fat framework on their basis.
Issue #KT-24184 Fixed
2019-03-21 21:09:47 +07:00
Roman Artemev
538512fa2a
[JS IR BE] Fix unbound symbols after deserialization
...
* restore broken psi2ir invariant
2019-03-21 16:26:51 +03:00
Dmitriy Novozhilov
58189c79ca
Add regression test for PROTECTED_CONSTRUCTOR_NOT_IN_SUPER_CALL diagnostic
...
#KT-20507
2019-03-21 16:09:46 +03:00
Alexey Tsvetkov
42aa708f16
Minor: remove JVM-specific assertion from common test code
2019-03-21 15:23:48 +03:00
Ilya Chernikov
c56382a62b
Move common idea and compiler parts of the scripting plugin to the new jar
2019-03-21 12:02:29 +01:00
Nicolay Mitropolsky
af63fcb3be
KotlinElementActionsFactory: adding empty annotations without parenthesises
2019-03-21 12:47:27 +03:00
Nicolay Mitropolsky
1669b6aa9f
192: KotlinElementActionsFactory: changing parameters could add annotations
2019-03-21 12:47:27 +03:00
Nicolay Mitropolsky
6b91b7cce5
192: KotlinElementActionsFactory: support for keeping existing parameters on signature change
2019-03-21 12:47:26 +03:00
Nicolay Mitropolsky
713f73e414
Uast: getMaybeLightElement returns class for annotation primary constructor
2019-03-21 12:46:28 +03:00
Nicolay Mitropolsky
7b590055f8
Uast: resolveCallToDeclaration cleanup
2019-03-21 12:46:27 +03:00
Nicolay Mitropolsky
90894176f9
Uast: stop resolve parts of fqn to the full-name target
2019-03-21 12:46:27 +03:00