[gtkmm] Gtkmm-forge digest, Vol 1 #324 - 2 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 93787] Changed - Outputting ustring with operator << converts implicitly (bugzilla-daemon widget gnome org)
   2. [Bug 100499] Changed - cvs build fails due to lack of XML/Parser.pm when generating docs. (bugzilla-daemon widget gnome org)

--__--__--

Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, olau hardworking dk
Cc: 
Date: Sat, 28 Dec 2002 19:27:28 -0500 (EST)
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 daniel elstner gmx net 

--- shadow/93787	Wed Nov 13 11:04:13 2002
+++ shadow/93787.tmp.14254	Sat Dec 28 19:27:28 2002
@@ -533,6 +533,35 @@
 
 ------- Additional Comments From murrayc usa net  2002-11-13 11:03 -------
 I have added this text to the "Internationalization and Translation"
 chapter. I have also added a link to the Glib::ustring reference
 documentation to the Basics chapter. That reference documentation
 talks about iostreams too. Thanks.
+
+------- Additional Comments From daniel elstner gmx net  2002-12-28 19:27 -------
+Re.
+
+ output.imbue(std::locale("")); // use the user's locale for this str
+
+That line definitely is necessary in standard C++, unless you
+explicitely installed a global default locale via
+std::locale::global(std::locale(""));
+
+However, I think writing code that depends on global settings to work
+correctly is generally a bad idea -- the explicit imbue() will always
+work.  And I'd consider the ability to use stream-specific locales an
+important feature.  For instance, configuration files should be
+locale-independent.  Again, to avoid depending on global settings use:
+
+  output.imbue(std::locale::classic());
+
+and do _not_ use Glib::locale_to_utf8(), because the classic locale is
+based on ASCII which is a subset of UTF-8.
+
+Unfortunately libstdc++-v2 (the one that comes with g++ 2.95.x)
+doesn't implement std::locale and all streams do always use the global
+locale installed by setlocale() (which has no effect in libstdc++-v3).
+ Thus you need to #ifdef around the std::locale stuff for now.  But
+that won't solve that config file problem -- you have to convert
+floats to strings manually to get it right, seriously.
+
+I hope I could clarify matters a bit ;)



--__--__--

Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, r_kinder yahoo com
Cc: 
Date: Sun, 29 Dec 2002 10:21:52 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 100499] Changed - cvs build fails due to lack of XML/Parser.pm when generating docs.

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

Changed by murrayc usa net 

--- shadow/100499	Fri Dec 27 13:20:29 2002
+++ shadow/100499.tmp.6960	Sun Dec 29 10:21:52 2002
@@ -1,12 +1,12 @@
 Bug#: 100499
 Product: gtkmm
 Version: 2.2
 OS: Linux
 OS Details: 
-Status: NEEDINFO   
+Status: CLOSED   
 Resolution: 
 Severity: normal
 Priority: Normal
 Component: build
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: r_kinder yahoo com               
@@ -85,6 +85,9 @@
 not sure if the test always suceeds, particularly with Perl 5.8.
 
 * scripts/macros.m4 (GTKMM_CHECK_PERL): Some minor corrections.
 
 It'd be really cool if someone could confirm whether this check works
 or not.
+
+------- Additional Comments From murrayc usa net  2002-12-29 10:21 -------
+Reopen if it's still a problem.




--__--__--

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