Граф коммитов

3125 Коммитов

Автор SHA1 Сообщение Дата
dougt%netscape.com bbba930444 *** empty log message *** 2000-01-04 00:50:08 +00:00
sspitzer%netscape.com 3a7dedd313 turn off assertions until dougt fixes #22943. r=dougt 2000-01-04 00:14:37 +00:00
dougt%netscape.com a3dfcdfd49 Adding explict includes. 2000-01-03 23:50:19 +00:00
blizzard%redhat.com d6cf22aa5c Change nsComponentManager::ProgIDToCLSID to nsComponentManager::ProgIDToClassID as per bug #3579. Checking in for sford. r=scc,r=blizzard 1999-12-30 22:03:58 +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
warren%netscape.com c3c3652080 Added new logging service to replace PR_LOG. 1999-12-29 20:53:17 +00:00
bryner%uiuc.edu 717cbdd7e2 Fix a warning. r=mcafee. 1999-12-28 20:26:56 +00:00
sspitzer%netscape.com fbd97e9856 fix warnings. 1999-12-28 19:37:29 +00:00
sspitzer%netscape.com 17c627bc23 fix warning for scc. 1999-12-24 03:42:54 +00:00
idk%eng.sun.com c3a75ec8af Addon to my last checkin.
sorry
1999-12-23 01:26:39 +00:00
idk%eng.sun.com f710b056f5 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
1999-12-23 01:16:05 +00:00
dougt%netscape.com fec1d697e4 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.
1999-12-22 04:11:13 +00:00
dougt%netscape.com b5b2844b63 implement load().
not part of build.
1999-12-22 03:01:08 +00:00
dougt%netscape.com 0ac3ce03e5 adding a load() command which will allow loading of libraries.
not part of build
1999-12-22 02:59:01 +00:00
dougt%netscape.com 34d3726653 removing unneeded header file.
not part of build.
1999-12-22 01:58:25 +00:00
vidur%netscape.com 5a82d25d66 Added IID for nsIDOMHTMLFormControlList. a=dagley r=nisheeth 1999-12-22 01:57:28 +00:00
dougt%netscape.com 95f50f9301 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.
1999-12-22 01:56:45 +00:00
dougt%netscape.com 8b081cae4b removing nsIFile stuff from the windows makefile for now. a=sdagley. 1999-12-22 01:50:30 +00:00
dougt%netscape.com 7b6cb1119f fix for 16273. r=valeski, a=sdagley. 1999-12-22 01:47:59 +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
valeski%netscape.com f182a466ac a=chofmann, 21783. inverted parameter validation checks have been corrected. 1999-12-21 03:00:54 +00:00
briano%netscape.com 14b191325e NetBSD/arm-specific build bustage fix. The underlying problem _seems_ to be with ld, but I've been wrong before.... 1999-12-21 01:39:12 +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
dougt%netscape.com bad2d6b476 Adding back the assert since I fixed the problem in the GTK appshell. 1999-12-20 23:12:18 +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
sspitzer%netscape.com cc7ea1bbf1 make it so dougt's assertions only happen for him.
there is no reason the whole world should see a billion printfs.
1999-12-18 10:17:09 +00:00
briano%netscape.com 3eeeee81a2 Now FreeBSD/alpha and NetBSD/alpha builds can use the Linux/alpha code. 1999-12-18 03:43:19 +00:00
jdunn%netscape.com b50bf4c0c4 Fix the AIX xptcall work
a= chofmann
# 18692
1999-12-15 19:01:53 +00:00
sspitzer%netscape.com 22b6b14e23 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.
1999-12-15 06:23:50 +00:00
dougt%netscape.com b322930c74 Speeds up the product by removing calls to PR_Sleep() in favor of PR_WaitForEvent().
This really rocks.  r=valeski, a=jar.
1999-12-15 04:49:55 +00:00
valeski%netscape.com 7eda757e29 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 1999-12-14 22:08:40 +00:00
valeski%netscape.com 2f303433fa 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. 1999-12-14 22:06:17 +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
dougt%netscape.com 0a71a2d506 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.
1999-12-13 23:05:31 +00:00
mccabe%netscape.com 0666068a75 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.
1999-12-12 05:41:29 +00:00
bienvenu%netscape.com 5b31932b02 fix file truncation on windows, was breaking pop filters, r=dougt, a=chofmann 20634 1999-12-10 23:33:30 +00:00
warren%netscape.com 7d4fa072a5 Fix for leak/bloat stats going negative. a=jar 1999-12-10 04:27:52 +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
shaver%netscape.com a4cd86a287 fix leaf of registryName (#21068, r=beard, a=leaf) 1999-12-09 00:01:46 +00:00
sdagley%netscape.com d17bcebfe3 First Checked In. 1999-12-08 07:56:17 +00:00
fur%netscape.com edbc3a53e1 Need to reset pointers within segment after realloc, since segment base
may have changed.
1999-12-08 06:28:44 +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
dougt%netscape.com ac4e013485 turning on nsIFile for windows. 13320 1999-12-08 05:14:54 +00:00
norris%netscape.com af18497222 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.
1999-12-08 02:53:37 +00:00
dougt%netscape.com 8b94c587f9 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.
1999-12-08 02:07:38 +00:00
dp%netscape.com 924289af27 Using ShutdownGlobalServiceManager() for servicemanager shutdown. r=putterman@netscape.com 1999-12-08 02:03:25 +00:00
dp%netscape.com 5e69c59d46 Adding assertion to check for improper shutdown of servicemanager. r=chofmann@netscape.com 1999-12-08 02:00:30 +00:00
dp%netscape.com e2bc0e3623 Removing usage of nsComponentManager.h r=selmer 1999-12-08 01:59:32 +00:00
dp%netscape.com 3ec8ca8250 Removing nsComponentManager.h from export 1999-12-08 01:58:30 +00:00
scc%netscape.com 964ca8227e Fix specialized |CallQueryInterface| as per review by travis ... r=travis. 1999-12-08 01:44:06 +00:00
scc%netscape.com 9c8ee3253d |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. 1999-12-08 01:41:28 +00:00
beard%netscape.com ddd1c99054 took out calls to NS_InitGarbageCollector() & NS_ShutdownGarbageCollector() which are now supplanted by internal NSPR versions. r=gordon, bug #15906 1999-12-08 00:13:13 +00:00
dougt%netscape.com e966a61f6c 13320 more tweaking to nsIFile windows impl.
not part of build yet.
1999-12-07 23:31:25 +00:00
sdagley%netscape.com 548e71bc93 Part of #17949. nsLocalFileMac work. Not part of build yet. 1999-12-07 22:26:51 +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
scc%netscape.com 5418875579 and there's another instance of the build-busting old cast still in the file 1999-12-07 15:51:21 +00:00
scc%netscape.com 6241344e4a Mis-spelled one of two instances of |NS_REINTERPRET_CAST|, in the same line yet. Damn :-( 1999-12-07 15:26:41 +00:00
scc%netscape.com a97b180b50 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). 1999-12-07 14:46:35 +00:00
scc%netscape.com 8c4ec2ebea 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 1999-12-07 14:09:29 +00:00
scc%netscape.com db5cd594e2 Make observers support weak references. Bug #18682; r=dp. 1999-12-07 14:06:36 +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 1194158582 fixing the last modified date - not part of the build 1999-12-07 08:23:01 +00:00
jband%netscape.com 381a2e39c4 updating xptcall status - not part of the build 1999-12-07 08:21:31 +00:00
sfraser%netscape.com ef6b5d0398 Make sure that all warnings just printf on Mac, and don't dump you into MacsBug. r=pinkerton 1999-12-07 07:21:30 +00:00
jband%netscape.com 2eaaa4083b adding member initializer to quiet Purify. r=waterson. 1999-12-07 07:17:44 +00:00
sdagley%netscape.com 7441795597 nsStorageStream.h is needed by nkcache. Doesn't affect builds 1999-12-07 06:04:13 +00:00
waterson%netscape.com 4a77047af4 Pretty up Franz Sirl's code; fix STUB_ENTRY() macro to use r12 as the register in which the method index is passed; r4 is used for passing the first parameter! r=beard@netscape.com (actually, most of the work was beard!) 1999-12-07 02:05:54 +00:00
mscott%netscape.com 2266405677 Fix build breakage for Travis. 1999-12-07 00:15:42 +00:00
fur%netscape.com 8913af32b1 Export nsStorageStream.h 1999-12-07 00:05:37 +00:00
tbogard%aol.net 2bc8f99632 Changed the way Assertion works. Get ready to remove all the old assertions methods. NS_ASSERTION now works the same way it used with the exception that on Windows it will put up and abort, retry, ignore box if you aren't in the debugger. r=warren. 1999-12-06 23:34:48 +00:00
waterson%netscape.com 6c4c4c53a4 Patches from Franz.Sirl-kernel@lauterbach.com. Get xptcall limping along on PPC/Linux. 1999-12-06 04:48:02 +00:00
erik%netscape.com b1ccfbf911 Grabbing the next ID. Does not affect build. 1999-12-05 02:14:46 +00:00
valeski%netscape.com 8b33681727 r=mcafee. 20677 assistance. we now have a scriptable input stream for js 1999-12-04 20:31:38 +00:00
valeski%netscape.com 71d2a8ae7d added files: mozilla/xpcom/io/nsIScriptableInputStream.idl 1999-12-04 20:31:09 +00:00
valeski%netscape.com 430c1d6979 added files: mozilla/xpcom/io/nsScriptableInputStream.cpp 1999-12-04 20:30:13 +00:00
valeski%netscape.com 8895af0d3c r=mcafee. 20677 assistance. We now have a scriptable input stream implementation and interface for js. Hurray! 1999-12-04 20:29:42 +00:00
warren%netscape.com 6af4802e75 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
vidur%netscape.com e840dded03 Added nsIJSEventListener and nsICSSLoaderObserver 1999-12-04 01:30:27 +00:00
dougt%netscape.com 0594eec67d adding some error codes which I will need. 1999-12-04 01:18:48 +00:00
dougt%netscape.com ea9d82aefd renamed from the hated nsISomethingImpl. 1999-12-04 01:13:44 +00:00
dougt%netscape.com 66061576a3 Replaced by:
nsLocalFile.h
nsLocalFileUnix.cpp
nsLocalFileUnix.h
nsLocalFileWin.cpp
nsLocalFileWin.h
1999-12-04 01:02:45 +00:00
dougt%netscape.com 35ef56f04a updating to new interface and design. 1999-12-03 00:44:01 +00:00
dougt%netscape.com f317ac5ba4 removing nsFileUtils. 1999-12-03 00:43:35 +00:00
dougt%netscape.com 6798955ef2 Removing Dir enumerator as it will be part of nsIFile
removing nsFileUtils.
Changing the name of nsIFile children to directoryEntries
removing nsIFile trucate.
Rewrote large parts of nsIFileImplWin to use native APIs.

not part of build
1999-12-03 00:39:31 +00:00
rickg%netscape.com 95441de478 fixed PDT+19121; r=kmcclusk 1999-12-03 00:30:29 +00:00
dougt%netscape.com f25f716d38 Fix tabs.
added enumerator.
1999-12-02 21:45:50 +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
dougt%netscape.com 34cd89d967 Removing init() methods as warren suggested. These now live in the new
nsILocalFile interface.
1999-12-02 07:49:57 +00:00
dougt%netscape.com 5adb115018 First cut.
These are the local file init methods for a nsIFile.

not hooked up to the build
1999-12-02 07:45:12 +00:00
sfraser%netscape.com a23eeb70ea Additional fix to the linebreakers when munging nsStrings. r=pinkerton. 1999-12-02 05:33:50 +00:00
briano%netscape.com 8b970ca718 Fix for QNX-specific build bustage. QNX doesn't provide a prototype for truncate(). 1999-12-02 03:17:04 +00:00
warren%netscape.com d25432f38d Prefixed error/warning messages with something bold and assertive! (And somewhat distinguishable from other output.) 1999-12-02 02:37:54 +00:00
dougt%netscape.com 3456b189e3 Changes to the nsIFile.idl which were discussed between shaver, brendan,
sdagley and I.  not part of the build.
1999-12-02 01:19:10 +00:00
warren%netscape.com 19acf20a26 Fix from Jud where we were dropping error code. r=warren 1999-12-02 00:58:43 +00:00
sfraser%netscape.com e7977838cc Fix linkage errors with nsLinebreakConverter.r=kin 1999-12-02 00:31:45 +00:00
waterson%netscape.com 084b9e5d76 Make 'kGrowArrayBy' const. Thanks, Heikki. 1999-12-01 22:44:42 +00:00
sspitzer%netscape.com 3b299c0483 ignore generated test app. 1999-12-01 22:39:22 +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 e984be5dbd Adding nsLinebreakConverter.cpp, which was reviewed by pinkerton. 1999-12-01 22:24:31 +00:00
sfraser%netscape.com 6c630f8cf4 Adding nsLinebreakConverter to the build. 1999-12-01 22:23:58 +00:00
sfraser%netscape.com 2cb9042cec Export nsLinebreakConverter.h 1999-12-01 22:22:21 +00:00
sfraser%netscape.com d931e7a044 First Checked In. 1999-12-01 22:21:30 +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
warren%netscape.com 9da80972f9 Made WarnIfFalse not call abort. Made abort be continuable on Windows. r=travis 1999-12-01 05:51:45 +00:00
waterson%netscape.com a00b3b52d4 Check in initial, non-working XPTCall code from Linux-PPC. 1999-12-01 04:56:46 +00:00
mcafee%netscape.com 74d1e39672 Removing EXPORTS, parent makefile explicitly points at this directory now. r=bryner 1999-12-01 02:30:38 +00:00
waterson%netscape.com 85e63a4bb3 Try to fix build bustage. 1999-12-01 02:25:28 +00:00
mcafee%netscape.com bd83d45b75 missing exports 1999-12-01 02:24: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 aa23a77403 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-12-01 00:21:53 +00:00
dp%netscape.com 95224bc055 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-11-30 23:44:59 +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
jfrancis%netscape.com d163749ccd iid for nsIAbsorbingTransaction 1999-11-30 14:31:18 +00:00
warren%netscape.com 4e2588b525 Removed nsICapabilities.idl -- subsumed by nsIInterfaceRequestor.idl 1999-11-30 05:18:39 +00:00
warren%netscape.com 2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
dougt%netscape.com f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
dougt%netscape.com c031e1c389 Fix for 18078. R=mstoltz,warren 1999-11-30 00:14:55 +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
dp%netscape.com d76755831f NS_RELEASE if there isn't a global service manager 1999-11-29 21:02:51 +00:00
sspitzer%netscape.com 31b6b85808 fix warnings 1999-11-29 20:40:39 +00:00
shaver%netscape.com 787094e942 track nsIFile changes (not part of build) 1999-11-29 15:17:57 +00:00
shaver%netscape.com 24299cc8ca - Portions of nsIFile and nsIDirectoryEnumerator implementations for Unix.
- Various missing-newline-at-end-of-file fixes from Andrew Taylor
  <Andrew.Taylor@cal.montage.ca>.
- Fixed case in nsIDirectoryEnumerator.idl
- Added |normalize()|, |truncate()| and |target|, |isSpecial()| to nsIFile.idl
- Changed |isExists()| to |exists()|, |fileName| to |leafName|, |isEqual()| to
  |equals| and added |in boolean recur| to |isContainedIn()|.
- Corrected widespread misspelling of |NS_ERROR_FILE_UNRECOGNIZED_PATH|.
- Partially updated Windows code to track changes.
Partially addresses 17948, r=dougt
1999-11-29 14:55:03 +00:00
tbogard%aol.net 88639c509e Flipped the default of the Windows Warning box that can come up. It now requires an environment variable be set to come up. 1999-11-29 05:50:22 +00:00
warren%netscape.com 96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
tbogard%aol.net 9b922ed9d5 Added do_GetInterface to the dlldeps so it is properly exported from the DLL. 1999-11-28 02:17:24 +00:00
tbogard%aol.net dec406dc95 Turned on the do_GetInterface implementation by removing the #ifdef 0. 1999-11-28 02:16:22 +00:00
tbogard%aol.net 963f9e7043 Added nsIInterfaceRequestor.cpp to the build. 1999-11-28 02:15:11 +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
sspitzer%netscape.com 449b64a2e7 fix 974 warnings by declaring a virtual destructor 1999-11-27 02:17:23 +00:00
shaver%netscape.com 89607b7de2 Repair missing newlines at end of files, and remove lines of the form
#endif foo
both of which upset HPUX's compiler quite a bit.
Patch from Andrew Taylor <Andrew.Taylor@cal.montage.ca>.
1999-11-26 05:33:35 +00:00
akkana%netscape.com efc8c03546 AbortIfFalse should abort on all platforms -- that's the whole point. r=shaver 1999-11-24 21:58:20 +00:00
shaver%netscape.com daf1dd97f0 update to track catchguard syntax, r=cls 1999-11-24 03:36:26 +00:00
frankm%eng.sun.com 9c721a5a9d [Bugs 18486, 18488; r=mccabe] XPIDL->Java: always make first char of methods lowercase, translate PRBool to Java boolean 1999-11-24 02:08:34 +00:00
jdunn%netscape.com 7f5eee53ff newline required at eof for HPUX 1999-11-24 00:43:50 +00:00
waterson%netscape.com de0d2dcb1a Remove vestigial addref that was leaking proxy objects. r=dougt 1999-11-23 22:05:44 +00:00
dougt%netscape.com 1946ba44ca 1) #ifdefing out dll entry points from nsProxyObjectManager which should not
be used

