Gtkmm-forge Digest, Vol 21, Issue 13



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 495762] need get_pointer for RefPtr<>
      (glibmm (bugzilla.gnome.org))
   2. [Bug 517530] additional includes for C functions	in several
      files for Solaris (gtkmm (bugzilla.gnome.org))
   3. [Bug 515135] glibmm needs the option not to abort	programs
      with different encodings (glibmm (bugzilla.gnome.org))
   4. [Bug 517817] New: Goocanvas::TextModel alignment	property not
      correctly wrapped (gnomemm (bugzilla.gnome.org))
   5. [Bug 517530] additional includes for C functions	in several
      files for Solaris (gtkmm (bugzilla.gnome.org))
   6. [Bug 495762] need get_pointer for RefPtr<>
      (glibmm (bugzilla.gnome.org))
   7. [Bug 495762] need get_pointer for RefPtr<>
      (glibmm (bugzilla.gnome.org))
   8. [Bug 517530] additional includes for C functions	in several
      files for Solaris (gtkmm (bugzilla.gnome.org))


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

Message: 1
Date: Thu, 21 Feb 2008 03:40:29 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 495762] need get_pointer for RefPtr<>
To: gtkmm-forge lists sourceforge net
Message-ID: <20080221034029 1F1FC23F5A2 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=495762

  glibmm | general | Ver: 2.14.x

Jonathon Jongsma (jonner) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathon quotidian org




------- Comment #9 from Jonathon Jongsma (jonner)  2008-02-21 03:40 UTC -------
Here's another example where it might be useful to access the underlying
pointer -- creating a slot from a member function of an object within a refptr:

Glib::RefPtr<Foo> foo;
button.signal_clicked ().connect (sigc::mem_fun (foo.operator->(), &Foo::bar));


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



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

Message: 2
Date: Thu, 21 Feb 2008 03:56:32 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 517530] additional includes for C
	functions	in several files for Solaris
To: gtkmm-forge lists sourceforge net
Message-ID: <20080221035632 1CD1C23F5A0 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=517530

  gtkmm | build | Ver: 2.12.x

manphiz gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #105642|0                           |1
        is obsolete|                            |




------- Comment #13 from manphiz gmail com  2008-02-21 03:56 UTC -------
Created an attachment (id=105679)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=105679&action=view)
gcc-4.3-and-solaris-header-fix.patch

Reverted 2 useless dirty hack from my original patch (didn't search for M_PI),
and waiting for the solution of G_PI.  Tim's patch should still appliable after
this one.

And one more question(should've asked before) : Are
gtk/gtkmm/targetentry.{h,cc} generated from gtk/src?  I can't find original
*.{h,cc}g files for them.


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



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

Message: 3
Date: Thu, 21 Feb 2008 05:52:58 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 515135] glibmm needs the option not to
	abort	programs with different encodings
To: gtkmm-forge lists sourceforge net
Message-ID: <20080221055258 5CD4E23F59B 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=515135

  glibmm | strings | Ver: unspecified




------- Comment #5 from Takao Fujiwara  2008-02-21 05:52 UTC -------

> TRUE 
> Character out of range for UTF-8
> Character out of range for UTF-8

It seems you run the program on UTF-8 locale.
Could you try it on ja_JP.eucJP locale?
The message "Character out of range for UTF-8" should be localized because
glib20.mo has the message.

I don't remember Ubuntu has none UTF-8 locales.
My platform is Solaris. 

I invoked "yum install glibmm" on Fedora 8 but it seems no RPMs.


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



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

Message: 4
Date: Thu, 21 Feb 2008 08:44:51 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 517817] New: Goocanvas::TextModel
	alignment	property not correctly wrapped
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-517817-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=517817

  gnomemm | goocanvasmm | Ver: 2.22
           Summary: Goocanvas::TextModel alignment property not correctly
                    wrapped
           Product: gnomemm
           Version: 2.22
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: goocanvasmm
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: genbell tiscali it
     GNOME version: 2.19/2.20
   GNOME milestone: Unspecified


