| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- require GTK-Doc 1.19
- remove sgml mode
- automatically generate gi.types (needs GTK-Doc 1.19)
- fix https://bugzilla.gnome.org/show_bug.cgi?id=700025
[WIP] - rearange sections a bit
[WIP] - add gi-building, gi-programming sections
[WIP] - mark missing docs with TODO, which is only marginaly
better than nothing but at least can be grepped :)
https://bugzilla.gnome.org/show_bug.cgi?id=571648
|
|
|
|
|
| |
We depend on glib-2.0 >= 2.36.0, so no need to keep a 2.22.X
compatibility symbol around...
|
|
|
|
|
|
|
|
|
|
| |
Using Sphinx [1] markup for now. We eventually might want
to add GTK-Doc support for python and dogfood g-ir-doctool
on this package.
[1] De facto standard Python documentaton tool: http://sphinx-doc.org
https://bugzilla.gnome.org/show_bug.cgi?id=688897
|
| |
|
|
|
|
|
|
|
|
|
| |
The "--code" option was removed years ago in ac81f3e8c5f1c380d16677232d67466e739da283
so remove references to it from README and g-ir-compiler(1)
Remove the "--no-init" option from g-ir-compiler and g-ir-compiler(1)
as it was documented to "can only be used if --code is also specified",
so no reason to keep it around.
|
|
|
|
|
|
| |
Binary takes --introspect-dump argument, not --introspect.
https://bugzilla.gnome.org/show_bug.cgi?id=701958
|
|
|
|
|
|
|
|
|
|
| |
Previously we would require applications that shipped with private
typelibs to add the private path to LD_LIBRARY_PATH, or to have a
launcher binary with the right RPATH.
Now they can just call GIRepository.prepend_library_path() before
they access the module.
https://bugzilla.gnome.org/show_bug.cgi?id=694485
|
|
|
|
|
|
|
| |
This most likely sneaked in as a copy paste error from GTK+
reference docs as g-i never had a object_grouped.sgml...
https://bugzilla.gnome.org/show_bug.cgi?id=688418
|
|
|
|
|
|
|
|
|
| |
When building g-i reference documentation, girepository/cmph/*
was being scanned for GTK-Doc comment blocks by gtkdoc-mkdb.
Unfortunately, cmph uses doxygen comment blocks which also
start with /**. This patch prevents gtkdoc-mkdb from complaining.
https://bugzilla.gnome.org/show_bug.cgi?id=688418
|
| |
|
|
|
|
|
|
| |
Signed-off-by: Colin Walters <walters@verbum.org>
https://bugzilla.gnome.org/show_bug.cgi?id=668193
|
|
|
|
| |
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=684795
|
|
|
|
|
|
|
| |
Add the convenience method g_interface_info_find_signal, mirroring
g_object_info_find_signal.
https://bugzilla.gnome.org/show_bug.cgi?id=682672
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This uses the same backcompat machinery that was introduced for static
methods for non-class types, so this change does not break users of the
existing presentations.
New libgirepository API:
g_enum_info_get_n_methods
g_enum_info_get_method
https://bugzilla.gnome.org/show_bug.cgi?id=656499
|
|
|
|
|
| |
gtk-doc apparently lies about the path being relative...fix it by just
using $(srcdir).
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=649054
|
| |
|
|
|
|
|
| |
This is cleaner and faster, and prepares us better for an incoming
import of CMPH.
|
|
|
|
|
|
|
|
|
| |
OS vendors which compile from the part-binary "tarballs" which
include e.g. pregenerated gtk-doc, they typically don't pass
--enable-gtk-doc. So conditionalizing "make install"
for docs on ENABLE_GTK_DOC won't work.
This is the same as GTK+ and other projects currently work.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
We need a way to add a .gir file, without also attempting to load
the pkg-config file for it (since it may not be installed yet).
Example: clutter builds multiple .gir files, Cally-1.0 depends on
Clutter-1.0.
|
|
|
|
| |
This is necessary for Mutter right now.
|
|
|
|
|
| |
Keep a typedef for backwards compatibility, until
the major bindings has moved over.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
One of the first big changes in this rewrite is changing the Type
object to have separate target_fundamental and target_giname properties,
rather than just being strings. Previously in the scanner, it was
awful because we used heuristics around strings.
The ast.py is refactored so that not everything is a Node - that
was a rather useless abstraction. Now, only things which can have
a GIName are Node. E.g. Type and Field are no longer Node.
More things were merged from glibast.py into ast.py, since it isn't
a very useful split.
transformer.py gains more intelligence and will e.g. turn GLib.List
into a List() object earlier. The namespace processing is a lot
cleaner now; since we parse the included .girs, we know the C
prefix for each namespace, and have functions to parse both
C type names (GtkFooBar) and symbols gtk_foo_bar into their
symbols cleanly. Type resolution is much, much saner because
we know Type(target_giname=Gtk.Foo) maps to the namespace Gtk.
glibtransformer.py now just handles the XML processing from the dump,
and a few miscellaneous things.
The major heavy lifting now lives in primarytransformer.py, which
is a combination of most of annotationparser.py and half of
glibtransformer.py.
annotationparser.py now literally just parses annotations; it's
no longer in the business of e.g. guessing transfer too.
finaltransformer.py is a new file which does post-analysis for
"introspectability" mainly.
girparser.c is fixed for some introspectable=0 processing.
|