summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-09-20[maintransformer] Make warning more robustHEADmasterJohan Dahlin1-2/+2
Instead of assuming that a parent node is always passed in, make sure to handle that case. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629959
2010-09-20[message] Set file_positions to an empty listJohan Dahlin1-1/+1
So we can always pass it into len() without breaking https://bugzilla.gnome.org/show_bug.cgi?id=629959
2010-09-19Include proper line number for scope warningJohan Dahlin2-4/+5
2010-09-19[sourcescanner] Rewrite linemarks parserJohan Dahlin2-50/+25
Rewrite the pre-processor linemark parser so we end up with accurate filenames and linenumbers.
2010-09-19Include proper filename and lineno in doc warningJohan Dahlin2-4/+6
2010-09-19[annotationparser] Preserve line numbersJohan Dahlin2-18/+36
Make sure that the linenumbers of the documentation blocks and tags are preserved and accurate so they can be used in warning messages. Also: * Rename Options to DocOptions for consistency * Add a reference to the docblock a tag and an option belong to
2010-09-19Save the line number of a source commentJohan Dahlin5-11/+40
2010-09-18[maintransformer] Do not warn for returns and varargsJohan Dahlin1-1/+1
Add a few more special case parameters which we will not warn if they don't exist as a parameter
2010-09-17Set c_symbol_prefix in the GVariant special caseTomeu Vizoso1-0/+1
2010-09-17Make Full the default transfer for returned foreign structs.Tomeu Vizoso4-4/+31
For that we also need to read the annotations for foreign structs before guessing the transfer mode of return values. https://bugzilla.gnome.org/show_bug.cgi?id=629188
2010-09-16Update AUTHORSJohan Dahlin1-3/+7
2010-09-16Update CONTRIBUTORSJohan Dahlin1-1/+6
2010-09-16build: post-release version bumpColin Walters1-1/+1
2010-09-16Release 0.9.6probably-0.9.6Colin Walters1-1/+1
2010-09-16[maintransformer] Do not warn for vararg docsJohan Dahlin2-0/+13
Allow varargs "..." to be documented without warning https://bugzilla.gnome.org/show_bug.cgi?id=629759
2010-09-15Add a warning for unresolved typesJohan Dahlin3-6/+27
Warn when using an annotation which will end up as unresolved. https://bugzilla.gnome.org/show_bug.cgi?id=629004
2010-09-15gio-2.0.c: Add missing annotationsSimón Pena1-0/+68
Add 'transfer mode' annotations for GAction, GActionGroup, GAppInfo, GApplication and GAsyncInitable https://bugzilla.gnome.org/show_bug.cgi?id=629790
2010-09-15scanner: Add temporary workaround for GStreamerColin Walters3-0/+8
Also document/bug link the other workarounds; just made up a convention for ## WORKAROUND ## See: https://bugzilla.gnome.org/show_bug.cgi?id=550616
2010-09-15NEWS->git shortlogJohan Dahlin2-1/+2
2010-09-15Update annotations for GIRepository.Repository.Pavel Holejsovsky2-16/+16
https://bugzilla.gnome.org/show_bug.cgi?id=628753
2010-09-15Box GIBaseInfo structure.Pavel Holejsovsky2-0/+18
This puts it into typelibs and allows to use it safely from scripts. https://bugzilla.gnome.org/show_bug.cgi?id=628753
2010-09-14Add a parameter mismatch warningJohan Dahlin6-1/+59
https://bugzilla.gnome.org/show_bug.cgi?id=629708
2010-09-14[gio] Fix a broken doc stringJohan Dahlin1-1/+1
https://bugzilla.gnome.org/show_bug.cgi?id=629708
2010-09-14[warningtester] Do not sort expected warningsJohan Dahlin2-2/+2
Instead just take them in the order they are in the file
2010-09-14[warningtester] Invert expected/actualJohan Dahlin1-1/+1
It makes it a little less confusing reading the error messages
2010-09-14scanner: Add c_type for callbacksColin Walters4-2/+29
We weren't doing this consistently, which broke nsname != cprefix cases. https://bugzilla.gnome.org/show_bug.cgi?id=629683
2010-09-14tests: Don't build regress if we don't HAVE_CAIROColin Walters1-1/+6
https://bugzilla.gnome.org/show_bug.cgi?id=629359
2010-09-14typelib compiler: Passthrough <doc> at any pointColin Walters1-1/+1
This should have been in the previous commit.
2010-09-14scanner: Parse annotations for typedefsColin Walters5-1/+33
* Explicitly check for ast.Alias in annotation pass * Add "generic" attribs handling for aliases like docs, introspectable=0 etc. https://bugzilla.gnome.org/show_bug.cgi?id=629668
2010-09-14scanner: Handle G_TYPE_HASH_TABLEColin Walters4-6/+48
Our Type creation from GType names didn't know how to handle the GObject boxeds for GHashTable, GArray etc.
2010-09-13scanner: Consistently use ctype for documentation blocksColin Walters2-12/+23
The "c_name" is really a fallback; use "ctype" if available which matches the C structure name. This fixes scanning at least TelepathyGLib where the namespace is different from the C prefix "Tp".
2010-09-13scanner: Add a test for G_TYPE_ARRAY and (element-type uint)Colin Walters2-0/+41
Similar to TelepathyGlib.
2010-09-13scanner: Add GType for GVariantColin Walters1-5/+10
This needs a manual override since GVariant is a fundamental.
2010-09-13scanner: Bomb out more obviously if a namespace contains class name = namespaceColin Walters1-0/+6
If you pass --namespace=FooBar, and have a GObject named FooBar, we'd assert. Give the user an obvious error message.
2010-09-13Annotate g_variant_builder_endTomeu Vizoso1-0/+5
2010-09-13Add a few notes to HACKINGJohan Dahlin1-0/+7
2010-09-13[test] Fix a leftover renameJohan Dahlin1-1/+1
The gir name got renamed, update the rules to reflect that
2010-09-13[test] Add typelib/girs to CLEANFILESJohan Dahlin1-2/+7
So they are removed during uninstall
2010-09-13[test] Use INTROSPECTION_SCANNERJohan Dahlin1-1/+1
Since it sets the PYTHONPATH properly
2010-09-13Do not use install-data-localJohan Dahlin2-9/+10
Instead use xxxdir + xxx_DATA which uninstalls correctly
2010-09-13Do not require .git to be presentJohan Dahlin1-4/+4
If .git is not present, do not require the pre-commit hook to be present either
2010-09-13[tests] Add to EXTRA_DISTJohan Dahlin1-1/+1
2010-09-13[tests] Remove left over variableJohan Dahlin1-1/+1
So make dist passes again
2010-09-11Add annotation for g_variant_get_stringTomeu Vizoso1-0/+6
2010-09-10scanner: Readd support for --strip-prefixColin Walters1-2/+3
We still really do want people to port to --identifier-prefix (and --symbol-prefix if necessary) because there's no ambiguity. Before the way we were casefolding was just a terrible mess.
2010-09-10scanner: Allow gstreamer's GParamSpecMiniObject throughColin Walters1-0/+13
It's wrong, but they can't change it now, so work around it here. https://bugzilla.gnome.org/show_bug.cgi?id=550616 https://bugzilla.gnome.org/show_bug.cgi?id=629306
2010-09-10build: Also use $DESTDIR for regress.[ch]Colin Walters1-1/+1
2010-09-09build: Use $DESTDIR in install-data-localColin Walters1-1/+1
2010-09-09gio-2.0.c: Add more annotations for GVolume and GVolumeMonitorOwen W. Taylor1-0/+43
Add annotations fixing warnings in in GVolume and GVolumeMonitor
2010-09-09build: Update EXTRA_DIST, fix random stray + in MakefileColin Walters1-2/+2