The Goocanvas::TextModel alignment property is wrapped using the C API
PangoAlignment type instead of the C++ Pango::Alignment type.

Here is my patch

Index: textmodel.hg
===================================================================
--- textmodel.hg        (revisione 1355)
+++ textmodel.hg        (copia locale)
@@ -37,7 +37,7 @@

   _WRAP_CREATE(const Glib::ustring& string = Glib::ustring(), double x = 0.0,
double y = 0.0, double width = -1, Gtk::AnchorType anchor =
Gtk::ANCHOR_NORTH_WEST)

-  _WRAP_PROPERTY("alignment", PangoAlignment)
+  _WRAP_PROPERTY("alignment", Pango::Alignment)
   _WRAP_PROPERTY("anchor", Gtk::AnchorType)
   _WRAP_PROPERTY("font", Glib::ustring)
   _WRAP_PROPERTY("font-desc", Pango::FontDescription) //TODO: Use pointer? */


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



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

Message: 5
Date: Thu, 21 Feb 2008 09:59:56 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 517530] additional includes for C
	functions	in several files for Solaris
To: gtkmm-forge lists sourceforge net
Message-ID: <20080221095956 C415823F5A2 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=517530

  gtkmm | build | Ver: 2.12.x




------- Comment #14 from Murray Cumming  2008-02-21 09:59 UTC -------
Please don't confuse me with multiple patches that have to be applied in order.
Please try to agree on one 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=517530.



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

Message: 6
Date: Thu, 21 Feb 2008 10:01:25 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 495762] need get_pointer for RefPtr<>
To: gtkmm-forge lists sourceforge net
Message-ID: <20080221100125 C30D123F5A2 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=495762

  glibmm | general | Ver: 2.14.x




------- Comment #10 from Murray Cumming  2008-02-21 10:01 UTC -------
That's fairly unusual (though not totally unlikely). You'd usually connect the
signal in a member method, where you'd have access to "this". 


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



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

Message: 7
Date: Thu, 21 Feb 2008 13:35:54 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 495762] need get_pointer for RefPtr<>
To: gtkmm-forge lists sourceforge net
Message-ID: <20080221133554 1BFD123F59F 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=495762

  glibmm | general | Ver: 2.14.x




------- Comment #11 from Jonathon Jongsma (jonner)  2008-02-21 13:35 UTC -------
Yes, I agree it's quite unusual, but I just had a situation where I wanted to
do 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=495762.



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

Message: 8
Date: Thu, 21 Feb 2008 14:07:46 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 517530] additional includes for C
	functions	in several files for Solaris
To: gtkmm-forge lists sourceforge net
Message-ID: <20080221140746 8DBA523F5A7 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=517530

  gtkmm | build | Ver: 2.12.x

Deng Xiyue changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #105679|0                           |1
        is obsolete|                            |




------- Comment #15 from Deng Xiyue  2008-02-21 14:07 UTC -------
Created an attachment (id=105700)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=105700&action=view)
merged-refined-gcc4.3-solaris-fix.patch

Merge Tim's patch and refined to use using directive.  Some notes:

1. Now it uses i.e. "using std::strlen;" form instead of prefixing every C
function, as C++ standard doesn't specify where C functions should locate
first, making direct C function calls conformant per se.  So just let using
directives fix compiler specific issues.

2. "#include <math.h>" is used instead of <cmath>, as noted in
examples/gdk/radar.cc that <math.h> is "Needed by the IRIX MipsPro compiler,
for sin" and other certain reason.  Together with M_PI issue, #include <math.h>
seems to be the simplest workaround.

Not fully tested yet.  Tim please check.


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



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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

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

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


End of Gtkmm-forge Digest, Vol 21, Issue 13
*******************************************


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