| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This fix getting directories when builddir!=srcdir which is always the
case with Meson.
|
|
|
|
|
|
|
|
| |
Instead of supporting the cflags argument just once, allow to pass it multiple
times. This allows build systems like meson to append cflags using
`scanobjs_args` the parameter.
Updated tests accordingly to check this.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Initial port, including manual and tests (still wip).
Known issues:
* mkhtml2.py unit-tests module relies on lxml, anytree and pygments
but these dependencies are not track by the build system.
* Integration tests documentation generation are broken.
* gtkdoc_scangobj_runner.py builds --cflags and --libs itself in a
non-portable (and wrong) way.
https://bugzilla.gnome.org/show_bug.cgi?id=794087
|
|
|
|
| |
Use the 'required' flags for mandatory args. Drop some dest flags where not needed.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
The API to list style properties on GtkWidget was removed in GTK+ 3.89.
We need to protect the call to gtk_widget_class_list_style_properties()
with a version check.
https://bugzilla.gnome.org/show_bug.cgi?id=778144
|
| |
|
|
|
|
| |
Stop using a mix of code styles.
|
|
|
|
| |
Extract some code, so that we need less breaks in the here doc.
|
| |
|
|
|
|
| |
This will allow it to be wrapped in docs.
|
| |
|
|
|
|
|
|
|
| |
CMake can't export environment variables, so I added --cflags, --ldflags etc.
parameters to gtkdoc-scanobj and gtkdoc-scangobj so that compiler flags can
be passed on the command line.
Fixes: #686148
|
|
|
|
|
| |
Don't try to apply unsigned MAX constants to signed properties.
Fixes: #696930
|
|
|
|
| |
Otherwise we get a deprecation warning when compiling -scan.c
|
| |
|
| |
|
|
|
|
| |
Don't show compiling the scanner when V=0.
|
| |
|
|
|
|
|
|
| |
This commit adds minimal support for the cell properties that
GTK+ 3 introduces on GtkCellArea subclasses, by treating them
the same as child properties.
|
| |
|
|
|
|
| |
Discover root types besides GObject and GInterface.
|
|
|
|
|
| |
Remove get_gdk_event() as those things should be just properly documented in the
library. Fixes #631336
|
|
|
|
|
|
|
| |
This table is practically unmaintained and now even causes problems with
refactorings in gtk+-3.X. Gtk+ should document signals like any other library.
Fixes #631336.
|
|
|
|
|
|
|
|
|
|
| |
Make sure floats and double property values are output with a decimal dot (and
not e.g. a comma) irrespective of the current locale. g_ascii_formatd() is used
here instead of g_ascii_dtostr() because we want nice human-readable numbers and
do not need the exact same bit representation when deserialising.
Other parts of gtk-doc may need fixing as well to make sure to always
deserialise floats and doubles in C locale.
|
|
|
|
|
| |
Output "GStrv" as the argument type, not "GStrv*".
Fixes: #623777.
|
|
|
|
| |
Conditionaly handle new fundamental GTypes.
|
|
|
|
|
|
|
|
| |
We want to have the objects first, then the libs and the target last. For
historic reasons ldflags and libs are merged :/. Ideally we'd like to turn
off as-needed in the docs (won't help here anyway), but I am not sure
wheter its a good idea to add "-Wl,--no-as-needed" to the linker command
(in regard to platform compat).
|
|
|
|
| |
FIxes some issues when building using s --as-needed
|
|
|
|
|
| |
Commit b37791867f938d9ab5ce5d3db63d7115981deb7a was removing the use of the RUN
env.
|
|
|
|
|
|
| |
the tools already execute one command in a subshell so that if it fails,
we can still see the errors. It doesn't for other commands though (like the
compiler or the linker).
|
|
|
|
| |
This help debugging. Bother the binary and the sources are kept.
|
|
|
|
|
|
| |
We were prepending datadir to the INC path for perl to find gtkdoc-common.pl.
This also caused the unit tests to run with the installed version, despite
that we had set an local path to INC from the Makefile.
|
|
|
|
| |
Add casts to constants.
|
|
|
|
| |
Fixes last commit on the topic.
|
|
|
|
| |
We could improve the algorithm for generating the var names for signal signatures
|
|
|
|
|
|
| |
We use some fixed size strings to format the output, which might be dangerous.
What is left now is that output_object_signal() should use g_string or snprintf
with the remaining length.
|
|
|
|
| |
Fixes unreachable code, non-C90 compliance, missing cases.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* COPYING-DOCS:
* gtkdoc-check.in:
* gtkdoc-common.pl.in:
* gtkdoc-fixxref.in:
* gtkdoc-mkdb.in:
* gtkdoc-mktmpl.in:
* gtkdoc-rebase.in:
* gtkdoc-scan.in:
* gtkdoc-scangobj.in:
* gtkdoc-scanobj.in:
* help/manual/C/fdl-appendix.xml:
* tools/gtk-doc.el:
Update FSF address. Fixes #575623.
svn path=/trunk/; revision=707
|
|
|
|
|
|
|
|
| |
* gtkdoc-scangobj.in:
Don't confuse -1 with G_MAXULONG on 64bit. Fixes #572612.
svn path=/trunk/; revision=695
|
|
|
|
|
|
|
|
|
|
| |
* gtkdoc-scangobj.in:
* gtkdoc-scanobj.in:
There is some gtk specific stuff there, which we probably want to kick
out. No one else gets such a treatment.
svn path=/trunk/; revision=693
|
|
|
|
|
|
|
|
|
| |
* gtkdoc-scangobj.in:
* gtkdoc-scanobj.in:
Use g_strerror. Fixes #572967.
svn path=/trunk/; revision=691
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-02-23 Sven Herzberg <herzi@gnome-de.org>
Fixes 571820 - gobject.c: pspec_pool not initialized for interfaces
Initialize GObjectClass before referencing interfaces.
* gtkdoc-scangobj.in: keep a reference on the GObjectClass while
peeking in interfaces' properties
svn path=/trunk/; revision=690
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gtkdoc-check.in:
* gtkdoc-depscan.in:
* gtkdoc-fixxref.in:
* gtkdoc-mkdb.in:
* gtkdoc-mkhtml.in:
* gtkdoc-mkman.in:
* gtkdoc-mktmpl.in:
* gtkdoc-rebase.in:
* gtkdoc-scan.in:
* gtkdoc-scangobj.in:
* gtkdoc-scanobj.in:
* gtkdocize.in:
Add support for --help and --version to remaining tools. Also show a
short info on --help and format more consistently. Fixes #566911
svn path=/trunk/; revision=636
|
|
|
|
|
|
|
|
|
|
| |
* gtkdoc-scangobj.in:
* gtkdoc-scanobj.in:
Reintroduce "sh -c" and comment why its used. Add real libtool support
to old scanobj tool as well.
svn path=/trunk/; revision=622
|
|
|
|
|
|
|
|
| |
* gtkdoc-scangobj.in:
Fix doc build when using GTK_DISABLE_SINGLE_INCLUDES. Fixes #558082.
svn path=/trunk/; revision=614
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gtkdoc-mkdb.in:
Generate unique ids for properties, style and child properties.
* gtk-doc.make:
* gtk-doc.notmpl.make:
* gtkdoc-scan.in:
* gtkdoc-scangobj.in:
If we use libtool, run scanner under libtool to use uninstalled
libraries.
svn path=/trunk/; revision=599
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* TODO:
Add more ideas.
* gtkdoc-scangobj.in:
* gtkdoc-scanobj.in:
Merge two fwrite calls.
* tests/gobject/examples/gobject.c:
* tests/gobject/src/gobject.c:
Demostrate how to include source fragments from external files.
* tests/gobject/src/giface.h:
* tests/gobject/src/gobject.h:
Documents two entries.
svn path=/trunk/; revision=578
|