Subject: CVS commit: pkgsrc/net/lagrange
From: Yorick Hardy
Date: 2023-11-22 08:32:25
Message id: 20231122073225.92F2CFA3F@cvs.NetBSD.org

Log Message:
net/lagrange: update to lagrange-1.17.4

== Release notes

== 1.17.4
* Removed automatic horizontal scrolling of wide preformatted blocks.
  Instead, hold down the Shift key to scroll horizontally with the
  mouse wheel.
* Fixed an event processing issue where some events were not handled
  as expected, for instance when opening a link into split view the
  opened link was not highlighted.
* Fixed links not reacting to mouse hover after jumping to a heading
  from the Outline.
* Fixed input prompt behaving strangely after changing font size.
  (Lines are now forced to rewrap after changing the font.)
* Fixed mouse cursor not changing its shape in all open windows.
* Updated UI translations.

== 1.17.3
* Fixed activating a pinned identity when opening a bookmark via the
  Bookmarks menu.
* Fixed initial scope of a created identity when using the default
  selection.
* Fixed issues with dropdown menus when the menu appears as a popup
  window.
* Fixed clearing the pinned identity of a bookmark.

== 1.17.2
* Tabs opened in background are immediately added to the URL history.
* Mouse wheel direction switches back to vertical when a wide block
  has been scrolled all the way.
* Fixed current text selection extending during scrolling even after
  mouse button has been released.
* Fixed drag-to-select with the mouse being too sensitive to mouse
  movement.
* Fixed the numbered links key (default: Alt/Option) while navigating
  to new pages. It is no longer necessary to release and press the
  key again on the new page.
* Fixed long bookmark titles making the Bookmarks menu too wide.
* ANSI Cursor Forward control sequence ("CSI n C") is converted to a
  series of spaces, but only in preformatted text.
* Fixed parsing of ANSI SGR sequences with many attributes
  concatenated (e.g., 0;1;40;30).
* Fixed inline image loading indicator overdrawing itself, becoming
  unreadable.
* Windows: Installer restarts the app after updating, and there is a
  checkbox for launching the app if it wasn't running. The
  uninstaller is now signed, too.
* Updated UI translations.

== 1.17.1
* Added "Vibrant Light" color theme.
* Improved readability of "Colorful Light" headings.
* Tuned autoscrolling when selecting text to avoid accidental
  scrolling.
* Preformatted blocks no longer switch to a smaller font to fit to
  the page.
* Mouse wheel scrolls a wide preformatted block when hovering over
  the block, instead of scrolling vertically. You can hold the Shift
  key to swap the scroll direction.
* Fixed horizontal scrolling issues with preformatted blocks: only
  scroll if needed, allow scrolling anywhere on the block and not
  just on non-empty text lines, and when scrolling disallow swipe
  navigation over the area.
* Fixed visual artifacts around and next to preformatted blocks
 (e.g., streaking).
* Fixed potential crash after (un)folding a preformatted block.
* Fixed links being non-clickable after searching text on a page has
  scrolled the view.
* Fixed scroll position being reset when reloading the page.
* Fixed initial size of the upload dialog when font size has been
  changed.
* Fixed "View as Plain Text" context menu item after reloading a page.
* Strip any null characters from the page source during whitespace
  normalization.

== 1.17
Caps Lock is no longer treated as a modifier key in keybindings. Use
`--capslock` to enable it.

New features:
* The Bookmarks menu lists all of your bookmarks and folders.
* Snippets: A collection of short text segments that can be pasted
  into any input field via the context menu. For example, useful for
  your gemlog header/footer and other often-repeated parts.
* Snippets can be managed in Preferences > Snippets and created by
  right-clicking on links or selected text on a page.
* Custom search queries: Snippets whose name starts with a bang
  (e.g., "!w") can be invoked in the URL field to make customized
  queries. The snippet content should be a Gemini search URL, for
  example: "gemini://gemi.dev/cgi-bin/wp.cgi/search".
