Gtkmm-forge Digest, Vol 23, Issue 4



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 527587] Glib::RefPtr<Gtk::RecentInfo> cannot	be used in
      TreeStore (gtkmm (bugzilla.gnome.org))
   2. [Bug 527587] Glib::RefPtr<Gtk::RecentInfo> cannot	be used in
      TreeStore (gtkmm (bugzilla.gnome.org))
   3. [Bug 527587] Glib::RefPtr<Gtk::RecentInfo> cannot	be used in
      TreeStore (gtkmm (bugzilla.gnome.org))
   4. [Bug 527587] Glib::RefPtr<Gtk::RecentInfo> cannot	be used in
      TreeStore (gtkmm (bugzilla.gnome.org))
   5. [Bug 526831] G_OPTION_REMAINING no longer works	with
      OptionEntry (glibmm (bugzilla.gnome.org))
   6. [Bug 526742] Gtk::Widget::get_direction should be	const
      (gtkmm (bugzilla.gnome.org))
   7. [Bug 527687] New: ustring::erase(iterator)	incorrect for non
      ascii characters (glibmm (bugzilla.gnome.org))
   8. [Bug 527687] ustring::erase(iterator) incorrect	for non ascii
      characters (glibmm (bugzilla.gnome.org))


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

Message: 1
Date: Fri, 11 Apr 2008 17:38:40 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 527587] Glib::RefPtr<Gtk::RecentInfo>
	cannot	be used in TreeStore
To: gtkmm-forge lists sourceforge net
Message-ID: <20080411173840 940E523F50B 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=527587

  gtkmm | TreeView | Ver: unspecified




------- Comment #1 from Armin Burgmeier  2008-04-11 17:38 UTC -------
Created an attachment (id=109066)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=109066&action=view)
Test case

This is a (rather) simple test case. It produces the following error:

/usr/include/glibmm-2.4/glibmm/value.h: In static member function ?static
GType Glib::Value<Glib::RefPtr<T_CppObject> >::value_type() [with T =
Gtk::RecentInfo]?:
/usr/include/gtkmm-2.4/gtkmm/treemodelcolumn.h:140:   instantiated from
?Gtk::TreeModelColumn<T>::TreeModelColumn() [with T =
Glib::RefPtr<Gtk::RecentInfo>]?
20080411-openismus-recentinfo-value-testcase.cc:7:   instantiated from here
/usr/include/glibmm-2.4/glibmm/value.h:233: error: ?get_base_type? is not a
member of ?Gtk::RecentInfo?
/usr/include/glibmm-2.4/glibmm/value.h: In member function ?void
Glib::Value<Glib::RefPtr<T_CppObject> >::set(const Glib::RefPtr<T_CppObject>&)
[with T = Gtk::RecentInfo]?:
/usr/include/gtkmm-2.4/gtkmm/treeiter.h:456:   instantiated from ?void
Gtk::TreeRow::set_value(const Gtk::TreeModelColumn<ColumnType>&, const
ColumnType&) const [with ColumnType = Glib::RefPtr<Gtk::RecentInfo>]?
/usr/include/gtkmm-2.4/gtkmm/treeiter.h:429:   instantiated from
?Gtk::TreeValueProxy<ColumnType>&
Gtk::TreeValueProxy<ColumnType>::operator=(const ColumnType&) [with ColumnType
= Glib::RefPtr<Gtk::RecentInfo>]?
20080411-openismus-recentinfo-value-testcase.cc:39:   instantiated from here
/usr/include/glibmm-2.4/glibmm/value.h:235: error: no matching function for
call to ?Glib::Value<Glib::RefPtr<Gtk::RecentInfo>
>::set_object(Gtk::RecentInfo*)?
/usr/include/glibmm-2.4/glibmm/value.h:129: note: candidates are: void
Glib::ValueBase_Object::set_object(Glib::ObjectBase*)


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



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

Message: 2
Date: Fri, 11 Apr 2008 17:40:15 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 527587] Glib::RefPtr<Gtk::RecentInfo>
	cannot	be used in TreeStore
To: gtkmm-forge lists sourceforge net
Message-ID: <20080411174015 62C5423F50B 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=527587

  gtkmm | TreeView | Ver: unspecified




------- Comment #2 from Armin Burgmeier  2008-04-11 17:40 UTC -------
Created an attachment (id=109067)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=109067&action=view)
Proposed patch

