glibmm r433 - in trunk: . build_shared glib/glibmm



Author: daniel
Date: 2007-08-12 22:09:00 +0100 (Sun, 12 Aug 2007)
New Revision: 433
ViewCVS link: http://svn.gnome.org/viewcvs/glibmm?rev=433&view=rev

Modified:
   trunk/ChangeLog
   trunk/build_shared/Makefile_build.am_fragment
   trunk/glib/glibmm/ustring.cc
   trunk/glib/glibmm/ustring.h
Log:
* build_shared/Makefile_build.am_fragment (all_includes): Add
-I$(top_builddir) in order to allow <config.h> to be included.

* glib/glibmm/ustring.{cc,h}: Include <config.h> for the
definition of SIZEOF_WCHAR_T.
(ustring::FormatStream::stream): Replace accessor with template
method that passes its argument onto the stream.  Add overload
for "const char*" to enable the use of UTF-8 string literals as
arguments to ustring::format().
(ustring::FormatStream::FormatStream): Handle exceptions on
failure to initialize the locale gracefully.
(ustring::format): Adapt to the modified stream() method.
(operator<<): Add missing call to ustring::raw() to get the
number of bytes instead of code points.  Oops.





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