Commit Graph

676 Commits

Author SHA1 Message Date
Dmitry Petrov b5d81d8e31 Preparations to push to master branch.
Introduce tests-ir-jvm module (for IR-based JVM BE tests).
2016-10-18 09:15:19 +03:00
Dmitry Petrov 5ee2f87c4a Closure conversion: simple tests work. 2016-10-18 09:10:12 +03:00
Mikhail Glukhikh 779d4f7f3e Module compiler/ir/ir2cfg added 2016-10-18 09:09:45 +03:00
Michael Bogdanov 709bc08fbd Add IR->JVM output to bytecode tool window 2016-10-18 09:09:22 +03:00
Dmitry Petrov 00093ac901 Move IR tests to module 'compiler-tests'
(due to dependencies on classes from 'compiler-tests').

Minor: remove unused imports.
2016-10-18 09:09:13 +03:00
Dmitry Petrov ec2cfd2389 AbstractClosureAnnotator for IR. 2016-10-18 09:09:02 +03:00
Dmitry Petrov 6fbac2ed40 Minor: ir.backend.jvm -> backend.jvm 2016-10-18 09:08:38 +03:00
Dmitry Petrov 83c3bdd788 Lambda expressions (no closures yet). 2016-10-18 09:08:32 +03:00
Dmitry Petrov ad405f26fd IR: first smoke test 2016-10-18 09:06:54 +03:00
Zalim Bashorov 3c520a3ce3 JS backend: basic support for class literals.
Added:
* the ability to get KClass using class literals (`::class`);
* the ability to get KClass from JsClass and vice versa;
* the ability to get simpleName.

 #KT-13345 Fixed
2016-10-14 19:44:53 +03:00
Zalim Bashorov 0a0a05d211 Add tasks to download node.js (platform independently) and tasks to publish packages to npm; extract some common things to common.xml 2016-10-13 23:22:36 +03:00
Ilya Chernikov 09a3741eb9 Add missing script runtime jar to plugin's lib folder 2016-10-13 10:36:51 +02:00
Ilya Chernikov 846797ff61 Switch to templates in the separate script runtime 2016-10-12 15:38:52 +02:00
Ilya Chernikov 9617fc7d6b Add kotlin-daemon-client.jar to the lib folder of plugin artifact 2016-10-12 15:37:53 +02:00
Ilya Chernikov 5e5ebaa68b Create a script runtime jar with a copy of standard script template (renamed) 2016-10-10 11:24:53 +02:00
Yan Zhulanow e770b9ff60 Minor: add 'kapt' to dictionary
(cherry picked from commit 2f44b0b)
2016-10-07 16:28:26 +03:00
Alexey Tsvetkov c144191522 Minor, set Groovy indent to 4 spaces 2016-10-05 22:50:46 +03:00
Zalim Bashorov a07e80f5d9 Make IDEA run configuration compatible with IDEA 2016.3; minor auto changes in run configurations. 2016-09-30 17:58:30 +03:00
Nikolay Krasko b7b6d319f1 Remove another place with mentioning bare plugin 2016-09-21 15:54:40 +03:00
Valentin Kipyatkov fcce1e3838 KT-12852 Support breadcrumbs for Kotlin
#KT-12852 Fixed
2016-09-13 17:46:16 +03:00
Nikolay Krasko 9a54aa99fa Drop kotlin-bare-plugin (KT-11859) 2016-09-02 13:41:24 +03:00
Yan Zhulanow 0181dd000d Kapt: Implement Annotation Processing plugin in Kotlin (KT-13499)
(cherry picked from commit 32c461a)
2016-08-29 16:31:16 +03:00
Ilya Gorbunov 9e238d26f2 Exclude builtins module from idea project build 2016-08-17 12:40:50 +03:00
Valentin Kipyatkov 8c498af3d8 Checking that smart casts will not be broken by conversion 2016-08-16 17:37:56 +03:00
Valentin Kipyatkov 12b1a99a6a Initial implementation of loop-to-call-chain intention 2016-08-16 17:37:55 +03:00
Nikolay Krasko c137b0d740 Decrease xmx in tests 2016-08-05 16:46:23 +03:00
Nikolay Krasko 071285fad7 Refactoring: additional changes in smap functions and KotlinExceptionFilter 2016-07-28 15:33:43 +03:00
Dmitry Jemerov 5224ad7ff2 to ensure that JNA uses the DLL version from the jar and not an incompatible version that happens to be available on the machine running the tests, run tests with -Djna.nosys option 2016-07-18 16:54:39 +02:00
Dmitry Jemerov e66e292052 add alternate path to common.jar dependency to work around the fact that it's no longer shipped in plugins/android/lib since AS 2.2 preview 2016-07-13 13:41:05 +02:00
Michael Bogdanov 476c1ec264 Compile android tests against jdk 6 2016-06-29 12:14:01 +03:00
Alexander Udalov 4c8e8b099a Update protobuf from 2.5.0 to 2.6.1 2016-06-27 20:14:00 +03:00
Denis Zharkov 72eb87f5d0 Support inline suspend functions
A lot of additional work was required to support them:
- Suspension points are being identified by two markers
  instead of one pointing to suspend function call
