summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Gjs-expected
Commit message (Collapse)AuthorAgeFilesLines
* tests: Add more regression tests for (not nullable)Philip Withnall2015-11-062-0/+72
| | | | | | | | | | | | On bug #719966, the question arose of whether parameters annotated with (element-type) but not (not nullable) are regarded as nullable or non-nullable. Add some new unit tests to Regress-1.0.gir to check the behaviour is as expected: annotating a parameter with (element-type) implicitly makes it non-nullable (unless also annotated with (nullable)). https://bugzilla.gnome.org/show_bug.cgi?id=757678
* Add support for function typedefs without pointerBen Iofel2015-10-192-0/+55
| | | | | | | | | | g-ir-scanner now supports something like this: typedef void my_callback(int); Notice how my_callback is not a pointer. https://bugzilla.gnome.org/show_bug.cgi?id=755645
* scanner: Fix allow-none on return valuesGarrett Regier2015-09-292-0/+64
| | | | | | | | The optional annotation was being applied which is invalid for return values. https://bugzilla.gnome.org/show_bug.cgi?id=752029 Signed-off-by: Garrett Regier <garrett.regier@riftio.com>
* tests: Add expected files for previous commitColin Walters2015-09-281-0/+32
|
* regress: Add a test for (nullable)Colin Walters2015-09-031-0/+36
| | | | Related to: https://bugzilla.gnome.org/719966
* test: Add a test for GList containing GType.Christoph Reiter2015-07-051-0/+36
| | | | | | See https://bugzilla.gnome.org/show_bug.cgi?id=749696 https://bugzilla.gnome.org/show_bug.cgi?id=751978
* tests: fix make distcheckDieter Verfaillie2015-06-202-0/+61
| | | | | Add missing doc-tool tests, fixes "make distcheck" breakage introduced by 09daa28c5b4625b6f274b3b340bc85e33bef80b5
* scanner: Honor nested types on array declarations as wellColin Walters2014-09-051-0/+18
| | | | | | | | | We have special code to look at (type GLib.List(utf8)), but (type GLib.PtrArray(utf8)) didn't work. This allows NetworkManager to annotate the ActiveConnections property. https://bugzilla.gnome.org/show_bug.cgi?id=733879
* tests: Add regression test for callbacks with an inout arrayGarrett Regier2014-08-072-0/+69
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702508
* Parse and expose ownership transfer for instance parametersGiovanni Campagna2014-07-031-0/+26
| | | | | | | | | | | Knowing the ownership transfer for instance parameters is necessary for correct memory management of functions which "eat" their instance argument, such as g_dbus_method_invocation_return_*. Parse this information from the gir file and store in the typelib, and then provide new API on GICallableInfo to retrieve this. https://bugzilla.gnome.org/show_bug.cgi?id=729662
* doctool: update testsGiovanni Campagna2014-03-0597-125/+212
|
* g-ir-compiler: Add support for callback fields on GObjectsSimon Feltman2014-02-271-0/+19
| | | | | | | | | | | | | | | | | Use ParseState enum instead of a boolean for the ParseContexts embedded_type flag. This allows specific tracking of the embedded type currently being parsed which can now either be STATE_STRUCT_FIELD or STATE_CLASS_FIELD (or allow for future expansion). Add ParseState::STATE_NONE as the default for this field. Fix GObject FieldBlob validation to take into account the sizeof CallbackBlobs (copied from the struct validator). Add static g_object_info_get_field_offset which parallels g_struct_info_get_field_offset which is needed since callback fields may vary in size. https://bugzilla.gnome.org/show_bug.cgi?id=725198
* doctool: update testsGiovanni Campagna2014-02-26107-116/+1153
|
* scanner: support virtual functions with a typedef-ed callbackGiovanni Campagna2014-02-202-0/+54
| | | | | | | | | | The field of a callback need not be anonymous, it could be a typedef, with a proper Type node. Fixes TelepathyGlib.BaseClient having no virtual functions (and probably others) https://bugzilla.gnome.org/show_bug.cgi?id=723439
* doctool/Gjs: some more fixes for structs and unionsGiovanni Campagna2014-02-2020-328/+4
| | | | | | | | | | | | | | Stop pretending we have fields on unions (only methods are supported). Add minimal support (ie, don't crash) to nested structures, that due to how ast works have namespace None (and the transformers hard-depend on that). Uncovered by GLib's GDoubleIEEE754, before I removed union fields. For some reason, RegressTestStructE (anonymous union) has a completely different behavior and generates a weird name, while RegressLikeGnomeKeyringSchema (array of unnamed structs) becomes array(gpointer). Bah, one should have methods anyway...
* doctool: update reference testsGiovanni Campagna2014-02-20530-7497/+5576
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=724735
* scanner: Don't barf on anonymous unionsColin Walters2013-10-302-0/+50
| | | | | | | | I'd like to be able to use this inside GTK+. See: https://bugzilla.gnome.org/show_bug.cgi?id=711153 https://bugzilla.gnome.org/show_bug.cgi?id=711157
* giscanner: Test fixups for field annotations and documentationStef Walter2013-10-281-0/+25
| | | | Related to: https://bugzilla.gnome.org/show_bug.cgi?id=710561
* giscanner: honor line and paragraph breaks in description fieldsDieter Verfaillie2013-10-083-3/+6
| | | | | | | | | GTK-Doc parameter description fields are allowed to span multiple lines, tag description fields are allowed to span multiple lines and paragraphs. A tool fixing/rewriting GTK-Doc comment blocks in source files would need to have description fields parsed and stored (almost) exactly as they appear in the source file.
* Revert addition of __int128 testsColin Walters2013-05-071-25/+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-071-0/+25
|
* tests: add missing expected generated documentationDieter Verfaillie2013-04-222-0/+71
| | | | | | | | 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
* tests: fix a too wide search/replaceDieter Verfaillie2013-04-094-4/+4
| | | | | | Changed by accident in 2df621c53cdffbc3c43c3745947ee859020c8338 https://bugzilla.gnome.org/show_bug.cgi?id=697613
* Add test case for signal with a C array and length argumentMartin Pitt2013-02-271-0/+39
| | | | By-product of https://bugzilla.gnome.org/show_bug.cgi?id=662241.
* tests: Add missing expected filesColin Walters2013-02-279-0/+402
|
* tests: Add RegressTestReferenceEnum to the doc testsJasper St. Pierre2013-02-181-0/+51
| | | | I really messed this one up :(
* docwriter: Use the fully-qualified name for functions and methodsJasper St. Pierre2013-02-15106-106/+106
|
* doctool: Use format_xref to format some links to pagesJasper St. Pierre2013-02-15411-411/+413
| | | | | | 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-151-2/+1
|
* docwriter: Don't render constants for nowJasper St. Pierre2013-02-1518-451/+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-154-4/+4
|
* doctool: Remove the ctype from the signal return valueJasper St. Pierre2013-02-144-4/+4
| | | | WTF was this here for?
* doctool: Add an link for signal methodsJasper St. Pierre2013-02-1419-19/+19
|
* 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-14324-1640/+2632
| | | | This isn't legal Mallard
* docwriter: Skip non-introspectable nodes in introspectable languagesJasper St. Pierre2013-02-1422-933/+0
|
* docwriter: Format list types as if they are arraysJasper St. Pierre2013-02-1420-37/+37
| | | | Language bindings don't actually care
* tests: Use Regress GIR for doctoolJasper St. Pierre2013-02-11452-0/+17996
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.