[gtkmm] Gtkmm-forge digest, Vol 1 #239 - 13 msgs



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


Today's Topics:

   1. [Bug 94207] Changed - TextMark::get_iter does not do a reference on Glib::RefPtr<TextMark>(). (bugzilla-daemon widget gnome org)
   2. [Bug 94110] Changed - proposed API additions to Glib::TimeVal (bugzilla-daemon widget gnome org)
   3. [Bug 94207] Changed - TextMark::get_iter does not do a reference on Glib::RefPtr<TextMark>(). (bugzilla-daemon widget gnome org)
   4. [Bug 94110] Changed - proposed API additions to Glib::TimeVal (bugzilla-daemon widget gnome org)
   5. [Bug 92511] Changed - Pango::Context::set_font_description causes app to abort when layout is drawn (bugzilla-daemon widget gnome org)
   6. [Bug 94110] Changed - proposed API additions to Glib::TimeVal (bugzilla-daemon widget gnome org)
   7. [Bug 94207] Changed - TextMark::get_iter does not do a reference on Glib::RefPtr<TextMark>(). (bugzilla-daemon widget gnome org)
   8. [Bug 94207] Changed - TextMark::get_iter does not do a reference on Glib::RefPtr<TextMark>(). (bugzilla-daemon widget gnome org)
   9. [Bug 94169] Changed - Gdk-API/Docs lacks methods screen_*() (bugzilla-daemon widget gnome org)
  10. [Bug 94239] Changed - documentation addition for io_connect() (bugzilla-daemon widget gnome org)
  11. [Bug 91410] Changed - Gtk::Menu: possible memory leak. (bugzilla-daemon widget gnome org)
  12. [Bug 92511] Changed - Pango::Context::set_font_description causes app to abort when layout is drawn (bugzilla-daemon widget gnome org)
  13. [Bug 94207] Changed - TextMark::get_iter does not do a reference on Glib::RefPtr<TextMark>(). (bugzilla-daemon widget gnome org)

--__--__--

Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, mike lotusland demon co uk
Cc: 
Date: Thu, 26 Sep 2002 15:35:37 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 94207] Changed - TextMark::get_iter does not do a reference on Glib::RefPtr<TextMark>().

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=94207

Changed by mhl schulze t-online de 

--- shadow/94207	Wed Sep 25 16:55:15 2002
+++ shadow/94207.tmp.23900	Thu Sep 26 15:35:37 2002
@@ -29,6 +29,10 @@
 
 
 ------- Additional Comments From mike lotusland demon co uk  2002-09-25 16:55 -------
 Created an attachment (id=11263)
 Same as previous patch. This time using requested 'cvs diff -u' command.
 
+
+------- Additional Comments From MHL Schulze t-online de  2002-09-26 15:35 -------
+Shouldn't Gtk::TextBuffer::get_iter_at_mark() do the referece()? Where
+does the corresponding unreference() take place?



--__--__--

Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, puchs ap univie ac at
Cc: 
Date: Thu, 26 Sep 2002 15:40:10 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 94110] Changed - proposed API additions to Glib::TimeVal

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=94110

Changed by mhl schulze t-online de 

--- shadow/94110	Wed Sep 25 16:56:53 2002
+++ shadow/94110.tmp.24502	Thu Sep 26 15:40:10 2002
@@ -54,6 +54,14 @@
 
 ------- Additional Comments From puchs ap univie ac at  2002-09-25 16:56 -------
 I must admit that I did not have a look at the include statements. The
 line including gtimer.h is present in the unpatched file if I am not
 completely mistaken. I did not put it there. After having a look at
 gtimer.h I came to the same conclusion as you: IMHO unnecessary.  
+
+------- Additional Comments From MHL Schulze t-online de  2002-09-26 15:40 -------
+In current CVS the include is not there! Neither in anoncvs as your
+patch proves with the line '+#include <glib/gtimer.h>'.
+                           ^^^
+Probably you have to update your local copy of the gtkmm module.
+
+Murray, shall I commit the changes (without the "include", of course)?



