https://bugs.kde.org/show_bug.cgi?id=476023
Noah Davis changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Latest Commit||https://invent.kde.org/grap
||hics/spectacle/-/commit/ebe
||e5b1d413eeba6a79f65160bc6cc
||1e543fdad1
Resolution|--- |FIXED
--- Comment #3 from Noah Davis ---
Git commit ebee5b1d413eeba6a79f65160bc6cc1e543fdad1 by Noah Davis.
Committed on 01/12/2023 at 17:47.
Pushed by ndavis into branch 'master'.
Change filename placeholder format
Use `` instead of `%placeholder`. This makes it easier to
use
more descriptive or complex placeholders.
Also use more descriptive placeholders since we can and migrate old
placeholders.
With this new format we could add things like `` or
`` as shorthands for common date/time formats.
I use `` instead of `%key%` because sequences with obvious opening
and closing characters are easier to parse for humans and machines. I
chose '<' and '>' instead of other pairs of characters because I don't
need to escape '<' or '>' in regex. I do need to escape them in Rich
Text/HTML/XML, so it's sometimes less convenient than '{' and '}', but
not too bad.
M +9-10 doc/index.docbook
M +7-0kconf_update/CMakeLists.txt
A +70 -0kconf_update/spectacle-24.02.0-change_placeholder_format.cpp
[License: LGPL(v2.0+)]
M +4-0kconf_update/spectacle.upd
M +30 -32 src/ExportManager.cpp
M +13 -1src/ExportManager.h
M +3-0src/Gui/SettingsDialog/ImageSaveOptions.ui
M +2-2src/Gui/SettingsDialog/ImageSaveOptionsPage.cpp
M +3-0src/Gui/SettingsDialog/VideoSaveOptions.ui
M +2-2src/Gui/SettingsDialog/VideoSaveOptionsPage.cpp
M +2-2src/Gui/SettingsDialog/spectacle.kcfg
M +21 -22 tests/FilenameTest.cpp
https://invent.kde.org/graphics/spectacle/-/commit/ebee5b1d413eeba6a79f65160bc6cc1e543fdad1
--
You are receiving this mail because:
You are watching all bug changes.