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 744950 - When a namespace doesn't contain any public items, it should be hidden
When a namespace doesn't contain any public items, it should be hidden
Status: RESOLVED OBSOLETE
Product: valadoc
Classification: Other
Component: doclet/html
git master
Other Linux
: Normal normal
: ---
Assigned To: valadoc-maint
valadoc-maint
Depends on:
Blocks:
 
 
Reported: 2015-02-22 13:26 UTC by Carl
Modified: 2021-06-10 20:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Carl 2015-02-22 13:26:02 UTC
I have a namespace defined as the following: 

namespace Build {

    internal const string DATA_DIR = "";
    internal const string PACKAGE_DATA_DIR = "";
    internal const string GETTEXT_PACKAGE = "vala-stacktrace";

    internal const string VERSION = "0.9";
    internal const string RELEASE_NAME = "";
    internal const string TITLE = "Vala stacktrace display";
    internal const string BINARY_NAME = "vala-stacktrace";

    // Values: Release or Debug
    internal const string BUILD = "Release";

    internal const string SOVERSION = "";
    internal const string LINKING = "shared";

    internal bool is_debug () {
        return BUILD == "Debug" ;
    }

    internal string to_string () {
        var result = new StringBuilder () ;
        result.append (" - DATA_DIR         : %s\n".printf(DATA_DIR)) ;
        result.append (" - PACKAGE_DATA_DIR : %s\n".printf(PACKAGE_DATA_DIR)) ;
        result.append (" - GETTEXT_PACKAGE : %s\n".printf(GETTEXT_PACKAGE)) ;
        result.append (" - TITLE           : %s\n".printf(TITLE)) ;
        result.append (" - VERSION         : %s\n".printf(VERSION)) ;
        result.append (" - BINARY_NAME     : %s\n".printf(BINARY_NAME)) ;
        result.append (" - BUILD           : %s\n".printf(BUILD)) ;
        result.append (" - RELEASE_NAME     : %s\n".printf(RELEASE_NAME)) ;
        result.append (" - SOVERSION       : %s\n".printf(SOVERSION)) ;
        result.append (" - LINKING         : %s\n".printf(LINKING)) ;
        return result.str ;
    }

}

And while valadoc doesn't display any of those functions, it still displays an empty Build namespace.
Comment 1 André Klapper 2021-06-10 20:55:53 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of valadoc, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/valadoc/-/issues/

Thank you for your understanding and your help.