summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 0.9.0GOBJECT_INTROSPECTION_0_9_0Colin Walters2010-06-291-2/+2
|
* Revert "fix bug#605156 by ordering libtool archives that may pull in system"Colin Walters2010-06-281-4/+6
| | | | | | | | | | | | | This reverts commit e14bdebab725263c3d6f97267090cbf5d06b99d2. While that commit fixed things in some cases, it broke others. I think the problem people are running into here that we actually need the library path order to be: .:$BUILD_ROOT:/usr Ensure that the middle happens by explicitly calling pkg-config. https://bugzilla.gnome.org/show_bug.cgi?id=605156
* Fix annotations for g_get_system_*Colin Walters2010-06-251-2/+2
|
* Remove trailing semicolonColin Walters2010-06-251-1/+1
|
* fix bug#605156 by ordering libtool archives that may pull in systemMichael Meeks2010-06-251-1/+4
| | | | paths at the end of the libtool command-line
* Move pkg-config calls before --library and --programColin Walters2010-06-251-2/+2
| | | | | | | We need our just-built library path to override what we have from pkg-config. https://bugzilla.gnome.org/show_bug.cgi?id=605156
* Initialize value memberColin Walters2010-06-251-0/+1
|
* Clean up annotation parsing, don't try to parse invalid annotationsColin Walters2010-06-2510-180/+278
| | | | | | | | | | | | | | | The old parser tried to parse: @foo: some text here (other text) Reject this. We strictly require another colon at the end to parse the text in between as (option) (other option). Futher ensure we only attempt to do option parse if we find something that matches the strict regexp ([A-Za-z]+). This could be tightened further. TODO: Have a warning for something that looks like an annotation, but isn't. https://bugzilla.gnome.org/show_bug.cgi?id=622659
* Allow attributes on parameters and return valuesDavid Zeuthen2010-06-2414-8/+265
| | | | | | | | | | | | | | | | | | Any annotation where the key has a dot in the name will go into the attribute list. For example * @arg: (foo.bar baz): some arg the parameter @arg will get the attribute with key foo.bar and value baz. This also works for. * Returns: (foo.bar2 baz2): the return value Also add tests for this new feature. See https://bugzilla.gnome.org/show_bug.cgi?id=571548 Signed-off-by: David Zeuthen <davidz@redhat.com>
* Attribute bug-fixesDavid Zeuthen2010-06-243-23/+25
| | | | | | | | | | | | | | | | | | Rectify an assumption that nodes are ordered according to offset - since this assumption was not true, attributes ended up being not ordered either and the bsearch() when looking up attributes failed mysteriously. Instead of making such assumptions, simply sort the list of nodes we want to extract attributes from. The total attribute size computation was wrong as we didn't properly descend into subnodes. This resulted in memory access violations when writing the typelib (because not enough data was allocated). Instead of having a separate function for this, just include the attribute size in the existing function. See https://bugzilla.gnome.org/show_bug.cgi?id=571548 Signed-off-by: David Zeuthen <davidz@redhat.com>
* [girparser] Remove backtrace()Colin Walters2010-06-221-29/+0
| | | | | It's not useful; we never got good info from it, and modern operating systems ship with crash catching systems.
* [glibtransformer] Fix typoJohan Dahlin2010-06-221-1/+1
|
* Walk GLibBoxedColin Walters2010-06-221-0/+5
| | | | We need to be processing varargs on these.
* [giregisteredinfo] A Boxed is also a registered typeJohan Dahlin2010-06-221-1/+2
|
* Fix make check broken by DanielleJohan Dahlin2010-06-221-0/+10
|
* [GIMarshallingTest] Add GByteArray test APIJohan Dahlin2010-06-223-0/+60
|
* [annotationparser] Reuse method for determining array typeJohan Dahlin2010-06-221-3/+1
|
* Merge branch 'gvalue-tests'Danielle Madeley2010-06-222-0/+26
|\
| * Add tests to Everything for items stored in GValuesDanielle Madeley2010-06-222-0/+26
| |
* | Merge remote branch 'origin'Johan Dahlin2010-06-211-1/+1
|\ \
| * | Fix trailing whitespaceColin Walters2010-06-191-1/+1
| | |
* | | GIRepository generation broke by code changesAlan Knowles2010-06-211-6/+7
|/ / | | | | | | Include all the Info files, and make sure girepository.h is first in the include order
* | [gir] Pass in --warn-all/error to our libsJohan Dahlin2010-06-171-0/+2
| | | | | | | | | | Pass in --warn-all/--warn-error to all the libraries that are under our control so we can dogfood.
* | Add a .dir-locals fileJohan Dahlin2010-06-171-0/+5
| |
* | Better error message for incompatible versionsColin Walters2010-06-171-2/+18
| |
* | Support introspectable=no attribute, add warnings frameworkColin Walters2010-06-1712-878/+1008
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This work allows us to move closer to replacing gtk-doc, among other things. We add a generic attribute "introspectable", and inside the typelib compiler if we see "introspectable=no", we don't put it in the typelib. This replaces the hackish pre-filter for varargs with a much more generic mechanism. The varargs is now handled in the scanner, and we emit introspectable=no for them. Add generic metadata to Node with references to file/line/column, which currently comes from symbols. Add scanner options --warn-all and --warn-error. https://bugzilla.gnome.org/show_bug.cgi?id=621570
* | Update versionsColin Walters2010-06-1718-18/+18
| |
* | More explicitly document how we'll use the version= attribute on repositoryColin Walters2010-06-173-2/+17
| | | | | | | | | | | | I want to start bumping it on incompatible .gir changes. https://bugzilla.gnome.org/show_bug.cgi?id=621895
* | [cachestore] Properly clean the cacheg-i-0.6Johan Dahlin2010-06-171-1/+1
| | | | | | | | | | Propertly clear the cache after a version invalidation. Send in the full filename to unlink, not just the basename.
* | Revert "Support introspectable=no attribute, add warnings framework"Johan Dahlin2010-06-1711-1000/+876
|/ | | | This reverts commit 074192b89c6afcdd7f062f03989972e44334b8bf.
* Support introspectable=no attribute, add warnings frameworkColin Walters2010-06-1611-876/+1000
| | | | | | | | | | | | | | | | This work allows us to move closer to replacing gtk-doc, among other things. We add a generic attribute "introspectable", and inside the typelib compiler if we see "introspectable=no", we don't put it in the typelib. This replaces the hackish pre-filter for varargs with a much more generic mechanism. The varargs is now handled in the scanner, and we emit introspectable=no for them. Add generic metadata to Node with references to file/line/column, which currently comes from symbols. Add scanner options --Wall and --Werror.
* Apply annotations from invoker to vfuncColin Walters2010-06-165-5/+14
| | | | | | | | We typically expect people to annotate e.g. GList for virtuals on the invoker, not on the virtual slot, since the invoker feels like the public API. https://bugzilla.gnome.org/show_bug.cgi?id=621570
* Add some more Gio annotationsColin Walters2010-06-161-0/+14
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=621570
* [glibtransformer] Refactor field adding to a separate methodJohan Dahlin2010-06-121-10/+13
|
* [glibtransformer] not not x -> bool(x)Johan Dahlin2010-06-121-1/+1
|
* [girparser] Annotate return transfer for public APIJohan Dahlin2010-06-121-2/+2
|
* [girwriter] Use GSliceJohan Dahlin2010-06-121-5/+4
|
* [GIVInterfaceInfo] Document and check argsJohan Dahlin2010-06-121-21/+238
|
* [GIObjectInfo] Fix a typo and document a funcJohan Dahlin2010-06-121-1/+5
|
* [gir_writer_write] Document properlyJohan Dahlin2010-06-111-2/+2
|
* [g_property_info_get_flags] Document properlyJohan Dahlin2010-06-111-3/+1
|
* [docs] Add missing symbolsJohan Dahlin2010-06-111-2/+20
|
* [gitypelib-internal.h] Add missing <public>Johan Dahlin2010-06-111-1/+1
|
* [GIObjectInfo] Document and check typesJohan Dahlin2010-06-111-31/+333
|
* [GICallableInfo] Fix a typo in the docJohan Dahlin2010-06-111-1/+1
|
* [docs] Add struct hierarchy to each sectionJohan Dahlin2010-06-1113-1/+127
|
* [GIVFuncInfo] Document and check argsJohan Dahlin2010-06-111-6/+63
|
* [GIPropertyInfo] Document and check argsJohan Dahlin2010-06-111-2/+41
|
* [cachestore] Add versioningJohan Dahlin2010-06-101-1/+50
| | | | | | | | Version the cache by checking the SHA1 of the content of all python source files. If the SHA1 hash differs, just regenerate the cache. https://bugzilla.gnome.org/show_bug.cgi?id=568842
* Allow for methods in GLibTomeu Vizoso2010-06-092-6/+6
| | | | | | | | | | | * girepository/gitypelib.c: Don't complain about constructors returning types other than objects or interfaces if the container type isn't an object or interface itself. * giscanner/glibtransformer.py: Don't give up parsing a method just because it's in the GLib namespace. https://bugzilla.gnome.org/show_bug.cgi?id=621069