Merge libgirepository into GLib
Split out from #2616, this issue is solely for tracking merging libgirepository into GLib.
The merge (all in !3642 (merged)):
- Import the git history
- Move it to a subdirectory
- Bump the major version
- Ensure it can be built and distributed
- Document licensing/copyright for the imported code (see #1415)
After the merge (but before GLib 2.80):
-
Split up SPDX data to be per-file rather than using dep5 (see #1415) -
Take a pass through the code and improve API snags, documentation, naming, code formatting, etc. -
rename all structure types fromGI*
toG*
OR -
rename all symbols from g_*
togi_*
: !3704 (merged) -
remove all the deprecated API -
replace all the GI_AVAILABLE_IN_X_Y
withGI_AVAILABLE_IN_ALL
-
drop the leading _
from all private symbols: !3704 (merged) -
rename all private header files to -private.h
-
add g-ir-compiler
andg-ir-generate
from gobject-introspection -
constify all structure arguments -
go over every symbol and check for its use in the reference language bindings - pygobject — Philip Withnall has been looking at this and hasn’t found any significant API snags yet
- gjs — Philip Chimento has been looking at this and has filed some bugs
-
add docblocks (empty or not) to every public symbol: !3767 (merged) -
generate the introspection data for libgirepository: !3703 (merged) -
Add unit tests to improve test coverage - Added a load, always more to add
-
Decide whether to change the binary format (alongside the major version bump) (see note below) -
Add more padding to structs (maybe) -
Add Since: 2.80
and version macros to all the libgirepository API (remove existingSince:
tags first): !3767 (merged) -
Move cmph to a subproject (cf #2603); it’s currently a copylib in girepository/cmph
- Deferred to #2603
-
Reopen various issues which GitLab will (incorrectly, in this case) automatically close due to the merge -
Look at fixing listing of static inline
methods in the docs- Deferred to gi-docgen#173
-
Remove the default singleton GIRepository
-
Drop gi_base_info_get_info_type()
in favour of theGType
type hierarchy- !3906 (merged)
- Follow up in #3253
Edited by Philip Withnall