Commit Graph

64 Commits

Author SHA1 Message Date
pkurchatov 43aa64ac29 Updated boolean_int type 2023-07-07 14:51:14 +03:00
pkurchatov f4dd4eb9fe Updated Kotlin json builder 2023-07-01 01:43:21 +03:00
timatifey 9f35e92846 move swift & doc codegen properties 2023-06-21 13:19:00 +03:00
p-mosein 8a26d061a9 Bump pydivkit and python codegen 2023-06-08 17:24:57 +03:00
Ivan Glebov 27bbaaf0a1 Refactor generator.py
Pull Request resolved: #25
2023-05-31 15:06:01 +03:00
pkurchatov aca4a8f13f arc files cleanup 2023-05-29 20:15:59 +03:00
robot-divkit c0ce4dd69b Update translations 2023-04-28 17:05:24 +03:00
grechka62 f7e1b15770 Fix entity enumeration names with no common parts 2023-04-25 23:55:02 +03:00
vyaivanove f13d2b1585 Fixed generator creating optional fields with validators when not needed 2023-04-20 11:57:52 +03:00
robot-piglet 759deafa17 Intermediate changes 2023-04-11 16:40:52 +03:00
timatifey fb03694c69 kotlin int to long 2023-04-10 18:40:04 +03:00
pkurchatov a993be72ce merged TemplateDeserializable and TemplateValue protocols 2023-04-10 13:50:47 +03:00
robot-divkit 272522ac1b Update translations 2023-04-07 16:55:58 +03:00
pkurchatov 60017cd013 template types refactoring 2023-04-07 00:24:24 +03:00
pkurchatov c23c4c736c Merged TemplatesSupport into DivKit 2023-04-06 14:30:51 +03:00
gulevsky ff0d90edeb opt-in primary constructors of div models 2023-03-29 12:39:05 +03:00
ventywing 4688afe633 Change Int to Long. 2023-03-28 22:09:24 +03:00
robot-divkit 0cb40fae09 Update translations 2023-03-16 14:15:22 +03:00
timatifey a58ed1e458 Data.State factory method refactoring 2023-03-07 17:51:33 +03:00
timatifey fe31080bd3 divan alias factory name
alias factory name
2023-03-07 14:42:17 +03:00
timatifey 1a8ce3e2fa generator properties & forced property order & factories 2023-03-06 13:21:24 +03:00
timatifey d4927ffa18 divan factory utils & refactoring 2023-03-02 14:12:28 +03:00
man-y 28b124813a Generation of the main functionality
Generation of the main functionality
- fix non-deterministic sorting of objects
- generate data classes and check functionality
- rewrite entity_enumeration declaration
- generate default values
- generate description to values
- custom wrapper to parse primitive types
- generate map and maybeMap aka freezed funcs
- generate class deserialization fromJson
- add simple unit test to check the basic components
- clean
2023-03-02 12:18:32 +03:00
pkurchatov 086683d754 removed clientMinItems 2023-02-27 19:35:52 +03:00
robot-divkit c92258828c Update translations 2023-02-17 13:36:04 +03:00
grechka62 748b07de99 Update translations 2023-02-10 14:28:50 +03:00
timatifey 6c72069319 enum values 2023-02-02 14:06:38 +03:00
man-y d0910e640d DivKit api_generator for Flutter/Dart 2023-01-26 15:01:39 +03:00
grechka62 3f4802a441 Update translations 2023-01-09 20:40:31 +03:00
gzuykov d42aa41a0b divkit: Text class refactor
refactor Text class, support custom indentation
2022-12-28 11:29:44 +03:00
timatifey 3fa00cb96a factory methods declaration
alternative factory methods declaration

references factory method declaration

properties factory method declaration

factory method declaration
2022-12-15 19:39:41 +03:00
timatifey 8c70a3bd67 component methods
operator plus component declaration

evaluate component method declaration

defer component method declaration

override component method declaration
2022-12-09 14:30:45 +03:00
gulevsky bdb85d5093 'div-json' internal api
'div-core' and 'utils' internal api

'div-lottie' and 'div-pinch-to-zoom' internal api

'assertion' and 'logging' internal api

'div-json' internal api
2022-11-29 18:44:42 +03:00
pkurchatov ed6bafd2b7 restored 'field' argument 2022-11-16 18:37:19 +03:00
timatifey 37f8cbeb64 operator plus, override, defer, evaluate
evalute method declaration

defer method declaration

override method declaration

operator plus declaration
2022-11-16 16:21:31 +03:00
timatifey cc5195aa19 generate immutable code
generate immutable code
2022-11-16 12:52:16 +03:00
pkurchatov d36cdc3e46 DeserializationError refactoring 2022-11-16 12:33:13 +03:00
timatifey 90f17ecd0c properties class
properties class declaration
1) properties class declaration
2) config header update
3) getJsonProperties function declaration
4) mergeWith function declaration
2022-11-16 09:34:52 +03:00
grechka62 38ea0bc28c RevertAdd equality methods generating in kotlin 2022-11-15 16:06:59 +03:00
pkurchatov 322fb11dbd DeserializationError cleanup
Поэтапно объединяю FieldError и DeserializationError.
2022-11-14 12:05:31 +03:00
grechka62 9f404eddf8 Add equality methods generating in kotlin 2022-11-10 15:34:33 +03:00
timatifey ec63cd8d8a inlining interface params
inlining interface params
2022-11-10 13:10:05 +03:00
gulevsky 7d0ddd3389 generate sealed interfaces for entity enumerations
generate sealed interfaces for entity enumerations
2022-11-08 16:16:33 +03:00
grechka62 1a31598b1e Generate method to apply patch in android 2022-11-03 13:12:59 +03:00
timatifey 2d19288122 Divan references
init DivanGenerator

disable tests

update doc references

divan test references
2022-10-31 19:09:35 +03:00
mosquito 573f9d62b8 Autoreformat code while building
autoreformat while build
2022-10-27 15:57:10 +03:00
grechka62 d64ca45925 Improve documentation generating error reporting 2022-10-24 12:04:06 +03:00
morevsavva 69b39ad31e Add nine patch for background images.
Add nine patch for background images.
2022-10-12 18:53:59 +03:00
grechka62 87ac4287b9 Fix list of expressions generating
Fix list of expressions generating

Add generator tests for arrays
2022-10-11 13:50:41 +03:00
pkurchatov d88c88218f added library evolution support 2022-10-05 12:42:52 +03:00