--__--__--

Message: 3
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, mike lotusland demon co uk
Cc: 
Date: Thu, 26 Sep 2002 15:56:42 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 94207] Changed - TextMark::get_iter does not do a reference on Glib::RefPtr<TextMark>().

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=94207

Changed by murrayc usa net 

--- shadow/94207	Thu Sep 26 15:35:37 2002
+++ shadow/94207.tmp.31152	Thu Sep 26 15:56:42 2002
@@ -2,13 +2,13 @@
 Product: gtkmm
 Version: 2.0
 OS: Linux
 OS Details: Redhat 7.3
 Status: NEW   
 Resolution: 
-Severity: major
+Severity: normal
 Priority: Normal
 Component: general
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: mike lotusland demon co uk               
 TargetMilestone: ---
 URL: 



--__--__--

Message: 4
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, puchs ap univie ac at
Cc: 
Date: Thu, 26 Sep 2002 16:00:56 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 94110] Changed - proposed API additions to Glib::TimeVal

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=94110

Changed by murrayc usa net 

--- shadow/94110	Thu Sep 26 15:40:10 2002
+++ shadow/94110.tmp.8147	Thu Sep 26 16:00:56 2002
@@ -62,6 +62,9 @@
 In current CVS the include is not there! Neither in anoncvs as your
 patch proves with the line '+#include <glib/gtimer.h>'.
                            ^^^
 Probably you have to update your local copy of the gtkmm module.
 
 Murray, shall I commit the changes (without the "include", of course)?
+
+------- Additional Comments From murrayc usa net  2002-09-26 16:00 -------
+I like to give Daniel Elstner a chance to approve glibmm changes first.



--__--__--

Message: 5
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, pcrosby pobox com
Cc: 
Date: Thu, 26 Sep 2002 16:58:26 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 92511] Changed - Pango::Context::set_font_description causes app to abort when layout is drawn

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=92511

Changed by mhl schulze t-online de 

--- shadow/92511	Thu Sep 19 09:58:25 2002
+++ shadow/92511.tmp.15217	Thu Sep 26 16:58:26 2002
@@ -97,6 +97,26 @@
 Do you see any warnings? Ifo so, does the debugger show anything
 useful when you run with --g-fatal-warnings?
 
 
 ------- Additional Comments From murrayc usa net  2002-09-19 09:58 -------
 Please respond.
+
+------- Additional Comments From MHL Schulze t-online de  2002-09-26 16:58 -------
+I investigated this and came to result that this is not a bug. The
+font description you create is not valid, because its size is 0.
+Because you replace the context's default font (= the fallback font
+for the layout you created from this context) with an invalid font,
+the layout doesn't find a valid font it can use for rendering.
+
+Replacing
+
+Pango::FontDescription font("fixed");
+
+with
+
+Pango::FontDescription font("Courier 12");
+
+makes your example work on my system. The "default size 0" phenomenon
+is documented here:
+
+file:///home/martin/build/gtkmm-1.3/docs/reference/html/class_Pango__FontDescription.html#a8



--__--__--

Message: 6
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Thu, 26 Sep 2002 17:35:45 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 94110] Changed - proposed API additions to Glib::TimeVal

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=94110

Changed by puchs ap univie ac at 

--- shadow/94110	Thu Sep 26 16:00:56 2002
+++ shadow/94110.tmp.20239	Thu Sep 26 17:35:45 2002
@@ -65,6 +65,14 @@
 Probably you have to update your local copy of the gtkmm module.
 
 Murray, shall I commit the changes (without the "include", of course)?
 
 ------- Additional Comments From murrayc usa net  2002-09-26 16:00 -------
 I like to give Daniel Elstner a chance to approve glibmm changes first.
