| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This is a trap that C APIs can fall into, so it should be mentioned on
the "Writing Bindable APIs" page.
|
|
|
|
|
|
|
| |
There has been no backwards incompatible changes between DockBook 4.3
and 4.5 so there is no need to use both.
Ideally, we would switch to DocBook 5 but that will require more changes.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The libgirepository example now is its own meson project.
There now is a small library that is buildable with meson and autotools
which creates a gir/typelib. Usefull for testing our build system integration
and for small experiments.
Fixes #287
|
| |
|
| |
|
|
|
|
|
| |
The g-ir-scanner man page should include a mention of the
GI_CROSS_LAUNCHER environment variable.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Bindings in some cases need to look up information from a GType
dynamically. Support that better by supplying a cache for this
information.
(Rebased and versioning / gtk-doc stuff added by Philip Chimento.)
Closes #38.
See gjs#55.
|
|
|
|
| |
This is what https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting suggests.
|
| |
|
|
|
|
|
|
| |
Properly pass the build dir paths to gtk-doc so it can find things in giversion.h
This fixes the version section being empty when building the docs with non-srcdir autotools.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This adds the following macros and functions: GI_MAJOR_VERSION, GI_MICRO_VERSION,
GI_MINOR_VERSION, GI_CHECK_VERSION, gi_get_major_version,gi_get_micro_version,
gi_get_minor_version.
Since we share a prefix with glib we have to namespace these by using the gi_
prefix. g_gi would also work but we already export symbols with gi_ like
gi_cclosure_marshal_generic(), gi_type_tag_get_ffi_type() and
gi_type_info_extract_ffi_return_value(), so let's not add another naming scheme.
|
|
|
|
|
|
| |
section
Move them to where the type is documented.
|
|\
| |
| |
| |
| |
| |
| | |
docs: Remove everything not related to libgirepository and restructure. Fixes #244
Closes #244
See merge request GNOME/gobject-introspection!96
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes #244
The gtk-doc docs were including some bits of overal g-i docs but mostly unfinished
and outdated.
We now have the general docs in sphinx so remove the duplication and make the gtk-docs
just about the libgirepository API and nothing more.
This also renames some titles and fixes some missing links in the struct hierarchy
while at it.
|
|/
|
|
|
|
| |
My goal here is to keep it simple and get people started quickly.
See !96
|
|
|
|
|
|
|
|
| |
Move things around and rename things until gtk-doc is happy.
This also moves the "Since" annotations to the next stable releases and
adds version added info for g_callable_info_get_instance_ownership_transfer()
and g_struct_info_find_field().
|
|
|
|
| |
glib versions leaked
|
|
|
|
|
| |
So it's visible on the main website and has nice links to the
issues and merge requests.
|
|
|
|
|
|
|
|
|
|
|
| |
Some documentation tool (as hotdoc[0]) need to have information about
symbol declaration and documentation positions in the source files
to be able to do smart indexing (automatically build the documenation
index).
[0] https://hotdoc.github.io/
Fixes #175
|
|\
| |
| |
| |
| | |
autotools: dist all meson files
See merge request GNOME/gobject-introspection!44
|
| | |
|
|/
|
|
|
| |
It's unused and just exposes the Python docstrings through autodoc and
doesn't contain any extra documentation itself.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current output (more or less a straight copy of the wiki) is available
here:
https://gi.readthedocs.io
This contains two changes:
* Converts all (not completely outdated) wiki pages to a sphinx based
documentation.
* Converts the man pages to reST and adds a Makefile for building them
using rst2man. So they can be easily exposed in the sphinx docs.
Goals:
* Have a user focused/compact documentation instead of random wiki pages
with various todo/ideas pages.
* Take advantage of the gitlab MR workflow by
* allowing large documentation changes/refactorings with reviews
* allowing to combine features changes with documentation changes in MRs
|
|
|
|
|
|
| |
Also disable automatic hyphenation in manual pages to prevent wrapping
long URLs. Ensures that URLs can be easily navigated by clicking on
them.
|
| |
|
| |
|
|
|
|
| |
See #120.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=761985
|
|
|
|
|
|
|
| |
The leading `lib` should be passed as part of the shared library name in
the `--shared-library` argument for g-ir-compiler.
https://bugzilla.gnome.org/show_bug.cgi?id=699354
|
|
|
|
|
|
|
|
| |
necessary"
This reverts commit 17ef691e9b3ebd475b01d1e623d3df7b1f534dfa.
This breaks builddir != srcdir builds, like GNOME Continuous.
|
|
|
|
|
|
|
|
| |
Install the schema to $(datadir)/glib-2.0/schemas, so that projects
which depend on GLib can validate their GIR files at build or
distribution time.
https://bugzilla.gnome.org/show_bug.cgi?id=774019
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=744021
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=778509
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This updates the schema to validate all GIRs currently
available in Debian unstable except a few obviously broken ones.
For testing the following tools were used:
$ trang gir-1.2.rnc gir-1.2.rng
$ xmllint --noout --relaxng gir-1.2.rng Gtk-3.0.gir
https://bugzilla.gnome.org/show_bug.cgi?id=766313
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is an attempt at standardising the GIR XML in a way that we can
reliably validate; the schema is enough to validate simple GIR files,
but it still needs work for complex ones, like GTK's.
I've decided to use the compact Relax NG syntax as the schema format
because it's definitely easier to read and write that the DTD format.
Since the current XML version is 1.2, let's standardise on that instead
of making up a version 1.0.
|
|
|
|
| |
Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=729901
|
|
|
|
|
|
| |
Such as library filenames.
https://bugzilla.gnome.org/show_bug.cgi?id=746138
|
|
|
|
|
|
|
|
|
| |
g-i bug reports have been moved from:
http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection
to:
http://bugzilla.gnome.org/enter_bug.cgi?product=gobject-introspection
https://bugzilla.gnome.org/show_bug.cgi?id=745498
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
g_irepository_get_dependencies() is supposed to return the transitive
closure of all dependencies of the given namespace. However, it just
loads the dependencies field from the typelib, which is supposed to only
list immediate dependencies.
Introduce a new g_irepository_get_immediate_dependencies() which does
this, and rewrite g_irepository_get_dependencies() to build the
transitive closure of all its namespace dependencies. This does not
require loading any new typelibs, as the transitive closure of
dependencies should already have been loaded by g_irepository_require()
or g_irepository_load_typelib().
https://bugzilla.gnome.org/show_bug.cgi?id=743782
|