Gtkmm-forge Digest, Vol 26, Issue 9



Send Gtkmm-forge mailing list submissions to
	gtkmm-forge lists sourceforge net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
	gtkmm-forge-request lists sourceforge net

You can reach the person managing the list at
	gtkmm-forge-owner lists sourceforge net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."


gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.  A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Do not try to unsubscribe gtkmm-forge from gtkmm-list.


Today's Topics:

   1. [Bug 544694] New: Enums are not documented
      (glibmm (bugzilla.gnome.org))
   2. [Bug 529496] Gio::Error::HOST_NOT_FOUND clashes	with a
      netdb.h #define (glibmm (bugzilla.gnome.org))
   3. [Bug 544694] Enums are not documented
      (glibmm (bugzilla.gnome.org))
   4. [Bug 506415] Compose with more than 9 parameters
      (glibmm (bugzilla.gnome.org))
   5. [Bug 520778] [PATCH] GNode wrapper implementation
      (glibmm (bugzilla.gnome.org))
   6. [Bug 541598] using old style casts in public	headers
      (gtkmm (bugzilla.gnome.org))
   7. [Bug 541296] Failing to remove a tooltip with	GTKMM-2.12
      (gtkmm (bugzilla.gnome.org))
   8. [Bug 544848] New: spurious ';	' characters in class scope
      (gtkmm (bugzilla.gnome.org))


----------------------------------------------------------------------

Message: 1
Date: Fri, 25 Jul 2008 13:54:52 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 544694] New: Enums are not documented
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-544694-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=544694

  glibmm | documentation | Ver: unspecified
           Summary: Enums are not documented
           Product: glibmm
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: documentation
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: murrayc murrayc com
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


gmmproc does not document the enums that it generates with _WRAP_ENUM(). GTK+,
for instance, generally provides documentation in the .sgml files.

For instance, the GtkFileChooserAction enum has documentation:
http://library.gnome.org/devel/gtk/unstable/GtkFileChooser.html#GtkFileChooserAction

But our Gtk::FileChooserAction enum does not:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/group__gtkmmEnums.html#g0d6076e7637ec501f26296e65fee2212

pygobject/codegen/docextract_to_xml.py doesn't seem to put that documentation
into our gtk_docs.xml file.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=544694.



------------------------------

Message: 2
Date: Fri, 25 Jul 2008 14:00:13 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 529496] Gio::Error::HOST_NOT_FOUND
	clashes	with a netdb.h #define
To: gtkmm-forge lists sourceforge net
Message-ID: <20080725140013 2FFB823F544 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=529496

  glibmm | io | Ver: 2.16.x

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |544694




------- Comment #4 from Murray Cumming  2008-07-25 14:00 UTC -------
I added HOST_WAS_NOT_FOUND in glibmm svn trunk (will be glibmm 2.18):

2008-07-25  Murray Cumming  <murrayc murrayc com>

        * gio/src/gio_enums.defs: Hacked in a replacement 
        enum for Gio::Error::HOST_NOT_FOUND as 
        Gio::Error::HOST_WAS_NOT_FOUND, to avoid a clash with 
        a netdb.h define.
        Bug #529496.
        * configure.in:
        * tests/Makefile.am:
        * tests/giomm_ioerror/Makefile.am:
        * tests/giomm_ioerror/main.cc: Added a test to make sure 
        that our hacked-in enum value stays hacked in.

However, I have not yet deprecated HOST_NOT_FOUND, because we currently don't
document these enums at all. Which is bad: See bug 544694.

I don't think we can just remove HOST_NOT_FOUND before deprecating it for at
least one version.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=529496.



------------------------------

Message: 3
Date: Fri, 25 Jul 2008 14:00:21 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 544694] Enums are not documented
To: gtkmm-forge lists sourceforge net
Message-ID: <20080725140021 619BF23F544 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=544694

  glibmm | documentation | Ver: unspecified

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |529496
              nThis|                            |




-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=544694.



------------------------------

Message: 4
Date: Fri, 25 Jul 2008 14:10:26 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 506415] Compose with more than 9
	parameters