2) Fix crashing bug in nsProxiedService when a CI fails.  Converted this to
use nsCOMPtrs

3) Fixing bug 18109.  This involved changing what information about hash values
we use.

Tested FTP dir and file, and IMAP.
1999-11-23 08:53:44 +00:00
scc%netscape.com 829514e2e2 Added |do_GetService| of a specific service manager as opposed to the global one. Fixed the appropriate macro accordingly. Please note: travis will be supporting this change until I'm back online in Michigan. r=dp. 1999-11-23 05:55:33 +00:00
scc%netscape.com 67b0bb7084 added macros preparing us to move to table-driven QI. Please note: travis will be supporting any problems with this checkin till I'm back online in Michigan. r=tbogard 1999-11-23 05:55:31 +00:00
scc%netscape.com 69d819f520 fixed up to match recent changes made to weak references. r=tbogard 1999-11-23 03:30:06 +00:00
scc%netscape.com 72008ae20d Added the file "nsIInterfaceRequestor.cpp" to the project. Contents currently |#if|d out. Travis will add this file to the other builds, and then enable. This adds |do_GetInterface| functionality. r=tbogard. 1999-11-23 03:14:42 +00:00
scc%netscape.com c4baec4805 commented out, so it could be added to the project. Travis will uncomment it when he adds it to the windows and unix builds. r=tbogard 1999-11-23 03:13:05 +00:00
scc%netscape.com e2e36b3c4a don't ASSERT that it doesn't support weak references for NULL. r=pinkerton 1999-11-23 03:10:02 +00:00
scc%netscape.com 28c6074d96 First Checked In. 1999-11-23 02:50:17 +00:00
scc%netscape.com 5ea5f81403 needs |NS_EXPORT| ... still not turned on 1999-11-22 23:11:15 +00:00
scc%netscape.com 586af1ee44 Added |do_GetInterface| (not turned on yet). This will be turned on when we add a file for the implementation. r=tbogard 1999-11-22 23:09:05 +00:00
scc%netscape.com 059d310964 clear out the result in |do_CreateInstance| on error. r=pinkerton 1999-11-22 23:01:35 +00:00
scc%netscape.com d34a60c8e2 clear out result in |do_QueryReferent| on error; assert in |NS_GetWeakReference| if the source object doesn't support weak references; also return NS_ERROR_NO_INTERFACE in release builds. r=pinkerton 1999-11-22 22:59:21 +00:00
cls%seawood.org 647d18eb74 Do immediate evaluations instead of the default deferred. (And also cause coffee to rebuild in that directory.) 1999-11-22 19:28:30 +00:00
dveditz%netscape.com 446b50640e x86 win should join unix and alpha win part of DBG_LOG macro 1999-11-22 08:41:04 +00:00
fur%netscape.com 820e742933 In support of bug #8305 (Implement cache)
Replaced WriteStringZ()/ReadStringZ() stubs with trivial implementations.
Simplified existing code. r: none
1999-11-21 08:01:08 +00:00
fur%netscape.com ab49175ccc Fixed indentation 1999-11-21 07:58:53 +00:00
duncan%be.com 603a7fb6b2 Clone nsFileSpec::Truncate from nsFileSpecUnix.cpp, r=shaver. 1999-11-20 17:57:42 +00:00
scc%netscape.com 778573923a fixed an annoying, but rare, bug where an |nsCOMPtr| in an ownership ring could |Release()| twice. See the comment in the code for details. r=waterson 1999-11-20 08:19:24 +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 f7a9bde3c4 Eliminating leak of factory when getting it from hashtable.
Using NS_IMPL_ISUPPORTS1
Removing NS_DEFINE_IID
r=warren@netscape.com
1999-11-20 07:21:53 +00:00
dp%netscape.com 5d051b39c4 Using COMPtr 1999-11-20 07:16:42 +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
nisheeth%netscape.com 8eb460b1ea Attempt to fix mac build bustage. 1999-11-19 07:37:04 +00:00
mcafee%netscape.com 2cd6e87051 I forgot more stuff for prefs, fixing bustage per my last checkin here. 1999-11-19 05:54:58 +00:00
mcafee%netscape.com 5289498678 includes were incorrectly wrapped in the NS_BUILD_REFCNT_LOGGING define, fixing mac/win32 bustage. 1999-11-19 05:08:58 +00:00
nisheeth%netscape.com a03bdd0283 r=harishd.
- The stack walking code now works on windows.  We were initializing the symbol handler on each DLL load which was resetting its symbol tables.  Now, we don't re-init the symbol handler repeatedly.

