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 694728 - Put deprecation fields into typelibs
Put deprecation fields into typelibs
Status: RESOLVED OBSOLETE
Product: gobject-introspection
Classification: Platform
Component: g-ir-compiler
2.35.x
Other Linux
: Normal minor
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks: 665084
 
 
Reported: 2013-02-26 08:48 UTC by Martin Pitt
Modified: 2018-02-08 12:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Martin Pitt 2013-02-26 08:48:11 UTC
GIRs have information about deprecated symbols, for example GLib-2.0:

    <record name="Date"
    [...]
      <method name="set_time"
              c:identifier="g_date_set_time"
              deprecated="Use g_date_set_time_t() instead."
              deprecated-version="2.10">

But g-ir-compiler does not put the deprecated and deprecated-version fields into typelibs. With that an introspection client can just ask  g_base_info_is_deprecated(), but cannot write any additional helpful information into generated warnings.
Comment 1 André Klapper 2015-02-07 17:21:35 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]
Comment 2 Emmanuele Bassi (:ebassi) 2018-01-25 16:33:29 UTC
Updating the typelib at this point is kind of hard without breaking ABI.
Comment 3 GNOME Infrastructure Team 2018-02-08 12:20:25 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/gobject-introspection/issues/80.