Commit Graph

69 Commits

Author SHA1 Message Date
morevsavva c827a53886 fixes for video local state. 2023-04-28 11:11:01 +03:00
morevsavva 85791c9df9 fixed that margins affect transform. 2023-04-28 11:10:36 +03:00
iiivanov 0b7c535523 add stretch to images 2023-04-26 13:12:10 +03:00
morevsavva 128827dbc1 added video block implementation 2023-04-24 15:07:31 +03:00
morevsavva 49394d4b26 added div-video to schema 2023-04-17 20:22:12 +03:00
morevsavva 9f32cbb510 added select implementation 2023-04-12 13:32:35 +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
mariyshka737 c16dc56082 the same behavior for solid background, as for gradient 2023-03-31 17:55:09 +03:00
pkurchatov b26ac84569 added aspect support for vertical wrap container 2023-03-30 22:32:25 +03:00
mariyshka737 783e254dab make failable initializer for gradient 2023-03-30 16:43:45 +03:00
kirkungurov 5e56fbd216 fix keyboard type for ios 2023-03-30 11:19:10 +03:00
mariyshka737 7cfefe7086 replace fatalError with assertionFailure as possible 2023-03-29 16:55:41 +03:00
morevsavva 98add290ee Revert "added selection input implementation" 2023-03-29 13:31:13 +03:00
akhmetsafin 7ee66f1f65 Rename base modules 2023-03-28 12:17:21 +03:00
kirkungurov 6457ce1594 add new keyboard type 2023-03-24 10:11:01 +03:00
pkurchatov d37caa91af fixed DivGallery actions 2023-03-23 22:59:53 +03:00
ventywing bbb55a69e5 Support overflow parameter for tabs. 2023-03-17 14:24:18 +03:00
pkurchatov 9fcff4c650 Allowed zero duration 2023-03-17 01:57:58 +03:00
morevsavva 7eeddacf9b added selection input implementation
added selection input implementation
2023-03-02 16:19:54 +03:00
mariyshka737 65b9a4a041 /0: check for image with overriden traits
When create an ImageBlock, there was traits check. But image in container is created with overriden height and width, which can be different from those checked. Changed check to use the same (overriden) height and width.
2023-03-02 14:24:42 +03:00
ventywing 77598b9501 Changed content alignment in wrap container
Changed content alignment in wrap container
2023-02-27 19:36:52 +03:00
ventywing 221c4b4f71 Support images in DivText ellipsis
Support images in DivText ellipsis
2023-02-17 15:15:07 +03:00
dashapalshau 46e925f98d Fix corner radius in the page indicator 2023-02-09 12:11:15 +03:00
pkurchatov afc68319ec added aspect size in DivContainer 2023-01-24 20:28:47 +03:00
dashapalshau ea33e8a65c Add border in page indicator 2023-01-18 16:17:37 +03:00
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