Commit Graph

230 Commits

Author SHA1 Message Date
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
dsavvinov 8566ccdfe3 Protobuf: removed trash files from ProtoKot Runtime sources folder 2016-07-20 15:41:26 +03:00
dsavvinov bee4c839d2 Protobuf: refactored FieldGenerator interface heavily. Now it offers much more clearier interface for names getting (separating simple names from full-qualified names) 2016-07-20 15:41:26 +03:00
Alexey Stepanov 5d58ddd8bb translator: add array c lib, fix gitignore 2016-07-20 15:39:05 +03:00
Alexey Stepanov 2c42b7680e translator: add multifile translation, kotlib with fixs, fix bytearrays, add tests for bytearray 2016-07-20 14:19:25 +03:00
e5l da99860c98 tranlator: nested classes declaration 2016-07-20 13:41:39 +03:00
Alexey Stepanov e645de1e7c translator: add ByteArray, kotlib, fix test for kotlib 2016-07-20 12:52:47 +03:00
Alexey Stepanov b345eeff4f translator: fix object calls 2016-07-20 12:38:26 +03:00
Alexey Stepanov 5b53edfc28 translator: fixes for method calls, class return, this arg 2016-07-20 12:18:48 +03:00
e5l 3d08d37735 translator: fix tests answers 2016-07-20 11:04:31 +03:00
e5l a8d2798e58 translator: nullable tests, fix null reassignment, fix reference assignment 2016-07-20 10:55:12 +03:00
MaximZaitsev e190c2a377 added handlers for udev monitor 2016-07-20 10:44:47 +03:00
MaximZaitsev dd75c8bec4 corrected main.js 2016-07-20 10:44:47 +03:00