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 669550 - Warn when exporting classes from the global namespace in GIR
Warn when exporting classes from the global namespace in GIR
Status: RESOLVED OBSOLETE
Product: vala
Classification: Core
Component: GObject Introspection
unspecified
Other All
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2012-02-07 10:26 UTC by jessevdk@gmail.com
Modified: 2018-05-22 14:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Warn when exporting classes from the global namespace in GIR (880 bytes, patch)
2012-02-07 10:26 UTC, jessevdk@gmail.com
none Details | Review
Warn when exporting classes from the global namespace in GIR (1.21 KB, patch)
2012-02-08 08:34 UTC, jessevdk@gmail.com
none Details | Review

Description jessevdk@gmail.com 2012-02-07 10:26:19 UTC
Adds a warning when trying to export classes from the global namespace
when writing a GIR
Comment 1 jessevdk@gmail.com 2012-02-07 10:26:20 UTC
Created attachment 206964 [details] [review]
Warn when exporting classes from the global namespace in GIR
Comment 2 Luca Bruno 2012-02-07 10:47:50 UTC
Review of attachment 206964 [details] [review]:

Thanks for the patch. Anyway, this warning is unfixable if one really wants to not export that class. What's the problem with silently bailing out?
Comment 3 jessevdk@gmail.com 2012-02-08 08:29:38 UTC
Well, I'm trying to use GIR and I find it quite hard to find problems if vala is not complaining about some features that I didn't realize were not supported in GIR. So I think it's nice if users get more information on what could or could not be exported correctly in the GIR file.
Comment 4 jessevdk@gmail.com 2012-02-08 08:34:01 UTC
Created attachment 207064 [details] [review]
Warn when exporting classes from the global namespace in GIR
Comment 5 jessevdk@gmail.com 2012-02-08 08:34:52 UTC
Sorry, that patch is not actually updated, my mistake.
Comment 6 Jürg Billeter 2012-06-24 15:43:34 UTC
(In reply to comment #2)
> Thanks for the patch. Anyway, this warning is unfixable if one really wants to
> not export that class. What's the problem with silently bailing out?

It may make sense to support something like [GIR (skip = true)].
Comment 7 GNOME Infrastructure Team 2018-05-22 14:21:17 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vala/issues/280.