summaryrefslogtreecommitdiff
path: root/src/ui/util.c
AgeCommit message (Collapse)Author
2021-12-03Mobile: Manage Identities via SettingsJaakko Keränen
2021-12-02Widget: Widget rearrangement issuesJaakko Keränen
There were issues where popup menus would only get wider and never narrower. Arrangements should not be dependent on the results of a previous one.
2021-12-02Avoid capitalizing headings in .po filesJaakko Keränen
All-caps should be applied at runtime when appropriate.
2021-12-02Mobile: Button group appearanceJaakko Keränen
2021-11-30Mobile: Fixed scrolling of long popup menusJaakko Keränen
2021-11-30SidebarWidget: Crash when switching Feeds modeJaakko Keränen
Updating items immediately destroys the action widgets.
2021-11-30Merge branch 'dev' into work/v1.10Jaakko Keränen
2021-11-29Fixed crash when creating a bookmarkJaakko Keränen
The parent folder pointer was possibly uninitialized.
2021-11-28Bookmarks: Internal tags have a dot prefixJaakko Keränen
Internal behavior tags are now written in bookmarks.ini with a dot prefix (like hidden files on Unix), and at runtime they are removed from the tags string. This makes things more efficient as it isn't necessary to compile regular expressions all the time. TODO: Add "Edit Feed..." into the Bookmarks context menu, and a new menu item for listing all subscriptions. IssueID #331
2021-11-28Fixed page timestamp; 24-hour time preferenceJaakko Keränen
IssueID #349
2021-11-24Bookmarks: Recent folder when adding a bookmarkJaakko Keränen
When creating a bookmark, use the chosen folder as the active one even if it's the root folder.
2021-11-23Preferences: Option for ANSI background color (SGR)Jaakko Keränen
2021-11-23Added Turkish UI languageJaakko Keränen
IssueID #396
2021-11-23SidebarWidget: Redesigned Feeds action toolbarJaakko Keränen
The action toolbar now has a button for marking all as read, and keyboard shortcuts for switching between Unread and All modes.
2021-11-23Select folder when adding/editing bookmarksJaakko Keränen
Most recently used folder is persistently stored in bookmarks.ini. IssueID #358
2021-11-21Site-specific Titan upload identityJaakko Keränen
The identity to be used for uploads is now in sitespec.ini, so it applies to an entire site root. This should match actual use cases better than having URL-specific identities. Also fixed an issue with native menus. Replacing the items with new ones was not implemented. IssueID #379
2021-11-14Localized language names in PreferencesJaakko Keränen
Each dropdown item now uses its own language. This avoids the need to translate all language names to every language, and also helps the user to find the language(s) they understand. The name strings are incorporated as C11 u8"" string literals, which hopefully won't cause compatibility issues as the_Foundation already requires C11. Note that the Translation dialog retains the localized language labels because the user may not speak the source language, so they need to see it in their own language. IssueID #391
2021-11-06Fixed issues with tall popup menusJaakko Keränen
A tall popup menu needs to use overflow scrolling, but the size of the display wasn't considered. Now a popup window is fit to the usable bounds of the display.
2021-11-04Added Czech UI translationJaakko Keränen
2021-11-04Added Hungarian UI translationJaakko Keränen
2021-11-03Popup menus with a selected item are allowed to overflow top/bottomJaakko Keränen
The point of positioning the selected item is that it must remain at the correct origin. Now it just needs a scrolling feature that checks mouse hover position on overflow widgets.
2021-11-02macOS: Tab close buttons on the leftJaakko Keränen
Platform convention.
2021-10-30Added Ukrainian UI translationJaakko Keränen
Kudos to Alyssa Liddell for a 100% translation.
2021-10-27Upgrade assistance: download "classic-set" fontpackJaakko Keränen
2021-10-26Preferences: Warn about missing glyphsJaakko Keränen
2021-10-25Message/question text wrapping; cleanupJaakko Keränen
2021-10-23CleanupJaakko Keränen
2021-10-22Util: Wrap value input promptJaakko Keränen
2021-10-22Mobile: Minor fixes and tweaksJaakko Keränen
Tab close button visibility, newly added preferences, "Manage Fonts" button, button icon color.
2021-10-22Tab close buttons, shown on hoverJaakko Keränen
IssueID #354
2021-10-22Merge branch 'work/v1.8' into devJaakko Keränen
2021-10-22Working on tab close buttonsJaakko Keränen
An [x] button appears on tab buttons when hovering on them. Still needs a bit of layout tweaks and the first tab doesn't have a button yet.
2021-10-19Preferences: Add bookmarks to bottom/topJaakko Keränen
IssueID #358 # Conflicts: # res/lang/de.bin # res/lang/en.bin # res/lang/eo.bin # res/lang/es.bin # res/lang/es_MX.bin # res/lang/fi.bin # res/lang/fr.bin # res/lang/gl.bin # res/lang/ia.bin # res/lang/ie.bin # res/lang/isv.bin # res/lang/pl.bin # res/lang/ru.bin # res/lang/sk.bin # res/lang/sr.bin # res/lang/tok.bin # res/lang/zh_Hans.bin # res/lang/zh_Hant.bin
2021-10-18Preferences: ANSI escape flagsJaakko Keränen
FG color and font style escapes can be enabled separately. FG color remains enabled by default like before.
2021-10-15Preferences: Option to bold visited links, tooJaakko Keränen
Cleaned up serialization of the bool preferences a little.
2021-10-14Preferences: ANSI escape sequences in GemtextJaakko Keränen
It can be argued that using ANSI escapes to style text goes against the intended use of Gemtext. Therefore, all ANSI escapes are now disabled by default in Gemtext.
2021-10-13Added preference for font smoothingJaakko Keränen
2021-10-11Preferences: Add bookmarks to bottom/topJaakko Keränen
IssueID #358
2021-10-10Feeds: Added option to ignore web linksJaakko Keränen
2021-10-09Preferences: Selecting fonts to useJaakko Keränen
Now all the available fonts are selectable in the dialog. Added preformatted and UI font settings and shuffled the order a bit to make more sense.
2021-10-08Font configuration; Prefs has a string value arrayJaakko Keränen
Added a second version of Iosevka with more line spacing, to be used as the default monospace document font.
2021-10-08Colored popup framesJaakko Keränen
2021-10-07DocumentWidget: Line width based on font glyph widthJaakko Keränen
The idea is that the amount of content should be the same per line regardless of the font.
2021-10-06Revised runtime font managementJaakko Keränen
The built-in fonts are loaded via FontPack, and the font table is now constructed dynamically based on available fonts. A full set of variants (style, size) are prepared for each font, but some of the data gets allocated lazily when needed. GmRun needed a larger allocation for fonts, so now all the fields are combined into a single bit field. TODO: Glyph scaling, vertical offsets, and symbol lookup are still not fully working.
2021-09-30SidebarWidget: Scroll view to newly added itemsJaakko Keränen
New bookmarks and folders shouldn't appear outside the visible part of the list.
2021-09-27SidebarWidget: Editing folder namesJaakko Keränen
Use the regular bookmark editor but hide the Special Tags section, and disable all but the Title for now.
2021-09-26Popup menus are positioned on selected itemJaakko Keränen
2021-09-26Compute popup menu bounds in pointsJaakko Keränen
Display bounds and the window rectangle are handled in points, so determine if the menu fits inside its root in points, too.
2021-09-26macOS: Popup window fixes; simply window creationJaakko Keränen
2021-09-26Use popup windows only when inline menus don't fitJaakko Keränen
Performance of popup windows may not be great.