Commit Graph

392 Commits

Author SHA1 Message Date
dsavvinov 2eb91a093c Protobuf: added test-project for testing proto compiler 2016-08-12 17:46:35 +03:00
dsavvinov 1433242241 Protobuf: reformatted proto-tests, some redundant proto-tests were deleted 2016-08-12 17:46:35 +03:00
dsavvinov 039e59c0e6 Protobuf: fixed a bug in serialization of negative generic integer types (int32, int64) 2016-08-12 17:46:35 +03:00
dsavvinov 43f4f2f509 Protobuf: fixed a bug in estimating size of field of type = packed array. Now size of arrays properly adds to size of field, but not to size of array itself 2016-08-12 17:46:35 +03:00
Alexey Stepanov 25c536de9a translator: fix classes size 2016-08-12 17:25:50 +03:00
Alexey Stepanov 7942d7fe72 translator: fix boolean type in assert 2016-08-12 16:16:32 +03:00
Alexey Stepanov 4eedc0eabd proto: fix for make file, add paths to .gitignore 2016-08-12 15:46:36 +03:00
Alexey Stepanov f1063044cb translator: add assert to stdlib 2016-08-12 15:46:36 +03:00
e5l f9018a235a translator: working firmware, car_hw includes, blink and engines from kotlin 2016-08-12 12:20:22 +03:00
Alexey Stepanov abdc44b0a0 translator: fix class comparison in expressions, tests 2016-08-12 12:18:46 +03:00
Alexey Stepanov 143985a887 translator: rewrites hashcodes for classes 2016-08-12 11:05:18 +03:00
e5l 7fce334875 translator: fix stdlib, enum test 2016-08-12 10:58:56 +03:00
Alexey Stepanov 9c3de574fa translator: add operators ==, !=, ===, !== for classes 2016-08-12 10:41:45 +03:00
e5l fc9cfb902f translator: small cleanup 2016-08-12 10:30:23 +03:00
Alexey Stepanov 5a823a3c17 translator: add arraextensions to BooleanArray, ByteArray and ShortArray 2016-08-12 09:43:10 +03:00
e5l d15a7383b1 translator: log filename and line number 2016-08-11 19:49:52 +03:00
Alexey Stepanov 09c014fcfe translator: fix jars in kotlib 2016-08-11 19:28:20 +03:00
e5l ce1c07b009 Merge branch 'master' of https://github.com/olonho/carkot 2016-08-11 19:24:26 +03:00
Alexey Stepanov ddbcfe2f85 translator: add neq operator for reference type 2016-08-11 19:22:54 +03:00
e5l 74edb7b268 translator: correct protobuf, worked translator 2016-08-11 19:20:17 +03:00
Alexey Stepanov 742d7647d9 translator: weak fix for stdlib, add primitives for arm 2016-08-11 19:02:54 +03:00
Alexey Stepanov 1ba2ba35e2 translator: add custom type size dependenton on architecture 2016-08-11 18:56:13 +03:00
Alexey Stepanov 23787ba51b translator: add LongArray to stdlib 2016-08-11 18:54:44 +03:00
Alexey Stepanov d27a8e410d translator: fix multiple declarations in stdlib 2016-08-11 17:54:25 +03:00
Alexey Stepanov e2c1ddd7e2 translator: add comparison for floating point types 2016-08-11 17:54:25 +03:00
e5l 4fd441e861 translator: fix nested types resolve 2016-08-11 17:53:55 +03:00
e5l cf8dace083 translator: fixed proto runtime 2016-08-11 15:49:31 +03:00
e5l 1397ead8aa translator: rewrite companions usage, tests fixes, pointer loading fixes, name resolve fixes 2016-08-11 15:40:43 +03:00
e5l 71ad20ddab translator: fix enum naming and location resolve 2016-08-11 15:40:43 +03:00
dsavvinov cea504b095 Protobuf: removed named arguments in constructors and redundant init section from generated code 2016-08-11 13:51:36 +03:00
dsavvinov 32c26414d4 Protobuf: fixed a bug in estimating size of packed arrays element (now tags are properly dropped). Added corresponding functions in runtime 2016-08-11 13:51:36 +03:00
Alexey Stepanov 8137abae9f translator: add tests for IntArray extensions 2016-08-11 13:26:12 +03:00
Alexey Stepanov 8d4b644bdf translator: add println() 2016-08-11 13:06:20 +03:00
Alexey Stepanov 9452ae5a3b translator: fix IntArray.copyOfRange, add tests for IntArray extensions 2016-08-11 12:49:09 +03:00
Alexey Stepanov a8e843a10c translator: fix variable defenition via another variable 2016-08-11 12:49:09 +03:00
Alexey Stepanov 7faa437c7a translator: fix issue with string fucntion argument 2016-08-11 12:49:09 +03:00
Alexey Stepanov 7c01c2f2bc translator: add console output in stdlib 2016-08-11 12:49:09 +03:00
Alexey Stepanov 7c7f0e4484 translator: fix square brackets operator for binary expressions 2016-08-11 12:49:09 +03:00
dsavvinov 0f86f30623 Protobuf: added missing NoTag-versions of some serialization functions in runtime 2016-08-10 20:42:28 +03:00
dsavvinov d32ef8ee75 Protobuf: added generation of reference messages using Google's protoc and Java 2016-08-10 20:36:26 +03:00
dsavvinov aa3c411624 Protobuf: fixed bug in build script when JAR wasn't rebuild after changes in .kt-sources 2016-08-10 20:35:34 +03:00
dsavvinov 72a70b035d Protobuf: refactored tests for testing convinience 2016-08-10 20:35:21 +03:00
dsavvinov c9c3f91706 Protobuf: fixed a bug in name resolving 2016-08-10 20:30:13 +03:00
dsavvinov 458075312a Protobuf: reformatted tests for convinience of testing. Removed tests for fixed types (not needed at the moment) 2016-08-10 20:30:13 +03:00
dsavvinov 9d0fbebf3a Protobuf: fixed bug in desrialization of arrays 2016-08-10 20:30:13 +03:00
dsavvinov 4755882ef3 Protobuf: added proto-files for testing 2016-08-10 20:30:13 +03:00
Alexey Stepanov 2adb334e3f translator: fix class reassigment 2016-08-10 19:53:01 +03:00
Alexey Stepanov fb2e23913e translator: fix returning variable in if expressions, add IntArray.plus(IntArray) 2016-08-10 19:18:25 +03:00
Alexey Stepanov 6c509d0220 translator: add copyOfRange, plus extensions for IntArray 2016-08-10 18:33:35 +03:00
Alexey Stepanov 15cde9a2a9 translator: fix function extensions for reference classes, fix reference type name resolving 2016-08-10 18:33:35 +03:00