* Quick lookup shows matching snippets as a new type of search result.
* Keyboard shortcut Shift+1/⇧1 for conveniently making a snippet
  query.
* Input prompts, upload dialogs, and bookmark editors can be resized
  by dragging the left or right edge.
* Text zooming in the upload text editor.
* Gemtext syntax highlighting in the upload dialog.
* Recently submitted input prompt contents are saved persistently and
  can be restored via the Ellipsis utility menu in the prompt dialog.
* You can force the input prompt to appear before a certain URL is
  requested so you can enter a query string. This is useful for
  avoiding an extra request when it is known that a URL will require
  input (e.g., search engine, game input).
* When importing links as bookmarks, you can optionally create
  subfolders from headings. You can also choose a destination folder
  for the imported bookmarks.
* Quickly add/move a bookmark into a folder with the navbar bookmark
  button context menu.
* User-selectable feed refresh interval. Previously the interval been
  hardcoded to four hours. (Based on a patch by Michael Nordmeyer.)
* Setting to never/always collapse preformatted blocks, disabling the
  ability to toggle the folding.
* "Fold All" and "Unfold All" in Bookmarks sidebar context menu.
* "Search" context menu item on selected text to make a search query
  with it.
* "Use as Search URL" in link context menu.
* "Mark All Links as Visited" in the Tools submenu.
* Option `--capslock`: enable Caps Lock as a modifier in keybindings.
* Option `--theme` (`-t`): change UI color theme of open Lagrange
  windows. Can be used in scripts to switch the theme automatically
  (for example, see the `darkman` utility; thanks to Jason McBrayer
  for suggesting this).
