Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package presenterm for openSUSE:Factory checked in at 2026-02-20 17:45:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/presenterm (Old) and /work/SRC/openSUSE:Factory/.presenterm.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "presenterm" Fri Feb 20 17:45:22 2026 rev:20 rq:1334123 version:0.16.1 Changes: -------- --- /work/SRC/openSUSE:Factory/presenterm/presenterm.changes 2026-02-16 13:19:30.627541483 +0100 +++ /work/SRC/openSUSE:Factory/.presenterm.new.1977/presenterm.changes 2026-02-20 17:53:39.099118193 +0100 @@ -1,0 +2,12 @@ +Fri Feb 20 07:22:37 UTC 2026 - Michael Vetter <[email protected]> + +- Update to 0.16.1: + New features: + * Allow italic to be used as well as italics in theme (#847). + Fixes: + * Render modals at the center of the screen (#848). + Docs: + * Add styling docs to slide_title (#845) + * Describe slide titles and headings better (#846). + +------------------------------------------------------------------- Old: ---- presenterm-0.16.0.tar.zst New: ---- presenterm-0.16.1.tar.zst ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ presenterm.spec ++++++ --- /var/tmp/diff_new_pack.MHIqag/_old 2026-02-20 17:53:40.787188908 +0100 +++ /var/tmp/diff_new_pack.MHIqag/_new 2026-02-20 17:53:40.787188908 +0100 @@ -17,7 +17,7 @@ Name: presenterm -Version: 0.16.0 +Version: 0.16.1 Release: 0 Summary: A terminal slideshow tool License: BSD-2-Clause ++++++ _service ++++++ --- /var/tmp/diff_new_pack.MHIqag/_old 2026-02-20 17:53:40.899193600 +0100 +++ /var/tmp/diff_new_pack.MHIqag/_new 2026-02-20 17:53:40.903193767 +0100 @@ -3,7 +3,7 @@ <param name="url">https://github.com/mfontanini/presenterm</param> <param name="versionformat">@PARENT_TAG@</param> <param name="scm">git</param> - <param name="revision">v0.16.0</param> + <param name="revision">v0.16.1</param> <param name="match-tag">*</param> <param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param> <param name="versionrewrite-replacement">\1</param> ++++++ presenterm-0.16.0.tar.zst -> presenterm-0.16.1.tar.zst ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/presenterm-0.16.0/CHANGELOG.md new/presenterm-0.16.1/CHANGELOG.md --- old/presenterm-0.16.0/CHANGELOG.md 2026-02-16 00:59:48.000000000 +0100 +++ new/presenterm-0.16.1/CHANGELOG.md 2026-02-20 02:49:19.000000000 +0100 @@ -1,8 +1,23 @@ +# v0.16.1 - 2026-02-19 + +## New features + +* Allow `italic` to be used as well as `italics` in theme ([#847](https://github.com/mfontanini/presenterm/issues/847)). + +## Fixes + +* Render modals at the center of the screen ([#848](https://github.com/mfontanini/presenterm/issues/848)). + +## Docs + +* Add styling docs to `slide_title` ([#845](https://github.com/mfontanini/presenterm/issues/845)) - thanks @0atman. +* Describe slide titles and headings better ([#846](https://github.com/mfontanini/presenterm/issues/846)). + # v0.16.0 - 2026-02-15 ## Breaking changes -* Sixel supported in all platform and is now enabled by default. The will break any build scripts that enable the `sixel` feature flag since that is now gone. Any maintainer that is building the package and enabling that flag should no longer do so ([#828](https://github.com/mfontanini/presenterm/issues/828)). +* Sixel is now supported in all platform and enabled by default. The will break any build scripts that enable the `sixel` feature flag since that is now gone. Any maintainer that is building the package and enabling that flag should no longer do so ([#828](https://github.com/mfontanini/presenterm/issues/828)). ## New features diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/presenterm-0.16.0/Cargo.lock new/presenterm-0.16.1/Cargo.lock --- old/presenterm-0.16.0/Cargo.lock 2026-02-16 00:59:48.000000000 +0100 +++ new/presenterm-0.16.1/Cargo.lock 2026-02-20 02:49:19.000000000 +0100 @@ -953,7 +953,7 @@ [[package]] name = "presenterm" -version = "0.16.0" +version = "0.16.1" dependencies = [ "anyhow", "base64", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/presenterm-0.16.0/Cargo.toml new/presenterm-0.16.1/Cargo.toml --- old/presenterm-0.16.0/Cargo.toml 2026-02-16 00:59:48.000000000 +0100 +++ new/presenterm-0.16.1/Cargo.toml 2026-02-20 02:49:19.000000000 +0100 @@ -4,7 +4,7 @@ description = "A terminal slideshow presentation tool" repository = "https://github.com/mfontanini/presenterm" license = "BSD-2-Clause" -version = "0.16.0" +version = "0.16.1" edition = "2021" [dependencies] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/presenterm-0.16.0/docs/src/features/themes/definition.md new/presenterm-0.16.1/docs/src/features/themes/definition.md --- old/presenterm-0.16.0/docs/src/features/themes/definition.md 2026-02-16 00:59:48.000000000 +0100 +++ new/presenterm-0.16.1/docs/src/features/themes/definition.md 2026-02-20 02:49:19.000000000 +0100 @@ -69,8 +69,8 @@ ```yaml default: colors: - foreground: "ff0000" - background: "00ff00" + foreground: ff0000 + background: 00ff00 ``` ## Default style @@ -219,44 +219,69 @@ ## Slide title -Slide titles, as specified by using a setext header, has the following properties: - -* `font_size` which specifies the font size to be used. -* `prefix` which specifies a prefix to use on a slide title. -* `padding_top` which specifies the number of rows you want as padding before the text. -* `padding_bottom` which specifies the number of rows you want as padding after the text. -* `separator` which specifies whether you want a horizontal ruler after the text (and the `padding_bottom`): +Slide titles, as specified by using a setext header, can be styled the following way: ```yaml slide_title: + # The prefix to use for the slide title. prefix: "██" + + # The font size to use. font_size: 2 - padding_bottom: 1 + + # The vertical padding added before the title. padding_top: 1 + + # The vertical padding added after the title. + padding_bottom: 1 + + # Whether to use a horizontal separator line after the title. separator: true + + # Whether to style for the title using bold text. + bold: true + + # Whether to style for the title using underlined text. + underlined: true + + # Whether to style for the title using italics text. + italics: true + + # The colors to use. + colors: + foreground: beeeff + background: feeedd ``` ## Headings -Every header type (h1 through h6) can have its own style composed of: - -* The prefix you want to use. -* The colors, just like any other element: -* Whether to use bold/italics/underlined styling. +Every header type (h1 through h6) can have its own style. Each of them can be styled using the following attributes: ```yaml headings: + # H1 style. h1: + # The prefix to use for the heading prefix: "██" + + # The colors to use. colors: - foreground: "beeeeff" + foreground: beeeff + background: feeedd + # Whether to style for the title using bold text. bold: true + + # Whether to style for the title using underlined text. underlined: true + + # Whether to style for the title using italics text. italics: true + + # H2 style, same as the keys for H1. h2: prefix: "▓▓▓" colors: - foreground: "feeeedd" + foreground: feeedd ``` ## Code blocks diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/presenterm-0.16.0/src/render/engine.rs new/presenterm-0.16.1/src/render/engine.rs --- old/presenterm-0.16.0/src/render/engine.rs 2026-02-16 00:59:48.000000000 +0100 +++ new/presenterm-0.16.1/src/render/engine.rs 2026-02-20 02:49:19.000000000 +0100 @@ -149,6 +149,7 @@ RenderOperation::RenderImage(image, properties) => self.render_image(image, properties), RenderOperation::RenderBlockLine(operation) => self.render_block_line(operation), RenderOperation::RenderDynamic(generator) => self.render_dynamic(generator.as_ref()), + RenderOperation::RenderDynamicTopLevel(generator) => self.render_dynamic_top_level(generator.as_ref()), RenderOperation::RenderAsync(generator) => self.render_async(generator.as_ref()), RenderOperation::InitColumnLayout { columns, grid } => self.init_column_layout(columns, *grid), RenderOperation::EnterColumn { column } => self.enter_column(*column), @@ -354,6 +355,15 @@ for operation in operations { self.render_one(&operation)?; } + Ok(()) + } + + fn render_dynamic_top_level(&mut self, generator: &dyn AsRenderOperations) -> RenderResult { + let dimensions = self.window_rects.first().expect("no rects").dimensions; + let operations = generator.as_render_operations(&dimensions); + for operation in operations { + self.render_one(&operation)?; + } Ok(()) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/presenterm-0.16.0/src/render/operation.rs new/presenterm-0.16.1/src/render/operation.rs --- old/presenterm-0.16.0/src/render/operation.rs 2026-02-16 00:59:48.000000000 +0100 +++ new/presenterm-0.16.1/src/render/operation.rs 2026-02-20 02:49:19.000000000 +0100 @@ -74,6 +74,9 @@ /// [RenderOperation] with the screen itself. RenderDynamic(Rc<dyn AsRenderOperations>), + /// Render a dynamically sequence of render operations drawing it at the top level margin + RenderDynamicTopLevel(Rc<dyn AsRenderOperations>), + /// An operation that is rendered asynchronously. RenderAsync(Rc<dyn RenderAsync>), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/presenterm-0.16.0/src/theme/raw.rs new/presenterm-0.16.1/src/theme/raw.rs --- old/presenterm-0.16.0/src/theme/raw.rs 2026-02-16 00:59:48.000000000 +0100 +++ new/presenterm-0.16.1/src/theme/raw.rs 2026-02-20 02:49:19.000000000 +0100 @@ -44,7 +44,7 @@ pub(crate) bold: ModifierStyle, /// The style for italics. - #[serde(default)] + #[serde(default, alias = "italic")] pub(crate) italics: ModifierStyle, /// The style for a table. @@ -142,7 +142,7 @@ pub(crate) bold: Option<bool>, /// Whether to use italics font for slide titles. - #[serde(default)] + #[serde(default, alias = "italic")] pub(crate) italics: Option<bool>, /// Whether to use underlined font for slide titles. @@ -212,7 +212,7 @@ pub(crate) underlined: Option<bool>, /// Whether the heading uses italics. - #[serde(default)] + #[serde(default, alias = "italic")] pub(crate) italics: Option<bool>, } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/presenterm-0.16.0/src/ui/modals.rs new/presenterm-0.16.1/src/ui/modals.rs --- old/presenterm-0.16.0/src/ui/modals.rs 2026-02-16 00:59:48.000000000 +0100 +++ new/presenterm-0.16.1/src/ui/modals.rs 2026-02-20 02:49:19.000000000 +0100 @@ -57,7 +57,7 @@ selection_style, background: self.background, }; - vec![RenderOperation::RenderDynamic(Rc::new(drawer))] + vec![RenderOperation::RenderDynamicTopLevel(Rc::new(drawer))] } } @@ -319,6 +319,6 @@ impl From<CenterModalContent> for RenderOperation { fn from(op: CenterModalContent) -> Self { - Self::RenderDynamic(Rc::new(op)) + Self::RenderDynamicTopLevel(Rc::new(op)) } } ++++++ vendor.tar.zst ++++++ /work/SRC/openSUSE:Factory/presenterm/vendor.tar.zst /work/SRC/openSUSE:Factory/.presenterm.new.1977/vendor.tar.zst differ: char 7, line 1
