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
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