Commit Graph

946 Commits

Author SHA1 Message Date
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
Dmitry Petrov 47f5b55e65 KotlinLightClassForPackage -> KotlinLightClassForFacade
(with minor changes)
2015-09-07 16:28:44 +03:00
Ilya Ryzhenkov ba5d5cc87b Optimize away boxing in JvmDependenciesIndex 2015-09-06 17:01:32 +03:00
Valentin Kipyatkov 37ed77467f Fixed ReplaceWith quickfix not working when synthetic extensions are used in the pattern 2015-09-03 15:55:57 +03:00
Alexey Tsvetkov 7101f9a3a4 Move GenerationState member up to further simplify constructor usages 2015-09-01 19:05:38 +03:00
Alexey Tsvetkov 1e964c6302 Make "progress" parameter with last in GenerationState constructor
This parameter has a default value, so it's more convenient to have it
closer to the end of parameter list.
2015-09-01 19:05:37 +03:00
Alexey Tsvetkov de23f7ace8 Move property declaration to constructor 2015-09-01 19:05:37 +03:00
Stanislav Erokhin d1efadf168 Created slice key LEXICAL_SCOPE 2015-08-29 01:44:35 +03:00
Alexander Udalov aba6ab1299 Refactor command-line interface to kotlin-preloader.jar
Use reasonable defaults for the options: no time profiling, no instrumenters,
empty classpath, 4096 as the class number estimate. Replace 4096 in the
codebase with the constant field.

Keep the old interface intact until the build is bootstrapped and the new one
can be used in all compilation steps
2015-08-24 01:29:58 +03:00
Alexander Udalov df76695e72 Somewhat improve 'incomplete hierarchy' diagnostic message 2015-08-24 01:29:57 +03:00
Dmitry Jemerov c00fbb236f don't perform full resolve and stub building for isInheritor() checks
#KT-8656 Fixed
2015-08-21 12:08:53 +02:00
Dmitry Jemerov f2ff752dd1 KotlinLightClassForExplicitDeclaration: J2K 2015-08-21 12:08:51 +02:00
Pavel V. Talanov 2ef5e03f27 Introduce TargetEnvironment and CompilerEnvironment 2015-08-19 21:18:27 +03:00
Zalim Bashorov 96696c6846 UsageCollector -> LookupTracker 2015-08-08 02:08:14 +03:00
Dmitry Jemerov 456cdab814 reset init time in all compiler invocations 2015-08-04 17:00:33 +02:00
Dmitry Jemerov f49ccb22ab report correct compiler init timings 2015-08-04 16:12:05 +02:00