Commit Graph

5409 Commits

Author SHA1 Message Date
Evgeny Gerashchenko e294a8821f Introduced JetStandardClasses.UNIT_ALIAS constant, got rid of hard-coding it in all code except for tests. 2012-05-15 12:40:01 +04:00
Evgeny Gerashchenko 151b3be99e Got rid of hardcoded "jet" and "jet.Tuple0" constants in StandardLibraryReferenceResolver. 2012-05-15 12:30:28 +04:00
pTalanov 1b516d2786 Issue related to KT-1962 2012-05-14 18:00:39 +04:00
Andrey Breslav cf3091adb5 Data flow info always taken into account in safeGetType()
The dangerous method removed
2012-05-13 12:58:50 +04:00
Stepan Koltsov cccff99d9e fix tests 2012-05-13 03:47:52 +04:00
Stepan Koltsov 8c8ed3a1ee KT-1388 Parse static final fields from java binary classes as non-null
#KT-1388 Fixed
2012-05-13 00:53:37 +04:00
Stepan Koltsov ae58c1c888 better comparison of vararg signatures in Read*BinaryClassTest 2012-05-12 22:28:39 +04:00
Stepan Koltsov f061fce9a8 properly read vararg signature from java code
KT-1694 Java vararg override, Why is it intuitive interface?

#KT-1694 Fixed
2012-05-12 22:21:09 +04:00
Evgeny Gerashchenko 78914d0157 Merge branch 'master' of git+ssh://github.com/JetBrains/kotlin 2012-05-12 21:58:41 +04:00
Evgeny Gerashchenko b0c0173924 Removed test for KT-1666, since navigation to standard libraries is working normally now (instead of navigation to the same source). 2012-05-12 21:56:45 +04:00
Evgeny Gerashchenko 6f3f1a11f4 Added test cases for StandardLibraryReferenceResolverTest. 2012-05-12 21:56:45 +04:00
Evgeny Gerashchenko cfb0844706 Added test microframework and simple test for checking resolving of references to standard library. 2012-05-12 21:56:45 +04:00
Evgeny Gerashchenko a7f3e12aec Added test checking that StandardLibraryReferenceResolver returns not null for all members of jet namespace. 2012-05-12 21:56:44 +04:00
Evgeny Gerashchenko 174ce17033 Replaced jet.Tuple0 with Unit in rendered descriptors. DescriptorRenderer cannot detect fake Tuple0 as Unit. 2012-05-12 21:56:43 +04:00
Evgeny Gerashchenko 240f477fff Introduced FakeJetNamespaceDescriptor, which supports member scope substitution. 2012-05-12 21:56:43 +04:00
Evgeny Gerashchenko 9265ce4ec9 Renumbered type and value parameters of function types.
Their numbers now start from 1. This is made for consistency with auto-generated sources for these types. Parameters of runtime types (written in Java) are numbered starting with 0, too.
2012-05-12 21:56:42 +04:00
Andrey Breslav ee1d4722fc KT-1970 Bash scripts need to have 755 permission
#KT-1970 Fixed
2012-05-12 18:18:19 +04:00
Nikolay Krasko 9bbdb4cf56 KT-1950 Don't complete if after val
KT-1894 Do not suggest "trait" after fun
 #KT-1950 fixed
 #KT-1894 fixed