- Approach with replacing return type of suspend function does not work anymore.
  So we decode suspension return type as an argument for begin marker
- It became necessary to perform variables liveness analysis
  (see comment in org.jetbrains.kotlin.codegen.coroutines.CoroutineTransformerMethodVisitor.spillVariables)
2016-06-19 12:50:54 +03:00
Nikolay Krasko 5e7d007e75 Build output parser in separate module under 1.6 (KT-12159)
KotlinOutputParser accessed from gradle execution environment that can be started under Java 1.6.

 #KT-12159 Fixed
2016-06-14 20:58:07 +03:00
Alexander Udalov 7e38b93d80 Use protobuf with renamed packages, pack to IDEA plugin
Update GenerateProtoBuf.kt to also regexp-replace com.google.protobuf with
org.jetbrains.kotlin.protobuf in generated Java sources

 #KT-12581 Fixed
2016-06-14 14:17:22 +03:00
Denis Zharkov e97376bb2c Introduce coroutine-related API into built-ins 2016-06-08 18:53:16 +03:00
Alexey Sedunov 566ed0112f Rename: Fixed in-place rename of Kotlin expression referring Java declaration
#KT-9157 Fixed
2016-06-02 15:28:14 +03:00
Nikolay Krasko 8b06d919b4 Restore packing plugin-api module output to plugin 2016-05-20 19:40:07 +03:00
Dmitry Jemerov fd78424056 remove duplicate source root; update testdata according to the appearance of decompiler in dependencies 2016-05-17 19:53:47 +02:00
Dmitry Jemerov 1653f9f480 add "Decompile" button to Kotlin Bytecode toolwindow 2016-05-16 16:03:01 +02:00
Valentin Kipyatkov b0e6bf3965 Deleted inspection profile 2016-04-29 17:06:28 +03:00
Valentin Kipyatkov b551886889 Code cleanup: removed redundant semicolons 2016-04-29 11:26:25 +03:00
Sergey Mashkov fc197cd616 Maven: extract maven support to the separate module 2016-04-27 19:40:54 +03:00
Michael Bogdanov 18f90a331c Run android test configuration with java 8 2016-04-25 14:33:21 +03:00
Nikolay Krasko 5f7f46ff6c Remove MaxPermSize parameter 2016-04-22 14:17:52 +03:00
Nikolay Krasko 1baed30ef6 Remove outdated plugin configuration
The idea was to run idea with JRE 1.7 instead of 1.6, but now main IDEA run configuration executes under JRE 1.8.
2016-04-19 21:27:59 +03:00
Mikhail Zarechenskiy f773966458 Create artifact with 'formatter' module output to share it with Eclipse plugin 2016-04-15 18:15:13 +03:00
Mikhail Zarechenskiy 37e0b71584 Split KotlinBlock on two clases to share independent logic about
formatting  between Idea and Eclipse

 Also make 'formatter' module depend on fewer dependencies
2016-04-15 18:15:13 +03:00
Mikhail Zarechenskiy a7c397fe84 Create 'formatter' module
Purpose of this module is to extract common code  about formatting and reuse it in Eclipse
2016-04-15 18:15:13 +03:00
Alexander Udalov 37d612d346 Update cli-parser 1.1.1 -> 1.1.2 2016-04-12 20:03:51 +03:00
Alexey Sedunov a818d4714e Misc: Extract kotlin-ultimate project 2016-04-09 21:13:01 +03:00