[gtkmm] Gtkmm-forge digest, Vol 1 #234 - 7 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 93694] Changed - Glib::Dispatcher and arbitrary MainContext (bugzilla-daemon widget gnome org)
   2. [Bug 93694] Changed - Glib::Dispatcher and arbitrary MainContext (bugzilla-daemon widget gnome org)
   3. [Bug 93694] Changed - Glib::Dispatcher and arbitrary MainContext (bugzilla-daemon widget gnome org)
   4. [Bug 93694] Changed - Glib::Dispatcher and arbitrary MainContext (bugzilla-daemon widget gnome org)
   5. [Bug 93694] Changed - Glib::Dispatcher and arbitrary MainContext (bugzilla-daemon widget gnome org)
   6. [Bug 93787] Changed - Exception what()s are in locale encoding, not UTF-8 (bugzilla-daemon widget gnome org)
   7. [Bug 93787] Changed - Outputting ustring with operator << converts implicitly (bugzilla-daemon widget gnome org)

--__--__--

Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Sat, 21 Sep 2002 04:59:56 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 93694] Changed - Glib::Dispatcher and arbitrary MainContext

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=93694

Changed by puchs ap univie ac at 

--- shadow/93694	Fri Sep 20 10:46:56 2002
+++ shadow/93694.tmp.29696	Sat Sep 21 04:59:56 2002
@@ -43,6 +43,11 @@
 ------- Additional Comments From murrayc usa net  2002-09-20 10:28 -------
 Yes, an example would probably be helpful.
 
 ------- Additional Comments From puchs ap univie ac at  2002-09-20 10:46 -------
 I will clean up and comment the example tomorrow and attach it to this
 bug as another patch against the cvs tree.
+
+------- Additional Comments From puchs ap univie ac at  2002-09-21 04:59 -------
+Created an attachment (id=11199)
+New complete patch. includes modifications in examples/threads/Makefile.am for now dispatcher example (next attachment)
+



--__--__--

Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Sat, 21 Sep 2002 05:01:26 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 93694] Changed - Glib::Dispatcher and arbitrary MainContext

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=93694

Changed by puchs ap univie ac at 

--- shadow/93694	Sat Sep 21 04:59:56 2002
+++ shadow/93694.tmp.30026	Sat Sep 21 05:01:26 2002
@@ -48,6 +48,11 @@
 bug as another patch against the cvs tree.
 
 ------- Additional Comments From puchs ap univie ac at  2002-09-21 04:59 -------
 Created an attachment (id=11199)
 New complete patch. includes modifications in examples/threads/Makefile.am for now dispatcher example (next attachment)
 
+
+------- Additional Comments From puchs ap univie ac at  2002-09-21 05:01 -------
+Created an attachment (id=11200)
+new file: examples/thread/dispatcher2.cc (additional dispatcher example)
+



--__--__--

Message: 3
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Sat, 21 Sep 2002 05:20:37 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 93694] Changed - Glib::Dispatcher and arbitrary MainContext

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=93694

Changed by puchs ap univie ac at 

--- shadow/93694	Sat Sep 21 05:01:26 2002
+++ shadow/93694.tmp.32332	Sat Sep 21 05:20:37 2002
@@ -53,6 +53,18 @@
 
 
 ------- Additional Comments From puchs ap univie ac at  2002-09-21 05:01 -------
 Created an attachment (id=11200)
 new file: examples/thread/dispatcher2.cc (additional dispatcher example)
 
+
+------- Additional Comments From puchs ap univie ac at  2002-09-21 05:20 -------
+Could not build todays CVS tree because some directory was missing 
+(tests/dialog or something similar) and autogen.sh complained.The
+files that were also included in the first patch (dispatcher.cc and
+dispatcher.h from glib/glibmm) built last time I tried (before I
+submitted the first patch) and the new example builds fine with a
+patched version of gtkmm-1.3.23, which is the same as the cvs version
+in the critical areas. The only minor change to dispatcher.h is the
+addition of "explicit". The only thing I could not try to build was
+the modified Makefile.am in the examples/thread directory, but I am
+pretty sure its fine.



--__--__--

Message: 4
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Sat, 21 Sep 2002 07:09:39 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 93694] Changed - Glib::Dispatcher and arbitrary MainContext

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=93694

Changed by puchs ap univie ac at 

--- shadow/93694	Sat Sep 21 05:20:37 2002
+++ shadow/93694.tmp.12328	Sat Sep 21 07:09:39 2002
@@ -65,6 +65,14 @@
 submitted the first patch) and the new example builds fine with a
 patched version of gtkmm-1.3.23, which is the same as the cvs version
 in the critical areas. The only minor change to dispatcher.h is the
 addition of "explicit". The only thing I could not try to build was
 the modified Makefile.am in the examples/thread directory, but I am
 pretty sure its fine.
