rickg%netscape.com
cbb199a064
WIP for removal of deprecated string methods
2000-03-12 22:21:14 +00:00
scc%netscape.com
92e24087ff
Incremental changes. Provided implementations for the virtual functions that were previously pure virtual. These implementations were common, after all, even just between |nsString| and |nsCString|. These files are not part of the build.
2000-03-12 20:57:35 +00:00
scc%netscape.com
7002773472
Incremental changes. Added |Implementation()| member to allow rick to implement copy-on-write. Added more virtual members to writable. More to come. These files are not part of the build.
2000-03-12 17:39:49 +00:00
rickg%netscape.com
194f10b94d
landing phase 2 to remove deprecated string calls
2000-03-12 11:10:07 +00:00
rickg%netscape.com
b652637555
WIP for new nsString; this doesn't impact current build
2000-03-12 07:47:09 +00:00
scc%netscape.com
a16db647b9
Incremental changes. Reorganized code; implemented more factored methods. Moved string owner from fragment to iterator. Renamed the |const| version of |GetFragment| to |GetConstFragment| so we didn't mix overloading with overriding; eliminating need for some uses of |using| ... may want to do the same thing with |Begin| and |End|. These files are not part of the build.
2000-03-12 01:28:16 +00:00
pavlov%netscape.com
ce094b4cfc
changes to let us build on MacOS X
2000-03-11 03:08:04 +00:00
scc%netscape.com
7b543c486c
Incremental changes. Modified the strategy for nested |nsPromiseConcatenation| objects. Changed the type of the fragment identifier in a fragment. These files are not part of the build.
2000-03-10 07:04:09 +00:00
scc%netscape.com
4d17a62278
Incremental changes, renamed |nsConcatString| to |nsPromiseConcatenation|. Added |nsPromiseSubstring|. Got rid of upper/lower signatures. Added |Assign|. Fixed comparison macros. Added |operator+=| and |operator=|. These files are not part of the build.
2000-03-10 02:30:14 +00:00
rickg%netscape.com
5989a942b6
update to new string files; these are NOT part of the build
2000-03-09 10:50:02 +00:00
scc%netscape.com
58fac5eee3
File Removed.
2000-03-09 06:39:31 +00:00
scc%netscape.com
4343cd857e
Incremental changes. Getting the comparison operators right. Making |operator+()| do the right thing. These files are not part of the build yet.
2000-03-09 06:37:45 +00:00
scc%netscape.com
226fee4a5e
Incremental changes. These files are not yet part of the build. a=don
2000-03-08 21:57:14 +00:00
rickg%netscape.com
e2639fea30
fixed pdt+ bug 29749; r=pollman; a=jar
2000-03-08 06:16:29 +00:00
scc%netscape.com
50fa47e2c4
Not part of the build. Developing interfaces. Incremental changes to share with rickg, et al.
2000-03-07 20:56:07 +00:00
scc%netscape.com
379d85539c
First Checked In.
2000-03-07 01:02:10 +00:00
warren%netscape.com
c0497e31be
Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
2000-03-05 21:26:01 +00:00
rickg%netscape.com
b8a4416136
landed WIP nsString3 early design; not part of build; a=n/a
2000-03-03 09:04:50 +00:00
ftang%netscape.com
485fcaf806
fix 29333 make the initial construction passing "" for performance and legal nsString usage. r=rickg a=bobj
2000-02-29 06:59:55 +00:00
rickg%netscape.com
6aed413a37
fixed bug28837 (r=troy; a=jar). Removed warnings (r=troy)
2000-02-24 08:20:03 +00:00
waterson%netscape.com
e81097b87b
My bad; I reviewed this code and I suck. This is the right fix.
2000-02-24 06:42:36 +00:00
gagan%netscape.com
d86c754b55
Avoid calling Copy from operator= if we are just resetting the nsXPIDLString. So now it is safe to reset an nsXPIDLCString or nsXPIDLString by setting it to null. r=waterson,a=jevering
2000-02-24 05:34:28 +00:00
valeski%netscape.com
301e336587
28782. a=jar. r=rickg. nsCAutoString couldn't handle a '=' of a PRUnichar*, now it can
2000-02-23 22:47:03 +00:00
rickg%netscape.com
4c704a1b1b
changed 'embedded nulls' asserts to warnings in nsString
2000-02-19 09:17:49 +00:00
rickg%netscape.com
386500ccac
partial fix for 23418; r=rhp; a=phil
2000-02-19 09:17:14 +00:00
rickg%netscape.com
3ed534b000
fixed PDT+ bug27954; r=buster;a=jar; precheckins ok
2000-02-18 07:47:47 +00:00
scc%netscape.com
3939c51736
backing out my change
2000-02-16 15:43:55 +00:00
scc%netscape.com
408258131d
I think this is the right fix for the wensleydale bustage. Added |operator*()| to |nsXPIDL[C]String|. Fixed |const|-ness of existing operators and made inline. Built and tested on Mac; if this doesn't help, I'll back it right out. r=ckritzer (I swear I'm not making this up!)
2000-02-16 15:08:55 +00:00
danm%netscape.com
3201b9c811
adding nsISupportsIterators.idl for scc
2000-02-14 06:38:22 +00:00
rickg%netscape.com
050c633ce6
major perf mods for bug 27524, and removed deprecated methods; r=harishd
2000-02-13 17:46:15 +00:00
rickg%netscape.com
4e97c0877e
fixed off-by-one error; r=harishd
2000-02-13 17:45:01 +00:00
rickg%netscape.com
5480bb3143
fixing tiny menu bug by backing out partial update to nsStr; r=none
2000-02-11 16:21:53 +00:00
rickg%netscape.com
068f9e1da3
added return type on new method
2000-02-11 15:19:17 +00:00
scc%netscape.com
84639d6d3b
First Checked In.
2000-02-11 14:32:11 +00:00
rickg%netscape.com
4d12935e0e
fixed25049; r=harishd
2000-02-11 12:11:03 +00:00
scc%netscape.com
c0e8f62fdd
bug #25621 : shouldn't add a |NULL| atom to the hashtable. r=beard
2000-02-11 01:59:55 +00:00
scc%netscape.com
424433c86b
bug #25621 : didn't check for null before |AddRef()|. Converted |NS_ADDREF|-->|NS_IF_ADDREF|. No code review.
2000-02-07 10:05:14 +00:00
ftang%netscape.com
db0b7d7842
fix bug 23353. r=warren,rickg . Do not store listener in member data.
2000-01-28 14:41:04 +00:00
putterman%netscape.com
3295d7781f
Fix for 24362. Status bar gets updated message counts. a=chofmann. r=dp and jband.
2000-01-20 22:57:08 +00:00
scc%netscape.com
80984495ad
Fixing runtime assert bustage. r=pinkerton
2000-01-19 01:18:27 +00:00
rickg%netscape.com
1e1d20f88e
bug24015; r=rods a=chofmann
2000-01-18 21:06:05 +00:00
sford3%swbell.net
b2c319eae7
Replace instances of nsTextFormater with nsTextFormatter, r=jst@citec.fi
2000-01-17 22:32:13 +00:00
sfraser%netscape.com
a3536e8c1d
Add nsTextFormatter.h, for sford
2000-01-17 22:12:12 +00:00
sford3%swbell.net
ab6a38b233
Beginning of work on 16951, not part of build yet
2000-01-17 06:33:59 +00:00
warren%netscape.com
91ee8e32c4
Fixed Has method as per Doug's request.
2000-01-06 23:02:32 +00:00
waterson%netscape.com
619d700ee4
Bug 21472. Use only strict relationals with LL_CMP(). r=brendan
2000-01-06 20:22:29 +00:00
mcafee%netscape.com
29f5443a16
plvector.c is a C file, this was linking incorrectly on optimized solaris. r=briano
2000-01-06 01:12:25 +00:00
warren%netscape.com
b17760cea8
Added .get() to fix unix breakage.
2000-01-05 10:59:25 +00:00
warren%netscape.com
570a306175
Obsoleted old file.
2000-01-05 10:27:32 +00:00
warren%netscape.com
06918ca494
Made nsIProperties scriptable. Bug #21982
2000-01-05 09:29:25 +00:00
warren%netscape.com
538b2ca40f
Breaking out persistent properties from nsIProperties.h.
1999-12-29 20:55:42 +00:00
warren%netscape.com
9531c0b6ae
Added nsIStopwatch for timing analysis.
1999-12-29 20:54:13 +00:00
sspitzer%netscape.com
17c627bc23
fix warning for scc.
1999-12-24 03:42:54 +00:00
rickg%netscape.com
1c48bc0daa
fixed bug in compressChars2 where logic to test for ascii range was reversed; r=buster; a=jar
1999-12-21 07:49:34 +00:00
waterson%netscape.com
f15c00b036
Bug 22212. Re-enable observer service weak ref stuff, now that a good fix is in for PageCycler. a=chofmann
1999-12-21 00:12:25 +00:00
waterson%netscape.com
f0008a0cf9
Reverting scc's changes until we can sort out the browser buster stuff. a=chofmann
1999-12-20 22:13:33 +00:00
scc%netscape.com
e765050567
Enabling weak observer lists. Back this code out (if needed) by commenting out the |#define NS_WEAK_OBSERVERS| line since it also contains fixes. bug#18682, r=law, a={dp, chofmann}
1999-12-19 17:14:47 +00:00
briano%netscape.com
9587f6dc46
Final portion of the fix for bug 20882. Just a cleaner way of doing what is already being done.
1999-12-14 00:56:50 +00:00
kin%netscape.com
3308275ef6
Fix for bug #21317 : UMR: nsCAutoString::=(nsCAutoString const&)
...
Added nsCAutoString& operator=(nsCAutoString&).
r=rickg@netscape.com a=chofmann@netscape.com
1999-12-09 22:53:52 +00:00
rginda%netscape.com
f5f06fba37
Fix for unix bustage, r=scc@netscape.com
1999-12-08 06:14:33 +00:00
scc%netscape.com
2645d4a68f
Changes to make observer lists hold only weak references. This code is disabled by default; enabled by the symbol |NS_WEAK_OBSERVERS|. The code will remain disabled until two underlying ownership bugs are fixed: hanging the wallet service from something permanent, and finding the observer someone is registering through XPConnect that does not support weak references. bug#=18682; r=dp
1999-12-08 05:24:14 +00:00
alecf%netscape.com
99960a45d7
behave like one might expect in the case of passing null the nsCRT::strcmp when passing NULL
...
review & discussed with brendan, shaver
1999-12-07 22:10:31 +00:00
rickg%netscape.com
a3187e2ff2
fixed bug in nsStr::Compare(); r=dveditz (who also found the bug)
1999-12-07 09:52:43 +00:00
jband%netscape.com
2eaaa4083b
adding member initializer to quiet Purify. r=waterson.
1999-12-07 07:17:44 +00:00
rickg%netscape.com
95441de478
fixed PDT+19121; r=kmcclusk
1999-12-03 00:30:29 +00:00
rickg%netscape.com
1a75640583
fixed off-by-1 error in compare, and added ReplaceSubstring(). r=syd
1999-12-02 10:14:38 +00:00
waterson%netscape.com
084b9e5d76
Make 'kGrowArrayBy' const. Thanks, Heikki.
1999-12-01 22:44:42 +00:00
sfraser%netscape.com
5c1617659d
Add string versions of the line terminatin macros. r=pinkerton
1999-12-01 22:26:58 +00:00
sfraser%netscape.com
dacf66a5bf
Include stdio.h with system paths, not user paths. No bug, r=mozbot.
1999-12-01 06:12:01 +00:00
waterson%netscape.com
6d00264a22
Bug 9489. Add support for nsAutoVoidArray. r=scc,shaver
1999-12-01 00:37:11 +00:00
dp%netscape.com
edcdeb94a5
NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
1999-11-30 23:36:32 +00:00
pinkerton%netscape.com
1a970bd699
added setDataWithLength to nsISupports[W]String r=jband.
1999-11-30 22:06:05 +00:00
warren%netscape.com
4e2588b525
Removed nsICapabilities.idl -- subsumed by nsIInterfaceRequestor.idl
1999-11-30 05:18:39 +00:00
fur%netscape.com
4981f629c1
Disable the temporary assertion for embedded NUL characters in nsString::Append(),
...
so that clients of nsString can make use of the changes that rickg added which
allow embedded NULs. r: rickg
1999-11-29 21:32:53 +00:00
warren%netscape.com
96ec037ac6
Eliminated the libs build pass.
1999-11-28 03:05:01 +00:00
shaver%netscape.com
b829e11c5a
Fix for 18505 (rename nsDeque::Peek to nsDeque::PeekFront) from Sammy Ford
...
<fuzed@swbell.net>.
1999-11-27 17:47:05 +00:00
warren%netscape.com
2946b5d178
Fixed indentation.
1999-11-20 07:30:26 +00:00
warren%netscape.com
7b7c64390a
Changed ifdefs to this stuff is off for debug builds too.
1999-11-20 07:28:45 +00:00
dp%netscape.com
aae8cd6430
Using NS_REINTERPERT_CAST instead of NS_STATIC_CAST r=scc@netscape.com
1999-11-20 07:15:23 +00:00
warren%netscape.com
d6c2199dcd
Added isascii for mac
1999-11-20 05:46:04 +00:00
warren%netscape.com
8b576d2a0a
Fixed include for non-debug builds.
1999-11-20 05:27:35 +00:00
warren%netscape.com
5b2d5696f3
Added nsStr (nsString, nsString2) code for counting strings that have been seen. r=rickg
1999-11-20 04:22:26 +00:00
rickg%netscape.com
51573db439
corrected type mismatch in memory error status of nsStrings; r=none
1999-11-19 08:10:40 +00:00
rickg%netscape.com
ad5334de75
added DebugDump() to nsString classes for terminal output. Also slightly improved documentation. r=buster
1999-11-19 08:05:30 +00:00
warren%netscape.com
59ef7fadbf
Removed the nsICapabilities interface in favor of nsIInterfaceRequestor.
1999-11-18 07:36:41 +00:00
warren%netscape.com
34ecf73507
Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
1999-11-17 08:14:52 +00:00
warren%netscape.com
8e672ef3c5
Added nsICapabilities. Abstracted out from nsIContentViewerContainer for use in necko.
1999-11-17 07:36:40 +00:00
fur%netscape.com
9b4f4a91c4
I screwed up the checkin message log, here's the real changes in revision
...
3.5 of this file. These changes are in support of bug #8305 (Cache implementation):
r: dougt
+ Fixed off-by-one value in enumerating either forwards or backwards, such
that the last element is never enumerated.
+ Fixed return values of IsDone() to conform to unusual nsIEnumerator definition
+ Fixed declarations so public methods can be called outside DLL
1999-11-16 03:23:10 +00:00
fur%netscape.com
67b239942c
In support of bug #8305 (Cache implementation), added new type of hash-table
...
key, an array of opaque data, not owned by the key. r: dougt
1999-11-16 03:10:54 +00:00
putterman%netscape.com
f0fed40b89
Fixes leak. Reviewed by law.
1999-11-15 20:57:24 +00:00
rickg%netscape.com
516adaef6c
reenabled safer version of assertion
1999-11-15 17:10:06 +00:00
rickg%netscape.com
a45e164ae6
disable overambitious assert for now; r=rods; a=leaf
1999-11-15 16:38:29 +00:00
rickg%netscape.com
948d04c6d8
change NS_ASSERTION to NS_WARN_IF_FALSE; r=none
1999-11-14 10:05:40 +00:00
rickg%netscape.com
5ff074fed9
finally: a fix for archaic compilers
1999-11-14 07:58:05 +00:00
rickg%netscape.com
af6e99fa32
try again to get around unix problem
1999-11-14 07:20:02 +00:00
rickg%netscape.com
38e3044206
try to get around linux compiler grief
1999-11-14 06:49:43 +00:00
rickg%netscape.com
bd46d8d5f0
bug18337 and fixes for embedded nulls; r=harishd
1999-11-14 06:22:52 +00:00
jdunn%netscape.com
2439aac20c
AIX requires a 'const' in order to handle the assignment of 2 nsStrings
...
(see wallet.cpp line 3093).
rickg approved
1999-11-12 03:58:15 +00:00
sfraser%netscape.com
fe7238681a
Part of fix for 18315 -- allow nsSupportsHashTable to contain null entries, which meant changing NS_{ADDREF,RELEASE} to NS_IF_{ADDREF,RELEASE} in a bunch of places. r=pavlov.
1999-11-11 20:41:54 +00:00
shaver%netscape.com
6256e1b5ec
revert case change, because I no longer have the accompanying JS changes -- don't ask
1999-11-10 04:18:07 +00:00