warren%netscape.com
e07863e48c
Added OnClose method to nsIPipeObserver (bug#23080)
2000-01-05 05:07:46 +00:00
sdagley%netscape.com
a3cedcb874
Fix build bustage - warren obsoleted nsPipe2.h but didn't update the manifest
2000-01-05 04:57:12 +00:00
warren%netscape.com
6fee6622fd
Removed nsPipe2.h -- obsolete.
2000-01-05 03:56:47 +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
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
valeski%netscape.com
f182a466ac
a=chofmann, 21783. inverted parameter validation checks have been corrected.
1999-12-21 03:00:54 +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
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
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
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
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
sdagley%netscape.com
7441795597
nsStorageStream.h is needed by nkcache. Doesn't affect builds
1999-12-07 06:04:13 +00:00
fur%netscape.com
8913af32b1
Export nsStorageStream.h
1999-12-07 00:05:37 +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
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
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
dougt%netscape.com
f25f716d38
Fix tabs.
...
added enumerator.
1999-12-02 21:45:50 +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
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
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
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
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
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
warren%netscape.com
96ec037ac6
Eliminated the libs build pass.
1999-11-28 03:05:01 +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
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
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
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
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
fur%netscape.com
7f80e52967
Quell warning
1999-11-18 06:59:28 +00:00