After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 622609 - [WIP] scanner rewrite
[WIP] scanner rewrite
Status: RESOLVED DUPLICATE of bug 628128
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2010-06-24 14:34 UTC by Colin Walters
Modified: 2015-02-07 16:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
scanner rewrite (162.97 KB, patch)
2010-06-24 14:34 UTC, Colin Walters
none Details | Review

Description Colin Walters 2010-06-24 14:34:52 UTC
Created attachment 164511 [details] [review]
scanner rewrite

This is a work in progress I've been doing in my spare time; it's coming along but  I'm just stashing here so it's not lost if my laptop blows up.  (And so people know the scanner is being rewritten, so please don't make big patches for it)
Comment 1 Owen Taylor 2010-07-05 21:05:00 UTC
[ Adding a note here to refer to in a code comment ]

We're seeing a problem that this rewrite will solve - in transformer.py aliases are stored without a namespace:

            if isinstance(node, Alias):
		self._names.aliases[node.name] = (nsname, node)

This means that an alias like:

 typedef GdkRectangle cairo_rect_int_t

is taken to apply to *all* Rectangles, not just GdkRectangle.

Fixing this is harder than it looks - we can't just use giname rather node.nam e- because every place that we look up an alias doesn't have the full namespaced name.
Comment 2 Colin Walters 2010-08-27 14:52:55 UTC

*** This bug has been marked as a duplicate of bug 628128 ***
Comment 3 André Klapper 2015-02-07 16:48:14 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]