• Christian Hergert's avatar
    gutter: port to GTK 4 · 02f60122
    Christian Hergert authored
     - Use widgets instead of GInitiallyUnowned. This allows for much more
       advanced usage of event controllers, snapshoting, and potentially
       caching of render nodes.
     - GtkSourceGutter is now a container of GtkSourceGutterRenderer
     - Remove use of GdkEvent as much as possible and instead follow patterns
       for events more closely to upstream GTK 4. In particular the query
       and activate signals provide button/state/n_presses which are typically
       what would be needed by renderers anyway.
     - Tooltips can now be handled by renderers directly using the GtkWidget
       infrastructure for that.
     - Use GtkSourceGutterLines to reduce the number of passes we do through
       the textbuffer btree. This helps achieve a few more frames per second
       in the rendering pipeline during heavy kinetic scrolling. Especially
       on HiDPI systems.
     - Use GdkPaintable instead of GdkPixbuf for rendering pixbufs.
     - Add alignment helper for renderers to center on a particular position.
       This caches the positioning so that it can be reused by additional
       cell renderers without the extra floating point math or view area
       location.
     - Renderer state is no longer necessary as that information can be
       retrieved from the GtkSourceGutterLines using the helper functions.
       State is simply a quark in the quarkset like any other status.
    02f60122
Name
Last commit
Last update
data Loading commit data...
docs Loading commit data...
gtksourceview Loading commit data...
msvc Loading commit data...
po Loading commit data...
tests Loading commit data...
testsuite Loading commit data...
.editorconfig Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
HACKING Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
README.win32 Loading commit data...
gtksourceview.doap Loading commit data...
gtksourceview.pc.in Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...