Opened 2 years ago

Closed 2 years ago

#16256 closed enhancement (fixed)

gtksourceview5-5.4.0

Reported by: Bruce Dubbs Owned by: Bruce Dubbs
Priority: normal Milestone: 11.2
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (3)

comment:1 by Bruce Dubbs, 2 years ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:2 by Bruce Dubbs, 2 years ago

News in 5.4.0, 2022-03-18

  • Build system fixes for Windows and macOS
  • Style updates for Adwaita, Adwaita-dark, solarized-light, solarized-dark, Classic, and a new Cobalt-light variant
  • Language improvements for C, C++, GTK-DOC, and JSON
  • Various header fixes
  • Additional API to append/prepend search paths for language manager
  • Allow loading language specifications via GResources
  • A new "weight" attribute for style schemes which allows more control than just bold="true"
  • Various Vim emulation fixes
  • GtkSourceView now requires GTK 4.6 for various CSS improvements
  • Additional performance fixes to reduce overdraws by GPU
  • Translation updates

News in 5.3.2, 2022-01-09

This is a development release as we progress towards GNOME 42. It is not a stable release and is intended for testing purposes.

  • Support ctrl+shift+v in Vim insert mode to paste similar to terminal
  • Improve placement of H/L movements in Vim emulation
  • Various build system improvements
  • Fix running testsuite before installation
  • Bump GTK required version to match actual requirements in code
  • Remove CSS line-height usage until we can depend on GTK 4.6

News in 5.3.1, 2022-01-06

This is a development release as we progress towards GNOME 42. It is not a stable release and is intended for testing purposes.

  • python3.lang: add support for .pyi glob and f-strings.
  • c.lang: Hightlight _t and _T types.
  • rust.lang: You can now style lifetime and self in style schemes.
  • javascript.lang: Support for shebang's have been added.
  • GObject Introspection improvements.
  • Fixes to work around improper selections in some style-schemes.
  • Vim: many improvements to and compatibility fixes in emulation.
  • Tracing: More modules now use sysprof for tracing information.
  • Ctrl+shift+u works again when auto-indent is enabled, which was stealing input before ctrl+shift+u could process the unicode input.
  • Gutter renderers now more aggresively cache color information for drawing highlights and more.
  • GtkSourceGutterRendererLines avoids using GMarkup just for bold attributes as using a single referenced PangoAttrList is faster.
  • Adwaita and Adwaita-dark have been updated and improved along with more specific highlighting for a number of languages.
  • You can now set bold="false" on current-line-number to disable bold weight on the current line number.
  • Drawing of background grids have been improved when margins are used as well as trying harder to align to the character grid and taking CSS line-height into account when possible.
  • Current line number is no longer drawn specially when selections are active. The highlight-current-line is also disabled during selections.
  • GtkSourceFileLoader now tries to use aligned pages when loading buffers from storage and reads in a multiple of the page size.
  • Build fixes for macOS.
  • Translation updates.

News in 5.3.0, 2021-12-08

This is a development release as we progress towards GNOME 42. It is not a stable release and is intended for testing purposes.

  • Documentation has been updated to use gi-docgen.
  • Style schemes now support the <metadata> tag similar to languages. This can be used by style schemes to denote if they are light or dark mode and a relative scheme for use when desktop dark mode preferences have changed.
  • Selections for most style schemes bundled with GtkSourceView are now translucent and do not modify the foreground color. This performs very well now that we have GL based rendering in GTK.
  • The Vala bindings have moved from the Gtk namespace to the GtkSource namespace to match the bindings in all other languages. While it is unfortunate that this has happened after 5.0, it is still early enough that we can avoid having to maintain a clashing namespace with Gtk.
  • A new Vim emulator in the form of GtkSourceVimIMContext. This can emulate basic features such as Normal, Insert, Replace, Visual, Visual Line, and Command Bar modes. Additionally, many Vim-style motions and text-objects are supported. Registers, Marks, and Jumplists are also partially suppored. The + and * registers can be used to integrate with both the system and primary GDK clipboards. Various commands are available in teh command bar such as nohl, set, :s, :join, and more.
  • Updated language specs: rst.lang, c.lang, cpp.lang, vala.lang, spice.lang, lean.lang, and yara.lang.
  • Updated style schemes which improve the quality of output when used with non-standard GTK themes.
  • A new GtkSourceStyleSchemePreview widget.
  • The GtkSourceStyleSchemeChooserWidget now uses GtkSourceStyleSchemePreview to display style schemes.
  • Improve autocompletion styling when used with libadwaita.
  • Improvements to cell alignment in the gutter particularly useful when the CSS line-height attribute is used.
  • Many fit-n-finish improvements to GtkSourceMap.
  • The gutter line renderer now adapts to more situations where it will need to redraw based on highlight-current-line.
  • Build system improvements.
  • Translation updates.

comment:3 by Bruce Dubbs, 2 years ago

Resolution: fixed
Status: assignedclosed

Package updates

     new fa2b5275aa Update to at-spi2-core-2.44.0.
     new 15578e5b4f Fix at-spi-core URL
     new 79d57700ba Update to gtk4-4.6.2.
     new 262340b1d8 Update to gtksourceview-4.8.3.
     new bc187ab4a3 Update to gtksourceview-5.4.0.
Note: See TracTickets for help on using tickets.