Alexander Gorshenev
4dba5fdec4
Disable NAN toString test for now.
2016-12-07 00:22:50 +04:00
Konstantin Anisimov
b71ee37669
TEST: array_list1 test enabled
2016-12-06 16:44:44 +03:00
Nikolay Igotti
527efa661b
Boundary values and their toString() test. ( #90 )
2016-12-06 16:03:23 +03:00
Vasily Levchenko
8892986be3
TEST:objects and companion objects.
2016-12-06 13:53:07 +03:00
Nikolay Igotti
618bf4cb80
Hash map by @elizarov, more stdlib code ( #112 )
2016-12-06 13:31:43 +03:00
Svyatoslav Scherbina
737a132b5d
Review feedback
2016-12-05 15:17:40 +07:00
Nikolay Igotti
83dcb0fc3a
Fix array init and add listOf(). ( #109 )
2016-12-02 13:18:57 +03:00
Alexander Gorshenev
62be62e5d6
Added a test for exception handling in 'start'.
2016-12-01 19:20:12 +04:00
Alexander Gorshenev
3f480eb846
Transfer C argv to Kotlin's args.
2016-12-01 19:20:12 +04:00
SvyatoslavScherbina
e38ac775ad
Calling Kotlin from C++ runtime ( #107 )
...
* backend: support exporting Kotlin functions for C++ runtime
* runtime: implement several functions in Kotlin
* Throw{NullPointer,ArrayIndexOutOfBounds,ClassCast}Exception
* runtime: add literal declared in Kotlin as empty string
Also
* add corresponding test
* use empty string literal in strdedup2
(however keep it disabled)
* fixup! runtime: add literal declared in Kotlin as empty string
* Review feedback: add more TheEmptyString() usages
Also improve string index checks in runtime
2016-12-01 16:10:03 +03:00
Nikolay Igotti
f9167ea91e
Attempt of listOf() support. ( #92 )
2016-12-01 16:09:26 +03:00
Nikolay Igotti
85aca55ee5
Add hashCode() for primitives. ( #104 )
2016-12-01 16:07:06 +03:00
Nikolay Igotti
bb6da99feb
Fix ArrayList tests.
2016-11-30 17:39:50 +03:00
KonstantinAnisimov
90b6a12a5c
Canonical name ( #99 )
...
* TEST: enabled testRetainAll
* Method resolution spared of annotations and generics
* TEST: test for canonical names "interface+generic" added
* Methods' canonical names support:
- Recursive iteration of method argument types
- Arguments in question are delivered from topmost overriden ancestor of this method
2016-11-30 16:19:28 +03:00
Nikolay Igotti
e9b0ebb95e
Ranges support. ( #73 )
2016-11-30 15:38:47 +03:00
Nikolay Igotti
d4fda3bfe2
String <-> CharArray conversion, ArrayBuilder by @elizarov ( #98 )
2016-11-30 13:06:36 +03:00
SvyatoslavScherbina
075562f46b
Merge pull request #93 from JetBrains/try-catch-finally
...
Implement throw and try-catch-finally in backend
add corresponding tests
2016-11-29 15:01:23 +07:00
Vasily Levchenko
c35af302b0
TEST: coercion test enchancement from @olonho
2016-11-28 19:32:37 +03:00
Alexander Gorshenev
5627688390
A million element byte array segfaults
2016-11-28 20:15:15 +04:00
Svyatoslav Scherbina
e2dbeae85e
backend: add tests for try-catch-finally and throwing exceptions
...
also add some tests for bugs with unreachable code handling and variables
2016-11-28 20:24:27 +07:00
Nikolay Igotti
3d2166410c
TEST: Coercion to Unit and ++/-- tests. ( #87 )
2016-11-27 11:22:54 +03:00
Nikolay Igotti
29c0eda720
Array list, implementation by @elizarov ( #84 )
2016-11-26 16:30:15 +03:00
Alexander Gorshenev
268e3b26c0
A couple of new tests
...
for boxing
and for body assignment in an interface
2016-11-24 17:46:16 +04:00
Nikolay Igotti
81811e8c3a
TEST: throw keyword support.
2016-11-22 14:36:09 +03:00
Nikolay Igotti
c54e786c33
TEST: Ternary operator test.
2016-11-21 20:36:40 +03:00
Nikolay Igotti
72da55623c
Add basic iterators. ( #58 )
2016-11-21 13:21:23 +03:00
Nikolay Igotti
16a44ef765
Fix test that would require autoboxing.
2016-11-16 16:28:25 +03:00
Nikolay Igotti
26e8b4860a
Enable array1 test.
2016-11-16 16:24:33 +03:00
Nikolay Igotti
db15540a74
Review feedback on previous changes. ( #64 )
2016-11-16 10:46:56 +03:00
Nikolay Igotti
c5cfa0ac4f
Add String.subSequence implementation. ( #61 )
2016-11-15 13:27:21 +03:00
Nikolay Igotti
ae5e838305
Add overrides by name. ( #54 )
2016-11-14 13:25:50 +03:00
Svyatoslav Scherbina
f389ebf687
backend/tests: update resolved symbol names
...
according to new mangling scheme
2016-11-14 13:33:47 +07:00
Nikolay Igotti
4b7f67d976
Fix array accessor signatures, add array test to fix.
2016-11-11 16:21:48 +03:00
Nikolay Igotti
720947facb
Alloc arrays, fix RTTI for Any ( #49 )
2016-11-11 15:03:49 +03:00
Nikolay Igotti
af85121b2c
Add primitive types to String conversion. ( #50 )
2016-11-11 14:16:15 +03:00
Nikolay Igotti
91035b692b
Add more console operations, nicer naming in natives. ( #46 )
2016-11-08 17:38:36 +03:00
Nikolay Igotti
f06aeef9ce
Some work for string concatenation. ( #40 )
2016-11-07 15:58:11 +03:00
Nikolay Igotti
283303210f
Rename kotlin_native -> kotlin.
2016-11-01 16:13:46 +03:00
Nikolay Igotti
7eeb2d3046
Various fixes for HelloWorld. ( #27 )
2016-11-01 15:33:41 +03:00