summaryrefslogtreecommitdiff
path: root/gtkdoc-scangobj.in
Commit message (Collapse)AuthorAgeFilesLines
* Meson: Fix running tools uninstalledXavier Claessens2019-08-151-1/+5
| | | | | This fix getting directories when builddir!=srcdir which is always the case with Meson.
* gtkdoc-scangobj: allow to pass --{c,ld}flags multiple timesscangobj-quotes-fixMarco Trevisan (Treviño)2018-09-121-2/+8
| | | | | | | | 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.
* build: Port to meson build systemMartin Blanchard2018-05-201-0/+0
| | | | | | | | | | | | | | | | 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
* tools: cleanup options handlingStefan Sauer2017-06-221-1/+1
| | | | Use the 'required' flags for mandatory args. Drop some dest flags where not needed.
* scangobj: add missing logging setupStefan Sauer2017-06-221-1/+3
|
* autopep8: cleanup python styleStefan Sauer2017-04-051-1/+3
|
* scangobj: port to pythonStefan Sauer2017-04-051-1332/+47
|
* scangobj: Protect style property inspectionEmmanuele Bassi2017-02-161-1/+1
| | | | | | | | | 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
* gtkdoc: add/update my copyrightStefan Sauer2016-11-231-1/+2
|
* scangobj: reindent genrated codeStefan Sauer2015-06-171-489/+432
| | | | Stop using a mix of code styles.
* gtkdoc-scangobj: cleanup the scanner codeStefan Sauer2015-06-171-19/+11
| | | | Extract some code, so that we need less breaks in the here doc.
* scangobj: add strict mode and fix issuesStefan Sauer2015-06-171-14/+10
|
* Add spaces around the | symbol in default flags paramsWilliam Jon McCann2014-02-121-1/+1
| | | | This will allow it to be wrapped in docs.
* scangobj: use EXEEXT to make the scanner work on platforms such as windowsStefan Sauer2014-02-071-4/+4
|
* gtkdoc-scan*obj: allow to pass compiler/link setup via flagsHenrik Stokseth2013-05-311-6/+32
| | | | | | | 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
* scangobj: fix description for int propertiesStefan Sauer2013-05-301-6/+0
| | | | | Don't try to apply unsigned MAX constants to signed properties. Fixes: #696930
* gtkdoc-scangobj: don't call g_type_init() when GLib >= 2.35.0Dieter Verfaillie2012-11-061-1/+1
| | | | Otherwise we get a deprecation warning when compiling -scan.c
* indent: convert tabs to spaces in perl filesStefan Kost2011-04-151-119/+119
|
* scangobj: add new option to templateStefan Kost2011-04-141-1/+1
|
* scangobj,make: add --verbose switch here too and adjust the makefilesStefan Kost2011-04-131-2/+10
| | | | Don't show compiling the scanner when V=0.
* scanobj,scangobj: turn 3 prints into comments for saner outputStefan Kost2011-04-131-3/+3
|
* Support GTK+ 3 cell propertiesMatthias Clasen2011-01-141-0/+8
| | | | | | This commit adds minimal support for the cell properties that GTK+ 3 introduces on GtkCellArea subclasses, by treating them the same as child properties.
* scnobj: fix spelling and trailing whitespacesStefan Kost2011-01-131-7/+7
|
* scangobj: figure out additional root typesStefan Kost2010-12-151-7/+18
| | | | Discover root types besides GObject and GInterface.
* scan(g)obj: remove special case handling for GdkEventStefan Kost2010-10-201-63/+1
| | | | | Remove get_gdk_event() as those things should be just properly documented in the library. Fixes #631336
* scanobj,scangobj: remove signal argument table.Stefan Kost2010-10-041-288/+46
| | | | | | | 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.
* gtkdoc-scangobj: serialise doubles and floats always with a decimal dotTim-Philipp Müller2010-10-041-4/+19
| | | | | | | | | | 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.
* scan: Fix GStrv boxed types in signal handlersChristian Persch2010-07-081-1/+3
| | | | | Output "GStrv" as the argument type, not "GStrv*". Fixes: #623777.
* scan: Support GType and GVariant types. Fixes #621931.Christian Persch2010-06-191-1/+38
| | | | Conditionaly handle new fundamental GTypes.
* scanners: reorder again and add work-around for --as-needed brokenessStefan Kost2010-05-091-1/+3
| | | | | | | | 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).
* scanners: move LDFLAGS to up in commandline.Stefan Kost2010-05-091-1/+1
| | | | FIxes some issues when building using s --as-needed
* scanobj/gobj: revert the part of prev commit that was removing the use of $RUNStefan Kost2010-01-251-1/+2
| | | | | Commit b37791867f938d9ab5ce5d3db63d7115981deb7a was removing the use of the RUN env.
* scanobj/gobj: Execute system() calls in subshells, Fixes #607531Loïc Minier2010-01-221-4/+3
| | | | | | 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).
* scanner: setting GTK_DOC_KEEP_INTERMEDIATE=1 allows to keep scannerStefan Kost2009-12-241-1/+3
| | | | This help debugging. Bother the binary and the sources are kept.
* tools: append to the perl path so that it stays overrideable. Fixes #604892Stefan Kost2009-12-191-1/+1
| | | | | | 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.
* scanobj: fix signedness comparission warnings from gcc. Fixes #596730Stefan Kost2009-09-301-6/+6
| | | | Add casts to constants.
* scan: double escape null terminatorsStefan Kost2009-04-301-1/+1
| | | | Fixes last commit on the topic.
* scan: comment the codeStefan Kost2009-04-291-0/+11
| | | | We could improve the algorithm for generating the var names for signal signatures
* scan: remove one sprintf and guard one statuc buffer.Stefan Kost2009-04-291-9/+9
| | | | | | 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.
* scan: Fixed gcc warnings. Fixes #580206Philip Withnall2009-04-291-4/+6
| | | | Fixes unreachable code, non-C90 compliance, missing cases.
* patch by: Tobias Mueller <gnome-bugs@auftrags-killer.org>Stefan Kost2009-03-171-1/+1
| | | | | | | | | | | | | | | | | | | * 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
* Don't confuse -1 with G_MAXULONG on 64bit. Fixes #572612.Stefan Kost2009-03-091-52/+86
| | | | | | | | * gtkdoc-scangobj.in: Don't confuse -1 with G_MAXULONG on 64bit. Fixes #572612. svn path=/trunk/; revision=695
* There is some gtk specific stuff there, which we probably want to kickStefan Kost2009-02-261-0/+2
| | | | | | | | | | * 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
* patch by: Paolo Borelli <pborelli@katamail.com>Stefan Kost2009-02-241-5/+5
| | | | | | | | | * gtkdoc-scangobj.in: * gtkdoc-scanobj.in: Use g_strerror. Fixes #572967. svn path=/trunk/; revision=691
* Fixes 571820 - gobject.c: pspec_pool not initialized for interfacesSven Herzberg2009-02-231-0/+6
| | | | | | | | | | | | | 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
* Add support for --help and --version to remaining tools. Also show a shortStefan Kost2009-01-081-9/+13
| | | | | | | | | | | | | | | | | | | | * 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
* Reintroduce "sh -c" and comment why its used. Add real libtool support toStefan Kost2008-12-011-1/+3
| | | | | | | | | | * 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
* patch by: Christian Persch <chpe@gnome.org>Stefan Kost2008-10-271-1/+1
| | | | | | | | * gtkdoc-scangobj.in: Fix doc build when using GTK_DISABLE_SINGLE_INCLUDES. Fixes #558082. svn path=/trunk/; revision=614
* Generate unique ids for properties, style and child properties.Stefan Kost2008-09-101-1/+1
| | | | | | | | | | | | | | * 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
* Add more ideas.Stefan Kost2008-06-081-3/+2
| | | | | | | | | | | | | | | | | * 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