Commit Graph

207 Commits

Author SHA1 Message Date
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
MaximZaitsev 605d28da5e modified git ignore 2016-07-20 10:44:47 +03:00
e5l 3e0cc75a3a translator: class and objects fields 2016-07-19 19:42:31 +03:00
e5l a1ee214c90 translator: object and class fields 2016-07-19 18:07:21 +03:00
Alexey Stepanov e9a7d75e0e translator: fix methods argument order 2016-07-19 17:51:46 +03:00
Alexey Stepanov 114a939c77 translator: add resolve Byte, Char and Boolean types, fix char type, add byte type 2016-07-19 17:20:50 +03:00
e5l 7d4e608072 translator: reference type move without copy, tests 2016-07-19 17:14:19 +03:00
Alexey Stepanov 22890b0cea translator: add init section, refactor FunctionCodegen, add BlockCodegen 2016-07-19 16:33:30 +03:00
e5l 75d386aede translator: Nullable types support 2016-07-19 16:07:10 +03:00
Alexey Stepanov 62e444c571 translator: add object declarations 2016-07-19 14:25:24 +03:00
e5l 73d93c34ae translator: fields generation, parsing var(val) type reference 2016-07-19 14:02:00 +03:00
e5l 452fbe65b2 translator: fix allocation type on primitive type 2016-07-19 12:34:44 +03:00
e5l 84cbaa0f5b translator: additional tests for classes and callbacks 2016-07-19 12:23:22 +03:00
e5l f98ce01864 translator: load arguments everywhere 2016-07-19 11:52:54 +03:00
Alexey Stepanov a5cb041836 translator: add basic for enum types 2016-07-19 11:42:46 +03:00
e5l 1636726349 translator: fix function result store 2016-07-19 10:14:02 +03:00
Alexey Stepanov e0696b6def translator: fix gitignore 2016-07-19 10:11:51 +03:00
Alexey Stepanov bfb85f3c13 translator: fix test for idea 2016-07-19 10:10:48 +03:00
Alexey Stepanov 8f92db7e1b translator: fix loading references 2016-07-19 09:41:47 +03:00
dsavvinov 519b8e880a Protobuf: fixed stub in name resolving. Now all names are resolved properly; full-qualified access is used in generated code. Added corresponding test 2016-07-18 19:27:37 +03:00
dsavvinov 8552e0b778 Protobuf: Fixed stub in length-delimited fields serialization. Now related methods write size of object correctly. Added necessary methods for estimating byte-size of objects in run-time in ProtoKot runtime-library. 2016-07-18 19:27:37 +03:00
dsavvinov f6790e43ae Fixed order of fields serialization according to Google Protobuf's requirements 2016-07-18 19:27:37 +03:00
dsavvinov 86f65d6a6a Removed nullable types from generated code 2016-07-18 19:27:37 +03:00
Alexey Stepanov 7912da79ba translator: add binary operations 2016-07-18 17:47:02 +03:00