net/lagrange: update to lagrange-1.15.8
Changelog: v1.15.8 * Fixed activation of a pinned identity in inline media requests. * Fixed potential crash when changing split view mode during a UI animation. * Updated UI translations. v1.15.7 * Fixed window contents getting frozen after Reset Zoom when zoom level is already at 100%. * Fixed key modifiers not being recognized before a text field has been activated. (Affects some versions of SDL.) * Updated UI translations. v1.15.6 * The Outline tab in the sidebar now uses regular UI colors, like other sidebar tabs. * Fixed handling of the AltGr key during text input. * Fixed incorrect background colors for Preferences tab buttons with certain themes (e.g., Colorful Light). * Updated UI translations. v1.15.5 * Added several new translated languages: Azerbaijani, Catalan, Czech, Danish, Dutch, Esperanto, Finnish, Greek, Hebrew, Hungarian, Indonesian, Irish, Korean, Persian, Polish, Slovak, Swedish, Turkish, and Ukrainian. (LibreTranslate server was upgraded to v1.3.10.) * Added "Auto-detect" as the default source language for translation. * Added option to skip preformatted blocks when translating a page. * Fixed translation of link lines. Only the link label is now translated. * Fixed lines on translated pages sometimes shifting position and getting the wrong line types. * Fixed handling of redirects when fetching subscribed feed pages. * Fixed saving the "Split view pinning" setting so it doesn't reset when relaunching the app. * Updated UI translations. v1.15.4 * Fixed crash when trying to open a tab, New Identity dialog, or the Identity menu when the Preferences window is focused. * Fixed potential crash if switching focus to a widget being dismissed (e.g., popup going away). * Fixed text input becoming unresponsive when focus switches from a popup being dismissed to a new popup. * Fixed closing the Preferences window with Ctrl+W or ⌘W. * Fixed unnecessary page layout update when closing Preferences. * Updated UI translations. v1.15.3 * Fixed handling of redirects in the inline media player and file downloader. * Updated UI translations. v1.15.2 * Fixed moving input focus to the next window when closing a window. * Centered footer info text for better balance. * Fixed TUI build. * Updated UI translations. v1.15.1 * Fixed opening multiple Preferences windows at the same time. * Fixed the Preferences window missing a window icon. * Footer information moved out of the margin area and under the page content. * Updated UI translations. v1.15.0 New features: * Preferences dialog opens as a separate window. * Option --prefs-sheet: open Preferences as a sheet like in previous releases. * Reordering tabs: tab buttons can be dragged with the mouse, and tabs can be moved left/right using tab context menu items or keyboard shortcuts. * Move a tab to the other side of a split view (tab context menu). * Move a tab to a new window (tab context menu). * Added a "Window" menu to the menu bar that has actions for manipulating and switching the active window, and duplicating and switching tabs. (On macOS, this menu has already been available.) * macOS: Globe+E opens the native Character Viewer. * Gopher: Option to disable Gemini styling on Gopher menu pages. When disabled, whitespace is not normalized and all non-link lines are presented as regular paragraph text. * Japanese UI translation (13% complete). Changes and enhancements: * Redesigned Preferences dialog with vertical tabs and a new organization of the settings. "Fonts" and "Colors" are removed, and there is a new "Content" tab. * Mouse cursor turns into the I-beam only over selectable text. * Indicate that tab autoreloading is enabled by changing the appearance of the navbar reload button. * macOS: "Window" menu has new actions for duplicating and switching tabs. * GTK: Request dark window theme if the app UI color theme is dark. * Prevent high-resolution mice from flooding event processing with too many motion events and delaying UI refresh. * Updated UI translations. Fixes: * Changing the UI scaling factor will now affect all existing and newly created windows. * Possible crash when duplicating a tab. * Issues with event processing when multiple windows are open. * Workaround for a hang when running many parallel requests with MIME filter hooks. v1.14.2 * Fixed a potential crash when using musl libc. * Fixed a potential crash when closing tabs in split view mode. * Fixed inconsistent spacing after level 1 headings. * Fixed endless reload animation events if a split view is closed while loading a page. * Fixed page load progress indicator that was being obscured by active split marker in split view. * Fixed potential crash when trying to reuse a TLS session. * FreeBSD: By default use the system-provided SSL library (that can be LibreSSL). * macOS: Prebuilt binaries use LibreSSL instead of OpenSSL. * Updated UI translations. v1.14.1 * Fixed possible crash when closing a tab with the outline sidebar visible. * Fixed hang when setting a folder's parent to itself in the Edit Folder dialog. * macOS: "Settings" menu item was disabled on Ventura. * Updated UI translations. v1.14.0 New features: * A bookmark folder can be opened in new tabs, in the same window or a new one, one tab per bookmark. * Pinned bookmark identities. A simpler way to use identities. When the "Pinned identity" property is set on a bookmark, opening the bookmark causes the selected identity to be "pinned" to the tab: while you stay on the same site, the identity remains in use when opening links. However, when opening a link to another site, a new tab gets opened. (The old way of per-URL identities is still available, too.) * New identities can be created for use in the current directory (as opposed to domain or page). * Option --dump (-d) to print contents of URLs/paths to stdout. Metadata is printed to stderr. * Option --dump-identity (-I) selects the identity to use with --dump. * Option --replace-tab URL opens a URL, replacing contents of the active tab. * Option --user DIR (-U) to set the directory where user data is stored. Changes and enhancements: * When creating new identities, make it clearer what the scope of usage will be. The UI actions explicitly say "New Identity for Domain" when the default usage will be the entire domain. * URLs opened via system-level handlers always open a new tab, like URLs opened via the command line. * MIME types of many new file extensions are recognized (courtesy of John Cowan). * The regular expression library PCRE2 is preferred over PCRE, if available. The older library is in maintenance mode. * Updated UI translations. Fixes: * Accidental backwards navigation when quickly refreshing the page twice. * Page scroll position is kept when loading finishes, if the user already scrolled during loading. * Schemeless relative URLs no longer assume "gemini" as the scheme, instead using the current page's scheme as default. * Opening a feed entry in a background tab will mark is as read, like opening in the foreground does. * ANSI escapes 39 and 49 (reset FG/BG color to default) were not working. v1.13.8 * Fixed issues with text selection and range visualization. * macOS: Fixed crash when opening URLs via system handler when no windows open. * TUI: Improved POSIX compliance in build-tui script. v1.13.7 * Fixed reporting of errors related to a proxy server certificate. * An untrusted proxy server certificate can be trusted via Page Information. * Updated UI translations. v1.13.6 * Added option to split tabs evenly, excluding sidebar widths (default: no). * Fixed crash when switching view to plain text. * Fixed manually entered image URLs inadvertently opening inline. * Fixed mouse event handling in split view mode when a dialog is open on one side. The other side would not receive wheel events unless input focus was first switched over. * Fixed issues with popup menu positioning. * Fixed drawing of the widget scroll indicator when a widget doesn't fit vertically in the window. * Possible workaround for an issue with mouse hover autoscrolling on an external displays. * Don't open an endless number of bookmark creation/edit dialogs when holding down the keyboard shortcut (Ctrl+D/⌘D). * Percent-encode backslashes in externally opened URLs, for improved compatibility. * Custom link icons are allowed with unsupported/unrecognized protocols (i.e., Emoji at the start of link label). * Use file name as the tab/window title if the content has no headings. * Avoid redundancy in tab/window titles ("Cosmos — Cosmos" → "Cosmos"). * macOS: Fixed a sidebar animation glitch when in split view mode. * macOS: Adjusted idle UI refresh rate when using the Metal backend, to avoid stutters. * Updated UI translations. v1.13.5 * Parent navigation assumes directory URL is equivalent to index page URL (e.g., "/path/" == "/path/index.gmi"): this now only applies to Gemini URLs, and checks for "index.gemini", too, as per Gemini Best Practices. * Fixed crash when determining the name of a ZIP file from a URL. * Fixed misparsing of URL to form the name of a downloaded file (%23 decoded too early). * macOS: Fixed window state being forgotten when all windows are closed. Normally state is saved when quitting, but on macOS the app will keep running without any windows. * TUI: Added "Simple characters" setting (in Preferences > Fonts) that replaces selected Unicode symbols with ASCII approximations. * TUI: Level 1 headings are two lines tall and underlined. * TUI: Don't load any fontpacks. * TUI: build-tui.sh now has interactive build config. * Updated UI translations. v1.13.4 * TUI: Improved detection of supported color modes. The preferred mode is a modifiable palette with 256+ colors. As a fallback, use a fixed VGA palette, or basic monochrome if the terminal doesn't support colors. * TUI: Tuned build flags in build-tui.sh as a Linux workaround (set -O1 on SEALCurses). * TUI: Ignore the LAGRANGE_OVERRIDE_DPI environment variable. * Spartan: Fixed opening URLs in other apps via operating system handlers. * Updated language strings. v1.13.3 * Changed URL field bookmark indicator for better consistency. * Show a proper error page if server closes the connection before a header is fully received. * Spartan: Prefilled prompt input from URL query string is selected by default. * Spartan: Fixed composing request content out of the query string. * Spartan: Fixed handling of empty path in a request. * Spartan: Allow opening URLs from command line. * Spartan: .desktop file includes Spartan scheme handling. * macOS: Register app as Spartan URL scheme handler. * macOS: Fixed relaunching the app after installing an update via Sparkle. * Windows: Register Gopher and Spartan URL handlers. * TUI: Fixed build-tui.sh so it doesn't expect the_Foundation to be preinstalled. v1.13.2 * Fixed failure to restore the selected fonts at launch. * Fixed window state being reset when quitting the app by closing the last window. (No such problem was occurring when quitting via menu or Ctrl+Q.) v1.13.1 * Fixed crash when opening Preferences. The text renderer had problems with font lookup. v1.13.0 New features: * Curses-based clagrange for running the app in the terminal. This is a complete TUI port of the original GUI version including, e.g., UI animations, smooth scrolling, and split view mode. clagrange has separate preferences, UI state, and key bindings but the rest of the runtime files are shared with the GUI version. * Build option ENABLE_TUI: build a text mode version of the app so it can be run in the terminal. Enabling this produces an executable called clagrange that is not linked with SDL. * URL field indicator that shows if there's a bookmark for the current page. Clicking on the indicator opens the Add/Edit Bookmark dialog. * Checking server certificates using a bundled root CA file. * Build option CACERT_PEM_PATH: path of a cacert.pem file that contains trusted root CA certificates. This file is included in resources.lgr. * Support for the Spartan protocol. Prompt lines will open an input dialog for submitting text. This can be expanded to the full upload dialog using which a file can be uploaded, too. * Reopening the last closed tab. The default binding is Shift+Ctrl+T (⇧⌘T). * Page context menu item "View as Plain Text": show the page source as plain text. * Option to view Markdown as source or as a Gemtext conversion (default: as source). Changes and enhancements: * Updated Noto Emoji font with support for Unicode 14. There should be no more missing Emoji glyphs. * Improved UI keyboard navigation. The sidebar and all widgets in dialogs are accessible via Tab cycling, and new shortcuts have been added for opening menus. Menu items and lists are cursor-navigable. Opening the sidebar automatically gives it keyboard focus. * When bookmarking a page, show the Edit Bookmark dialog if there's already a bookmark for the URL. The Edit Bookmark dialog has a new Duplicate button for actually making a duplicate bookmark. * Markdown documents support horizontal rules. * TUI: Zoom controls resize the open sidebar (left sidebar if both visible). * macOS: Keep app running even after all windows are closed. Clicking on the dock icon opens a new window. Fixes: * Sidebar page outline not updated when the current tab changes. * The Escape key closes the bookmark editor dialog as intended. * Preferences: "Justify" option must be hidden if HarfBuzz is not used. * macOS: Window refresh tweaks to avoid stutters (Metal renderer). v1.12.2 * Fixed positioning of the language translation dialog's progress animation. * Fixed hovering on links via the keyboard (default binding: H). * Tab buttons use theme background color with light Oceanic to avoid a color clash. * Feed refresh indicator uses the accent color. * Updated UI translations. v1.12.1 * Windows: Fixed importing identities (path separator confusion). * Updated Help: export/import, user data archives, paragraph justification. * Updated UI translations. v1.12.0 New features: * Export and import user data as a ZIP archive, including identities, bookmarks, site-specific settings, trusted certificate fingerprints, and browsing history. * UI layout options: the navigation/tab bars can be moved to the bottom of the window, and one can have a traditional menu bar instead of the hamburger menu. On macOS, the normal menu bar is used as before. * Added style option to justify paragraphs that are at least three lines long. * Added new content theme "Oceanic" with support for both dark and light modes. * Added new UI accent colors: Red, Green, Blue, Gray. * Feeds: Added "Mark Below as Read" context menu item. * macOS: A set of system fonts is available for use in content/UI. In practice, these are .ttc files loaded from /System/Library/Fonts/, rendered using Lagrange's own text renderer. * Site-specific setting for TLS session resumption (enabled by default). Changes and enhancements: * Roboto is the new default content/UI font, except on Windows where Segoe UI is the default font. * Toggles use symbols instead of YES/NO. * UI uses only one accent color at a time. * Theme palette tuning: adjusted generated palettes of Colorful Dark/ Light, improved the Sepia theme, and added a dark mode Sepia variant. * Certain pages like Help open in a new tab. If the page is already open in a tab, that tab is activated instead of opening a new one. * Improved word wrapping with more breaking punctuation. * Text renderer uses additional subpixel offsets with lower-density displays. * Text rendering optimizations: avoid repeated shaping of the same text. * UI rendering optimizations. Fixes: * Fixed a possible crash when clicking on the first link of a page with the monospace body text option enabled. * Fixed occasional small gaps between glyph backgrounds. * Fixed problems with marking feed entries as read/unread. * The bookmark dialog doesn't show irrelevant fields when editing a bookmark folder. * Spurious spaces are removed from ends of bookmark titles. * Pasting text into an input field should not decode reserved URL characters. * Percent-encoded spaces (%20) in a file name were not decoded when saving a file. * Windows: Fixed issues with restoring window placement in maximized mode. v1.11.2 * Added a keybinding for focusing the URL field. * Sidebar items (bookmarks, feed entries, history) can be middle-clicked to open in a new tab. Holding Shift will open the tab in the foreground. * Flags can be used as link icons. Note that additional fonts and HarfBuzz are required for all the flag symbols to be visible. * Updated UI translations. v1.11.1 * Fixed opening bookmarks in a new window. * Fixed use of a cached TLS session after deactivating a client certificate. v1.11.0 !!️ Downgrading back to v1.10 causes all site-specific themes to be forgotten. Back up your sitespec.ini beforehand. New features: * Multiple windows. Windows can be opened via the menu, Ctrl/⌘+N, or link context menus. * Restoring tabs at launch is now optional. Added a toggle in Preferences > General. * Site-specific settings (Shift+Ctrl/⌘+Comma), with options for theme customization and showing ANSI escape warnings. The custom theme is based on a "seed string" chosen by the user. * Fontpack search. Fonts in the skyjake.fi font library have been indexed based on all the glyphs they provide, so one can look up which fontpacks provide any missing glyphs. * "Manage Fonts" button on the Preferences > Fonts tab. It opens "about:fonts". * "Tab width" setting (default: 8). This controls how TAB characters are displayed on pages. * Setting for maximum valid URI length on 'text/gemini' link lines. * Option to show images decoded from data URLs immediately after loading a page. This is limited to JPEG, PNG, WebP, and GIF (no animations). * "Paste and Go" in the input field context menu. * TLS session caching: reduces the need for redundant handshaking by keeping old TLS sessions cached for 10 minutes. * UI language for Italian. Changes and enhancements: * The input prompt dialog saves entered text persistently, just like the Upload dialog. This prevents losing text if the dialog is closed accidentally. * Input field backup is done per window, e.g., "uploadbackup.2.txt". * Sidebar context menus have more consistent "open" menu items, now including opening the item in a new window. * The missing glyphs warning dialog now shows a list of the missing code points. * Downloading the Classic Set fontpack is no longer suggested since fontpacks can be searched as needed. * Abbreviate font pack descriptions on "about:fonts". The full description is shown when viewing a single fontpack. * The active tab button uses the theme background color if the page color theme has a bright colorful background to avoid clashing with the UI accent color. * Adjusted colors of the Gray and Black page themes. * Added additional (small) variations to theme hues. * Data URLs have their own link icon. * Adjusted appearance of context menus. * Updated UI translations. Fixes: * Incorrect behavior and UI glitches related to data URLs. The UI will now omit the encoded part of data URLs. * Occasional mismatch between page and banner backgrounds. It was due to loss of precision when converting colors to 8-bit RGB. * Issues with changing UI metrics when a window moves between displays. Not all UI elements were rescaled properly. * Glitches with opening and closing context menus. * TAB characters are no longer forcibly normalized to spaces. * Pasting LF characters in the URL field should not be possible. * Avoid reinitializing fonts more than once during startup. v1.10.6 * Added bindings for switching Feeds list to Unread/All mode. * Fixed normalization of empty Gemini URL paths to / as per the November 2021 spec update. * Updated UI translations. v1.10.5 * Added a keybinding for "Paste Preceding Line" (in input prompt menu). * The "Miscellaneous Symbols and Arrows" Unicode block (U+2B00...U+2BFF) is accepted as custom link icons. * When mixing Emoji into preformatted text (glyphs are from different fonts), lay out the Emoji as double-wide characters to avoid overlapping. * Faster hover-scrolling of long popup menus. * Fixed sidebars not getting updated after identity addition/deletion. * Fixed "Paste Preceding Line" not being undoable. * Fixed lookup of missing glyphs. Fontpack priorities are now applied as documented. * Fixed animation issue with sidebars in the right side of split view. * Fixed a refresh issue that caused the first line of the page to be redrawn continuously, spiking CPU usage. * Fixed link numbers showing up next to image captions. * Fixed how the link hover popup handles extremely long URLs. * macOS: Handling regular mouse wheel events. Each step of the wheel should cause a single scroll event. * macOS: Fixed a sidebar clipping issue with Metal. * macOS: Possible workaround for a window refresh glitch when using SDL's Metal renderer. (Sometimes animated elements like the URL hover info would stop at being partially transparent and not complete the fade.) * Updated UI translations. v1.10.4 * Added missing ANSI background color codes 100-107 (high-intensity VGA). * Fixed how the ANSI FG color is adjusted to keep text legible on dark or bright backgrounds when BG color is unset. * Fixed possible crash when there are ANSI escapes in the alt text of a preformatted block. * Fixed tab/window titles containing ANSI escapes (escapes are removed). * macOS: Use Metal for drawing graphics if display refresh rate is higher than 60 Hz. * macOS: Handling scroll events meant for other windows. * Updated UI translations. v1.10.3 * Unix: Added a lagrange(1) manual page. * Hide the [+] button on the tab button row if the navbar has a New Tab button. * "/index.gmi" is considered equal to "/" when navigating to parent directory. * Site icon ❑ replaced with ⌘ ("place of interest") for a more distinct appearance and to avoid similarity with the ❐ "Open in New Tab" icon. * Navigating to parent or root from "about:" pages goes to "about:about" to see overview of all the About pages. * Gopher: Fixed navigating to root, e.g., when clicking on the page top banner. Set item type to 1 to show a gophermap and not the plain source. * Titan: When navigating to parent/root, switch URL scheme to "gemini". This action occurs on a Titan response page, so initiating a new upload with the parent/root URL is probably not appropriate. * Fixed crash when a media player is active and a new download is started. * Fixed crash when a line contains nothing but an ANSI escape sequence. * Fixed a possible crash when saving state of subscribed feeds. * Fixed the right-hand sidebar handling the U and Shift+U key events if it was showing the Feeds tab, even though the sidebar was hidden. * Fixed line wrapping at backslashes. They are now considered word-breaking characters. v1.10.2 * Fixed cancelling an input query. Now pressing Cancel will navigate back to the previous page as intended. * Gopher: Fixed navigating to parent. Set item type to 1 to show a gophermap and not the plain source. * macOS: Workaround for a crash when launching. Prevent event processing from being triggered while the app window is becoming visible for the first time. * Fixed a build issue on Haiku OS. * Updated Smol Emoji: added the rest of Unicode 8 Emoji glyphs. v1.10.1 * Fixed bottom actions of the Feeds sidebar getting hidden when all entries are read. This prevented switching between Unread/All filter modes. * Fixed potential crash when downloading a large file (e.g., a fontpack). * Linux: SDL event handling workaround adjusted to only apply to 2.0.18+. * Updated UI translations. v1.10.0 New features: * macOS: Trackpad swipe navigation. * Customizable navbar actions. Right-click on a button to change its action. (Identity and hamburger buttons cannot be changed.) * Identity toolbar menu can be used to switch between alternate identities. If you have used multiple identities on one site, this makes it more convenient to switch between them. * Added "Edit Page with Titan": opens the upload dialog with current page's content prefilled. * Added "Paste Preceding Line" in the input prompt dialog. Potential use cases include user-editable sections on a page and suggested/ example input values. * Added footer action to open file in another app when the media type is unsupported. * Added option to disable cursor blinking in input fields. * Added ANSI SGR codes for light and regular font weights (2, 10). * macOS: Added "Show in Finder" in the Identities sidebar. Changes and enhancements: * Improved image inlining: all responses with an image media type can get inlined, regardless of the file extension in the URL. * Inline image metadata goes under the image instead of possibly overlapping the label text. * Inline downloads have a context menu for relevant actions, and clicking on the download opens the file. * Improved highlighting of open pages. The highlight no longer goes under the side elements on the page. * Entry dates in feed links are de-emphasized for improved readability. * Revised link hover popup. None of the information appears on the same line any more (which was problematic if there wasn't enough space). Instead, everything is shown in a popup at the bottom/top of the view, including the identity that will be used when opening the link and the date of last visit. * Revised layout of the Upload dialog. There is a new edit field that lets you modify the file path of the URL. Identity names are in bold. * Optimized UI layout procedure and memory use during UI event processing. * Audio subsystem is only initialized when actually needed. * Prevent state file corruption if the app happens to get killed while state is being saved. * Gempub: Open books in 1:2 split mode instead of 1:1. * Minor improvements in page caching. * Detect when text is Bengali, Devanagari, Oriya, or Tamil. Fixes: * Fixed a history caching issue: if there were multiple instances of the same URL in history, only the latest one's content would be used when navigating back/forward. * Fixed handling of reserved characters in URLs (cf. RFC 3986, section 2.2). * Fixed the copy/paste context menu not showing in input fields. * Fixed duplicated warnings showing in the page banner. * Fixed very narrow input fields causing the app to hang. * Fixed initial scroll position in multiline input fields. * Fixed layout issues in the sidebar on empty Feeds and Identities tabs. * Fixed lookup results list becoming too narrow. * Fixed glitches when a widget has multiple simultanous animations. * Fixed mixed-language CJK word wrapping. * Fixed parsing Atom feed dates with leading whitespace. * Windows: Fixed installing individual TrueType fonts via drag and drop. * macOS: Fixed high CPU usage during audio playback and UI animations. * macOS: Line breaks inside menu items (e.g., info about current identity). v1.9.5 * Fixed misshapen button borders (SDL 2.0.16 line drawing workaround). * Fixed actions being triggered when navigating via home row keys. * macOS: Fixed native menu items being triggered when navigating via home row keys. * macOS: Fixed native menu items triggering when changing key bindings. v1.9.4 * Fixed crash when a link is missing both URL and label (just a =>). * Fixed handling of foreground color escapes in the simple text renderer. * Updated UI translations. * Upgraded SDL to 2.0.18. v1.9.3 * Added UI language for Dutch. * Updated UI translations. * Fixed the simple text renderer (build error, hanging). * Fixed time zone of the "valid from" time in created client certificates. * macOS: Fixed selecting scope for a newly created identity. v1.9.2 * Windows: Use the correct version number for update checks. * Fixed possible crash when switching Feeds sidebar filter mode via the popup menu. * Shorter label for "Mark All as Read" in Feeds sidebar actions. * In popup menus, differentiate between selected item and hover item. * Updated UI translations. v1.9.1 * Added "24-Hour Time" preference. Currently it only affects the page timestamp in the bottom left corner. * Heading level 3 is indented like regular text lines, making the difference to level 2 evident. * Fixed crash when creating a top-level bookmark. * Fixed drawing the page timestamp. * Fixed layout of tab buttons and other resizing widgets so all available space is used. * Fixed tab close buttons preventing activation of very short tab buttons. The close buttons only appear if there is room for them. * Fixed very short tab labels not getting truncated. * Fixed the New Tab button not staying at the right edge of the window, depending on how many tabs are open. v1.9.0 New features: * Added a toolbar button for toggling the left sidebar. * Added an unsplit button in the toolbar when in split view mode. * Choose parent folder when creating or editing a bookmark. * Support for 24-bit RGB ANSI color sequences. * Support for ANSI background color escapes (disabled by default). * macOS: Automatic updates using the Sparkle framework. * Windows: Automatic updates using the WinSparkle library. * UI language for Turkish. Changes and enhancements: * Adjusted font styles of heading levels 2 and 3. * Sidebar context menus also appear when clicking over the sidebar background. In this case the menu contains general functions not related to any item. * Feeds tab in the sidebar has a redesigned action toolbar with "Mark All as Read", and dropdown menu and keyboard shortcuts for changing the filter mode. * Feeds tab remembers the unread/all filter mode persistently. * ANSI foreground colors are modified to match colored theme backgrounds (e.g., Sepia). * Navigating back and forward in history will skip input query prompts (status 1x), showing only the query results. * Ctrl+A now selects all text in input fields (except on macOS, where it remains the Emacs-style jump to start/end of line). * The resource bundle (resources.lgr) is now a regular ZIP archive. This allows it to do double duty as a fontpack containing the built-in fonts. The archive contains a version number to avoid use of obsolete resources. Fixes: * Fixed layout issues related to footer action buttons. Sometimes the buttons would overlap page content. * Fixed handling duplicate feed entries: if multiple entries in a feed have the same URL, only use the first one. v1.8.3 * Fixed clicking on UI elements that are over the page top banner. The banner would always get clicked instead. * Titan upload identity is remembered as a site-specific setting. It is no longer affected by selections in the Identities sidebar. * macOS: Fixed updating items in native menus, e.g., upload identity selection. v1.8.2 * Fixed encoding of + characters in URLs as per RFC 3986. * Fixed crash when fontpack.ini specifies a file that cannot be found. * Fixed incorrect title of some error messages (was showing response meta info). * Fixed ambiguous font dropdown menu items if some fonts have the same name. Now the unique font ID will be included in these cases. * Made it possible to manually trust a certificate whose subject doesn't match domain name. * Updated UI translations. v1.8.1 * Added UI translations: Hungarian, Czech. * Added the zip utility as a build requirement. It is used for making fontpacks. * Fixed build failure with the simple text renderer, i.e., when HarfBuzz is disabled. * Fixed issues scrolling tall popup menus (e.g., UI language selection). * Fixed a line spacing artifact in long headings. With some fonts, the lines were clipping each other so the spacing was restored to normal. * Fixed a socket I/O issue that caused received data to be ignored when the peer closed the connection prematurely. * macOS: Tab close buttons are on the left side (platform UI convention). * Gopher: Recognize both LF and CRLF line endings in page content. v1.8.0 !!️ Font settings will be reset to defaults. Only a minimal set of fonts is bundled with the app. If additional fonts are needed, one can use custom TrueType fonts or download some from the Font Library. New features: * Added a customizable font library. Open "about:fonts" to view and manage the installed fonts. * Added TrueType fonts as a recognized content type. When one is viewed in the app (e.g., via a drag-and-drop), there is an option to install it as a user font. * Added fontpacks: ZIP archives containing one or more TrueType fonts and parameters about how they should be used. * Added support for TrueType collections (.ttc). * Added new font options: separate preformatted and monospace body fonts, UI font, smoothing. * Added style option to show all links as bold regardless of visited status. * Added warning message about missing font glyphs. * Added warning message about terminal emulation. Lagrange supports a small subset of ANSI escape sequences, so page appearance may be incorrect when these are used in content. * Added tab close buttons. * Added style option to show links as bold regardless of visited status. * Added a feed subscription option to exclude web links (HTTP/HTTPS), since those are not viewable in the app by default. * Added an automatic conversion of Markdown to Gemtext when viewing local files. (Not all Markdown features are supported.) * Added UI language for Ukrainian (uk). Changes and enhancements: * Removed all alternative built-in content fonts. * The default content font is Source Sans, same as the UI font. * Redesigned error/warning messages. These now show up as part of the page top banner, and their appearance can no longer be replicated via Gemtext. * Warning messages are interactive. Click on them to perform relevant actions. * Per-pixel scrolling in input fields (e.g., when using a trackpad on macOS). * "file://" pages are always unthemed. * Show a byte counter during large downloads instead of instantly jumping to a content view. Content may not viewable correctly until the download has finished. * Site-specific settings (sitespec.txt) converted to .ini format. These are currently used for the Titan upload port and remembering which warnings have been dismissed. * macOS: One can choose between Black/Dark and Light/White UI palette when system color theme is enabled. Previously the system theme always switched to either Dark or Light. Fixes: * Fixed an issue where the page is unscrollable until the mouse cursor is moved (wrong hover state). * Fixed wrapping of long input prompts and dialog messages. * Titan upload token is remembered when the dialog is closed. * Fixed various layout issues with page footer buttons. * Fixed theme change glitches when an input prompt appears. * macOS: Fixed forced unhiding of the dock when the app is launched. v1.7.3 * Fixed a memory leak in the text renderer. * Added option to place new bookmarks to the top of the bookmarks list. * Updated UI translations. v1.7.2 * Fixed regressions in text selection, for example when marking text leftwards from the start position or when starting from outside any text run. * Fixed a crash when clicking on Outline sidebar items before a page has finished loading. * Gopher: Handle the p line type (PNG image). v1.7.1 * Fixed feed entries forgetting their (un)read status after several months. * Fixed feed entries being discarded before they are removed from their source feed, causing them to reappear on the next refresh. * Fixed failure to parse Atom feed entry timestamps that use space as the date/time separator. * Fixed dropdown labels staying visible in the translation dialog. * Fixed showing/hiding of the feed update indicator in split view. * Fixed a crash when selecting text. * Added a small progress bar to the feed update indicator. * When adding a bookmark/folder, the bookmarks list scrolls to show the new item. * Improved reordering bookmarks in a folder: an item inside a folder can be moved to be the last item in the folder, or out of the folder depending on which side of the boundary marker the mouse cursor is. v1.7.0 (2021-09-29: A rebuilt macOS Intel binary is now available with the correct version of SDL, fixing issues with context menus.) !!️ Bookmarks file format has changed. Your existing bookmarks will be imported to the new format. The old bookmarks.txt file can be found in the config directory and is writable only by v1.6 and earlier versions. !!️ Saved UI state format has changed. Downgrading will reset window state, close all tabs, and clear the navigation cache. New features: * Added bookmark folders. Folders can be nested inside each other, and the fold state of each folder is remembered persistently (per sidebar). * The Bookmarks export/list page uses subheadings (level 2 and 3) to represent folders. * Added menu item to sort (a folder of) bookmarks alphabetically. * Added identity selection in the Upload dialog. * Added image colorization setting. Images can be viewed in grayscale or using the page's theme colors. * Added UI focus cycling to all buttons with Tab and Shift+Tab. This includes dialog buttons and the navigation bar. * Added a footer action to view application/octet-stream content depending on recognized file extensions. * Added support for viewing WebP images. The libwebp library is an optional dependency and will be included in the build if found via pkg-config. * Added command line options -w, -h for setting window size at launch. * Added new UI languages: Esperanto, Spanish (Mexico), Galician, Interslavic, and Slovak. Note that some of these are still works in progress. Changes and enhancements: * Bookmarks are now ordered manually. You can drag and drop bookmarks in the list to change the order. * The internal bookmarks file format is now a TOML subset instead of just being three text lines per bookmark, making it more robust and human-readable. * Context menus and other popup menus that do not fit inside the window are split off into independent windows. * macOS: Use native UI controls for context/popup menus. Note that this required making a couple of small changes to SDL (see the updated patch in the repository). * Dropdown button menus position themselves on the currently selected item. * Dialogs that don't fit inside the window have a scroll bar. Note that such dialogs can only be scrolled via mouse wheel/trackpad, not by dragging the bar. * Adjusted mouse wheel smooth scrolling speed for better consistency. The default scrolling speeds were increased to level 2. * Visited URLs are remembered for six months. This affects the unread status of feed entries and the visited status of links. * Adjusted the UI color palette so that the alternative accent color is used more rarely. For example, input fields now use the primary accent color. * Adjusted button hover/press colors for better consistency, particularly when the button label uses a non-standard color. * Image links (as determined by file extension) automatically use a "photo" link icon if the URL is on the current site. This makes it clearer which links will likely show up as an inline image. * Alt+Shift+Tab inserts a tab character in input fields. * UI rendering optimizations. Some UI controls (e.g., navbar, menus) will buffer their contents so they can be drawn efficiently during animations. Fixes: * Fixed issues with subscribed feed entry tracking. Heading entries are not discarded until they are removed from the source. * Fixed the sidebar unread entry count showing the wrong number after subscribing to a Headings feed. * Fixed handling of tab characters in the Upload text editor (when using HarfBuzz). * Fixed hang when wrapping a very long word (with HarfBuzz disabled). * Fixed regressions in retaining window state, position, and size. * Fixed URL encoding of the % character. * Fixed ambiguous handling of colons in URI paths. * Fixed issues with cursor positioning in multi-line input fields. * Fixed issues with touch swipe events. * X11: Ask SDL not to bypass the window compositor. This should avoid issues on KDE, for example. * macOS: Fixed a flash of blank background color when launching the app. * Windows: The main window title bar (when not using a custom frame) uses dark mode colors according to the UI color theme setting. Previously it was always stuck on light mode.
This commit is contained in:
parent
e77d0a2243
commit
f8e1a1c340
3 changed files with 10 additions and 8 deletions
|
@ -1,7 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.10 2023/01/29 21:17:28 ryoon Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2023/04/27 15:04:46 yhardy Exp $
|
||||
|
||||
DISTNAME= lagrange-1.6.5
|
||||
PKGREVISION= 6
|
||||
DISTNAME= lagrange-1.15.8
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= https://git.skyjake.fi/gemini/lagrange/releases/download/v${PKGVERSION_NOREV}/
|
||||
|
||||
|
@ -13,6 +12,8 @@ LICENSE= 2-clause-bsd
|
|||
USE_CMAKE= yes
|
||||
USE_TOOLS+= pkg-config
|
||||
|
||||
DEPENDS+= zip-[0-9]*:../../archivers/zip/
|
||||
|
||||
.include "options.mk"
|
||||
.include "../../converters/fribidi/buildlink3.mk"
|
||||
.include "../../devel/SDL2/buildlink3.mk"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2021/07/16 16:00:33 nia Exp $
|
||||
@comment $NetBSD: PLIST,v 1.2 2023/04/27 15:04:46 yhardy Exp $
|
||||
bin/lagrange
|
||||
man/man1/lagrange.1
|
||||
share/applications/fi.skyjake.Lagrange.desktop
|
||||
share/icons/hicolor/256x256/apps/fi.skyjake.Lagrange.png
|
||||
share/lagrange/resources.lgr
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.5 2021/10/26 11:05:52 nia Exp $
|
||||
$NetBSD: distinfo,v 1.6 2023/04/27 15:04:46 yhardy Exp $
|
||||
|
||||
BLAKE2s (lagrange-1.6.5.tar.gz) = 247c9e454b9920fcfafca7b2b855a4cfb6554ced73df57e8ea9f8e806da07f09
|
||||
SHA512 (lagrange-1.6.5.tar.gz) = f86eac167f68221166fdb93ff26b33c070e771405a845884c3f1ccfd4c54cee6a207a21022d4e9ade48a33648ca3f5a607ac432879c6163ea494225448188e88
|
||||
Size (lagrange-1.6.5.tar.gz) = 22717536 bytes
|
||||
BLAKE2s (lagrange-1.15.8.tar.gz) = a528315ca5299286b80072aaf98e597c9e3a5976ae4a3d385bf8697839912450
|
||||
SHA512 (lagrange-1.15.8.tar.gz) = d386bdbac133bc1dad73e0c5593875c234b567aba3706ef6c9b43d3aaa3761593beb20229182d1c00e941583d1ce81138d55941033df01112d4cc49b8ad8c9ee
|
||||
Size (lagrange-1.15.8.tar.gz) = 9961734 bytes
|
||||
|
|
Loading…
Reference in a new issue