Gtkmm-forge Digest, Vol 37, Issue 7
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Subject: Gtkmm-forge Digest, Vol 37, Issue 7
- Date: Mon, 15 Jun 2009 21:03:49 +0000
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 585278] draw_spaces not wrapped in gtksourceviewmm
(gnomemm (bugzilla.gnome.org))
2. [Bug 328831] Dialog helper functions (gtkmm (bugzilla.gnome.org))
3. [Bug 585413] Glib::Value<std::string> specialization
(glibmm (bugzilla.gnome.org))
4. [Bug 585213] Patch to wrap GValueArray
(glibmm (bugzilla.gnome.org))
5. [Bug 585521] wrong size allocation in RecentManager::add_item
(gtkmm (bugzilla.gnome.org))
6. [Bug 585521] wrong size allocation in RecentManager::add_item
(gtkmm (bugzilla.gnome.org))
7. [Bug 585521] wrong size allocation in RecentManager::add_item
(gtkmm (bugzilla.gnome.org))
----------------------------------------------------------------------
Message: 1
Date: Mon, 15 Jun 2009 15:23:23 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 585278] draw_spaces not wrapped in
gtksourceviewmm
To: gtkmm-forge lists sourceforge net
Message-ID: <20090615152323 45F0823F5A8 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=585278
gnomemm | gtksourceviewmm | Ver: unspecified
Murray Cumming changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Comment #5 from Murray Cumming 2009-06-15 15:23 UTC -------
Thanks. Comitted and pushed to git. Please patch the ChangeLog in future.
--
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=585278.
------------------------------
Message: 2
Date: Mon, 15 Jun 2009 15:27:57 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 328831] Dialog helper functions
To: gtkmm-forge lists sourceforge net
Message-ID: <20090615152757 4051223F5A6 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=328831
gtkmm | general | Ver: 2.8.x
------- Comment #15 from baltasarq yahoo es 2009-06-15 15:27 UTC -------
> void show_ok_message(
Gtk::Window &w,
const Glib::ustring &msg,
const Glib::ustring &sec_msg,
Gtk::MessageType message_type = Gtk::MESSAGE_INFO);
> That could be suggested as a non-member function for GtkMessageDialog:
Another possibility is to have it as a static function, so it would be invoked
as:
GtkMessageDialog::show_ok_message(
"I've finished the backup",
"The backup finished with status 0"
);
--
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=328831.
------------------------------
Message: 3
Date: Mon, 15 Jun 2009 17:06:33 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 585413] Glib::Value<std::string>
specialization
To: gtkmm-forge lists sourceforge net
Message-ID: <20090615170633 83BD323F507 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=585413
glibmm | object | Ver: 2.20.x
------- Comment #3 from reklipz gmail com 2009-06-15 17:06 UTC -------
Certainly.
www.cplusplus.com's std::string reference notes this:
http://www.cplusplus.com/reference/string/string/assign/
"In the third member function version, the length is determined by parameter n,
even including null characters in the content."
Also, www.sgi.com's std::string reference notes this:
http://www.sgi.com/tech/stl/basic_string.html
const charT* c_str() const
Returns a pointer to a null-terminated array of characters representing the
string's contents. For any string s it is guaranteed that the first s.size()
characters in the array pointed to by s.c_str() are equal to the character in
s, and that s.c_str()[s.size()] is a null character. Note, however, that it not
necessarily the first null character. Characters within a string are permitted
to be null.
As the ISO/IEC 14882 document is not free, I cannot cite it. However, the STL
(although it was not called by that name at the time) was originally a work of
HP and later SGI, whose documentation is cited above.
--
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=585413.
------------------------------
Message: 4
Date: Mon, 15 Jun 2009 18:37:25 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 585213] Patch to wrap GValueArray
To: gtkmm-forge lists sourceforge net
Message-ID: <20090615183725 13FFD23F5A5 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=585213
glibmm | general | Ver: unspecified
------- Comment #3 from Jos? Alburquerque 2009-06-15 18:37 UTC -------
I was just trying to wrap the decodebin2 plug-in[1]. Its "autoplug-sort"
signal[2] works with GValueArray (both parameters and return).
[1]
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-decodebin2.html
[2]
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-decodebin2.html#GstDecodeBin2-autoplug-sort
In Gst::PropertyProbe, I tried using Glib::ArrayHandle<Glib::ValueBase>
wrapping one method and it looks like it worked.
With the decodebin2 plug-in I thought of using the conversion from GValueArray*
to Glib::ArrayHandle<Glib::ValueBase> in Gst::PropertyProbe but I'm not sure
what sort of conversion to use going the other way (from the
Glib::ArrayHandle<> to a GValueArray*). For now, decodebin2 does not need to
be wrapped, but there are other base plug-ins[3] that work with GValueArray
also (multifdsink, theoraparse, uridecodebin) so they probably wont be wrapped
either.
[3]
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/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=585213.
------------------------------
Message: 5
Date: Mon, 15 Jun 2009 20:42:57 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 585521] wrong size allocation in
RecentManager::add_item
To: gtkmm-forge lists sourceforge net
Message-ID: <20090615204259 A5ABD23F5BD 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=585521
gtkmm | general | Ver: 2.16.x
Daniel Elstner changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #136385|none |needs-work
Flag| |
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
OS/Version|Linux |All
------- Comment #3 from Daniel Elstner 2009-06-15 20:42 UTC -------
I think sizeof(*gchar) is just a syntax error, but sizeof(gchar*) is probably
what was meant. sizeof(gchar) is always 1 and definitely wrong in this
context.
Alternatively, one may just use g_new().
--
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=585521.
------------------------------
Message: 6
Date: Mon, 15 Jun 2009 20:43:57 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 585521] wrong size allocation in
RecentManager::add_item
To: gtkmm-forge lists sourceforge net
Message-ID: <20090615204357 3E77423F5A7 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=585521
gtkmm | general | Ver: 2.16.x
------- Comment #4 from Hakim Bellam 2009-06-15 20:43 UTC -------
sorry i made several typos, anyway i meant it should be sizeof(gchar*) and yes
i have 64-bit system
--
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=585521.
------------------------------
Message: 7
Date: Mon, 15 Jun 2009 21:03:37 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 585521] wrong size allocation in
RecentManager::add_item
To: gtkmm-forge lists sourceforge net
Message-ID: <20090615210337 2D60423F5AC 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=585521
gtkmm | general | Ver: 2.16.x
Hakim Bellam changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #136385|1 |0
is patch| |
------- Comment #5 from Hakim Bellam 2009-06-15 21:03 UTC -------
(From update of attachment 136385)
>--- gtkmm-2.16.0/gtk/src/recentmanager.ccg 2009-06-12 04:32:58.000000000 +0100
>+++ gtkmm-2.16.0-patched/gtk/src/recentmanager.ccg 2009-06-12 05:28:12.000000000 +0100
>@@ -34,7 +34,7 @@ bool RecentManager::add_item(const Glib:
> c_data.mime_type = const_cast<gchar*>(data.mime_type.c_str());
> c_data.app_name = const_cast<gchar*>(data.app_name.c_str());
> c_data.app_exec = const_cast<gchar*>(data.app_exec.c_str());
>- c_data.groups = static_cast<gchar**>(g_malloc((data.groups.size() + 1) * sizeof(gchar)));
>+ c_data.groups = static_cast<gchar**>(g_malloc((data.groups.size() + 1) * sizeof(gchar*)));
> for(unsigned int i = 0; i < data.groups.size(); ++ i)
> c_data.groups[i] = const_cast<gchar*>(data.groups[i].c_str());
> c_data.groups[data.groups.size()] = NULL;
--
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=585521.
------------------------------
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
------------------------------
_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
End of Gtkmm-forge Digest, Vol 37, Issue 7
******************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]