Commit Graph

5340 Commits

Author SHA1 Message Date
Svyatoslav Scherbina a40604b640 Remove some hardcoded names from ObjCExport code generator 2019-10-17 16:12:21 +03:00
Nikolay Igotti f578ce88f5 Compiler daemon (#3442) 2019-10-14 18:44:27 +03:00
Alexander Gorshenev bb67a21df9 Moved to 1.3.70-dev-478 2019-10-14 17:15:39 +03:00
Alexander Gorshenev 6c60951bd8 Soveral additional library resolver tweaks 2019-10-14 17:15:39 +03:00
Alexander Gorshenev c59896b6d1 Moved library resolver with attributes to Kotlin.
Introduced a hierarchy of resolvers.
2019-10-14 17:15:39 +03:00
SvyatoslavScherbina 064d95baa3 Fix -Werror build for runtime on android_arm32 and android_x86 (#3460) 2019-10-14 17:01:41 +03:00
Svyatoslav Scherbina 3f868cc55d Use -Werror when compiling C++ sources (including runtime) 2019-10-14 10:39:14 +03:00
Svyatoslav Scherbina 0c284c7654 Fix runtime compilation warnings 2019-10-14 10:39:14 +03:00
LepilkinaElena ee391191ed Fix bundle build (#3455) 2019-10-11 13:25:41 +03:00
Svyatoslav Scherbina 3eefdad759 Move exported runtime Obj-C classes from dynamic cache to final binary
Otherwise Swift/Obj-C code requires linking with cache directly too.
2019-10-11 10:01:23 +03:00
Svyatoslav Scherbina da328576ce Split ObjCExportCollections.mm to runtime and final binary parts 2019-10-11 10:01:23 +03:00
Svyatoslav Scherbina a8494434ab Support ObjCExport with dynamic cache 2019-10-11 10:01:05 +03:00
Svyatoslav Scherbina 806bd37d67 Support emitting non-IR static initializers in codegen 2019-10-11 10:01:05 +03:00
SvyatoslavScherbina 5081adbf87 Fix handling of 'null' passed as C string (#3452) 2019-10-11 10:00:19 +03:00
Sergey Bogolepov 496ebbe2a8 Move KonanLibraryWriter and its friends to the shared package. 2019-10-11 09:52:53 +03:00
Sergey Bogolepov c675fff032 Fix typo in assertion 2019-10-10 17:56:48 +03:00
Sergey Bogolepov 303f6638f4 [StubIR][Interop] Rework StubIR type system to make it usable for metadata-based interop 2019-10-10 15:46:21 +03:00
LepilkinaElena bd0e0dd2e7 Deprecate -compilerOpts and -linkerOpts in cinterop (#3450) 2019-10-10 14:26:12 +03:00
Alexander Gorshenev aca4bab784 Moved to 1.3.70-dev-352 2019-10-10 12:51:14 +03:00
Alexander Gorshenev cfb97536d2 Commonized SourceMap with FileRegistry 2019-10-10 12:51:14 +03:00
Roman Artemev 5a2ad645fc [KLIB] Fix uniqId API 2019-10-10 12:51:14 +03:00
LepilkinaElena 5072cb63d3 Merge all jars with compiler dependencies in one (#3448) 2019-10-10 12:44:39 +03:00
Ilya Matveev 7dcb87a06d Build: Correctly publish backend.native.jar to a local repo 2019-10-10 12:06:07 +03:00
Nikolay Igotti 820ef588ae Revert "Build: Publish backend.native.jar to a local repo"
This reverts commit d886986b96.
It breaks CLI launcher.
2019-10-09 22:23:33 +03:00
Nikolay Igotti 64be2b7fdc Revert "Compiler daemon (#3442)"
This reverts commit e4fb6fd271.
2019-10-09 20:58:27 +03:00
Igor Chevdar e4fb6fd271 Compiler daemon (#3442) 2019-10-09 20:35:13 +03:00
Ilya Matveev d886986b96 Build: Publish backend.native.jar to a local repo 2019-10-09 19:10:32 +03:00
Svyatoslav Scherbina 8205a26a25 Add initial support for producing and consuming cache
Dynamic cache isn't fully functional on Apple targets yet.
2019-10-09 09:42:46 +03:00
Svyatoslav Scherbina fe591aafab Fix IR entry point generation for partial IR compilation 2019-10-09 09:42:46 +03:00
Sergey Bogolepov 912a889b68 [coverage] Initial infrastructure for testing -Xcoverage flag (#3429) 2019-10-08 23:03:35 +03:00
Vasily Levchenko 2ab841afd3 [kotlin compiler][update] 1.3.70-dev-224
* eda4206428 - (tag: build-1.3.70-dev-208) New J2K: convert Integer.MAX_VALUE to Int.MAX_VALUE (2 days ago) <Toshiaki Kameyama>
* 0b76f60b63 - (tag: build-1.3.70-dev-204) JVM IR: Handle NonInlinedConst (2 days ago) <Steven Schäfer>
* e40636f6ab - (tag: build-1.3.70-dev-203) re-generate for debug information tests (2 days ago) <Jiaxiang Chen>
* 74e4e8b18e - enable test generator to generate tests using JUnit 4 infrastructure (2 days ago) <Jiaxiang Chen>
* 2c78f1fe85 - debug information test: instantiate a single thread for all tests under same test class (2 days ago) <Jiaxiang Chen>
* 0a2812f83b - Add a JVM backend debug information test, this commit is for verifying line numbers for stepping. (2 days ago) <Jiaxiang Chen>
* f17e9ba9fe - (tag: build-1.3.70-dev-200, origin/rr/ayalyshev/KT-27587-partial-revert) Return older android.tools.build version, as we have problems with newer one (3 days ago) <Anton Yalyshev>
* daa25dd56a - (tag: build-1.3.70-dev-195) 193: Fix AbstractResolveByStubTest fixture configuration (3 days ago) <Vyacheslav Gerasimov>
* a5d668a093 - 193: Fix AbstractInlineTest fixture configuration (3 days ago) <Vyacheslav Gerasimov>
* c07833f13a - 193: Fix AbstractNameSuggestionProviderTest fixture configuration (3 days ago) <Vyacheslav Gerasimov>
* 04ee38c913 - 193: Fix AbstractParameterInfoTest fixture configuration (3 days ago) <Vyacheslav Gerasimov>
* 1392e7574c - 193: Fix AbstractKotlinGotoTest fixture configuration (3 days ago) <Vyacheslav Gerasimov>
* 98f8e0c800 - 193: Fix code fragment tests fixture configuration (3 days ago) <Vyacheslav Gerasimov>
* f7d12efc24 - (tag: build-1.3.70-dev-193) Memoize absent classifier names in FIR star importing scopes (3 days ago) <Mikhail Glukhikh>
* 6d8aa69878 - FIR: rename CallResolver to FirTowerResolver (3 days ago) <Mikhail Glukhikh>
* 16de3257d5 - FIR abstract importing scope: return NONE when we have no top-level callables (3 days ago) <Mikhail Glukhikh>
* 7ba40ac963 - Memoize absent function/property names in FirSuperTypeScope (3 days ago) <Mikhail Glukhikh>
* 840ecf1a77 - Don't enter twice top-level scopes w/out particular name in FIR tower resolver (3 days ago) <Mikhail Glukhikh>
* e276e8d9f3 - Don't enter twice local scopes w/out particular name in FIR tower resolver (3 days ago) <Mikhail Glukhikh>
* e48428d39d - FIR ScopeSession: use HashMap instead of LinkedHashMap (3 days ago) <Mikhail Glukhikh>
* 813e35643c - FIR resolve: fix constructor handling in qualifier scope (3 days ago) <Mikhail Glukhikh>
* 26e8202771 - FIR: add 'isInner' parameter to constructors (3 days ago) <Mikhail Glukhikh>
* aad9cbbf01 - [JS IR BE] Fix tests failing due to reduced runtime (3 days ago) <Anton Bannykh>
* b2fb81e9cc - Temp ignore tests on missing source file (3 days ago) <Ilya Goncharov>
* 6688df8f6a - Fix webpack delimiter and add test on short path in stack trace (3 days ago) <Ilya Goncharov>
* f7ba1c56e2 - Source-map-loader resolves relative paths into absolute even (3 days ago) <Ilya Goncharov>
* f3db846bce - Add tests for source-map-loader (3 days ago) <Ilya Goncharov>
* e8efe5407d - Add patched kotlin-source-map-loader (3 days ago) <Ilya Goncharov>
* dad9958adf - 193: Fix test fixture configuration (3 days ago) <Vyacheslav Gerasimov>
* 3f1d3dab14 - 193: Request StubComputationTracker as component from project (3 days ago) <Vyacheslav Gerasimov>
* fa9125df7d - Set JVM 1.8 for test source set as well #KT-34154 Fixed (3 days ago) <Anton Yalyshev>
* d2c2128aad - Fix test logging for Windows (3 days ago) <Ilya Goncharov>
* f950a0246c - New J2K: handle correctly short names which are imported by default in kotlin (like List or Result) (3 days ago) <Ilya Kirillov>
* 81341e3fd3 - New J2K: add hack for incorrect comment parsing in J2K (KT-16845) (3 days ago) <Ilya Kirillov>
* 008b916755 - avoid unnecessary usage of private API class HighlightSession (3 days ago) <Alexey Kudravtsev>
* 354e5d86ee - JVM_IR: use correct descriptor type in JvmStaticAnnotationLowering (3 days ago) <pyos>
* 1f5a760ac8 - Add typings field for DtsResolver (3 days ago) <Ilya Goncharov>
* b7e5d9faae - Update annotation rendering in diagnostics (3 days ago) <Pavel Kirpichenkov>
* 2a99687a95 - Advance 193 bunch to 193.4099 (3 days ago) <Kirill Shmakov>
* f1f4bc6c2a - Fix IdeRegression.testImplementingMutableSet test data (3 days ago) <Igor Yakovlev>
* 58e9b756f1 - (rr/minamoto/ir/inliner-no-local-object-copier) Add tests for processing karma stack traces (4 days ago) <Ilya Goncharov>
* 4b5877f3b5 - JVM_IR, codegen: handle names for classes within local classes (4 days ago) <Georgy Bronnikov>
*   cd251458bd - Merge pull request #2647 from JetBrains/kishmakov/gd/review (4 days ago) <Kirill Shmakov>
|\
| * 1310796a16 - (origin/kishmakov/gd/review) Advance 193 bunch (5 days ago) <Kirill Shmakov>
* 5da75897e4 - Minor: regenerate IdeLightClassTestGenerated (4 days ago) <Natalia Selezneva>
* b8258bfc71 - Drop TestCaseWithTempDir usage from scripting compiler plugin tests (4 days ago) <Ilya Chernikov>
* cb5622fc8b - [minor] Fix URL conversion to the file (4 days ago) <Ilya Chernikov>
* 3fec15202f - [minor] fix source root creation from imported scripts: (4 days ago) <Ilya Chernikov>
* 5d7f18b1b9 - [JS] Support wrapped and dynamic types in typeOf (4 days ago) <Svyatoslav Kuzmich>
* 030aaee117 - (tag: build-1.3.60-dev-2864) Mute completion tests (KT-32919) (4 days ago) <Nikolay Krasko>
* eaa07dac17 - CreateExpect: shouldn't generate expect declaration from actual function with `private`, `lateinit` or `const` #KT-33930 Fixed (4 days ago) <Dmitry Gridin>
* 9da6dcf840 - DescriptorRenderer: shouldn't render `private` modifier by default #KT-31587 Fixed (4 days ago) <Dmitry Gridin>
* 847295bf1c - CreateExpect: shouldn't generate expect declaration from actual function with default implementation from interface #KT-32737 Fixed (4 days ago) <Dmitry Gridin>
* e9f8693a73 - as34: Mute several inspection/intention tests in as34 (KT-32856) (4 days ago) <Nikolay Krasko>
* 7e87357ed0 - (tag: build-1.3.60-dev-2857) FIR2IR: fix top-level parent settings thus fixing Cli.testFirHello (4 days ago) <Mikhail Glukhikh>
* 1b7b546249 - (tag: build-1.3.60-dev-2855) Tests: fix some tests in quickfix (4 days ago) <Dmitry Gridin>
* f74b3e6ece - (tag: build-1.3.60-dev-2854) SymbolBasedClassifierType: fix exception in case with not found class (4 days ago) <Mikhail Glukhikh>
* 6b8f4b4b4e - SymbolBasedClass: cleanup code (4 days ago) <Mikhail Glukhikh>
* ac1b957f8d - Symbol based types: cleanup code (4 days ago) <Mikhail Glukhikh>
* 4bb5fbaa4d - JavacWrapper: add output directory to classpath to see Kotlin files (4 days ago) <Mikhail Glukhikh>
* b75e630932 - JavacWrapper: minor renames to make code clearer (4 days ago) <Mikhail Glukhikh>
* 0c662a5a34 - JavacWrapper: remove code duplication around getVisibility (4 days ago) <Mikhail Glukhikh>
* 298a30d245 - Minor: run javac-mode compileJava after destroying of generation state (4 days ago) <Mikhail Glukhikh>
* bbd8fb8b23 - JavacWrapper: add support for JvmPackageName annotation (4 days ago) <Mikhail Glukhikh>
* e8cf0b5d4f - Add test for kotlin.streams function usage in Kotlin code (4 days ago) <Mikhail Glukhikh>
* f6ff580852 - Cleanup code: JavacWrapper (4 days ago) <Mikhail Glukhikh>
* 2bec60a3dd - Fix potential NPE in JavacWrapper (4 days ago) <Mikhail Glukhikh>
* d252e795be - (tag: build-1.3.60-dev-2851, origin/rr/yakovlev/removed_UL_fallback_to_L) Remove unnecessary fallback LigthClasses from UL (5 days ago) <Igor Yakovlev>
* d5e4227a1d - Revert commit and additional workaround to diagnostics problem (5 days ago) <Igor Yakovlev>
* 32a8fe1ca9 - Fix IdeRegression.testImplementingMutableSet test data (5 days ago) <Igor Yakovlev>
* 107ab06042 - (tag: build-1.3.60-dev-2820) Minor: make diagnostic tests usable with IDEA & JPS (5 days ago) <Dmitry Petrov>
* a633a33627 - KT-14513 Don't generate delegated property metadata when unused (5 days ago) <Dmitry Petrov>
* 92ba298e68 - KT-14513 DELEGATED_PROPERTIES -> DELEGATED_PROPERTIES_WITH_METADATA (5 days ago) <Dmitry Petrov>
* 3989f351ff - (tag: build-1.3.60-dev-2818, tag: build-1.3.60-dev-2816) Use modules instead of files for MPP diagnostic (5 days ago) <Dmitry Savvinov>
* 45737e51fb - Minor: let 'Renderer'-helper return more specific type (5 days ago) <Dmitry Savvinov>
* 8bfd30fc69 - Minor: reformat IdeRenderers.kt (5 days ago) <Dmitry Savvinov>
* 249e5da53b - Add internal action to toggle analysis mode (5 days ago) <Dmitry Savvinov>
* f7eb294b80 - Configure facets depending on MPP version in tests setup (5 days ago) <Dmitry Savvinov>
* 182f5fafad - Take dependsOn-graph from corresponding property for MPP.M3 (5 days ago) <Dmitry Savvinov>
* 958a7d9315 - Refactor MPP versioning (5 days ago) <Dmitry Savvinov>
* dbd352e2ba - Minor: simplify condition in KotlinFacetSettings (5 days ago) <Dmitry Savvinov>
* e38ff8753e - (tag: build-1.3.60-dev-2812) JVM_IR: support type parameters in @JvmOverload functions (5 days ago) <Georgy Bronnikov>
* 7467c80970 - (tag: build-1.3.60-dev-2810) Fix bunch rule (5 days ago) <Nikolay Krasko>
* 343502125b - Rename ResolveInWriteActionManager -> ResolveInDispatchThreadManager (5 days ago) <Nikolay Krasko>
* ea56a5e8b1 - (tag: build-1.3.60-dev-2809) Unmute some JVM_IR inlining tests (5 days ago) <pyos>
* 6163a8cf56 - IR: keep source container when making functions static (5 days ago) <pyos>
* 35a0fc40a6 - Don't create redundant copies in DefaultArgumentStubGenerator (5 days ago) <pyos>
* 8bf5afbba2 - JVM_IR: lift pre-super() computations out of anonymous objects (5 days ago) <pyos>
* fa54b2cb81 - JVM_IR: improve scope detection in accessor generation. (5 days ago) <pyos>
* d86e87d35e - Add quickfix to change object to class (5 days ago) <Toshiaki Kameyama>
* 6a329210cb - (tag: build-1.3.60-dev-2803) Convert to anonymous object: fix wrong replacement when SAM is nested interface (5 days ago) <Toshiaki Kameyama>
* 2e3428bbe7 - (tag: build-1.3.60-dev-2801) JVM_IR: incorporate validation into jvmPhases (5 days ago) <Georgy Bronnikov>
* 05527fbc9a - Fix all IR element duplication warnings/errors in JVM IR. (5 days ago) <Mark Punzalan>
* ac7e955d3e - (tag: build-1.3.60-dev-2800) Change parameter type quick fix: don't use qualified name (5 days ago) <Toshiaki Kameyama>
* c463fad3b7 - (tag: build-1.3.60-dev-2793) KT-34000: Allow autoimport to suggest fixes in qualified expressions (5 days ago) <Roman Golyshev>
* b2d2165342 - (tag: build-1.3.60-dev-2786) Add "Remove redundant label" quick fix for REDUNDANT_LABEL_WARNING (5 days ago) <Toshiaki Kameyama>
* 18df5d9db0 - (tag: build-1.3.60-dev-2778) Support mixed positioned/named arguments in AddNameToArgumentIntention (5 days ago) <Denis Zharkov>
* e54d2c7c32 - Support named arguments in their own position (5 days ago) <Denis Zharkov>
* bd6481b9e8 - (tag: build-1.3.60-dev-2776) Add support for settings.gradle.kts configuring kotlin in project (KT-34114) (5 days ago) <Natalia Selezneva>
* fac49df177 - Invoke in CompilerSettingsListeners in invokeLater (5 days ago) <Natalia Selezneva>
* 217f681b6e - (tag: build-1.3.60-dev-2772) JVM IR: Use WrappedClassDescriptor in class builder. (5 days ago) <Steven Schäfer>
* be002fc417 - (tag: build-1.3.60-dev-2768, origin/rr/gogabr/repair-jvm-static-with-defaults) JVM_IR: do not copy bodies when creating static functions (6 days ago) <Georgy Bronnikov>
* 4920d71d70 - JVM_IR: set dispatchReceiverParameter of imported JvmStatic object methods to null (6 days ago) <Georgy Bronnikov>
* c7904b273f - (tag: build-1.3.60-dev-2760) FIR: fix FirArraySetCall.acceptChildren thus fixing visitConsistencyTest (6 days ago) <Mikhail Glukhikh>
* 7e47be9765 - (tag: build-1.3.60-dev-2758) Add kotlin js test runner as required dependency for Karma (6 days ago) <Ilya Goncharov>
2019-10-08 12:23:32 +03:00
Nikolay Igotti b1710e8758 Fix reading stdin after EOF. (#3435) 2019-10-08 11:05:33 +03:00
LepilkinaElena f1c7d9a728 Returned compiler options and made system possible to get reports with different flags (#3424) 2019-10-08 10:01:14 +03:00
Pavel Punegov fac07f7168 Fix toolchain path used by the bitcode-build-tool 2019-10-07 17:02:16 +03:00
Nikolay Igotti 67ba24411f Properly handle exceptions in case of dynamic libraries. (#3428) 2019-10-07 11:07:05 +03:00
Sergey Bogolepov c42a53bcc9 [C Interop] Use CCall annotation for global getters and setters. (#3420) 2019-10-07 10:00:17 +03:00
SvyatoslavScherbina 25820bd227 Fix JVM cinterop callbacks when loaded with custom classloader (#3411) 2019-10-04 16:07:42 +03:00
Sergey Bogolepov 8cf66bb02e [KT-34182][watchOS] Use dsymutil from Xcode because version from
LLVM distribution doesn't support arm64_32.
2019-10-04 13:59:36 +03:00
Pavel Punegov 376fea9e1a Return 1 test back as it's not reproduces the issue any more 2019-10-04 13:49:31 +03:00
LepilkinaElena 9bda64b690 Added some swift benchmarks (#3419) 2019-10-03 17:35:26 +03:00
Sergey Bogolepov 4282dc5821 [MinGW][Coverage] Workaround for missing lprofGetHostName. 2019-10-03 17:20:28 +03:00
Sergey Bogolepov 8622eb3be4 [Coverage]Enable code coverage for linux_x64 and mingw_x64 2019-10-03 17:20:28 +03:00
Kirill Shmakov 4782c2adeb Add harfbuzz library into the set to process 2019-10-03 17:14:52 +03:00
Sergey Bogolepov a50a828d81 Add tests for objc_msgSend* family. 2019-10-03 17:05:22 +03:00
Pavel Punegov 12c7725cc0 Fix default toolchain path for swift libraries to use 5.0 2019-10-03 16:50:44 +03:00
Pavel Punegov d7ca5bea71 Use ld_path for bitcode-build-tool 2019-10-03 16:50:44 +03:00
Sergey Bogolepov c7c285bc27 Make is64BitNSInteger private as it doesn't leave scope of ObjCExportCodeGenerator.kt 2019-10-03 12:30:18 +03:00
Sergey Bogolepov 890ebb02bb Add is64BitLong function. Use exhaustive when in is64BitLong and is64BitNSInteger
to make code a bit more robust.
2019-10-03 12:30:18 +03:00
Pavel Punegov 8e5fb4dc1e Add empty inline rule 2019-10-02 19:01:36 +03:00
Vasily Levchenko a61c9a8a40 [cadapter][generator] don't let export parametrized functions (KT-34044). 2019-10-02 14:53:01 +03:00