Gtkmm-forge Digest, Vol 21, Issue 15



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 518002] Custom Container example prints	warnings on
      terminal (gtkmm (bugzilla.gnome.org))
   2. [Bug 517787] Add operator<< and operator>> to Gio	streams
      (glibmm (bugzilla.gnome.org))
   3. [Bug 517874] the pangomm docs for	Attribute::set_start_index
      missing important detail (gtkmm (bugzilla.gnome.org))
   4. [Bug 517874] the pangomm docs for	Attribute::set_start_index
      missing important detail (gtkmm (bugzilla.gnome.org))
   5. [Bug 517787] Add operator<< and operator>> to Gio	streams
      (glibmm (bugzilla.gnome.org))
   6. [Bug 517787] Add operator<< and operator>> to Gio	streams
      (glibmm (bugzilla.gnome.org))
   7. [Bug 518249] New: build failure for gdamm
      (gnomemm (bugzilla.gnome.org))


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

Message: 1
Date: Fri, 22 Feb 2008 03:36:02 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 518002] Custom Container example prints
	warnings on terminal
To: gtkmm-forge lists sourceforge net
Message-ID: <20080222033602 3FE9823F5A2 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=518002

  gtkmm | general | Ver: unspecified




------- Comment #1 from Jonathon Jongsma (jonner)  2008-02-22 03:36 UTC -------
I've looked into this a little bit and it looks like in the function
Container_Class::remove_callback_normal(), it fails the following check:

  if(obj && obj->is_derived_())

which means that the on_remove() virtual function doesn't get called but
instead the base class->remove() function gets called.  I don't know enough
about how the is_derived_ function works to know why this happens.


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



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

Message: 2
Date: Fri, 22 Feb 2008 10:33:18 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 517787] Add operator<< and operator>>
	to Gio	streams
To: gtkmm-forge lists sourceforge net
Message-ID: <20080222103318 6EE0D23F59F 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=517787

  glibmm | io | Ver: 2.15.x

Marko Anastasov changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marko anastasov gmail com




------- Comment #2 from Marko Anastasov  2008-02-22 10:33 UTC -------
These new functions (operator<<, endl) should probably be virtual.

What about an overload that takes a sigc::slot?

g*mm indentation should be 2 spaces...

Also I have just seen that we do not have an InputStream::read() overload for
strings.


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



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

Message: 3
Date: Fri, 22 Feb 2008 12:31:58 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 517874] the pangomm docs for
	Attribute::set_start_index missing important detail
To: gtkmm-forge lists sourceforge net
Message-ID: <20080222123158 4A2A323F5A2 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=517874

  gtkmm | documentation | Ver: unspecified

Murray Cumming changed:

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




------- Comment #1 from Murray Cumming  2008-02-22 12:31 UTC -------
Could you give me a URL for the relevant text in the pango documentation,
ideally on library.gnome.org, please?


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



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

Message: 4
Date: Fri, 22 Feb 2008 14:02:15 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 517874] the pangomm docs for
	Attribute::set_start_index missing important detail
To: gtkmm-forge lists sourceforge net
Message-ID: <20080222140215 05C7723F5AC 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=517874

  gtkmm | documentation | Ver: unspecified




------- Comment #2 from Behdad Esfahbod  2008-02-22 14:02 UTC -------
Under
http://library.gnome.org/devel/pango/stable/pango-Text-Attributes.html#PangoAttribute

Members start_index and end_index are documented with "(in bytes)".


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



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

Message: 5
Date: Fri, 22 Feb 2008 14:23:41 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 517787] Add operator<< and operator>>
	to Gio	streams
To: gtkmm-forge lists sourceforge net
Message-ID: <20080222142341 D95D223F5A2 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=517787

  glibmm | io | Ver: 2.15.x




------- Comment #3 from Jonathon Jongsma (jonner)  2008-02-22 14:23 UTC -------
(In reply to comment #2)
> These new functions (operator<<, endl) should probably be virtual.

Well, these are currently not even member functions, are you suggesting that
they should be member functions?

> What about an overload that takes a sigc::slot?

Do you mean that the manipulator should be a sigc::slot instead of a function
pointer typedef?

> g*mm indentation should be 2 spaces...

true

> Also I have just seen that we do not have an InputStream::read() overload for
> strings.

Is that different than this mailing list post?
http://mail.gnome.org/archives/gtkmm-list/2008-February/msg00119.html


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



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

Message: 6
Date: Fri, 22 Feb 2008 15:55:05 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 517787] Add operator<< and operator>>
	to Gio	streams
To: gtkmm-forge lists sourceforge net
Message-ID: <20080222155505 A585F23F5A6 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=517787

  glibmm | io | Ver: 2.15.x

