Commit Graph

56 Commits

Author SHA1 Message Date
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
4eb0da cb8819f4ec Fix expression types 2022-09-26 18:18:55 +03:00
timatifey f68bdc5bc3 pydivkit
pydivkit
2022-09-19 15:47:22 +03:00
timatifey b4c0fb0a36 flags for hash files
flags for enabling checking & saving hash files
1) flags --savehash --checkhash
2) kotlin dsl update config for python generator
3) update README.md
2022-09-16 15:06:12 +03:00
pkurchatov afacbf9aaf export props interfaces 2022-09-12 18:43:47 +03:00
timatifey d4390912ae api-generator tests & boolean_int representation tests
boolean_int tests

api-generator-tests
2022-09-12 17:14:14 +03:00
timatifey 34cfd715ad radial gradient schema
div-radial-gradient params
2022-09-06 18:49:50 +03:00
timatifey a2ee37f04a connect python api_generator to client/android
api_generator script
1) api_generator execute script with creating virtual env and checking for changes in requirements
2) update _container in android CI tasks
2022-08-31 19:03:31 +03:00
timatifey 8fee4e5ffd KotlinDSLGenerator
KotlinDSL generator init

KotlinDSL tests
2022-08-31 15:21:45 +03:00