Commit Graph

4347 Commits

Author SHA1 Message Date
Pavel V. Talanov 91f488fdf8 Slight changes to expression visitor logic. 2012-03-22 18:52:24 +04:00
Nikolay Krasko 0cd839f044 EA-34998 Check qualified name from external before creating instance of FqName 2012-03-22 17:46:18 +04:00
James Strachan b46bb17377 corrected type of OutputStream.buffered() and fail if UTF-8 default charset can't be found - thanks for the heads up Stepan! :) 2012-03-22 07:20:26 +00:00
Stepan Koltsov 4da926f311 add NamespaceFactory dependency to JavaNamespaceDescriptor
(JavaNamespaceDescriptor will be killed soon, NamespaceFactory will be used to create nss)
2012-03-22 03:47:19 +04:00
Stepan Koltsov 97549f54b3 prohibit field of certain types 2012-03-22 03:47:14 +04:00
Stepan Koltsov 3c41df8419 move BindingTrace to Injector from TopDownAnalysisContext
It is necessary to make NamespaceFactoryImpl independent from TopDownAnalysisContext
2012-03-22 03:47:10 +04:00
Stepan Koltsov 162525f794 use dependency injector for JavaDescriptorResolver
JavaDescriptorResolver now lives in the same context as TopDownAnalyzer
2012-03-22 03:47:05 +04:00
Stepan Koltsov bb7b8007c2 di: better diag for abstract classes 2012-03-22 03:46:59 +04:00
Stepan Koltsov 5da984e2cb minor enhancement in JDR 2012-03-22 03:46:53 +04:00
Stepan Koltsov 921b601628 fix serialization of types in Read*BinaryClassTest 2012-03-22 03:46:46 +04:00
James Strachan a44272eeba add debug logging to highlight the exception in kdoc if it can't find functions in the model and added a test case 2012-03-21 21:59:00 +00:00
James Strachan 2e50a2332c used functions rather that properties for consistency on streams.reader/writer/buffered methods; also use UTF-8 charset by default 2012-03-21 20:37:44 +00:00
Nikolay Krasko d35b091262 EA-34661 - Can't serialize main class. Remove deprecated class serializer. 2012-03-21 22:26:46 +04:00
Stepan Koltsov 8f889c0cfd fix one test 2012-03-21 19:35:14 +04:00
Andrey Breslav b957b888ac File type renamed 2012-03-21 15:52:59 +01:00
Andrey Breslav 3a73a96e06 KT-482 Support nested comments: comments nest properly, but strings are not accounted for inside comments
#KT-482 In progress
2012-03-21 15:52:58 +01:00
Evgeny Goldin 01679d315d Cleanup - "localKotlin" profile is eliminated, it is now the default behavior 2012-03-21 15:21:12 +01:00
Evgeny Goldin 9caca33ac6 testFilterIntoLinkedList test uncommented; Maven dependencies update 2012-03-21 15:12:00 +01:00
James Strachan be7ac2d613 Merge pull request #29 from franckrasolo/master
Implemented lazily evaluated sequences
2012-03-21 06:35:57 -07:00
Evgeny Gerashchenko 551417c900 Renamed K2JsRunConfigurationType -> K2JSRunConfigurationType 2012-03-21 17:02:11 +04:00
Pavel V. Talanov 8834367ae5 Fix for using outdated apis.
Minor change to K2JSRunnerUtils.
2012-03-21 16:44:12 +04:00
Pavel V. Talanov 487fc95564 Remove TranslateToJsAction.
Improve configuration UI.
Add directory to store generated files setting.
2012-03-21 16:01:02 +04:00
Pavel V. Talanov 253f606dc4 Remove translateToJsAction from plugin. 2012-03-21 16:01:02 +04:00
Pavel V. Talanov ab6da2250b Plugin configuration. 2012-03-21 16:01:01 +04:00
Pavel V. Talanov 1e72081783 Mysteriously omitted K2JSRunConfiguration. 2012-03-21 16:01:00 +04:00
Pavel V. Talanov 5cc2b053b7 Implement choose browser combobox. 2012-03-21 16:00:59 +04:00
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
Franck Rasolo 32d44ef58b Merge remote branch 'upstream/master' 2012-03-21 10:27:47 +00:00
Franck Rasolo ef89a38de1 Added sequences that helped solve Project Euler problems 2012-03-21 10:27:17 +00: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
Franck Rasolo fe17d83493 Initial implementation of lazily evaluated sequences 2012-03-21 01:31:41 +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