Commit Graph

2117 Commits

Author SHA1 Message Date
James Strachan ad9a83854e added an optional project which just contains the stdlib and testlib (I was having issues trying to use everything together when trying to just work on stdlib/testlib) 2011-12-20 16:29:38 +00:00
James Strachan fee6bed2d4 removed the create() methods; added linkedList<T>(varargs) helper method and made filter/flatMap/map all allow an optional argument for the kind of collection to filter/flatMap/map into. I've temporarily commented out Alex's implementation of Iterable.filter in Filters.kt as I was getting all kinds of compile error messages. Will discuss this on the list & how better to organise the functions into files 2011-12-20 16:28:18 +00:00
Alex Tkachman d37c6976b1 methods for iterators and filters 2011-12-20 15:56:10 +02:00
Alex Tkachman 117f03cbbf System.timeMillis method renamed to measureTimeMillis and measureTimeNano added 2011-12-20 12:54:21 +02:00
Andrey Breslav 0134276930 Merge remote branch 'origin/master' 2011-12-20 14:21:59 +04:00
Andrey Breslav 4d4a45f79a KT-860 ConcurrentModificationException in frontend 2011-12-20 14:21:45 +04:00
Alex Tkachman 63cb29f912 System.timeMillis method 2011-12-20 11:24:08 +02:00
Alex Tkachman ccdc80d1fe fix for while-loop-ending-with-if bug 2011-12-20 11:23:13 +02:00
Alex Tkachman 78a2845604 better error reporting 2011-12-20 09:17:16 +02:00
Stepan Koltsov 50400fd707 ReadClassDataTest: trait 2011-12-20 00:28:30 +04:00
Stepan Koltsov c1bc5ceb99 enable class content serialization in ReadClassDataTest; add test for function params with upper bounds 2011-12-20 00:28:27 +04:00
Stepan Koltsov c68f1e2409 work around javac bug, fix tests 2011-12-19 23:21:52 +04:00
Nikolay Krasko 23f4f80a52 Make a parameterized test 2011-12-19 21:42:33 +04:00
Stepan Koltsov bf751bfa98 read upper bound from jet signature, merge dup code 2011-12-19 21:36:46 +04:00
Stepan Koltsov f0dfa436ad create TypeParameterDescriptorInitialization 2011-12-19 21:36:34 +04:00
Stepan Koltsov 67ca049683 TypeParameterDescriptor.initialized
Internal state checks

Also add a missing initialization
2011-12-19 21:36:03 +04:00
Stepan Koltsov dfdd5959d3 working on type type from class importer, properly initialize TypeParameterDescriptor 2011-12-19 21:35:56 +04:00
Nikolay Krasko d88cd7752b Try to fix test 2011-12-19 20:49:21 +04:00
Dmitry Jemerov e3cdb05866 remove extension registration which is now taken care of by JavaCoreEnvironment 2011-12-19 17:41:57 +01:00
Nikolay Krasko 17e8a2663d KT-805 Auto import on code completion insert (multifile test) 2011-12-19 19:32:02 +04:00
Alex Tkachman e19acf4922 LockPerf benchmark 2011-12-19 15:57:48 +02:00
Alex Tkachman 2ae3e9e6c6 Thread.kt 2011-12-19 15:55:00 +02:00
Alex Tkachman 1e471aa9c4 synchronized method 2011-12-19 10:21:17 +02:00
Alex Tkachman 9a7d947899 constant for Function0 added 2011-12-19 09:26:04 +02:00
Alex Tkachman c6b69cad2c test for obsolete KT-772 2011-12-19 07:47:26 +02:00
James Strachan 7e93494e2f renamed the sort() methods on Iterable which create a new List and sort that as "toSortedList()" instead which is more accurate. 2011-12-18 08:15:39 +00:00
James Strachan b9c1b2cbfe Merge branch 'master' of git+ssh://git.labs.intellij.net/jet 2011-12-18 07:18:30 +00:00
James Strachan d122929b4b first cut of the collection methods in the standard library in http://confluence.jetbrains.net/display/JET/Standard+Library along with a little testlib to test them. Still a few TODO things and tidy up (and am sure a few more methods could be very handy too) but its getting Kool :) 2011-12-18 07:17:38 +00:00
Alex Tkachman 6039b0e721 test for unreproducable KT-779 2011-12-17 19:02:37 +02:00
Alex Tkachman 9f32a56a07 test for KT-511 2011-12-17 12:40:01 +02:00
Alex Tkachman 935a8cd2fa iterables for primitive types 2011-12-17 09:47:14 +02:00
Andrey Breslav 9dc37438bc Patch by Pavel Talanov. Refactoring in OperatorConventions.java 2011-12-16 16:29:07 +04:00
James Strachan 55ba7c0fde added a first spike of the collection-like methods based on this doc http://confluence.jetbrains.net/display/JET/Standard+Library 2011-12-16 11:29:11 +00:00
svtk 47578b05f9 KT-843 Don't highlight incomplete variables as unused 2011-12-16 14:46:05 +04:00
Nikolay Krasko 26ec797444 KT-805 Auto import on code completion insert (Initial version) 2011-12-16 13:23:58 +04:00
Nikolay Krasko d604591c5c Merge branch 'master' of git+ssh://git.labs.intellij.net/jet 2011-12-16 13:20:47 +04:00
Alex Tkachman a984b609bc KT-846: better (and correct) names for shared vars 2011-12-16 13:10:20 +04:00
Alex Tkachman fb27805c68 some methods from Arrays added to stdlib 2011-12-16 13:10:18 +04:00
Andrey Breslav 7089bbfcae Debug highlighting for error types 2011-12-16 13:10:17 +04:00
Stepan Koltsov 068780f840 reading class signature (incomplete) 2011-12-16 13:10:15 +04:00
Stepan Koltsov f8c9f24d60 split readClass tests into directories 2011-12-16 13:10:14 +04:00
Stepan Koltsov 9cdb586c36 fix ReadClassDataTest 2011-12-16 13:10:12 +04:00
Stepan Koltsov a8640c1ec4 parse method in/out parameters 2011-12-16 13:10:10 +04:00
Stepan Koltsov 08647b4ae7 rename @JetSignature to @JetClass, better constants in StdlibNames 2011-12-16 13:10:09 +04:00
Alex Tkachman c90a6263a1 class object field access 2011-12-16 13:10:07 +04:00
Andrey Breslav 55c11d0f44 KT-847 Allow "this" without {} in string templates 2011-12-16 13:10:06 +04:00
Andrey Breslav 94ad86e79e Patch by Sergey Ignatov:
KT-841 Add constructor by default for abstract classes from Java
2011-12-16 13:10:04 +04:00
svtk e5b8d0423a KT-816 Add std namespace in to default imports 2011-12-16 13:10:02 +04:00
Stepan Koltsov eff7903b56 dummy implementation of method type parameters reader and refactoring 2011-12-16 13:10:01 +04:00
Stepan Koltsov 778fa2ed63 test class data reading by comparing serialization to string 2011-12-16 13:09:59 +04:00