Commit Graph

560 Commits

Author SHA1 Message Date
Valentin Kipyatkov 129f6f8532 Big refactoring of BasicCompletionSession 2015-10-30 12:03:53 +03:00
Alexander Udalov 9d7cc25228 Fix code style settings after language was renamed to Kotlin 2015-10-25 15:52:04 +03:00
Alexander Udalov 1e9624901a Add NonVolatileRef to runtime 2015-10-21 13:40:02 +03:00
Alexey Sedunov b774373dbc Minor: Restore ant.xml deleted in a previous commit 2015-10-20 19:41:06 +03:00
Alexey Sedunov c2c8eccc77 Pull Up: Do not suggest indirect superinterfaces in the Pull Up dialog. Prefer superclass over superinterface as pull-up target
#KT-9543 Fixed
2015-10-20 18:39:39 +03:00
Mikhail Glukhikh c9d8a15965 Generate Tests target fixed (file facades) 2015-10-20 17:44:25 +03:00
Valentin Kipyatkov 30cbec3fc8 Refactoring 2015-10-19 19:22:26 +03:00
Ilya Chernikov 16817f47e9 Removing dependency of kotlin plugin from daemon client (kotlinr), it should only depend on rmi-interface
(cherry picked from commit 01309eb)
(cherry picked from commit ed91190)
(cherry picked from commit da54faf)
2015-10-19 13:32:19 +02:00
Nikolay Krasko 9ef8370871 Allow to create quickfix multifile tests in single file
It simplifies creating new tests
2015-10-19 11:30:47 +03:00
Valentin Kipyatkov 800e629614 Changed code style settings to place 'else' on new line 2015-10-16 19:06:18 +03:00
Denis Zharkov b6df6d8ae0 Exclude runtime.jvm from source roots
It's needed not to broke whole project compilation
while transforming Array.size
2015-10-16 18:16:02 +03:00
Alexander Udalov 74cd449d86 Fix runtime copying for IDEA run configuration
- 'overwrite' is false by default, so now it's set to true explicitly
- copy the runtime to all other plugins as well because runtimes from those
  plugins sometimes appear before the Kotlin one
2015-10-15 22:36:23 +03:00
Valentin Kipyatkov b29267ff93 "Single instance only" for IDEA run configurations 2015-10-08 20:36:18 +03:00
Alexey Sedunov 730cc7b551 Code insight: "Generate..." actions for test framework support methods
#KT-9355 Fixed
2015-10-08 13:15:18 +03:00
Alexey Sedunov 1a36c3e29a Quick Fixes: Implement quickfix for missing library 2015-10-08 13:15:15 +03:00
Ilya Gorbunov 389ea1b230 Do not suppress kotlin warnings. 2015-10-07 22:36:14 +03:00
Ilya Chernikov 50f482e50f Fixing problem of hanging wait for jps process in idea by using a native-platform lib for platform-specific daemon execution
Adding native-platform uberjar contents to kotlin jps plugin jar
2015-10-07 19:55:04 +02:00
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