summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update NEWSGOBJECT_INTROSPECTION_0_6_3Johan Dahlin2009-06-222-2/+75
|
* Bug 584423 – Add short/ushort supportMark Lee2009-06-2213-33/+107
| | | | | | | | | Add type tags for short and ushort, plus all of the requisite code needed to utilize them in libgirepository. Add support in the scanner's AST files. Add test functions to the everything library and the expected gir file. gtypelib.c constant validation fixed by Colin Walters <walters@verbum.org>
* Update annotation expected "tgir" for previous commitColin Walters2009-06-181-7/+7
| | | | | Since we're not writing out the zero-terminated flag now when we shouldn't, update the tests too.
* Bug 585328 - Only set zero_terminated flag for types we know areSimon van der Linden2009-06-171-0/+6
| | | | | Rationalize our setting of the zero_terminated flag; we shouldn't set it if the gir doesn't say to.
* Everything: add a boxed property to TestObjAndreas Rottmann2009-06-175-1/+40
|
* Make sure the scanner and compiler are able to find libeverything.so.1Johan Bilien2009-06-161-2/+2
| | | | | and that it uses the uninstalled version. Fixes make check (when libeverything.so.1 was uninstalled).
* Bug 585579: actually check Everything-1.0-expected.girC. Scott Ananian2009-06-161-3/+4
| | | | | As discussed in bug 585908, we also rename CHECKGIRS and EXPECTEDGIRS to match the naming in tests/scanner/Makefile.am.
* Fix distcheck. A couple of files was missing from EXTRA_DIST.Marco Pesenti Gritti2009-06-161-1/+3
|
* Annotate g_get_system_*_dirs ()Johan Bilien2009-06-151-0/+10
|
* Bug 585579: Update Everything-1.0-expected.gir to match recent array/strv ↵C. Scott Ananian2009-06-121-1/+42
| | | | changes.
* Bug 585373: Add annotations for g_spawn_* functions.C. Scott Ananian2009-06-121-0/+39
|
* Bug 585584: Fix warnings in girparser backtrace functionality and compiler.cC. Scott Ananian2009-06-122-3/+8
|
* Bug 585374: Fix misspelling of 'infinite'.C. Scott Ananian2009-06-123-7/+7
|
* Bug 581685: Parse parameterized types (using <>) in annotations.C. Scott Ananian2009-06-125-15/+109
| | | | | | | | | | You can now specify a nested parameterized type in annotations as (for example): @param: (type GLib.HashTable<utf8,GLib.HashTable<utf,utf>>) or @param: (element-type utf8 GLib.HashTable<utf,utf>) New test functions for the Everything typelib show how it works.
* Make g-ir-compiler find files installed by make installHolger Hans Peter Freyther2009-06-115-5/+23
| | | | | | | | | | | When ./configure --prefix $HOME/some/where is used gobject-introspection will happily install the files into $HOME/some/where/data/gir-1.0 but it will refuse to find them. Apply the same trick as in girepository/girepository.c:init_globals to find the gir files. Unifiy the name gir-1.0 in GIR_SUFFIX and use it throughout the project, introduce GIR_DIR which holds the path to the gir files and update girparser and transformer.py to look into this path.
* Don't fail if no --output option is specifiedColin Walters2009-06-111-1/+2
| | | | Printing to stdout is legitimate.
* Remove duplicate typelib installation rulesroot2009-06-101-1/+1
| | | | No need to list them twice, and it confuses/breaks some install tools.
* Bug 577546 - More annotations for GLib, GObject, GioColin Walters2009-06-094-5/+38
| | | | Patch modified from one by Norbert Freese <nf2.email@gmail.com>.
* Bug 577534 - Use rename to write new typelibs, instead of in-place overwriteColin Walters2009-06-091-11/+27
| | | | | This avoids having processes with the typelibs currently open exploding immediately.
* Bug 584453 - Handle char ** correctly (and const variation)Colin Walters2009-06-097-17/+57
| | | | | | | | | This patch fixes our default handling of char **. We add Return node types as a case where we test for array handling. Remove the hardcoded assumption of array = "no transfer", just use the separate Parameter/Return cases. This change causes inout char ** to be transfer="full", but that seems more correct.
* Add a test_strv_out which is unannotated, rename current to ↵Colin Walters2009-06-082-2/+19
| | | | | | | | | test_strv_out_container We need a test case for a plain unannotated char ** return value, which should be an array. Keep the old annotated test as a test case for the container transfer.
* Bug 585081 - Correct everything linkageSimon van der Linden2009-06-081-1/+1
| | | | We need to link with gobject.
* Move Everything into gir/, since it's a public libraryColin Walters2009-06-047-72/+49
| | | | | Everything isn't a test for quite a while now, it's a public library. So move it to gir/.
* Add an Everything-1.0-expected.gir, test Everything versus itColin Walters2009-06-042-0/+1236
| | | | We should be testing the Everything library as well.
* Add GLclampf to the GL GIREmmanuele Bassi2009-06-041-0/+1
| | | | | | The GLclampf type is missing from the GL definitions. http://bugzilla.gnome.org/show_bug.cgi?id=584816
* Annotations for g_option_context_parse.C. Scott Ananian2009-05-291-0/+6
| | | | | These annotations match those for gtk_init(), which takes the same types of arguments.
* A few transfer-related tests for "Everything"Andreas Rottmann2009-05-292-0/+52
|
* Fix pep8.py and its invocation.Chris Rivera2009-05-282-2/+2
| | | | | | | | | | pep8.py:input_file() normally returns the number of errors found in a given file, but it returns an empty dict if the file is excluded. Change it to return 0 instead. config.py is auto-generated with a prefix that may be longer than 80 characters. Exclude config.py in the pep8.py check. This fixes 4042.
* Better handle classes with non-standard to_underscore names.C. Scott Ananian2009-05-203-2/+157
| | | | | | | | | | | | | | | | | | | Previously we tried to guess what the "underscore version" of a class name would be, but for classes like NMSetting8021x we'd guess "nm_setting8021x" instead of "nm_setting_802_1x". All such guesses are subject to error: instead let's try to use the prefix of the _get_type() method instead, and only guess if that doesn't work. We do this for both class names and when detecting methods. An additional type with a "non-standard" underscored version (TestWi8021x) added to the everything.[ch] test suite to test proper conversion. GdkWindow and GObject have unusual get_type methods; add special quirks to handle these (at least until the methods are renamed upstream). (Slightly modified for PEP8 compliance by Colin Walters) Signed-off-by: Colin Walters <walters@verbum.org>
* Update doc comments.C. Scott Ananian2009-05-121-3/+1
| | | | | | The enumeration values cited here were out of date. Rewrite to eliminate the explicit mention of the enumeration value, to prevent it from drifting out of date again in the future.
* Add GHash tests to Everything test GI library.C. Scott Ananian2009-05-122-2/+188
|
* Fix the list comparison assertions.C. Scott Ananian2009-05-121-4/+10
| | | | | | We weren't checking the length of the input list, and we were erroneously comparing every element in the test sequence against the *first* element of the passed-in list.
* Everything: more tests for integer array parameters.C. Scott Ananian2009-05-122-1/+92
|
* Fix annotations for GList and GSList tests.C. Scott Ananian2009-05-121-0/+40
|
* Enable the utf8 tests in the everything module.C. Scott Ananian2009-05-122-5/+19
| | | | We needed to tweak a couple of the tests for correctness.
* Allow the use of the "Rename To" annotation for literal method renaming.C. Scott Ananian2009-05-121-2/+15
| | | | | | As originally implemented, this annotation was only used for method overloading (argument signature polymorphism). Allow it to be used to clean up historically poorly-named methods as well.
* Remove orphan text, left over from parent document.C. Scott Ananian2009-05-121-6/+0
|
* Remove (out) annotation for now from Everything structsColin Walters2009-05-071-2/+2
| | | | | | Right now these annotations don't work; (out) is for callee-allocates. For more information see http://bugzilla.gnome.org/show_bug.cgi?id=573314
* Fix typo in the TestInterface gtype nameTomeu Vizoso2009-05-061-1/+1
|
* Add an interface to EverythingTomeu Vizoso2009-05-052-0/+35
|
* Add element type annotations for GList argumentsMarina Zhurakhinskaya2009-05-011-1/+9
| | | | | g_app_info_launch and g_app_info_launch_uris needed element type annotations for their GList arguments.
* Avoid writing out empty array if we have no _get_type functionsColin Walters2009-04-031-12/+12
| | | | | Zero length arrays are a GNU C extension, so this way we don't fail on non-GCC.
* Fix 'Could not find GIR file ...' error to use right filename.Dan Winship2009-03-281-10/+8
| | | | Also plug a leak; girname was previously only freed on error.
* Bug 576605 - Get rid of GI_SCOPE_TYPE_OBJECTAndreas Rottmann2009-03-273-7/+0
| | | | Remove support for (scope object) as it lacks a real use case.
* Annotate g_filename_completer_get_completionsJohan Dahlin2009-03-251-0/+6
|
* Remove spurious addition of 'GSList *handlers' in last commitAndreas Rottmann2009-03-241-1/+0
|
* Additions to the 'Everything' namespaceAndreas Rottmann2009-03-242-3/+53
| | | | | - Make the destroy-notfied callback test harder by retaining the callbacks until test_callback_thaw_notifications() is called.
* Bug 576323 - Fix inner constant parsing Signed-off-by: Didier 'Ptitjes ↵Didier 'Ptitjes2009-03-241-1/+1
| | | | | | <ptitjes@free.fr> Signed-off-by: Colin Walters <walters@verbum.org>
* Include g-ir-scanner.in in the distributionJohan Bilien2009-03-242-2/+4
| | | | and other make distcheck fixes.
* Add a test signal with an argument flagged as G_SIGNAL_TYPE_STATIC_SCOPEJohan Bilien2009-03-242-0/+15
|