Commit Graph

40 Commits

Author SHA1 Message Date
James Strachan 1d342978d0 #KT-1675 Fixed, renaming join() -> makeString() and adding an appendString() which reduces the possible number of appendables being created 2012-04-02 20:01:24 +01:00
James Strachan 3fb74d3e69 renamed @includeFunction to @includeFunctionBody to be more clear that the function definition itself won't be included into the kdocs 2012-04-02 15:25:15 +01:00
James Strachan eeb413082f fixed layout of properties 2012-03-30 12:48:52 +01:00
James Strachan 68d8e7fba0 improved the kdoc format so it looks a bit more like kotlin code 2012-03-30 12:35:26 +01:00
James Strachan b29c31ad2d fixed up kdoc after Andrey's changes 2012-03-29 16:54:59 +01:00
James Strachan beedd36456 refactored out the KDocLoader stuff from the KotlinCompiler; also introduced CompilerPluginContext to wrap up the Project, BindingContext and List<JetFiles> in case a plugin were to need any of those things (or we added extra stuff later like the environment) 2012-03-29 16:37:36 +01:00
James Strachan 89038227d8 first spike attempting to implement KT-1453 though hit a compiler error 2012-03-29 08:58:58 +01:00
James Strachan 4e7070d2b1 add syntax highlighting to included code in kdocs #KT-1660 Fixed 2012-03-28 09:05:42 +01:00
James Strachan 224f7d706a added extra warning if a macro is typed incorrectly 2012-03-27 12:34:52 +01:00
James Strachan 133afa8327 link more documentation to test cases and filled out the test cases a little 2012-03-27 12:26:20 +01:00
James Strachan 92a1cde223 removed some cruft 2012-03-27 11:02:03 +01:00
James Strachan 7dd8bc9911 allow comments to include source code from test methods to demonstrate an API in action in code thats actually tested to be accurate. #KT-1458 Fixed 2012-03-27 10:46:08 +01:00
James Strachan a0e04dfcd5 updated kdoc so it highlights parameters with default values and varargs 2012-03-26 18:40:27 +01:00
James Strachan 5ece48e3cc show traits and class visibility properly in kdoc and hide non API stuff (i.e. public and protected is shown) 2012-03-26 17:07:23 +01:00
James Strachan 2803dfca08 tidied up the compareBy helper function a little; only compare based on the functions given 2012-03-26 15:07:34 +01:00
James Strachan d8c3a8f55c added a couple of helper functions to make it easier to compare values, implement Comparable and create Comparators 2012-03-26 10:53:39 +01:00
James Strachan 793e2a9317 fix compiler error 2012-03-26 09:31:03 +01:00
James Strachan 3a4ed6a85f for consistency, moved extension functions on iterator/iterable/collection to the kotlin package rather than being split across kotlin and kotlin.util. Once intrinsic collections are here we could consider moving the java.util extension functions into kotlin.java.util 2012-03-26 08:59:16 +01:00
James Strachan a44272eeba add debug logging to highlight the exception in kdoc if it can't find functions in the model and added a test case 2012-03-21 21:59:00 +00:00
James Strachan e740c47e29 removed some of the cruft and redundant copies of junit.jar 2012-03-21 09:09:09 +00:00
Evgeny Goldin 669c7ec326 Libraries:
- "kotlin-maven-plugin" is pulled up to the main POM
 - "testFilterIntoLinkedList" test commented out
 - stdlib - including "kotlin-runtime" respects "localKotlin" profile
2012-03-20 21:54:43 +01:00
Evgeny Goldin 178d822c89 Added "kotlin-maven-plugin" module, extracted <junit> to the parent POM scope "compile". 2012-03-19 23:19:23 +01:00
Evgeny Goldin 165a110064 Kotlin maven plugin updates:
- <groupId>com.github.goldin</groupId>
- <kotlin-maven-plugin.version>0.2.3.8</kotlin-maven-plugin.version>
- Repo is "http://evgenyg.artifactoryonline.com/evgenyg/"
2012-03-18 22:34:23 +01:00
James Strachan 7adcecb634 removed IDEA project files from the maven build section 2012-03-14 08:42:41 +00:00
James Strachan 3bf3284341 added IDEA files for the libraries maven project 2012-03-13 10:32:59 +00:00
James Strachan dc37fca143 allow packages to be excluded and added kotlin-jdbc to the API 2012-03-13 07:13:52 +00:00
James Strachan d469710c7c refactored foreach() -> forEach() as per Cedric's excellent suggestion http://devnet.jetbrains.net/message/5454105#5454105 2012-03-12 12:07:38 +00:00
James Strachan beafb561bb improved kdoc to avoid showing duplicate functions of the same name & to show more detail in the function summary table 2012-03-09 11:28:30 +00:00
James Strachan 8936f45054 exposed the project version as a system property so we can use it in the tests & generation of the kdoc 2012-03-09 07:30:15 +00:00
James Strachan b5108912ee re-enabled tests by default 2012-03-09 07:12:41 +00:00
Evgeny Goldin 63b293aecc "ivy-maven-plugin" removed. 2012-03-08 17:59:55 +01: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 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 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 af93b82ed9 minor refactor to ensure a KAnnotated always has a declarationDescriptor 2012-03-07 10:39:15 +00:00
James Strachan 585625bf2f refactored the comments to split the wiki markup into the first paragraph for the summary and the rest for the detail and to allow relative URL links to classes in wiki links 2012-03-07 10:26:53 +00:00
James Strachan 8fda6a8892 got a basic mvn build working (without testing stdlib yet) 2012-03-06 20:15:17 +00:00
James Strachan 0e50c76f44 added first spike at maven poms for stdlib and kdoc 2012-03-06 19:50:03 +00:00
Andrey Breslav 0a08ac5fe8 Libraries written in Kotlin are factored out into a separate project 2012-03-06 19:00:29 +04:00