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
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
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
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
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
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
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
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
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
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
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
8658999689
Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron.
2003-11-01 09:35:48 +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
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
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
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
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