Commit Graph

38 Commits

Author SHA1 Message Date
levlam
a53fb1d1ee Fix children type names. 2023-06-26 20:31:26 +03:00
levlam
ac018e21b2 Add write_tl_to_multiple_files to allow C++ autogenerated header splitting. 2023-06-26 19:25:40 +03:00
levlam
014f880e41 Simplify get_children_types usage. 2023-06-26 17:10:04 +03:00
levlam
f4b4893124 Support additional headers in gen_output_begin. 2023-06-26 17:01:19 +03:00
levlam
6e543d3cdd Add get_children_types helper. 2023-06-26 15:56:15 +03:00
levlam
496dc3284e Always compare file content before replacing it. 2023-06-26 15:08:36 +03:00
levlam
c8824c15fd Generate forward declarations near class definitions. 2023-06-26 14:36:30 +03:00
levlam
aab207cdd2 Extract gen_output_begin_once from gen_output_begin. 2023-06-26 13:14:26 +03:00
levlam
6ce85fdc4f Remove explicit mode parameter from tl_file_utils. 2023-06-26 06:59:19 +03:00
levlam
29ca948f09 TL-generate: split write_tl to several functions. 2023-06-26 06:47:54 +03:00
levlam
4db4828726 Remove unused Object forward declaration. 2023-06-26 00:55:53 +03:00
levlam
c923396751 Suppress warning in Release build. 2023-05-11 11:49:31 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
Andrea Cavalli
48a93aadb9
Support function generic result type (#1809)
Fixes #1708
2022-03-14 16:29:17 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
4533f79338 Don't generate MASK for parsed object/vector fields. 2021-11-01 20:48:06 +03:00
levlam
d225bdf073 Improve tdtl C++03 compatibility. 2021-10-20 01:01:22 +03:00
levlam
a4e1839089 Generate only needed telegram_api full constructors. 2021-08-01 07:23:50 +03:00
levlam
8398a6f19d Remove more default constructors of telegram_api classes. 2021-07-31 09:21:12 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
f553638521 Use full path in tdtl includes. 2020-12-22 01:56:36 +03:00
levlam
7b4afb7673 tdtl: always recalc number of simple constructors.
GitOrigin-RevId: dcc2c48f29d8a8f039bb53ec69c8b3076b153608
2020-10-17 00:47:05 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
7842b174b2 Do not generate empty constructor for functions.
GitOrigin-RevId: 9a83f40616728dd814ca4ce5424b955b17ca4dfe
2019-11-22 18:48:03 +03:00
levlam
003c93f0d6 Improve parameter names.
GitOrigin-RevId: 9eb8a512d2f908ef5cb725eed74b1d979ead9ef2
2019-11-22 18:21:13 +03:00
levlam
1823cad280 Minor tl_generate improvements.
GitOrigin-RevId: 2b76bb22c02e9dc42020fec46c348a8f3b0db102
2019-11-22 15:57:03 +03:00
levlam
6d53f3a85a Add field_num to gen_fetch_function_begin.
GitOrigin-RevId: a8679b71820cbd500ee489dec3a828eeec358080
2019-11-21 18:09:52 +03:00
levlam
26c5328b89 Do not generate default constructors.
GitOrigin-RevId: 89afa038ad99739ca0465e05a2e123ac60e7fa7a
2019-11-21 17:53:39 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
9ea321b252 Remove uneeded warning.
GitOrigin-RevId: 63933b5e7ae003e350c52cc9758b844cebc2b961
2018-12-27 04:41:47 +03:00
levlam
28bfa4c4a6 Fix some MSVC Analyzer warnings.
GitOrigin-RevId: f62e8173ae9a5b78818f6575548ce22d4aa5c51d
2018-10-26 17:11:20 +03:00
levlam
eb4c85a797 Fix CE.
GitOrigin-RevId: 0bb7986447b8c9fcdc80b8caf1feb03f8a945d90
2018-09-26 03:54:37 +03:00
levlam
ca58d36d4d Return parent type from tl_object::fetch to reduce number of unique_ptr types in header.
GitOrigin-RevId: c2bfa4b2879c8ee3a0feda50fca605a58673cc87
2018-09-25 06:26:36 +03:00
levlam
0bbad22da4 Move tl utils functions to tl_file_utils.
GitOrigin-RevId: 4b061356cc965e972af6d640507076a10743a20a
2018-03-16 16:33:27 +03:00
levlam
ea504ae920 Better remove_documentation.
GitOrigin-RevId: ba92888e8278594dc6be6035a40e1292110ca647
2018-03-16 16:07:34 +03:00
levlam
8c45a03244 tdtl: pass class_name to constructor generators.
GitOrigin-RevId: 217c0cbd9eb99777f8970879d9b3da42cd6c8a02
2018-01-09 18:56:58 +03:00
levlam
5cbda834bd Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
2018-01-02 16:45:09 +03:00
Arseny Smirnov
71d03f39c3 Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00