This patch fixes the problem by providing a specialization of
Glib::Value<Glib::RefPtr<Gtk::RecentInfo> >.


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



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

Message: 3
Date: Fri, 11 Apr 2008 17:44:53 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 527587] Glib::RefPtr<Gtk::RecentInfo>
	cannot	be used in TreeStore
To: gtkmm-forge lists sourceforge net
Message-ID: <20080411174453 5D62223F50B 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=527587

  gtkmm | TreeView | Ver: unspecified




------- Comment #3 from Murray Cumming  2008-04-11 17:44 UTC -------
Yeah, please add that in gtkmm's svn trunk.

For the record, we could add a get_base_type() to Gtk::RecentInfo, but we don't
want to make Gtk::RecentInfo derive from Glib::ObjectBase, so this is the best
solution.


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



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

Message: 4
Date: Fri, 11 Apr 2008 17:52:12 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 527587] Glib::RefPtr<Gtk::RecentInfo>
	cannot	be used in TreeStore
To: gtkmm-forge lists sourceforge net
Message-ID: <20080411175212 A493823F50A 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=527587

  gtkmm | TreeView | Ver: unspecified

Armin Burgmeier changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #109067|none                        |committed
               Flag|                            |
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




------- Comment #4 from Armin Burgmeier  2008-04-11 17:52 UTC -------
Done. I also tried implementing get_base_type() in Gtk::RecentInfo first, but
that's not enough to make it compile. Since Gtk::RecentInfo is a boxed type it
cannot derive from Glib::ObjectBase anyway, I think.


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



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

Message: 5
Date: Fri, 11 Apr 2008 20:44:50 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 526831] G_OPTION_REMAINING no longer
	works	with OptionEntry
To: gtkmm-forge lists sourceforge net
Message-ID: <20080411204450 D6DCC23F501 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=526831

  glibmm | general | Ver: 2.16.x

Murray Cumming changed:

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




------- Comment #1 from Murray Cumming  2008-04-11 20:44 UTC -------
I wonder if glib does a simple pointer comparison instead of a strcmp().


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



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

Message: 6
Date: Fri, 11 Apr 2008 20:48:00 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 526742] Gtk::Widget::get_direction
	should be	const
To: gtkmm-forge lists sourceforge net
Message-ID: <20080411204800 9F1CF23F502 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=526742

  gtkmm | general | Ver: 2.4

Murray Cumming changed:

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




------- Comment #2 from Murray Cumming  2008-04-11 20:47 UTC -------
Committed to svn trunk. Thanks. I also used the (little known) deprecated
option with the _WRAP_METHOD() for the non-const version.

In case this is a problem for you with the stable gtkmm, remember that you can
use const_cast<> to work around 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=526742.



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

Message: 7
Date: Sat, 12 Apr 2008 11:12:56 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 527687] New: ustring::erase(iterator)
	incorrect for non ascii characters
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-527687-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=527687

  glibmm | strings | Ver: 2.12.x
           Summary: ustring::erase(iterator) incorrect for non ascii
                    characters
           Product: glibmm
           Version: 2.12.x
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: strings
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: jarro 2783 gmail com
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: 2.17/2.18
   GNOME milestone: Unspecified


Please describe the problem:
When erasing a character from a ustring with an iterator, if the iterator
points to a non ascii character, the character doesn't appear to be erased
correctly.

Steps to reproduce:
1. Declare a ustring.
2. Put a non ascii character in it.
3. erase the character using an iterator which points to it.
4. print the string


Actual results:
a Glib::ConvertError exception is thrown.

Expected results:
The string is printed out successfully minus the character.

Does this happen every time?
Yes

Other information:


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



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

Message: 8
Date: Sat, 12 Apr 2008 11:20:08 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 527687] ustring::erase(iterator)
	incorrect	for non ascii characters
To: gtkmm-forge lists sourceforge net
Message-ID: <20080412112008 1226623F4FE 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=527687

  glibmm | strings | Ver: 2.12.x




------- Comment #1 from jarro 2783 gmail com  2008-04-12 11:20 UTC -------
Created an attachment (id=109112)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=109112&action=view)
test case which demonstrates bug


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



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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

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

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


End of Gtkmm-forge Digest, Vol 23, Issue 4
******************************************


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