Gtkmm-forge Digest, Vol 26, Issue 11



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 544848] spurious ';	' characters in class scope
      (gtkmm (bugzilla.gnome.org))
   2. [Bug 545050] GTraverseFlags wrapping is wrong
      (glibmm (bugzilla.gnome.org))
   3. [Bug 545050] GTraverseFlags wrapping is wrong
      (glibmm (bugzilla.gnome.org))
   4. [Bug 520778] [PATCH] GNode wrapper implementation
      (glibmm (bugzilla.gnome.org))
   5. [Bug 545050] GTraverseFlags wrapping is wrong
      (glibmm (bugzilla.gnome.org))
   6. [Bug 506415] Compose with more than 9 parameters
      (glibmm (bugzilla.gnome.org))
   7. [Bug 520778] [PATCH] GNode wrapper implementation
      (glibmm (bugzilla.gnome.org))
   8. [Bug 545050] GTraverseFlags wrapping is wrong
      (glibmm (bugzilla.gnome.org))


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

Message: 1
Date: Mon, 28 Jul 2008 16:17:27 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 544848] spurious ';	' characters in
	class scope
To: gtkmm-forge lists sourceforge net
Message-ID: <20080728161727 A818623F4FA 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=544848

  gtkmm | general | Ver: unspecified

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |murrayc murrayc com
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




------- Comment #2 from Murray Cumming  2008-07-28 16:17 UTC -------
Thanks. Applied.


-- 
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.



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

Message: 2
Date: Mon, 28 Jul 2008 16:19:40 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 545050] GTraverseFlags wrapping is
	wrong
To: gtkmm-forge lists sourceforge net
Message-ID: <20080728161940 2E3C323EF8D 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=545050

  glibmm | general | Ver: 2.17.x

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Group|                            |hackers
                 CC|                            |murrayc murrayc com




------- Comment #2 from Murray Cumming  2008-07-28 16:19 UTC -------
Eek. Where is this enum used?


-- 
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=545050.



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

Message: 3
Date: Mon, 28 Jul 2008 16:19:51 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 545050] GTraverseFlags wrapping is
	wrong
To: gtkmm-forge lists sourceforge net
Message-ID: <20080728161951 3907A23F501 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=545050

  glibmm | general | Ver: 2.17.x

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Group|hackers                     |




-- 
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=545050.



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

Message: 4
Date: Mon, 28 Jul 2008 18:12:34 +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: <20080728181234 7A04523F501 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 #28 from Szil?rd Pfeiffer  2008-07-28 18:12 UTC -------
(In reply to comment #24)
> Thanks. Could you explain the removal of the gobject_, owns_gobject_, children_
> and parent_ member variables and the subsequent simplification of the code. Why
> were they necessary before? Why are they not necessary now?
> 
> In general, please provide a ChangeLog entry with patches. It should explain
> what is being changed and why.
> 

gobject_:
The member haven't been removed, but it is protected now (should be private,
because it's the class own business). It stores the C version (GNode *) of the
object as did it before my patch.

gobject_->data:
Stores this pointer of the C++ object. It makes possible to acquire the C++
version of the object from a C callback.

children_:
Stored the child nodes of the object. Obsoleted by the idea that the data
pointer of the C version stores a pointer to the C++ version, so the GNode *
pointers which are returned by the wrapped functions can be "converted" to the
C++ version without any map.

parent_:
Stored a pointer to the parent. It is unnecessary now, because the parent of an
object can be acquired via the parent pointer of the C version, just like in
case of children.

owns_gobject_:
Stored whether the node is in a tree. In my humble opinion it is unnecessary at
all in case of a wrapper.

subsequent changes:
Result of the changes which have been mentioned above.


-- 
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: 5
Date: Mon, 28 Jul 2008 18:33:56 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 545050] GTraverseFlags wrapping is
	wrong
To: gtkmm-forge lists sourceforge net
Message-ID: <20080728183356 9C92423F4FA 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=545050

  glibmm | general | Ver: 2.17.x




------- Comment #3 from Szil?rd Pfeiffer  2008-07-28 18:33 UTC -------
(In reply to comment #2)
> Eek. Where is this enum used?
> 

Nowhere. I found this problem when I was testing my patch (bug 520778 comment
23).


-- 
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=545050.



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

Message: 6
Date: Mon, 28 Jul 2008 18:43:14 +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: <20080728184314 6869F23F4F7 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 #3 from Szil?rd Pfeiffer  2008-07-28 18:43 UTC -------
(In reply to comment #2)
> Do you have a real-world need for 9 parameters?
> 

Yes, I have. It is a complex log message. I can understand that you don't want
to support this kind usage, but I looked it good to create this patch.  


-- 
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: 7
Date: Tue, 29 Jul 2008 09:03:40 +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: <20080729090340 B30C923F505 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 #29 from Murray Cumming  2008-07-29 09:03 UTC -------
Thanks. I committed the patch, with this ChangeLog entry:

2008-07-29  Szil?rd Pfeiffer  <szilard pfeiffer gmail com>

        * glib/src/tree.hg: Make the callbacks take a Tree<> instead of just 
        the data, so they can use methods on the tree (which can be a node 
        in the tree).
        gobject_: Make this protected.
        Provide the this pointer as data to g_node_new() so we can retrieve 
        it later.
        Removed children_ and parent_ because we don't need a separate store
now that 
        we can get the C++ instance from the gobject instance.
        owns_gobject_: Removed because it is was always true, so the gobject
was 
        always destroyed (and still is).
        * tests/glibmm_tree/main.cc: Updated for the changed API.
        Bug #520778.

Please remember to patch the ChangeLog in future.


-- 
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: 8
Date: Tue, 29 Jul 2008 10:46:22 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 545050] GTraverseFlags wrapping is
	wrong
To: gtkmm-forge lists sourceforge net
Message-ID: <20080729104622 95D2D23F517 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=545050

  glibmm | general | Ver: 2.17.x

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




------- Comment #4 from Murray Cumming  2008-07-29 10:46 UTC -------
Thanks.

Because this is not used anywhere else, we can just hand-code this enum in the
class anyway, giving us the chance to do it correctly, and allowing us to omit
the deprecated LEAFS mispellings.

I have done that in svn.


-- 
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=545050.



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

-------------------------------------------------------------------------
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 11
*******************************************


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