Dmitry Jemerov
c5d3673b6b
change the ID of the language from "jet" to "kotlin"; rename JetLanguage to KotlinLanguage
2015-10-06 16:14:07 +02:00
Pavel V. Talanov
b79881848f
jvm-backend, cli: Replace some usages of KotlinBuiltIns.getInstance() by JvmPlatform.builtIns
2015-10-01 17:53:10 +03:00
Alexander Udalov
34d14939f9
Fix build after change in property accessor names
2015-10-01 02:14:25 +03:00
Valentin Kipyatkov
5afa91d4ec
Restored back temporarily renamed properties
2015-09-30 22:50:27 +03:00
Dmitry Petrov
3dfe9951ef
Incremental compilation support for multifile classes.
2015-09-30 09:56:05 +03:00
Valentin Kipyatkov
98da621ab3
Temporary rename of properties starting with "is" and used from java code (will revert back after changing accessor naming policy)
2015-09-29 18:32:23 +03:00
Stanislav Erokhin
fd503d0367
Minor. Replaced TYPE_RESOLUTION_SCOPE to LEXICAL_SCOPE
2015-09-29 13:33:55 +03:00
Michael Nedzelsky
0035bbba7c
fix check for internal from another module in imports and file level annotations
2015-09-27 20:37:41 +03:00
Yan Zhulanow
b73f91d16b
Fix "unresolved widget fqname" bug in Gradle
2015-09-25 20:47:54 +03:00
Alexey Tsvetkov
68437175f6
Enable disabling incremental compilation for tests
2015-09-25 20:11:57 +03:00
Michael Nedzelsky
15edbbb60c
move service declaration to cli
2015-09-25 18:10:58 +03:00
Michael Nedzelsky
b8ab8bcfca
check for access to internal elements from another module in jps-plugin
...
hack for access from tests to internal declarations in production code
fix AbstractCompileKotlinAgainstKotinTest: add information about output directory in order to correct check for internal visibility.
2015-09-25 14:02:29 +03:00
Dmitry Kovanikov
87969f1660
Minor: change repl.ideMode property name to kotlin.repl.ideMode
2015-09-22 21:11:55 +03:00
Dmitry Kovanikov
bfe01cccea
Repl: fix bug in handling multiline commands
2015-09-22 21:11:54 +03:00
Pavel V. Talanov
6282a16013
Minor: remove duplicate registering of module name
2015-09-21 14:41:38 +03:00
Dmitry Kovanikov
e4f44d7754
[cli-repl] Small refactoring
...
Add `flushHistory` to ReplCommandReader
Pass `WhatNextAfterOneLine` to `readLine`
2015-09-21 14:41:37 +03:00
Dmitry Kovanikov
cc2e320228
[cli-repl] More accurate line breaks handling
2015-09-21 14:41:36 +03:00
Dmitry Kovanikov
18304c7d7b
[cli-repl] Create wrapper for console reader
2015-09-21 14:41:35 +03:00
Dmitry Kovanikov
4aa5a90370
[cli-repl] Minor: change API to support ABI reporting
2015-09-21 14:41:35 +03:00
Pavel V. Talanov
8a944e099e
Minor: use proper utility in ReplErrorLogger
2015-09-21 14:41:33 +03:00
Dmitry Kovanikov
3f44fe5955
[cli-repl] Optimize System.in to send "change indicator" message only when readLine is called
2015-09-21 14:41:32 +03:00
Dmitry Kovanikov
9bf0c8453d
[cli-repl][ide-console] Add logging of internal errors
...
Rename `jvmStatic` to `@JvmStatic`
2015-09-21 14:41:30 +03:00
Dmitry Kovanikov
b4224bf9f3
[ide-console][cli-repl] Add more icons for readLine commands
2015-09-21 14:41:29 +03:00
Dmitry Kovanikov
42c0396308
[cli-repl] Support readLine() during repl session
2015-09-21 14:41:27 +03:00
Dmitry Kovanikov
48866fbeeb
[ide-console] Remove INCOMPLETE support from ide console
2015-09-21 14:41:25 +03:00
Dmitry Kovanikov
058b539004
[ide-console][cli-repl] Decorations for smooth console view
...
Icons on history commands
Linebreaks between `command-result` blocks
Exceptions stacktrace and icons
Bold invitation
2015-09-21 14:41:24 +03:00
Dmitry Kovanikov
a17363459a
[cli-repl][ide-console] Show runtime errors in IDE console
2015-09-21 14:41:19 +03:00
Dmitry Kovanikov
e23441907c
[cli-repl][ide-console] Correct escaping
2015-09-21 14:41:19 +03:00
Dmitry Kovanikov
cb5ff094bf
[ide-console] Highlight repl process output
...
Add icons on gutter
Send messages to process in xml
2015-09-21 14:41:17 +03:00
Dmitry Kovanikov
cb1756f5fa
[cli-repl] Error render and XML-interop with IDE console
2015-09-21 14:41:17 +03:00
Dmitry Kovanikov
a11f411f7d
Add kotlin console repl
2015-09-21 14:41:16 +03:00
Denis Zharkov
9c4564a5a6
Get rid of deprecated annotations and modifiers in project code
2015-09-18 09:34:27 +03:00
Zalim Bashorov
1b00eb3a17
Minor: report error instead of crash with exceptions when collect JetFiles to compile and remove obsolete (wrong now) code
...
#EA-61681 Obsolete
2015-09-17 15:45:16 +03:00
Alexander Udalov
2b269b2652
Improve ABI version error reporting in the compiler
...
- only report ABI errors if there's at least one other error
- append additional helpful information to the "unresolved reference" error
2015-09-16 01:44:27 +03:00
Alexander Udalov
dcd7464ae1
Fix NPE from REPL initialization
2015-09-14 13:23:17 +03:00
Yan Zhulanow
d0d846ccfc
Report if the widget has an invalid type
2015-09-11 04:30:04 +03:00
Pavel V. Talanov
01ca092f8b
Cli light classes for file facades
2015-09-09 21:21:59 +03:00
Pavel V. Talanov
e9c1df0cb9
J2K CliLightClassGenerationSupport: prettify
2015-09-09 21:21:51 +03:00
Pavel V. Talanov
0c884f10ee
J2K CliLightClassGenerationSupport: autoconvert
2015-09-09 21:21:42 +03:00
Pavel V. Talanov
8ded5e97ef
J2K CliLightClassGenerationSupport: rename file
2015-09-09 21:21:34 +03:00
Dmitry Petrov
a00346a141
MultifileClassCodegen
...
- initial implementation
- new Kotlin file kinds + stub builder
2015-09-09 19:08:17 +03:00
Alexander Udalov
4dc29bf0b2
Introduce 'kotlin' script for running programs
...
'kotlin' is to 'kotlinc' what 'java' is to 'javac'. However it will support
much more: running class by name, jar, scripts, expressions, REPL
2015-09-08 20:30:50 +03:00
Dmitry Petrov
c18f87f0c7
Cleanup after review
2015-09-08 13:02:56 +03:00
Dmitry Petrov
2519641b2b
JvmName annotation support, single-file facade case (just rename file facade class)
...
- initial implementation of JvmFileClassesProvider
- migrate some of PackagePartClassUtil usages to JvmFileClassesProvider (mostly in Codegen)
- placeholder ("no resolve") implementation for migration period and unclear cases
- tests
2015-09-08 13:02:56 +03:00
Alexey Tsvetkov
7e515e3820
Use simple data class TargetId instead of Module to get incremental cache
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov
b25dfabbcc
Fix modules tests
2015-09-08 05:49:32 +03:00
Alexey Tsvetkov
0988b21e9c
Use both target name and target type to get incremental cache from backend
2015-09-08 05:49:32 +03:00
Alexey Tsvetkov
5f05f0d678
Move Module to util method
2015-09-08 05:49:32 +03:00
Alexey Tsvetkov
e90ecc48c5
Save target type in Kotlin Builder
2015-09-08 05:49:32 +03:00
Michael Bogdanov
5805c42305
Write abi version to mapping file
2015-09-07 16:29:16 +03:00