x11-toolkits/libgedit-gtksourceview: update to 299.6.0
Update to 299.6.0
News in 299.6.0, 2026-01-03
---------------------------
Completion framework:
* The GtkSourceCompletion class no longer implements the GtkBuildable interface.
* GtkSourceCompletionProposal: various improvements.
* GtkSourceCompletionItem:
- Various improvements.
- Remove all the properties.
Microsoft Windows:
* Fix compilation warnings.
* Fix unit tests failures.
Various gardening tasks:
* Move back almost all typedefs from gtksourcetypes.h to the corresponding
headers, with the goal to keep in gtksourcetypes.h only what is strictly
necessary.
* Convert #include guards to #pragma once with the guardonce utility:
https://github.com/cgmb/guardonce
* Add missing G_BEGIN_DECLS/G_END_DECLS pairs.
* Add missing G_GNUC_CONST annotation for get_type() functions.
* Have a LICENSES directory, to better follow the REUSE way of applying
licenses: https://reuse.software/ (FSFE initiative)
* Reduce the padding for future expansion in public Class structs, the API/ABI
is anyway no longer guaranteed to be stable.
Other:
* Translation updates.
News in 299.6.alpha2, 2025-11-17
--------------------------------
File loading and saving:
* Small bug fix in GtkSourceFile.
* GtkSourceBufferOutputStream private class:
- Start to refactor it.
- Extract the try_convert() function out of the class and re-implement it with
GtkSourceIconv.
* GtkSourceIconv:
- Add the feed_discard_output() function.
- Write unit tests.
* GtkSourceFileLoader:
- Add max-size property.
- Improve the unit tests.
GtkSourceView class:
* Improve the API documentation.
* Remove GtkBuildable interface implementation.
Other:
* Translation updates.
* Docs: improve the CSS for the docs that is manually written in HTML.
News in 299.6.alpha1, 2025-09-05
--------------------------------
GtkSourceIter:
- Make some gtk_source_iter_*() functions public.
- Move the single tepl_iter_*() function as a public gtk_source_iter_*().
- Write more unit tests.
File loading and saving:
- GtkSourceEncoding, GtkSourceFile, GtkSourceFileLoader and GtkSourceFileSaver
are maintained again. Remove the warnings in the docs about using the
corresponding classes from libgedit-tepl. (It is planned to improve the file
loading and saving feature in this module instead, and have in libgedit-tepl a
higher-level API).
- Create the "Low-Level File Loading and Saving" category in the API docs, and
add GtkSourceIconv and GtkSourceInputStream (new classes).
- Rework GtkSourceEncoding.
- Start to rework GtkSourceFile.
- Rework GtkSourceFileLoader (modernize the code and use GtkSourceInputStream
internally).
- Code organization: create the file-loading-and-saving/ subdir.
GtkSourceView class:
- Small improvements to both the API docs and the implementation.
Tools:
- Some small changes/improvements to the 'list-langs' and 'uncrustify' tools.
Other:
- Improve the documentation for contributors. Start to write a list of possible
tasks in the “docs/possible-tasks/” directory.
- Build system: tune the CFLAGS in order to run code-coverage tools
conveniently.
- Get rid of HAVE_CONFIG_H (Autotoolism).
- Move some typedefs to their corresponding classes.
- License headers for *.c and *h files: follow REUSE way of applying licenses.
https://reuse.software/
- Remove modelines.
- For translations: fix issue reported by GNOME Damned Lies.
- Translations updates.oSwith to USES= gettext-tools
Add USE_LDCONFIG=yes because we install a shared library (truckman)
PR: 292418