Commit Graph

432 Commits

Author SHA1 Message Date
dsavvinov ac0cdeb200 Protobuf: refactored file structore of protoc test project 2016-08-16 13:31:33 +03:00
e5l 888ead72e2 translator: fix block in when expression 2016-08-16 13:13:37 +03:00
e5l b3b7bdaa86 Merge branch 'master' of https://github.com/olonho/carkot 2016-08-16 12:34:19 +03:00
e5l 3c22d0946b translator: add while block, tests 2016-08-16 12:34:16 +03:00
Alexey Stepanov 178b911592 translator: fix strings, print(string) works 2016-08-16 12:15:52 +03:00
e5l c39bc80393 src/main/kotlin/DefaultArguments.kt 2016-08-16 12:01:08 +03:00
Alexey Stepanov cb1a1f3df6 translator: fix ambiguous test with println 2016-08-16 11:57:06 +03:00
Alexey Stepanov e9138df26b translator: purifier println for Byte and Int Arrays 2016-08-16 11:43:29 +03:00
Alexey Stepanov 46324a4030 translator: add parse for char type 2016-08-16 11:35:50 +03:00
Alexey Stepanov ad6babd035 translator: add println for ByteArray 2016-08-16 11:05:37 +03:00
Alexey Stepanov 14770a4485 translator: fix function extensions double argument 2016-08-16 10:53:07 +03:00
e5l 1f4e3d7205 translator: loglevel fix 2016-08-16 10:22:13 +03:00
e5l e66e0dc0fd translator: fix array access operator, serialization tests, add proto runtime to kotstd 2016-08-16 10:09:20 +03:00
e5l ee657d19a5 translator: serialization test 2016-08-15 18:45:53 +03:00
e5l f817fdab69 translator: car echo 2016-08-15 17:46:53 +03:00
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