Commit Graph

4374 Commits

Author SHA1 Message Date
Stepan Koltsov 2e288fe1a0 CompileJdkHeadersTest 2012-03-24 02:25:14 +04:00
Stepan Koltsov 7836e44e70 Temporarily revert "kill JavaNamespaceDescriptor"
This reverts commit 3c45a1d60e.

This commit breaks compilation of jdk-headers. Explanation:

1. TopDownAnalyzer creates namespace java.util from sources
2. TopDownAnalyzer creates class Map in java.util
3. TopDownAnalyzer processes import java.util.Map.Entry
4. JavaDescriptorResolver resolves namespace java.util.Map
5. java.util.Map namespace is added to java.util namespace
6. redeclaration handler of namespace java.util crashes on Map
2012-03-24 02:23:30 +04:00
Andrey Breslav 41b8706708 Run js.tests in All Tests 2012-03-23 23:12:10 +01:00
Andrey Breslav cf108765ae KT-729 Need to support arrays as varargs: front-end checks done
#KT-729 In progress
2012-03-23 22:47:44 +01:00
Stepan Koltsov 7708b2d009 Work around missing jar
Somebody please fix it properly
2012-03-24 00:43:05 +04:00
Stepan Koltsov 3c45a1d60e kill JavaNamespaceDescriptor 2012-03-23 23:44:20 +04:00
Stepan Koltsov 8517fe6878 store namespace kind in trace, kill some JavaNamespaceDescriptor usages
JavaNamespaceDescriptor will be killed soon
2012-03-23 23:44:16 +04:00
Stepan Koltsov f73b2c01b4 wire trace into JavaDescriptorResolver 2012-03-23 23:44:12 +04:00
Andrey Breslav d27138e252 An exception fixed 2012-03-23 18:11:43 +01:00
Andrey Breslav aae196839e Reverting the pull-request #29 due to the upcoming redesign of the lazy collections API 2012-03-23 18:11:08 +01:00
James Strachan a18830ef29 working filterIsInstance() helper method for filtering on a sub type 2012-03-23 15:31:43 +00:00
James Strachan dadd288c40 switch to using an enum 2012-03-23 15:31:12 +00:00
James Strachan 8ab594193f Merge branch 'master' of github.com:JetBrains/kotlin 2012-03-23 15:09:57 +00:00
Nikolay Krasko 4311bcc929 #KT-1629 fixed Don't import jet.runtime.SharedVar.Int when typing "val a : Int = ..."
Completion testing framework extended with ability to assert tail text.
2012-03-23 18:36:51 +04:00
James Strachan 23e563b826 initial spike at implementing the standard collection functions on iterators; though compiler error prevented me from implementing all the lazy functions just yet 2012-03-23 11:36:11 +00:00
James Strachan 19cdb782ac added helper methods for iterating through next/previous nodes or elements on the DOM 2012-03-23 11:04:51 +00:00
James Strachan b2dd4cd590 updated the code generator of standard library methods and regenerated it 2012-03-23 11:04:04 +00:00
James Strachan c0cac21b8a added a helper method to filter a subset of an iterator by sub type 2012-03-23 11:03:38 +00:00
Andrey Breslav 90e5510b5d Support !!foo as a double-negation 2012-03-23 10:44:52 +01:00
Andrey Breslav 77159a0d8e Fixed the /**/ case. It is now a comment 2012-03-23 10:44:52 +01:00
Andrey Breslav 73baa8b65d Eliminate unneeded temporary trace 2012-03-23 10:44:52 +01:00
Andrey Breslav 4cef4ec170 Fixed type checking in the case of
val s : String = !true
2012-03-23 10:44:52 +01:00
Andrey Breslav 7341a82b0b Support for !! (analog of sure()/npe()) 2012-03-23 10:44:51 +01:00
Nikolay Krasko 4a3d0133f6 #KT-1598 fixed Wrong completion after "as" in imports 2012-03-22 18:57:20 +04:00
Pavel V. Talanov abcf038157 Add setTimeout() with 2 parameters. 2012-03-22 18:52:26 +04:00
Pavel V. Talanov 69758669cf Refactoring function translator. 2012-03-22 18:52:25 +04:00
Pavel V. Talanov fe53d20a88 Refactoring: refactor Aliaser into aliasing context. A very rough draft but test pass. 2012-03-22 18:52:24 +04:00
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