Commit Graph

417 Commits

Author SHA1 Message Date
Alexey Stepanov cb2eb96b64 translator: fix this in initialization in place 2016-08-15 17:45:59 +03:00
Alexey Stepanov 198924163e translator: order class fix 2016-08-15 17:07:46 +03:00
Alexey Stepanov 0d4e3dc8a8 translator: fix class class arguments, fix computing class size 2016-08-15 15:31:55 +03:00
MaximZaitsev 495d5c2428 add link to protokot src 2016-08-15 12:52:09 +03:00
MaximZaitsev d8334548d7 switch double to int32 in location data 2016-08-15 12:52:09 +03:00
MaximZaitsev d80c2ea903 fixed error 2016-08-15 12:52:09 +03:00
MaximZaitsev a9bfbf69f6 removed string fields from proto, replace repeated waypoints, switched double types to int32 2016-08-15 12:52:09 +03:00
dsavvinov 950d6e9f10 Protobuf: removed generating stub package in Protobuf messages. Fixed tests accordingly 2016-08-15 12:31:31 +03:00
dsavvinov ae25d50f15 protobuf: added gradle wrapper in test project 2016-08-15 12:18:18 +03:00
dsavvinov d34e9fe23d Protobuf: fixed mess with imports in protoc* tests 2016-08-15 12:18:18 +03:00
Alexey Stepanov 31ccb13ec5 translator: rewrite calculating class size - fix class allocation, test 2016-08-15 12:09:46 +03:00
e5l c42e82b209 translator: send proto 2016-08-15 10:41:41 +03:00
dsavvinov 1614d0848f Protobuf: added generation of symlink to build script 2016-08-12 19:44:10 +03:00
dsavvinov f75c0b7ef8 Protobuf: refactored build scripts into proto/compiler/directory, so now everything related to compiler resides in carkot/proto/compiler 2016-08-12 19:44:10 +03:00
dsavvinov cfb1fc1081 Protobuf: changed gitignore according to new file structure. Fixed typo in pre-build.sh 2016-08-12 19:44:10 +03:00
dsavvinov 66adf17490 Protobuf: prettified pre-build.sh. Now checking return codes of subroutines properly, exiting on errors. Returning error code properly 2016-08-12 19:44:10 +03:00
dsavvinov 4554e01226 Protobuf: refactored file structure in proto/. Changed build script accrodingly 2016-08-12 19:44:10 +03:00
e5l bd1198bca7 translator: object field default initialization 2016-08-12 18:14:44 +03:00
dsavvinov f25733223e Protobuf: added gradle config to test project 2016-08-12 17:46:35 +03:00
dsavvinov 640abc835f Protobuf: fixed Makefile to prevent deleting of tests sources on clean 2016-08-12 17:46:35 +03:00
dsavvinov a21b818b85 Protobuf: fixed a couple of bugs in binary serialization format and size estimation 2016-08-12 17:46:35 +03:00
dsavvinov 3e31ee9c1b Protobuf: added proper error handling for unknown fields, updated error_codes. Fixed a bug, when errorCode field could be resetted to 0 2016-08-12 17:46:35 +03:00
dsavvinov 041f5a539a Protobuf: reworked size estimation of fields 2016-08-12 17:46:35 +03:00
dsavvinov 13bac3aa11 Protobuf: refactored name of integer argument of enums in generated code 2016-08-12 17:46:35 +03:00
dsavvinov dbcd02efb5 Protobuf: rewrited Makefile for protoc* according to new file structure of test project 2016-08-12 17:46:35 +03:00
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