Commit Graph

43 Commits

Author SHA1 Message Date
ventywing e0ad2187ea Fix assert when vertical container with baseline alignment
Fix assert when vertical container with baseline alignment
2023-01-12 17:00:42 +03:00
iosnick 265055f3d6 MatchParent problem solved
Filtration added
2022-12-30 20:41:42 +03:00
dashapalshau 37055a2163 Support stretching indicators
Support stretching indicators
2022-12-29 12:45:27 +03:00
morevsavva 52ccd56888 Format files by codestyle.
Прогнал форматтер на всех файлах.
2022-12-22 16:21:24 +03:00
dashapalshau 4bbd68fe39 add min/max sizes for wrap_content constrained = false
Add min/max sizes for wrap_content constrained = false
2022-12-16 15:02:26 +03:00
dashapalshau fb117357b4 Support RiveRuntime animations
Support RiveRuntime
2022-12-06 13:02:56 +03:00
chris-benua 710f12e3a5 memoizing image placeholders; updated Base, CommonCore
memoizing image placeholders; updated Base, CommonCore
2022-12-05 21:43:41 +03:00
morevsavva 28df912c63 Fix getting preview from url
Была проблема, что не парсилось превью, когда сырая дата начиналась с data:image/png;base64,
Парсится через урл
2022-11-23 12:04:38 +03:00
morevsavva 3ed0abbc30 add background for text ranges
Добавил возможность задавать фоны в ренджах.
2022-11-21 13:54:44 +03:00
morevsavva 62ead6a8ee Add blur and tint mode implementation.
Add blur and tint mode implementation
2022-11-14 22:16:48 +03:00
ventywing 42dd278b52 Add baseline alignment
Add baseline alignment
2022-11-14 16:30:34 +03:00
pkurchatov 9af3982413 udpated generated sources 2022-11-11 18:05:05 +03:00
mrcov f0928e8eb5 Store div deserialization warnings in context
Store div deserialization warnings in context
2022-11-11 12:00:01 +03:00
morevsavva 3a7a3166a3 Add metal renderer for tint color.
Add metal renderer for tint color.
Добавил метал вью для рендеринга картинок.
Подтянул новый алгоритм сравнения снепшотов. 
Обновил часть снепшотов (проверили, что все ок).
Немного обновил RemoteImageViewContainer.
2022-11-09 15:17:53 +03:00
mrcov 577b0187b1 Visualize more div modeling errors
Visualize more div modeling errors

Добавил ошибки/ворнинги при создании блока в дебажное вью. Не стал добавлять в дифф включение дебага в плейграунде. Ворнинги при создании дивной модели, кажется, не получится добавить, не сломав текущее API
2022-11-03 17:00:55 +03:00
mrcov 9a8b8351b1 Accumulate div block modeling warnings
Accumulate div block modeling warnings

