mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
8b43034cef
|NS_ConvertUTF8toUCS2| |NS_ConvertASCIItoUCS2| |NS_ConvertUCS2toUTF8| |ns[C]LiteralString| |ns[C]PromiseFlatString| to explicit |get()|. Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!). Bug=53057, r=alecf, sr=scc |
||
---|---|---|
.. | ||
.cvsignore | ||
bufferRoutines.h | ||
Makefile.in | ||
makefile.win | ||
MANIFEST | ||
nsStr.cpp | ||
nsStr.h | ||
nsString2.cpp | ||
nsString2.h | ||
nsString.cpp | ||
nsString.h | ||
nsXPIDLString.cpp | ||
nsXPIDLString.h | ||
README.html |
<html> <!-- - The contents of this file are subject to the Mozilla Public - License Version 1.1 (the "License"); you may not use this file - except in compliance with the License. You may obtain a copy of - the License at http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or - implied. See the License for the specific language governing - rights and limitations under the License. - - The Original Code is Mozilla. - - The Initial Developer of the Original Code is Netscape - Communications. Portions created by Netscape Communications are - Copyright (C) 2001 by Netscape Communications. All - Rights Reserved. - - Contributor(s): - Scott Collins <scc@mozilla.org> (original author) --> <body> <h1><span class="LXRSHORTDESC">original string implementations soon to be replaced (the names you are using will still be good)</span></h1> <p> <span class="LXRLONGDESC">These are the original string implementations by rickg and others. Most of the code here will be made obsolete by the new shared-buffer string (see bug <a href="http://bugzilla.mozilla.org/show_bug.cgi?id=53065">#53065</a>). For the most part, this change is intended to be transparent to clients. The type names you are using for strings now, e.g., nsString, nsAutoString, nsXPIDLString, will still be good, they will just refer to better, but compatible, implementations. If you're interested in learning how strings work, you probably want to start with <a href="http://lxr.mozilla.org/seamonkey/source/string/public/nsAReadableString.h">nsAReadableString</a>.</span> </p> </body> </html>