Marko Anastasov changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
           Priority|Normal                      |High




------- Comment #4 from Marko Anastasov  2008-02-22 15:55 UTC -------
Well. Now I realize. I apogolize for these... inconsistencies. I am clearly of
no help when replying from uni without the necessary concetration, so you can
sort of scratch my whole reply above.

> (In reply to comment #2)
> > These new functions (operator<<, endl) should probably be virtual.
> 
> Well, these are currently not even member functions, are you suggesting that
> they should be member functions?

(I do think that it's better to keep them as non-members, to keep the interface
clean.)

> > What about an overload that takes a sigc::slot?
> 
> Do you mean that the manipulator should be a sigc::slot instead of a function
> pointer typedef?

Yes, it occurred to me since you provided the one with function pointer.

> > Also I have just seen that we do not have an InputStream::read() overload for
> > strings.
> 
> Is that different than this mailing list post?
> http://mail.gnome.org/archives/gtkmm-list/2008-February/msg00119.html

Nope, apologies as above.

Still I do stand by my reply in the mailing list thread. It is not so easy to
see what would be an optimal tradeoff between providing C++-specific helpers
and keeping the binding "clean". Regarding read(), I'm not really worried about
convenience vs hidden performance cost. It's up to the API user to decide which
call would be more appropriate. It's just about how far we want to go with
these helpers.

operator>>(string&) would need to read until EOL, which would then depend on
this read() overload, or maybe another one for the purpose of reading until
EOL.

I think that for, both operators, it would be nice to have overloads for
different datatypes. But then you've actually begun implementing a text stream
interface.


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



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

Message: 7
Date: Sat, 23 Feb 2008 15:55:01 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 518249] New: build failure for gdamm
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-518249-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=518249

  gnomemm | libgdamm | Ver: unspecified
           Summary: build failure for gdamm
           Product: gnomemm
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: libgdamm
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: jonathon quotidian org
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


I got a libgdamm failure when trying to build the GNOME desktop with jhbuild. 
I tried re-running with -ac (re-autogen & clean), but got the same error:

/opt/gnome2/lib/glibmm-2.4/proc/gmmproc -I ../../tools/m4 --defs . client .
./../libgdamm
/opt/gnome2/lib/glibmm-2.4/proc/gmmproc -I ../../tools/m4 --defs . connection .
./../libgdamm
/opt/gnome2/lib/glibmm-2.4/proc/gmmproc -I ../../tools/m4 --defs . datamodel .
./../libgdamm
/opt/gnome2/lib/glibmm-2.4/proc/gmmproc -I ../../tools/m4 --defs .
serverprovider . ./../libgdamm
/opt/gnome2/lib/glibmm-2.4/proc/gmmproc -I ../../tools/m4 --defs . parameter .
./../libgdamm
No conversion from GdaColumn* to Glib::RefPtr<Column> defined (line: ,
parameter name:
gda_data_model_describe_column`'(ifelse(`',1,const_cast<__CNAME__*>(gobj()),gobj())`'ifelse(`_CONVERT(int,gint,col,0)',,,`,
')_CONVERT(int,gint,col,0)))
m4 failed with exit code 1.  Aborting...
make[3]: *** [.stamps/stamp-datamodel] Error 1
make[3]: *** Waiting for unfinished jobs....
No conversion from const Glib::RefPtr<ParameterList>& to GdaParameterList*
defined (line: 0, parameter name: params)
m4 failed with exit code 1.  Aborting...
No conversion from GdaServerProvider* to Glib::RefPtr<ServerProvider> defined
(line: , parameter name:
gda_connection_get_provider_obj`'(ifelse(`',1,const_cast<__CNAME__*>(gobj()),gobj())`'ifelse(`',,,`,
')))
make[3]: *** [.stamps/stamp-client] Error 1
m4 failed with exit code 1.  Aborting...
make[3]: *** [.stamps/stamp-connection] Error 1
No conversion from GdaParameter* to Glib::RefPtr<Parameter> defined (line: ,
parameter name:
gda_parameter_new_copy`'(ifelse(`1',1,const_cast<__CNAME__*>(gobj()),gobj())`'ifelse(`',,,`,
')))
m4 failed with exit code 1.  Aborting...
make[3]: *** [.stamps/stamp-parameter] Error 1
No conversion from ServerOperationType to GdaServerOperationType defined (line:
0, parameter name: type)
m4 failed with exit code 1.  Aborting...
make[3]: *** [.stamps/stamp-serverprovider] Error 1
make[3]: Leaving directory `/home/jonathon/.svn/gnome2/libgdamm/libgda/src'


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



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

-------------------------------------------------------------------------
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 15
*******************************************


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