Commit Graph

543 Commits

Author SHA1 Message Date
Ilya Gorbunov de778d9865 Prototyping preprocessor: stripping declarations and replacing name. 2015-09-25 21:09:08 +03:00
Alexander Udalov 78e920f797 Minor, fix trove4j source paths 2015-09-22 18:22:57 +03:00
Alexander Udalov e7b041456f Add missing module to Kotlin JPS plugin
Since binary version stopped being a simple int and became an instance of the
class BinaryVersion, and since incremental cache loads versions of classes, the
JPS plugin now needs to have the 'deserialization' module which has that class
to avoid ClassNotFoundException.

This fixes CNFE from the bare plugin
2015-09-22 18:22:56 +03:00
Dmitry Kovanikov a11f411f7d Add kotlin console repl 2015-09-21 14:41:16 +03:00
Zalim Bashorov f7e2c127b7 Switch to use FakeCallResolver in DelegatedPropertyResolver 2015-09-18 18:31:18 +03:00
Alexander Udalov 787d392df0 Update .idea/encodings.xml due to latest changes in IDEA EAP 2015-09-17 21:15:22 +03:00
Yan Zhulanow 8577f3e91b Bundle runtime with Android Extensions IDEA plugin 2015-09-11 04:30:03 +03:00
Stanislav Erokhin 57c006a1c6 Created Update-Dist-Run configuration 2015-09-09 22:02:10 +03:00
Nikolay Krasko 0b6c484c6d Disable notification about outdated ABI in Kotlin project 2015-09-09 13:33:32 +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
Alexander Udalov 2d44a853e9 Don't perform "ant compiler-quick" and "ant runtime" before All Tests
Although this made sure you'd not forget to rebuild the runtime before running
all tests locally, it had an unexpected side effect that All Tests would check
not the compiler built by "ant dist", but the compiler built by "ant
compiler-quick", which can and does in fact differ from the former (for
example, proguard is not run on it)
2015-09-03 14:52:26 +03:00
ligee 6e3ce69faa Shutting down daemon from kotlin plugin on idea exit, passing jvm params to daemon launch 2015-08-31 18:39:53 +02:00
ligee 33cead12e0 working version of jps-plugin integration with daemon 2015-08-31 18:39:49 +02:00
ligee 06b3ca8343 Initial version of rmi-interface, compile server and kotlinr - commandline compile server client app 2015-08-31 18:39:48 +02:00
Valentin Kipyatkov 9837d383a9 Completion and add import popup to use same sorter
#KT-8842 In progress
2015-08-25 18:56:16 +03:00
Dmitry Jemerov 4053c19260 increase codecache size for tests run configuration 2015-08-21 12:59:42 +02:00
Zalim Bashorov 2df55b5694 Minor: remove obsolete settings 2015-08-18 12:21:29 +03:00
Zalim Bashorov 7e250ab2ca Add test infrastructure to check the tracking lookups
Added simple test to verify infrastructure.
2015-08-08 02:08:19 +03:00
Nikolay Krasko 7de35baa4b Idea start configuration with fixed fonts on Windows
Run with Java 1.7 and add tools.jar to Idea classpath explicitly.
2015-08-07 19:14:13 +03:00
Nikolay Krasko 470a062254 Add kotlin-reflect to additional classpath 2015-08-07 19:14:11 +03:00
Dmitry Jemerov 7e7374e28b bump max permgen size for All tests configuration 2015-08-06 19:51:27 +02:00
Valentin Kipyatkov 63dc843c71 KT-8542 Override dialog: only one class from hierarchy is shown
#KT-8542 Fixed
2015-07-28 22:39:31 +03:00
Natalia Ukhorskaya e66569c451 Update to IDEA 3371.3 2015-07-27 12:06:00 +03:00
Valentin Kipyatkov 7b0b2d38c5 KT-8560 Smart completion for lambda value and more in smart completion
#KT-8560 Fixed
2015-07-22 21:04:30 +03:00
Dmitry Petrov 0ca5cc63e0 Fix accidentally pushed compiler.xml 2015-07-22 09:59:51 +03:00
Alexander Udalov 90d2a0dd3c Revert incorrect change to .idea/compiler.xml 2015-07-21 19:12:06 +03:00
Dmitry Petrov 6437a4bdc6 Support overload ambiguity resolution for callable references by expected type.
Resolve callable references taking into account expected callable types.

This affects call resolution procedure (resolve 'foo' in for 'foo(::bar)') similar to the approach used for function literals:

