summaryrefslogtreecommitdiff
path: root/gir
Commit message (Collapse)AuthorAgeFilesLines
* gio-2.0.c: Add missing annotationsSimón Pena2010-09-151-0/+68
| | | | | | | Add 'transfer mode' annotations for GAction, GActionGroup, GAppInfo, GApplication and GAsyncInitable https://bugzilla.gnome.org/show_bug.cgi?id=629790
* [gio] Fix a broken doc stringJohan Dahlin2010-09-141-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=629708
* Annotate g_variant_builder_endTomeu Vizoso2010-09-131-0/+5
|
* Add annotation for g_variant_get_stringTomeu Vizoso2010-09-111-0/+6
|
* gio-2.0.c: Add more annotations for GVolume and GVolumeMonitorOwen W. Taylor2010-09-091-0/+43
| | | | Add annotations fixing warnings in in GVolume and GVolumeMonitor
* build: Update EXTRA_DIST, fix random stray + in MakefileColin Walters2010-09-091-2/+2
|
* gio: annotate g_volume_get_driveColin Walters2010-09-091-0/+6
|
* gio: Annotate a few more functionsColin Walters2010-09-091-0/+12
|
* gio: Annotate g_mount_get_driveColin Walters2010-09-091-0/+6
|
* gio: annotate g_mount_get_volumeColin Walters2010-09-091-0/+6
|
* Add missing annotationsFlorian Müllner2010-09-081-0/+17
| | | | Add some more (transfer full) annotations left out in commit cd0de25.
* Add missing annotations to GLib and GioOwen W. Taylor2010-09-072-0/+109
| | | | | Add (transfer full) and (array zero-terminated=1) to various GLib and Gio functions.
* Enhancement #612253 - add configure --with-glib-src=PATHAlan Knowles2010-09-071-4/+42
| | | | | This enables glib documentation to be added to the generated gir using the original source eg. --with-glib-src=/usr/src/glib
* Remove old everything.[ch]Johan Dahlin2010-09-032-3268/+0
|
* [scanner] Remove support for xpath assertionsJohan Dahlin2010-09-013-10/+0
| | | | It has been broken for a while and nobody uses it.
* scanner: Better handling of empty namespace prefix for XColin Walters2010-08-3111-11/+33
| | | | | Add namespacing prefixes to the static .gir files. Support the empty prefix, as is needed for xlib.
* Major rewriteColin Walters2010-08-3112-17/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One of the first big changes in this rewrite is changing the Type object to have separate target_fundamental and target_giname properties, rather than just being strings. Previously in the scanner, it was awful because we used heuristics around strings. The ast.py is refactored so that not everything is a Node - that was a rather useless abstraction. Now, only things which can have a GIName are Node. E.g. Type and Field are no longer Node. More things were merged from glibast.py into ast.py, since it isn't a very useful split. transformer.py gains more intelligence and will e.g. turn GLib.List into a List() object earlier. The namespace processing is a lot cleaner now; since we parse the included .girs, we know the C prefix for each namespace, and have functions to parse both C type names (GtkFooBar) and symbols gtk_foo_bar into their symbols cleanly. Type resolution is much, much saner because we know Type(target_giname=Gtk.Foo) maps to the namespace Gtk. glibtransformer.py now just handles the XML processing from the dump, and a few miscellaneous things. The major heavy lifting now lives in primarytransformer.py, which is a combination of most of annotationparser.py and half of glibtransformer.py. annotationparser.py now literally just parses annotations; it's no longer in the business of e.g. guessing transfer too. finaltransformer.py is a new file which does post-analysis for "introspectability" mainly. girparser.c is fixed for some introspectable=0 processing.
* Use GLib types consistentlyColin Walters2010-08-312-2/+2
| | | | | | | | | Rather than have the scanner/parser handle both e.g. "glong" and "long", simply use the GLib types everywhere. This commit adds TYPE_LONG_LONG and TYPE_LONG_DOUBLE to the scanner types; however, rather than add them to the typelib, they're just marked as not-introspectable.
* Move alias target to <type>Colin Walters2010-08-311-1/+3
| | | | | | | This makes type parsing more uniform. Delete the typedef for GSList in foo.h - that's not supported anymore, or at least for now.
* tests: Remove GIMarshallingTests, rename Everything to RegressColin Walters2010-08-315-10293/+0
| | | | | | | | | | | | | | | | | | GIMarshallingTests will be replaced with automatically generated code; it was far from comprehensive, and was a pain to maintain. The namespacing in Everything was broken; it had an empty C prefix effectively, because all the symbols just started with "test". We do want "test" as part of the symbols, since otherwise the exported API would be weird. Fix this by changing the namespace to Regress (i.e. prefixing all the C code with Regress). This makes sense anyways because Everything wasn't really Everything. We no longer install a pre-built regress.(so,gir,typelib); instead we install the C code to $(datadir)/gobject-introspection/tests/regress.[ch]. Bindings should compile this.
* Makefile.introspection: Add _EXPORT_PACKAGES variable.Luca Bruno2010-08-281-1/+1
| | | | This new variable maps to --pkg-export.
* add annotation for g_get_language_namesMaxim Ermilov2010-08-241-0/+5
|
* Add properties to Everything.TestObj for testing more typesTomeu Vizoso2010-08-203-0/+118
|
* gir: Import DBus, DBusGLibColin Walters2010-08-173-0/+50
| | | | | | | These used to live in gir-repository; similarly to how we're presently just holding random .gir files for the lowlevel bits of the platform, suck these in. In the future they'll be obsoleted by foreigns.
* gir: Drop warn-all from GLibColin Walters2010-08-171-3/+3
| | | | | It isn't going to be fully introspectable anytime soon; we'd need a crap-ton of (skip).
* Remove --noclosure argumentColin Walters2010-08-171-5/+4
| | | | It's obsoleted by the introspectable=0 handling.
* Remove uncommitted function from gir/GIMarshallingTests-1.0-expected.girTomeu Vizoso2010-08-171-8/+0
|
* Update gir/GIMarshallingTests-1.0-expected.girTomeu Vizoso2010-08-171-0/+19
|
* Add a stub entry for XLib VisualMatthias Clasen2010-08-161-0/+1
|
* Add Colormap stubMatthias Clasen2010-08-161-0/+1
|
* Add g_i_marshalling_tests_gvalue_in_enumTomeu Vizoso2010-08-102-0/+12
|
* [everything] Remove allow-none for Return valueJohan Dahlin2010-08-101-1/+1
|
* [Gio] Add missing return-value annotationsJohan Dahlin2010-07-281-0/+77
|
* Update GIMarshallingTests expected girJohan Dahlin2010-07-221-1/+2
| | | | To make the tests pass again
* [GIMarshalingTests] Add underscores to more variable namesdyfet@gnutelephony.org2010-07-203-45/+45
| | | | | | These may conflict. https://bugzilla.gnome.org/show_bug.cgi?id=624191
* Add annotation for g_dbus_proxy_new_syncTomeu Vizoso2010-07-151-0/+8
|
* Add annotations for g_variant_new_strv() and g_variant_get_strv()Tomeu Vizoso2010-07-151-0/+11
|
* Don't include machine-dependent integral types in the typelibColin Walters2010-07-092-22/+37
| | | | | | | | | | | | | | | | | | | | Previously we had both e.g. GI_TYPE_TAG_LONG and GI_TYPE_TAG_INT64, but in fact the typelib is already machine-specific, so it makes sense to just encode this as a fixed type. The .gir remains abstract. We also remove size_t from the typelib; one would never want to treat it differently than an integer. time_t is removed as well; while bindings like gjs had special handling to turn it into e.g. a JS Date object, I don't think we should encourage people to use these POSIX types in their API. Use GTimeVal or the like instead. Because the typelib is now really machine-specific, we need to remove the -expected.tgirs from git. (We could potentially add a check which wasn't just a literal diff later) https://bugzilla.gnome.org/show_bug.cgi?id=623774
* Fix up tests for last commitColin Walters2010-07-091-0/+12
|
* Add support for non-GObject fundamental objectsJohan Dahlin2010-07-093-0/+449
| | | | | | | | | | | | | | This patch adds support for instantiable fundamental object types, which are not GObject based. This is mostly interesting for being able to support GstMiniObject's which are extensivly used in GStreamer. Includes a big test case to the Everything module (inspired by GstMiniObject) which should be used by language bindings who wishes to test this functionallity. This patch increases the size of the typelib and breaks compatibility with older typelibs. https://bugzilla.gnome.org/show_bug.cgi?id=568913
* Move doc to toplevel element, write <any> for unknown containersColin Walters2010-07-082-110/+116
| | | | | | | | | Moving to <doc> allows us to better preserve whitespace. XML has no facility for whitespace-preserving attributes. Second, for arrays and lists, both types with unknown element_type can occur in the current scanner; it's least wrong if we write out an <any> type.
* [cairo-1.0] Add cairo_rectangle_int_tColin Walters2010-06-291-0/+1
|
* [cairo-1.0.gir] Add cairo_region_tColin Walters2010-06-291-0/+1
|
* Fix annotations for g_get_system_*Colin Walters2010-06-251-2/+2
|
* Clean up annotation parsing, don't try to parse invalid annotationsColin Walters2010-06-254-88/+103
| | | | | | | | | | | | | | | 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
* Fix make check broken by DanielleJohan Dahlin2010-06-221-0/+10
|
* [GIMarshallingTest] Add GByteArray test APIJohan Dahlin2010-06-223-0/+60
|
* Merge branch 'gvalue-tests'Danielle Madeley2010-06-222-0/+26
|\
| * Add tests to Everything for items stored in GValuesDanielle Madeley2010-06-222-0/+26
| |
* | 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