dougt%netscape.com
77509d47e0
Adding include of prlink.h to nsILocalFile.idl.
...
remove a bad semicolon in nsLocalFileWin
above not in build.
Adding an explict include of nsCRT to nsPipe2.cpp
this is in the build, but is trival.
git-svn-id: svn://10.0.0.236/trunk@56352 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 04:11:13 +00:00
dougt%netscape.com
de1e8beaf0
implement load().
...
not part of build.
git-svn-id: svn://10.0.0.236/trunk@56343 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 03:01:08 +00:00
dougt%netscape.com
da42fa46ee
adding a load() command which will allow loading of libraries.
...
not part of build
git-svn-id: svn://10.0.0.236/trunk@56342 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 02:59:01 +00:00
dougt%netscape.com
bf5350e2e6
removing unneeded header file.
...
not part of build.
git-svn-id: svn://10.0.0.236/trunk@56339 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:58:25 +00:00
vidur%netscape.com
34da574eb4
Added IID for nsIDOMHTMLFormControlList. a=dagley r=nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@56337 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:57:28 +00:00
dougt%netscape.com
5e6a51e582
1. First cut of a Special System Directory replacement (nsDirectoryService).
...
It is a nsIProperty.
2. Updates to the nsIFile and nsILocalFile interfaces based on conversations
with warren. (thanks)
3. Updated windows mac and unix implementations based on interface changes.
Mac and windows changes need to be reviewed.
Not part of build.
git-svn-id: svn://10.0.0.236/trunk@56336 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:56:45 +00:00
dougt%netscape.com
b3545fcbef
removing nsIFile stuff from the windows makefile for now. a=sdagley.
...
git-svn-id: svn://10.0.0.236/trunk@56331 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:50:30 +00:00
dougt%netscape.com
41e83422c9
fix for 16273. r=valeski, a=sdagley.
...
git-svn-id: svn://10.0.0.236/trunk@56328 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:47:59 +00:00
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
valeski%netscape.com
4fd0540efa
a=chofmann, 21783. inverted parameter validation checks have been corrected.
...
git-svn-id: svn://10.0.0.236/trunk@56269 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 03:00:54 +00:00
briano%netscape.com
fcb98dd458
NetBSD/arm-specific build bustage fix. The underlying problem _seems_ to be with ld, but I've been wrong before....
...
git-svn-id: svn://10.0.0.236/trunk@56263 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 01:39:12 +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
dougt%netscape.com
a5052c7d8c
Adding back the assert since I fixed the problem in the GTK appshell.
...
git-svn-id: svn://10.0.0.236/trunk@56241 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-20 23:12:18 +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
sspitzer%netscape.com
8ab190c77c
make it so dougt's assertions only happen for him.
...
there is no reason the whole world should see a billion printfs.
git-svn-id: svn://10.0.0.236/trunk@56195 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 10:17:09 +00:00
briano%netscape.com
15372776e7
Now FreeBSD/alpha and NetBSD/alpha builds can use the Linux/alpha code.
...
git-svn-id: svn://10.0.0.236/trunk@56175 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 03:43:19 +00:00
jdunn%netscape.com
12eddcb686
Fix the AIX xptcall work
...
a= chofmann
# 18692
git-svn-id: svn://10.0.0.236/trunk@56046 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 19:01:53 +00:00
sspitzer%netscape.com
d1968e1600
purify related fixes. first, prevent a crash that was prevent me
...
from running purify in nsGenericFactory.cpp. Second, add support
for "mozilla -pure". Only works if you've build mozilla.bin.pure, of course.
git-svn-id: svn://10.0.0.236/trunk@56038 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 06:23:50 +00:00
dougt%netscape.com
3c92ff6d8a
Speeds up the product by removing calls to PR_Sleep() in favor of PR_WaitForEvent().
...
This really rocks. r=valeski, a=jar.
git-svn-id: svn://10.0.0.236/trunk@56034 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 04:49:55 +00:00
valeski%netscape.com
62482783f2
21723. a=chofmann, r=warren. earlier this week segment size and max size parameters were exposed to higher level consumers of necko apis. this change warns a user if they try to create a pipe w/ zero len segs and max sizes. pipes are useless without sizes
...
git-svn-id: svn://10.0.0.236/trunk@55989 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 22:08:40 +00:00
valeski%netscape.com
77f1824c47
21723. a=chofmann, r=rpotts. Laying ground work for FTP checkin. This fixes an oppressive event queue api method. We weren't returning the event to be processed. subsequently the event was being lost. There are currently *no* users of this method in the tree.
...
git-svn-id: svn://10.0.0.236/trunk@55988 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 22:06:17 +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
dougt%netscape.com
8efe8bcc68
Added an assert and return so that eventQs only get
...
processed on the owning thread. This fixes at least
18005 and 17065. r=damn@netscape.com , a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@55941 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 23:05:31 +00:00
mccabe%netscape.com
2db3a56287
Fix to 21512.
...
Added big note saying 'please disable security before trying to run
this' so nobody gets frustrated.
Updated sample component progid reference to actually match the .cpp.
Now the page actually works! (John Morrison
<3jrgm@qlink.queensu.ca> caught this in mozilla.xpcom)
Thanks to Rick Bradley <roundeye@bellsouth.net> for pointing me to the
problem, and for encouraging me to add a note.
r=mccabe. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@55912 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-12 05:41:29 +00:00
bienvenu%netscape.com
a6d5ab0a18
fix file truncation on windows, was breaking pop filters, r=dougt, a=chofmann 20634
...
git-svn-id: svn://10.0.0.236/trunk@55871 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 23:33:30 +00:00
warren%netscape.com
e9f618e116
Fix for leak/bloat stats going negative. a=jar
...
git-svn-id: svn://10.0.0.236/trunk@55840 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 04:27:52 +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
shaver%netscape.com
44195d4a3a
fix leaf of registryName ( #21068 , r=beard, a=leaf)
...
git-svn-id: svn://10.0.0.236/trunk@55777 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 00:01:46 +00:00
sdagley%netscape.com
fafc5636c1
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@55748 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 07:56:17 +00:00
fur%netscape.com
d500130ed8
Need to reset pointers within segment after realloc, since segment base
...
may have changed.
git-svn-id: svn://10.0.0.236/trunk@55738 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 06:28:44 +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
dougt%netscape.com
b80e941838
turning on nsIFile for windows. 13320
...
git-svn-id: svn://10.0.0.236/trunk@55731 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 05:14:54 +00:00
norris%netscape.com
d630910cd9
I ran Purify and found this:
...
>
> [E] ABR: Array bounds read in
> nsFileSpecHelpers::UnixToNative(nsSimpleCharString&) {48 occurrences}
> Reading 1 byte from 0x03f00b2c (1 byte at 0x03f00b2c illegal)
> Address 0x03f00b2c is 1 byte past the end of a 268 byte block at
> 0x03f00a20
> Address 0x03f00b2c points to a malloc'd block in heap 0x03c30000
> Thread ID: 0x9c
> Error location
> nsFileSpecHelpers::UnixToNative(nsSimpleCharString&)
> [nsFileSpecWin.cpp:111]
> src = (char*)ioPath;
>
> // Convert '/' to '\'.
> => while (*++src)
> {
> if (*src == '/')
> *src = '\\';
> nsFileSpec::+=(char const*) [nsFileSpecWin.cpp:394]
> nsChromeRegistry::CheckForProfileFile(nsCAutoString
> const&,nsCAutoString&) [nsChromeRegistry.cpp:1278]
> nsChromeRegistry::LoadDataSource(nsCAutoString const&,nsIRDFDataSource
> * *,int) [nsChromeRegistry.cpp:713]
>
> nsChromeRegistry::InitializeDataSource(nsString&,nsString&,nsIRDFDataSource *
> *,int) [nsChromeRegistry.cpp:784]
> nsChromeRegistry::ConvertChromeURL(nsIURI *)
> [nsChromeRegistry.cpp:527]
> nsChromeProtocolHandler::NewChannel(char const*,nsIURI *,nsILoadGroup
> *,nsIInterfaceRequestor *,UINT,nsIURI *,UINT,UINT,nsIChannel * *)
> [nsChromeProtocolHandler.cpp:371]
> nsIOService::NewChannelFromURI(char const*,nsIURI *,nsILoadGroup
> *,nsIInterfaceRequestor *,UINT,nsIURI *,UINT,UINT,nsIChannel * *)
> [nsIOService.cpp:250]
> nsDocumentOpenInfo::Open(nsIURI *,int,char const*,nsISupports *,nsIURI
> *,nsIInputStream *,nsISupports *,nsISupports * *) [nsURILoader.cpp:168]
> nsURILoader::OpenURIWithPostDataVia(nsIURI *,int,char
> const*,nsISupports *,nsIURI *,nsIInputStream *,nsISupports *,nsISupports *
> *,UINT) [nsURILoader.cpp:418]
> Allocation location
> malloc [dbgheap.c:129]
> PR_Malloc [prmem.c:38]
> nsSimpleCharString::ReallocData(UINT) [nsFileSpec.cpp:248]
> nsSimpleCharString::CopyFrom(char const*,UINT) [nsFileSpec.cpp:167]
> nsSimpleCharString::nsSimpleCharString(char const*)
> [nsFileSpec.cpp:60]
> nsFileSpecHelpers::UnixToNative(nsSimpleCharString&)
> [nsFileSpecWin.cpp:104]
> nsFileSpec::+=(char const*) [nsFileSpecWin.cpp:394]
> nsChromeRegistry::CheckForProfileFile(nsCAutoString
> const&,nsCAutoString&) [nsChromeRegistry.cpp:1278]
> nsChromeRegistry::LoadDataSource(nsCAutoString const&,nsIRDFDataSource
> * *,int) [nsChromeRegistry.cpp:713]
>
> nsChromeRegistry::InitializeDataSource(nsString&,nsString&,nsIRDFDataSource *
> *,int) [nsChromeRegistry.cpp:784]
>
> which is fixed by this patch.
git-svn-id: svn://10.0.0.236/trunk@55693 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:53:37 +00:00
dougt%netscape.com
0419f0e310
removing MoveToFollowingLinks(). It was discussed that was not needed due
...
to links being broken. r=shaver
more tweeks to get symlinks working correct on windows.
not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@55684 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:07:38 +00:00
dp%netscape.com
c1ad24f646
Using ShutdownGlobalServiceManager() for servicemanager shutdown. r=putterman@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@55680 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:03:25 +00:00
dp%netscape.com
76ba2b6544
Adding assertion to check for improper shutdown of servicemanager. r=chofmann@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@55679 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:00:30 +00:00
dp%netscape.com
af2c8ed503
Removing usage of nsComponentManager.h r=selmer
...
git-svn-id: svn://10.0.0.236/trunk@55678 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 01:59:32 +00:00
dp%netscape.com
542244281b
Removing nsComponentManager.h from export
...
git-svn-id: svn://10.0.0.236/trunk@55677 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 01:58:30 +00:00
scc%netscape.com
ae0737cdba
Fix specialized |CallQueryInterface| as per review by travis ... r=travis.
...
git-svn-id: svn://10.0.0.236/trunk@55669 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 01:44:06 +00:00
scc%netscape.com
948cb30176
|NS_REINTERPRET_CAST| might try to adjust pointers on machines where it turns into an old-style cast. Fix that by first casting to |void*|. r=alecf.
...
git-svn-id: svn://10.0.0.236/trunk@55668 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 01:41:28 +00:00
beard%netscape.com
07d6c2844b
took out calls to NS_InitGarbageCollector() & NS_ShutdownGarbageCollector() which are now supplanted by internal NSPR versions. r=gordon, bug #15906
...
git-svn-id: svn://10.0.0.236/trunk@55661 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 00:13:13 +00:00
dougt%netscape.com
83e21d3a65
13320 more tweaking to nsIFile windows impl.
...
not part of build yet.
git-svn-id: svn://10.0.0.236/trunk@55643 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 23:31:25 +00:00
sdagley%netscape.com
27cbf1994b
Part of #17949 . nsLocalFileMac work. Not part of build yet.
...
git-svn-id: svn://10.0.0.236/trunk@55624 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:26:51 +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
scc%netscape.com
dba31d43b3
and there's another instance of the build-busting old cast still in the file
...
git-svn-id: svn://10.0.0.236/trunk@55585 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 15:51:21 +00:00
scc%netscape.com
d35ae0e781
Mis-spelled one of two instances of |NS_REINTERPRET_CAST|, in the same line yet. Damn :-(
...
git-svn-id: svn://10.0.0.236/trunk@55583 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 15:26:41 +00:00
scc%netscape.com
5344c3abe4
Attempting to fix build bustage. Looks like a compiler bug (since |TestObserver| isn't a base class of |nsISupports| in any way, at least the error message has got to be wrong).
...
git-svn-id: svn://10.0.0.236/trunk@55582 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 14:46:35 +00:00
scc%netscape.com
d82bf53dc0
Adding an alternate version of |CallQueryInterface| as an experiment on behalf of travis. This function is not yet called, and should not effect the build or the runtime. r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@55581 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 14:09:29 +00:00