Gtkmm-forge Digest, Vol 10, Issue 4
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Subject: Gtkmm-forge Digest, Vol 10, Issue 4
- Date: Thu, 15 Mar 2007 13:21:52 -0700
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 417116] Inconsistent Gnome::Gda::Value semantics
(gnomemm (bugzilla.gnome.org))
2. [Bug 418155] Visual Studio Express 2005: ntstatus 0xc0150002
(gtkmm (bugzilla.gnome.org))
3. [Bug 418155] Visual Studio Express 2005: ntstatus 0xc0150002
(gtkmm (bugzilla.gnome.org))
4. [Bug 418571] New: Avoid dynamic_cast in vfunc invocations for
non-derived classes (glibmm (bugzilla.gnome.org))
5. [Bug 418571] Avoid dynamic_cast in vfunc invocations for
non-derived classes (glibmm (bugzilla.gnome.org))
6. [Bug 418571] Avoid dynamic_cast in vfunc invocations for
non-derived classes (glibmm (bugzilla.gnome.org))
7. [Bug 418571] Avoid dynamic_cast in vfunc invocations for
non-derived classes (glibmm (bugzilla.gnome.org))
8. [Bug 418571] Avoid dynamic_cast in vfunc invocations for
non-derived classes (glibmm (bugzilla.gnome.org))
9. [Bug 418571] Avoid dynamic_cast in vfunc invocations for
non-derived classes (glibmm (bugzilla.gnome.org))
----------------------------------------------------------------------
Message: 1
Date: Wed, 14 Mar 2007 10:01:48 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 417116] Inconsistent Gnome::Gda::Value
semantics
To: gtkmm-forge lists sourceforge net
Message-ID: <20070314100148 6359B6C41F1 box gnome org>
Content-Type: text/plain; charset=utf-8
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=417116
gnomemm | libgdamm | Ver: unspecified
Murray Cumming changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |murrayc murrayc com
------- Comment #1 from Murray Cumming 2007-03-14 09:59 UTC -------
Yes, let's do what gda_value_set* does. Maybe we can check the type before
changing it, to maybe be more efficient.
I wonder if C coders are meant to use the g_value_set_*() functions as well as
the gda_value_set*() functions. This would then be confusing for them. But that
would be a libgda bug.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 2
Date: Wed, 14 Mar 2007 15:15:43 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 418155] Visual Studio Express 2005:
ntstatus 0xc0150002
To: gtkmm-forge lists sourceforge net
Message-ID: <20070314151543 3C3636C4193 box gnome org>
Content-Type: text/plain; charset=utf-8
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=418155
gtkmm | build | Ver: 2.10.x
------- Comment #2 from Cedric Gustin 2007-03-14 15:13 UTC -------
Quick comment for Justinas: Could you please try again after installing Service
Pack 1 for Visual C++ Express 2005 ?
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 3
Date: Thu, 15 Mar 2007 06:42:23 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 418155] Visual Studio Express 2005:
ntstatus 0xc0150002
To: gtkmm-forge lists sourceforge net
Message-ID: <20070315064223 82E1C6C4184 box gnome org>
Content-Type: text/plain; charset=utf-8
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=418155
gtkmm | documentation | Ver: 2.10.x
Justinas V.D. changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |enhancement
Status|UNCONFIRMED |RESOLVED
Component|build |documentation
Resolution| |NOTABUG
------- Comment #3 from Justinas V.D. 2007-03-15 06:40 UTC -------
Service Pack 1 for Visual C++ Express 2005 fixes the aforementioned problem. I
think it's prudent to mention this nuance explicitly*, before one proceeds to
download and use the instalation package.
Thank you, Cedric.
--
* IMO, it ought to be mentioned there:
http://www.pcpm.ucl.ac.be/~gustin/win32_ports/
because it seems that I was not the only one with such a problem
(http://www.nabble.com/Problem-with-gtkmm-2.10-win32-t3337830.html).
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 4
Date: Thu, 15 Mar 2007 13:46:25 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 418571] New: Avoid dynamic_cast in
vfunc invocations for non-derived classes
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-418571-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=418571
glibmm | build | Ver: unspecified
Summary: Avoid dynamic_cast in vfunc invocations for non-derived
classes
Product: glibmm
Version: unspecified
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: build
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: armin arbur net
QAContact: gtkmm-forge lists sourceforge net
CC: murrayc murrayc com
GNOME version: Unspecified
GNOME milestone: Unspecified
The attached patch uses static_cast in vfuncs and signal handlers to cast the
wrapper object to ObjectBase*. This is enough to check whether the object is
from a derived type or not. A slow dynamic_cast has only to be performed if it
is derived, and the C++ vfunc needs to be called.
This requires ObjectBase::is_derived_ to be public, because it is called on a
ObjectBase* rather than the actual type. It also seems to break ABI.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 5
Date: Thu, 15 Mar 2007 13:47:27 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 418571] Avoid dynamic_cast in vfunc
invocations for non-derived classes
To: gtkmm-forge lists sourceforge net
Message-ID: <20070315134727 327336C417D box gnome org>
Content-Type: text/plain; charset=utf-8
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=418571
glibmm | build | Ver: unspecified
------- Comment #1 from Armin Burgmeier 2007-03-15 13:45 UTC -------
Created an attachment (id=84649)
--> (http://bugzilla.gnome.org/attachment.cgi?id=84649&action=view)
static_cast to ObjectBase to check whether the object is derived
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 6
Date: Thu, 15 Mar 2007 13:49:43 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 418571] Avoid dynamic_cast in vfunc
invocations for non-derived classes
To: gtkmm-forge lists sourceforge net
Message-ID: <20070315134943 A452E6C417D box gnome org>
Content-Type: text/plain; charset=utf-8
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=418571
glibmm | build | Ver: unspecified
------- Comment #2 from Murray Cumming 2007-03-15 13:47 UTC -------
Good catch. This seems very sensible. I'll test it locally.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 7
Date: Thu, 15 Mar 2007 14:01:36 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 418571] Avoid dynamic_cast in vfunc
invocations for non-derived classes
To: gtkmm-forge lists sourceforge net
Message-ID: <20070315140136 EB39D6C4194 box gnome org>
Content-Type: text/plain; charset=utf-8
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=418571
glibmm | build | Ver: unspecified
Murray Cumming changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel kitta gmail com
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 8
Date: Thu, 15 Mar 2007 17:36:53 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 418571] Avoid dynamic_cast in vfunc
invocations for non-derived classes
To: gtkmm-forge lists sourceforge net
Message-ID: <20070315173653 DC6726C41C8 box gnome org>
Content-Type: text/plain; charset=utf-8
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=418571
glibmm | build | Ver: unspecified
------- Comment #3 from Murray Cumming 2007-03-15 17:34 UTC -------
This does not seem to break ABI for me.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 9
Date: Thu, 15 Mar 2007 20:23:40 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 418571] Avoid dynamic_cast in vfunc
invocations for non-derived classes
To: gtkmm-forge lists sourceforge net
Message-ID: <20070315202340 54F766C41A1 box gnome org>
Content-Type: text/plain; charset=utf-8
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=418571
glibmm | build | Ver: unspecified
------- Comment #4 from Armin Burgmeier 2007-03-15 20:21 UTC -------
I tested this again, and it also seems to work for me now. I don't know what
caused the problem then. Sorry for the inconvenience.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
------------------------------
_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
End of Gtkmm-forge Digest, Vol 10, Issue 4
******************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]