Не фатальные ошибки (при наличии фоллбэка) поменял на ворнинги, которые так же репортятся в externalLogger с другим префиксом и дополнительно собираются в контексте. Добавил им path. Дополнительно поменял репорт ошибки в логгер на выброс исключения при попытке создания divCircleShape, который не поддерживается - кажется, так будет правильней.
2022-10-28 20:08:47 +03:00
ventywing 3ca4018970 Add separators for wrap container
Add separators for wrap container
2022-10-27 12:13:34 +03:00
akhmetsafin 7e0027a967 Add cross spacing to gallery
Add cross spacing to gallery
2022-10-18 15:02:59 +03:00
morevsavva 60cef87614 Add NinePatchImageView.
Add NinePatchImageView.
2022-10-17 12:01:49 +03:00
ventywing 964fdd843f Support text gradient in iOS
Support text gradient in iOS
2022-10-14 10:54:36 +03:00
chris-benua b665ec0007 replaced SeparatorBlock with EmptyBlock
replaced SeparatorBlock with EmptyBlock
2022-10-11 13:36:44 +03:00
ventywing afd7e9fc4e Fallback match_parent child size for gallery
Fallback match_parent child size for gallery
2022-10-11 10:24:22 +03:00
chris-benua 42aa4bf777 replaced SeparatorBlock with EmptyBlock
replaced SeparatorBlock with EmptyBlock
2022-10-10 11:20:17 +03:00
ventywing 9b151d2a54 Fallback match_parent child size on wrap_content constrained
Новый подход с фолбеком размеров с match_parent на wrap_content constrained
2022-10-07 12:44:02 +03:00
babaevmm 5b9d64cfc0 add highPriority imageHolderFactory for DivImage
Добавлена возможность для DivImage использовать другую ImageHolderFactory, если в блоке содержится значение highPriorityPreviewShow
2022-10-06 13:54:21 +03:00
akhmetsafin 5362bb3bb5 Support radial gradient
Support radial gradient
2022-10-05 11:50:08 +03:00
pkurchatov d72fa48d49 updated tests 2022-09-28 09:22:37 +03:00
ventywing 88d12eea9a Support match_parent children in wrap-container
Пример с горизонтальным контейнером:
https://jing.yandex-team.ru/files/ventywing/Screen%20Shot%202022-09-20%20at%2016.33.12.png
2022-09-21 14:12:43 +03:00
morevsavva b448801554 Fix divkit pod compitability.
Fix divkit pod compitability.
2022-09-19 16:20:22 +03:00
ventywing 667a284e36 Add resolving LayoutMode
Add resolving LayoutMode
2022-09-19 14:20:37 +03:00
pkurchatov 7f76c507b7 fixed DivContainer errors 2022-09-16 16:06:09 +03:00
akhmetsafin 08642225c7 Fix transition in animation distance
Fix transition in animation distance
2022-09-15 12:04:05 +03:00
pkurchatov a2ed8633cc removed INTERNAL_BUILD directives
Избавляюсь от условной компиляции INTERNAL_BUILD, потому что непонятно, как этим пользоваться на клиентах в условиях библиотеки.
2022-09-14 14:03:58 +03:00
pkurchatov 1b6cb52bc9 reduced methods visibility 2022-09-07 19:33:26 +03:00
pkurchatov 5ca205e0bd updated generated sources 2022-09-06 21:48:14 +03:00
pkurchatov a34191979a updated iOS generated sources 2022-09-06 14:09:02 +03:00
ventywing 4fe45b8789 Fix alignment of text in div input
Fix alignment of text in div input
2022-09-05 12:34:17 +03:00
pkurchatov f47fc428ad fixed DivData state management 2022-09-01 11:56:36 +03:00
ventywing 67a5b71eca Support focus in div input
Support focus in div input
2022-09-01 09:45:59 +03:00
iiivanov 6f583a7943 support item_spacing in tab_title_style
support item_spacing in tab_title_style
2022-08-31 11:24:20 +03:00
ventywing ab85c50f59 Support alignment in div input
Support alignment in div input
2022-08-29 21:17:54 +03:00
ventywing d5d642b8ee Support max_visible_lines and select_all_on_focus in div input
Support max_visible_lines and select_all_on_focus in div input
2022-08-26 08:57:59 +03:00
divkit-github f1563c9890 chore(html-reporter): up version
Initial commit

Add notification for divkit

Allow overwrite for migration

[migration] browser/bitbucket/personal/booster/divkit

Note: mandatory check (NEED_CHECK) was skipped

DivKit files moved

dIVKIT-0: Fix ts builder build

update div-gallery visibility screenshots

update div-gallery visibility screens

a.yaml cleanup

updated codegen scripts

change gallery alignment

change internal types in expressions

removed copyrights

remove permissions

TemplatesSupportTests refactoring

Ничего не поменялось. Отрефакторил и почистил тесты.

Split package.json

send all public

removed yandex-team links

URL added type as ArgumentType

added camera permission description

safe area insets for errors count view

`EdgeInsets` for debug view with errors count. Needed for fullscreen divs. Naming corresponds to mapping `EdgeInsets` to div-variables.

Will be used here: https://nda.ya.ru/t/Lhr5Lxgb5KN6nX

fixed compiler warnings

fix DivKitComponents variables setup, add update func

fix DivKitComponents variables setup, add update func

authors clean up

