Commit Graph

242 Commits

Author SHA1 Message Date
Alexey Stepanov c2fea4048c translator: add assigment operators 2016-07-22 17:10:07 +03:00
MaximZaitsev 7066ab7cec corrected file name in project 2016-07-22 16:39:32 +03:00
MaximZaitsev 6cb37cb229 js server. added interaction with main server 2016-07-22 15:21:09 +03:00
MaximZaitsev 3860150b50 replace google protobuf exception to kotlin exception 2016-07-22 15:21:09 +03:00
MaximZaitsev 5b71ae0692 corrected request and response url 2016-07-22 15:21:09 +03:00
MaximZaitsev 29f4c0c2d2 remove protobuf.jar from car emulator module 2016-07-22 15:21:09 +03:00
MaximZaitsev 4f6c39f26a add sh script for compile proto 2016-07-22 15:21:09 +03:00
MaximZaitsev 07132f8e03 added lib for kotlin protobuf and proto compiling kt to main server 2016-07-22 15:21:09 +03:00
MaximZaitsev e9dee66b90 java protobuf classes replaced to protokot 2016-07-22 15:21:09 +03:00
MaximZaitsev 310f81c69e added car uid to route done message 2016-07-22 15:21:09 +03:00
Alexey Stepanov a05307724c translator: add prefix operators - increment, decrement 2016-07-22 15:20:46 +03:00
e5l f8e4a296e2 translator: evaluate dot expression left part 2016-07-22 14:06:49 +03:00
e5l c243ab7fc0 translator: single-expression function 2016-07-22 13:26:23 +03:00
Alexey Stepanov 2193c0c6dd translator: fix name resolving in extension functions, add casts for all primitive types, add test on returning class instance 2016-07-22 13:21:30 +03:00
e5l 8a1d6a8e99 translator: functions and members overload 2016-07-22 12:12:13 +03:00
Alexey Stepanov 4e30698756 translator: tests fix 2016-07-22 11:52:06 +03:00
Alexey Stepanov b49c03de8b translator: add cast extensions, add float, long types, add support test order in tests, add Primitives in kotlib, fix extension function resolving 2016-07-22 11:46:15 +03:00
Alexey Stepanov 270fab189f translator: add function extensions 2016-07-21 19:10:04 +03:00
dsavvinov b223b4f9ae Protobuf: added runtime checks for wire types 2016-07-21 17:48:14 +03:00
e5l 74a22ed4f9 translator: reference reassignment, elvis operator, tests 2016-07-21 17:24:04 +03:00
dsavvinov 3a02c42d50 Protobuf: fixed a bug when fields with initial values were serialized anyway. Fixed a bug in methods, related to size estimation, now tags are properly included/excluded from total size depending on context 2016-07-21 16:14:09 +03:00
MaximZaitsev 1044a66da0 maked car moks on rapsberry. added handler for route from main server 2016-07-21 15:49:20 +03:00
dsavvinov 2520afd3aa Protobuf: fixed a bug in serialization/deserialization of repeated fields (now non-packed fields serialized properly) 2016-07-21 14:27:49 +03:00
Alexey Stepanov 10216da2f9 translator: fix support if without else, fix gitignore for gradle 2016-07-21 14:26:39 +03:00
Alexey Stepanov d8ab5e9e5f fix return type in when and if expressions, fix if expressions result variable 2016-07-21 14:09:15 +03:00
e5l a24cc9732f translator: elvis operator, fix includes in build system, gradle jar build 2016-07-21 13:44:49 +03:00
Alexey Stepanov df89bcc490 translator: add when block expression 2016-07-21 13:12:58 +03:00
Alexey Stepanov 8f908e3dd5 translator: add fields in companion objects, fix nested class resolve 2016-07-21 11:05:20 +03:00
e5l 500e36995c translator: compare references, null compare 2016-07-21 10:45:48 +03:00
e5l 120d77e3bd translator: fix reference matching 2016-07-21 09:51:25 +03:00
Alexey Stepanov e9a1d80f97 translator: add sceleton for companion fields, fix nested classes 2016-07-21 09:42:36 +03:00
dsavvinov 33836aeafb Protobuf: refactored generateSerializationCode() in FieldGenerator + some other little refactoring 2016-07-20 19:59:04 +03:00
Alexey Stepanov 7f90be6c0a translator: add companion objects with methods 2016-07-20 18:44:33 +03:00
dsavvinov bc533caae0 Protobuf: refactored generateSerializers() method into generateWriteTo() 2016-07-20 18:17:55 +03:00
e5l 622043e2a5 translator: nested class methods call 2016-07-20 18:14:27 +03:00
dsavvinov bd517508be Protobuf: added test for backward compability of messages, currently failing (proper parsing of unknown fields is needed) 2016-07-20 17:58:56 +03:00
dsavvinov de469ea0a1 Protobuf: fixed a bug in deserialization of messages with size 0. Corresponding test cross-branch-access.proto added 2016-07-20 17:58:56 +03:00
e5l b473dfc5e2 translator: nested classes fields access, tests 2016-07-20 17:44:42 +03:00
dsavvinov abdd9dd9eb Protobuf: fixed a bug in message deserialization when nested messages ignored their expected size and tried to parse themselves until the end of the input 2016-07-20 16:52:06 +03:00
MaximZaitsev 9da0c9cab5 checking validate ip addr 2016-07-20 16:48:11 +03:00
MaximZaitsev 68a1e1cd40 refactoring flash client 2016-07-20 16:45:09 +03:00
e5l ed4671f5c7 translator: class static scope feature 2016-07-20 16:27:31 +03:00
e5l e50a4ba224 translator: return reference test 2016-07-20 16:06:51 +03:00
MaximZaitsev 426fc9de81 commit for push proto files 2016-07-20 15:55:14 +03:00
MaximZaitsev 4beec6b50c added compile proto shell script to flash client and compiling in gradle 2016-07-20 15:55:14 +03:00
MaximZaitsev daf930b16d fixed error. command stop sending as forward 2016-07-20 15:55:14 +03:00
MaximZaitsev 4f36e58dd1 add compiling proto files and building of proto lib to gradle. maked refactoring 2016-07-20 15:55:14 +03:00
MaximZaitsev 8b7ebd6805 corrected proto files 2016-07-20 15:55:14 +03:00
e5l 3ad5bf7216 tranlator: fix reference in return 2016-07-20 15:47:13 +03:00
dsavvinov 322cd00867 Protobuf: fixed little typo in serialization of repeated fields 2016-07-20 15:45:55 +03:00