James Strachan
1ff5ac88a8
Merge branch 'master' of github.com:JetBrains/kotlin
2012-03-05 13:22:58 +00:00
James Strachan
bb593d78a9
refactored Closable.foreach to be Closeeble.use{ ... } for now as an interim solution until some try-with-resources syntax is available as in KT-1475
2012-03-05 13:22:16 +00:00
James Strachan
12875e1ca2
refactor .notNull() to be .orEmpty() which is a better name
2012-03-05 13:15:51 +00:00
Svetlana Isakova
b6161cb41b
Bug with wrong 'anonymous initializer without constructor' fixed
2012-03-05 17:05:36 +04:00
Svetlana Isakova
d6a5733a67
ParametrizedDiagnostic interface added
2012-03-05 16:48:43 +04:00
James Strachan
0b60105824
fixed up the kdoc comments to exclude the * on lines between /** and */
2012-03-05 12:44:06 +00:00
James Strachan
71194b7eca
update the comments so that they appear in the kdoc report
2012-03-05 12:20:02 +00:00
James Strachan
0d34e46eb9
tidy up the dom API a little
2012-03-05 12:07:23 +00:00
James Strachan
4db46658f9
fixed bugs in missing functions in kdoc
2012-03-05 12:00:39 +00:00
James Strachan
7772614006
added a little bit of javadoc :)
2012-03-05 09:53:06 +00:00
James Strachan
86cd1d1adb
added support for nullable types for kdoc
2012-03-05 09:34:24 +00:00
James Strachan
87b193a155
show local function with javaClass<T>() works fine for KT-1515
2012-03-05 08:57:58 +00:00
James Strachan
ef828bcdcf
added test case for KT-1515
2012-03-05 08:50:07 +00:00
James Strachan
b9fe45ed0c
fixed up test runners
2012-03-05 08:20:49 +00:00
Nikolay Krasko
863e3ff382
Try to fix compile error on buildserver
2012-03-05 11:36:31 +04:00
James Strachan
eb3aac9acb
refactored std.* package to be kotlin.*. Due to KT-1381 I had to move the functions from kotlin.test into the stdlib for now (I made them not depend on JUnit for now)
2012-03-03 12:11:06 +00:00
James Strachan
4a53e468fe
render extension functions nicely in kdoc too
2012-03-03 06:44:42 +00:00
James Strachan
d79a35a2c5
refactored kool.test -> kotlin.test
2012-03-03 06:43:24 +00:00
James Strachan
cfe4b7f736
added support for multiple source directories for generation of the kdoc, so we can include java & kunit etc
2012-03-03 06:35:33 +00:00
James Strachan
ffa2b7b085
added a flag to indicate whether or not the module is being compiled or not (so we can defer compiler plugins until after the module is built)
2012-03-03 06:35:32 +00:00
James Strachan
4274a4abac
added a test module for apidoc generation
2012-03-03 06:35:32 +00:00
Nikolay Krasko
fda7e8a927
Merge pull request #8 from Frostman/kt-1375
...
Fix for KT-1375 Rename "No methods to implement found" to "No method to ...
2012-03-02 13:38:14 -08:00
Stepan Koltsov
c47934b3cf
do not rely on presence of function body to compute function modifiers
...
this fixes generation of stubs
2012-03-03 01:10:59 +04:00
Stepan Koltsov
1e92594e99
better member sorting in Read*BinaryClassTest
2012-03-03 00:19:32 +04:00
Sergey Lukjanov
51361a29c1
Fix for KT-1375 Rename "No methods to implement found" to "No method to override found" where it is needed
2012-03-02 23:57:49 +04:00
Stepan Koltsov
16917dea4f
fix prop modality reading from class files
2012-03-02 23:18:50 +04:00
Stepan Koltsov
25ed7018a4
compile lang.jar
...
lang.jar is just compiled and nothing more yet
2012-03-02 23:01:57 +04:00
Stepan Koltsov
63908a2047
fix decls in compiler/frontend/src/jet
2012-03-02 23:01:52 +04:00
Stepan Koltsov
4b7c738f29
exit 1 from kotlin process if compilation failed
2012-03-02 23:01:47 +04:00
Stepan Koltsov
cd3b965b3c
compileKdoc fails, fix it
2012-03-02 23:01:42 +04:00
Stepan Koltsov
c9e3891a5e
fix test
2012-03-02 21:25:18 +04:00
Stepan Koltsov
99249c65da
properly read constructor with default params from bytecode
2012-03-02 20:49:13 +04:00
Stepan Koltsov
c15bd2f75d
KT-1490 serialization of constructor parameters
2012-03-02 20:43:47 +04:00
Stepan Koltsov
3f1e63cd26
JetValueParameterAnnotationWriter
2012-03-02 20:43:42 +04:00
Stepan Koltsov
90769d3244
move signature related code into subpackage
2012-03-02 20:43:38 +04:00
pTalanov
ab3cdb9bd8
Add simple tests for interop with native code.
2012-03-02 20:05:16 +04:00
pTalanov
320ed18134
Hide string constant TEST_FILES.
2012-03-02 20:05:15 +04:00
pTalanov
c38bf0bc86
Use minimal optimisation to slightly speed up the tests.
2012-03-02 20:05:14 +04:00
pTalanov
c9cc2a385a
Move TestConfig under test package
2012-03-02 20:05:13 +04:00
pTalanov
853b03efd2
Split TranslationTest into SingleFileTranslationTest and MultipleFilesTranslationTest
2012-03-02 20:05:13 +04:00
pTalanov
14eab2357d
Fixed access level of TranslationTest.
2012-03-02 20:05:12 +04:00
pTalanov
d3e3f599ae
Moved most of the test into subpackage.
2012-03-02 20:05:11 +04:00
Stepan Koltsov
4c078c3713
fix tests
2012-03-02 18:29:27 +04:00
Andrey Breslav
1078c95bf2
Platform-dependent AnalyzerFacades renamed to reflect platform-dependencies
2012-03-02 18:27:29 +04:00
Andrey Breslav
3e2b2209f9
Build numbers changed to 166
2012-03-02 18:18:21 +04:00
Stepan Koltsov
7b574e8b49
make javabean getters/setter not visible as properties temporarily
...
fixes KT-1432
2012-03-02 18:05:10 +04:00
Nikolay Krasko
5882c10368
Add temporary class object icon for structure and project views
2012-03-02 16:53:28 +04:00
Nikolay Krasko
91c135f081
Merge pull request #6 from Frostman/kt-1486
...
Fix for KT-1486 and KT-1480 (Can't see class object and it children in project view)
2012-03-02 04:24:30 -08:00
Andrey Breslav
b6ec1fc884
Assertions for impossible descriptor structure
2012-03-02 16:24:07 +04:00
Andrey Breslav
3664a3b2fc
Temporary solution for the case where the user has two different JDKs: one in java.home, and the other configured in the project.
...
In this case, we used to take the java.home one first and ignore project settings, because the classpath was shared between the module script compilation and the module compilation.
2012-03-02 16:14:38 +04:00