Commit Graph

144 Commits

Author SHA1 Message Date
nikita-kladov 2d3e06c87e fix patch applying
Добавил переиспользование вью в 2 этапа:
- в первый раз берутся те вью, что имеют одинаковую диву
- затем берутся из оставшихся с тем же типом, либо создаются заново

Таким образом если див не поменялся, то он получит ту же самую вью. Если поменялся, но не менялся порядок и количество детей, то он тоже получит предыдущую вью и мы избежим лишних биндов/подгрузок картинок. Если ничего нет, то создаем новую
2022-11-21 15:08:33 +03:00
nikita-kladov df6c5476c5 fix crash on invalid patch field
fix crash on invalid patch field
2022-11-21 13:07:10 +03:00
pkurchatov 6ca9d8e200 gradle tasks clean up 2022-11-21 12:58:14 +03:00
ggys 538366b132 remove comment
remove comment
2022-11-18 17:21:05 +03:00
grechka62 26dd20705a Implement baseline alignment in wrap container 2022-11-18 12:09:09 +03:00
alexredko dbd830fa2d added indicator items stretching mode 2022-11-16 11:40:47 +03:00
grechka62 3d330dfb67 Remove blur when radius is 0 in android
Remove blur when radius is 0 in android
2022-11-15 18:04:21 +03:00
arsenosov 3b62c72c6e Baseline content alignment in LinearLayout
Added baseline alignment in LinearLayout
2022-11-15 13:27:21 +03:00
i-ts 2e7bda0fc2 improve "safety" of safeConvert call 2022-11-15 12:22:06 +03:00
smirnov-maxim ea0d1a1529 Warm up BuiltinFuctionProvider 2022-11-14 16:05:06 +03:00
nikita-kladov b91c72f08a save patch field on apply 2022-11-14 12:15:17 +03:00
morevsavva 1473a0402d Add ninepatch snapshots.
Add ninepatch snapshots.

Add nine patch for background images.
2022-11-11 20:46:49 +03:00
grechka62 33ec59bf7f Fix DivFocusBinderTest 2022-11-11 12:18:37 +03:00
grechka62 e3373ad452 Center separators in linear container 2022-11-11 00:13:59 +03:00
arsenosov 8ce124b0a8 Changed onDraw in IndicatorsStripDrawer
Changed onDraw
2022-11-10 12:10:44 +03:00
grechka62 abf3e7becc Align elements in wrap container rows by default 2022-11-07 23:39:32 +03:00
grechka62 be81fd1931 Add tests for match parent along cross axis in wrap container 2022-11-07 16:03:08 +03:00
nikonovmi 9b5ad9abb3 add ui test for recently fixed ellipsizing case
ui тестик для одного из двух кейсов из бага
2022-11-07 14:33:44 +03:00
ventywing 786f98e3dd Snapshot tests for no_wrap container with separators
Snapshot tests for no_wrap container with separators
2022-11-04 22:18:18 +03:00
nikonovmi 47a6e2a410 fix expressions serialization
Проблема была не конкретно в градиенте, а в целом в том, что мы не конвертировали constant expressions в некоторых кейсах
2022-11-03 17:10:10 +03:00
arsenosov a147295aa1 Added snapshot and interactive tests for shapes in slider and indicator
Added snapshot and interactive tests
2022-11-03 16:13:00 +03:00
grechka62 1a31598b1e Generate method to apply patch in android 2022-11-03 13:12:59 +03:00
grechka62 6e85f3ad06 Fix edge separator in wrap container with match parent element 2022-11-03 11:59:18 +03:00
nikonovmi 98e44f9ab9 added DivViewWrapper tests
Тут, конечно, нужны скриншот/ui тесты, но я уже не успеваю их написать..
2022-11-02 19:04:09 +03:00
edubinskaya 59c17cfa59 allow open divview.in.yandex.net intent
allow open divview.in.yandex.net intent
2022-11-02 11:27:21 +03:00
ventywing b6c0e6e056 Snapshot tests for wrap conteiner with separators
Snapshot tests for wrap conteiner with separators
2022-11-01 19:05:07 +03:00
nikonovmi 6d46c70ce0 fix shadows in div gallery
в Recycler-е вьюхи оборачиваются во врапперы, которые не знают, что у их child-ов есть тени
2022-11-01 18:58:53 +03:00
grechka62 72c0cc6339 Blur implementation 2022-11-01 14:29:07 +03:00
nikita-kladov 6f9c24c2ae add extensions unbind for DivCustom 2022-11-01 13:37:43 +03:00
gulevsky b5a1633558 Revert commit 'fix accessibility hint pronouncing. Remove hint from View.contentDescription' 2022-11-01 00:23:55 +03:00
arsenosov a213c67775 Fixed div-custom behaviour in regression tests
Fixed div customs in regression tests
2022-10-31 11:47:15 +03:00
alexredko 6789b34697 add hyphenation support for text with custom ellipsis
add hyphenation support for text with custom ellipsis
2022-10-28 14:06:57 +03:00
evgeek 3cfadde91a Replace assert when setting variables with
returning corresponding exceptions + showing visual
error.
2022-10-28 13:49:43 +03:00
nikita-kladov c772e79574 fix overlap container children size measure 2022-10-28 13:30:32 +03:00
ttok dcb72b3cb8 fix applying paths in demoapp
fix applying paths in demoapp
2022-10-27 22:24:25 +03:00
tayrinn 096bb9f5e4 add static for version name 2022-10-27 14:41:59 +03:00
timatifey 86c07264da fix tokenize anomalie
make escape analyze only on function invoke
2022-10-27 12:35:41 +03:00
nikonovmi 0d5b88ac94 fixed missing ellipses
fixed broken ellipsis on text change

Кейс 1:
Шаги воспроизведения:
Если много щелкать открыть-закрыть, то иногда не появляется ellipsis и появляется скролл

Кейс 2:
Шаги воспроизведения:
Открыть карточку с дивным тескстом, где в ellipsis есть картинка. Вместо обрезанного текста будет одинокий ellipsis и все.
2022-10-27 12:15:29 +03:00
edubinskaya 1b54a14b12 open url if DemoActivity opened from intent
open url if DemoActivity opened from intent
2022-10-26 11:15:29 +03:00
timatifey 001311b365 regression scenario of variables in DivImage
regression scenario of variables in DivImage
2022-10-25 11:49:38 +03:00
ttok 519e52a6ea fix attaching pager indicator 2022-10-24 22:13:18 +03:00
timatifey a4377cbc7f DIVKIt-659: NinePatchDrawable
android ninepatch drawable impl
2022-10-24 12:22:19 +03:00
alexredko bef348dc95 fix accessibility hint pronouncing. Remove hint from View.contentDescription
fix accessibility hint pronouncing
2022-10-24 12:04:10 +03:00
timatifey 3cac7a1100 escaping in tokenizer
tokenizer escaping logic
2022-10-24 11:19:14 +03:00
arsenosov c2b8489d67 Added circle shape to Android
Added circle shape to Android
2022-10-21 17:39:09 +03:00
grechka62 546d4a921f Fix edge line separators drawing in wrap container 2022-10-21 16:30:51 +03:00
arsenosov afa94bd5fa Fixed interactive scrolling tests with delay
Fixed interactive scrolling tests on android with delay
2022-10-21 15:08:09 +03:00
grechka62 860d9c774d Implement separators in wrap container 2022-10-20 13:21:49 +03:00
ggys fe564c7426 added bind on attach exp
added bind on attach exp
2022-10-20 11:53:34 +03:00
i-ts f033bb4c24 convert expression result into string for string properties 2022-10-20 10:25:47 +03:00