| Simplify commercial license (#3063) Base the commercial license on the Royalty-free license adding clauses pertaining to the fees. | 2 years ago |
| feature/fontique: Remove fontdb, adapt glyph embedding code (#9434) | 1 year ago |
| Better escaping for the @markdown macro (#10762) * Move fragment parsing code to styled text * Way fewer allocations * Fix escape markdown * [autofix.ci] apply automated fixes * Fix test case * Slap #[cfg(feature = "std")] on escape_markdown_in_code_block * Change ParseMarkdown function for eval and rust * Implement for cpp too * Remove EscapeMarkdown * Do lower_expression thing for ParseMarkdown * Change to parse_interpolated function * use format_string and args in caller functions * [autofix.ci] apply automated fixes * Use userscores in parse_markdown function * Change panics to error variants * Reference #format_string * Take args by reference as well * Fix some stuff * Remove some of the syntax tests for now * Add missing error types * Move styled text to common * Revert "Remove some of the syntax tests for now" This reverts commit 1ca992ffe78ea1479913951ad73855f319758c28. * Validation * Change feature flags in order to expose required functions * Add markdown tests * Use the end version of tags for errors so that it doesn't come with all this metadata --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> | 9 months ago |
| Remove license header from .md/.mdx files They should be in the lines, but the problem is that this causes issues in the .mdx files. License header doesn't really make sense for .md files anyway | 11 months ago |
| feat: Make KeyboardModifiers a BuiltinPublicStruct and export it in Rust API | 8 months ago |
| Move named color & color literal parsing to slint common (#9981) * Move color_parsing to common * [autofix.ci] apply automated fixes * Fixes * Change how feature flags work * Use std feature for common in compiler * Add color-parsing feature instead --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> | 1 year ago |
| FlexBoxLayout: implement "align-items" property Add FlexAlignItems enum with Stretch (default), Start, End, Center. This controls the alignment of individual items along the cross axis within each flex line, matching CSS flexbox "align-items". The default changes from FlexStart (previously hardcoded) to Stretch (the CSS default). Items without an explicit cross-axis size now stretch to fill the flex line, while items with explicit sizes are unaffected. | 9 months ago |
| KeyboardShortcut: Match the lowercase key code This should improve caps lock behavior on most platforms (i.e. caps lock is ignored and only the shift state is matched). Note: This assumes that characters that are case-convertable use the same physical key for the lower and uppercase version. | 9 months ago |
| Better escaping for the @markdown macro (#10762) * Move fragment parsing code to styled text * Way fewer allocations * Fix escape markdown * [autofix.ci] apply automated fixes * Fix test case * Slap #[cfg(feature = "std")] on escape_markdown_in_code_block * Change ParseMarkdown function for eval and rust * Implement for cpp too * Remove EscapeMarkdown * Do lower_expression thing for ParseMarkdown * Change to parse_interpolated function * use format_string and args in caller functions * [autofix.ci] apply automated fixes * Use userscores in parse_markdown function * Change panics to error variants * Reference #format_string * Take args by reference as well * Fix some stuff * Remove some of the syntax tests for now * Add missing error types * Move styled text to common * Revert "Remove some of the syntax tests for now" This reverts commit 1ca992ffe78ea1479913951ad73855f319758c28. * Validation * Change feature flags in order to expose required functions * Add markdown tests * Use the end version of tags for errors so that it doesn't come with all this metadata --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> | 9 months ago |
| Fix all clippy warnings in internal/common | 8 months ago |
| Fix all clippy warnings in internal/common | 8 months ago |