Commit Graph

4318 Commits

Author SHA1 Message Date
Pavel V. Talanov c4f59ff7de Add a draft for K2JS configuration in plugin.
Minor change in QualifiedExpressionTranslator.
2012-03-21 16:00:59 +04:00
Evgeny Gerashchenko e4ebdb9f18 Added temporary workaround to update_dependencies.xml to fix compilation. 2012-03-21 15:58:40 +04:00
Evgeny Gerashchenko 64dcea7c04 Added extra assert for better diagnostics of EA-33897
#EA-33897 fixed
2012-03-21 15:58:39 +04:00
James Strachan e740c47e29 removed some of the cruft and redundant copies of junit.jar 2012-03-21 09:09:09 +00:00
James Strachan 81294d43ae moved old experimental code into the sandbox 2012-03-21 08:56:43 +00:00
Evgeny Goldin 669c7ec326 Libraries:
- "kotlin-maven-plugin" is pulled up to the main POM
 - "testFilterIntoLinkedList" test commented out
 - stdlib - including "kotlin-runtime" respects "localKotlin" profile
2012-03-20 21:54:43 +01:00
Stepan Koltsov ba3d833e81 do not remove InjectorFor* if generation fails 2012-03-21 00:40:29 +04:00
Stepan Koltsov 8a76bd30d2 java.lang.Object is not required class
#KT-1609 Fixed
2012-03-20 21:44:53 +04:00
James Strachan 01ca558898 re-enabled some more tests for check; still need KT-1540 fixed to be able to use the assert function though 2012-03-20 16:15:42 +00:00
Nikolay Krasko c2e1f0b0ae Merge pull request #27 from Frostman/completion-ext-fun-fq-name
#KT-1608 fixed
2012-03-20 08:49:42 -07:00
Stepan Koltsov 54af5d9f9f DescriptorSearchRule should help detecting loops 2012-03-20 19:32:46 +04:00
Evgeny Gerashchenko 03667a1be9 Fixed NPE in JetRunConfigurationEditor.resetEditorFrom
#EA-34897 fixed
2012-03-20 19:26:04 +04:00
James Strachan 381c135fbd added writer helper methods to InputStream 2012-03-20 15:25:05 +00:00
Nikolay Krasko b80afe44b5 #KT-1604 Auto-completion of .sure() incorrectly imports jet.sure - test 2012-03-20 19:17:24 +04:00
Nikolay Krasko 2519f4d7f2 KT-1426 Implement "Optimize Imports" in plugin - do not remove imports for objects 2012-03-20 18:47:25 +04:00
James Strachan 5bcef67dfe added test cases for KT-1619 and KT-1617 2012-03-20 12:03:54 +00:00
Evgeny Gerashchenko dcfeb4bc2c Fixed IAE from JetDecompiledData.isKotlinFile on startup
#KT-1595 fixed
 #EA-34860 fixed
2012-03-20 15:19:51 +04:00
Sergey Lukjanov ccf2773174 Fix for KT-1608 There should be a full qualified name visible for extension functions in completion 2012-03-20 11:08:10 +04:00
Evgeny Goldin 178d822c89 Added "kotlin-maven-plugin" module, extracted <junit> to the parent POM scope "compile". 2012-03-19 23:19:23 +01:00
Stepan Koltsov 1a34a9976e Revert "DescriptorSearchRule should help detecting loops"
This reverts commit 2a3126e71e.

Commit breaks alt-headers compilation
2012-03-20 00:42:44 +04:00
Stepan Koltsov 2a3126e71e DescriptorSearchRule should help detecting loops 2012-03-20 00:16:15 +04:00
Stepan Koltsov e2cb98df67 better import jet namespace 2012-03-19 23:25:27 +04:00
Stepan Koltsov e986fb072c pull type safety up 2012-03-19 23:25:22 +04:00
Stepan Koltsov 089820fb38 fail properly if stdlib compilation failed 2012-03-19 23:25:18 +04:00
Stepan Koltsov 2fd1fe78e5 fail properly in test 2012-03-19 23:25:14 +04:00
Nikolay Krasko 856c05b2a8 KT-1426 Implement "Optimize Imports" in plugin - a slightly better formatting 2012-03-19 21:52:36 +04:00
James Strachan 1c408cdbda include the runtime classes in the mvn build stdlib 2012-03-19 17:13:56 +00:00
Stepan Koltsov 9333e5c11e do not enforce order of members in JavaPackageScope and JavaClassMemberScope 2012-03-19 18:05:34 +04:00
Stepan Koltsov 9557507beb replace "0" suffix in variable names 2012-03-19 17:37:44 +04:00
Pavel V. Talanov 807836322c Add a test for referencing classes using fqnames. 2012-03-19 16:51:31 +04:00
Pavel V. Talanov eeb3bc9a8e Support for namespace variables in nested namespaces. 2012-03-19 16:51:30 +04:00
Pavel V. Talanov 02da9b42c1 Support for simple cases when a namespace creates classes from other namespaces. 2012-03-19 16:51:29 +04:00
Pavel V. Talanov 6f87634b25 Add simple tests for using nested namespace. 2012-03-19 16:51:28 +04:00
James Strachan 20d6729012 added generation of the JS APIs 2012-03-19 12:42:33 +00:00
Nikolay Krasko 5ee41a917a Revert accidental changes in code style settings 2012-03-19 16:35:20 +04:00
James Strachan 52589e9641 added a dummy test case 2012-03-19 12:29:56 +00:00
Nikolay Krasko cefbe090ba translateToKotlin method 2012-03-19 16:26:25 +04:00
James Strachan 530cc4fe72 removed old shell script - we use the maven build now to create the kdoc reports 2012-03-19 11:11:53 +00:00
James Strachan d5980605c3 updated the readme for the maven build 2012-03-19 11:11:15 +00:00
Nikolay Krasko b31c22e6a0 Fix test with invalid number of elements in completion 2012-03-19 15:03:47 +04:00
Stepan Koltsov e201fb5ce5 compileTests in build.xml and command-line script to execute test 2012-03-19 14:57:07 +04:00
Stepan Koltsov 3d4e3c4dd9 better diagnostics 2012-03-19 14:57:01 +04:00
James Strachan 5e2401234b fixed up wrong repo URL 2012-03-19 10:45:36 +00:00
Pavel V. Talanov fb7ecb5e64 Add NamespaceSortingUtils omitted by mistake in previous commit. 2012-03-19 13:52:55 +04:00
Pavel V. Talanov 37cf07b557 Support a simple case with nested namespaces. 2012-03-19 13:45:24 +04:00
Pavel V. Talanov ff3c0a20a0 Support a simple case with nested namespaces. 2012-03-19 13:45:24 +04:00
Pavel V. Talanov 452bbdce4d Extracted PartiallyOrderedSet from ClassSorter. 2012-03-19 13:45:23 +04:00
Pavel V. Talanov 090fd1b7f6 Fixes for cases where unexpected declaration descriptor hierarchy caused invalid scoping structure in js backend.
Minor refactorings.
2012-03-19 13:45:22 +04:00
Pavel V. Talanov e4a658fbeb Change to frontend declaration descriptor hierarchy (property initializers belong to constructor instead of a class) 2012-03-19 13:45:21 +04:00
pTalanov ad49ac158d Some solution for the case when a property which is a function is called. 2012-03-19 13:45:20 +04:00