summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--po/en.po3
-rw-r--r--res/about/version.gmi3
-rw-r--r--res/lang/de.binbin21054 -> 21080 bytes
-rw-r--r--res/lang/en.binbin19759 -> 19785 bytes
-rw-r--r--res/lang/es.binbin22101 -> 22127 bytes
-rw-r--r--res/lang/fi.binbin21742 -> 21768 bytes
-rw-r--r--res/lang/fr.binbin22666 -> 22692 bytes
-rw-r--r--res/lang/ia.binbin21964 -> 21990 bytes
-rw-r--r--res/lang/ie.binbin21132 -> 21158 bytes
-rw-r--r--res/lang/pl.binbin22770 -> 22796 bytes
-rw-r--r--res/lang/ru.binbin32851 -> 32877 bytes
-rw-r--r--res/lang/sr.binbin31426 -> 31452 bytes
-rw-r--r--res/lang/tok.binbin20169 -> 20195 bytes
-rw-r--r--res/lang/zh_Hans.binbin18923 -> 18949 bytes
-rw-r--r--res/lang/zh_Hant.binbin19108 -> 19134 bytes
-rw-r--r--src/app.c6
-rw-r--r--src/ui/sidebarwidget.c3
-rw-r--r--src/ui/util.c2
18 files changed, 15 insertions, 2 deletions
diff --git a/po/en.po b/po/en.po
index bbca83e5..9744f761 100644
--- a/po/en.po
+++ b/po/en.po
@@ -1160,6 +1160,9 @@ msgstr "UI scale factor:"
1160msgid "prefs.customframe" 1160msgid "prefs.customframe"
1161msgstr "Custom window frame:" 1161msgstr "Custom window frame:"
1162 1162
1163msgid "prefs.animate"
1164msgstr "Animations:"
1165
1163msgid "prefs.retainwindow" 1166msgid "prefs.retainwindow"
1164msgstr "Retain placement:" 1167msgstr "Retain placement:"
1165 1168
diff --git a/res/about/version.gmi b/res/about/version.gmi
index a3a7c43d..e1b62835 100644
--- a/res/about/version.gmi
+++ b/res/about/version.gmi
@@ -13,7 +13,8 @@
13* Disallow sending query responses that are too long (1024 bytes maximum). 13* Disallow sending query responses that are too long (1024 bytes maximum).
14* Shift-click to select a range of text in input widgets (i.e, without dragging). 14* Shift-click to select a range of text in input widgets (i.e, without dragging).
15* Footer buttons: on certain pages (e.g., error messages) show relevant actions in the bottom of the page. For example, if a certificate is required for viewing a page, show buttons for creating a new identity and showing the Identities sidebar. 15* Footer buttons: on certain pages (e.g., error messages) show relevant actions in the bottom of the page. For example, if a certificate is required for viewing a page, show buttons for creating a new identity and showing the Identities sidebar.
16* Link navigation shortcut icons are drawn with a consistent appearance. 16* Gempub: Linear navigation through the book with Left/Right arrow keys and via footer buttons. The navigation order is determined by links on the Gempub index page.
17* Link navigation shortcut icons (home row and numbered) are drawn with a consistent appearance.
17* Animate showing and hiding of sidebars and dialogs. 18* Animate showing and hiding of sidebars and dialogs.
18* macOS: Workaround for a Metal rendering issue. 19* macOS: Workaround for a Metal rendering issue.
19* Added "Smol Emoji" and "Noto Sans Symbols" fonts, removed Symbola. Note: Many Emoji and pictographs added in recent years are still missing. 20* Added "Smol Emoji" and "Noto Sans Symbols" fonts, removed Symbola. Note: Many Emoji and pictographs added in recent years are still missing.
diff --git a/res/lang/de.bin b/res/lang/de.bin
index 45260c31..a5f3c427 100644
--- a/res/lang/de.bin
+++ b/res/lang/de.bin
Binary files differ
diff --git a/res/lang/en.bin b/res/lang/en.bin
index 728c7ff8..3fe8fc26 100644
--- a/res/lang/en.bin
+++ b/res/lang/en.bin
Binary files differ
diff --git a/res/lang/es.bin b/res/lang/es.bin
index d6cdd974..8a8c314f 100644
--- a/res/lang/es.bin
+++ b/res/lang/es.bin
Binary files differ
diff --git a/res/lang/fi.bin b/res/lang/fi.bin
index b66badcb..361f3fce 100644
--- a/res/lang/fi.bin
+++ b/res/lang/fi.bin
Binary files differ
diff --git a/res/lang/fr.bin b/res/lang/fr.bin
index 232338c9..d6875a05 100644
--- a/res/lang/fr.bin
+++ b/res/lang/fr.bin
Binary files differ
diff --git a/res/lang/ia.bin b/res/lang/ia.bin
index e460faf7..1ebd2fea 100644
--- a/res/lang/ia.bin
+++ b/res/lang/ia.bin
Binary files differ
diff --git a/res/lang/ie.bin b/res/lang/ie.bin
index 87e3c0e5..4738fd3e 100644
--- a/res/lang/ie.bin
+++ b/res/lang/ie.bin
Binary files differ
diff --git a/res/lang/pl.bin b/res/lang/pl.bin
index 0c021408..877ffaf7 100644
--- a/res/lang/pl.bin
+++ b/res/lang/pl.bin
Binary files differ
diff --git a/res/lang/ru.bin b/res/lang/ru.bin
index 17df17a8..8301f8d4 100644
--- a/res/lang/ru.bin
+++ b/res/lang/ru.bin
Binary files differ
diff --git a/res/lang/sr.bin b/res/lang/sr.bin
index 74f897cb..75fe0b99 100644
--- a/res/lang/sr.bin
+++ b/res/lang/sr.bin
Binary files differ
diff --git a/res/lang/tok.bin b/res/lang/tok.bin
index 4d8259b3..d5419504 100644
--- a/res/lang/tok.bin
+++ b/res/lang/tok.bin
Binary files differ
diff --git a/res/lang/zh_Hans.bin b/res/lang/zh_Hans.bin
index c5b6cede..66c62937 100644
--- a/res/lang/zh_Hans.bin
+++ b/res/lang/zh_Hans.bin
Binary files differ
diff --git a/res/lang/zh_Hant.bin b/res/lang/zh_Hant.bin
index 56d7643d..57e310e2 100644
--- a/res/lang/zh_Hant.bin
+++ b/res/lang/zh_Hant.bin
Binary files differ
diff --git a/src/app.c b/src/app.c
index bb3afea6..663fa2e8 100644
--- a/src/app.c
+++ b/src/app.c
@@ -213,6 +213,7 @@ static iString *serializePrefs_App_(const iApp *d) {
213 appendFormat_String(str, "decodeurls arg:%d\n", d->prefs.decodeUserVisibleURLs); 213 appendFormat_String(str, "decodeurls arg:%d\n", d->prefs.decodeUserVisibleURLs);
214 appendFormat_String(str, "linewidth.set arg:%d\n", d->prefs.lineWidth); 214 appendFormat_String(str, "linewidth.set arg:%d\n", d->prefs.lineWidth);
215 /* TODO: Set up an array of booleans in Prefs and do these in a loop. */ 215 /* TODO: Set up an array of booleans in Prefs and do these in a loop. */
216 appendFormat_String(str, "prefs.animate.changed arg:%d\n", d->prefs.uiAnimations);
216 appendFormat_String(str, "prefs.mono.gemini.changed arg:%d\n", d->prefs.monospaceGemini); 217 appendFormat_String(str, "prefs.mono.gemini.changed arg:%d\n", d->prefs.monospaceGemini);
217 appendFormat_String(str, "prefs.mono.gopher.changed arg:%d\n", d->prefs.monospaceGopher); 218 appendFormat_String(str, "prefs.mono.gopher.changed arg:%d\n", d->prefs.monospaceGopher);
218 appendFormat_String(str, "prefs.boldlink.dark.changed arg:%d\n", d->prefs.boldLinkDark); 219 appendFormat_String(str, "prefs.boldlink.dark.changed arg:%d\n", d->prefs.boldLinkDark);
@@ -2108,6 +2109,10 @@ iBool handleCommand_App(const char *cmd) {
2108 d->prefs.openArchiveIndexPages = arg_Command(cmd) != 0; 2109 d->prefs.openArchiveIndexPages = arg_Command(cmd) != 0;
2109 return iTrue; 2110 return iTrue;
2110 } 2111 }
2112 else if (equal_Command(cmd, "prefs.animate.changed")) {
2113 d->prefs.uiAnimations = arg_Command(cmd) != 0;
2114 return iTrue;
2115 }
2111 else if (equal_Command(cmd, "saturation.set")) { 2116 else if (equal_Command(cmd, "saturation.set")) {
2112 d->prefs.saturation = (float) arg_Command(cmd) / 100.0f; 2117 d->prefs.saturation = (float) arg_Command(cmd) / 100.0f;
2113 if (!isFrozen) { 2118 if (!isFrozen) {
@@ -2350,6 +2355,7 @@ iBool handleCommand_App(const char *cmd) {
2350 setToggle_Widget(findChild_Widget(dlg, "prefs.archive.openindex"), d->prefs.openArchiveIndexPages); 2355 setToggle_Widget(findChild_Widget(dlg, "prefs.archive.openindex"), d->prefs.openArchiveIndexPages);
2351 setToggle_Widget(findChild_Widget(dlg, "prefs.ostheme"), d->prefs.useSystemTheme); 2356 setToggle_Widget(findChild_Widget(dlg, "prefs.ostheme"), d->prefs.useSystemTheme);
2352 setToggle_Widget(findChild_Widget(dlg, "prefs.customframe"), d->prefs.customFrame); 2357 setToggle_Widget(findChild_Widget(dlg, "prefs.customframe"), d->prefs.customFrame);
2358 setToggle_Widget(findChild_Widget(dlg, "prefs.animate"), d->prefs.uiAnimations);
2353 setText_InputWidget(findChild_Widget(dlg, "prefs.userfont"), &d->prefs.symbolFontPath); 2359 setText_InputWidget(findChild_Widget(dlg, "prefs.userfont"), &d->prefs.symbolFontPath);
2354 updatePrefsPinSplitButtons_(dlg, d->prefs.pinSplit); 2360 updatePrefsPinSplitButtons_(dlg, d->prefs.pinSplit);
2355 updateDropdownSelection_(findChild_Widget(dlg, "prefs.uilang"), cstr_String(&d->prefs.uiLanguage)); 2361 updateDropdownSelection_(findChild_Widget(dlg, "prefs.uilang"), cstr_String(&d->prefs.uiLanguage));
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c
index 395138bb..27646b22 100644
--- a/src/ui/sidebarwidget.c
+++ b/src/ui/sidebarwidget.c
@@ -936,7 +936,8 @@ static iBool handleSidebarCommand_SidebarWidget_(iSidebarWidget *d, const char *
936 if (arg_Command(cmd) && isVisible_Widget(w)) { 936 if (arg_Command(cmd) && isVisible_Widget(w)) {
937 return iTrue; 937 return iTrue;
938 } 938 }
939 const iBool isAnimated = argLabel_Command(cmd, "noanim") == 0 && 939 const iBool isAnimated = prefs_App()->uiAnimations &&
940 argLabel_Command(cmd, "noanim") == 0 &&
940 (deviceType_App() != phone_AppDeviceType); 941 (deviceType_App() != phone_AppDeviceType);
941 int visX = 0; 942 int visX = 0;
942 if (isVisible_Widget(w)) { 943 if (isVisible_Widget(w)) {
diff --git a/src/ui/util.c b/src/ui/util.c
index edac214f..c4fb8886 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -1698,6 +1698,8 @@ iWidget *makePreferences_Widget(void) {
1698 addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.customframe}"))); 1698 addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.customframe}")));
1699 addChild_Widget(values, iClob(makeToggle_Widget("prefs.customframe"))); 1699 addChild_Widget(values, iClob(makeToggle_Widget("prefs.customframe")));
1700#endif 1700#endif
1701 addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.animate}")));
1702 addChild_Widget(values, iClob(makeToggle_Widget("prefs.animate")));
1701 makeTwoColumnHeading_("${heading.prefs.scrolling}", headings, values); 1703 makeTwoColumnHeading_("${heading.prefs.scrolling}", headings, values);
1702 addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.smoothscroll}"))); 1704 addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.smoothscroll}")));
1703 addChild_Widget(values, iClob(makeToggle_Widget("prefs.smoothscroll"))); 1705 addChild_Widget(values, iClob(makeToggle_Widget("prefs.smoothscroll")));