+
+------- Additional Comments From puchs ap univie ac at  2002-09-21 07:09 -------
+Line 89 of the example should better be something like
+    
+// Create a joinable thread -- it needs to be joined, otherwise its a
+memory leak
+
+sorry



--__--__--

Message: 5
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, puchs ap univie ac at
Cc: 
Date: Sat, 21 Sep 2002 07:55:54 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 93694] Changed - Glib::Dispatcher and arbitrary MainContext

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=93694

Changed by daniel elstner gmx net 

--- shadow/93694	Sat Sep 21 07:09:39 2002
+++ shadow/93694.tmp.17809	Sat Sep 21 07:55:54 2002
@@ -1,12 +1,12 @@
 Bug#: 93694
 Product: gtkmm
 Version: 2.0
 OS: All
 OS Details: 
-Status: NEW   
+Status: ASSIGNED   
 Resolution: 
 Severity: enhancement
 Priority: Normal
 Component: general
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: puchs ap univie ac at               
@@ -73,6 +73,14 @@
 Line 89 of the example should better be something like
     
 // Create a joinable thread -- it needs to be joined, otherwise its a
 memory leak
 
 sorry
+
+------- Additional Comments From daniel elstner gmx net  2002-09-21 07:55 -------
+I just applied your first patch with some modifications (mostly
+reducing code duplication).  Thanks.  I'm going to look at your
+example now.
+
+Erm, try cvs update -Pd to get new directories.
+



--__--__--

Message: 6
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, olau hardworking dk
Cc: 
Date: Sat, 21 Sep 2002 11:52:55 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 93787] Changed - Exception what()s are in locale encoding, not UTF-8

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=93787

Changed by daniel elstner gmx net 

--- shadow/93787	Fri Sep 20 13:43:09 2002
+++ shadow/93787.tmp.14346	Sat Sep 21 11:52:55 2002
@@ -30,6 +30,12 @@
 So if not too much Gtkmm application code depends on the format of the
 what() messages (I guess this is the case for GTK+ itself), I propose
 undoing the conversion in the wrapper with locale_to_utf8.
 
 Else, at least it badly needs documenting. But I won't provide a patch
 before a decision is made. :-)
+
+------- Additional Comments From daniel elstner gmx net  2002-09-21 11:52 -------
+Huh?  The messages are of course supposed to be UTF-8 encoded -- I
+never encountered anything else.  Could you provide a small test case,
+please?
+



--__--__--

Message: 7
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Sat, 21 Sep 2002 14:45:25 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 93787] Changed - Outputting ustring with operator << converts implicitly

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=93787

Changed by olau hardworking dk 

--- shadow/93787	Sat Sep 21 11:52:55 2002
+++ shadow/93787.tmp.2795	Sat Sep 21 14:45:25 2002
@@ -9,13 +9,13 @@
 Priority: Normal
 Component: general
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: olau hardworking dk               
 TargetMilestone: ---
 URL: 
-Summary: Exception what()s are in locale encoding, not UTF-8
+Summary: Outputting ustring with operator << converts implicitly
 
 This results in problems with displaying the error in a user-friendly way
 (i.e. using a message dialog instead of just outputting to a perhaps
 non-existing terminal). For instance, catching a Glib::Error and
 concatenating the return value of the what() member with some extra
 information will usually not give a proper UTF-8 ustring when either GTK+
@@ -36,6 +36,24 @@
 
 ------- Additional Comments From daniel elstner gmx net  2002-09-21 11:52 -------
 Huh?  The messages are of course supposed to be UTF-8 encoded -- I
 never encountered anything else.  Could you provide a small test case,
 please?
 
+
+------- Additional Comments From olau hardworking dk  2002-09-21 14:45 -------
+While constructing the test example, I found out that the what()
+strings actually are in UTF-8 (the examples in the GTK+ documentation
+without conversions must be buggy, then). So the problem is that the
+function I'm using for composing the error message uses an
+ostringstream for converting the arguments generically, like:
+
+  compose("%1. Check your installation or contact the distributor.",
+          ex.what());
+
+And ustrings are silently converted to the locale encoding when using
+operator <<. I've changed the subject line to match this.
+
+IMHO this is too clever. Another scenario where this might silently
+break things is outputting to files. What about refrain from doing the
+conversion and instead emphasizing that output to console must be
+converted?




--__--__--

_______________________________________________
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]