2899 Commits

Author SHA1 Message Date
dougt%netscape.com
e273b1a9c4 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@56701 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 00:50:08 +00:00
sspitzer%netscape.com
3823830445 turn off assertions until dougt fixes #22943. r=dougt
git-svn-id: svn://10.0.0.236/trunk@56699 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 00:14:37 +00:00
dougt%netscape.com
3a4155eb03 Adding explict includes.
git-svn-id: svn://10.0.0.236/trunk@56696 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 23:50:19 +00:00
blizzard%redhat.com
1f1ce365e8 Change nsComponentManager::ProgIDToCLSID to nsComponentManager::ProgIDToClassID as per bug #3579. Checking in for sford. r=scc,r=blizzard
git-svn-id: svn://10.0.0.236/trunk@56630 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-30 22:03:58 +00:00
warren%netscape.com
9056c4e3a6 Breaking out persistent properties from nsIProperties.h.
git-svn-id: svn://10.0.0.236/trunk@56609 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 20:55:42 +00:00
warren%netscape.com
88189d2f94 Added nsIStopwatch for timing analysis.
git-svn-id: svn://10.0.0.236/trunk@56608 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 20:54:13 +00:00
warren%netscape.com
6836908904 Added new logging service to replace PR_LOG.
git-svn-id: svn://10.0.0.236/trunk@56607 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 20:53:17 +00:00
bryner%uiuc.edu
4402af7a65 Fix a warning. r=mcafee.
git-svn-id: svn://10.0.0.236/trunk@56573 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 20:26:56 +00:00
sspitzer%netscape.com
f7440a0d0d fix warnings.
git-svn-id: svn://10.0.0.236/trunk@56570 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 19:37:29 +00:00
sspitzer%netscape.com
e4f43e292d fix warning for scc.
git-svn-id: svn://10.0.0.236/trunk@56528 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-24 03:42:54 +00:00
idk%eng.sun.com
06ee17f97f Addon to my last checkin.
sorry


git-svn-id: svn://10.0.0.236/trunk@56471 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 01:26:39 +00:00
idk%eng.sun.com
b57eddb1c6 Initial check in for remote xpcom module.
More documentation andd implementations is comming.

gotta go
work on this module would be continued after 01/10/2000


git-svn-id: svn://10.0.0.236/trunk@56470 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 01:16:05 +00:00
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