Gtkmm-forge Digest, Vol 21, Issue 1
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Subject: Gtkmm-forge Digest, Vol 21, Issue 1
- Date: Mon, 04 Feb 2008 01:30:37 -0800
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 512717] New: ValueBase classes "enhancements"
(glibmm (bugzilla.gnome.org))
2. [Bug 512717] ValueBase classes "enhancements"
(glibmm (bugzilla.gnome.org))
3. [Bug 512717] ValueBase classes "enhancements"
(glibmm (bugzilla.gnome.org))
4. [Bug 511972] glibmm doesn't have an AsyncQueue class
(glibmm (bugzilla.gnome.org))
5. [Bug 511972] glibmm doesn't have an AsyncQueue class
(glibmm (bugzilla.gnome.org))
6. [Bug 511972] glibmm doesn't have an AsyncQueue class
(glibmm (bugzilla.gnome.org))
7. [Bug 514241] New: patch to add Gst::Buffer
(gnomemm (bugzilla.gnome.org))
----------------------------------------------------------------------
Message: 1
Date: Tue, 29 Jan 2008 05:19:07 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 512717] New: ValueBase classes
"enhancements"
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-512717-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=512717
glibmm | general | Ver: 2.15.x
Summary: ValueBase classes "enhancements"
Product: glibmm
Version: 2.15.x
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: general
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: jaalburqu svn gnome org
QAContact: gtkmm-forge lists sourceforge net
GNOME version: 2.19/2.20
GNOME milestone: Unspecified
Working on the GStreamermm Structure class, I noticed that it has setters and
getters that set and return ValueBase objects for values which the underlying
GstStructure (from GStreamer) contains.
When looking at the getters, I thought that it'd be nice if these getters
simply returned a ValueBase instead of accepting a reference to the ValueBase
(in which the value is returned) and then returning a boolean telling if the
getters are successful in fetching the value.
To this end, I thought it'd really be nice if ValueBases could have a boolean
like operator telling if it has been validly set. I did some exploring and
found an interesting link explaining how to implement safe boolean operators
(http://www.artima.com/cppsource/safebool3.html) and adapted some of this
explanation to implement a boolean operator for the ValueBase class.
I also thought that making the ValueBase classes "semi-automatic" so that they
can be readily assigned to on declaration and in the course of a program
without having to initialize them before hand would be kind of handy, so in the
"set()" methods, I added two lines of code to make sure the Value class is
initialized before being set. I made all the ValueBase class descendants
except for the Value_Enum and Value_Flags semi-automatic because I found that
these last two cannot be automatically initialized.
The semi-automatic mechanism installed in the ValueBase classes does not affect
code that already use the ValueBase class. It is only triggered when setting
ValueBase classes that have not been initialized. If one is declared but never
initialized or set, warnings are generated as usual and initialization before
usage works just as it has before, so previous code never even notices the
difference.
Lastly, I implemented cast and equal operators for easy syntactic usage in
expressions. The cast operators are very useful for using these Values as if
they were, in fact, the actual type that they "wrap". The pointer types also
have dereferencing operators while the RefPtr types only have the member
referencing (->) operator allowing similar RefPtr access to the underlying
class of the RefPtr (just as a RefPtr would).
I did find ambiguity problems with the stream insertion operator (<<) and the
Value classes. This is because a boolean operator is included in the ValueBase
class while the descendants have other cast operators that can be used in the
same context.
Overall, however, I think that these changes would be handy to enhance the
usage of the ValueBase classes so I was inclined to submit a patch. However, I
fully understand that there probably are an infinite number of things that I
don't have perspective on, so submitting this patch I fully understand that it
can be outright rejected because of something I haven't even considered. All
in all, if it is rejected, would be possible to keep the ValueBase operator? I
sincerely hope that some of this might be useful. Thanks.
--
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=512717.
------------------------------
Message: 2
Date: Tue, 29 Jan 2008 05:20:18 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 512717] ValueBase classes
"enhancements"
To: gtkmm-forge lists sourceforge net
Message-ID: <20080129052018 5CBF623F539 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=512717
glibmm | general | Ver: 2.15.x
------- Comment #1 from Jos? Alburquerque 2008-01-29 05:20 UTC -------
Created an attachment (id=103931)
--> (http://bugzilla.gnome.org/attachment.cgi?id=103931&action=view)
ValueBase classes enhancements
--
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=512717.
------------------------------
Message: 3
Date: Tue, 29 Jan 2008 06:58:05 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 512717] ValueBase classes
"enhancements"
To: gtkmm-forge lists sourceforge net
Message-ID: <20080129065805 5069723F53B 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=512717
glibmm | general | Ver: 2.15.x
------- Comment #2 from Jos? Alburquerque 2008-01-29 06:58 UTC -------
Created an attachment (id=103936)
--> (http://bugzilla.gnome.org/attachment.cgi?id=103936&action=view)
Enhancements with ChangeLog
--
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=512717.
------------------------------
Message: 4
Date: Tue, 29 Jan 2008 07:57:11 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 511972] glibmm doesn't have an
AsyncQueue class
To: gtkmm-forge lists sourceforge net
Message-ID: <20080129075711 D29B323F58E 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=511972
glibmm | threads | Ver: 2.15.x
ecyrbe gmail com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #103707|0 |1
is obsolete| |
Attachment #103709|0 |1
is obsolete| |
------- Comment #9 from ecyrbe gmail com 2008-01-29 07:57 UTC -------
Created an attachment (id=103937)
--> (http://bugzilla.gnome.org/attachment.cgi?id=103937&action=view)
new version
this version tries to map Glibmm formatting, adds the correct #define , the GPL
header , english documentation...
it adds the possibility to specify your own container like std::queue does (by
default it uses std::deque like the standard says to do).
it removes the waiting_threads variable, as it's not necessary to use it, may
be a debug swith could it for testing purpose...
it let every pop methods untouched, to keep the interface easy to use, but a
reference passing result version can be added if you want to.
it still don't uses the glibmm exception infrastructure...let me know if it's
wanted.
if you want to discuss it in the mailing list, i don't have access to it, nor
the time to do it... but i'll try to keep an eye on this bug report .
--
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=511972.
------------------------------
Message: 5
Date: Tue, 29 Jan 2008 08:11:16 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 511972] glibmm doesn't have an
AsyncQueue class
To: gtkmm-forge lists sourceforge net
Message-ID: <20080129081116 5E50523F58E 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=511972
glibmm | threads | Ver: 2.15.x
ecyrbe gmail com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #103937|0 |1
is obsolete| |
------- Comment #10 from ecyrbe gmail com 2008-01-29 08:11 UTC -------
Created an attachment (id=103938)
--> (http://bugzilla.gnome.org/attachment.cgi?id=103938&action=view)
sorry, formatting was done with tabs...
--
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=511972.
------------------------------
Message: 6
Date: Tue, 29 Jan 2008 08:32:07 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 511972] glibmm doesn't have an
AsyncQueue class
To: gtkmm-forge lists sourceforge net
Message-ID: <20080129083207 A253323F58F 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=511972
glibmm | threads | Ver: 2.15.x
ecyrbe gmail com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #103938|0 |1
is obsolete| |
------- Comment #11 from ecyrbe gmail com 2008-01-29 08:32 UTC -------
Created an attachment (id=103939)
--> (http://bugzilla.gnome.org/attachment.cgi?id=103939&action=view)
template definition corrections
template forward definitions were not up to date.
--
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=511972.
------------------------------
Message: 7
Date: Mon, 4 Feb 2008 09:30:39 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 514241] New: patch to add Gst::Buffer
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-514241-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=514241
gnomemm | gstreamermm | Ver: unspecified
Summary: patch to add Gst::Buffer
Product: gnomemm
Version: unspecified
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamermm
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: siavash safi gmail com
QAContact: gtkmm-forge lists sourceforge net
GNOME version: Unspecified
GNOME milestone: Unspecified
The patch adds Gst::Buffer
--
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=514241.
------------------------------
-------------------------------------------------------------------------
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 1
******************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]