-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Lubos
Em 05-03-2012 09:29, Lubos Lunak escreveu:
On Tuesday 28 of February 2012, Lubos Lunak wrote:
I'd like to revisit the choice of considering string literals to be either
ASCII or UTF-8, as discussed in the thread about removing
RTL_CONSTASCII_USTRINGPARAM. While I was ambivalent about it, I now think
we should go with ASCII only, unless explicitly marked otherwise.
...
For these reasons I'd like to push the attached patches (changing OUString
docs to require ASCII in plain string literals, adding ASCII range checks,
adding OUString operator overloads for string literals and cleaning up
usage of the macro in sw's ww8 filter as a test).
As the patch with exception throwing seems to be the only one with issues,
I've pushed the rest.
Are we going to remove RTL_CONSTASCII_USTRINGPARAM from all the code?
There a 33599(*) lines in whole code... Can it be automated?
Thanks
(*) git grep RTL_CONSTASCII_USTRINGPARAM | wc -l
- --
Olivier Hallot
Founder, Board of Directors Member - The Document Foundation
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJPX0loAAoJEJp3R7nH3vLxPLkH/10A9mSTyz/PAyZkz/BFHvBO
4ucwvVOar5rKu6mhZlU3reVcgaWGmeU/se/gUsh+ZoL/q5fvdVUOLP7QYCQPV0qj
IEW4i/2oq5FVpX5KUQTHHB/OXwYD/B6g0xa8g/aGGH/DzQFeak8DGJ9FlZck2b/M
regejFfYFwOi7UAxShPjYCk+LIjZmWft0i3Rm8jLtwFXWkzwz999Wq7jQCdSjHzN
sLgFC6Viy15wLnzO0p4Lz5v1GE9ndne0Hs7a4YO740FAi/hhSbtWAJJ0rIIy+BZE
m2QKG+6JhC54gd5VFmSN/oxAbSvt/7rfz5s1acnIFDtTELOj6KfCq4uBrTtqFmE=
=hgN1
-----END PGP SIGNATURE-----
Context
Re: String literals, ASCII vs UTF-8 · Stephan Bergmann
Re: String literals, ASCII vs UTF-8 · Lubos Lunak
- Re: String literals, ASCII vs UTF-8 · Olivier Hallot
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.