2012-05-12 17:10:06 +04:00
Evgeny Gerashchenko 073a30704f Made methods of function types public. 2012-05-11 21:25:41 +04:00
Evgeny Gerashchenko a512d85383 Merge remote-tracking branch 'origin/master' 2012-05-11 20:39:00 +04:00
Evgeny Gerashchenko b56874e119 Replaced synchronized method with synchronizing on internal lock object. 2012-05-11 20:37:11 +04:00
Evgeny Gerashchenko ec021e05c8 Introduced resolveStandardLibrarySymbol() taking DeclarationDescriptor. 2012-05-11 20:37:11 +04:00
Evgeny Gerashchenko 7c96aec630 Renamed "std" library containing Any, Nothing, tuple and function types to "jet.src" and added readme file. 2012-05-11 20:37:11 +04:00
Evgeny Gerashchenko ebfddd3d7d Replaced self-written hacky conversion of java URLs into IDEA VFS URLs with using VfsUtil. 2012-05-11 20:37:11 +04:00
Evgeny Gerashchenko 124266ea68 Fixed highlighter tests. 2012-05-11 20:37:11 +04:00
Evgeny Gerashchenko d6e3a392f6 Added navigation to sources of builtin entities.
#KT-1069 fixed
2012-05-11 20:37:11 +04:00
Evgeny Gerashchenko 29a9fdde78 Moved *.jet.src to separate directory and renamed to them to *.jet. Thus, they will be correctly loadable via PSI. 2012-05-11 20:37:11 +04:00
Evgeny Gerashchenko b6bcce2c8a Fixed visibilities, added "val" and package line in TuplesAndFunctionsGenerator. 2012-05-11 20:37:11 +04:00
Andrey Breslav 647a5455e1 Source representations for Any and Nothing. These sources are to be shown in the IDE 2012-05-11 20:37:11 +04:00
Evgeny Gerashchenko 070a3729e5 Fixed unnecessary FQ name bug.
#KT-1954 fixed
2012-05-11 19:39:51 +04:00
Nikolay Krasko dcc6392eb4 Intermediate major refactorings for lazy resolve - test fix (order changed) 2012-05-11 19:27:56 +04:00
Stepan Koltsov 77e7c53ed1 everyone loves idea default templates 2012-05-11 19:22:29 +04:00
Nikolay Krasko efe2155f28 Intermediate major refactorings for lazy resolve 2012-05-11 19:10:16 +04:00
Nikolay Krasko 2dba348ecb Intermediate major refactorings for lazy resolve 2012-05-11 18:58:54 +04:00
Nikolay Krasko 5ac866ba3c KT-1912 Formatter: smart indent doesn't work in a function literal
#KT-1099 fixed
 #KT-1912 fixed
2012-05-11 18:36:33 +04:00
Stepan Koltsov 3af2b1b80a improve rendering of upper bounds 2012-05-11 18:24:58 +04:00
Stepan Koltsov 9a05af1757 stdlib and jdk-headers are not needed in DescriptorRenderer 2012-05-11 18:24:57 +04:00
Stepan Koltsov 6c4478f544 simplify renderer 2012-05-11 18:24:57 +04:00
Andrey Breslav 420a7c9ad4 KT-1961 Incorrect override error in functions with type parameter with two upper bounds
#KT-1961 Fixed
2012-05-11 18:00:09 +04:00
Andrey Breslav c63af879fa KT-1947 Don't analyze Kotlin files that are not under source folders
#KT-1947 Fixed
2012-05-11 17:26:13 +04:00
Svetlana Isakova fddd9eff57 Possible fix of EA-34996 2012-05-11 17:08:20 +04:00
Stepan Koltsov aa4252462f replace 'for (;;)' with 'while (true)' 2012-05-11 16:26:26 +04:00
Nikolay Krasko 39ec3f7c14 Print file name at least in diagnostic 2012-05-11 16:09:58 +04:00
Nikolay Krasko 9cb7cb56f1 Refactoring - new interface for common method 2012-05-11 16:09:56 +04:00
Nikolay Krasko f67aebe4be On the way refactorings 2012-05-11 16:09:55 +04:00
Andrey Breslav fac735a419 Fixed compilation for new projects
The problem was:
 IDEA passes a DummyCompilerContext, whose project is null
 As a result, a freshly created "Hello, world" didn't run (failed with NoClassDefFound, because the compiler didn't emit any code)
2012-05-11 15:50:39 +04:00
Svetlana Isakova b1e5a0768c KT-1955 Half a file is red on incomplete code
#KT-1955 fixed
2012-05-11 15:03:23 +04:00
Svetlana Isakova 696df0eb9b more tests for KT-1897
#KT-1897 fixed
2012-05-11 14:24:38 +04:00
Andrey Breslav 3528822d7e Merge pull request #54 from NataliaUkhorskaya/master
KT-1935 Fixed: ACC_SUPER flag must be set for classes
 #KT-1935 Fixed
2012-05-11 02:10:27 -07:00
Natalia.Ukhorskaya 162cc7307d KT-1935 Fixed: ACC_SUPER flag must be set for classes 2012-05-11 12:52:26 +04:00