Commit Graph

7052 Commits

Author SHA1 Message Date
Alex Tkachman d6e614a2d4 KT-2566 fix - accessors naming 2012-08-02 19:07:55 +03:00
Evgeny Gerashchenko 6062e0e03d Updated mappings to IDEA soruces in project structure. 2012-08-02 16:10:17 +04:00
Evgeny Gerashchenko db101f732e Made some fields final in AlternativeSignatureData. 2012-08-02 16:06:10 +04:00
James Strachan 7400a373b0 made ResultSet.map() lazy by default - to save blowing RAM by always making a List of all results 2012-08-02 12:41:52 +01:00
James Strachan 9a33ca43bb added a test case showing map() in use 2012-08-02 12:21:42 +01:00
James Strachan 7eba9c3896 let Connection.use() return a T 2012-08-02 12:06:08 +01:00
James Strachan 137eee3f45 moved the Map<String,String>.toProperties() helper function into the standard library and added a test case 2012-08-02 11:57:12 +01:00
James Strachan 94cdbb0f08 refactored tests to use the neater annotation based test functions 2012-08-02 11:45:54 +01:00
James Strachan 1a35061693 Merge pull request #116 from cy6erGn0m/3cf1fd5377f4cf6c719c93f513bbd2b96a1213b3
kotlin-jdbc: Additional extenstions to work with ResultSet
2012-08-02 03:38:06 -07:00
James Strachan f53a40d1e0 lowered the maven requirement version a little 2012-08-02 10:14:01 +01:00
Nikolay Krasko 600349f5be Handle URL from class loader with unescaped chars too 2012-08-02 11:46:00 +04:00
Alex Tkachman b52b92cd31 one more test for scripts 2012-08-02 09:31:32 +03:00
Alex Tkachman 46611bde09 fix import 2012-08-02 08:08:10 +03:00
Alex Tkachman 45a08ff9ae revert changes done in attenpt to fix the build as now indications it helped 2012-08-02 07:44:48 +03:00
Alex Tkachman 380d7add9f another attempt to fix broken (windows) cli test on public server 2012-08-02 07:27:15 +03:00
Alex Tkachman 29054586d3 default imports added to script definitions 2012-08-01 23:05:56 +03:00
Nikolay Krasko 2677c8842e An attempt to fix build on public server 2012-08-01 21:52:02 +04:00
Alexander Udalov a85f46816e KT-937 When loading array types from Java project them so that they are covariant
#KT-937 Fixed
2012-08-01 21:27:57 +04:00
Nikolay Krasko 8550b74fdb Move to Community Dist configuration and more recent version 2012-08-01 20:02:15 +04:00
Svetlana Isakova b5229b8b3d tests for type inference tasks added
#KT-742 fixed
 #KT-832 fixed
 #KT-943 fixed
2012-08-01 17:03:53 +04:00
Svetlana Isakova 6d9529e826 KT-948 Make type inference work with sure()/!!
!! part fixed
2012-08-01 17:03:52 +04:00
Svetlana Isakova 4e0a9f2af6 type inference errors improvement
if constraint system without expected type was successful,
expected type mismatch error should be generated (instead of conflicting substitutions error)
 #KT-731 fixed
2012-08-01 17:03:52 +04:00
Svetlana Isakova 077f0084bd test for kt-702 added
#KT-702 fixed
2012-08-01 17:03:52 +04:00
Pavel V. Talanov 1bf2ded875 Move sortDiagnostics to DiagnosticUtils and convert to sortedDiagnostics. 2012-08-01 16:26:14 +04:00
Pavel V. Talanov d45145b3a7 Use first text range for diagnostics with multiple ranges.
Move TEXT_RANGE_COMPARATOR to DiagnosticUtils.
2012-08-01 16:26:13 +04:00
Pavel V. Talanov f58ba37d4f Refactor AnalyzerWithCompilerReport: introduce TEXT_RANGE_COMPARATOR. 2012-08-01 16:26:11 +04:00
Pavel V. Talanov 714aa04924 KT-2524: Standalone compiler prints diagnostics in random order.
#KT-2524 Fixed
2012-08-01 16:26:10 +04:00
Pavel V. Talanov 17ad514672 Split source roots in CL arguments. 2012-08-01 16:26:09 +04:00
Pavel V. Talanov 0f8113b345 Adopt tests for classes and nameclashes from codegen. 2012-08-01 16:26:08 +04:00
Nikolay Krasko 632353610f Move to 120.214 build on public teamcity build server 2012-08-01 13:36:15 +04:00
Natalia.Ukhorskaya b34992dff1 Fix failed CliTest for Windows 2012-08-01 13:20:26 +04:00
Alex Tkachman e134969896 making script classes useful/accessable for the rest of the world 2012-08-01 09:58:01 +03:00
Evgeny Gerashchenko 1a918d52bb KT-2415 Thread.currentThread() is not null
KT-2411 CharSequence.toString() must return not-nullable string

 #KT-2415 fixed
 #KT-2411 fixed
2012-07-31 22:53:53 +04:00
Evgeny Gerashchenko ab5505eed2 Using equals to compare ranges in CollectionTest. 2012-07-31 22:15:07 +04:00
Evgeny Gerashchenko 5cd7df95a1 Added proper equals and hashCode methods to range classes. 2012-07-31 22:15:07 +04:00
Evgeny Gerashchenko 1a1661c15f Minor 2012-07-31 22:15:07 +04:00
Evgeny Gerashchenko 5667e76f4f Added Int.indices extension property. 2012-07-31 22:15:07 +04:00
Evgeny Gerashchenko 69313ae3be Removed redundant null checking. 2012-07-31 22:15:07 +04:00
Alexander Udalov 926e01be9c decrease recursion depth to fix failing codegen test on Android 2012-07-31 20:45:06 +04:00
Evgeny Gerashchenko 7e81898b9f Reverted debug output. 2012-07-31 20:25:03 +04:00
Evgeny Gerashchenko 7370107616 Optimized reading external annotations: now they when annotations file is accessed, it's parsed data is stored in cache. 2012-07-31 20:16:05 +04:00
Alexander Udalov dcd5cad427 KT-2280 Recursive function declared in function results in VerifyError
#KT-2280 Fixed

A closure's constructor should not take an instance of itself as an
argument, because it would require caller to pass yet uninitialized
value. Instead it should initialize a corresponding field with 'this'
2012-07-31 19:38:14 +04:00
Pavel V. Talanov b883bf6ef5 Adopt more tests for functions from codegen tests.
Create test for KT-2565.
2012-07-31 18:51:13 +04:00
Pavel V. Talanov 0710efdc16 Add tests for newly discovered issue with ECMA5 and top level vars in root scope. 2012-07-31 18:51:12 +04:00
Evgeny Gerashchenko 942c1ee9d9 Reverted fix for KT-2042 Kotlin SDK must be explicitly specified for each module that uses Kotlin
#KT-2042 reopened
2012-07-31 18:19:40 +04:00
Maxim Manuylov 1f3aa6699c fix tests 2012-07-31 17:36:20 +04:00
Nikolay Krasko 8839630ef7 Move to 120.286 build on local build server 2012-07-31 17:18:56 +04:00
Evgeny Gerashchenko 72c39dc903 Renamed doDoMain -> doMainNoExit. 2012-07-31 16:45:13 +04:00
Maxim Manuylov 95c9c11d8d fix test data 2012-07-31 16:43:58 +04:00
Maxim Manuylov 2d6158b9d8 annotations 2012-07-31 16:43:58 +04:00