Alexander Udalov
f37e2f173d
Rename package jet -> kotlin in util, util-runtime
...
org.jetbrains.jet.config -> org.jetbrains.kotlin.config
org.jetbrains.jet.utils -> org.jetbrains.kotlin.utils
Also move coreLib.kt to package 'org.jetbrains.kotlin.utils'
2015-01-08 23:32:08 +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
Michael Nedzelsky
eebb012b13
JS backend: maven: fix compiler mojo
2014-12-12 03:03:43 +03:00
Zalim Bashorov
adab0445de
K2JS: introduce "no-stdlb" parameter and use stdlib from compiler by default.
2014-11-07 16:30:52 +03:00
Zalim Bashorov
9e11b40fe1
Add the support suppressWarnings, verbose and version in build tools.
2014-10-29 23:09:07 +03:00
Zalim Bashorov
23fa0ba6ab
Refactoring kotlin-maven-plugin:
...
* cleanup KotlinCompileMojoBase moved JVM specific things to KotlinCompileMojo;
* add support noInline in JS.
2014-10-07 16:32:07 +04:00
Michael Nedzelsky
d1d722546e
JS backend: prepare long.js for use in translator
2014-09-28 19:51:43 +04:00
Evgeny Gerashchenko
487f381287
Minor. Renamed and cleaned CompilerServices -> Services.
2014-08-20 13:46:31 +04:00
Evgeny Gerashchenko
69c31c00db
Fixed gradle and maven plugins after changing compiler API.
2014-08-20 13:46:30 +04:00
Alexander Udalov
6da95e2cea
Maven plugin: support additional arguments, drop inline/optimize
2014-08-13 11:10:39 +04:00
Alexander Udalov
fbc8361211
Minor, fix style issues in kotlin-maven-plugin
2014-08-13 11:10:39 +04:00
Alexander Udalov
160cde09d6
CLI: Support "-X" advanced options, simplify some boolean options
2014-08-13 11:10:37 +04:00
Alexander Udalov
fd27518070
Fix build tool plugins after recent changes to CLI
2014-07-26 02:28:51 +04:00
Alexander Udalov
485cc906a4
Fix Maven build due to recent changes to CLI arguments
2014-07-24 20:04:47 +04:00
Denis Zharkov
0e683b0b99
Added "optimize" flag to settings everywhere
2014-07-15 21:34:32 +04:00
Alexander Udalov
d42598a935
Move default inline flag to JVM back-end
...
- other back-ends are likely to have its own value of this flag
- get rid of DEFAULT_INLINE_FLAG_FOR_TEST
- the main goal was to simplify the default GenerationState constructor, which
now always uses default inline flag value
2014-05-08 16:45:14 +04:00
Mikhael Bogdanov
ca4609dd2a
Support inline true/false options
2014-03-20 17:50:52 +04:00
Alexander Udalov
0dfacd8b20
Make KDoc generate documentation on red code
...
KDoc is not a compiler, so it should not care whether or not the code is valid.
Therefore suppress the compiler's exit code, errors and warnings in KDoc plugin
2014-03-17 19:09:08 +04:00
Mikhael Bogdanov
b1d76d6ab0
Maven inline option support
2014-03-17 17:28:46 +04:00
Zalim Bashorov
31a4d91122
CLI: drop CompilerArguments and unnecessary methods from *CompilerArguments classes
2013-10-16 17:39:49 +04:00
Zalim Bashorov
0901c98ff8
CLI: move *CompilerArguments classes to cli-common module.
2013-10-16 17:39:48 +04:00
Andrey Breslav
7662cbaeb4
Compilation fixed (after CompilerVersion was renamed to KotlinVersion)
2013-07-26 14:30:21 +04:00
Martin Lau
7761d7d646
Added scanning for annotations.xml entries within maven dependencies
2013-05-22 12:05:05 +10:00
Leonid Shalupov
bbb526476e
maven plugin: get jdk annotations from plugin's classpath
2013-03-30 15:42:44 +04:00
Leonid Shalupov
34d218fad0
k2js: fix debug logging
2013-02-24 18:11:46 +04:00
Leonid Shalupov
7b97e2535a
k2js: fix debug logging
2013-02-24 17:21:31 +04:00
Leonid Shalupov
632d12021f
maven-plugin: compiler messages to maven log
2013-02-22 17:57:58 +04:00
Leonid Shalupov
0a1303d118
build: no classes rename in jarjar
...
build: fixed proguard shrinking
2013-02-13 14:22:54 +04:00
Andrey Breslav
01a24c6334
Better debugging of arguments in Maven
2013-02-05 20:32:11 +04:00
Evgeny Gerashchenko
52b7ee6447
Happy new year 2013!
2013-01-28 18:58:08 +04:00
Leonid Shalupov
6778dda9db
maven: report Kotlin Compiler version as INFO
2012-12-14 17:36:02 +04:00
Leonid Shalupov
f9331407a5
reverting wrong pull request 148; to be discussed
2012-12-05 21:53:34 +04:00
Philippe Marschall
3a9ed81915
Skip Plugin Exceution for POM Projects
...
It's quite common to have a multi module project with a parent project
that has POM packaging. It would be quite convenient if the
kotlin-maven-plugin could be configured there instead of in each module.
Currently this is not possible because the plugin tries to execute on
POM projects with fails.
- skip execution on POM projects
2012-12-05 15:17:46 +01:00
James Strachan
0506708e70
include the maps.js standard JS file in the maven plugin (fixing up issues caused by the refactoring of kotlin_lib.js into 2 files)
2012-10-25 16:56:13 +01:00
James Strachan
c843d23416
allow the maven plugin to have its source directories to be configured on a per execution basis (e.g. so that you can have different directories for JS compilation as to JVM based compilation). Its a shame to require 2 fields for configuration; but tried all other permutations I could think of but could not figure out a cleaner way -better approaches welcome! :)
2012-10-25 10:57:31 +01:00
James Strachan
fdb755e2e7
update for KT-2765 so we can specify annotationPaths for kdoc too
2012-09-14 16:34:25 +01:00
James Strachan
3d66ebd0e1
added partial fix for KT-2765 so we can specify the paths to where annotations.xml files can be found
2012-09-14 15:04:09 +01:00
Leonid Shalupov
15b5ba5b51
KT-2694 simplify loop
2012-09-07 13:46:54 +04:00
Alexander Fedorov
a245861711
skip if sources don't exists
2012-08-28 17:25:42 +04:00
Evgeny Gerashchenko
8050b96f27
Fixed code outside main project which was broken after refactoring.
2012-07-07 23:07:20 +04:00
James Strachan
20da5c48ea
got the mvn k2js plugin working again & re-enabled the js building in the mvn build (apart from running the junit JS tests as some of them fail)
2012-07-05 11:43:35 +01:00
James Strachan
d950d19292
fixed up the maven plugin after Pavel's changes
2012-07-04 22:01:04 +01:00
Evgeny Gerashchenko
77df57c150
Replaced jdk-headers with jdk-annotations everywhere.
2012-07-03 13:36:58 +04:00
James Strachan
c09106fe68
fixed the JS maven plugin so it can generate a single JS file with all the required kotlin JS inside
2012-06-25 10:03:46 +01:00
James Strachan
3546a9ff54
added an integration test that compiles the JS unit tests and generates the QUnit test case
2012-06-14 15:32:57 +01:00
James Strachan
57ffb91514
fix possible NPE
2012-05-31 09:38:26 +01:00
James Strachan
2d4354af6c
fixed possible NPE
2012-05-31 09:32:03 +01:00
James Strachan
872f08303e
allow the JS maven plugin to copy the kotlin JS library file - or append it
2012-05-30 16:43:33 +01:00
James Strachan
e41f59779e
avoid mandatory properties for optional things on the plugin
2012-05-30 16:43:04 +01:00
James Strachan
4cff5f9759
modified the JS compiler so that it can have definitions and library sources specified or discovered on the classpath; so for example we can then discover the kotlin standard library kotlin that needs to be compiled; plus the JS library definitions (which map to the kotlin-lib.js file)
2012-05-30 15:51:08 +01:00