+
+------- Additional Comments From puchs ap univie ac at  2002-09-26 17:35 -------
+Either I have messed up the cvs update (and I am sure I updated the
+sources before doing the diff) or (which is more likely) I copied the
+line without noticing it from the .cc file to the header file when I
+moved some functions. I will be more careful next time.
+
+Sorry



--__--__--

Message: 7
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Thu, 26 Sep 2002 18:11:21 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 94207] Changed - TextMark::get_iter does not do a reference on Glib::RefPtr<TextMark>().

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=94207

Changed by mike lotusland demon co uk 

--- shadow/94207	Thu Sep 26 15:56:42 2002
+++ shadow/94207.tmp.25276	Thu Sep 26 18:11:21 2002
@@ -33,6 +33,20 @@
 Same as previous patch. This time using requested 'cvs diff -u' command.
 
 
 ------- Additional Comments From MHL Schulze t-online de  2002-09-26 15:35 -------
 Shouldn't Gtk::TextBuffer::get_iter_at_mark() do the referece()? Where
 does the corresponding unreference() take place?
+
+------- Additional Comments From mike lotusland demon co uk  2002-09-26 18:11 -------
+You catch me a little late in the evening - so be it :-) I'm
+relatively  new to C++, as well as gtkmm. That aside, reading the
+documentation, doesn't the unreference() of
+'Glib::RefPtr<TextMark>(this)' occur when it goes out of scope in
+Gtk::TextMark::get_iter()?
+
+I understood (maybe :-)) that Gtk::TextBuffer::get_iter_at_mark()
+would normally be called with a Glib:RePtr<> that had been constructed
+in such a way as to have had a 'reference()' conducted. The
+constructor 'Glib::Refptr(T_CppObject* pCppObject)' as far as I can
+see in refptr.h is only for use with create* methods - don't they do
+their own references? 



--__--__--

Message: 8
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Thu, 26 Sep 2002 18:25:31 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 94207] Changed - TextMark::get_iter does not do a reference on Glib::RefPtr<TextMark>().

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=94207

Changed by mike lotusland demon co uk 

--- shadow/94207	Thu Sep 26 18:11:21 2002
+++ shadow/94207.tmp.27160	Thu Sep 26 18:25:31 2002
@@ -47,6 +47,12 @@
 I understood (maybe :-)) that Gtk::TextBuffer::get_iter_at_mark()
 would normally be called with a Glib:RePtr<> that had been constructed
 in such a way as to have had a 'reference()' conducted. The
 constructor 'Glib::Refptr(T_CppObject* pCppObject)' as far as I can
 see in refptr.h is only for use with create* methods - don't they do
 their own references? 
+
+------- Additional Comments From mike lotusland demon co uk  2002-09-26 18:25 -------
+Yes, it is a little late in the evening :-) WhatI meant to say was -
+after construction via 'Glib::RefPtr<TextMark>(this)' - as far as I
+can see no 'reference()' is conducted, but an a 'unreference()' *will*
+be when it goes out of scope in 'get_iter()' - no? 



--__--__--

Message: 9
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, webmaster nachtwind net
Cc: 
Date: Fri, 27 Sep 2002 03:30:24 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 94169] Changed - Gdk-API/Docs lacks methods screen_*()

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=94169

Changed by murrayc usa net 

--- shadow/94169	Wed Sep 25 08:32:47 2002
+++ shadow/94169.tmp.5937	Fri Sep 27 03:30:24 2002
@@ -38,6 +38,11 @@
 "move(...)"
 
 
 Thank you for your time,
 
 Leslie
+
+------- Additional Comments From murrayc usa net  2002-09-27 03:30 -------
+I would like you to try to provide a patch. That would make it more
+likely that this gets fixed. You probably need to edit the .hg and
+.ccg files.



--__--__--

Message: 10
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 27 Sep 2002 03:40:02 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 94239] Changed - documentation addition for io_connect()

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=94239

Changed by murrayc usa net 

