Commit Graph

692 Commits

Author SHA1 Message Date
Alexander Udalov 63cefea6e9 Rename jet -> kotlin in frontend
org.jetbrains.jet -> org.jetbrains.kotlin

Also rename package slicedmap to slicedMap
2015-01-11 15:20:51 +03:00
Alexander Udalov 64c6055030 Rename jet -> kotlin in frontend, descriptors: resolve
org.jetbrains.jet.lang.resolve -> org.jetbrains.kotlin.resolve
2015-01-11 05:09:01 +03:00
Alexander Udalov 634ed0b652 Rename jet -> kotlin in frontend: lazy resolve
org.jetbrains.jet.lang.resolve.lazy -> org.jetbrains.kotlin.resolve.lazy
2015-01-11 05:09:00 +03:00
Alexander Udalov 8affc31303 Rename jet -> kotlin in descriptor.loader.java, frontend.java
Split package 'lang/resolve/java' into two semantically different packages:
'resolve/jvm' and 'load/java'. Also rename 'lang/resolve/kotlin' to
'load/kotlin'
2015-01-11 05:08:57 +03:00
Alexander Udalov 88670eb78a Rename jet -> kotlin in frontend: diagnostics
org.jetbrains.jet.lang.diagnostics -> org.jetbrains.kotlin.diagnostics
2015-01-10 17:38:07 +03:00
Alexander Udalov fe67b374e7 Rename jet -> kotlin in frontend: parsing
org.jetbrains.jet.lang.parsing -> org.jetbrains.kotlin.parsing
2015-01-10 16:06:09 +03:00
Alexander Udalov 524fdc2527 Rename jet -> kotlin in descriptors, types, names
org.jetbrains.jet.lang.descriptors -> org.jetbrains.kotlin.descriptors
org.jetbrains.jet.lang.types -> org.jetbrains.kotlin.types
org.jetbrains.jet.lang.resolve.name -> org.jetbrains.kotlin.name
2015-01-10 15:52:20 +03:00
Alexander Udalov e88f89d1c6 Rename jet -> kotlin in descriptors: built-ins
org.jetbrains.jet.lang.types.lang -> org.jetbrains.kotlin.builtins
2015-01-10 15:52:16 +03:00
Alexander Udalov d384e50a97 Rename jet -> kotlin in frontend: PSI
org.jetbrains.jet.lang.psi -> org.jetbrains.kotlin.psi
2015-01-10 15:52:14 +03:00
Alexander Udalov de6e8a7493 Rename package jet -> kotlin in backend
org.jetbrains.jet.codegen -> org.jetbrains.kotlin.codegen
2015-01-08 23:32:09 +03:00
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
Alexander Udalov 759b5bd85c Move *OutputFile to package org.jetbrains.kotlin.backend.common.output 2015-01-06 05:15:13 +03:00
Alexander Udalov 2e0fab3f98 Rename package jet -> kotlin in light-classes
org.jetbrains.jet.asJava -> org.jetbrains.kotlin.asJava

