summaryrefslogtreecommitdiff
path: root/src/ui/util.c
AgeCommit message (Collapse)Author
2021-11-30Placement of popup menus at bottom of windowJaakko Keränen
Don't do a selection highlight if the menu is at the bottom of the window, that would be too much scrolling.
2021-11-30SidebarWidget: Crash when switching Feeds modeJaakko Keränen
Updating items immediately destroys the action widgets. # Conflicts: # src/ui/sidebarwidget.c
2021-11-29Fixed crash when creating a bookmarkJaakko Keränen
The parent folder pointer was possibly uninitialized.
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.
2021-09-26Added a PerfTimer utilityJaakko Keränen
2021-09-26X11: Tuning popup window behavior and appearanceJaakko Keränen
2021-09-26macOS: Experiment with system accent colorJaakko Keränen
This doesn't quite fit in the palette system currently, but it would be a nice addition later.
2021-09-26Fixed context menu centering with popup windowsJaakko Keränen
2021-09-26Root: Crash when closing split viewJaakko Keränen
Some deleted widgets were kept around in the root's onTop list.
2021-09-25Lang: Added eo, es_MX, gl, isv, and skJaakko Keränen
New almost completed or in-progress UI translations.