summaryrefslogtreecommitdiff
path: root/gir/xlib-2.0.gir
Commit message (Collapse)AuthorAgeFilesLines
* Revert "xlib: fix the type of XID"Giovanni Campagna2011-08-261-14/+18
| | | | | | | This reverts commit 3553cd0a4631f1b57fb608e3f3f78a1a0cfd602a. Turns out it was wrong, XID is 64 bit on a 64 bit system. Plus the scanner doesn't like multiple level typedefs.
* xlib: fix the type of XIDGiovanni Campagna2011-08-261-18/+14
| | | | | | | | XIDs are CARD32, which corresponds to guint32 on all platform, not gulong (which is 64 bit on x86_64). Fix that, and use alias indirection to more accurately reflect the typedefs. https://bugzilla.gnome.org/show_bug.cgi?id=643620
* Fix declarations in xlib-2.0.girPavel Holejsovsky2011-07-291-14/+40
| | | | | | | FIx declarations of the subset of XLib types in xlib-2.0.gir so that they match reality from X11 headers. https://bugzilla.gnome.org/show_bug.cgi?id=655486
* gir: Add Time to xlibs-2.0Emmanuele Bassi2010-12-091-0/+1
|
* scanner: Better handling of empty namespace prefix for XColin Walters2010-08-311-1/+3
| | | | | Add namespacing prefixes to the static .gir files. Support the empty prefix, as is needed for xlib.
* Major rewriteColin Walters2010-08-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add a stub entry for XLib VisualMatthias Clasen2010-08-161-0/+1
|
* Add Colormap stubMatthias Clasen2010-08-161-0/+1
|
* Update versionsColin Walters2010-06-171-1/+1
|
* Add Cursor record to xlib-2.0.girTomeu Vizoso2010-06-011-0/+1
|
* Revert "Window isn't a record, but really a typedef for uint32"Owen W. Taylor2009-07-091-2/+1
| | | | | | | | | | | | | Exporting Windoew as a uint32 is revealing some problems in namespace handling - functions that are supposed to return a GdkWindow * are returning a x11.Window instead. Until that is fixed, we need to avoid making this change. (Also, Window isn't a uint32, it is an unsigned long) This reverts commit 9ce2b05198653697896c3f7c9271073789f90c51. http://bugzilla.gnome.org/show_bug.cgi?id=588147
* Window isn't a record, but really a typedef for uint32Colin Walters2009-07-081-1/+2
| | | | | Since it's used in the API as just "Window foo();", bindings will fail trying to take a by-value struct.
* Add XTrapezoid to xlib-2.0.girColin Walters2009-03-031-0/+1
| | | | This is necessary for PangoXft.
* Add KeySym and KeyCode to xlib-2.0.gir.Owen Taylor2009-02-061-0/+2
| | | | | | | gir/xlib-2.0.gir: Add dummy definitions for KeySym and KeyCode to the dummy xlib-2.0.gir. svn path=/trunk/; revision=1091
* Remove shared-library tags for these too.Johan Dahlin2009-01-281-1/+1
| | | | | | | | | | | | | | | | 2009-01-27 Johan Dahlin <jdahlin@async.com.br> * gir/cairo-1.0.gir: * gir/fontconfig-2.0.gir: * gir/freetype2-2.0.gir: * gir/libxml2-2.0.gir: * gir/xfixes-4.0.gir: * gir/xft-2.0.gir: * gir/xlib-2.0.gir: Remove shared-library tags for these too. svn path=/trunk/; revision=1073
* Move over the hand-written girs from gir-repository so upstream librariesJohan Dahlin2009-01-151-0/+32
2009-01-15 Johan Dahlin <jdahlin@async.com.br> * gir/GL-1.0.gir: * gir/Makefile.am: * gir/cairo-1.0.gir: * gir/fontconfig-2.0.gir: * gir/freetype2-2.0.gir: * gir/libxml2-2.0.gir: * gir/xfixes-4.0.gir: * gir/xft-2.0.gir: * gir/xlib-2.0.gir: Move over the hand-written girs from gir-repository so upstream libraries depending on these can avoid a gir-repository dependency. svn path=/trunk/; revision=1047