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
Michael Bogdanov
0de83b6f4c
Default module name extraction
2015-09-07 16:29:15 +03:00
Michael Bogdanov
2ca9b3ae0e
Code clean
2015-09-07 16:29:10 +03:00
Zalim Bashorov
8e411e7274
Minor: add incrementalCompilationComponents to GenerationState
2015-09-07 16:29:06 +03:00
Michael Bogdanov
f1c091e897
Serialize mappings via proto
2015-09-07 16:29:03 +03:00
Michael Bogdanov
672d25e7e0
PackagePartProvider refactoring
2015-09-07 16:29:02 +03:00
Michael Bogdanov
939f28f293
Jps support
2015-09-07 16:28:57 +03:00
Michael Bogdanov
c274ceffe8
PackageFacadeProvider refactoring
2015-09-07 16:28:55 +03:00
Dmitry Petrov
5fdfe8df3c
PackagePartClassUtils converted to Kotlin and refactored
2015-09-07 16:28:53 +03:00
Michael Bogdanov
357a6d9902
repl fix
2015-09-07 16:28:51 +03:00
Michael Bogdanov
1fcacecf93
stubs for new components
2015-09-07 16:28:48 +03:00
Michael Bogdanov
6dcd059009
new kompiler parameter
2015-09-07 16:28:47 +03:00
Dmitry Petrov
83336553df
Use special index to record files corresponding to static facade classes.
2015-09-07 16:28:45 +03:00
Dmitry Petrov
ab8b5d05ed
Light class generation for new facades/parts.
...
1st working (naive) implementation.
2015-09-07 16:28:45 +03:00