Commit Graph

2968 Commits

Author SHA1 Message Date
Maxim Shafirov 91da7e4e16 Hopefully, fix tests (they needn't to be executed actually) 2012-02-03 19:39:13 +04:00
Nikolay Krasko cc19a21ff3 Enable completion for top level functions from kotlin in kotlin mode 2012-02-03 17:02:04 +04:00
Nikolay Krasko bd1bb1f0bd - Tests for KT-1051, KT-1151 and KT-1100
- Icon for java fake class
2012-02-03 16:05:30 +04:00
Andrey Breslav 35fb5faad8 Trying to fix the test 2012-02-03 15:05:55 +04:00
Andrey Breslav 649a639bba Test for
KT-274  Add Enumeration.iterator () method in global namespace
2012-02-03 15:04:14 +04:00
Andrey Breslav abd0932dfe Test for
KT-274  Add Enumeration.iterator () method in global namespace
2012-02-03 15:00:55 +04:00
Andrey Breslav fba7829ab8 KT-274 Add Enumeration.iterator () method in global namespace
Looking up iterator() via generic extensions' too
2012-02-03 14:57:26 +04:00
svtk 75f1f06862 test for KT-1028 2012-02-03 13:14:50 +04:00
svtk 34ee879094 KT-1189 StackOverflow in ide 2012-02-03 13:14:28 +04:00
svtk 6251b413a2 New check rules for inc, plus & plusAssign
KT-1176 arrayList[0]++. Setter is stored for array access expression when it's needed
2012-02-03 12:10:12 +04:00
svtk db07a33d59 Added reference to array set method for expression like 'array[0]++' 2012-02-03 12:10:12 +04:00
svtk 1cb4c89c5c Mark only brackets when array access expression is unresolved 2012-02-03 12:10:12 +04:00
Alex Tkachman 948ccc5205 javaClass<T>() function 2012-02-03 09:46:40 +02:00
Alex Tkachman 36203e5e17 typo fixed 2012-02-03 08:51:00 +02:00
Alex Tkachman 43a2a27966 String.endWith & replace added 2012-02-03 08:48:03 +02:00
Maxim Shafirov adf97c3c53 outofmemoryfix 2012-02-02 21:24:13 +04:00
Nikolay Krasko 9531415aae KT-1051 Java interoperability completion - tests 2012-02-02 21:06:59 +04:00
Maxim Shafirov 0ec6132798 Actors moved to other examples 2012-02-02 20:52:14 +04:00
Maxim Shafirov 04b0699cd5 Fix memory leak by disposing a classloader. The real issue though is located in TypeInfoParser, that has WeakHashMap with values referencing keys. 2012-02-02 20:35:15 +04:00
Maxim Shafirov 14ab62cf7a Out-of-process compiler 2012-02-02 18:59:03 +04:00
Maxim Shafirov 83587b72a9 HEAD branch code changed 2012-02-02 18:59:03 +04:00
Maxim Shafirov 882d18e8ac Off by one column index 2012-02-02 18:59:03 +04:00
Maxim Shafirov 21997904c5 NPE, if there were errors reported 2012-02-02 18:59:02 +04:00
Maxim Shafirov f58bbb8de6 Respect -output even if compiling module script 2012-02-02 18:59:02 +04:00
Nikolay Krasko 2478582670 Simple handler with insertion imports for classes names completion 2012-02-02 16:46:43 +04:00
Alex Tkachman b63fbccba6 actors moved from stdlib to example 2012-02-02 13:02:48 +02:00
Nikolay Krasko 38817014d5 KT-1051 Java interoperability completion (class and subpackages completion) 2012-02-02 14:28:32 +04:00
Alex Tkachman fd3ae3923a actors example and related bug fixes 2012-02-02 11:15:26 +02:00
Stepan Koltsov 0739332d97 Sometimes PsiClass'es are loaded twice for same class
This patch is workaround to fix tests.
2012-02-01 21:54:20 +04:00
Alefas c8b4e5ec74 Introduce Variable feature (in pre-alpha quality).
Problems:
1. Still problems with containers, due to new for me JetContainerNode.
2. Needs name suggester
3. Needs name validator
4. Needs type annotation adding
5. Needs changing to var and checking write access of usages
6. Needs final modifier adding
7. Some problems on class and file level. Should be fixed. Problems with inplace rename on this positions. Additionally possibly should be added proper work with expressions on class body level and namespace/file level. It parsed as error now.
8. Needs much more tests than just 6.
2012-02-01 19:42:06 +04:00
Andrey Breslav 55fdeb9e35 Fixed fqn for the root package class 2012-02-01 18:41:15 +04:00
Stepan Koltsov a9dedab481 better diag in JavaDescriptorResolver 2012-02-01 17:24:25 +04:00
Alex Tkachman ac729504bf functional list, queues and package for concurrent 2012-02-01 14:55:36 +02:00
Maxim Shafirov 699c43fe58 Simpler write() action
Useful Int.times(block) extension
2012-02-01 16:27:57 +04:00
Alex Tkachman 68a264154f fixing upgrade logic bug 2012-02-01 13:06:11 +02:00
Alex Tkachman e7812dc472 Executor.execute method added 2012-02-01 13:05:37 +02:00
Andrey Breslav b2a8348c36 Refactored most of the static state out 2012-02-01 13:30:25 +04:00
Andrey Breslav 5d6846bdd9 Using enum instead of string constants for J2K options 2012-02-01 13:30:25 +04:00
Alex Tkachman 9559decfc0 some tweaks of VFS example to be more Kotlin 2012-02-01 10:48:28 +02:00
Alex Tkachman 5f9bab6c93 extension methods for j.i.Timer 2012-02-01 10:42:36 +02:00
Alex Tkachman cb04ed1eb8 currentThread global property 2012-02-01 10:08:39 +02:00
Alex Tkachman 4a86f347b1 ValueParameterDescriptor must implement Annotated 2012-02-01 10:03:30 +02:00
Alex Tkachman 745d1658aa locks support 2012-02-01 09:58:18 +02:00
Stepan Koltsov e075bec4c0 JavaDescriptorResolver refactoring
* kill JavaDescriptorResolver.typeParameterDescriptorCache
* use ClassOrNamespaceDescriptor instead of DeclarationDescriptor

Code is a bit ugly now, but simpler than before.
2012-01-31 22:48:55 +04:00
Stepan Koltsov c88940c07c split diagnostics/alt-headers test 2012-01-31 22:22:39 +04:00
Maxim Shafirov f3f725c94f Code moved to IDEA core 2012-01-31 21:31:51 +04:00
Maxim Shafirov 311faa2f81 Kompiler misses it's directory in plugin layout 2012-01-31 20:21:53 +04:00
Maxim Shafirov 59c6bd184d Proper alt class -> sources navigation“ 2012-01-31 18:57:01 +04:00
Andrey Breslav a31027d2d3 Very basic stub implementation for annotation arguments 2012-01-31 16:43:20 +04:00
Maxim Shafirov 379e066dac Correct finder implementation for inner classes 2012-01-31 15:50:59 +04:00