Also fix some minor warnings and deprecated API usage
2015-01-06 05:15:11 +03:00
Alexander Udalov 03e3969544 Rename package k2js -> kotlin.js in js.frontend
org.jetbrains.k2js -> org.jetbrains.kotlin.js
2015-01-05 05:10:33 +03:00
Alexander Udalov 2bc3aa2199 Rename package k2js -> kotlin.js in js.translator
org.jetbrains.k2js -> org.jetbrains.kotlin.js
2015-01-05 04:19:06 +03:00
Alexander Udalov fcbfc53dc8 Rename package jet -> kotlin in injectors
org.jetbrains.jet.di -> org.jetbrains.kotlin.di
2015-01-03 00:19:02 +03:00
Zalim Bashorov 41dff74037 resolve/*Diagnostics* -> resolve/diagnostics/*Diagnostics*
And remove unused TraceUtil.java
2014-12-29 21:37:18 +03:00
Alexander Udalov 5e261e344e Move ExitCode to cli-common, simplify KotlinCompilerRunner
- check exit code's toString instead of integer code: more readable and stable
  this way
- call newInstance() on arguments' classes instead of pointless constants
2014-12-29 18:19:20 +03:00
Alexander Udalov 45c6d486fc Refactor CompilerRunnerUtil
Eliminate code duplication, add NotNull, make everything private, etc
2014-12-29 18:17:22 +03:00
Alexander Udalov b8328f9190 Rename MessageRenderer constants 2014-12-29 18:17:21 +03:00
Alexander Udalov 14dab749a2 Use reflection in Ant task to invoke compiler
This will allow a more controlled management of the runtime that the compiler
is linked against. Incidentally this also allows Ant task to use any of
compiler arguments via <compilerarg> because Ant task is now just a facade for
the CLI compiler.

The test "wrongArguments" is deleted because the full compiler usage is now
printed out on a wrong <compilerarg>, and this will become inconvenient to
update with each change in compiler arguments

 #KT-5618 Fixed
2014-12-29 18:00:18 +03:00
Pavel V. Talanov 15b2977b85 Refactor: refine API of LightClassGenerationSupport
Move some specific code to IDELightClassGenerationSupport
2014-12-21 14:23:28 +03:00
Alexey Tsvetkov 669cbb203b Reload rendrer when application changes (for tests) 2014-12-15 19:16:22 +03:00
Alexey Tsvetkov 46326fe5ac JS backend: report backend diagnostics 2014-12-15 19:16:21 +03:00
Alexey Tsvetkov 3658698f4f JS backend: pass diagnostics to TranslationContext using config 2014-12-15 19:16:20 +03:00
Svetlana Isakova 5b4f10e698 Made vararg parameters have Array<out T> type
instead of simply Array<T>
  #KT-1638 Fixed
  #KT-2163 Fixed
  #KT-3213 Fixed
  #KT-4172 Fixed
  #KT-5534 Fixed
2014-12-12 23:08:28 +03:00
Michael Nedzelsky f8f7ea8998 JS backend: check libraries in cli compiler before translation 2014-12-12 03:04:17 +03:00
Michael Nedzelsky 44e7af7f65 K2JS: get rid of MetaInfServices 2014-12-12 03:03:37 +03:00
Michael Nedzelsky 103307432e update kotlin javascript stdlib if needed 2014-12-12 03:03:24 +03:00
Michael Nedzelsky 12ff5de013 K2JS: fix KT-5639 Exception in kotlin-js when directory is given instead of output file
#KT-5639 Fixed
2014-12-12 01:25:15 +03:00
Andrey Breslav db635c0e44 is<TYPE>() made static in KotlinBuiltIns 2014-12-03 15:39:10 +03:00
Zalim Bashorov 7539eb3dfc Fix build on windows: use forward-slash in path to config files, it's important for access to files inside jar/zip. 2014-12-01 15:27:39 +03:00
Zalim Bashorov e6b69e48d9 Minor: fix JetCoreEnvironment#(createForProduction, createForTests) call sites for JVM. 2014-12-01 15:27:33 +03:00
Zalim Bashorov 912727e5d2 Unify extension point and extension registration in plugin and cli 2014-12-01 15:27:33 +03:00
Nikolay Krasko e49d13dfac Refactoring: drop method, rename method in TopDownAnalyzerFacadeForJVM.java 2014-11-28 17:19:29 +03:00
Nikolay Krasko ce45108fe9 LTDA: Add addition scope provider component for lazy resolve and create additional injector for REPL 2014-11-28 17:18:47 +03:00
Nikolay Krasko 4342740195 Refactoring: move common code for ResolveSession init to method 2014-11-28 17:18:46 +03:00
Nikolay Krasko 8cfdcd319b LTDA: Add the temp ability to build with eager resolve
Compiler should be executed with -Dlazy.tda=false parameter

REPL won't work with this option
2014-11-28 17:18:45 +03:00
Nikolay Krasko 0fa001ed01 LTDA, Minor: method rename 2014-11-28 17:18:41 +03:00
Nikolay Krasko df115099a6 LTDA: Rename method for creating shared trace 2014-11-28 17:18:41 +03:00
Nikolay Krasko a42edb9c8f LTDA: Assert context was created for light class generation 2014-11-28 17:18:40 +03:00
Nikolay Krasko 571f3c8524 LTDA: Initialize project components with resolve session after injector construction is finished 2014-11-28 17:18:39 +03:00
Nikolay Krasko 602407cc9c LTDA: Fix REPL and make it work with lazy resolve 2014-11-28 17:18:38 +03:00
Nikolay Krasko 23c6498e1e LTDA: Injector with lazy TDA for JVM target
- REPL is broken
 - Tests for Kotlin - Java - Kotlin hierarchy may fail
2014-11-28 17:18:36 +03:00
Pavel V. Talanov bce399f5fd Rename: AnalyzeExhaust -> AnalysisResult 2014-11-21 15:56:05 +03:00
Michael Nedzelsky 505775218a JS backend: fix KT-6277 kotlinc-js: IllegalArgumentException when -output is a file name without directory prefix
#KT-6277 Fixed
2014-11-19 23:38:15 +03:00
Valentin Kipyatkov 5f5d2de5e0 Moved KindFilter and DescriptorKindExclude out of JetScope, moved constants as well and renamed them 2014-11-12 21:57:49 +03:00
Valentin Kipyatkov 95b3885aa5 Refactored filtering by descriptor kind so that no knowledge about SAM-constructors required in core 2014-11-12 21:25:02 +03:00
Valentin Kipyatkov 6f2da4930a Descriptor kind filter replaced with bit mask 2014-11-12 21:24:59 +03:00