summaryrefslogtreecommitdiff
path: root/tests/scanner
Commit message (Collapse)AuthorAgeFilesLines
* tests: Fix make distRico Tzschichholz2013-06-211-1/+3
|
* giscanner: Add a simple automatic sections file generatorJasper St. Pierre2013-06-162-1/+371
| | | | | | | | | This is a very basic sections file generator, and isn't too smart. It's simply intended to be a base to build docs on, and will be used if the user doesn't provide a sections file when calling g-ir-doc-tool, for convenience purposes. https://bugzilla.gnome.org/show_bug.cgi?id=699856
* tests: Update misc/pep8.py to 1.4.5Dieter Verfaillie2013-05-071-1/+2
| | | | | | | | | | | | | | | | | Version in our tree is a wee bit outdated. For example, later work will introduce an utf8 encoded python source file which our old pep8.py does not yet understand (yeah, it really was *that* ancient)... Updated from: https://raw.github.com/jcrocholl/pep8/1.4.5/pep8.py Takes 552c1f1525e37a30376790151c1ba437776682c5, f941537d1c0a40f0906490ed160db6c79af572d3, 5a4afe2a77d0ff7d9fea13dd93c3304a6ca993de and a17f157e19bd6792c00321c8020dca5e5a281f45 into account... https://bugzilla.gnome.org/show_bug.cgi?id=699535
* Revert addition of __int128 testsColin Walters2013-05-075-87/+0
| | | | | | | | It's not available on 32 bit architectures, which is a pain for our testing because we can't easily make Regress architecture independent. This reverts commit ca93f8474c9f6ca184d0b5806a4e459ad3dcd132.
* Add expected doc files for previous commitColin Walters2013-05-073-0/+75
|
* scanner: Parse __int128 and friends as "int"Colin Walters2013-05-072-0/+14
| | | | | | | | | This is a hack, but all we really want to do is ignore them for now. See https://mail.gnome.org/archives/gtk-devel-list/2013-May/msg00013.html https://bugzilla.gnome.org/show_bug.cgi?id=699722
* build: use diff -r when testing generated docsDieter Verfaillie2013-05-061-3/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=699532
* build: silence "make[5]: unlink: Regress-1.0-Python: Is a directory"Dieter Verfaillie2013-05-061-3/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=699532
* build: make it clear generated documentation goes in $(builddir)Dieter Verfaillie2013-05-061-6/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=699532
* tests: add missing expected generated documentationDieter Verfaillie2013-04-226-0/+233
| | | | | | | | a09072bd1f75dfc7497ed599e03e331bff411fd4 introduced new symbols in tests/scanner/regress.[ch] but was missing the expected generated documentation. https://bugzilla.gnome.org/show_bug.cgi?id=698616
* fix "make distcheck"Dieter Verfaillie2013-04-211-3/+6
| | | | | | | | | | - Configure with --enable-doctool when running "make distcheck" - Remove $(top_builddir)/.make-check-passed as the pre-commit hook using this was removed in de84ea0cf212c251e099f456bb675492f664e93d - Fix CLEANFILES + manual rm invocations - Fix running warning tests uninstalled (VPATH build issue) https://bugzilla.gnome.org/show_bug.cgi?id=697669
* tests: Add a struct with fixed-size gcharColin Walters2013-04-193-0/+36
| | | | See https://bugzilla.redhat.com/920595
* giscanner: fix broken xml:whitespace attributes in .gir filesDieter Verfaillie2013-04-093-358/+358
| | | | | | | The XML specification clearly states it's xml:space http://www.w3.org/TR/xml/#sec-white-space https://bugzilla.gnome.org/show_bug.cgi?id=628739
* tests: fix a too wide search/replaceDieter Verfaillie2013-04-0915-33/+32
| | | | | | Changed by accident in 2df621c53cdffbc3c43c3745947ee859020c8338 https://bugzilla.gnome.org/show_bug.cgi?id=697613
* tests: Restore intentional mixed tab/space indentationDieter Verfaillie2013-04-091-8/+8
| | | | | | Removed by accident in 2df621c53cdffbc3c43c3745947ee859020c8338 https://bugzilla.gnome.org/show_bug.cgi?id=697612
* tests: Add more torture CPPFLAGS for RegressColin Walters2013-03-061-3/+4
| | | | | | | | | This helps reproduce the issue with spidermonkey's .pc file using -include. Also add a single quote test case. https://bugzilla.gnome.org/show_bug.cgi?id=695182
* tests: Remove duplicate specification of CPPFLAGS for RegressColin Walters2013-03-061-2/+2
| | | | Previous commit introduced the flaw.
* regress: Add a test case for passing -Dquoted_stringColin Walters2013-03-051-1/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=695182
* Reformat code to GNU styleMartin Pitt2013-02-271-7/+7
| | | | | This was achieved by running "indent -gnu -i2 -nut -l120" over C files which use a different style, and manually fixing pointer declarations and modelines.
* Add test case for signal with a C array and length argumentMartin Pitt2013-02-275-0/+172
| | | | By-product of https://bugzilla.gnome.org/show_bug.cgi?id=662241.
* tests: Add missing expected filesColin Walters2013-02-2717-0/+774
|
* scanner: internals cleanup: Key more things off NamespaceColin Walters2013-02-267-10/+0
| | | | | | | | | | | The .gir format has a weird legacy where stuff like the includes are outside of the <namespace>. But conceptually they're tied together, so let's start reflecting this in the code. This way we can just pass around and look at a Namespace object instead of a 4-tuple of (namespace, includes, c_includes, pkg_config). https://bugzilla.gnome.org/show_bug.cgi?id=694593
* doctool: Use builtin namespace walkerColin Walters2013-02-2620-1/+643
| | | | | | Rather than hand-rolling our own. This ensures we traverse all nodes. https://bugzilla.gnome.org/show_bug.cgi?id=694593
* scanner: Synthesize argument names if we don't see oneColin Walters2013-02-263-9/+9
| | | | | | | While this is a bit lame, we need to do something. We preserve the warning message. https://bugzilla.gnome.org/show_bug.cgi?id=694593
* Install utility.[hc]Martin Pitt2013-02-201-1/+1
| | | | These are used by foo.[hc] and required to build Regress.gir.
* tests: Add RegressTestReferenceEnum to the doc testsJasper St. Pierre2013-02-183-0/+127
| | | | I really messed this one up :(
* sourcescanner: Make sure to mark constants as setJasper St. Pierre2013-02-181-0/+15
| | | | This fixes complex constants.
* sourcescanner: Fix symbolic references in enum membersJasper St. Pierre2013-02-162-15/+24
| | | | | | | We need to copy the source symbols, otherwise we'll overwrite their values. This isn't good. https://bugzilla.gnome.org/show_bug.cgi?id=693939
* docwriter: Use the fully-qualified name for functions and methodsJasper St. Pierre2013-02-15367-367/+367
|
* doctool: Use format_xref to format some links to pagesJasper St. Pierre2013-02-151247-1413/+1417
| | | | | | We don't do a full 100% conversion for all link tags, yet, because I don't want to break too much here. This may come later.
* doctool: Make sure to add "new"Jasper St. Pierre2013-02-1515-15/+15
|
* doctool: Don't put curly braces around the construct props if there are noneJasper St. Pierre2013-02-1511-22/+11
|
* doctool: Don't link to the namespace from the namespace pageJasper St. Pierre2013-02-153-6/+3
|
* tests: Clean up doc generation testsJasper St. Pierre2013-02-151-3/+0
| | | | We no longer have to mkdir -p
* docwriter: Don't render constants for nowJasper St. Pierre2013-02-1554-1353/+0
| | | | | | Clutter has thousands of keysym constants, and until we get them all on one page, this is just tons of tiny files that are just noise.
* doctool: Remove an extra <p> in the signalsJasper St. Pierre2013-02-158-8/+8
|
* doctool: Remove the ctype from the signal return valueJasper St. Pierre2013-02-148-8/+8
| | | | WTF was this here for?
* doctool: Add an link for signal methodsJasper St. Pierre2013-02-1438-38/+38
|
* doctool: Fix Gjs class signatureJasper St. Pierre2013-02-1415-30/+77
|
* doctool: Gjs doesn't have extra signal parametersJasper St. Pierre2013-02-1419-171/+19
|
* doctool: Fix use of <dl> tag in templatesJasper St. Pierre2013-02-14952-5712/+9482
| | | | This isn't legal Mallard
* docwriter: Skip non-introspectable nodes in introspectable languagesJasper St. Pierre2013-02-1444-1912/+0
|
* docwriter: Format list types as if they are arraysJasper St. Pierre2013-02-1441-77/+77
| | | | Language bindings don't actually care
* tests/scanner: add Regress-1.0-*-expected to EXTRA_DISTRico Tzschichholz2013-02-121-1/+4
|
* tests: Use Regress GIR for doctoolJasper St. Pierre2013-02-111349-1/+55405
| | | | | | This makes us test a lot more functionality in the doc tool, and removes the need to have a lot of different test libraries, and different test infrastructure.
* annotation: Fix invalid typeJasper St. Pierre2013-02-072-4/+3
| | | | | | | I'm quite sure this is a typo rather than an intended thing. This will gain a test and a warning soon. https://bugzilla.gnome.org/show_bug.cgi?id=693098
* tests: Move do_moo to warnlibJasper St. Pierre2013-02-076-60/+100
| | | | | | | | We want to warn on unnamed params in declarations to ensure that all functions are bindable. Thus, we need to move a test containing unnamed params to WarnLib so it can be tested. https://bugzilla.gnome.org/show_bug.cgi?id=693098
* tests: Move TestInherit into RegressJasper St. Pierre2013-02-074-36/+132
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=693097
* tests: Move Foo into RegressJasper St. Pierre2013-02-074-483/+1909
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=693097
* tests: Move Annotation into RegressJasper St. Pierre2013-02-075-1267/+1268
| | | | | | | The goal here is to have one master library for testing lots of edge cases for GIRs rather than lots of individual libraries. https://bugzilla.gnome.org/show_bug.cgi?id=693097