jst%netscape.com
15825cf675
Fixing part of bug 118933. Speeding up the global resolve hook in the DOM JS helpers by eliminating the use of nsHashtable and nsStringKey in favor of pldhash. Adding global HashString(const nsA[C]String&) functions that calculate a hash code from a nsA[C]String, code by dbaron@fas.harward.edu. Also checking in brendan@mozilla.org's fix for a type error in the jsdhash/pldhash API found while working on this. sr=brendan@mozilla.org, r=peterv@netscape.com
2002-01-17 04:08:14 +00:00
dbaron%fas.harvard.edu
d585949ae5
Fix HP bustage.
2002-01-16 04:48:24 +00:00
dbaron%fas.harvard.edu
3e3ede44ed
Create a mechanism for allowing a |Destroy| method to be called on buffer handles whose refcount hits 0 instead of |delete|. Use that mechanism to fix threadsafety problems with shared empty buffer handles, restoring sharable strings to their previous state of threadsafety. b=117153 sr=jag r=alecf
2002-01-16 03:08:22 +00:00
jdunn%netscape.com
516dd44950
fixing xlC5.x compiler error: use a temp variable for the static_cast
...
sr=jaggernaut@netscape.com
# 119326
2002-01-16 03:06:47 +00:00
alecf%netscape.com
e26f0caa39
factor out some table-based string manipulation routines to make it easier to seperate unicode vs. 8-bit character strings. bug 114450, r=dbaron sr=jag
2002-01-15 22:57:29 +00:00
jaggernaut%netscape.com
6b77d93d2e
Hitching a ride with bug 117440: Make nsPrintfCString inherit from nsAFlatCString instead of nsACString, r=darin, sr=alecf
2002-01-09 04:35:28 +00:00
alecf%netscape.com
a0cec66019
bug 114450 sr=jag
...
remove table-based comparison functions so we can actually remove them later
2002-01-09 02:28:28 +00:00
jaggernaut%netscape.com
1bd1b8c7d6
Bug 113228: Remove nsStr::ChangeCase. r=dbaron, sr=alecf
2002-01-09 01:44:43 +00:00
jaggernaut%netscape.com
febd9de87f
Bug 113228: Remove To{Lower,Upper}Case from ns{C}String. r=bzbarsky, sr=jst
2002-01-05 11:18:57 +00:00
jaggernaut%netscape.com
4a93e62264
Bug 103342, 113590: ns{C}String::SubstituteString hangs/crashes. r=dbaron, sr=alecf
2002-01-02 23:54:25 +00:00
jaggernaut%netscape.com
3ed2626ddd
Add assertion to ns{C}String::Adopt. r=/sr=mozbot
2002-01-02 09:00:02 +00:00
jaggernaut%netscape.com
2e4cf1866d
Bug 116957: Put Adopt on ns{C}String, and use it in nsStandardURL. r=dbaron, rs=scc
2001-12-26 23:14:12 +00:00
jaggernaut%netscape.com
76d7d73ab7
Bug 115671: Add faster To{Upper,Lower}Case for nsASingleFragment{C}String, r=dbaron, sr=dveditz, and ns{C}String, r=bbaetz, sr=scc
2001-12-23 02:56:41 +00:00
jaggernaut%netscape.com
bfbe42e412
Backing myself out to see if I'm the cause of btek going from 1245ms to 1251ms.
2001-12-20 06:12:49 +00:00
jaggernaut%netscape.com
10e4e8b173
Bug 115671: Add (faster) To{Upper,Lower}Case for nsASingleFragmentStrings. r=dbaron, sr=dveditz
2001-12-20 02:15:35 +00:00
seawood%netscape.com
874c54280c
Landing the rest of the win32 gmake changes:
...
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup
Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
ccarlen%netscape.com
9d32855606
Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser
2001-12-11 05:35:08 +00:00
dbaron%fas.harvard.edu
487c581ac0
Fix nsSharableString::SetLength to correctly handle having a shared buffer. Override GetWritableFragment on nsSharableString (perhaps temporarily) to allow use of writing iterators on nsSharableString. b=114438 r=jag sr=jst
2001-12-11 03:33:09 +00:00
ccarlen%netscape.com
1b00c70ee8
Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser.
2001-12-10 21:20:58 +00:00
jaggernaut%netscape.com
1772308eb8
Bug 114288: Add nsStringComparator parameter to nsAString::Equals to mirror Compare and provide a way to do CaseInsensitive Equals. r=dbaron, sr=jst
2001-12-10 10:10:44 +00:00
dbaron%fas.harvard.edu
e03df3321d
Fix appending to nsSharableString by always null-terminating in SetLength. b=113188 r=jag sr=jst
2001-12-08 22:50:34 +00:00
jaggernaut%netscape.com
c892a468bd
BUg 113228: Replace nsC?String::To(Lower|Upper)Case with global To(Lower|Upper)Case. r=dbaron, sr=jst
2001-12-08 07:08:38 +00:00
dbaron%fas.harvard.edu
5884b2407f
Make nsSharableString::Assign set the length correctly when it's reusing its existing buffer. b=112483 r=scc sr=alecf
2001-12-03 23:14:15 +00:00
dbaron%fas.harvard.edu
c4a5d74558
Make nsSharableString::Assign set the length when it's reusing its existing buffer. b=112483 r=jag sr=hyatt
2001-12-03 03:54:32 +00:00
alecf%netscape.com
0c69f6d840
move UTF8traits to the public realm for later consumption
...
r=dbaron r=jag (the string experts)
for bug 110531
2001-11-29 02:53:48 +00:00
dbaron%fas.harvard.edu
2337f74d47
Copy my comment changes from nsAString to nsACString. b=104663 r=jag sr=scc
2001-11-28 06:06:43 +00:00
dbaron%fas.harvard.edu
88c03c4196
Make nsSharable[C]String writable by overriding appropriate methods. Ensure that it doesn't store null buffer handle pointer internally, and override get() on nsXPIDL[C]String for backwards-compatibility. Collapse nsSharedBufferHandle and nsFlexBufferHandle into nsSharedBufferHandle which knows its length but can't have a storage start distinct from its data start. Convert string users who were working around broken nsSharableString::Assign back to using it. b=104663, 100751, 74726 r=jag sr=scc
2001-11-28 05:22:57 +00:00
jst%netscape.com
16afd7e663
Checking in alecf's fix for bug 112209, string code performance regression. r=dbaron@netscape.com, sr=jst@netscape.com
2001-11-28 04:59:29 +00:00
jaggernaut%netscape.com
2ee5922003
Bug 103662: Allow wide concatenation of defined string constants, r=dbaron, sr=scc
2001-11-26 05:59:35 +00:00
seawood%netscape.com
d8927fcc61
Rename 'install' build phase to 'libs'.
...
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
jaggernaut%netscape.com
790c58aae5
Bug 98213: Make data members of nsStr protected and clean up code. r=dbaron, sr=alecf
2001-11-14 12:35:52 +00:00
jaggernaut%netscape.com
4e57c134bf
Bug 53057: Removing implicit |CharT*| conversion operator for nsCString, r=dbaron, rs=scc
2001-11-10 22:00:31 +00:00
jband%netscape.com
53ec7f1ca3
fix bug 108915 to unbust XPCOM_STANDALONE. This #ifdef's out calls into code that is only available when i18n is part of the build. This has no impact on the browser or gecko embeddings. r=jst sr=alecf a=blizzard
2001-11-09 00:34:56 +00:00
jaggernaut%netscape.com
193297bee0
Bug 108734: nsCString::Replace is broken. r=darin, sr=scc
2001-11-07 07:43:11 +00:00
dbaron%fas.harvard.edu
1de2e44c86
Add a comment explaining how to fix callers that trigger the null-termination assertion. r=jag rs=scc b=104651
2001-11-07 07:36:36 +00:00
dbaron%fas.harvard.edu
6f23659d77
Fix nsDependentString users who were passing non-NULL terminated buffers. b=104651 rr=jag rs=scc
2001-11-07 05:51:27 +00:00
dbaron%fas.harvard.edu
c0623fdbcd
Add assertions that users of nsDependentC?String meet the requirements of nsAFlatC?String. Add nsDependentSingleFragmentC?Substring for users that don't. Additional cleanup after bug 100214. b=104651 r=jag sr=scc
2001-11-07 04:12:20 +00:00
alecf%netscape.com
7d0fba4ac4
fix for minor leak bug 108640 r=jag, sr=sspitzer
2001-11-06 23:14:47 +00:00
alecf%netscape.com
61f5ed73c5
fix for bug 108597 - move mOwnsBuffer and mCharSize into smaller variables to reduce nsStr's overall size
...
r=jag, sr=waterson
2001-11-06 22:50:13 +00:00
ducarroz%netscape.com
ed58417ba8
Fix for bug 86089. Replace attachments string in message compose fields by an array of nsIMsgAttachment objects. This architecture change allow us to dissocie the attachment name from the attachment url. We can also now carry over extra information like the attachment content type or Mac file type. This check in contains also fix for related bug 52428, bug 80895, bug 87765 and bug 89090.
...
R=varada, SR=sspitzer
2001-10-30 14:42:41 +00:00
alecf%netscape.com
3d9cdf4e49
Back out my backout, now that mac seems to be fixed
2001-10-30 03:39:18 +00:00
alecf%netscape.com
a961df68cd
Back out my checkin because !(*@3 PSM is screwed.
2001-10-30 02:41:48 +00:00
alecf%netscape.com
567b9d0c84
bug 100214 - Remove string dependency on XPCOM routines that depend on unicharutil, r=jag sr=scc
2001-10-29 23:16:23 +00:00
jaggernaut%netscape.com
c79a0759cb
Bug 70083: add nsASingleFragmentString to hierarchy. r=dbaron, sr=scc
2001-10-28 08:24:55 +00:00
jaggernaut%netscape.com
93dec3cbd7
Bug 70083: add nsASingleFragmentString to hierarchy. r=dbaron, sr=scc
2001-10-27 11:40:01 +00:00
jaggernaut%netscape.com
cad4ce97bb
Bug 105987: Clean up nsCharTraits.h, use slightly faster implementations where possible, r=dbaron, sr=scc.
2001-10-27 09:40:08 +00:00
jaggernaut%netscape.com
79727011d4
Bug 105904, bug 105971, bug 105889, bug 105906: NS_ConvertUTF8toUCS2 hangs / segfaults. r=dbaron, rs=scc
2001-10-26 04:42:57 +00:00
jst%netscape.com
00a18d1635
Fixing blocker bug 106474. Make nsAFlatString::GetReadableFragment() deal with a null buffer handles correctly. r=kin@netscape.com, sr=scc@mozilla.org
2001-10-24 19:29:42 +00:00
alecf%netscape.com
8d65560bdd
for bug 100214 - make nsStr routines stop depending on nsCRT:: routines, to further reduce our dependency on unicharutil
...
r=jag, sr=scc
2001-10-19 20:49:39 +00:00
jaggernaut%netscape.com
d25f8986e8
Bug 73292: Add const nsACString& constructor to NS_Convert(ASCII|UTF8)toUCS2. r=dbaron, sr=scc.
2001-10-17 05:17:53 +00:00