Gtkmm-forge Digest, Vol 9, Issue 8
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Subject: Gtkmm-forge Digest, Vol 9, Issue 8
- Date: Sat, 17 Feb 2007 15:54:26 -0800
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 351810] C++ bindings for GtkBinding*
(gtkmm (bugzilla.gnome.org))
2. [Bug 407711] Attempts to register same type multiple times.
(glibmm (bugzilla.gnome.org))
3. [Bug 407711] Attempts to register same type multiple times.
(glibmm (bugzilla.gnome.org))
4. [Bug 406960] TypeTraits<bool> utterly broken
(glibmm (bugzilla.gnome.org))
5. [Bug 406960] TypeTraits<bool> utterly broken
(glibmm (bugzilla.gnome.org))
6. [Bug 409102] New: New Appendix for Visual Stuido 2005
(gtkmm (bugzilla.gnome.org))
7. [Bug 409102] New Appendix for Visual Stuido 2005
(gtkmm (bugzilla.gnome.org))
8. [Bug 409102] New Appendix for Visual Stuido 2005
(gtkmm (bugzilla.gnome.org))
----------------------------------------------------------------------
Message: 1
Date: Fri, 16 Feb 2007 23:27:32 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 351810] C++ bindings for GtkBinding*
To: gtkmm-forge lists sourceforge net
Message-ID: <20070216232732 5F3E86C421F 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=351810
gtkmm | general | Ver: unspecified
------- Comment #12 from Paul Pogonyshev 2007-02-16 23:25 UTC -------
I also took the latest version of the files from my program. No idea if they
differ from what I posted before.
A nice idea that would make usage simpler is to implement something like
C-level function gtk_binding_set_by_class (). So, user-derived classes
wouldn't have to define specific on_key_press/on_key_release handlers, but just
add bindings to result of Gtk::BindingSet <...>::by_class(). Then all Gtkmm
classes would call by_class() itself in default handlers and if it returns an
existing object, would call activate_event() on it. I'm not sure if that is
difficult to implement, but since it requires changing existing Gtkmm code, I
don't volunteer.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 2
Date: Sat, 17 Feb 2007 19:50:02 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 407711] Attempts to register same type
multiple times.
To: gtkmm-forge lists sourceforge net
Message-ID: <20070217195002 12E946C423F 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=407711
glibmm | general | Ver: 2.8.x
Daniel Elstner changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |409043
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 3
Date: Sat, 17 Feb 2007 20:12:41 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 407711] Attempts to register same type
multiple times.
To: gtkmm-forge lists sourceforge net
Message-ID: <20070217201241 492156C424B 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=407711
glibmm | general | Ver: 2.8.x
------- Comment #11 from Daniel Elstner 2007-02-17 20:10 UTC -------
Created an attachment (id=82750)
--> (http://bugzilla.gnome.org/attachment.cgi?id=82750&action=view)
Make Glib::Value<> register custom types dynamically
I had a go at this and changed the Glib::Value<> implementation to register
custom types dynamically, using a custom GTypeModule. Unfortunately, I hit a
bug in GLib (#409043) which prevents this from working. The non-working patch
is attached for reference.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 4
Date: Sat, 17 Feb 2007 22:41:14 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 406960] TypeTraits<bool> utterly broken
To: gtkmm-forge lists sourceforge net
Message-ID: <20070217224114 7099C6C41D6 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=406960
glibmm | general | Ver: 2.13.x
Daniel Elstner changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|gtkmm- |daniel kitta gmail com
|forge lists sourceforge net |
Status|NEW |ASSIGNED
------- Comment #2 from Daniel Elstner 2007-02-17 22:39 UTC -------
Created an attachment (id=82761)
--> (http://bugzilla.gnome.org/attachment.cgi?id=82761&action=view)
The fix plus some cleanup
Here's the patch. It turns out that a TypeTraits<bool> specialization is in
fact necessary, though of course it has to look quite different:
template <>
struct TypeTraits<bool>
{
typedef bool CppType;
typedef gboolean CType;
typedef gboolean CTypeNonConst;
static CType to_c_type (CppType item) { return
static_cast<CType>(item); }
static CType to_c_type (CType item) { return item; }
static CppType to_cpp_type (CType item) { return (item != 0); }
static void release_c_type (CType) {}
};
Essentially a bunch of no-ops, and no pointers appearing out of nowhere
anymore. The patch also includes some moderate cleanup of keyfile.ccg.
Unfortunately, I noticed another API bug:
void set_boolean_list(const Glib::ustring& group_name,
const Glib::ustring& key,
Glib::ArrayHandle<bool>& list);
void set_integer_list(const Glib::ustring& group_name,
const Glib::ustring& key,
Glib::ArrayHandle<int>& list);
The 'list' parameters should obviously be 'const' here. The patch makes them
const, though of course doing so breaks the ABI. However, I'd argue that this
is in fact an ABI fix and not an ABI break. Our documented policy is that the
various *Handle<> types should never be instantiated directly in user code. If
you follow that rule, using set_boolean_list() and set_integer_list() becomes
impossible without the 'const'. Also, set_boolean_list() was broken anyway to
begin with.
It is possible to leave the old methods with the non-const parameters in the
library, and enclose them within #ifndef GLIBMM_DISABLE_DEPRECATED conditions
in the header file. But given the overall brokenness of the array interface
before this patch, I'm not sure it's actually worth the hassle.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 5
Date: Sat, 17 Feb 2007 23:09:20 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 406960] TypeTraits<bool> utterly broken
To: gtkmm-forge lists sourceforge net
Message-ID: <20070217230920 1BA4D6C412C 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=406960
glibmm | general | Ver: 2.13.x
------- Comment #3 from Murray Cumming 2007-02-17 23:07 UTC -------
I know it's tedious, but I think we need to prove (with a test) that each
existing method cannot work, and therefore cannot be in use, before we change
it. At least the test will prove that this does work.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 6
Date: Sat, 17 Feb 2007 23:44:50 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 409102] New: New Appendix for Visual
Stuido 2005
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-409102-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=409102
gtkmm | documentation | Ver: unspecified
Summary: New Appendix for Visual Stuido 2005
Product: gtkmm
Version: unspecified
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Keywords: documentation
Severity: minor
Priority: Normal
Component: documentation
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: alan signal11 us
GNOME version: Unversioned Enhancement
GNOME milestone: Unspecified
Documentation
Section: Tutorial (book)
Nothing
Correct version:
it's in the attached patch
Other information:
See attached patch
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 7
Date: Sat, 17 Feb 2007 23:48:37 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 409102] New Appendix for Visual Stuido
2005
To: gtkmm-forge lists sourceforge net
Message-ID: <20070217234837 1FAA66C4172 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=409102
gtkmm | documentation | Ver: unspecified
------- Comment #1 from Alan Ott 2007-02-17 23:46 UTC -------
Created an attachment (id=82768)
--> (http://bugzilla.gnome.org/attachment.cgi?id=82768&action=view)
Patch to add an appendix for building apps with Visual Studio 2005.
Apply to docs/tutorial/gtkmm-tut.xml
Additional figures are in an attached zip file.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 8
Date: Sat, 17 Feb 2007 23:56:14 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 409102] New Appendix for Visual Stuido
2005
To: gtkmm-forge lists sourceforge net
Message-ID: <20070217235614 EDA036C41A0 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=409102
gtkmm | documentation | Ver: unspecified
------- Comment #2 from Alan Ott 2007-02-17 23:54 UTC -------
Created an attachment (id=82769)
--> (http://bugzilla.gnome.org/attachment.cgi?id=82769&action=view)
additional figures required for the MSVC 2005 appendix
The files in this tar.gz go in docs/tutorial/figures.
--
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 9, Issue 8
*****************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]