Send Gtkmm-forge mailing list submissions to
[EMAIL PROTECTED]
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
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
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 539891] Can't use doxygen commands in *_override.xml
(glibmm (bugzilla.gnome.org))
2. [Bug 537319] EntryCompletion not emitting
signal_match_selected () (gtkmm (bugzilla.gnome.org))
3. [Bug 537319] EntryCompletion not emitting
signal_match_selected () (gtkmm (bugzilla.gnome.org))
4. [Bug 554484] New: Patch to silence an 'unused parameter'
warning (gnomemm (bugzilla.gnome.org))
5. [Bug 554484] Patch to silence an 'unused parameter' warning
(gnomemm (bugzilla.gnome.org))
6. [Bug 554889] New: Gtk::ListStore::reverse_iterator doesn't
work (gtkmm (bugzilla.gnome.org))
7. [Bug 529496] Gio::Error::HOST_NOT_FOUND clashes with a
netdb.h #define (glibmm (bugzilla.gnome.org))
----------------------------------------------------------------------
Message: 1
Date: Mon, 29 Sep 2008 21:55:04 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 539891] Can't use doxygen commands in
*_override.xml
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
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=539891
glibmm | documentation | Ver: unspecified
Murray Cumming changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Comment #4 from Murray Cumming 2008-09-29 21:55 UTC -------
Thanks. Sorry for not seeing this until now.
--
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=539891.
------------------------------
Message: 2
Date: Tue, 30 Sep 2008 12:18:09 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 537319] EntryCompletion not emitting
signal_match_selected ()
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
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=537319
gtkmm | general | Ver: 2.13.x
------- Comment #7 from Marko Anastasov 2008-09-30 12:18 UTC -------
Created an attachment (id=119640)
--> (http://bugzilla.gnome.org/attachment.cgi?id=119640&action=view)
proposed addition to the signal proxy doc text
--
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=537319.
------------------------------
Message: 3
Date: Tue, 30 Sep 2008 12:29:13 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 537319] EntryCompletion not emitting
signal_match_selected ()
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
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=537319
gtkmm | general | Ver: 2.13.x
------- Comment #8 from Murray Cumming 2008-09-30 12:29 UTC -------
Please apply, but mention a little more about about why. For instance, "so that
it is called before the default signal handler, which would otherwise claim to
have fully handled the signal by returning false/true/iforget"
--
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=537319.
------------------------------
Message: 4
Date: Tue, 30 Sep 2008 18:50:35 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
<[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 554484] New: Patch to silence an
'unused parameter' warning
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]/>
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=554484
gnomemm | libgdamm | Ver: unspecified
Summary: Patch to silence an 'unused parameter' warning
Product: gnomemm
Version: unspecified
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: libgdamm
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
GNOME version: Unspecified
GNOME milestone: Unspecified
[Forwarded from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472834 ,
reported by Norbert Kiesel <[EMAIL PROTECTED]>]
An unused parameter in libgda/libgdamm/value.h may cause a warning using strict
g++ option, which in turn can be promoted in to an error with -Werror and is
not good for software depending on it. The patch from Norbert silences it by
commenting out the unused parameter.
--
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=554484.
------------------------------
Message: 5
Date: Tue, 30 Sep 2008 19:18:58 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
<[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 554484] Patch to silence an 'unused
parameter' warning
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
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=554484
gnomemm | libgdamm | Ver: unspecified
Murray Cumming changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[EMAIL PROTECTED]
------- Comment #2 from Murray Cumming 2008-09-30 19:18 UTC -------
Looks good. Someone please apply.
--
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=554484.
------------------------------
Message: 6
Date: Fri, 3 Oct 2008 16:42:56 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 554889] New:
Gtk::ListStore::reverse_iterator doesn't work
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]/>
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=554889
gtkmm | TreeView | Ver: 2.12.x
Summary: Gtk::ListStore::reverse_iterator doesn't work
Product: gtkmm
Version: 2.12.x
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: critical
Priority: Normal
Component: TreeView
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
GNOME version: 2.21/2.22
GNOME milestone: Unspecified
Steps to reproduce:
$ cat rev_iter.cc
#include <iostream>
#include <gtkmm.h>
struct Columns : public Gtk::TreeModelColumnRecord {
Gtk::TreeModelColumn<int> col;
Columns()
{ add(col); }
};
int main(int argc, char *argv[])
{
Gtk::Main m(argc, argv);
Columns columns;
Glib::RefPtr<Gtk::ListStore> model = Gtk::ListStore::create(columns);
(*model->append())[columns.col] = 1;
(*model->append())[columns.col] = 2;
(*model->append())[columns.col] = 3;
(*model->append())[columns.col] = 4;
(*model->append())[columns.col] = 5;
for(Gtk::ListStore::iterator i = model->children().begin();
i != model->children().end(); ++i)
std::cerr << (*i)[columns.col] << std::endl;
for(Gtk::ListStore::reverse_iterator i = model->children().rbegin();
i != model->children().rend(); ++i)
std::cerr << (*i)[columns.col] << std::endl;
return 0;
}
$ g++ `pkg-config gtkmm-2.4 --cflags --libs` rev_iter.cc
$ ./a.out
1
2
3
4
5
/usr/libexec/a.out: No such file or directory. /BugBuddy Opens/
Stack trace:
a not-so-very useful stack trace:
#0 0x00000000213582a3 in ?? ()
#1 0x00000000004022f2 in Gtk::TreeRow::get_value<int> (this=0x7fff66bf2570,
[EMAIL PROTECTED]) at /usr/include/gtkmm-2.4/gtkmm/treeiter.h:482
#2 0x0000000000402354 in Gtk::TreeValueProxy<int>::operator int
(this=0x7fff66bf2920) at /usr/include/gtkmm-2.4/gtkmm/treeiter.h:436
#3 0x0000000000401c2e in main (argc=1, argv=0x7fff66bf2a28) at rev_iter.cc:31
Other information:
the crash happens because:
a) Gtk::TreeRow inherits from Gtk::TreeIter
and so when you dereference an TreeIter it just returns a reference to itself
TreeIter::reference TreeIter::operator*() const
{
return static_cast<const TreeRow&>(*this);
}
b) when you dereference a std::reverse_iterator it does:
reference
operator*() const
{
_Iterator __tmp = current;
return *--__tmp;
}
of course, what reverse_iterator doesn't know, is that it is in fact returning
a reference to __tmp. And since __tmp is a local variable, it deletes it just
before returning (and thereby deleting the value which it is returning)
so, basically, it returns some random value, and using that value buys you a
ticket to core dump land
as for solutions, i can think of a few, but none of them is really good or
easily doable:
1) make your own reverse_iterator that somehow avoids this kind of thing
- doesn't solve the real problem, since a similar thing can creep up in other
situations
2) make a _real_ iterator instead of having TreeRow inherit from TreeIter
- takes a lot of coding and breaks all kinds of APIs and ABIs
--
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=554889.
------------------------------
Message: 7
Date: Sat, 4 Oct 2008 10:21:54 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 529496] Gio::Error::HOST_NOT_FOUND
clashes with a netdb.h #define
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
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
[EMAIL PROTECTED] changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[EMAIL PROTECTED]
--
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.
------------------------------
-------------------------------------------------------------------------
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
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
End of Gtkmm-forge Digest, Vol 29, Issue 1
******************************************
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list