Удалил коллег из инфраструктуры, тестирования и мессенджера. Половину людей я вообще тут не знаю. Список какой-то косячный, в нём, например, @booster и @askvortsov нет. Предлагаю заново вручную составить и записать туда тех, кто точно дивкитом занимался, а не просто мимо проходил.

Fix DivKit pods compilability

Fix DivKit pods compilability

use only english in demo app

translate divKit demo app russian text

Scroll when keyboard opened

Scroll when keyboard opened

Fix gallery scroll in a11y

Это копия пр-а, который я делал в репо алискита:

https://bitbucket.browser.yandex-team.ru/projects/ML/repos/mobile-alice-library-android/pull-requests/18808/overview

authors clean up2

SwiftGenerator

flake8 errors fix & ya.make edit

swift generation tests

swift references

swift generator implementation

init swift generator

code refactoring
1) rename to modeling
2) rename kind to PropertyType
3) delete apply_pluralization_rules
4) description default value is empty string
5) remove entity_type_field_alias, typename_alias, client_optional, profileEntities, ignore_properties, generate_plain_constructor
6) remove client prefix

Add XcodeBuild in ignore

Add XcodeBuild in ignore

introduce new global variable api

introduce new global variable api

Revert commit bdcbc0081395ebe44ed7fe24bf5f4b25569c6df0

LayoutKitSnapshotTests

Fix sandboxRelease dependencies.

support zero value for width and height

remove unused css variables

"CONTRIBUTING.md"

README draft

updated gitignore/arcignore

introduce color type in expressions

introduce color type in expressions

added xcconfig files

fixed swift formatting

fail tests if updating references

Чтобы уж точно не забыть вернуть False.

Layout changes

Fix expression parsing

don't change clickable state in a11y

don't change clickable state in a11y

Update items checks

Parse description references to translations

add licence file link

fixed expression properties generation

add ability to track requests to global variables

Добавляем в GlobalVariableController возможность подписаться на запросы к глобальным переменным.
Нужно дляОткрыт Накопительная палитра , а так же в целом полезная функциональность, через которую можно делать ленивый прогрев глобальных переменных

Changelog

Minor fixes

bump divkit version up to 3.0.0

fixed snapshot tests depdendencies

Иногда не запускалась сборка SnapshotTestsHostApp перед стартом тестов.

used new api-generator

deserialization refactoring

removed gitignore

samples text fixes

fixed samples text

remove theme button

remove theme button

demo activity redesign

demo activity redesign

habr sample app

change deleted images in screenshot tests

change deleted images in screenshot tests

new ic_launcher

new ic_launcher

more readme

Binding variable for div input

Biding variable for div input

Implement documentation generator

Rename max_lines to max_visible_lines

Rename max_lines to max_visible_lines

add habr and medium

fix div-functions doc

Fix link in description

Text selecting for demo app enabled

Text selecting for demo app enabled

KotlinGenerator

kotlin code generation

kotlin generation tests

kotlin generation references

add gradle wrapper to kotlin json builder

add gradle wrapper to kotlin json builder

DemoApp redesign

fixed codegen scripts

debugView safeAreaInsets

DebugView safe area insets

TypeScript Generator

ya.make changes

TypeScript generator

TypeScript tests

TypeScript test references

fix enumeration aliases

debugInfoParams fix compile

Fix black box flicker in video-custom

Fixed stub image showing by moving it away from PlayerView.
Increased stub loading speed by adding VideoViewModel warmup.
Fixed redundant redraws by combining stub visibility and
bitmap data.
PlayerView background was set to transparent.

DivExpression fix

DivExpression fix

Implement translations

Save & share

bind globalVariableController to divContext

bind variableController to divContext

used new TypeScript generator

Подключил генератор на питоне. Изменения в сгенерированных файлах связаны в основном с переводом описаний на английский язык.

moved LivePreview

Перенёс LivePreview из отдельного модуля в DivKitDemoApp. Добавил сканер кодов в UrlInputView. Удалил часть дублирующегося кода.

remove sms and phone_state permission

fix links interception

fix links interception

Fix link in documentation

remove site from "config.stable.json"

Support highlight_color and keyboardType in div input

Support highlight_color in div input

Action animation fix for iOS
2022-08-25 21:21:49 +03:00