[email protected]
0ed7ae0890
fixing AIX bustage and sticking with the c++ standard for "friend" and
...
"function protyping" guidelines
Submitted by [email protected]
# 43311
[email protected]
[email protected]
2002-03-08 12:37:00 +00:00
[email protected]
fc6d5e4b32
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
2002-03-06 07:48:55 +00:00
[email protected]
4bcfcad1ba
bug 127091 - big string cleanup, removing old APIs
...
- removing Assign/AppendWithConversion for single-characters
- removing unused StripChars
- removing ReplaceChar[s] for non-matching chars
- removing CompressSet
- removing nsCString::Find/FindCharInSet/RFind for unichar strings
- removing lots of EqualsWithConversion
r=dp, sr=jag
a=asa
2002-03-04 23:18:21 +00:00
[email protected]
ef378958f3
bug 119631 nsSlidingString using a delete callback function [email protected] , sr=jaggernaut, a=asa
2002-03-02 21:22:41 +00:00
[email protected]
07b911f352
eliminate nsCRT::strlen for char* strings (part 4), bug 124536 r=dp sr=brendan
2002-02-19 16:01:45 +00:00
[email protected]
cd9904181e
nsDependentSingleFragmentSubstring shouldn't pretend to have a flat buffer, since it's only guaranteed to be single fragment, not null-terminated. b=122727 sr=jag r=alecf
2002-02-19 02:17:09 +00:00
[email protected]
62b06c34f6
OS/2 bustage - this is defined in nsStrShared.h
2002-02-15 05:22:42 +00:00
[email protected]
71933d6e6d
re-land fix for bug 107575, moving nsStr static routines into a private class/namespace
2002-02-14 23:23:55 +00:00
[email protected]
504c94dc64
oops, back myself out - forward declared enums don't work on linux!
2002-02-14 23:14:50 +00:00
[email protected]
e41036b094
make all static nsStr:: members private, so they are not exported, and so the linker can cull them out
...
r=dbaron, sr=blake, jag
bug 125093
2002-02-14 23:08:38 +00:00
[email protected]
3ddec4382f
avoid memcpy call when only copying one (PRUnichar) char. bug 109562. r=jag sr=brendan
2002-02-14 06:22:53 +00:00
[email protected]
e922bf8ae1
#123347 , "Remove #if 0-ed nsPrintfCString::GetReadableFragment()",
...
#123354 , "Remove nsAFlatString.cpp and nsDependentString.cpp"
r/sr=jag, shaver
2002-02-06 15:39:52 +00:00
[email protected]
27798645ca
Bug 122083: Typing "v", "vi", "vie" ... "view-source" into URL bar and pressing enter freezes Mozilla. r=dbradley, sr=alecf
2002-02-01 14:22:22 +00:00
[email protected]
1093afbac3
one more part of fix for bug 107575, including the much coveted whitespace
...
remove aIgnoreCase parameter from all nsString and nsCString consumers
sr=jag, r=shaver
2002-02-01 01:53:09 +00:00
[email protected]
9a4edc1569
First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
...
r=dougt, sr=jag
2002-01-30 06:04:29 +00:00
[email protected]
caa4f91f6f
fix for bug 112209 - remove last consumers of nsStr:: routines
...
r=dbaron, sr=jst
2002-01-25 00:26:44 +00:00
[email protected]
a5a245ff99
bug 108962 - shrink nsStr by 4 bytes by packing mCharSize and mOwnsBuffer into bits of mCapacity
...
r=dbaron, sr=jst, with an almost-sr=jag
2002-01-24 23:46:56 +00:00
[email protected]
c54d7d9383
Fix string fragments to compile in Objective C++ (for Cocoa widgets). r=danm, sr=brendan
2002-01-24 23:05:18 +00:00
[email protected]
fb08c06387
fix for bug 114450 - be explicit about string comparison w.r.t. character size - no more hand-rolled vtables!
...
sr=jag, r=dbaron
2002-01-24 19:14:18 +00:00
[email protected]
a1afa8eecb
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 [email protected] . Also checking in [email protected] 's fix for a type error in the jsdhash/pldhash API found while working on this. [email protected] , [email protected]
2002-01-17 04:08:14 +00:00
[email protected]
840d4d050c
Fix HP bustage.
2002-01-16 04:48:24 +00:00
[email protected]
41b4533a89
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
[email protected]
b09e4b5999
fixing xlC5.x compiler error: use a temp variable for the static_cast
...
[email protected]
# 119326
2002-01-16 03:06:47 +00:00
[email protected]
59452cc56d
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
[email protected]
5dbee2ef8e
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
[email protected]
f9f064aa80
bug 114450 sr=jag
...
remove table-based comparison functions so we can actually remove them later
2002-01-09 02:28:28 +00:00
[email protected]
9162618250
Bug 113228: Remove nsStr::ChangeCase. r=dbaron, sr=alecf
2002-01-09 01:44:43 +00:00
[email protected]
3afddad17e
Bug 113228: Remove To{Lower,Upper}Case from ns{C}String. r=bzbarsky, sr=jst
2002-01-05 11:18:57 +00:00
[email protected]
f5513f4a38
Bug 103342, 113590: ns{C}String::SubstituteString hangs/crashes. r=dbaron, sr=alecf
2002-01-02 23:54:25 +00:00
[email protected]
f9eabe3554
Add assertion to ns{C}String::Adopt. r=/sr=mozbot
2002-01-02 09:00:02 +00:00
[email protected]
4ed6f8fa69
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
[email protected]
24706be7bd
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
[email protected]
88340572ea
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
[email protected]
6c5a2ec79e
Bug 115671: Add (faster) To{Upper,Lower}Case for nsASingleFragmentStrings. r=dbaron, sr=dveditz
2001-12-20 02:15:35 +00:00
[email protected]
3e2680506d
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
[email protected]
2ccc664b8a
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
[email protected]
e1d54031ed
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
[email protected]
ddcb3453d5
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
[email protected]
3b95be9b84
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
[email protected]
3062c8e016
Fix appending to nsSharableString by always null-terminating in SetLength. b=113188 r=jag sr=jst
2001-12-08 22:50:34 +00:00
[email protected]
db48714264
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
[email protected]
0e87d85692
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
[email protected]
4f9df4c97c
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
[email protected]
7afcb0f13d
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
[email protected]
9876145627
Copy my comment changes from nsAString to nsACString. b=104663 r=jag sr=scc
2001-11-28 06:06:43 +00:00
[email protected]
3e64e33073
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
[email protected]
a0ee9b5809
Checking in alecf's fix for bug 112209, string code performance regression. [email protected] , [email protected]
2001-11-28 04:59:29 +00:00
[email protected]
f97e2d99fd
Bug 103662: Allow wide concatenation of defined string constants, r=dbaron, sr=scc
2001-11-26 05:59:35 +00:00
[email protected]
5b18dcd3d4
Rename 'install' build phase to 'libs'.
...
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
[email protected]
e8068c5c09
Bug 98213: Make data members of nsStr protected and clean up code. r=dbaron, sr=alecf
2001-11-14 12:35:52 +00:00