Commit Graph

3909 Commits

Author SHA1 Message Date
Alexander.Podkhalyuzin 9050582960 KT-1462 2012-03-06 14:34:20 +04:00
James Strachan 8152749caf refactored the kdoc model to be in the kotlin.doc package, added a KDocConfig to represent the title and package prefixes -> URL links and provided some sensible out of the box defaults so we can link to external classes now in kdoc for KT-1463 2012-03-06 10:14:22 +00:00
Nikolay Krasko ccaffd8165 KT-1312 Formatter: After package directive should be empty line - test 2012-03-06 13:30:36 +04:00
Svetlana Isakova 72c9eef31b Added ability not to mark error if there is a syntax one in some cases 2012-03-06 13:07:51 +04:00
James Strachan 5b6805eede refactored flatMap()'s default argument values into flatMap(fn) and flatMapTo(coll, fn) for easier completion/documentation 2012-03-06 08:41:42 +00:00
James Strachan e9f03db45f added Array<T>?.orElse(), String.toRegex() and collection?.filterNulls() to convert a possibly nullable collection of T? into a collection T for KT-1129 2012-03-06 07:20:50 +00:00
James Strachan 5b419e7f2d added String?.orElse() to match Collection?.orElse() 2012-03-05 22:12:12 +00:00
James Strachan b37a41ea30 added jars for KT-1451 for adding markdown support in kdoc/comments 2012-03-05 21:38:53 +00:00
James Strachan 0e928685de initial spike for KT-1451 to enable wiki markup in kotlin/kdoc comments and support for wiki links (just need to resolve the links to class names/functions/properties now to make wiki links active 2012-03-05 21:35:15 +00:00
James Strachan 9e1f037232 fixed build from that pull request - apologies :) 2012-03-05 16:56:21 +00:00
James Strachan 7c7197a751 Merge branch 'master' of github.com:JetBrains/kotlin 2012-03-05 16:47:51 +00:00
James Strachan 8b17c4c676 Merge pull request #10 from ntaro/stringMethods
Fix for KT-1305 : Add some methods for String
2012-03-05 08:17:54 -08:00
Nikolay Krasko 77150f02d9 KT-1373 Completion suggests constructors in type position
KT-1316 Type name completion inserts fully qualified name when works in incomplete code
2012-03-05 18:36:12 +04:00
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
Taro Nagasawa d9d1257533 Fix for KT-1305 : Add some methods for String 2012-03-03 16:01:33 +09: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