summaryrefslogtreecommitdiff
path: root/src/ui/util.c
AgeCommit message (Collapse)Author
2021-03-18Draw soft popup menu border shadowsJaakko Keränen
2021-03-18Scrollbar fading and periodic commandsJaakko Keränen
Added a new mechanism to issue periodic but not per-frame commands. This is used for main-thread operations like checking if it's time to fade away the scrollbars. Scrollbars are faded away completely on Apple platforms. Adjusted list right margins accordingly.
2021-03-17CleanupJaakko Keränen
2021-03-16Translation: Remember last used languagesJaakko Keränen
2021-03-16Mobile: Dialog layout fixesJaakko Keränen
Orientation and safe inset changes are now applied to phone dialogs. There is still the occasional unscrollable dialog, but it seems random?
2021-03-15Mobile: Find on page, various minor tweaksJaakko Keränen
On mobile, the search bar appears at the top of the page. Keep the haptic engine running so there is no delay before each effect. After a long-press, remove the "mouse" from the display area so there is no misleading hover. Widget border top/bottom use metrics.
2021-03-15Translation: Handling cancellation/errorsJaakko Keränen
2021-03-15Added a page translation serviceJaakko Keränen
This is quite experimental. The page contents are sent to an instance of LibreTranslate (powered by Argos Translate), which may or may not successfully translate the contents without mangling the gemtext markup.
2021-03-13Fixed resizing of input dialogsJaakko Keränen
2021-03-12Cut/copy/paste paste via menusJaakko Keränen
IssueID #175
2021-03-11Added option to word wrap plain text filesJaakko Keränen
On by default because there is no horizontal scrolling for plain text files.
2021-03-10Mobile: Phone-styled input dialogJaakko Keränen
2021-03-10Mobile: Styling for regular dialogsJaakko Keränen
2021-03-10Edge-dragging preference panelsJaakko Keränen
2021-03-10Mobile: Working on the phone preferencesJaakko Keränen
2021-03-10Mobile: Working on dialog stylingJaakko Keränen
2021-03-09Mobile: Revising phone-style dialogsJaakko Keränen
Sliding panels and left-edge swipes.
2021-03-06Rasterize a few glyphs on every frameJaakko Keränen
Also various widget fixes/improvements.
2021-03-06Mobile: Dialog styling for phonesJaakko Keränen
2021-03-06Mobile: Widget interaction and appearanceJaakko Keränen
Overflow-scrollable allows momentum scrolls. Adjusting fonts in phone sheets.
2021-03-05UI color tuning; menu item backgroundsJaakko Keränen
2021-03-05Restructuring dialogs for mobileJaakko Keränen
On a phone, dialogs are restructured to be more vertical and full-width.
2021-03-04LabelWidget: Added an optional iconJaakko Keränen
Label icons are intended for context menus.
2021-03-04Fixed buttons in Import Identity dialogJaakko Keränen
2021-03-03CapsLock as a modifier key; adding a modifier mapping tableJaakko Keränen
IssueID #87
2021-03-02Server certificates may also be verified by CAsJaakko Keränen
If the CA file/path are configured in preferences, trust CA verification over manual TOFU checks.
2021-02-27Fixed crash when creating a bookmarkJaakko Keränen
IssueID #184
2021-02-26Visual design improvementsJaakko Keränen
URL input field has a maximum width. Adjusted navbar appearance and margins. Tuned UI palette and added UI accent color preference.
2021-02-24Preferences: Dropdown stylingJaakko Keränen
2021-02-24Source Sans Pro and Iosevka as font optionsJaakko Keränen
Allow the UI and monospace fonts to be used as page content fonts.
2021-02-24Fixed text entry dialogs closing prematurelyJaakko Keränen
2021-02-23Option to auto-reload a tab at a given intervalJaakko Keränen
IssueID #116
2021-02-22Allow user to set any character as bookmark iconJaakko Keränen
The custom icons only appear in bookmark and feed lists, though.
2021-02-22Dialog buttons on the rightJaakko Keränen
Follow typical GUI conventions by placing dialog buttons on the right edge. This leaves space for additional actions on the left.
2021-02-22iOS: Font adjustmentsJaakko Keränen
2021-02-21iOS: Working on menu stylingJaakko Keränen
2021-02-21Animated widget offsets; phone sidebarsJaakko Keränen
2021-02-20Revising sidebar placement for phonesJaakko Keränen
In portrait mode, phones have no room for sidebars so need to use a different widget arrangement.
2021-02-20iOS: Tweaks and changes for phone modeJaakko Keränen
Phone mode uses a modified user interface. Work in progress...
2021-02-19iOS: Adjusting the UI for a tablet screenJaakko Keränen
2021-02-16Search engine queries via the navbarJaakko Keränen
Any text that doesn't look like a URL is passed onto the configured search URL as a query string. IssueID #157
2021-02-15Preferences: Saturation levels as percentagesJaakko Keränen
2021-02-15Added user preference to disable vertical centering of pagesJaakko Keränen
The centering option affects all pages, including "about:" and error messages.
2021-02-13Windows: Custom frame preference; further minor tweaksJaakko Keränen
2021-02-03XDG: Check XDG_CONFIG_HOME and the user's download directoryJaakko Keränen
Also added a build option to disable changing the user download directory within Lagrange, since that's set via XDG config.
2021-02-02Improved focus switching for dialogsJaakko Keränen
Widgets can now be defined as being the "focus root", i.e., the topmost widget under which focus switching happens. Normally this is the window root widget, but dialogs use this flag to confine focus switching inside the dialog. InputWidget in Overwrite mode will focus switch to the next focusable widget when the text field becomes full.
2021-01-27Added preference for maximum cache sizeJaakko Keränen
Rather than simply limiting each tab's cache to 50 most recent URLs, there is now a user-configurable maximum size. If more content is cached, the oldest/largest responses will be removed from memory. The default maximum cache size is 10 MB. IssueID #109
2021-01-17Improved menu button behaviorJaakko Keränen
Clicking a menu button while the menu is open should just close the menu. Menus should not close if the mouse pointer leaves the window.
2021-01-12Added keybinding for toggling URL hover showingJaakko Keränen
IssueID #64
2021-01-10Option to show full URL when hovering on a linkJaakko Keränen
The URL is shown in the bottom of the page. IssueID #64