Commit Graph

4515 Commits

Author SHA1 Message Date
James Strachan 34a0d266d0 fixed up arrays.orEmpty() API - thanks again Stepan! 2012-03-08 14:51:09 +00:00
James Strachan db72208a91 refactored filterNulls() to filterNotNull() which is a clearer name - thanks Stepan! 2012-03-08 14:36:23 +00:00
James Strachan 8d48e3c8a8 added some docs on how to deploy the API docs 2012-03-08 12:24:31 +00:00
James Strachan 366f69b8b1 fixed up the pom so that we can do "mvn site:deploy" in the website project to redeploy the API docs 2012-03-08 12:17:51 +00:00
James Strachan b3bdfffca2 added a command line KDocCompiler so its easy to generate kdoc from command line or build tools. Also added generation of the kdoc documentation in a test case in the website project along with a simple html website 2012-03-08 12:02:30 +00:00
James Strachan cd42b6d527 fix up links to relative stylesheets 2012-03-08 12:00:52 +00:00
James Strachan 562ba6b4de further refactorings to work around kotlin compiler bugs (nested classes & access to public fields in java classes) so we can extend the KotlinCompiler from Kotlin code to add new arguments and compiler plugins 2012-03-08 11:58:02 +00:00
James Strachan 0c66d9db27 further minor refactorings so we can easily reuse the class and command line argument handling in other command line tools like kdoc 2012-03-08 09:19:15 +00:00
James Strachan bfce06cbb0 Merge branch 'master' of github.com:JetBrains/kotlin 2012-03-08 08:11:34 +00:00
James Strachan c68c298930 added website module 2012-03-08 08:10:43 +00:00
James Strachan f43fd0f4f6 minor refactor to make KotlinCompiler easier to extend (to make command line based compiler tools with configurable plugins) 2012-03-08 08:05:47 +00:00
Evgeny Goldin 0a0cfcf6c5 Libraries - "kotlin-compiler" dependency added. 2012-03-08 02:29:11 +01:00
Evgeny Goldin 96fad2693e <kotlin-maven-plugin.version>0.2.3.8-beta-8</kotlin-maven-plugin.version>; "localKotlin" profile added - when activated "${kotlin-sdk}/lib" files are used. 2012-03-08 02:21:38 +01:00
Evgeny Goldin 5da08b2bbc Build tools - "testlib-tests" task is commented out. 2012-03-07 21:31:32 +01:00
James Strachan 44b2fec726 added a simple little site generator for the API docs 2012-03-07 20:13:47 +00:00
James Strachan a2b41a717e switched to UTF-8 by default for string encoding 2012-03-07 20:13:47 +00:00
Evgeny Goldin 33f5b07997 KT-1529: Failing module compilation doesn't fail Maven build - test added. 2012-03-07 21:12:16 +01:00
Evgeny Goldin 710b22debe Build tools - "${basedir}/testlib" => "${basedir}/libraries/testlib" 2012-03-07 21:04:03 +01:00
Evgeny Goldin f2135d97cf Merge branch 'master' of github.com:JetBrains/kotlin 2012-03-07 20:43:36 +01:00
Evgeny Goldin 0ceac22872 KT-1529: Failing module compilation doesn't fail Maven build 2012-03-07 20:43:07 +01:00
James Strachan fe6268f458 merged pull request https://github.com/JetBrains/kotlin/pull/12 from ntaro with thanks! 2012-03-07 19:28:04 +00:00
James Strachan 7afe9e6fcf Merge pull request #14 from chirino/KT-1530
For KT-1530
2012-03-07 11:23:30 -08:00
James Strachan ae03192183 Merge pull request #13 from chirino/testexception
Generalize test exception catching to Throwable so that you can test for...
2012-03-07 11:22:46 -08:00
James Strachan 446541f676 upgraded to the latest mvn plugin 2012-03-07 19:17:21 +00:00
James Strachan 4f14c18aee added a few more file & stream helper methods 2012-03-07 19:16:18 +00:00
Hiram Chirino c9d6b8462d KT-1530 : stdlib should include assert and require functions to simplify precondition checking 2012-03-07 13:16:02 -05:00
Hiram Chirino 87370ba3bd Generalize test exception catching to Throwable so that you can test for RuntimeExceptions. 2012-03-07 13:14:49 -05:00
James Strachan 25ae0bb127 trying to work around compiler error 2012-03-07 18:05:00 +00:00
James Strachan 53f29c265c added some file & io helper methods 2012-03-07 17:58:58 +00:00
Stepan Koltsov 1e08fc3754 make build-tools module depend on idea-core to fix build 2012-03-07 20:48:34 +04:00
James Strachan 3b448bd725 initial support of [[wiklinks]] in comments which currently only works for fully qualified names (and some temporary hacks for common base packages), needs replacing with a real solver/completer though! :) 2012-03-07 12:52:51 +00:00
James Strachan 322eda917d add the apidocs to the mvn build (though temporarily requires a snapshot of the mvn plugin) 2012-03-07 12:51:53 +00:00
James Strachan cb0d5078da added some better wikilinks 2012-03-07 12:44:00 +00:00
Evgeny Gerashchenko 72fbdfa65e Extracted JetDecompiledData from JetContentBasedFileSubstitutor. It saves parsed Kotlin tree and text to user data of ClsFileImpl 2012-03-07 14:58:56 +04:00
Evgeny Gerashchenko 54a781edb6 Got rid of loading java stubs from class files: using ClsFile from PsiManager.findFile() instead. 2012-03-07 14:58:56 +04:00
Evgeny Gerashchenko d989fdfd3e Minor in DescriptorRenderer: added space after type parameters 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko b257a497d1 Added /* compiled code */ comments. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko ecf622dca4 Replaced hash sets with linked hash sets in JavaPackageScope. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko e810d73286 Some minor fixes in presentation of decompiled namespaces. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 61639e577e Added basic decompilation for namespace classes. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 5baf50cb92 Provided PSI file for decompiled Kotlin classes. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 2d492e5171 Added rendering class members. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 688fad7f8f Added COMPACT descriptor renderer (without "defined in ...") 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 16f4ec70e9 Replaced HashMap with LinkedHashMap in JavaClassMembersScope, JavaDescriptorResolver and JavaDescriptorResolverHelper (so the order of members is deterministic). 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 608787f639 Added explicit return-type annotation for FunctionalList.iterator() 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 7627cb6ed1 Removed redundant "final" in DescriptorRenderer. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 2950d87b95 Using JavaDescriptorResolver to resolve Kotlin compiled classes. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko a98532c46e Implemented simple class content subsitutor. 2012-03-07 14:58:55 +04:00
James Strachan af93b82ed9 minor refactor to ensure a KAnnotated always has a declarationDescriptor 2012-03-07 10:39:15 +00:00
James Strachan 41f456583a added missing ivy file 2012-03-07 10:26:58 +00:00