* During "shape arguments" phase of call resolution, callable references are resolved in independent context without expected type. If the callable reference is ambiguous, its shape type is a function placeholder type without parameter types and return type information. Otherwise, it is a reflection type for the resolved function or property. Upper-level call is resolved without taking into account ambiguous callable references.

* During "complete call" phase of call resolution, resolve callable reference arguments to actual descriptors (if possible), and update constraint system for the given call accordingly.

 #KT-6982 Fixed
 #KT-5780 Fixed
2015-07-21 18:33:15 +03:00
Alexander Udalov c116b6c868 Don't highlight injection points as unused in project 2015-07-21 13:31:44 +03:00
Natalia Ukhorskaya fbe2d77df5 Temporary switch off KotlinAndroidExtensions plugin during IDEA debug configuration start 2015-07-21 13:04:37 +03:00
Nikolay Krasko 796e05983c Move kotlin runtime jars to separate folder and attach them during debug idea start
Now we only attach runtime. It will be possible to attach two jars when it becomes possible to separate paths in system-independent way.
2015-07-16 18:02:25 +03:00
Andrey Breslav e095162c19 Minor. Dictionary 2015-07-09 16:32:24 +03:00
Evgeny Gerashchenko 2a0817a4d1 Minor. Added word to dictionary. 2015-07-08 14:27:39 +03:00
Alexander Udalov 5e011b92ef Add source roots to modules 'builtins' and 'runtime.jvm'
This is done to be able to write code in the module 'reflection.jvm' in the IDE
without lots of unresolved errors and such
2015-07-06 16:19:55 +03:00
Ilya Gorbunov 61e657567d Increase heap size for compiler up to 2000M 2015-07-01 22:16:17 +03:00
Valentin Kipyatkov a2407aaaa4 Minor code improvements 2015-06-29 19:36:43 +03:00
Pavel V. Talanov 65c6adfaa4 Drop "injector-generator" module, tests and existing generated injectors
Move GeneratorsFileUtil to "generators" module
Drop "Generate Injectors" run configuration
2015-06-26 15:21:43 +03:00
Ilya Ryzhenkov 5db541ee24 Add container module with implementation of di based on java reflection
Initial implementation by Ilya Ryzhenkov
Renovation, optimization, integration and removal of unused features by Pavel Talanov
2015-06-26 15:21:39 +03:00
Nikolay Krasko 8e51f1aadd Idea moved to junit-4.12 2015-06-23 15:59:10 +03:00
Michael Nedzelsky 8a3182d1e7 Update source roots for idea libraries 2015-06-19 15:51:53 +03:00
Nikolay Krasko 0f032100fc Update source roots for idea libraries 2015-06-18 16:45:21 +03:00
Alexander Udalov 5ec4576844 CLI: add color to compiler output via jansi
Disabled on Windows temporarily, because for some reason colors there work only
in REPL
2015-06-15 15:42:42 +03:00
Valentin Kipyatkov a1ff2f20ed Got rid of DescriptorRendererBuilder providing new scheme for creating DescriptorRenderer's 2015-06-10 11:34:58 +03:00
Alexander Udalov cbbf8dec7e Drop ant-1.7 from project, advance Ant to 1.8.2
Ant 1.8.2 has the API (namely,
CompilerAdapterExtension#getSupportedFileExtensions) which will allow to fix a
critical bug in <withKotlin/> task (see KT-7870)
2015-06-05 15:55:52 +03:00
Alexander Udalov bd17db6f3e Delete TeamCityPluginPublisher.xml and run configuration on TC
The run configuration is not used anymore because we have branches which run
tests against different IDEA versions, and also IDEA master runs the plugin
verifier with the Kotlin plugin
2015-06-01 19:23:12 +03:00
Evgeny Gerashchenko 36915bf846 Enabled incremental compilation by default. 2015-06-01 19:02:12 +03:00
Yan Zhulanow 54b3fc9e37 Do not bundle annotation collector plugin into IDE plugin 2015-06-01 17:28:03 +03:00
Alexander Udalov 6dbd9b2d01 Minor, set XML indentation to 4 spaces
Was accidentally changed to 2 in 181af17
2015-05-28 22:09:01 +03:00
Dmitry Jemerov fa5aa664b5 update build script for new distribution of dokka 2015-05-28 14:38:20 +02:00
Zalim Bashorov cb37ae5d1e Minor: add "ctor" to dictionary 2015-05-28 11:06:04 +03:00
Michael Nedzelsky 044497fab6 JS: add idea-js module: KotlinJavaScriptLibraryManager and KotlinJavaScriptLibraryContentsTreeStructureProvider 2015-05-26 05:03:25 +03:00