Граф коммитов

913 Коммитов

Автор SHA1 Сообщение Дата
bsmedberg%covad.net beadf6cd74 Bug 288626 - Begin switch from MOZILLA_STRICT_API to MOZILLA_INTERNAL_API rs=darin for the Makefile var additions. Should not affect the build yet, until we flip a few switches at the end. 2005-04-01 18:22:57 +00:00
timeless%mozdev.org e05ed3d0ac Bug 284034 nsReadableUtils ToNew* methods crash on OOM
patch by ajschult@verizon.net r=darin sr=darin
2005-03-01 05:14:22 +00:00
dbaron%dbaron.org 34a6bff9a1 Calculator should not underestimate converter. b=241440 Patch from <wind.li@sun.com>. r=dbaron sr=dveditz a=dveditz 2005-02-17 20:17:13 +00:00
darin%meer.net c4287b12c7 fixes bug 277549 "Out of memory in MutatePrep is not well handled" r=dveditz sr=dbaron a=asa 2005-02-16 07:20:20 +00:00
darin%meer.net 54cde78765 fixes bug 281056 "make --disable-v1-string-abi build again" r+sr=bryner 2005-02-07 04:00:02 +00:00
darin%meer.net dd78f625f5 landing xpcom patch for bug 235499 "re-enable string buffer sharing between C++ and JS in xpconnect" r=dbaron sr=jst 2005-02-02 22:18:37 +00:00
bryner%brianryner.com 742738a46c Add --disable-v1-string-abi option to remove backwards-compatible support for the nsAString vtable. Bug 273424, r+sr=darin. 2005-01-24 16:44:41 +00:00
cbiesinger%web.de 13bd35b35a Bug 274086 fix "unused variable" warning in opt builds, which prevent building
with -Werror
patch by Crispin Flowerday <crispin@flowerday.cx> r=bsmedberg sr=darin
2004-12-15 17:25:42 +00:00
darin%meer.net 9aee2fe67a fixes bug 270110 "Add versions of nsDependentString and friends to the Gecko SDK" r=bsmedberg 2004-11-30 00:57:24 +00:00
darin%meer.net e149e8077b fixes bug 271630 "XPCOM glue broken on Linux/PPC [monkeypox orange]" r=bsmedberg 2004-11-30 00:28:48 +00:00
bryner%brianryner.com 2a500b8d07 Reduce string copying and allocation in the parser by only copying the scanner buffer when we need to mutate the string. Allow a nsDependentString / nsDependentSubstring to be created without being bound to anything. Move StripChar() onto nsSubstring from nsString. Bug 269853, r=jst, sr=darin. 2004-11-25 07:03:20 +00:00
timeless%mozdev.org 6abcae9c71 Bug 270768 spelling
rs=brendan
2004-11-24 00:54:11 +00:00
darin%meer.net 90246214db fixes bug 264274 "support dependent strings in frozen string API" r=biesi sr=bsmedberg 2004-11-16 04:44:57 +00:00
bsmedberg%covad.net 82022506fd Bug 267767 - Make XPCOM memory management functions frozen exports. r=darin sr=shaver 2004-11-12 19:26:37 +00:00
darin%meer.net 52ac61d678 landing patch for bug 262218 "libxpcom.so should only export frozen symbols" r=bsmedberg sr=bryner 2004-10-25 19:34:45 +00:00
bzbarsky%mit.edu e4430de4cc Fix nsPageFrame to not set string lengths to negative numbers, and fix string
code to not go into an infinite loop if someone tries it.  Bug 263365,
r+sr=darin
2004-10-19 21:46:45 +00:00
darin%meer.net e5a653f18b output number of leaked string buffers 2004-09-07 19:57:20 +00:00
bryner%brianryner.com 60809809d5 HPUX aCC A.01.21 can't deal with the literal string template, so disable it, at least for this compiler version. Bug 239465, r=dbaron. 2004-09-05 22:55:34 +00:00
cbiesinger%web.de c3d23a6ea2 Bug 258014 make @param names match function signature
r+sr=darin
2004-09-05 13:25:51 +00:00
db48x%yahoo.com 71f9388bc5 bug 244956: Small correction to comments in nsStringAPI.h
patch by Jonathan Watt <jonathan.watt@strath.ac.uk>, r/sr=shaver
2004-07-30 16:00:59 +00:00
cbiesinger%web.de 07e6f643be adding missing NS_COM to fix win bustage 2004-07-25 13:58:47 +00:00
cbiesinger%web.de 95f74ea211 remove InsertWithConversion
Bug 113234 r=darin sr=dbaron
2004-07-25 12:25:43 +00:00
cbiesinger%web.de 8148905a30 Bug 113243 Get rid of (Compare|Equals)WithConversion
r=darin sr=dbaron
2004-07-25 12:23:28 +00:00
cbiesinger%web.de edd98105f6 Bug 252541 remove nsString::IsSpace and nsString::IsASCII
r=darin sr=dbaron
2004-07-25 12:12:39 +00:00
darin%meer.net 71af9d4396 fixes bug 248695 "string code misuses realloc" r=timeless sr=dbaron 2004-07-19 20:01:42 +00:00
bryner%brianryner.com 23089547be Add a NS_FASTCALL macro that specifies regparm(3) and stdcall on gcc/x86 to improve performance (passing up to 3 arguments in registers instead of on the stack, and having the caller pop any stack arguments). Apply NS_FASTCALL to our most frequently called non-public methods and functions. Also add NS_CDECL to explicitly specify the default calling convention and make it part of NS_IMETHOD, since xptcall can't deal with NS_FASTCALL. Bug 249652, r=darin, sr=dbaron. 2004-07-14 22:14:34 +00:00
roc+%cs.cmu.edu 442a384196 Bug 226439. Make nsCharTraits<PRUnichar>::ASCIIToLower handle Unicode characters whose lowercase form is ASCII. r+sr=darin 2004-06-16 23:29:49 +00:00
cbiesinger%web.de c36edfc815 fixing bustage... 2004-06-11 16:39:38 +00:00
cbiesinger%web.de a4396ff7b4 bug 245673 named literal strings should be const
r+sr=darin
2004-06-11 15:05:29 +00:00
jst%mozilla.jstenback.com 7d0180067b Fixing bug 245930. Don't crash if attempting to replace data past the end of a string. r=dbaron@dbaron.org, sr=darin@meer.net 2004-06-08 22:30:11 +00:00
roc+%cs.cmu.edu 3e1ec49312 fixing bustage AGAIN. 2004-06-06 04:42:45 +00:00
roc+%cs.cmu.edu 250f041a52 fixing bustage. 2004-06-06 03:38:35 +00:00
roc+%cs.cmu.edu 07612ec0fd Bug 226439. Add ASCII and Literal versions of Append, EqualsIgnoreCase, and Assign. r+sr=darin 2004-06-06 02:17:00 +00:00
timeless%mozdev.org 6db62762d9 Bug 242382 Trunk build failure in nsObjectFrame.cpp
patch by roland.mainz@nrubsig.org r=roc sr=roc
2004-05-18 04:10:43 +00:00
jst%mozilla.jstenback.com ccbb6dceef Fixing bug 243484. Adding 'count' out params to ToNewUTF8String() and UTF8ToNewUnicode() that tells the caller how many units (8 or 16 bit) that was returned. r=dbaron@dbaron.org, sr=darin@meer.net 2004-05-13 17:45:03 +00:00
bryner%brianryner.com f129c38c01 Fix XPCOM_BREAK_ON_LOAD by restoring pre-string-branch Find() behavior when starting index is negative. Bug 243429, r+sr=darin 2004-05-12 19:26:30 +00:00
smontagu%smontagu.org bd087f358d Add code comments from bug 242315 comment 17. r+sr=bzbarsky. 2004-05-07 22:21:26 +00:00
roc+%cs.cmu.edu 0cd525a091 Bug 226439. Add EqualsASCII(char*) string method that compares with a null-terminated char* in a single pass. Have the non-templated EqualsLiteral use it. r+sr=dbaron 2004-04-30 12:05:14 +00:00
roc+%cs.cmu.edu 81bc2e5a85 Fix btek bustage ... I hope. 2004-04-28 19:23:58 +00:00
roc+%cs.cmu.edu aaea444448 Bug 226439. Some small conversion to use EqualsLiteral to see effect on code size, r+sr=dbaron. Additionally, some comments to clarify that EqualsLiteral is only for actual literals, and to properly credit Corey Kosak who showed me the template trick. Also re-enabled the template for MSVC++ 7.1, which can apparently handle it. 2004-04-28 17:48:02 +00:00
roc+%cs.cmu.edu 97abad3f9f Fixing bustage ... MSVC can't handle the array size template. 2004-04-24 22:46:24 +00:00
roc+%cs.cmu.edu a1950ea73d Bug 226439. Use templates for ultra-efficient EqualsLiteral string method. r=darin,sr=dbaron. THIS MAY CAUSE BUSTAGE. DO NOT BE ALARMED. 2004-04-24 22:02:22 +00:00
darin%meer.net edc1e0d23c landing patch for bug 239716 "inout wstring methods are difficult to implement with nsEmbedString" patch by marco@gnome.org r=darin sr=dbaron 2004-04-20 00:21:34 +00:00
cls%seawood.org 5249125cc3 Explicitly declare inlined function as inline & remove COM declaration.
Fixing native mingw build bustage.
Bug #240106 r=darin
2004-04-19 21:37:39 +00:00
bzbarsky%mit.edu 538c66e542 Fix RFindCharInSet to work again. Bug 240837, r+sr=darin 2004-04-19 20:18:05 +00:00
gerv%gerv.net 31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
cbiesinger%web.de c88fe8ffac bug 235504, remove const char* version of nsCString::EqualsWithConversion,
second try
r=darin sr=dbaron
2004-04-15 20:44:53 +00:00
cbiesinger%web.de a3e0432ac4 ...and this one, too 2004-04-14 21:20:06 +00:00
cbiesinger%web.de ce0000dee3 backing out this part of my last checkin due to bustage 2004-04-14 21:19:29 +00:00
cbiesinger%web.de 6ad20397bf Bug 235504 Remove nsCString::EqualsWithConversion(const char*)
r=darin sr=dbaron
2004-04-14 20:09:30 +00:00
cbiesinger%web.de f36e49d422 fix bustage 2004-04-13 19:34:40 +00:00
cbiesinger%web.de a8c9d6354b bug 240106, add 64-bit version of nsC?String::AppendInt
r=darin sr=dbaron
2004-04-13 19:13:49 +00:00
darin%meer.net 50c5f2be4e fixes bug 239123 "exported functions in nsStringAPI.h should be frozen for 1.7 final" r=bsmedberg sr=dbaron a=asa 2004-04-11 20:52:32 +00:00
darin%meer.net 8b6ac86a2c fixes bug 239441 "AIX: Undefined symbols when linking mozilla-bin after Bug 239303" r=bsmedberg,dougt sr=dbaron a=brendan 2004-04-03 21:54:49 +00:00
darin%meer.net a4963da5ce fixes bug 238088 "Support compile-time backwards compatible nsAString in Gecko SDK" r=bsmedberg sr=dbaron a=chofmann 2004-04-01 22:39:51 +00:00
darin%meer.net d3c91aae68 fixes bug 239303 "provide basic string conversion routines for the Gecko SDK" r=bsmedberg sr=dbaron a=chofmann 2004-04-01 20:47:48 +00:00
pkw%us.ibm.com 04f59202ba Bug 237682 - AIX: Warnings about missing nsACString copy constructor
r/sr=darin@meer.net, a=asa@mozilla.org
2004-03-22 20:25:36 +00:00
darin%meer.net 7c70a6cb04 fixing a comment typo 2004-03-16 18:34:25 +00:00
darin%meer.net 1629547b88 adding null checks for bug 236003 "nsTSubstring::Equals(char *) crashes if passed a NULL pointer" r=dbaron 2004-03-09 06:23:35 +00:00
jst%mozilla.jstenback.com 7ce3ca81d5 Fixing bug 236595. Making nsAdoptingString not adopt strings that aren't owned by the string that's adopted from. Also un-inlining operator=(const self_type&). r+sr=darin@meer.net 2004-03-06 03:29:49 +00:00
darin%meer.net 6a9b4c1c76 fixes bug 235272 "RFind is broken [was: Thunderbird treats two-letter folder msf files as folders themselves]" r=jst sr=bienvenu 2004-03-04 07:54:22 +00:00
darin%meer.net c380c59f65 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
darin%meer.net 80f8efd35c fixes bug 235355 "hangs/crashes after choosing Server Settings in Mail&Newsgroup Account Settings, click o.k." r+sr=dbaron 2004-02-25 03:24:29 +00:00
darin%meer.net f6875e2d3c fixes bug 234916 "Remove global/static NS_NAMED_LITERAL_C?STRING usage [was: Firefox crashes on startup on Mac OS X]" r=jst sr=dbaron 2004-02-25 02:08:34 +00:00
darin%meer.net d3491a301b adding brackets to correct last checkin (r=gisburn) 2004-02-23 19:57:18 +00:00
darin%meer.net fb4fea465d Checking in bustage fix for SUNPRO_CC (Sun Workshop/Forte), bug=235273
Thanks to timeless and gisburn for their help.
2004-02-23 19:24:41 +00:00
timeless%mozdev.org 93ff09dd87 Bug 235207 Build failure in mozilla/xpcom/string/src/nsStringObsolete.cpp
patch by roland.mainz@nrubsig.org sr=dbaron
2004-02-23 01:43:44 +00:00
jst%mozilla.jstenback.com ea534cf241 Duh, silly me. Fixing bogus attempt at casting... 2004-02-21 01:02:26 +00:00
darin%meer.net adf6f03670 removing bogus const type qualifier to fix IRIX compiler warning (thanks to dbaron for noticing this) 2004-02-20 23:28:49 +00:00
jst%mozilla.jstenback.com add5e48c18 Fixing bug 235041. Adding nsAdoptingString, a string class that can be returned by value from functions returning malloc'ed strings, w/o the overhead of extra string copying/mallocs. r=dbaron@dbaron.org, sr=darin@meer.net 2004-02-20 23:23:35 +00:00
darin%meer.net 44ce35aebb landing patch for bug 234864 "string branch landing resulted in large spike in heap allocations (brad:A metric)" r+sr=dbaron
this patch also introduces nsTFixedString and removes CBufDescriptor.
2004-02-20 01:53:23 +00:00
darin%meer.net ac7b627975 correcting bustage fix per dbaron: "reenable that for non-gcc compilers" 2004-02-19 06:29:08 +00:00
darin%meer.net aa60ebaca5 bustage fix for gcc-2.95.3 (speedracer) and egcs-2.91.66 (btek+monkeypox) r=bz 2004-02-19 05:54:04 +00:00
darin%meer.net 6154264bd2 bustage fix for GCC 3.4 2004-02-19 04:18:18 +00:00
darin%meer.net 07f71da316 fixing OS/2 bustage from string branch landing,
nsString.h needs to continue to define IGNORE_CASE for backwards compatibility
2004-02-19 04:15:22 +00:00
darin%meer.net 8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bryner%brianryner.com 85dbf281fb Change a few more destructors in XPCOM to be non-virtual, and comment destructors that need to be virtual. Bug 229875, r=dougt, sr=dbaron. 2004-02-11 06:19:03 +00:00
dbaron%dbaron.org 36f4864d42 Speed up constructors of nsAutoString and nsCAutoString by calling nsStrPrivate::Initialize only once. b=188828 r=darin sr=alecf 2004-01-29 04:00:47 +00:00
dbaron%dbaron.org 8b1b6977cf Comment this out until we figure out what to do about nsXPIDLString's shared empty buffer handle. b=112547 2004-01-22 04:30:03 +00:00
jst%mozilla.jstenback.com fc9f3d6ea3 Fixing bug 183373. Provide XPCOM methods for accessing a shared empty string object. r=bryner@brianryner.com, sr=dbaron@dbaron.org 2004-01-21 21:36:40 +00:00
dbaron%dbaron.org 345194dd62 Fix Windows debug bustage. b=231737, 112547 2004-01-21 18:29:38 +00:00
peterv%propagandism.org f277ca4791 Rename verify to verifyThread to fix OS X debug build bustage. 2004-01-21 12:25:50 +00:00
dbaron%dbaron.org a075871e8e Assert when shared buffers are used on multiple threads. b=112547 r=jst sr=darin 2004-01-21 04:39:58 +00:00
jst%mozilla.jstenback.com 05f83fbe5d Fixing bug 230849. Making LossyCopyUTF16toASCII() and CopyASCIItoUTF8() truncate the destination even when the source is null. r=jshin@mailaps.org, sr=peterv@propagandism.org 2004-01-14 19:26:17 +00:00
peter%propagandism.org 21e7e7a67f Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 09:24:11 +00:00
dwitte%stanford.edu 857bdeb8cf fix regression due to silly casting fu.
b=225887, r=bryner, sr=alecf, a=dbaron.
2003-11-20 21:33:50 +00:00
dwitte%stanford.edu a80c072618 removing unnecessary branch.
b=225887, r=jag, sr=alecf.
2003-11-18 12:31:25 +00:00
peter%propagandism.org 93e0a01614 Restoring fix for bug 224231, didn't affect btek's Tp. 2003-11-02 12:58:29 +00:00
peter%propagandism.org 0b431feb53 Back out a part of the fix for bug 224231 to see if it affects btek's Tp. 2003-11-02 11:59:54 +00:00
peter%propagandism.org 8658999689 Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 09:35:48 +00:00
timeless%mozdev.org 346f57ac0a Bug 221826 only create stack objects in Cut if they'll be used
r=dbaron sr=dbaron
2003-10-12 23:28:31 +00:00
peter%propagandism.org 4c00c9dd8c trying to fix bustage. 2003-10-09 17:02:05 +00:00
peter%propagandism.org 9059682e5b Move voidable string into xpcom. Part of fix for bug 221387 (XPathExpression.createExpression doesn't throw NAMESPACE_ERR). r=bz, sr=dbaron. 2003-10-09 16:15:29 +00:00
cls%seawood.org 1b51ba858c Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules. 2003-08-16 00:42:35 +00:00
cls%seawood.org 74a903bcdb Move mozilla/string into mozilla/xpcom/.
Bug #214700 r=dougt sr=leaf a=mkaply
2003-08-14 23:50:21 +00:00
dougt%meer.net ed09f93043 Fix for 205023. Adds nsTraceRefcnt stubs that access a global to allow tracing refcnt to work with the GRE/xpcom glue builds. r=dbaron 2003-08-05 05:29:10 +00:00
jaggernaut%netscape.com ac2ee6a6b1 Bug 151916: substring helpers for start and end (StringHead, StringTail, Substring(string, start)). r=dbaron, sr=bzbarsky 2003-07-14 07:42:24 +00:00
jaggernaut%netscape.com 2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
dwitte%stanford.edu d78b684d26 Bug 113733: nsXPIDLCString doesn't have an assignment operator.
adds |operator=( const self_type& )| to nsSharable{C}String and nsXPIDL{C}String, to prevent the compiler from synthesizing its own (which won't do the right thing).

This should fix a bunch of XPIDLString-related cfront compile warnings.

original patch by jag, updated by me; r=dbaron, sr=jag.
2003-07-12 07:14:37 +00:00
dbaron%dbaron.org 7f9ed75392 Make ns[C]String::AppendFloat locale-independent. b=209569 r=jag sr=bzbarsky 2003-07-09 06:53:44 +00:00
darin%netscape.com ca48f5672f fixes bug 163988 'Crashes at www.macgamer.com (HREF="&#)' patch=waltershen@netscape.com r=dbaron sr=jag 2003-07-02 21:20:14 +00:00
jshin%mailaps.org 4f939c139c bug 183156 (a part of) : rename CopyUTF16toASCII as LossyCopyUTF16toASCII (r,sr=jag) 2003-06-27 07:44:13 +00:00
dbaron%dbaron.org 3852bff4c9 Keep the pointer version of NS_ConvertUTF8toUTF16 null-safe. b=210279 r+sr=jag 2003-06-24 05:42:05 +00:00
jshin%mailaps.org b33261e746 bug 183156 : replace UCS2 in function/method names with UTF16 and update the
document accordingly. r=jag, sr=alecf
2003-06-23 04:30:57 +00:00
jaggernaut%netscape.com 6d16320259 Bug 210160: Add nsStringComparator parameter to String(Begins)|(Ends)With. r=bzbarsky, sr=dbaron
Bug 210162: Fix up comments, argument names of atom getters in nsIAtom.idl. r=bzbarsky, sr=dbaron
2003-06-21 02:59:51 +00:00
jst%netscape.com 2d0b6d2c00 Fixing part of bug 209699 (and more of bug 87677). Implement char* and PRUnichar* versions of Copy/AppendUTF*toUTF*(). r=alecf@flett.org, r=dbaron@dbaron.org, sr=jaggernaut@netscape.com 2003-06-19 05:17:55 +00:00
jst%netscape.com 3624ae8b21 Fixing typo in comment. 2003-06-18 06:52:16 +00:00
jst%netscape.com d98c2ff1e8 Fixing typo in comment. 2003-06-17 16:30:35 +00:00
jst%netscape.com 5e31f0fbb6 Fixing bug 87677. Making AppendUTF[8|16]toUTF[16|8]() not copy the string twice when not needed. r=jaggernaut@netscape.com, sr=dbaron@dbaron.org 2003-06-17 16:30:17 +00:00
dbaron%dbaron.org 18b8c334fb Move the core of NS_ConvertUCS2toUTF8 into character sinks in nsUTF8Utils.h, and use them to make ToNewUTF8String faster. Fix bug in surrogate handling in the moved code. Make various tweaks to improve performance of conversion between UCS2 and UTF-8 (both ways). b=206682 r=jag sr=jst 2003-06-11 04:27:13 +00:00
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
seawood%netscape.com b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
jshin%mailaps.org ff38b26577 bug 183156 : the first step : replace UCS2 in function names with UTF16
(r=peterv, sr=alecf)
2003-06-05 11:44:06 +00:00
jst%netscape.com a159b5a1eb Fixing bug 87677. Implementing {Copy,Append}[UCS2|UTF8]to[UTF8|UCS2](). Lame implementations for now, but at least people can start using these methods to avoid double copying all over (this doesn't eliminate the double copy, but it isolates it). r=jaggernaut@netscape.com, sr=alecf@flett.org. 2003-05-31 06:03:18 +00:00
dbaron%dbaron.org c6ff914d34 Backing out my checkin for bug 206682 due to performance regression (slowing down NS_ConvertUCS2toUTF8). 2003-05-23 00:32:54 +00:00
dbaron%dbaron.org 06133b6d3c Move the core of NS_ConvertUCS2toUTF8 into character sinks in nsUTF8Utils.h, and use them to make ToNewUTF8String faster. Fix bug in surrogate handling in the moved code. Fix null-termination bug in UTF8ToNewUnicode. b=206682 r=jag sr=alecf a=brendan 2003-05-22 21:25:43 +00:00
dbaron%dbaron.org 77bf6f4e26 Add StringBeginsWith, StringEndsWith, and UTF8ToNewUnicode. Move UTF8 handling utilities to separate file. b=131293 r=jst sr=alecf,jag a=asa b=131293 2003-05-21 22:20:27 +00:00
darin%netscape.com 4363120933 fixes bug 199221 "provide inline implementations of common string methods" r=dbaron sr=jag 2003-04-02 06:24:47 +00:00
jshin%mailaps.org a5ddc8b721 bug 191542 : Add UTF-8 equivalent of |IsASCII|, IsUTF8. r=smontagu, sr=alecf 2003-03-25 08:11:13 +00:00
seawood%netscape.com b92a5778a0 Fix signature of standalone embedstring version of |Distance|.
Bug #198276 r=jag sr=dbaron
2003-03-25 06:46:49 +00:00
seawood%netscape.com dca257bd56 Change |Distance| definitions to match forward declaration in nsReadableUtils.h. Fixing Forte bustage.
Thanks to David Baron <dbaron@dbaron.org> for the patch.
Bug #198276 r=jag sr=bz
2003-03-20 04:52:54 +00:00
dougt%netscape.com 4a82c99291 defined correctly fixed 2003-03-19 02:16:07 +00:00
dougt%netscape.com 205012131f pilot error 2003-03-19 02:11:34 +00:00
dougt%netscape.com d4aa052205 relanding dwitte's string work "Excessive inlining in string libs" with a minor change to fix a build bustage. bug 196506. r=dbaron, sr=alec 2003-03-18 23:48:44 +00:00
heikki%netscape.com 96cf1d190e Backing out bug 196506 and build fix attempt. 2003-03-18 01:58:15 +00:00
heikki%netscape.com 315a64bb5c Bustage fix from dwitte. 2003-03-18 01:17:18 +00:00
timeless%mozdev.org 62c1c6702e Bug 196506 Excessive inlining in string libs: Substring()
patch by mvl@exedo.nl r=dougt sr=alecf
2003-03-17 23:16:16 +00:00
alecf%netscape.com 4358844234 update API docs so that I don't get false positives for GetUnicode()
(not part of build, just a doc)
2003-03-11 23:26:18 +00:00
glazman%netscape.com df24ff7c3f backing out dwitte's changes from last bbaetz check in (at his request) 2003-03-10 10:28:40 +00:00
bbaetz%acm.org 0faaca3203 Bug 196506 - Excessive inlining in string libs: Substring()
patch by dwitte@stanford.edu, r=timeless, sr=dbaron
2003-03-10 08:10:20 +00:00
cls%seawood.org d1079607df XP code changes required for mingw landing.
Add NS_STDCALL macros for functions that require stdcall declarations.
Add NS_STDCALL_FUNCPROTO macro for stdcall function prototype typedefs.
Bug #134113 r=dougt sr=dbaron
2003-03-07 06:07:56 +00:00
dbaron%dbaron.org 6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
jaggernaut%netscape.com 85174f51b9 Bug 191749: bad define inside nsAFlatString.h. r=/sr=bzbarsky, a=dbaron 2003-02-21 00:34:17 +00:00
dougt%netscape.com ce7b00a58e Fixing bustage in nsXPIDLString. r=jag, sr=dbaron, b=189591, a=Donald Rumsfeld 2003-01-23 03:35:30 +00:00
dougt%netscape.com 3b838a1833 Fixing crash in NS_MsgStripRE() due to multiply-linked strings. b=189591, sr=dbaron, r=me 2003-01-22 00:21:48 +00:00
dougt%netscape.com c987d07f19 Moving nsEmbedString to mozilla/string. r=cls 2003-01-14 03:37:34 +00:00
dbaron%fas.harvard.edu b880d5907b Go back to PR_strtod since strtod does different things in different locales. b=183211 sr=bzbarsky r=caillon 2002-12-04 04:43:30 +00:00
bratell%lysator.liu.se eb4672cb09 Bug 165877 - ToFloat never reported when the string wasn't a legal float. Also switch to strtod for a small performance win. r=jaggernaut@netscape.com, sr=alecf@netscape.com 2002-12-02 09:30:59 +00:00
timeless%mozdev.org 58d1e9667c fixing comment about PRUnichar* ToNewUnicode
rs=brendan
2002-11-08 11:43:58 +00:00
jaggernaut%netscape.com 0355aca524 Bug 178701: make source in FindInReadable be const. r=alecf, sr=scc 2002-11-06 21:11:24 +00:00
dougt%netscape.com ff5fb46b69 177173 - Exports required string headers to SDK, r=jag, sr=alecf, a=robert@ocallahan.org 2002-10-30 14:11:03 +00:00
shanjian%netscape.com 56103cc0a9 #172700 NS_ConvertUTF8ToUCS2() surrogates buffer overflow
allocate enough space for surrogate.
p=jgmyers, r=shanjian, sr=dbaron, a=blizzard
2002-10-28 22:56:03 +00:00
dougt%netscape.com 20cb222459 landing 172512. nsEmbedString for component developers and embeders. r=alec, sr=jag/darin, a=asa@mozilla.org 2002-10-17 23:41:47 +00:00
seawood%netscape.com 57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
shanjian%netscape.com a6b06cd95b #134053 utf8 conversion problem in nsString.h
Change conversion to handle surrogates
r=yokoyama, sr=scc
2002-10-08 02:10:52 +00:00
jaggernaut%netscape.com 7001d81cad Bug 162017: step 2: remove aIgnoreCase from FindChar1. r=peterv, sr=dbaron 2002-09-17 22:49:00 +00:00
jaggernaut%netscape.com f923232916 Bug 162017: first step to inlining nsStr. r=kaie, sr=alecf 2002-09-17 13:56:34 +00:00
alecf%netscape.com c20ce4824e fix for bug 159328 - submit broken in some locales - use locale-insensitive tolower()
r=jag, sr=dbaron
2002-08-19 22:17:13 +00:00
bryner%netscape.com 025fb3a058 Get rid of gcc3's numerous warnings about using <new.h> instead of <new> by creating a new #define, NEW_H, which should be used instead of <new.h> or <new>. This is so we can continue to support a couple of braindead compilers that don't accept <new>. Bug 155852, r=cls. 2002-08-19 03:50:27 +00:00
alecf%netscape.com 41c97f7cf0 argh, back myself out because it causes xpcomglue bustage 2002-08-16 15:24:58 +00:00