*57597f5900- (tag: build-1.4.0-dev-7380) Fix String.toHashSet tests (vor 9 Stunden) <Abduqodiri Qurbonzoda> *4d7597fa5a- (tag: build-1.4.0-dev-7378) Document 'reduce' operation behavior on empty collections #KT-23322 (vor 9 Stunden) <Abduqodiri Qurbonzoda> *0b66330d9f- (tag: build-1.4.0-dev-7373) Fixed compilation (vor 12 Stunden) <Valentin Kipyatkov> *5f53986f47- (tag: build-1.4.0-dev-7365) [klibs] Allow resolving klibs which names are not valid file names (vor 22 Stunden) <Ilya Matveev> *3a99b3d5a4- (tag: build-1.4.0-dev-7360) Small refactoring to use Family.CodeExtension.size when appropriate (vor 29 Stunden) <Abduqodiri Qurbonzoda> *0d5ec27ac4- toHashSet is suboptimal for inputs with a lot of duplicates #KT-23142 (vor 29 Stunden) <Abduqodiri Qurbonzoda> *2c4fcebfec- (tag: build-1.4.0-dev-7349) IR: handle adapted bound references (vor 2 Tagen) <Georgy Bronnikov> *1827465f48- (tag: build-1.4.0-dev-7346) Convert KotlinNativeABICompatibilityChecker into a startup activity (vor 2 Tagen) <Vladimir Dolzhenko> *6fe800eea0- Convert KotlinNativeABICompatibilityChecker into a startup activity (vor 2 Tagen) <Vladimir Dolzhenko> *86a02c07f6- Fix KotlinNativeABICompatibilityChecker.getLibrariesToNotifyAbout freeze (vor 2 Tagen) <Vladimir Dolzhenko> *06275a201c- JPS: remove outputs for additional dirty files for current iteration (vor 2 Tagen) <Alexey Tsvetkov> *4ccec5218f- Remove dirty output files when expanding IC scope early (vor 2 Tagen) <Alexey Tsvetkov> *2442abadc3- Add test for KT-35957 (vor 2 Tagen) <Alexey Tsvetkov> *876d6d209f- Minor: move non-JPS MPP IC tests under incremental/mpp dir (vor 2 Tagen) <Alexey Tsvetkov> *e1ee75c864- (tag: build-1.4.0-dev-6184) Fix to avoid test flickering (SlicerNullnessGroupingTestGenerated.testInlineFunctionManyCalls()) (vor 3 Tagen) <Valentin Kipyatkov> *e6cfced54a- Don't collect all usages at once (vor 3 Tagen) <Valentin Kipyatkov> *31a1b2ddd3- No BodyResolveMode.FULL in slicer (vor 3 Tagen) <Valentin Kipyatkov> *91a793d575- Slicer tree view: better highlighting range inside nodes and in the editor (vor 3 Tagen) <Valentin Kipyatkov> *64fec54c48- Slicer: underline element range in addition to bold font (better do it in IDEA code) (vor 3 Tagen) <Valentin Kipyatkov> *03126ba469- Container presentation in slicer tree: no type for properties and show accessor (vor 3 Tagen) <Valentin Kipyatkov> *2ee776a0d8- Container presentation in slicer tree: limit number of parameters shown by 2 (vor 3 Tagen) <Valentin Kipyatkov> *3e5820e4c1- Slice tree: shorter container rendering for properties in primary constructor (vor 3 Tagen) <Valentin Kipyatkov> *23ead3c805- Added container text into slicer tests output (vor 3 Tagen) <Valentin Kipyatkov> *2d2d9337ca- Do not include line numbers from librarys source into test output otherwise it will change to often when upgrading libs (vor 3 Tagen) <Valentin Kipyatkov> *d6e8cdebfb- Fixing compilation in bunch 201 (vor 3 Tagen) <Valentin Kipyatkov> *411f2c833c- Process inline functions from libraries (if sources available) + process source libraries if analysis scope includes them (vor 3 Tagen) <Valentin Kipyatkov> *06de3de1a6- Do not show doc-comment references in data flow (vor 3 Tagen) <Valentin Kipyatkov> *84a786dde3- Renames and test output format improvement (vor 3 Tagen) <Valentin Kipyatkov> *33082d8661- Added missing text in the tree rendering (vor 3 Tagen) <Valentin Kipyatkov> *63095f9ec9- Handling of method references (vor 3 Tagen) <Valentin Kipyatkov> *7dd30eb943- Support other kinds of variables for invoke receiver (vor 3 Tagen) <Valentin Kipyatkov> *5a7f74c250- Extracted method (vor 3 Tagen) <Valentin Kipyatkov> *8a1ea7b45e- One more test (vor 3 Tagen) <Valentin Kipyatkov> *cc6090347a- Handling other types of expressions as invoke receiver (vor 3 Tagen) <Valentin Kipyatkov> *bf79c3f279- Minor (vor 3 Tagen) <Valentin Kipyatkov> *9624f8afa3- Flaky test? (vor 3 Tagen) <Valentin Kipyatkov> *67021d23e2- Minor (vor 3 Tagen) <Valentin Kipyatkov> *f3b26e1c9a- Correct detection of parameter index or receiver from invoke call (vor 3 Tagen) <Valentin Kipyatkov> *83ef8def4d- Hacked SliceNullnessAnalyzerBase from IDEA to take into account SliceUsage.isLeaf() and give reasonable and stable results for Kotlin (vor 3 Tagen) <Valentin Kipyatkov> *e4d9801388- Process only correct implicit receivers (vor 3 Tagen) <Valentin Kipyatkov> *fdfae5260f- Parameter to receiver (vor 3 Tagen) <Valentin Kipyatkov> *04d4f7444e- Tracking of receiver for incoming lambda's for outflow analysis + better handling of invoke and operator calls (vor 3 Tagen) <Valentin Kipyatkov> *8f01427534- Tracking of incoming lambda's for outflow analysis (vor 3 Tagen) <Valentin Kipyatkov> *a09a9a65ff- Special handling of inline function to track values from individual calls (vor 3 Tagen) <Valentin Kipyatkov> *269420a0e0- Processing implicit extension receiver usages in outflow processing (vor 3 Tagen) <Valentin Kipyatkov> *5040d37e2f- Code refactoring (vor 3 Tagen) <Valentin Kipyatkov> *6928700320- Moving declarations (vor 3 Tagen) <Valentin Kipyatkov> *52ff1c62dd- Tracking of implicit receiver from enclosing lambda (vor 3 Tagen) <Valentin Kipyatkov> *4e88e2697c- Replaced [LAMBDA OUT] in test data to [LAMBDA CALLS] which is less confusing (vor 3 Tagen) <Valentin Kipyatkov> *7bcd6619cf- Tracking inflow of lambda receiver (vor 3 Tagen) <Valentin Kipyatkov> *61d4383cb9- Merged LambdaResultOutflowBehaviour and LambdaCallsBehaviour into one (vor 3 Tagen) <Valentin Kipyatkov> *1e39d4a63c- Code refactoring + better handling of incoming data flow to java super methods (vor 3 Tagen) <Valentin Kipyatkov> *b5b0fd62a9- Track anonymous function parameters in inbound data flow analysis as well (vor 3 Tagen) <Valentin Kipyatkov> *f0d4d7bb86- Added correctness check of test data + fixed huge amount of incorrect code in test data (vor 3 Tagen) <Valentin Kipyatkov> *c19a16f1e0- Track lambda parameters in inbound data flow analysis (vor 3 Tagen) <Valentin Kipyatkov> *799b2d7291- Refactoring: abstraction of idea with "lambdaLevel" in slices (vor 3 Tagen) <Valentin Kipyatkov> *03e894f75d- Use partial body resolve (vor 3 Tagen) <Valentin Kipyatkov> *86c98b0d62- Refactoring (vor 3 Tagen) <Valentin Kipyatkov> *b4b58d1d99- Handling implicit receivers in InflowSlicer (vor 3 Tagen) <Valentin Kipyatkov> *90188ef44f- Data flow to/from here: supported expected/actual declarations and extension receivers (vor 3 Tagen) <Valentin Kipyatkov> *bfa3fb0589- Do not check scope for super declaration (vor 3 Tagen) <Valentin Kipyatkov> *179b59032a- Do not create JavaSliceUsage directly (vor 3 Tagen) <Valentin Kipyatkov> *0b2aff4e70- KT-38003 works for Java implementations of extension method (vor 3 Tagen) <Valentin Kipyatkov> *84c9692332- KT-38003 works for Java implementations too (vor 3 Tagen) <Valentin Kipyatkov> *2b83e3721a- KT-38003 "Analyze Data Flow from Here" should work on parameter of abstract method #KT-38003 Fixed (vor 3 Tagen) <Valentin Kipyatkov> *612629f3cb- (tag: build-1.4.0-dev-6182) Fix compilation AbstractTypingIndentationTestBase for 191 (vor 3 Tagen) <Vladimir Dolzhenko> *5531ec3d28- (tag: build-1.4.0-dev-6181) Fix compilation AbstractTypingIndentationTestBase for 191 (vor 3 Tagen) <Vladimir Dolzhenko> *4d7d407e87- (tag: build-1.4.0-dev-6172) Update bootstrap to 1.4.0-dev-6123 (vor 3 Tagen) <Alexander Udalov> *72c52d37ae- Add some -X flags for compatibility to kotlin-reflect build (vor 3 Tagen) <Alexander Udalov> *a6064ecda6- (tag: build-1.4.0-dev-6170) [Commonizer] Generate correct TA types for callable descriptors (vor 3 Tagen) <Dmitriy Dolovov> *2938b69ff5- (tag: build-1.4.0-dev-6164) [Gradle, native] Disable platform libraries generation by default (vor 3 Tagen) <Ilya Matveev> *7ee4f4853d- [Gradle, native] Rename native distribution kind: regular -> light (vor 3 Tagen) <Ilya Matveev> *9c156c1a93- (tag: build-1.4.0-dev-6158) Wizard: run Gradle wrapper task in background (vor 3 Tagen) <Ilya Kirillov> *c734069cde- (tag: build-1.4.0-dev-6156) New J2K: do not show inline dialog during J2K (vor 3 Tagen) <Ilya Kirillov> *e4a721d03e- New J2K: do not create erroneous conversion from Java accessors to property (vor 3 Tagen) <Ilya Kirillov> *d1a59e8da6- (tag: build-1.4.0-dev-6150) Fix js repl tests compilation (vor 3 Tagen) <Ilya Chernikov> *f489e4044f- (tag: build-1.4.0-dev-6145) [FIR-TEST] Update testdata after removal bodies of synthetic data class funs (vor 3 Tagen) <Dmitriy Novozhilov> *9f1ecadd65- (tag: build-1.4.0-dev-6139) IR: more consolidation of synthetic member generation for data class. (vor 3 Tagen) <Jinseong Jeon> *7f02d57d88- [FIR] Correctly detect super type in delegated constructor call (vor 3 Tagen) <Dmitriy Novozhilov> *adfd478361- [FIR] Hold all containers in body resolve context, not only last one (vor 3 Tagen) <Dmitriy Novozhilov> *a446aa2266- [FIR] Set implicit type for delegated constructor calls in fir builder (vor 3 Tagen) <Dmitriy Novozhilov> *276754260a- [FIR] Add `replaceCalleeReference` to all FirResolvable (vor 3 Tagen) <Dmitriy Novozhilov> *fa1e5f9593- [FIR] Add transformations for delegated constructor call (vor 3 Tagen) <Dmitriy Novozhilov> *30ac024011- (tag: build-1.4.0-dev-6132) Regenerate `IntentionTestGenerated` (vor 3 Tagen) <Dmitry Gridin> *97a8bde64d- Convert AbstractTypingIndentationTestBase to Kotlin (vor 3 Tagen) <Dmitry Gridin> *cbd5d29457- Add performance tests for typing indentation (vor 3 Tagen) <Dmitry Gridin> *400ea13f07- (tag: build-1.4.0-dev-6128) Fix scripting REPL completion after literals (vor 3 Tagen) <Ilya Muradyan> *d2fec96f38- (tag: build-1.4.0-dev-6123) Add new REPL API JVM implementation (vor 4 Tagen) <Ilya Muradyan> *4c2c44b106- Add new REPL API (vor 4 Tagen) <Ilya Muradyan> *b240fce224- Add incompleteCode diagnostic type (vor 4 Tagen) <Ilya Muradyan> *af251cafa4- Add info about the end of range in scripting REPL compiler messages (vor 4 Tagen) <Ilya Muradyan> *a70a128d9e- Fix typo in property name (vor 4 Tagen) <Ilya Muradyan> *5ab55fbb57- (tag: build-1.4.0-dev-6122) Support -J<jvm-param> and "-Dname=value" in windows runner script (vor 4 Tagen) <Ilmir Usmanov> *ec50b1c85e- (tag: build-1.4.0-dev-6120) Add '-Xno-kotlin-nothing-value-exception' to compiler args in kotlin (vor 4 Tagen) <Dmitry Petrov> *ac5411c32e- Command-line option disabling KotlinNothingValueException generation (vor 4 Tagen) <Dmitry Petrov> *3c4e691e62- (tag: build-1.4.0-dev-6115) [FIR] Fix getClassDeclaredCallableSymbols for constructors (vor 4 Tagen) <simon.ogorodnik> *eff57001dc- (tag: build-1.4.0-dev-6112) Create secondary constructor: fill 'this()' arguments (vor 4 Tagen) <Toshiaki Kameyama> *e271015382- (tag: build-1.4.0-dev-6099) Minor: don't use deprecated HashSet class in KotlinChangeSignatureUsageProcessor (vor 4 Tagen) <Ilya Kirillov> *00a85f03ca- Do not search for non Kotlin/Java usages in KotlinChangeSignatureUsageProcessor (vor 4 Tagen) <Ilya Kirillov> *1535873c07- Do not try to lazy parse a block without opening bracket (vor 4 Tagen) <Ilya Kirillov> *4f9364f997- (tag: build-1.4.0-dev-6097) Native specific frontend checker for `@ThreadLocal` (#3293) (vor 4 Tagen) <LepilkinaElena> *41a28bde5c- (tag: build-1.4.0-dev-6096, origin/rr/gogabr/synth-accessors-to-fields) JVM_IR: repair synthetic accessors to fields (vor 4 Tagen) <Georgy Bronnikov> *461c368ee0- (tag: build-1.4.0-dev-6094) Minor. Unmute test (vor 4 Tagen) <Mikhail Bogdanov> *d3f357ee47- (tag: build-1.4.0-dev-6092) Uast: `KotlinUastReferencesTest` falling in 193 fix (vor 4 Tagen) <Nicolay Mitropolsky> *6d86d6ccdc- (tag: build-1.4.0-dev-6089) [box-tests] Turned on some tests on fun interfaces for JS & Native (vor 4 Tagen) <Igor Chevdar> *4ffcbc0c2f- (tag: build-1.4.0-dev-6088) [NI] Properly support `UnsafeVariance` annotation (vor 4 Tagen) <Mikhail Zarechenskiy> *1614c1b8a6- (tag: build-1.4.0-dev-6085) [Gradle, JS] Move TeamCity related classes to internal (vor 4 Tagen) <Ilya Goncharov> *4a4ce98f24- [Gradle, JS] Make execHandle private (vor 4 Tagen) <Ilya Goncharov> *75af8f958a- [Gradle, JS] Remove redundant webpack plugin in karma (vor 4 Tagen) <Ilya Goncharov> *2e1735735a- [Gradle, JS] Remove redundant spaces in stacktrace (vor 4 Tagen) <Ilya Goncharov> *77d8864abd- [Gradle, JS] Refactor check on error (vor 4 Tagen) <Ilya Goncharov> *5969f1dd4d- [Gradle, JS] LogType on Enum (vor 4 Tagen) <Ilya Goncharov> *fa4003bac5- [Gradle, JS] Useful message on exception for webpack (vor 4 Tagen) <Ilya Goncharov> *f8c44be865- [Gradle, JS] Config errors in webpack (vor 4 Tagen) <Ilya Goncharov> *36525d6534- [Gradle, JS] Not all karma messages go through log appenders (vor 4 Tagen) <Ilya Goncharov> *480a9c16fb- [Gradle, JS] Stack trace processor (vor 4 Tagen) <Ilya Goncharov> *3c033c168c- [Gradle, JS] Beautiful log for webpack (vor 4 Tagen) <Ilya Goncharov> *60dc423f17- [Gradle, JS] Don't debug twice (vor 4 Tagen) <Ilya Goncharov> *61e9d13fbd- [Gradle, JS] Save stack trace for nodejs errors (vor 4 Tagen) <Ilya Goncharov> *fb638c24f0- [Gradle, JS] Debug non test output (vor 4 Tagen) <Ilya Goncharov> *bd94387293- [Gradle, JS] Move common process message logic (vor 4 Tagen) <Ilya Goncharov> *ee218e9855- [Gradle, JS] Less verbosity for karma parsing (vor 4 Tagen) <Ilya Goncharov> *df41397a32- [Gradle, JS] Add cohesion for console method and message type (vor 4 Tagen) <Ilya Goncharov> *567ebfb180- [Gradle, JS] Remove copypaste for webpack and karma parse log (vor 4 Tagen) <Ilya Goncharov> *db41c65240- [Gradle, JS] Typed message for log type (vor 4 Tagen) <Ilya Goncharov> *dccf670849- [Gradle, JS] Simple message to message (vor 4 Tagen) <Ilya Goncharov> *47d7424d4d- [Gradle, JS] Fix formatting logic (vor 4 Tagen) <Ilya Goncharov> *7347c44cb1- [Gradle, JS] Divide tc message type on stdout and stderr (vor 4 Tagen) <Ilya Goncharov> *70f6ad7691- [Gradle, JS] All karma output to debug (vor 4 Tagen) <Ilya Goncharov> *e1793c59be- [Gradle, JS] Add custom log4js appender to KotlinKarma (vor 4 Tagen) <Ilya Goncharov> *005ecc5f29- [Gradle, JS] Add TeamCity simple message log4js appender (vor 4 Tagen) <Ilya Goncharov> *91a25417f5- [Gradle, JS] Add custom log4js appender for karma (vor 4 Tagen) <Ilya Goncharov> *f0e033b97c- [Gradle, JS] Process Karma messages to Gradle log (vor 4 Tagen) <Ilya Goncharov> *0534773545- [Gradle, JS] Parse karma output to find problem with browser launch (vor 4 Tagen) <Ilya Goncharov> *831fbba0c1- (tag: build-1.4.0-dev-6083) Redundant qualifier name: don't report for EnumClass.Companion (vor 4 Tagen) <Toshiaki Kameyama> *f747f8543e- Redundant qualifier name: don't report for EnumClass.values/EnumClass.valueOf (vor 4 Tagen) <Toshiaki Kameyama> *611c4fe052- (tag: build-1.4.0-dev-6081) JVM_IR: repair super calls to methods of Any (vor 4 Tagen) <Georgy Bronnikov> *4d1b5b84f8- (tag: build-1.4.0-dev-6080) AddMissingClassKeywordIntention: use 'KotlinBundle.lazyMessage' (vor 4 Tagen) <Toshiaki Kameyama> *e2ee3d1d18- (tag: build-1.4.0-dev-6078) Unmute passing tests (vor 4 Tagen) <Dmitry Petrov> *74791495d7- JVM IR: Box inline classes in covariant overrides (KT-30419) (vor 4 Tagen) <Steven Schäfer> *52524235f7- (tag: build-1.4.0-dev-6076) i18n: add missing `codestyle.name.kotlin` property (vor 4 Tagen) <Dmitry Gridin> *77b6881032- (tag: build-1.4.0-dev-6071) Replace 'when' with 'if': do not suggest if 'when' is used as expression and it has no 'else' branch (vor 5 Tagen) <Toshiaki Kameyama> *893021f22b- (tag: build-1.4.0-dev-6067) Introduce runningFold and runningReduce operations (vor 5 Tagen) <Ilya Gorbunov> *37277d71de- (tag: build-1.4.0-dev-6066) Condition of 'if' expression is constant: remove `else` keyword if needed (vor 5 Tagen) <Toshiaki Kameyama> *1b0fac4a67- (tag: build-1.4.0-dev-6065) Add quick fix for PROPERTY_TYPE_MISMATCH_ON_OVERRIDE on constructor parameter (vor 5 Tagen) <Toshiaki Kameyama> *e2a7170b2f- (tag: build-1.4.0-dev-6054) Fix false positive "Collection count can be converted to size" with `Iterable` (vor 5 Tagen) <Toshiaki Kameyama> *d906c814cf- [FIR] Fix lookup tag creation for values() & valueOf() (vor 5 Tagen) <Mikhail Glukhikh> *ea1e16e309- (tag: build-1.4.0-dev-6052) Delegate properties to property references (vor 5 Tagen) <Ilya Gorbunov> *81798282b9- (tag: build-1.4.0-dev-6042) JS: support explicit SAM constructor invocation (vor 5 Tagen) <Anton Bannykh> *0ee32ea9c5- (tag: build-1.4.0-dev-6041) Added 1.3.71, 1.3.72 changelogs (vor 5 Tagen) <Lilia> *7ea4ac9e9a- (tag: build-1.4.0-dev-6040) [FIR] Regenerate FIR tree (vor 5 Tagen) <Georgy Bronnikov> *1de0fbfc3a- (tag: build-1.4.0-dev-6039) Add delegation tests for new default modes (vor 5 Tagen) <Mikhail Bogdanov> *4822d1e2ae- Enable d8 by default (vor 5 Tagen) <Mikhail Bogdanov> *dda2f53993- Support JVM 8 target on Android (vor 5 Tagen) <Mikhail Bogdanov> *284533f72b- (tag: build-1.4.0-dev-6037) IR: put resolution of unbound type parameter symbols behind a language version flag (vor 5 Tagen) <Georgy Bronnikov> *a1a2da3c0f- (tag: build-1.4.0-dev-6036) Revert "IR: put resolution of unbound type parameter symbols behind a language version flag" (vor 5 Tagen) <Georgy Bronnikov> *b4c62cdb52- (tag: build-1.4.0-dev-6035) Introduce "Add missing 'class' keyword" intention (vor 5 Tagen) <Toshiaki Kameyama> *9634e6fba3- (tag: build-1.4.0-dev-6034) IR: put resolution of unbound type parameter symbols behind a language version flag (vor 5 Tagen) <Georgy Bronnikov> *7ec4c9990a- (tag: build-1.4.0-dev-6033) [JVM] Improve debug step behavior around lambdas. (vor 5 Tagen) <Kristoffer Andersen> *fc7d667282- Psi2Ir: Bind unbound type parameters (vor 5 Tagen) <Steven Schäfer> *8c4fdd1edd- (tag: build-1.4.0-dev-6030) Unused import: do not report for 'invoke' function import that is used from same file (vor 5 Tagen) <Toshiaki Kameyama> *8aa120576b- (tag: build-1.4.0-dev-6029) Add quick fix for TOPLEVEL_TYPEALIASES_ONLY (vor 5 Tagen) <Toshiaki Kameyama> *cd880c779b- (tag: build-1.4.0-dev-6023) Remove `DisplayPriority` from `KotlinLanguageCodeStyleSettingsProvider` (vor 5 Tagen) <Dmitry Gridin> *65e06c86cc- (tag: build-1.4.0-dev-6018) Revert dist_root removed by mistake (vor 5 Tagen) <Yan Zhulanow> *10b9ff1066- (tag: build-1.4.0-dev-6014) Minor. Rollback test data change (vor 5 Tagen) <Mikhail Bogdanov> *a1e0e8b0e7- (tag: build-1.4.0-dev-6010) [FIR] Handle receiver types of extension methods when computing maximally specific types. (vor 5 Tagen) <Juan Chen> *f7dc06a772- (tag: build-1.4.0-dev-6009) [FIR] Approximate integer constants in lhs of callable reference (vor 5 Tagen) <Dmitriy Novozhilov> *c71f9d9640- [FIR] Use argument mapping from resolved call for contract argument mapping (vor 5 Tagen) <Dmitriy Novozhilov> *5b660d2457- [FIR] Ignore `FirStubStatement` in visit/transform consistency test (vor 5 Tagen) <Dmitriy Novozhilov> *2e4183db7d- [FIR-TEST] Update testdata of old FE contracts tests (vor 5 Tagen) <Dmitriy Novozhilov> *fea7872359- [FIR] Add contracts resolve for local classes (vor 5 Tagen) <Dmitriy Novozhilov> *cecbf53ee8- [FIR] Add processing of FirStubStatement to Fir2IrVisitor (vor 5 Tagen) <Dmitriy Novozhilov> *67c8030706- [FIR] Update resolve phase for all declaration in contracts stage (vor 5 Tagen) <Dmitriy Novozhilov> *d718b596bc- [FIR] Add transform declaration and companion to regular class (vor 5 Tagen) <Dmitriy Novozhilov> *a01bbbb0a0- [FIR] Add processing conditional contracts on property accessors (vor 5 Tagen) <Dmitriy Novozhilov> *1074e4bf29- [FIR] Add contracts resolve for property accessors (vor 5 Tagen) <Dmitriy Novozhilov> *d808f3e4fb- [FIR-TEST] Add tests for contracts resolve (vor 5 Tagen) <Dmitriy Novozhilov> *17c6122987- [FIR] Make `STATUS` resolve phase as required for body resolve (vor 5 Tagen) <Dmitriy Novozhilov> *452fb3e723- [FIR] Add stage for resolve contract desription (vor 5 Tagen) <Dmitriy Novozhilov> *9b903b5e13- [FIR] Process implicit receivers in calls with contract (vor 5 Tagen) <Dmitriy Novozhilov> *300c3c30fb- [FIR] Fix erasing existing data flow statements (vor 5 Tagen) <Dmitriy Novozhilov> *3c33ee9c68- [FIR-TEST] Move existing contract tests to `fromLibrary` directory (vor 5 Tagen) <Dmitriy Novozhilov> *ba35c43fe9- [FIR] Add forgotten `kind` initialization in ConeConditionalEffectToFirVisitor (vor 5 Tagen) <Dmitriy Novozhilov> *cef6cd765c- [FIR] Make ConeEffectDeclaration an abstract class (vor 5 Tagen) <Dmitriy Novozhilov> *258bc62bac- [FIR] Replace deprecation on transformer adapters with opt in annotation (vor 5 Tagen) <Dmitriy Novozhilov> *eef9b87047- [FIR] List for unresolved effects to resolved contract node (vor 5 Tagen) <Dmitriy Novozhilov> *4e1bf5f1e2- [FIR] Add extracting contracts in raw fir builder and light tree builder (vor 5 Tagen) <Dmitriy Novozhilov> *25cee12421- [FIR] Add contracts to FIR renderer (vor 5 Tagen) <Dmitriy Novozhilov> *50627f2c83- [FIR] Add contract renderer (vor 5 Tagen) <Dmitriy Novozhilov> *a89e0123c7- [FIR] Add fir node for raw contract description (vor 5 Tagen) <Dmitriy Novozhilov> *ba272101f2- Check for ESReceiver for contracts with `is` check (vor 5 Tagen) <Dmitriy Novozhilov> *9b3c3ae4ba- (tag: build-1.4.0-dev-6008) "Replace 'invoke' with direct call" intention: do not add unnecessary parenthesis (vor 5 Tagen) <Toshiaki Kameyama> *2f29b38b19- (tag: build-1.4.0-dev-6007) "Replace 'invoke' with direct call" intention: fix false positive when function is not operator (vor 5 Tagen) <Toshiaki Kameyama> *e0da30fb13- (tag: build-1.4.0-dev-6005) Remove JavaResolverUtils.java as its usages were moved to core (vor 5 Tagen) <Mikhail Zarechenskiy> *9607739d30- Introduce synthetic scope for constructors of `fun` interfaces (vor 5 Tagen) <Mikhail Zarechenskiy> *e9e21caeaf- Refactoring: move utils to create & initialize SAM constructors to core (vor 5 Tagen) <Mikhail Zarechenskiy> *04223f5711- Extract Java specific check from common method out (vor 5 Tagen) <Mikhail Zarechenskiy> *cf90fe81ac- Move Sam(TypeAlias)ConstructorDescriptor to core (vor 5 Tagen) <Mikhail Zarechenskiy> *54497d11ac- Move SyntheticMemberDescriptor.kt to core (vor 5 Tagen) <Mikhail Zarechenskiy> *6d3dccab83- (tag: build-1.4.0-dev-5994) [FIR] Fix obsolete transforms & visit consistency (vor 6 Tagen) <simon.ogorodnik> *738e2f813c- (tag: build-1.4.0-dev-5983) Uast: expression type for assigning arrays (KT-34187) (vor 6 Tagen) <Nicolay Mitropolsky> *9674643254- Uast: support for `UYieldExpression` (KT-35574) (vor 6 Tagen) <Nicolay Mitropolsky> *0a2429c6f6- (tag: build-1.4.0-dev-5979, origin/rr/ddol/work2) Minor. Remove redundant import (vor 6 Tagen) <Dmitriy Dolovov> *c3e20bffd7- Fix launching Gradle import test from master (vor 6 Tagen) <Dmitriy Dolovov> *c35420eaf6- Minor. Add comments (vor 6 Tagen) <Dmitriy Dolovov> *7be9a2ef17- HMPP. Avoid leaking platform-specific dependencies into common libraries (vor 6 Tagen) <Dmitriy Dolovov> *b67a48f220- HMPP. Rewrite LibraryDependenciesCache on using LibraryInfo/SdkInfo (vor 6 Tagen) <Dmitriy Dolovov> *6d0e73191c- HMPP: Fix detection of NativePlatform in CompositeResolverForModuleFactory (vor 6 Tagen) <Dmitriy Dolovov> *757d77600a- HMPP: Evaluate exact TargetPlatform for each K/N KLIB library (vor 6 Tagen) <Dmitriy Dolovov> *90398fd087- Minor. Specify explicit property types (vor 6 Tagen) <Dmitriy Dolovov> *753ef971f9- HMPP: Fix serialization of TargetPlatform in tests (vor 6 Tagen) <Dmitriy Dolovov> *fee6a752e0- HMPP: Fix serialization of TargetPlatform in Kotlin facet (vor 6 Tagen) <Dmitriy Dolovov> *adc457548b- Minor. Formatted (vor 6 Tagen) <Dmitriy Dolovov> *e3e1c2cb3b- HMPP: Fix detection of PlatformDependentAnalyzerServices for TargetPlatform (vor 6 Tagen) <Dmitriy Dolovov> *76b0e7994b- JVM, JS: Use faster checks in IdePlatformKind.supportsTargetPlatform() (vor 6 Tagen) <Dmitriy Dolovov> *0f60b5a71e- HMPP: Avoid false positive detection of "common native" as "common" (vor 6 Tagen) <Dmitriy Dolovov> *b108b0f8c4- HMPP. Fix tests after parameterization of NativePlatform (vor 6 Tagen) <Dmitriy Dolovov> *8d2e999776- HMPP: Parameterize NativePlatform with KonanTarget (vor 6 Tagen) <Dmitriy Dolovov> *1b281d623b- HMPP: Propagate K/N flavor into each imported K/N module (vor 6 Tagen) <Dmitriy Dolovov> *585177bcf7- (tag: build-1.4.0-dev-5976) Formatter: fix indent for multiline expression in string template (vor 6 Tagen) <Dmitry Gridin> *decbe99391- (tag: build-1.4.0-dev-5975, origin/jpsFixes) Merge KotlinCodeStyleSettingsProvider to KotlinLanguageCodeStyleSettingsProvider (vor 6 Tagen) <Dmitry Gridin> *d04f63b7ab- Make settings searchable (vor 6 Tagen) <Dmitry Gridin> *fbac2f5ea3- (tag: build-1.4.0-dev-5974) [Gradle, JS] Make inputFileProperty optional (vor 6 Tagen) <Ilya Goncharov> *4ecedf2e3b- (tag: build-1.4.0-dev-5969) Get rid of KTUsefulTestCase, improve stability of the tests (vor 6 Tagen) <Ilya Chernikov> *850681f5e3- (tag: build-1.4.0-dev-5967) Rollback JVM 8 target support on Android (vor 6 Tagen) <Mikhail Bogdanov> *dec93c8b49- (tag: build-1.4.0-dev-5966) Add ANDROID target (vor 6 Tagen) <Mikhail Bogdanov> *9d68db1668- Switch usages android build tools from 23.0.1 to 28.0.3 (vor 6 Tagen) <Mikhail Bogdanov> *b0e72f90f1- Android tests: add reflect flavor (vor 6 Tagen) <Mikhail Bogdanov> *115cf4666e- Get rid of CodegenTestCase from CodegenTestsOnAndroidGenerator superclass (vor 6 Tagen) <Mikhail Bogdanov> *b0483a67c2- (tag: build-1.4.0-dev-5963) Perform tryLock-and-checkCanceled on waiting lock in LockBasedStorageManager (vor 6 Tagen) <Vladimir Dolzhenko> *6fae29bcc0- Add more checkCanceled to PsiFacade.findClass (vor 6 Tagen) <Vladimir Dolzhenko> *ed56aa3e0d- (tag: build-1.4.0-dev-5952) NPE fix in StackFrameInterceptor (vor 6 Tagen) <Vladimir Ilmov> *08b91da6db- (tag: build-1.4.0-dev-5947) FIR: fix body generation for data class's copy method (vor 6 Tagen) <Jinseong Jeon> *948f9debdc- FIR: refactor member generations for data class (vor 6 Tagen) <Jinseong Jeon> *d4cbfcb79e- [FIR] Promote numeric types during comparisons (vor 6 Tagen) <Mark Punzalan>
Kotlin/Native
Kotlin/Native is an LLVM backend for the Kotlin compiler, runtime implementation, and native code generation facility using the LLVM toolchain.
Kotlin/Native is primarily designed to allow compilation for platforms where virtual machines are not desirable or possible (such as iOS or embedded targets), or where a developer is willing to produce a reasonably-sized self-contained program without the need to ship an additional execution runtime.
Prerequisites:
- install JDK for your platform, instead of JRE. The build requires
tools.jar, which is not included in JRE; - on macOS install Xcode 11 (Xcode 11.4 is required to compile Kotlin/Native from sources)
- on Fedora 26+
yum install ncurses-compat-libsmay be needed - on recent Ubuntu
apt install libncurses5is needed
To compile from sources use following steps:
First, download dependencies:
./gradlew dependencies:update
Then, build the compiler and libraries:
./gradlew bundle
To build with experimental targets support compile with -Porg.jetbrains.kotlin.native.experimentalTargets.
The build can take about an hour on a Macbook Pro. To run a shorter build with only the host compiler and libraries, run:
./gradlew dist distPlatformLibs
To include Kotlin compiler in composite build and build
against it, use the kotlinProjectPath project property:
./gradlew dist -PkotlinProjectPath=path/to/kotlin/project
It's possible to include in a composite build both Kotlin compiler and Kotlin/Native Shared simultaneously.
After that, you should be able to compile your programs like this:
export PATH=./dist/bin:$PATH
kotlinc hello.kt -o hello
For an optimized compilation, use -opt:
kotlinc hello.kt -o hello -opt
For tests, use:
./gradlew backend.native:tests:run
To generate interoperability stubs, create a library definition file
(refer to samples/tetris/.../sdl.def), and run the cinterop tool like this:
cinterop -def lib.def
See the provided samples and INTEROP.md for more details.
The Interop tool generates a library in the .klib library format. See LIBRARIES.md
for more details on this file format.