Vyacheslav Gerasimov
bcefa68df0
Always checkout/checkin text files with lf endings
...
Different line endings on linux/windows prevents gradle from reusing
build cache since endings make task inputs completely different between
systems
2020-03-18 22:33:15 +03:00
Ilya Chernikov
a190ab260e
Load main-kts jar automatically from scripting plugin, if available
2019-12-02 16:46:52 +01:00
Alexander Udalov
cb6fb78bc3
JS: do not use "-no-stdlib" in non-relevant tests
...
Rename some Ant tests: "simple[...]" -> "simpleWithoutStdlib[...]" and
"simpleWithStdlib[...]" -> "simple[...]"
2019-04-25 14:42:43 +02:00
Mikhail Glukhikh
cb92009862
Fix maven build + ~50 compiler tests broken by UNUSED_PARAMETER in main
2018-10-26 19:51:20 +03:00
Ilya Gorbunov
16148a30c1
Remove or replace deprecated kotlin-runtime artifact usages
2018-08-30 14:57:54 +03:00
Alexander Udalov
1e6850f198
CLI: improve error message if libraries are not found in Kotlin home
...
Also support the '-kotlin-home' argument in kotlinc-js
#KT-18859 Fixed
2017-07-28 14:16:46 +03:00
Alexander Udalov
fcf44af294
Change how kotlinc and tools display their version
...
- Display the Kotlin version in kotlin-gradle-plugin. This is needed
because if "-version" is specified in compiler arguments, the "info"
level of the message printed by the compiler in CLICompiler prevents
it from being displayed by default (unless "--debug" is passed to
Gradle).
- Display the version of JRE the compiler is running on. This will be
helpful to diagnose Java 9 related issues in the future.
- In CLI, also display the executable name (kotlinc-jvm or kotlinc-js)
2017-04-28 20:49:54 +03:00
Alexander Udalov
d8d3bafbe9
Introduce "-Xreport-output-files" to report source-output mapping for JPS
...
This makes "-verbose" not required for JPS to run correctly and
therefore allows to print more useful debugging stuff in the compiler
and read them in CLI, for example. The output will also be more readable
because there'll be no "output" messages
2017-04-28 20:49:28 +03:00
Anton Bannykh
7287645937
JS: fix AMD module integration tests
2017-04-06 21:35:03 +03:00
Alexey Andreev
7192529733
JS: drop support of old library format
2017-02-10 21:04:50 +03:00
Alexander Udalov
464820458e
JS: rename "-library-files" argument to "-libraries" and change separator
...
Use the system separator (':' or ';') instead of commas
#KT-16083 Fixed
2017-01-31 16:26:35 +03:00
Zalim Bashorov
ca2930600a
KJS: introduce $kotlin_test_internal$ to expose some helper functions in the tests
2017-01-18 14:42:40 +03:00
Zalim Bashorov
d635d7859e
KJS: remove obsolete kotlin.modules
2017-01-18 14:40:48 +03:00
Alexey Andreev
a72ea64142
JS: fix translation of lambdas in public inline functions; fix AMD emulation for Ant test
2016-11-11 16:26:39 +03:00
Alexey Andreev
713a7efcdf
KT-3008 Add support of module kind to Ant task. Repair Ant JS tests
2016-06-27 15:33:28 +03:00
Stanislav Erokhin
88815c40cc
Minor. Fix testdata.
2015-09-24 14:07:51 +03:00
Alexander Udalov
54dfd626ab
CLI: improve diagnostic message format
...
- render the whole line where the error/warning points to, if any, and another
line with '^', like other compilers do
- lowercase diagnostic severity
- decapitalize the message if it doesn't start with a proper name
2015-06-15 15:42:41 +03:00
Michael Nedzelsky
bfc641caba
JS: fix tests for -meta-info
2015-05-21 02:30:57 +03:00
Michael Nedzelsky
3dce96e01c
JS: add tests for two libraries and js-file with two modules
2015-05-15 18:50:01 +03:00
Dmitry Jemerov
4bdf598bfe
compiler testdata: s/trait/interface
2015-05-12 19:43:17 +02:00
Michael Nedzelsky
6842c98285
JS: tests for KT-7357: extension functions from external KJS library couldn't be called in some cases
2015-04-15 17:00:06 +03:00
Michael Nedzelsky
2f7ebf677f
JS: allow js-file in library-files for cli compiler
2015-03-26 00:22:19 +03:00
Michael Nedzelsky
33cdf8c969
JS backend: add cli test for creating metadata and ant test for library with metadata
2015-03-18 09:39:04 +03:00
Alexander Udalov
8ca803775f
Rename package jet -> kotlin in cli, cli-common
...
org.jetbrains.jet.cli -> org.jetbrains.kotlin.cli
Also fix some minor warnings
2015-01-08 23:32:07 +03:00
Alexander Udalov
fad40ac11e
Rename package jet -> kotlin in ant
...
org.jetbrains.jet.buildtools.ant -> org.jetbrains.kotlin.ant
The old antlib.xml is kept for migration purposes
2015-01-03 15:16:17 +03:00
Alexander Udalov
5c9750ae6b
Remove module integration-tests, merge into compiler-tests
2015-01-03 12:28:54 +03:00