To: gtkmm-forge lists sourceforge net
Message-ID: <20080725141026 A7BEA23F544 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=506415

  glibmm | strings | Ver: 2.15.x




------- Comment #2 from Murray Cumming  2008-07-25 14:10 UTC -------
Do you have a real-world need for 9 parameters?


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=506415.



------------------------------

Message: 5
Date: Fri, 25 Jul 2008 21:41:07 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 520778] [PATCH] GNode wrapper
	implementation
To: gtkmm-forge lists sourceforge net
Message-ID: <20080725214107 83DED23F545 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=520778

  glibmm | general | Ver: 2.15.x




------- Comment #22 from Jonathon Jongsma (jonner)  2008-07-25 21:41 UTC -------
OK, I finally got some time to look at this API.

I think I agree with Szilard that it would be nice to pass a reference to the
node to the traversal functions.  It doesn't make these functions much more
cumbersome and it allows you to do things that you couldn't do otherwise (and
it seems to match the C API better as well).

The changes proposed also address my main concerns about the initial patch,
which is that it exposes too much internal stuff (e.g. the NodeMap typedef) and
keeps too much extra stuff in the wrapper class instead of relying on the data
from the underlying C object (e.g. the C++ wrapper class had a children_ member
that kept track of the node's children separately from the C object that it is
wrapping).  

Regarding the name of the class, I agree that Glib::Tree is a bit problematic
considering that there is a totally separate GTree type in Glib.   I'm also not
a big fan of the name GNode/Glib::Node, but perhaps it would be best to use it
anyway just to stay as compatible with glib as possible...  Maybe NodeTree is
OK, I'm not sure.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=520778.



------------------------------

Message: 6
Date: Sat, 26 Jul 2008 12:55:04 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 541598] using old style casts in public
	headers
To: gtkmm-forge lists sourceforge net
Message-ID: <20080726125504 6C40D23F52F label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=541598

  gtkmm | general | Ver: unspecified

Jonathon Jongsma (jonner) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathon quotidian org




------- Comment #3 from Jonathon Jongsma (jonner)  2008-07-26 12:55 UTC -------
unfortunately, I don't believe it will be simple to completely get rid of these
errors.  for example, the first warning shown refers to the following line in
unicode.h:

inline bool isalnum(char c)
  { return g_ascii_isalnum(c); }

g_ascii_isalnum() is a macro defined in glib/gstrfuncs.h as:

#define g_ascii_isalnum(c) \
  ((g_ascii_table[(guchar) (c)] & G_ASCII_ALNUM) != 0)

So the cast is happening in the glib C code.  The only way to get rid of this
cast in glibmm headers is to move the definition of isalnum() to the source
file (i.e. make it non-inlined).  But this doesn't seem like a good idea from a
performance point of view.  There are other macros such as g_list_next() which
contain embedded old-style casts that we use in other headers.

So if we can't competely get rid of these warnings, I don't think it really
makes sense to spend a lot of time looking for all of them.  However, if you
would like to submit a patch to clean up the ones we have control over, we'd be
willing to apply it.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=541598.



------------------------------

Message: 7
Date: Sat, 26 Jul 2008 14:19:54 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 541296] Failing to remove a tooltip
	with	GTKMM-2.12
To: gtkmm-forge lists sourceforge net
Message-ID: <20080726141954 5E62323F522 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=541296

  gtkmm | general | Ver: 2.12.x

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW




------- Comment #9 from Murray Cumming  2008-07-26 14:19 UTC -------
What would be unclear about set*("") or set*(Glib::ustring())?

It seems like we'd have to add a lot of unset*() methods here.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=541296.



------------------------------

Message: 8
Date: Sat, 26 Jul 2008 15:09:34 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 544848] New: spurious ';	' characters
	in class scope
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-544848-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=544848

  gtkmm | general | Ver: unspecified
           Summary: spurious ';' characters in class scope
           Product: gtkmm
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: general
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: ben 0x539 de
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


In gtk/src/calendar.h, there are a few extra semicolons that prevent
compilation with g++'s -pedantic.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=544848.



------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

------------------------------

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest, Vol 26, Issue 9
******************************************


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]