Commit Graph

381 Commits

Author SHA1 Message Date
Nikolay Krasko 4b2b5dec75 Download asm-all sources for idea 172 2017-08-11 12:17:39 +03:00
Vyacheslav Gerasimov bb7521a142 Build against UAST bundled in IDEA 2017-08-10 22:05:48 +03:00
Dmitry Jemerov 548e86285c Fix 'ant dist' build against 172 branch 2017-08-10 22:05:46 +03:00
Vyacheslav Gerasimov e8d2782089 Bump guava to 21.0 in update_dependencies.xml 2017-08-10 22:05:44 +03:00
Dmitry Jemerov b50d5fb998 Download IDEA from 172 branch 2017-08-10 22:05:44 +03:00
Yan Zhulanow edd8a0a64e Parcelable: Download Robolectric artifacts in order to use them in tests 2017-07-26 20:19:14 +03:00
Alexander Udalov f313001b2d Update to jline 3.3.1 and jansi 1.16
Note that the history file name was changed (.kotlin_history ->
.kotlinc_history) because the history is now stored in a different
(incompatible) format.

 #KT-11369 Fixed
2017-07-25 11:10:45 +03:00
Pavel V. Talanov 375b058a28 Add coroutines-jdk8 to project 2017-07-19 12:28:13 +03:00
Alexey Andreev 174068c462 Add JS source map parser and remapper
JS source map remapper takes parsed source maps
together with JS AST with correct JS positioning information
and converts the latter into Kotlin positioning information
2017-06-07 11:13:51 +03:00
Nikolay Krasko cb4c840d3b Remote old tasks for fetching continuous branches 2017-06-06 14:56:21 +03:00
Zalim Bashorov 794e65b5d6 KJS: remove Rhino library 2017-04-26 13:07:35 +03:00
Alexey Andreev 72898b378e Add and target to prepare running tests in node.js 2017-04-11 16:15:26 +03:00
Denis Zharkov 5e449fdc02 Optimize control-flow analysis by use of persistent maps
The case that it's worth to optimize is functions
with a lot of variables.

After debugging it's recovered that control-flow works nearly
O(n * m) where n is pseudocode size and m is a number of variables:
the algorithm performs O(n) copies of hashmap of size O(m)

Persistent maps should help because we don't need to perform a
copy of them, so the expected performance after the change is applied
is O(n log m)

We've tried pcollections and javaslang, and the latter one has demonstrated
better results

See results before and after optimizations
before:
https://github.com/dzharkov/kotlin-compiler-benchmarks/blob/3da7ba45a704969653d70b50995f730e968540d8/reports/benchmarks-many-vars-2017-03-14.txt

after with pcollections:
https://github.com/dzharkov/kotlin-compiler-benchmarks/blob/3da7ba45a704969653d70b50995f730e968540d8/reports/benchmarks-many-vars-persistent-optimizations-2017-03-17.txt

after with javaslang:
https://github.com/dzharkov/kotlin-compiler-benchmarks/blob/d22a871b175b291fb337b51ef6465ba70bbfd96c/reports/benchmarks-many-vars-javaslang-2017-04-07.txt
2017-04-11 11:26:11 +03:00
Ilya Gorbunov e8e8bec342 Drop unneeded steps from updateDependencies
Do not download closure compiler for ant,
do not rebuild markdown anymore,
do not build protobuf-lite.
2017-04-08 08:31:07 +03:00
Ilya Chernikov 32d0d7a4d5 Remove xerces from compiler uberjar, pack compiler with explicit jar names
xercesImpl was unnecessarily added to the compiler uberjar during migration
to the idea platform 171. This caused NCDFE about classes from org.w3c
package.
And to simplify application of this commit and to ensure that only required
jars are packed into the uberjar, the build.xml was altered to use
explicit list of the jars from the ideaSdk/core directory, rather than
a mask.

Fixes #KT-17143 and #KT-17157

