darin%meer.net
|
08cb51a4ff
|
output number of leaked string buffers
git-svn-id: svn://10.0.0.236/trunk@161870 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-09-07 19:57:20 +00:00 |
|
bryner%brianryner.com
|
644a6650d1
|
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.
git-svn-id: svn://10.0.0.236/trunk@161801 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-09-05 22:55:34 +00:00 |
|
cbiesinger%web.de
|
1c24d39d79
|
Bug 258014 make @param names match function signature
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@161781 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-09-05 13:25:51 +00:00 |
|
db48x%yahoo.com
|
bcee21063e
|
bug 244956: Small correction to comments in nsStringAPI.h
patch by Jonathan Watt <jonathan.watt@strath.ac.uk>, r/sr=shaver
git-svn-id: svn://10.0.0.236/trunk@160139 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-07-30 16:00:59 +00:00 |
|
cbiesinger%web.de
|
e15176906c
|
adding missing NS_COM to fix win bustage
git-svn-id: svn://10.0.0.236/trunk@159836 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-07-25 13:58:47 +00:00 |
|
cbiesinger%web.de
|
cc28a09274
|
remove InsertWithConversion
Bug 113234 r=darin sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159834 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-07-25 12:25:43 +00:00 |
|
cbiesinger%web.de
|
91303c7500
|
Bug 113243 Get rid of (Compare|Equals)WithConversion
r=darin sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159833 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-07-25 12:23:28 +00:00 |
|
cbiesinger%web.de
|
c05e6548ae
|
Bug 252541 remove nsString::IsSpace and nsString::IsASCII
r=darin sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159830 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-07-25 12:12:39 +00:00 |
|
darin%meer.net
|
d2b941cf24
|
fixes bug 248695 "string code misuses realloc" r=timeless sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159495 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-07-19 20:01:42 +00:00 |
|
bryner%brianryner.com
|
e372b2e9a3
|
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.
git-svn-id: svn://10.0.0.236/trunk@159199 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-07-14 22:14:34 +00:00 |
|
roc+%cs.cmu.edu
|
74be34307c
|
Bug 226439. Make nsCharTraits<PRUnichar>::ASCIIToLower handle Unicode characters whose lowercase form is ASCII. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157989 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-06-16 23:29:49 +00:00 |
|
cbiesinger%web.de
|
ad5954305a
|
fixing bustage...
git-svn-id: svn://10.0.0.236/trunk@157786 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-06-11 16:39:38 +00:00 |
|
cbiesinger%web.de
|
39955b6428
|
bug 245673 named literal strings should be const
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157773 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-06-11 15:05:29 +00:00 |
|
jst%mozilla.jstenback.com
|
21648d2224
|
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
git-svn-id: svn://10.0.0.236/trunk@157612 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-06-08 22:30:11 +00:00 |
|
roc+%cs.cmu.edu
|
c6877f6cf6
|
fixing bustage AGAIN.
git-svn-id: svn://10.0.0.236/trunk@157455 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-06-06 04:42:45 +00:00 |
|
roc+%cs.cmu.edu
|
4806a9a5d3
|
fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@157454 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-06-06 03:38:35 +00:00 |
|
roc+%cs.cmu.edu
|
4e7229eafc
|
Bug 226439. Add ASCII and Literal versions of Append, EqualsIgnoreCase, and Assign. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157452 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-06-06 02:17:00 +00:00 |
|
timeless%mozdev.org
|
99ae073509
|
Bug 242382 Trunk build failure in nsObjectFrame.cpp
patch by roland.mainz@nrubsig.org r=roc sr=roc
git-svn-id: svn://10.0.0.236/trunk@156504 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-05-18 04:10:43 +00:00 |
|
jst%mozilla.jstenback.com
|
96a9ce3c14
|
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
git-svn-id: svn://10.0.0.236/trunk@156361 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-05-13 17:45:03 +00:00 |
|
bryner%brianryner.com
|
653917c869
|
Fix XPCOM_BREAK_ON_LOAD by restoring pre-string-branch Find() behavior when starting index is negative. Bug 243429, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@156313 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-05-12 19:26:30 +00:00 |
|
smontagu%smontagu.org
|
c7bb338ece
|
Add code comments from bug 242315 comment 17. r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@156111 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-05-07 22:21:26 +00:00 |
|
roc+%cs.cmu.edu
|
2358f9e55e
|
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
git-svn-id: svn://10.0.0.236/trunk@155747 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-04-30 12:05:14 +00:00 |
|
roc+%cs.cmu.edu
|
17142e8782
|
Fix btek bustage ... I hope.
git-svn-id: svn://10.0.0.236/trunk@155646 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-04-28 19:23:58 +00:00 |
|
roc+%cs.cmu.edu
|
f8ae3111a6
|
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.
git-svn-id: svn://10.0.0.236/trunk@155642 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-04-28 17:48:02 +00:00 |
|
roc+%cs.cmu.edu
|
436c653d76
|
Fixing bustage ... MSVC can't handle the array size template.
git-svn-id: svn://10.0.0.236/trunk@155465 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-04-24 22:46:24 +00:00 |
|
roc+%cs.cmu.edu
|
b4797c2050
|
Bug 226439. Use templates for ultra-efficient EqualsLiteral string method. r=darin,sr=dbaron. THIS MAY CAUSE BUSTAGE. DO NOT BE ALARMED.
git-svn-id: svn://10.0.0.236/trunk@155463 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-04-24 22:02:22 +00:00 |
|
darin%meer.net
|
0fc79f3a16
|
landing patch for bug 239716 "inout wstring methods are difficult to implement with nsEmbedString" patch by marco@gnome.org r=darin sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155191 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-04-20 00:21:34 +00:00 |
|
cls%seawood.org
|
6fdf10372f
|
Explicitly declare inlined function as inline & remove COM declaration.
Fixing native mingw build bustage.
Bug #240106 r=darin
git-svn-id: svn://10.0.0.236/trunk@155177 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-04-19 21:37:39 +00:00 |
|
bzbarsky%mit.edu
|
f6132f073a
|
Fix RFindCharInSet to work again. Bug 240837, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@155172 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-04-19 20:18:05 +00:00 |
|
gerv%gerv.net
|
210853d71e
|
Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-04-18 14:21:17 +00:00 |
|
cbiesinger%web.de
|
fbd68c22ff
|
bug 235504, remove const char* version of nsCString::EqualsWithConversion,
second try
r=darin sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@154940 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-04-15 20:44:53 +00:00 |
|
cbiesinger%web.de
|
a2b5c60893
|
...and this one, too
git-svn-id: svn://10.0.0.236/trunk@154902 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-04-14 21:20:06 +00:00 |
|
cbiesinger%web.de
|
6fe9ac32a4
|
backing out this part of my last checkin due to bustage
git-svn-id: svn://10.0.0.236/trunk@154901 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-04-14 21:19:29 +00:00 |
|
cbiesinger%web.de
|
d02f9c7f35
|
Bug 235504 Remove nsCString::EqualsWithConversion(const char*)
r=darin sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@154891 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-04-14 20:09:30 +00:00 |
|
cbiesinger%web.de
|
e76eda6bf7
|
fix bustage
git-svn-id: svn://10.0.0.236/trunk@154817 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-04-13 19:34:40 +00:00 |
|
cbiesinger%web.de
|
4c81f1552a
|
bug 240106, add 64-bit version of nsC?String::AppendInt
r=darin sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@154813 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-04-13 19:13:49 +00:00 |
|
darin%meer.net
|
dcb6fabc6b
|
fixes bug 239123 "exported functions in nsStringAPI.h should be frozen for 1.7 final" r=bsmedberg sr=dbaron a=asa
git-svn-id: svn://10.0.0.236/trunk@154693 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-04-11 20:52:32 +00:00 |
|
darin%meer.net
|
1f031dbd01
|
fixes bug 239441 "AIX: Undefined symbols when linking mozilla-bin after Bug 239303" r=bsmedberg,dougt sr=dbaron a=brendan
git-svn-id: svn://10.0.0.236/trunk@154495 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-04-03 21:54:49 +00:00 |
|
darin%meer.net
|
0a841a2d20
|
fixes bug 238088 "Support compile-time backwards compatible nsAString in Gecko SDK" r=bsmedberg sr=dbaron a=chofmann
git-svn-id: svn://10.0.0.236/trunk@154438 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-04-01 22:39:51 +00:00 |
|
darin%meer.net
|
17b87fb59e
|
fixes bug 239303 "provide basic string conversion routines for the Gecko SDK" r=bsmedberg sr=dbaron a=chofmann
git-svn-id: svn://10.0.0.236/trunk@154433 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-04-01 20:47:48 +00:00 |
|
pkw%us.ibm.com
|
22b87651a6
|
Bug 237682 - AIX: Warnings about missing nsACString copy constructor
r/sr=darin@meer.net, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@154164 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-03-22 20:25:36 +00:00 |
|
darin%meer.net
|
496ffefa34
|
fixing a comment typo
git-svn-id: svn://10.0.0.236/trunk@154026 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-03-16 18:34:25 +00:00 |
|
darin%meer.net
|
71a65abeb6
|
adding null checks for bug 236003 "nsTSubstring::Equals(char *) crashes if passed a NULL pointer" r=dbaron
git-svn-id: svn://10.0.0.236/trunk@153735 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-03-09 06:23:35 +00:00 |
|
jst%mozilla.jstenback.com
|
317d5732c2
|
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
git-svn-id: svn://10.0.0.236/trunk@153602 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-03-06 03:29:49 +00:00 |
|
darin%meer.net
|
03e1a1a947
|
fixes bug 235272 "RFind is broken [was: Thunderbird treats two-letter folder msf files as folders themselves]" r=jst sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@153517 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-03-04 07:54:22 +00:00 |
|
darin%meer.net
|
af98e4f306
|
landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-02-28 22:34:07 +00:00 |
|
darin%meer.net
|
118c2a873e
|
fixes bug 235355 "hangs/crashes after choosing Server Settings in Mail&Newsgroup Account Settings, click o.k." r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153194 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-02-25 03:24:29 +00:00 |
|
darin%meer.net
|
9770631282
|
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
git-svn-id: svn://10.0.0.236/trunk@153191 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-02-25 02:08:34 +00:00 |
|
darin%meer.net
|
db842ded77
|
adding brackets to correct last checkin (r=gisburn)
git-svn-id: svn://10.0.0.236/trunk@153106 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-02-23 19:57:18 +00:00 |
|
darin%meer.net
|
eda37ab870
|
Checking in bustage fix for SUNPRO_CC (Sun Workshop/Forte), bug=235273
Thanks to timeless and gisburn for their help.
git-svn-id: svn://10.0.0.236/trunk@153104 18797224-902f-48f8-a5cc-f745e15eee43
|
2004-02-23 19:24:41 +00:00 |
|