--- shadow/94239	Thu Sep 26 09:26:36 2002
+++ shadow/94239.tmp.7133	Fri Sep 27 03:40:02 2002
@@ -33,6 +33,9 @@
 
 
 ------- Additional Comments From ebuddington wesleyan edu  2002-09-26 09:26 -------
 Created an attachment (id=11273)
 Revised patch with correct boolean
 
+
+------- Additional Comments From murrayc usa net  2002-09-27 03:40 -------
+Please patch the Changelog, or I have to do it for you.



--__--__--

Message: 11
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, szombath bifab de
Cc: 
Date: Fri, 27 Sep 2002 03:41:35 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 91410] Changed - Gtk::Menu: possible memory leak.

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=91410

Changed by murrayc usa net 

--- shadow/91410	Mon Sep 23 06:50:27 2002
+++ shadow/91410.tmp.7311	Fri Sep 27 03:41:35 2002
@@ -154,6 +154,9 @@
 Is this bug still a bug? I am confused when reading the previous
 discussion, and I don't know how to interpert the output of the test
 program.
 
 ------- Additional Comments From murrayc usa net  2002-09-23 06:50 -------
 Please respond.
+
+------- Additional Comments From murrayc usa net  2002-09-27 03:41 -------
+Please respond.



--__--__--

Message: 12
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, pcrosby pobox com
Cc: 
Date: Fri, 27 Sep 2002 03:44:03 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 92511] Changed - Pango::Context::set_font_description causes app to abort when layout is drawn

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=92511

Changed by murrayc usa net 

--- shadow/92511	Thu Sep 26 16:58:26 2002
+++ shadow/92511.tmp.7613	Fri Sep 27 03:44:03 2002
@@ -1,13 +1,13 @@
 Bug#: 92511
 Product: gtkmm
 Version: 2.0
 OS: Linux
 OS Details: Linux merckx 2.4.19-rc5 #1 Thu Aug 1 14:59:31 PDT 2002 i686 unknown
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: NOTABUG
 Severity: normal
 Priority: Normal
 Component: general
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: pcrosby pobox com               
 TargetMilestone: ---
@@ -117,6 +117,10 @@
 Pango::FontDescription font("Courier 12");
 
 makes your example work on my system. The "default size 0" phenomenon
 is documented here:
 
 file:///home/martin/build/gtkmm-1.3/docs/reference/html/class_Pango__FontDescription.html#a8
+
+------- Additional Comments From murrayc usa net  2002-09-27 03:44 -------
+Martin, ask on the #bugs irc.gnome.org channel for the right to close
+bugs. Thanks.



--__--__--

Message: 13
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, mike lotusland demon co uk
Cc: 
Date: Fri, 27 Sep 2002 05:51:30 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 94207] Changed - TextMark::get_iter does not do a reference on Glib::RefPtr<TextMark>().

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=94207

Changed by murrayc usa net 

--- shadow/94207	Thu Sep 26 18:25:31 2002
+++ shadow/94207.tmp.24386	Fri Sep 27 05:51:30 2002
@@ -1,13 +1,13 @@
 Bug#: 94207
 Product: gtkmm
 Version: 2.0
 OS: Linux
 OS Details: Redhat 7.3
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: normal
 Priority: Normal
 Component: general
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: mike lotusland demon co uk               
 TargetMilestone: ---
@@ -53,6 +53,12 @@
 
 ------- Additional Comments From mike lotusland demon co uk  2002-09-26 18:25 -------
 Yes, it is a little late in the evening :-) WhatI meant to say was -
 after construction via 'Glib::RefPtr<TextMark>(this)' - as far as I
 can see no 'reference()' is conducted, but an a 'unreference()' *will*
 be when it goes out of scope in 'get_iter()' - no? 
+
+------- Additional Comments From murrayc usa net  2002-09-27 05:51 -------
+That's the correct fix. Applied. It looks unusual, but that's just
+because it's unusual to make a RefPtr-ed this. Remember, that this
+isn't necessary outside of the class because that copy constructor is
+not public anyway.




--__--__--

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


End of Gtkmm-forge Digest



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