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
Nikolay Krasko
5cecdddcb6
Add run configuration for downloading br146
2016-09-20 15:10:34 +03:00
Alexey Tsvetkov
522520b722
Update link to jarjar
2016-08-26 05:07:53 +03:00
Dmitry Jemerov
623673c3df
fix ASM 5 src download URL (file was removed in IDEA commit ed9c9fc)
2016-07-07 12:49:00 +02:00
Alexander Udalov
4c8e8b099a
Update protobuf from 2.5.0 to 2.6.1
2016-06-27 20:14:00 +03:00
Alexey Andreev
848d7f92fa
KT-3008 Implement AMD, CommonJS and UMD wrappers. Compile stdlib and builtins modules into separate JS files and wrap them in UMD.
2016-06-27 15:33:24 +03:00
Alexander Udalov
3fa87fe4de
Move get-protobuf later in update_dependencies
...
It invokes kotlinc, so should happen after the bootstrap compiler is downloaded
2016-06-17 17:23:19 +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
Alexander Udalov
952a85414b
Rename packages in protobuf-java binaries and sources
...
#KT-12581 In Progress
2016-06-14 14:17:22 +03:00