* Support for the Nex protocol
  (nex://nightfall.city/nex/info/specification.txt).
* Keyboard shortcut for deleting bookmarks (Backspace). Useful when
  the Bookmarks list has input focus.
* macOS: System UI accent color can be chosen as the accent color.

Changes and enhancements:
* Menus can have submenus. Several of the old menus were reorganized
  accordingly. For example, the page context menu has a Tools submenu
  for translation, Titan uploads, etc.
* Show unsupported media types as plain text if the content is valid
  UTF-8 encoded text.
* The page scrolls while selecting text near top/bottom.
* Display a logo graphic in empty windows/tabs as a placeholder.
* Visualize input focus in lists by drawing a focus rectangle around
  the current item.
* Menu separators are taller and more distinct for a clearer item
  separation.
* Adjusted colors of the Import Identity dialog.
* Auto-hide sidebars when resizing a window/split if the document area
  would become narrower than the sidebar.
* Tuned theme color palette and improved background colors of
  "Colorful Light".
* Newly created client certificates have a default expiration date in
  the year 9999, which means they won't expire. One can still also
  set a specific date as before.
* Periodically save UI state (including each tab's navigation history)
  to prevent data loss in case the app crashes. These runtime saves do
  not include any cached page content. The full cache is still saved
  as before when quitting the app.

Fixes:
* Potential crash at shutdown when a feed update is ongoing.
* Problems with window refresh when multiple windows are open. For
  example, the cursor not blinking in input fields.
* Incorrect name displayed in page banner when URL query string
  contains a tilde name.
* Fixed navbar spinner animation going too fast when both sides of a
  split view are being loaded.
* Glitches during swipe navigation (touch screens, macOS trackpad).
  Behavior is more robust at ends of history and when content is not
  immediately available in cache.
* Fixed opening of context menus via keyboard (incorrect click
  position).
* Fixed a text rendering issue where glyphs were incorrect when
  preceded by a Narrow No-Break Space.

== 1.16.7
* Workaround for window refresh potentially getting stuck while
  receiving a streaming response. (Limit update frequency.)
* Don't navigate back when stopping a streaming request.

== 1.16.6
* Fixed crash on gemini://sdf.org/ where the contents of a link line
  would fail to be recognized as valid characters.
* Fixed splitting a long wrapped line in input fields where part of
  the text would remain on the preceding line. (Mixup between byte
  and character index.)

== 1.16.5
* "New Tab" (Ctrl+T) and the tab bar [+] button append the tab to the
  right edge. Previously it was inserted next to the active tab.
* Flatpak: Fixed crash when opening Preferences.

== 1.16.4
* Context/button menus use a popup window if they would otherwise
  have to scroll (e.g., "Dark theme:" in Preferences and \ 
"Folder:"
  in the bookmark editor).
* Improved tab closing order: close all sibling tabs opened from an
  origin tab before switching back to the origin tab.
* Center a short title under the icon in the page margin.
* Fixed navbar URL text selection when opening new tabs (keep all
  selected).
* Fixed too much empty space in the input prompt layout.
* Fixed input field not being updated after cutting text.
* Fixed stuck mouse button when opening a context menu while
  performing a drag.
* Fixed incorrect mouse button state and other potential incorrect
  behavior after resizing the window.
* macOS: Fixed drag operation getting stuck if a context menu is
  opened during the drag.
* macOS: Fixed a few cases of potential window freezing during swipe
  navigation.
* Windows: Updated SDL to 2.26.5.
* Linux: The x86_64 AppImage now uses SDL 2.26.5 built from source,
  fixing issues with window and popup behavior.
* TUI: Fixed build error.

== 1.16.3
* Remove whitespace from ends of a URL pasted into an input field.
* Fixed links whose label is a single Emoji sometimes not appearing.
* Fixed zooming not affecting unfocused windows right away.
* Fixed current zoom level not being applied to newly created windows.
* Fixed updating of selected text range in navbar URL when changing
  tabs.
* Fixed mouse wheel scrolling not working in unfocused windows.
* macOS: Fixed an issue where the input focus is given to the wrong
  window when the application comes to the foreground.

== 1.16.2
* Set input focus to navbar URL field when opening an empty window.
* The navbar URL field only omits the "gemini:" scheme when the text
  actually doesn't fit horizontally, and only when the field is
  inactive.
* Fixed problems with handling URLs in input fields. For example,
  copying the URL to the clipboard sometimes had unexpected or
  incorrect results.
* Updated UI translations.

== 1.16.1
* Fixed handling of the AltGr key during text input (again).
* Updated UI translations.

== 1.16
New features:
* Input prompt font size can be changed with the Zoom In/Out/Reset
  keys.
* Preferences: Option for silently following scheme-changing
  redirects (Network tab; default: no).

Changes and enhancements:
* Tab creation and closing follows common browser conventions: new
  tabs are opened next to the most recently opened tab, so they
  retain the correct left-to-right order.
* Preferences: Moved cache/memory size settings to Content tab.
* Page title in margin omits prefix Emoji if it matches the bookmark
  icon.
* Adjusted word-wrapping to break at a period inside a word (e.g.,
  domain names).
* If the page is missing a level 1 heading, use the first content
  line as the title.

Fixes:
* Fixed tab order getting reversed when restoring tabs at launch.
* Fixed order of opened tabs when using "Open in New Tabs" on a
  bookmark folder.
* Fixed input focus going to the wrong split when pressing Ctrl+L
  with an Upload dialog open.
* Fixed text fields becoming nonresponsive when multiple fields are
  active.
* Fixed input query dialogs not being hidden when the tab changes.
* Fixed incorrect parsing of "hostname:port" in URL field (without
  `//` or `gemini://`).
* Fixed potential crash when switching between cached pages while
  navigating in history.
* Fixed potential crash when closing split view during a scrolling
  animation.

== 1.15.9
* Added new UI translation: Basque (euskara).
* Improved opening and closing of tabs. New tabs now open to the
  right of the current tab.
* Allow scaling up small images up to 2x size.
* Fixed possible crash when closing tabs.
* Fixed crashes on Wayland due to use of X11-specific code.
* Updated UI translations.

Files:
RevisionActionfile
1.18modifypkgsrc/net/lagrange/Makefile
1.7modifypkgsrc/net/lagrange/distinfo