- Added support for an environment variable, XPCOM_REFCNT_LOG_ENABLE_VIA_PREF.  When this is set to 1, refcount logging is done based on whether the "Enable XPCOM refcount log" pref in the Debug pane is set.  If this is not set, refcount logging is not affected by the pref.
1999-11-19 03:50:28 +00:00
dougt%netscape.com 5a214050de making sure that we do not empty our segmented buffer if we did not create it
bug fix 19290.  submitted by bienvenu, r=dougt.
1999-11-19 03:01:33 +00:00
warren%netscape.com e43ba43af2 Fixed generic module factory lookup to look in cache. 1999-11-19 02:46:50 +00:00
fur%netscape.com fed3a5923b Fix build bustage, maybe. Get rid of unnecessary const 1999-11-19 02:35:02 +00:00
fur%netscape.com dbf19a8e32 Took out unnecessary const, which will hopefully unbusticate unix build 1999-11-19 02:25:04 +00:00
beard%netscape.com 252e9c7159 fix C string leak, bug=18699, r=shaver 1999-11-19 02:14:23 +00:00
fur%netscape.com e9aa0af998 In support of #8305 (implement cache).
Add Truncate() method to nsIFileSpec and implement in nsFileSpecImpl

[Mac Implementation: sdagley, r: sfraser]
[Win implementation: fur, r:rogerl]
[Unix implementation: yixiong.zue@intel.com, r: fur]
1999-11-19 01:42:46 +00:00
fur%netscape.com 2a6ea13771 Quash warning 1999-11-19 01:22:30 +00:00
dp%netscape.com 9cfb08dd49 Fixes compilation error with sun workshop. Removed bogus case to
PRBool. r=akhil.arora@sun.com
1999-11-19 01:14:07 +00:00
erik%netscape.com e8a7c02800 Updating local .cvsignore file. Does not affect build. 1999-11-18 21:49:12 +00:00
erik%netscape.com 55c83355da Grabbing the next available ID. Does not affect build. 1999-11-18 16:45:59 +00:00
warren%netscape.com 74fa30fbd8 Removed nsICapabilities in favor of nsIInterfaceRequestor. 1999-11-18 07:44:14 +00:00
warren%netscape.com 59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
fur%netscape.com 7f80e52967 Quell warning 1999-11-18 06:59:28 +00:00
fur%netscape.com f75142159d Quash warnings 1999-11-18 06:19:51 +00:00
dougt%netscape.com 3f746f503d fix for 18949. make seek do a flush to avoid corruption. 1999-11-18 05:16:42 +00:00
fur%netscape.com c28060f30a Quell warnings 1999-11-18 03:38:32 +00:00
mcafee%netscape.com d117e7d5b5 Switching to PRBool, un-break Solaris WS build. r=slamm 1999-11-18 03:22:47 +00:00
rhp%netscape.com a554253a94 Fix for memory allocation off by 1 error. No bug. r: rhp (submitted by Ben Bucksch <mozilla-news@bucksch.org> 1999-11-18 02:46:52 +00:00
erik%netscape.com 4af5353a04 Grabbing the next available IID. Does not affect the build. 1999-11-18 00:09:46 +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
jdunn%netscape.com ece28f466a fixing HPUX 10.20's which was having problem with this definition since
it was creating an unresolved symbol "static_iid"

r= dougt@netscape.com
# 19021
1999-11-17 01:01:22 +00:00
fur%netscape.com ce1e142143 #8305 (Cache implementation)
Added dependencies to pick up nsStorageStream.cpp and nsBinaryStream.cpp
1999-11-16 21:14:52 +00:00
tbogard%aol.net f61ba08549 Commented out references to nsIWebShell::GetRootWebShellEvenIfChrome(). 1999-11-16 20:04:40 +00:00
fur%netscape.com 14deeb44c0 added files: mozilla/xpcom/io/nsStorageStream.cpp, mozilla/xpcom/io/nsBinaryStream.cpp 1999-11-16 19:45:25 +00:00
fur%netscape.com 8ac9a96059 added files: mozilla/xpcom/io/nsIBinaryInputStream.idl, mozilla/xpcom/io/nsIBinaryOutputStream.idl, mozilla/xpcom/io/nsIStorageStream.idl 1999-11-16 19:42:38 +00:00
fur%netscape.com 32011edc40 Add storage stream and binary stream files. r: none 1999-11-16 19:14:51 +00:00
fur%netscape.com 79b25969d2 Bug #8305, r: valeski, rickg
The storage stream provides an internal buffer that
can be filled by a client using a single output
stream.  One or more independent input streams can
be created to read the data out non-destructively.
The implementation uses a segmented buffer
internally to avoid realloc'ing of large buffers.
1999-11-16 19:14:08 +00:00
fur%netscape.com 8e84de48cf Bug #8305 (Implement cache), r: valeski, rickg
The storage stream provides an internal buffer that
can be filled by a client using a single output
stream.  One or more independent input streams can
be created to read the data out non-destructively.
The implementation uses a segmented buffer
internally to avoid realloc'ing of large buffers.
1999-11-16 19:12:41 +00:00
dougt%netscape.com 490e502cc6 fix for bug 18114. Adding simple accessor to PL_WaitForEvent. 1999-11-16 16:04:14 +00:00
scc%netscape.com 6794770d94 fixing build bustage. Further discussion is needed 1999-11-16 08:50:25 +00:00
dougt%netscape.com 38ffbfef40 checking back in changes which were backed out. Added workaround to bug
which scc pointed out.
1999-11-16 07:44:18 +00:00
dp%netscape.com f2cbd4b38c Changing comments for readability. 1999-11-16 07:14:49 +00:00
jdunn%netscape.com e871be6de2 Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
norris%netscape.com 5b4b0169aa * Fix 12124 [DOGFOOD] Reading user's preferences
* Implement site-specific security policies (bug 858)
r=mstoltz
* Use Recycle rather than delete[] to clean up Purify logs
r=law
1999-11-16 05:07:31 +00:00
fur%netscape.com f65b44dcd9 Fix build bustage 1999-11-16 03:50:56 +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 17737c7b25 In support of #8305 (Implementing cache), allow storing of NUL characters
in string streams. r: dougt
1999-11-16 03:13:49 +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
fur%netscape.com 8dc3eec4c8 Fixed a problem with the NS_GENERIC_FACTORY_CONSTRUCTOR_INIT() macro.
If the Init() routine happens to perform a balanced AddRef/Release,
the instance will be prematurely destroyed when Release() is called.
The change is to do the AddRef() before calling the initialization
routine to stabilize the instance's ref-count.

r: dp, putterman
1999-11-16 03:05:36 +00:00
jband%netscape.com 8369137469 r=waterson. add explicit lock and unlock to nsAutoLock. This allows us to use the autolock to cover a scope and to also explicitly bracket a call out to some other function with an unlock and relock 1999-11-15 22:15:27 +00:00
tbogard%aol.net d395eba82a Simply added the TestXPEventLoop test to the makefile. 1999-11-15 21:52:35 +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
fur%netscape.com 843bf59337 Fixed copy/paste error in comment 1999-11-14 15:59:17 +00:00
fur%netscape.com 5036fb1561 Return NS_ERROR_FACTORY_NOT_REGISTERED, not NS_ERROR_FAILURE, if a non-existent ProgID is used to instantiate a component. Also, don't ignore CLSID parse errors. R: dp 1999-11-14 15:41:40 +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
tbogard%aol.net 00b82b3c85 Changed an NS_ASSERTION to be an NS_WARN_IF_FALSE. r=scc 1999-11-13 07:34:29 +00:00
warren%netscape.com 09ec7d51d0 Fixed QI problem now that comptrs check. 1999-11-13 06:18:34 +00:00
warren%netscape.com 4cbd094273 Fix for case where we're trying to Write to a blocking stream, and we're out of buffer space. This should block. r=rpotts 1999-11-13 06:16:52 +00:00
sspitzer%netscape.com 176ee42b41 fix for #17954
before, if "mail.directory" was set, we'd assume the mail wasn't in the standard
default place, so we'd migrate Mail -> Mail5
now, we check if "mail.directory" == the default place.  if so, we migrate
it like we would if it wasn't set.
Mail -> Users50/<profile>/Mail

to help do this, I added Equals() to the nsIFileSpec interface, to compare
two nsIFileSpec's, it does this by comparing the nsFileSpecs.
1999-11-13 02:02:22 +00:00
akhil.arora%sun.com d2d2a9d816 18639 r=dp need to cast away the const returned by the sun C++ 5.0 compiler 1999-11-12 23:52:17 +00:00
dp%netscape.com 4588ce8eaf Fixing spelling mistake. 1999-11-12 09:38:26 +00:00
warren%netscape.com 9669aaed56 Minor fix. 1999-11-12 09:10:40 +00:00
warren%netscape.com 7f04320416 Added NS_NewGenericModule. Made NS_IMPL_NSGETFACTORY use it to save space. r=dp,alecf 1999-11-12 09:07:26 +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
dp%netscape.com ab88d596f5 Enabling componentmanager shutdown() before a release to clear out
references to the component manager.
1999-11-11 19:38:13 +00:00
waterson%netscape.com 38e277d57c Oops. Make sure XPCOM_MEM_LOG_CLASSES works without XPCOM_MEM_REFCNT_LOG being set. a=warren 1999-11-11 05:02:03 +00:00
waterson%netscape.com 3bf7cba7c6 Add docs for XPCOM_MEM_LOG_OBJECTS. 1999-11-11 04:08:28 +00:00
waterson%netscape.com db40914d6a Bug 18069. Support XPCOM_MEM_TRACE_OBJECTS, per-object reference count tracing. r=warren 1999-11-11 03:23:24 +00:00
jdunn%netscape.com 524208728f Fix additional bugs with stubs. This still doesn't work 100% but getting there
(basically pulled in the mac ppc CPP file for aix stubs file)
1999-11-11 02:20:22 +00:00
pepper%netscape.com e541e3cf6e Changed friend declaration to make HP Compilers Happy.
r=mgleeson
1999-11-11 00:39:59 +00:00
dp%netscape.com 336bf28bce Services used with COMPtrs. NS_WITH_SERVICE definition uses COMPtrs. r=scc 1999-11-11 00:31:45 +00:00
tbogard%aol.net dc27e88ecd NS_WARN_IF_FALSE now by default puts the windows messagebox up on a tripped warning condition. Before it relied on the developer having an environment variable set. r=pink a=sdagley 1999-11-10 04:32:33 +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
shaver%netscape.com 588fbfb868 missed a #include 1999-11-10 02:11:08 +00:00
shaver%netscape.com dbe8dfe7a0 maybe fix build bustage 1999-11-10 02:10:39 +00:00
shaver%netscape.com 4c650665ed export nsSupportsArray so the Mac and VC can see it 1999-11-10 01:49:30 +00:00
shaver%netscape.com c73533acb7 - 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
1999-11-10 00:28:34 +00:00
scc%netscape.com e46756059d Added |do_CreateInstance()|, |do_GetService()| both by CID and ProgID. See bugs #17364, #17448. r={travis, dp} 1999-11-10 00:14:54 +00:00
scc%netscape.com 6234eff725 Moved |do_CreateInstance()| from here to nsComponentManagerUtils.h. See bugs #17364, #17448. r={travis, dp} 1999-11-10 00:14:10 +00:00
dp%netscape.com 43788c85b9 Enabling observing of XPCOM Shutdown r=jband r=putterman 1999-11-09 23:41:24 +00:00
dp%netscape.com 6d25ebf971 Removing NS_COMFALSE usage. 1999-11-09 23:30:44 +00:00