rickg%netscape.com
130ac14aab
fixed bug in compressChars2 where logic to test for ascii range was reversed; r=buster; a=jar
...
git-svn-id: svn://10.0.0.236/trunk@56274 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 07:49:34 +00:00
waterson%netscape.com
7af106da48
Bug 22212. Re-enable observer service weak ref stuff, now that a good fix is in for PageCycler. a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@56253 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 00:12:25 +00:00
waterson%netscape.com
dd7fec877d
Reverting scc's changes until we can sort out the browser buster stuff. a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@56239 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-20 22:13:33 +00:00
scc%netscape.com
aedd4328c2
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}
...
git-svn-id: svn://10.0.0.236/trunk@56216 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-19 17:14:47 +00:00
briano%netscape.com
80de098422
Final portion of the fix for bug 20882. Just a cleaner way of doing what is already being done.
...
git-svn-id: svn://10.0.0.236/trunk@55956 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 00:56:50 +00:00
kin%netscape.com
c5faa05ac6
Fix for bug #21317 : UMR: nsCAutoString::=(nsCAutoString const&)
...
Added nsCAutoString& operator=(nsCAutoString&).
r=rickg@netscape.com a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@55821 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 22:53:52 +00:00
rginda%netscape.com
1af24d307c
Fix for unix bustage, r=scc@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@55737 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 06:14:33 +00:00
scc%netscape.com
32ad1437d2
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
...
git-svn-id: svn://10.0.0.236/trunk@55732 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 05:24:14 +00:00
alecf%netscape.com
5cfe68fe2e
behave like one might expect in the case of passing null the nsCRT::strcmp when passing NULL
...
review & discussed with brendan, shaver
git-svn-id: svn://10.0.0.236/trunk@55610 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:10:31 +00:00
rickg%netscape.com
9568c0a1e2
fixed bug in nsStr::Compare(); r=dveditz (who also found the bug)
...
git-svn-id: svn://10.0.0.236/trunk@55577 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 09:52:43 +00:00
jband%netscape.com
1d0d491d3d
adding member initializer to quiet Purify. r=waterson.
...
git-svn-id: svn://10.0.0.236/trunk@55558 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 07:17:44 +00:00
rickg%netscape.com
6d81d0e4d1
fixed PDT+19121; r=kmcclusk
...
git-svn-id: svn://10.0.0.236/trunk@55130 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 00:30:29 +00:00
rickg%netscape.com
e99aad53d3
fixed off-by-1 error in compare, and added ReplaceSubstring(). r=syd
...
git-svn-id: svn://10.0.0.236/trunk@55066 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 10:14:38 +00:00
waterson%netscape.com
1ca4076923
Make 'kGrowArrayBy' const. Thanks, Heikki.
...
git-svn-id: svn://10.0.0.236/trunk@54954 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:44:42 +00:00
sfraser%netscape.com
6e1e05e1dd
Add string versions of the line terminatin macros. r=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@54944 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:26:58 +00:00
sfraser%netscape.com
50952e0fee
Include stdio.h with system paths, not user paths. No bug, r=mozbot.
...
git-svn-id: svn://10.0.0.236/trunk@54874 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 06:12:01 +00:00
waterson%netscape.com
7d74faa6ec
Bug 9489. Add support for nsAutoVoidArray. r=scc,shaver
...
git-svn-id: svn://10.0.0.236/trunk@54833 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 00:37:11 +00:00
dp%netscape.com
9b0cfefb70
NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@54812 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 23:36:32 +00:00
pinkerton%netscape.com
5723e151a5
added setDataWithLength to nsISupports[W]String r=jband.
...
git-svn-id: svn://10.0.0.236/trunk@54771 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:06:05 +00:00
warren%netscape.com
99c149db53
Removed nsICapabilities.idl -- subsumed by nsIInterfaceRequestor.idl
...
git-svn-id: svn://10.0.0.236/trunk@54724 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 05:18:39 +00:00
fur%netscape.com
0d4ce41cf5
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
git-svn-id: svn://10.0.0.236/trunk@54597 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 21:32:53 +00:00
warren%netscape.com
eb9a891946
Eliminated the libs build pass.
...
git-svn-id: svn://10.0.0.236/trunk@54523 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 03:05:01 +00:00
shaver%netscape.com
9d0148c5b0
Fix for 18505 (rename nsDeque::Peek to nsDeque::PeekFront) from Sammy Ford
...
<fuzed@swbell.net>.
git-svn-id: svn://10.0.0.236/trunk@54511 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 17:47:05 +00:00
warren%netscape.com
7a58577c40
Fixed indentation.
...
git-svn-id: svn://10.0.0.236/trunk@54053 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 07:30:26 +00:00
warren%netscape.com
aeadc2d08d
Changed ifdefs to this stuff is off for debug builds too.
...
git-svn-id: svn://10.0.0.236/trunk@54052 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 07:28:45 +00:00
dp%netscape.com
aa94e40f1a
Using NS_REINTERPERT_CAST instead of NS_STATIC_CAST r=scc@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@54045 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 07:15:23 +00:00
warren%netscape.com
cde014ca66
Added isascii for mac
...
git-svn-id: svn://10.0.0.236/trunk@54040 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 05:46:04 +00:00
warren%netscape.com
460bc80b0e
Fixed include for non-debug builds.
...
git-svn-id: svn://10.0.0.236/trunk@54039 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 05:27:35 +00:00
warren%netscape.com
eff6e0fd5e
Added nsStr (nsString, nsString2) code for counting strings that have been seen. r=rickg
...
git-svn-id: svn://10.0.0.236/trunk@54036 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 04:22:26 +00:00
rickg%netscape.com
3cd1a47af6
corrected type mismatch in memory error status of nsStrings; r=none
...
git-svn-id: svn://10.0.0.236/trunk@53986 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 08:10:40 +00:00
rickg%netscape.com
1eaa6d5152
added DebugDump() to nsString classes for terminal output. Also slightly improved documentation. r=buster
...
git-svn-id: svn://10.0.0.236/trunk@53985 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 08:05:30 +00:00
warren%netscape.com
cbcd671c5d
Removed the nsICapabilities interface in favor of nsIInterfaceRequestor.
...
git-svn-id: svn://10.0.0.236/trunk@53856 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 07:36:41 +00:00
warren%netscape.com
d8627fe912
Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
...
git-svn-id: svn://10.0.0.236/trunk@53761 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 08:14:52 +00:00
warren%netscape.com
990558f3e9
Added nsICapabilities. Abstracted out from nsIContentViewerContainer for use in necko.
...
git-svn-id: svn://10.0.0.236/trunk@53759 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 07:36:40 +00:00
fur%netscape.com
f12430fa5d
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
git-svn-id: svn://10.0.0.236/trunk@53614 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 03:23:10 +00:00
fur%netscape.com
eee2215bda
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
git-svn-id: svn://10.0.0.236/trunk@53609 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 03:10:54 +00:00
putterman%netscape.com
29e05f2b3f
Fixes leak. Reviewed by law.
...
git-svn-id: svn://10.0.0.236/trunk@53528 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 20:57:24 +00:00
rickg%netscape.com
a321381b94
reenabled safer version of assertion
...
git-svn-id: svn://10.0.0.236/trunk@53516 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 17:10:06 +00:00
rickg%netscape.com
a22352015d
disable overambitious assert for now; r=rods; a=leaf
...
git-svn-id: svn://10.0.0.236/trunk@53515 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 16:38:29 +00:00
rickg%netscape.com
00192bb235
change NS_ASSERTION to NS_WARN_IF_FALSE; r=none
...
git-svn-id: svn://10.0.0.236/trunk@53459 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 10:05:40 +00:00
rickg%netscape.com
ddde4bb78a
finally: a fix for archaic compilers
...
git-svn-id: svn://10.0.0.236/trunk@53457 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 07:58:05 +00:00
rickg%netscape.com
27037be4db
try again to get around unix problem
...
git-svn-id: svn://10.0.0.236/trunk@53454 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 07:20:02 +00:00
rickg%netscape.com
538fc8b875
try to get around linux compiler grief
...
git-svn-id: svn://10.0.0.236/trunk@53452 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 06:49:43 +00:00
rickg%netscape.com
6e4e20009b
bug18337 and fixes for embedded nulls; r=harishd
...
git-svn-id: svn://10.0.0.236/trunk@53450 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 06:22:52 +00:00
jdunn%netscape.com
20bee13047
AIX requires a 'const' in order to handle the assignment of 2 nsStrings
...
(see wallet.cpp line 3093).
rickg approved
git-svn-id: svn://10.0.0.236/trunk@53315 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 03:58:15 +00:00
sfraser%netscape.com
211c4f5a58
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.
...
git-svn-id: svn://10.0.0.236/trunk@53229 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 20:41:54 +00:00
shaver%netscape.com
d225f7052a
revert case change, because I no longer have the accompanying JS changes -- don't ask
...
git-svn-id: svn://10.0.0.236/trunk@53068 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 04:18:07 +00:00
shaver%netscape.com
c6b0353b9c
export nsSupportsArray so the Mac and VC can see it
...
git-svn-id: svn://10.0.0.236/trunk@53057 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 01:49:30 +00:00
shaver%netscape.com
6896473ece
- NS_ERROR_FACTORY_REGISTER_AGAIN for deferring registration of a module until
...
later in the autoreg cycle.
- teach native component loader about deferred components
- add nsIComponentLoader::registerDeferredComponents
- teach component manager about deferred components
- made nsID::Parse take a |const char *| instead of a simple |char *|.
- move release of XPTI singletons until _after_ shutting down the component
manager to prevent re-initialization during JS component shutdown.
- category manager work: really delete from reg, start on enumeration
- use nsXPIDLCString instead of autoStringFree.
- fix nsRegistry to use allocator properly.
- cleaner memory management in nsFactoryEntry.
- capitalization fixed in nsIComponentLoader.idl
- clean up loader creation logic
- remove/disable lots of DEBUG_shaver noise
- added (disabled) warning about NSGetFactory usage
- move .so and .shlb higher up in the ValidDllExtensions list to marginally
speed up registration.
- added nsDll::GetRegistryLocation API
- properly export nsSupportsArray.h
- capitalization fixes in nsIEnumerator.idl
- added deferral to nsSample.js
git-svn-id: svn://10.0.0.236/trunk@53047 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 00:28:34 +00:00
dp%netscape.com
ccb285cb8c
Removing NS_COMFALSE usage.
...
git-svn-id: svn://10.0.0.236/trunk@53029 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-09 23:30:44 +00:00