Gtkmm-forge Digest, Vol 28, Issue 8



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 553157] Timeline using wrong property name +	completely
      wrong/incomplete wrapper over TimeoutPool?
      (gnomemm (bugzilla.gnome.org))
   2. [Bug 553157] Timeline using wrong property name +	completely
      wrong/incomplete wrapper over TimeoutPool?
      (gnomemm (bugzilla.gnome.org))
   3. [Bug 553179] clipboard tutorial and example	contains a bug
      (gtkmm (bugzilla.gnome.org))
   4. [Bug 529496] Gio::Error::HOST_NOT_FOUND clashes	with a
      netdb.h #define (glibmm (bugzilla.gnome.org))
   5. [Bug 529496] Gio::Error::HOST_NOT_FOUND clashes	with a
      netdb.h #define (glibmm (bugzilla.gnome.org))
   6. [Bug 554018] Inefficient implementation of
      InputStream::read_async (glibmm (bugzilla.gnome.org))
   7. [Bug 554018] Inefficient implementation of
      InputStream::read_async (glibmm (bugzilla.gnome.org))
   8. [Bug 529496] Gio::Error::HOST_NOT_FOUND clashes	with a
      netdb.h #define (glibmm (bugzilla.gnome.org))


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

Message: 1
Date: Thu, 25 Sep 2008 14:13:45 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 553157] Timeline using wrong property
	name +	completely wrong/incomplete wrapper over TimeoutPool?
To: gtkmm-forge lists sourceforge net
Message-ID: <20080925141345 A8A6823F503 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=553157

  gnomemm | cluttermm | Ver: unspecified




------- Comment #3 from Murray Cumming  2008-09-25 14:13 UTC -------
Based on the comments in the C bug, I will remove Glib::TimoutPool.

"I saw the clutter docs suggesting this might be the right thing to
use"

Do you have a URL for that?


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



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

Message: 2
Date: Thu, 25 Sep 2008 18:48:53 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 553157] Timeline using wrong property
	name +	completely wrong/incomplete wrapper over TimeoutPool?
To: gtkmm-forge lists sourceforge net
Message-ID: <20080925184853 5A19223F505 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=553157

  gnomemm | cluttermm | Ver: unspecified




------- Comment #4 from Cristi Posoiu  2008-09-25 18:48 UTC -------
The info about use of timeoutpool is inside their document at
http://www.clutter-project.org/docs/clutter/0.8/clutter-Utilities.html
I think they might have just updated the doc to say it is "not for app. dev" !?
:)

The interesting parts that made me thinking of using this and makes me think it
will be good to have it in:
a) A timeout pool should be used when multiple timeout functions, running at
the same priority, are needed and the g_timeout_add() API might lead to
starvation of the time slice of the main loop.
  (I thought scalability issues if I would end up using too many
"timeouts"/timelines for GUI)

b) Since version 0.8 this will try to compensate for delays
  (I thought this could be interesting for some usage - not necessarily GUI)

Haven't looked if Glib offers b) though neither have I done any scalability
measurements.

I read also the C bug report but I couldn't see a good reason for not exporting
it, taking into account a) and b). And looking at post (last one at this
moment) "Emmanuele Bassi 2008-09-23 14:21:39" and the fact that the wrapper is
simple to do, my suggestion is to keep 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=553157.



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

Message: 3
Date: Fri, 26 Sep 2008 11:35:50 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 553179] clipboard tutorial and example
	contains a bug
To: gtkmm-forge lists sourceforge net
Message-ID: <20080926113550 9D7AF23F512 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=553179

  gtkmm | documentation | Ver: 2.14.x




------- Comment #3 from Murray Cumming  2008-09-26 11:35 UTC -------
We can pass a pointer (or some other identifier) by using sigc::bind() around
the two callback slots. That's easy.

But I'm trying to think of a way to do this without just passing a pointer to
memory that is not stored anywhere else. I know that would work but it doesn't
seem very pretty.


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



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

Message: 4
Date: Fri, 26 Sep 2008 12:27:13 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 529496] Gio::Error::HOST_NOT_FOUND
	clashes	with a netdb.h #define
To: gtkmm-forge lists sourceforge net
Message-ID: <20080926122713 5D67A23F51E 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=529496

  glibmm | io | Ver: 2.16.x




------- Comment #6 from Szil?rd Pfeiffer  2008-09-26 12:27 UTC -------
Created an attachment (id=119416)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=119416&action=view)
possible solution of problem mentioned in comment 5


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



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

Message: 5
Date: Fri, 26 Sep 2008 12:37:08 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 529496] Gio::Error::HOST_NOT_FOUND
	clashes	with a netdb.h #define
To: gtkmm-forge lists sourceforge net
Message-ID: <20080926123708 1524523F512 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=529496

  glibmm | io | Ver: 2.16.x




------- Comment #7 from Murray Cumming  2008-09-26 12:37 UTC -------
Yes, maybe that would be helpful, though the undef in the application code,
mentioned above, would also solve that problem. Jonathon, what do you think?

If we want this, then I think it can go in the stable glibmm as a build fix.


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



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

Message: 6
Date: Sat, 27 Sep 2008 00:20:25 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 554018] Inefficient implementation of
	InputStream::read_async
To: gtkmm-forge lists sourceforge net
Message-ID: <20080927002025 E756B23F509 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=554018

  glibmm | giomm | Ver: unspecified

Marko Anastasov changed:

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




------- Comment #1 from Marko Anastasov  2008-09-27 00:20 UTC -------
We need a pointer to a slot object which is surely not going to go out of scope
to pass to the C API; that's why the copy is made.

How much slower exactly is the reading in this case? I'm just curious, since
you said you've measured.


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



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

Message: 7
Date: Sat, 27 Sep 2008 01:32:42 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 554018] Inefficient implementation of
	InputStream::read_async
To: gtkmm-forge lists sourceforge net
Message-ID: <20080927013242 5474123F512 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=554018

  glibmm | giomm | Ver: unspecified

Carlo Wood changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |NOTABUG




------- Comment #2 from Carlo Wood  2008-09-27 01:32 UTC -------
It's only 12%... but well, I have a fast cpu ;). On some machines I can imagine
it would be more. However, I deleted the copy and it didn't get much faster :/.
I was convinced that this was it, because it showed up in my profile and when I
put a break point on the "extra" function it was inside the deep copy of this
slot. Now I'm thinking it's the collection of all extra things, the wrapping
and unwrapping, also in the call to read_finish...

I suppose you should just close this "bug". I'm going to use the glib interface
however, to me 12% makes a difference :p.


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



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

Message: 8
Date: Mon, 29 Sep 2008 11:12:31 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 529496] Gio::Error::HOST_NOT_FOUND
	clashes	with a netdb.h #define
To: gtkmm-forge lists sourceforge net
Message-ID: <20080929111231 1862D23F52E 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=529496

  glibmm | io | Ver: 2.16.x




------- Comment #10 from Szil?rd Pfeiffer  2008-09-29 11:12 UTC -------
The patch was only an idea, not a absolutely correct, well designed solution.
Unfortunately I didn't mention it well enough (sorry). The problems which are
mentioned by Jonathon are known for me.


-- 
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
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest, Vol 28, Issue 8
******************************************


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