(cherry picked from commit 5595bea)
2017-04-04 15:14:46 +02:00
Nikolay Krasko 110fc103de Run tests with JDK 1.8 and remove hack with downloading libraries from previous ide 2017-04-04 13:22:43 +03:00
Dmitry Jemerov b6a26aa732 Don't delete config and system directories when updating IDEA 2017-03-31 13:18:41 +02:00
Simon Ogorodnik 6cbeffe4b2 Add kotlinx.coroutines to IDEA dependencies
Add some cool coroutine-based stuff
Like CoroutineDispatcher for EDT
2017-03-30 18:48:37 +03:00
Alexander Udalov 6d69e37fe9 Update to ASM 6-alpha from intellij 171
Will be needed to read module-info files
2017-03-24 19:46:35 +03:00
Alexander Udalov c99b03d6b3 Remove unused library 'intellij-core-analysis' 2017-03-24 19:46:35 +03:00
Ilya Chernikov 1eab936618 minor: Bump rubygrapefruit native-platform version to 0.14 2017-03-21 16:30:49 +01:00
Dmitry Jemerov d80891e823 Add xercesImpl.jar to core classpath as it's now required for JDOMUtil 2017-03-20 18:46:13 +01:00
Dmitry Jemerov 12fc89f35d Update to 171.SNAPSHOT to pick up fix for IDEA-169570; fix compilation 2017-03-20 18:45:41 +01:00
Nikolay Krasko 95061885b0 Update after separating JPS builders into two modules 2017-03-20 18:45:35 +01:00
Dmitry Jemerov 99af2a809b Update IDEA to 171.2613.7 2017-03-20 18:45:14 +01:00
Alexey Sedunov 73b879ea89 Misc: Include cli-parser 1.1.2 sources into the project under different package and drop original library dependency
This would allow building the project with Kotlin JPS plugin on TeamCity where older library takes precendence due to appearing earlier in JPS classpath
2017-03-14 15:33:06 +03:00
Dmitry Jemerov 8c3936a0ee Update to UAST 0.12 2017-03-09 17:07:43 +01:00
Dmitry Jemerov 5c9f0df256 Download specific build of IJ 162, not a snapshot 2017-02-24 11:19:43 +01:00
Dmitry Jemerov 87187437ab Update UAST to version 1.0.11 2017-02-10 13:55:25 +01:00
Dmitry Jemerov 5dc178460e Update UAST to 1.0.10; move uast-kotlin tests to Kotlin project 2017-02-08 11:29:53 +01:00
Vyacheslav Gerasimov 10517c16ee Uast 1.0.9 2017-02-03 18:06:04 +03:00
Ilya Chernikov 3fcbc7bfa3 Rollback commit with native platform lib relocation - it seems breaks functionality on Windows
(cherry picked from commit d3ff19e)
2017-01-17 14:30:28 +01:00
Ilya Chernikov 1e68b2436f Relocate non-native/jni part of net.rubygrapefruit.platform in attempt to fix #KT-15570 2017-01-13 10:48:29 +01:00
Yan Zhulanow 7152c9c789 Use uast-common and uast-java as an external dependency 2016-12-30 18:41:45 +03:00
Mikhael Bogdanov 7721aa189f Update proguard to 5.3 version 2016-11-14 14:27:08 +01:00
Dmitry Jemerov 13a17b8bd7 Use 162.SNAPSHOT builds for IDEA to pick up fix for IDEA-162379 2016-11-11 18:14:54 +01:00
Mikhail Zarechenskiy c956428d96 Update JFlex to 1.7.0
Previous patched version (1.4.3) from Itellij was dropped. As we are using skeleton from Intellij, we should update our jflex version accordingly
2016-11-08 18:46:51 +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
Nikolay Krasko c70e9a6702 Create special parameter for branch version auto-increment
Can be used when bootstrap branch differs from the one used for auto-increment.

Auto-increment is guarded by branch parameter to avoid accidental enabling after branches auto-merge.

(cherry picked from commit 46791a3)
2016-10-05 18:49:38 +03:00
Dmitry Jemerov 53cd079333 download each IDEA version into separate directory 2016-09-28 14:42:38 +02:00
Dmitry Jemerov a1acd04365 access archive.apache.org via plain HTTP 2016-09-28 10:52:42 +02:00
Dmitry Jemerov 0daa2d872a go back to archive.apache.org for Ant downloads 2016-09-28 10:30:56 +02:00
Dmitry Jemerov e30c211b3e use plain HTTP for downloading AntForKotlin 2016-09-27 16:17:21 +02:00
Nikolay Krasko 5337fd05fb Update to 2016.2.3 2016-09-20 15:26:59 +03:00
Nikolay Krasko 4b9b3b07e7 Update to 162.1447.7 2016-09-20 15:26:53 +03:00
Denis Zharkov 1eeec18303 Update IDEA version to 2016.2 2016-09-20 15:26:38 +03:00
Nikolay Krasko cf63a77396 Update to idea 162.1024.1 2016-09-20 15:25:07 +03:00
Nikolay Krasko 22f3fe4784 Update to 162.844.8 2016-09-20 15:25:04 +03:00
Nikolay Krasko 6a11055389 Build against 162.646.4 2016-09-20 15:24:58 +03:00
Nikolay Krasko dc49f7f21b Update to idea 162 2016-09-20 15:10:54 +03:00