Commit Graph

24 Commits

Author SHA1 Message Date
Lonami Exo
0e43022959 Remove redundant import, show type instead TLObject on docstring 2018-01-19 13:40:04 +01:00
Lonami Exo
d515ede7da Fix TLParser not stripping inline comments 2017-11-30 13:34:55 +01:00
Lonami Exo
b3ca68b7d9 Avoid cyclic imports caused by #348 (fix #357) 2017-10-24 10:07:31 +02:00
Viktor Oreshkin
ee01724cdb Fix parsing for constructors and not objects (#348) 2017-10-16 20:15:22 +02:00
Viktor Oreshkin
1b71c6fbf1 Fix vector regex in parser (#347) 2017-10-16 19:19:16 +02:00
Lonami Exo
14791e1df1 Fix wrong type hint for int128 and int256 2017-09-28 10:12:39 +02:00
Lonami Exo
1593a4415e Fix None datetime being type hinted as invalid 2017-09-23 20:07:40 +02:00
Lonami Exo
81d4d76d16 Fix generated code showing the incorrent type hint for datetime 2017-09-19 13:20:34 +02:00
Lonami Exo
f7e4f3f678 Make type hinting on the generated code more IDE-friendly 2017-09-18 21:00:06 +02:00
Lonami Exo
97cab7347b Make lint happier 2017-09-04 17:10:04 +02:00
Lonami Exo
0e45f46ad5 Properly ignore core types when generating code 2017-09-04 16:38:03 +02:00
Lonami Exo
79ee98a4dd Infer the object ID from its TL definition when not given 2017-06-30 11:28:54 +02:00
Lonami Exo
1ca41b5854 Automatically infer the value for 'random_id' parameters 2017-06-11 19:16:59 +02:00
Lonami Exo
c6acd6adc5 Use only ASCII characters on the code (closes #104) 2017-06-10 13:39:37 +02:00
Lonami Exo
02a847b64a Make lint happier 2017-05-21 13:59:16 +02:00
Lonami Exo
ca80b05694 Add shebangs and set proper file permissions 2017-05-20 15:58:44 +02:00
Lonami Exo
c4447bf226 Distinguish between vector type and constructor (fix #81) 2017-05-19 09:41:22 +02:00
Lonami Exo
b84641023a Handle more cases where the type is a date 2017-05-19 09:30:30 +02:00
Birger Jarl
930dc99f31 Serialize flag_indicator argument to flags:# 2017-05-13 09:38:49 +02:00
Dmitry D. Chernov
6baad93938 SourceBuilder: Don't perform stream flushing twice
stream.close() always perform flush by itself
2017-05-09 19:50:46 +02:00
Fadi Hadzh
d087941bd0 Many code-style improvements 2016-11-30 00:29:42 +03:00
Lonami Exo
be94bff576 Patched code generator and updated README.rst removing markdown leftovers 2016-11-23 21:03:58 +01:00
Lonami
6642f73a3d Detect current MTProtoLayer automatically 2016-09-17 21:09:20 +02:00
Lonami
51a531225f Totally refactored source files location
Now it *should* be easier to turn Telethon
into a pip package
2016-09-17 20:45:12 +02:00