Commit Graph
805 Commits
Author SHA1 Message Date
[email protected] 5121b08540 fixes bug 270110 "Add versions of nsDependentString and friends to the Gecko SDK" r=bsmedberg 2004-11-30 00:57:24 +00:00
[email protected] a965eb7a75 fixes bug 271630 "XPCOM glue broken on Linux/PPC [monkeypox orange]" r=bsmedberg 2004-11-30 00:28:48 +00:00
[email protected] 776cc12348 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
[email protected] 12b09a32c3 Bug 270768 spelling
rs=brendan
2004-11-24 00:54:11 +00:00
[email protected] 1461025238 fixes bug 264274 "support dependent strings in frozen string API" r=biesi sr=bsmedberg 2004-11-16 04:44:57 +00:00
[email protected] f8e2073a8d Bug 267767 - Make XPCOM memory management functions frozen exports. r=darin sr=shaver 2004-11-12 19:26:37 +00:00
[email protected] 86cd72217f landing patch for bug 262218 "libxpcom.so should only export frozen symbols" r=bsmedberg sr=bryner 2004-10-25 19:34:45 +00:00
[email protected] 798fc70239 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
[email protected] a1c7df56c8 output number of leaked string buffers 2004-09-07 19:57:20 +00:00
[email protected] 2f29121515 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
[email protected] bae76c8e23 Bug 258014 make @param names match function signature
r+sr=darin
2004-09-05 13:25:51 +00:00
[email protected] 0658d2a91b bug 244956: Small correction to comments in nsStringAPI.h
patch by Jonathan Watt <[email protected]>, r/sr=shaver
2004-07-30 16:00:59 +00:00
[email protected] 516aae4683 adding missing NS_COM to fix win bustage 2004-07-25 13:58:47 +00:00
[email protected] b334142639 remove InsertWithConversion
Bug 113234 r=darin sr=dbaron
2004-07-25 12:25:43 +00:00
[email protected] ddc74f3404 Bug 113243 Get rid of (Compare|Equals)WithConversion
r=darin sr=dbaron
2004-07-25 12:23:28 +00:00
[email protected] ce207913e3 Bug 252541 remove nsString::IsSpace and nsString::IsASCII
r=darin sr=dbaron
2004-07-25 12:12:39 +00:00
[email protected] 45812a9150 fixes bug 248695 "string code misuses realloc" r=timeless sr=dbaron 2004-07-19 20:01:42 +00:00
[email protected] 0e308c4434 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
[email protected] 203a205c89 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
[email protected] ba21d05f50 fixing bustage... 2004-06-11 16:39:38 +00:00
[email protected] 81bb508207 bug 245673 named literal strings should be const
r+sr=darin
2004-06-11 15:05:29 +00:00
[email protected] 5121d2132b Fixing bug 245930. Don't crash if attempting to replace data past the end of a string. [email protected], [email protected] 2004-06-08 22:30:11 +00:00
[email protected] 8061c17d95 fixing bustage AGAIN. 2004-06-06 04:42:45 +00:00
[email protected] 52ccac6b35 fixing bustage. 2004-06-06 03:38:35 +00:00
[email protected] 8f74808557 Bug 226439. Add ASCII and Literal versions of Append, EqualsIgnoreCase, and Assign. r+sr=darin 2004-06-06 02:17:00 +00:00
[email protected] 8b5bd66f2f Bug 242382 Trunk build failure in nsObjectFrame.cpp
patch by [email protected] r=roc sr=roc
2004-05-18 04:10:43 +00:00
[email protected] b38cde6c15 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. [email protected], [email protected] 2004-05-13 17:45:03 +00:00
[email protected] 3bbcdee8e3 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
[email protected] 2825358d1b Add code comments from bug 242315 comment 17. r+sr=bzbarsky. 2004-05-07 22:21:26 +00:00
[email protected] 992ee30677 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
[email protected] d86039a1b1 Fix btek bustage ... I hope. 2004-04-28 19:23:58 +00:00
[email protected] 521d9eb8e9 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
[email protected] d6a2f33bc0 Fixing bustage ... MSVC can't handle the array size template. 2004-04-24 22:46:24 +00:00
[email protected] a1cb1d962c 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
[email protected] f8ec302818 landing patch for bug 239716 "inout wstring methods are difficult to implement with nsEmbedString" patch by [email protected] r=darin sr=dbaron 2004-04-20 00:21:34 +00:00
[email protected] 204abbf894 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
[email protected] 59054976b0 Fix RFindCharInSet to work again. Bug 240837, r+sr=darin 2004-04-19 20:18:05 +00:00
[email protected] c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
[email protected] 9961274869 bug 235504, remove const char* version of nsCString::EqualsWithConversion,
second try
r=darin sr=dbaron
2004-04-15 20:44:53 +00:00
[email protected] a2b2acb694 ...and this one, too 2004-04-14 21:20:06 +00:00
[email protected] 693e474939 backing out this part of my last checkin due to bustage 2004-04-14 21:19:29 +00:00
[email protected] 4f8a193982 Bug 235504 Remove nsCString::EqualsWithConversion(const char*)
r=darin sr=dbaron
2004-04-14 20:09:30 +00:00
[email protected] c9812f726e fix bustage 2004-04-13 19:34:40 +00:00
[email protected] 29d001e86e bug 240106, add 64-bit version of nsC?String::AppendInt
r=darin sr=dbaron
2004-04-13 19:13:49 +00:00
[email protected] 4e768a317a 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
[email protected] a1e3509258 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
[email protected] 274fbe692e 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
[email protected] 48e2af20a3 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
[email protected] 987cfafc60 Bug 237682 - AIX: Warnings about missing nsACString copy constructor
r/[email protected], [email protected]
2004-03-22 20:25:36 +00:00
[email protected] 7ac7eafdca fixing a comment typo 2004-03-16 18:34:25 +00:00