13
Blueprint v0.16.0 released (gitlab.gnome.org)
submitted 6 days ago* (last edited 6 days ago) by petsoi@discuss.tchncs.de to c/gnome@discuss.tchncs.de

v0.16.0

Added

  • Added more "go to reference" implementations in the language server
  • Added semantic token support for flag members in the language server
  • Added property documentation to the hover tooltip for notify signals
  • The language server now shows relevant sections of the reference documentation when hovering over keywords and symbols
  • Added not-swapped flag to signal handlers, which may be needed for signal handlers that specify an object
  • Added expression literals, which allow you to specify a Gtk.Expression property (as opposed to the existing expression support, which is for property bindings)

Changed

  • The formatter adds trailing commas to lists (Alexey Yerin)
  • The formatter removes trailing whitespace from comments (Alexey Yerin)
  • Autocompleting a commonly translated property automatically adds the _("") syntax
  • Marking a single-quoted string as translatable now generates a warning, since gettext does not recognize it when using the configuration recommended in the blueprint documentation

Fixed

  • Added support for libgirepository-2.0 so that blueprint doesn't crash due to import conflicts on newer versions of PyGObject (Jordan Petridis)
  • Fixed a bug when decompiling/porting files with enum values
  • Fixed several issues where tests would fail with versions of GTK that added new deprecations
  • Addressed a problem with the language server protocol in some editors (Luoyayu)
  • Fixed an issue where the compiler would crash instead of reporting compiler errors
  • Fixed a crash in the language server that occurred when a detailed signal (e.g. notify::*) was not complete
  • The language server now properly implements the shutdown command, fixing support for some editors and improving robustness when restarting (Alexey Yerin)
  • Marking a string in an array as translatable now generates an error, since it doesn't work

Documentation

  • Added mention of null in the Literal Values section
  • Add apps to Built with Blueprint section (Benedek Dévényi, Vladimir Vaskov)
  • Corrected and updated many parts of the documentation
you are viewing a single comment's thread
view the rest of the comments
[-] danielquinn@lemmy.ca 2 points 6 days ago

I didn't know about this project, but it looks very cool!

[-] isVeryLoud@lemmy.ca 1 points 4 days ago

It's very common in GNOME app development, highly recommend it!

It's the TypeScript of GTK

this post was submitted on 18 Jan 2025
13 points (100.0% liked)

Gnome

1990 readers
23 users here now

The GNOME Project is a free and open source desktop and computing platform for open platforms like Linux that strives to be an easy and elegant way to use your computer. GNOME software is developed openly and ethically by both individual contributors and corporate partners, and is distributed under the GNU General Public License.

founded 2 years ago
MODERATORS