Commit Graph

4403 Commits

Author SHA1 Message Date
Alex Tkachman 83ed0a846e KT-1597 optimized as/as? 2012-03-26 16:56:24 +02:00
James Strachan 1c36fdf23c use more concise way to create a comparator 2012-03-26 15:17:19 +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
Stepan Koltsov bc17c7b4f3 injector to analyze js 2012-03-26 17:42:04 +04:00
Stepan Koltsov 0a08f811ea test compile builtins 2012-03-26 17:42:01 +04:00
Stepan Koltsov 1704edc6b9 AnotherTestCaseWithTmpdir 2012-03-26 17:41:56 +04:00
Nikolay Krasko 072a552923 KT-1644 Propose types after fun — for receiver type
#KT-1644 fixed
2012-03-26 17:31:27 +04:00
Stepan Koltsov a3d033531f need to build builtins.jar before building jdk-headers and stdlib 2012-03-26 15:13:01 +04:00
Nikolay Krasko ed969eb0b4 Do not suggest to import something that is already imported 2012-03-26 14:47:19 +04:00
James Strachan 5b252aaf39 added sample comparator code and tidied up some test cases & converted them to the cleaner JUnit 4 style 2012-03-26 11:43:25 +01:00
James Strachan dcae0277f1 updated the comments a little 2012-03-26 10:56:51 +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
Alex Tkachman d0e7248ec1 KT-628 !! support 2012-03-26 11:37:40 +02:00
James Strachan 793e2a9317 fix compiler error 2012-03-26 09:31:03 +01:00
James Strachan b90fdf3d81 fix up test case 2012-03-26 09:10:46 +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
Andrey Breslav dd9c36387c KT-987 Unboxing nulls
#KT-987 Fixed
2012-03-26 11:42:34 +04:00
Andrey Breslav 6ce6855a91 Rename project to Kotln 2012-03-26 10:52:11 +04:00
James Strachan a194764657 added a helper method for converting functions into iterators (which have all the various standard library APIs on them) 2012-03-25 08:10:17 +01:00
James Strachan 85bf6dc5a7 fixed up setting the text on an element 2012-03-24 21:45:55 +00:00
James Strachan b688ff4a7c thanks to the heads up from Franck, I can work around KT-1646 - refactored previous Filter code to reuse the AbstractIterator base class and implemented filter/filterNot/filterIsInstance lazily 2012-03-24 21:14:54 +00:00
James Strachan e45cb714ab added test case for KT-1646 in an attempt to implement lazy filter/flatMap for Iterator 2012-03-24 20:29:11 +00:00
Stepan Koltsov 8ad5db5bd9 Fix KT-1639: extend JFrame
#KT-1639 Fixed
2012-03-24 20:36:43 +04:00
Leonid Shalupov b51805c84d plugin-publisher: add <idea-version since="IC-XXX.XX" /> to plugin.xml 2012-03-24 11:42:31 +04:00
Leonid Shalupov 6384bcb039 ReadMe: require ant 1.8 2012-03-24 11:41:27 +04:00
Andrey Breslav a89e26b3ac Fixed test paths in JS tests 2012-03-24 08:13:57 +01:00
Andrey Breslav e463226b24 Run js.tests in All Tests, remove testlib.tests 2012-03-24 08:05:42 +01:00
Stepan Koltsov f59104e922 fix kdoc generation 2012-03-24 03:33:14 +04:00
Nikolay Krasko 4d8b2d0727 Remove unnecessary code from the test 2012-03-24 02:51:11 +04:00
Stepan Koltsov 2e288fe1a0 CompileJdkHeadersTest 2012-03-24 02:25:14 +04:00
Stepan Koltsov 7836e44e70 Temporarily revert "kill JavaNamespaceDescriptor"
This reverts commit 3c45a1d60e.

This commit breaks compilation of jdk-headers. Explanation:

1. TopDownAnalyzer creates namespace java.util from sources
2. TopDownAnalyzer creates class Map in java.util
3. TopDownAnalyzer processes import java.util.Map.Entry
4. JavaDescriptorResolver resolves namespace java.util.Map
5. java.util.Map namespace is added to java.util namespace
6. redeclaration handler of namespace java.util crashes on Map
2012-03-24 02:23:30 +04:00
Andrey Breslav 41b8706708 Run js.tests in All Tests 2012-03-23 23:12:10 +01:00
Andrey Breslav cf108765ae KT-729 Need to support arrays as varargs: front-end checks done
#KT-729 In progress
2012-03-23 22:47:44 +01:00
Stepan Koltsov 7708b2d009 Work around missing jar
Somebody please fix it properly
2012-03-24 00:43:05 +04:00
Stepan Koltsov 3c45a1d60e kill JavaNamespaceDescriptor 2012-03-23 23:44:20 +04:00
Stepan Koltsov 8517fe6878 store namespace kind in trace, kill some JavaNamespaceDescriptor usages
JavaNamespaceDescriptor will be killed soon
2012-03-23 23:44:16 +04:00
Stepan Koltsov f73b2c01b4 wire trace into JavaDescriptorResolver 2012-03-23 23:44:12 +04:00
Andrey Breslav d27138e252 An exception fixed 2012-03-23 18:11:43 +01:00
Andrey Breslav aae196839e Reverting the pull-request #29 due to the upcoming redesign of the lazy collections API 2012-03-23 18:11:08 +01:00
James Strachan a18830ef29 working filterIsInstance() helper method for filtering on a sub type 2012-03-23 15:31:43 +00:00
James Strachan dadd288c40 switch to using an enum 2012-03-23 15:31:12 +00:00
James Strachan 8ab594193f Merge branch 'master' of github.com:JetBrains/kotlin 2012-03-23 15:09:57 +00:00
Nikolay Krasko 4311bcc929 #KT-1629 fixed Don't import jet.runtime.SharedVar.Int when typing "val a : Int = ..."
Completion testing framework extended with ability to assert tail text.
2012-03-23 18:36:51 +04:00
James Strachan 23e563b826 initial spike at implementing the standard collection functions on iterators; though compiler error prevented me from implementing all the lazy functions just yet 2012-03-23 11:36:11 +00:00
James Strachan 19cdb782ac added helper methods for iterating through next/previous nodes or elements on the DOM 2012-03-23 11:04:51 +00:00
James Strachan b2dd4cd590 updated the code generator of standard library methods and regenerated it 2012-03-23 11:04:04 +00:00
James Strachan c0cac21b8a added a helper method to filter a subset of an iterator by sub type 2012-03-23 11:03:38 +00:00
Andrey Breslav 90e5510b5d Support !!foo as a double-negation 2012-03-23 10:44:52 +01:00
Andrey Breslav 77159a0d8e Fixed the /**/ case. It is now a comment 2012-03-23 10:44:52 +01:00
Andrey Breslav 73baa8b65d Eliminate unneeded temporary trace 2012-03-23 10:44:52 +01:00