Commit Graph

5392 Commits

Author SHA1 Message Date
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
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
Stepan Koltsov ded824468a replace String with JvmClassName 2012-05-11 01:08:33 +04:00
Stepan Koltsov 9908791094 KT-1829 NoClassDefFoundError when using java inner classes
#KT-1829 Fixed
2012-05-11 01:08:30 +04:00
Stepan Koltsov b0cea24faf move compileJavaFile 2012-05-11 01:08:26 +04:00
Andrey Breslav 8297d83063 Wrong condition fixed 2012-05-10 20:31:38 +04:00
Svetlana Isakova 8d26629aff Resolution diagnostic improvement
#KT-1940 fixed
2012-05-10 19:01:58 +04:00
Stepan Koltsov e303c80868 add missing test for KT-1880
(hide static members from superclasses)
2012-05-10 18:56:18 +04:00
Stepan Koltsov a00e765bd5 Read*BinaryClassTest: type parameter with two upper bounds 2012-05-10 18:56:18 +04:00
Stepan Koltsov 7aa4a32f3e resolve mcvaadin and vaadin libraries
(no problems found)
2012-05-10 18:56:17 +04:00
Alex Tkachman 6d2deaa70c KT-1600: call to non-overriden generic method 2012-05-10 16:45:34 +03:00
Andrey Breslav 711e61cd06 Added a property to disable compiler's javadoc generation
Run Ant with -Dgenerate.javadoc=false -Dshrink=false for a faster build
2012-05-10 17:16:04 +04:00
Andrey Breslav 909e02898d Remove an effect from DeclarationDescriptorImpl.toString() 2012-05-10 15:54:41 +04:00
Leonid Shalupov 9f13d3b263 commented out maven integrations tests for now 2012-05-09 04:25:30 +04:00
Leonid Shalupov a8d99180c9 Merge pull request #50 from detouched/maven-plugin-test
Simple maven plugin integration test
2012-05-08 14:10:46 -07:00
Daniel Penkin 422fc81e38 Removed unnecessary import statement 2012-05-08 23:15:27 +04:00
Daniel Penkin a2ee297db9 Removed unnecessary repository sections 2012-05-08 23:10:03 +04:00
Daniel Penkin 281e8e5a76 Temporarily removed settings.xml 2012-05-08 12:51:21 +04:00
Daniel Penkin d6e8b63dc3 Added simple kotlin-maven-plugin integration test 2012-05-08 12:51:20 +04:00